what i done
in template 'postnuke', changed NUKED to: -
PHP Code:
*NUKED BY $nukerinfo[username]*
then
PHP Code:
if ($post[nuked]!='0') {
$nukerinfo = getuserinfo($post[nuked]);
eval("\$retval = \"".gettemplate("postnuked")."\";");
} el......
you have to change the above if to "!='0'" for the nuke to work cause you then change 'nuked' in the db to the users member id.
find '//do nuking' and add
PHP Code:
//do nuking
$nuker = $bbuserinfo[userid];
$DB_site->query("UPDATE post SET nuked ='$nuker' WHERE postid ='$postid'");
find '//do restore' and add
PHP Code:
//do restore
$nuker = $bbuserinfo[userid];
$DB_site->query("UPDATE post SET nuked ='$nuker' WHERE postid ='$postid'");
thats all i done and works fine
check
http://www.thebunker.com.au/forum/