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
Content visible to verified customers only.