<if condition="is_member_of($bbuserinfo, X, Y, Z)"> <!-- php buffer start -->$code<!-- php buffer end --> <else /> Your in usergroup x, y or z and so can't see the code </if>