Quote:
Originally Posted by kh99
Try this:
Code:
<vb:if condition="is_member_of($bbuserinfo, 6)">
<vb:if condition="$bbuserinfo['field5]> == 'Grey'" <img src="/images/ranks/grey.png"></vb:if>
<vb:if condition="$bbuserinfo['field5]> == 'Red'" <img src="/images/ranks/red.png"></vb:if>
<vb:if condition="$bbuserinfo['field5]> == 'Blue'" <img src="/images/ranks/blue.png"></vb:if>
<vb:if condition="$bbuserinfo['field5]> == 'Green'" <img src="/images/ranks/green.png"></vb:if>
</vb:if>
|
I did try that, but it gave me an error.
Code:
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.
Is there any way to do this through a Plugin? I'm really new to conditionals and PHP.