DefiantComplex
05-19-2013, 02:26 PM
Just curious im trying to implement images per certain post counts per users via a template. I been doing some reading on conditionals and i somewhat got it down.
However it seems i cannot do it the way i think works so i need some ideas.
<vb:if condition="$userinfo[posts]<24"><img class="inlineimg onlinestatus" src="pranks/star1.gif" border="0" />
<vb:elseif condition="$userinfo[posts]>25 AND $userinfo[posts]<49"><img class="inlineimg onlinestatus" src="pranks/star2.gif" border="0" />
<vb:elseif condition="$userinfo[posts]>50 AND $userinfo[posts]<74"><img class="inlineimg onlinestatus" src="pranks/star3.gif" border="0" /></vb:if>
Error:
The following error occurred when attempting to evaluate this template:
Invalid Tag Nesting
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.
Any ideas would be greatly appreciated!
However it seems i cannot do it the way i think works so i need some ideas.
<vb:if condition="$userinfo[posts]<24"><img class="inlineimg onlinestatus" src="pranks/star1.gif" border="0" />
<vb:elseif condition="$userinfo[posts]>25 AND $userinfo[posts]<49"><img class="inlineimg onlinestatus" src="pranks/star2.gif" border="0" />
<vb:elseif condition="$userinfo[posts]>50 AND $userinfo[posts]<74"><img class="inlineimg onlinestatus" src="pranks/star3.gif" border="0" /></vb:if>
Error:
The following error occurred when attempting to evaluate this template:
Invalid Tag Nesting
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.
Any ideas would be greatly appreciated!