Just to let everyone know, I've added this to a 2.3.2 board without any problems (so far)
Where it says
Quote:
##### now in postings.php find ( around line 121 ) #####
$firstpostinfo=$DB_site->query_first("SELECT userid FROM post WHERE threadid='$threadid' ORDER BY dateline LIMIT 1");
if ($bbuserinfo[userid]!=$firstpostinfo[userid]) {
show_nopermission();
}
}
}
}
### and place this under it ###
if ($threadinfo[forumid]!=XX && $recycle_bin==1) { // make the XX the number of the recycling bin
$DB_site->query("UPDATE thread SET forumid='XX' WHERE threadid='$threadid'"); // make the XX the number of the recycling bin
eval("standardredirect(\"".gettemplate("redirect_d eletethread")."\",\"forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]\");");
exit;
}
|
it's line 105 - 20 lines under the block that starts with...
Quote:
// ############################### start do delete thread ###############################
|
Thanks again for building this Neo, simple but effective