The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Footer Template error
Hi Im trying to port some code over from Vb3 to Vb4 however running into an issue.
I'm posting the code below into the footer, right at the bottom. Code:
<if condition="$bbuserinfo[userid]"> <div id="bar_bottom" style="width: %80; height: 32px; bottom: 0px;"> <div class="bar_float" style="height: 25px; width: %75;"> info here </div> <div class="bar_float1" style="width: %80"> info here </div> <div class="bar_float2"> info here </div> </div> <else /> </if> Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3965 vBulletin Message The following error occurred when attempting to evaluate this template: %1$s can anyone with abit more experience, point me in the right direction please ? Thank you |
#2
|
|||
|
|||
Correct syntax for "If" block in VB 4.x is:
<vb:if condition="condition"> <vb:else /> </vb:if> Replace your if tags and it should be fine. |
2 благодарности(ей) от: | ||
LouiseWilson, Lynne |
#3
|
|||
|
|||
Super thank you all working
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|