if ($bbuserinfo['usergroupid'] != 6 and $bbuserinfo['usergroupid'] != 5 and $bbuserinfo['usergroupid'] != 2) {