The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|