AND $bbuserinfo['usergroupid'] != 'X'
AND $bbuserinfo['usergroupid'] == 'X'
<if condition="is_member_of($bbuserinfo, X)"> </if>