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 |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|