The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Usergroup Condition
How do I write a condition for a group?
If a user is in admin group or supermod group show this. <vb:if condition="$groupid['1']"> ?? --------------- Added [DATE]1296179691[/DATE] at [TIME]1296179691[/TIME] --------------- or Using usergroup conditions <vb:if condition="$usergroupid['1']"> --------------- Added [DATE]1296181351[/DATE] at [TIME]1296181351[/TIME] --------------- I tried: <vb:if condition="is_member_of($bbuserinfo, 5,6)"> and <vb:if condition="$bbuserinfo['usergroupid'] == 6"> but nothing |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|