I've tried asking this on vB.org but haven't had a response. Apologies if this is in the wrong place. 
I've been trying to work this out for months: Where exactly are the conditionals in vBulletin templates changed to and parsed as PHP code to produce output for whether the conditional is true or not?
For example, say I had the conditional
in the calendar weekly template, (and $foo is set to 1 in a plugin elsewhere) where is the
parsed so that the "some text" appears on the page? I can't seem to just do it with eval(), there must be a function somewhere doing it.
Many thanks in advance

I've been trying to work this out for months: Where exactly are the conditionals in vBulletin templates changed to and parsed as PHP code to produce output for whether the conditional is true or not?
For example, say I had the conditional
PHP Code:
<if condition="$foo">some text</if>
PHP Code:
<if condition="$foo">
Many thanks in advance

Comment