The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
What is the variable for...
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?
|
#2
|
||||
|
||||
$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 |
#3
|
||||
|
||||
All right, thanks Zachery
One more thing, user with his additional usergroup as an administrator would be counted as an user with administration permission? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|