![]() |
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]"> 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 |
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. |
Super thank you all working :)
|
All times are GMT. The time now is 06:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|