The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
im using the session from VBulletin on another page, and want to check if the user is a member of more then one usergroup.
Intsead of going: Code:
if(($vbulletin->userinfo['usergroupid']==1)||($vbulletin->userinfo['usergroupid']==2)||($vbulletin->userinfo['usergroupid']==3)); thanks :squareeyed: |
|
#2
|
|||
|
|||
|
You can use the is_member_of() function.
|
|
#3
|
|||
|
|||
|
so just show me so im sure on this please:
how do i convert this? if(($vbulletin->userinfo['usergroupid']==1)||($vbulletin->userinfo['usergroupid']==2)||($vbulletin->userinfo['usergroupid']==3)); thanks |
![]() |
|
|