emath
12-01-2010, 09:48 AM
why this code :
<vb:if condition="$vbphrase[even_forum]%3==0">
<tr style="height: 100%;"></vb:if><vb:if condition="$vbphrase[even_forum]++"></vb:if>
isnt working?
it worked before i have updated to vbulletin4.1(i was using 4.0.8) .
i have tried to replace $vbphrase[even_forum] with {vb:rawphrase even_forum}
but then i got the following error ;
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3391
system messgeThe 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.
--------------- Added 1291205838 at 1291205838 ---------------
sorry,
this is the part that doesnt work :
<vb:if condition="$vbphrase[even_forum]++"></vb:if>
<vb:if condition="$vbphrase[even_forum]%3==0">
<tr style="height: 100%;"></vb:if><vb:if condition="$vbphrase[even_forum]++"></vb:if>
isnt working?
it worked before i have updated to vbulletin4.1(i was using 4.0.8) .
i have tried to replace $vbphrase[even_forum] with {vb:rawphrase even_forum}
but then i got the following error ;
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3391
system messgeThe 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.
--------------- Added 1291205838 at 1291205838 ---------------
sorry,
this is the part that doesnt work :
<vb:if condition="$vbphrase[even_forum]++"></vb:if>