The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
check usergroups
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 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|