first of all great hack!
But just a Q to make this all available to Mods & Supermods:
is this piece of code properly modified to give them access aswell?
PHP Code:
//Admin Edit Hack by Xenon
$adminsql = "";
if ((!isset($userid) or $userid=="" or $userid==0) and in_array($bbuserinfo['usergroupid'], array(5,6,7)) and $postinfo[userid]!=0) {
$userid=0;
$adminsql .= "username='Guest',";
}
$userid=intval($userid);
if (!isset($pthreadid) or $pthreadid=="" or $pthreadid==0) {
$pthreadid=0;
$action="deletepost";
}
$pthreadid=intval($pthreadid);
if (!isset($ipadd) or trim($ipadd)=="") {
$ipadd="";
}
I asked because this own't work