The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Conditional statement on vbulletin 5
Anybody have idea why this conditional statement isnt working? Thank you!
Code:
<vb:if condition="is_member_of($bbuserinfo, 3,4)" /> Show this to user group 3 and 4 <vb:else /> {vb:raw message} </vb:if> |
#2
|
||||
|
||||
Perhaps it will give you an idea:
in_array($user['usergroupid'], array('3', '4')) |
#3
|
||||
|
||||
You can also debug variables using this code:
Code:
{vb:debugvardump bbuserinfo} |
Благодарность от: | ||
Anton Rahman |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|