PDA

View Full Version : Does this Usergroup code still work in 4


Xencored
05-10-2010, 07:52 PM
Hey
Does this still work in 4.0


<if condition="$bbuserinfo['usergroupid'] != 1,2,3,4,5,6"> </if>

Thanks

Paul M
05-10-2010, 08:03 PM
Do you mean just the conditional, or the whole IF ?

The conditional will work, but the IF syntax wont.

Xencored
05-10-2010, 08:16 PM
Do you mean just the conditional, or the whole IF ?

The conditional will work, but the IF syntax wont.

Hi Paul i meant all of it

say only showing some stuff to some usergroups

Lynne
05-10-2010, 08:31 PM
<vb:if condition="is_member_of($bbuserinfo,1,2,3,4,5,6)"> </vb:if>

Xencored
05-10-2010, 08:46 PM
<vb:if condition="is_member_of($bbuserinfo,1,2,3,4,5,6)"> </vb:if>

Thanks Lynne hehe