The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
... and running into a problem. I want to make template conditionals, like vbulletin has. However, I have no slightest idea on how to do that. Maybe someone can help me? Thanks.
|
|
#2
|
||||
|
||||
|
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
If you know how to use the PHP conditions, vBs are nearly identicle, the syntax is just a little different. HTML Code:
<if condition="$bob == 22">Kill Bob</if> PHP Code:
|
|
#3
|
|||
|
|||
|
Umm... What I asked was - how to create a parser for those conditionals. Doh.
|
|
#4
|
||||
|
||||
|
I Thought it seemed like a dumb question.
|
|
#5
|
|||
|
|||
|
Well, next time please read the question carefully
Thanks.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|