The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to write an <If> statement
Hi Guys,
Trying to find the right values to be able to write: If member equals Group X & Forum equals ForumID X Any help appreciated, trying to make a template specific change depending on Member Group and Forum. Regards, .Joel |
#2
|
||||
|
||||
For member equals group:-
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if> Code:
<if condition="$foruminfo['forumid'] == X"></if> |
#3
|
|||
|
|||
Hi, Thanks for that.
I take it i can just use && and join them in to one statement. Regards, .Joel |
#4
|
||||
|
||||
&& will give you a validation error. I would use AND.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|