function can_delete_all_thanks() { global $vbulletin; if ($vbulletin->userinfo['usergroupid'] == '6') { return true; }