Thread: VB Usergroups
View Single Post
Old January 13th, 2009, 09:21 AM   #8 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,946
Both should work fine. $usergroups actually is all usergroups in vb. We define $mgroups as the usergroup and add the membergroupid's therefore it is an array and the same when we define $User['usergroups'] in the set perms function for the $User array remember those results are an array so any conditional clause needs to search an array you can not simply do a straight conditional.

Right from vb3.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote