<if condition="$bbuserinfo[usergroupid] == XX"> CHANGE XX TO ADMIN USER GROUP </if> <if condition="$bbuserinfo[usergroupid] == X"> CHANGE X TO MODERATOR USER GROUP </if>