Hi,
sorry for being late on this, but I just got PHP4 installed (slow provider...

)
I installed the hack from Zarkov's additions, added JoshFink extras and it seems to work fine.
I noticed to things though:
1) The Moderator table is empty if I access modlog.php making this hack quite senseless on my site
2) I deleted a thread and it showed up under "Moved threads"
Checked postings.php
PHP Code:
deletethread($threadid,0);
// modlog hack
$DB_site->query("INSERT INTO modlog (type,userid,threadid,threadtitle,fromforumid,toforumid,timestamp)
VALUES ('2','$bbuserid','$threadid','".addslashes($threadinfo[title])."','$threadinfo[forumid]','','".time()."')");
// /modlog hack
eval("standardredirect(\"".gettemplate("redirect_deletethread")."\",\"forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]\");");
}
Seems correct to me (case 2 = delete)
And the modlog.php
PHP Code:
case("2"):
$deleted[$log[timestamp]] = array("type"=>"2", "userid"=>"$log[userid]", "threadid"=>"$log[threadid]", "title"=>"$log[title]", "username"=>"$log[username]",
Funny, what did I do wrong?
Thanks in advance,
-Tom