The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Bigger or Smaller in a Condition
How can I define Bigger or Smaller in a Condition?
what is wrong? <if condition="$foruminfo[forumid] == $vboptions[xxxxx] AND $vboptions[xxxxx] > 0"> |
#2
|
|||
|
|||
I think that is better to broke the condition in parts, like:
<if condition="$foruminfo[forumid] == $vboptions[xxxxx]"> <if $vboptions[xxxxx] > 0> ......do this </if> </if> |
#3
|
||||
|
||||
You guys should be quoting array keys, and using the full object-form variables in template conditionals.
Code:
<if condition="$foruminfo['forumid'] == $vbulletin->options['x'] and $vbulletin->options['x'] > 0"> Code:
<if condition="$show['whatever']"> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|