Quote:
Originally Posted by PnL
How do you allow multiple groups access? I tried separating group IDs by commas but that doesn't seem to work.
|
You need to do it this way
Code:
if ($vbulletin->userinfo['usergroupid'] == '25'
or $vbulletin->userinfo['usergroupid'] == '26'
or $vbulletin->userinfo['usergroupid'] == '27'
)
Quote:
Also, I'm assuming that only primary groups are looked at? What if I want to assign a special group permission to certain pages without changing their primary group ID?
|
I think so...
It should just be a matter of checking their secondary group membership like in the above manner.
I think that may be $vbulletin->userinfo['membergroupids'] but Im not sure (havent tried it)