The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Parsing the IF CONDITION on templates.
Hi all
I'd like to know how vBulletin parse the Code:
<if condition="1 == 1">true<else />false</if> Any help would be appreciated. THanks |
#2
|
||||
|
||||
It doesn't. Template conditionals are parsed when they are saved.
Code:
<if condition="1 == 1">true<else />false</if> Code:
".((1==1)?"true":"false")." |
#3
|
|||
|
|||
You need to call compile_template() in adminfunctions_template.php
|
#4
|
|||
|
|||
Oh, great
Thanks a lot for your help guys, you got straight to the point |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|