The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Correct syntax for if AND/OR?
I can't figure out or find the correct syntax for an and/or form on the template conditionals.
|
#2
|
||||
|
||||
Code:
<if condition="$foo == 'bar' AND $bar == 'foo'"> <if condition="$foo == 'bar' OR $bar == 'foo'"> |
#3
|
|||
|
|||
Okay. And stacked? Like say I want it to be if something or something and another something? Would it then be
PHP Code:
|
#4
|
||||
|
||||
Treat it like algebra in maths - i.e. use brackets.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|