![]() |
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: |
You can use the is_member_of() function.
|
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 |
All times are GMT. The time now is 02:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|