![]() |
Conditional Statement in Ad Location Templates
I was trying to add a condition to the display of an ad:
Code:
<vb:literal> PHP Warning: Invalid argument supplied for foreach() in ..../includes/functions.php on line 3823 The following error occurred when attempting to evaluate this template: %1$s This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. What did I do wrong Thanks! |
Your if conditions should be <vb:if and </vb:if
Code:
<vb:literal> |
That did it!
I had been using information from this page: https://www.vbulletin.com/forum/foru...n-conditionals Thanks |
Quote:
|
All times are GMT. The time now is 12:38 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:
|