if (!$permissions[canview] or !$permissions[canviewmembers]) { show_nopermission(); }
if($bbuserinfo['usergroupid'] == 6) {
} #end if ($action=="search")
} else { show_nopermission(); }