PDA

View Full Version : how do i remove content?


iTaLiAnBoY165
08-05-2006, 05:28 AM
Hi guys i just needed to know what IF condition would i use to remove text for certain group <if condition blah blah . thanks alot

Freesteyelz
08-05-2006, 05:45 AM
Try:

<if condition="is_member_of($bbuserinfo, x, y, z)">
<else />
Code you want all other Usergroups to see...
</if>


Change "x", "y" and "z" for the Usergroup ID's. To add more ID's just add a comma and then the Usergroup ID #. :)

iTaLiAnBoY165
08-05-2006, 09:09 PM
Thanks alot worked Perfectly !

Freesteyelz
08-06-2006, 07:52 AM
Cool. :)

Paul M
08-06-2006, 11:42 AM
Or slightly more correctly :)


<if condition="!is_member_of($bbuserinfo, x, y, z)">
Code you want all other Usergroups to see...
</if>