![]() |
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"> |
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> |
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']"> |
All times are GMT. The time now is 12:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|