In your warnuser.php, find:
PHP Code:
$getinfo = $DB_site->query_first("
SELECT post.postid, post.threadid, post.userid, thread.title AS threadtitle, user.username AS username
FROM " . TABLE_PREFIX . "post
LEFT JOIN thread ON (thread.threadid=post.threadid)
LEFT JOIN user ON (user.userid=post.userid)
WHERE post.postid = '" . $postid . "'
");
and replace with:
PHP Code:
$getinfo = $DB_site->query_first("
SELECT post.postid, post.threadid, post.userid, thread.title AS threadtitle, user.username AS username
FROM " . TABLE_PREFIX . "post
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid=post.threadid)
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid=post.userid)
WHERE post.postid = '" . $postid . "'
");