Why isn't this working in Vb Templates

TheVoid

New Member
I have this code

Code:
<if condition="$bbuserinfo[usergroupid]==6">
<div class="post_field"><strong>$vbphrase[secret]:</strong> <font color = red>$post[secret]</div></font>

</if>

But it gives that extra postbit to all usergroups in the forum, or put it this way, it gives it to everyone.
 

Hoxxy

New Member
HTML:
<font color = red>
should probably be:
HTML:
<font color="red">

if that dosen't fix it try:
Code:
<if condition="is_member_of($vbulletin->userinfo,[color=Red]6,8,10[/color])"> 

<!-- Start: Your code -->

</if>
Remember to edit allowed usergroups (highlighted in red)
 

TheVoid

New Member
<if condition="$post['usergroupid'] == 9">

This code worked.

Thank you to your list of conditionals :D

*Thanked*
 
Top