The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
<if> condition from PHP to vbulletin template
I know that within templates, the <if> codes look more like HTML than anything.
I need help translating a PHP code to that format. It's not working and I keep getting an error of: "Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/theafter/public_html/member.php(515) : eval()'d code on line 142" when I try this. PHP Code:
|
#2
|
||||
|
||||
HTML Code:
<if condition="(empty($userinfo['field66']) && empty($userinfo['field11']) && empty($userinfo['field44']) && empty($userinfo['field27']) && empty($userinfo['field82']) )"> stuff here </if> |
#3
|
|||
|
|||
Perfect, thank you!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|