PDA

View Full Version : if is usergroup variable


kud0gfx
09-03-2008, 08:59 PM
i want to hide the ads for my mods & staff, i guess it will be easy with some variable

could somebody help me?

thanks in advance

Opserty
09-03-2008, 10:32 PM
<if condition="!is_member_of($bbuserinfo, X, Y, Z)">
AD CODE
</if>

X, Y, Z - Being a comma separated list of your staff usergroups' ids

kud0gfx
09-04-2008, 03:52 AM
Thank you very much Opserty!