View Full Version : What is the variable for...
AnhTuanCool
09-07-2004, 03:51 AM
All right, I just want to ask what is the variable for user's additional usergroup, like we have $bbuserinfo[usergroupid] for user's primary usergroup right, so how's the other one look like? ;)
Zachery
09-07-2004, 05:32 AM
$bbuserinfo[membergroupids]
Notice the S this will give you ever group that they are apart of.
if you need a condition to check what group they are in
<if condition="is_member_of($var, X)"> they are in group x </if>
replace var with
Postbit templates:$post
the current user browsing:$bbuserinfo
replace X with the group you need to check for
AnhTuanCool
09-07-2004, 09:00 PM
All right, thanks Zachery :)
One more thing, user with his additional usergroup as an administrator would be counted as an user with administration permission? :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.