PHP Code:
open includes/functions_databuild
_____________________________
Find (around line 401-407):
-----------------------------
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "deletionlog
(primaryid, type, userid, username, reason)
VALUES
($postinfo[postid], 'post', $delinfo[userid], '" . addslashes($delinfo['username']) . "',
'" . addslashes(fetch_censored_text(htmlspecialchars_uni($delinfo['reason']))) . "')
");
Replace with:
-----------------------------
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "deletionlog
(primaryid, type, userid, username, reason, deldate)
VALUES
($postinfo[postid], 'post', $delinfo[userid], '" . addslashes($delinfo['username']) . "',
'" . addslashes(fetch_censored_text(htmlspecialchars_uni($delinfo['reason']))) . "', '" . TIMENOW . "')
");
Find (around line 295-301):
-----------------------------
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "deletionlog
(primaryid, type, userid, username, reason)
VALUES
($threadinfo[threadid], 'thread', $delinfo[userid], '" . addslashes($delinfo['username']) . "',
'" . addslashes(htmlspecialchars_uni(fetch_censored_text($delinfo['reason']))) . "')
");
Replace with:
-----------------------------
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "deletionlog
(primaryid, type, userid, username, reason, deldate)
VALUES
($threadinfo[threadid], 'thread', $delinfo[userid], '" . addslashes($delinfo['username']) . "',
'" . addslashes(htmlspecialchars_uni(fetch_censored_text($delinfo['reason']))) . "', '" . TIMENOW . "')
");
just wanted to know if those file edits are absolutely neccessary as the hack seemed to work well even without those
the reason i know is because i had some trouble with my functions_databuild.php and i didn't do the file edits until i realised that they were meant to be there for this hack