The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
I need help with an IF conditional...
Okay, here's the scenario - I have a section of code in one of the PHP files that sets a variable to either true or false, for example:
PHP Code:
Now, I want a section in one of the vB Templates to be able to pull from that so that if $custom_variable was set to true, than a section of code would execute (and if it's false, it would not) - for example: Code:
<if condition="$custom_variable"> <!-- Insert Code to be executed here --> </if> However, the template portion of the code isn't working for me. So the question is - what am I doing wrong? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|