![]() |
checking if a user is in group 10
i just need to check in php script.. if user is a member of group 10
ive been playing with code.. $vbulletin->userinfo['usergroupid']; only returns 1 of the groups, and in my case group 6 only.. the admin.. 10 is an addon 'special memebrs group' |
if (is_member_of($vbulletin->userinfo, 10))
{ ... your code ... } FYI, addon usergroups are in $vbulletin->userinfo['membergroupids'], but there is usually no need to access that directly. |
thanks champ
|
All times are GMT. The time now is 11:21 AM. |
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:
|