View Full Version : how to get secondary usergroup ids?
tamago
08-02-2005, 08:53 PM
They don't seem to be listed under $vbulletin->userinfo. They aren't where I expected which is $vbulletin->userinfo['membergroupids']. I'm using is_member_of($vbulletin->userinfo, $this_group_id) in a function on an external page and not having much luck.
Thanks
Andreas
08-02-2005, 09:08 PM
$vbulletin->userinfo['membergroupids']
Zachery
08-02-2005, 09:11 PM
They don't seem to be listed under $vbulletin->userinfo. They aren't where I expected which is $vbulletin->userinfo['membergroupids']. I'm using is_member_of($vbulletin->userinfo, $this_group_id) in a function on an external page and not having much luck.
Thanks
If you want to check for a usergroup you should use is_member_of
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.