
11-14-2008, 04:21 PM
|
|
|
Join Date: Jan 2007
Location: Kent
Posts: 603
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by cb001
For vBulletin 3.7 you need to edit the "save reports to database" plugin. The following code should work:
Code:
global $vbulletin;
$vbulletin->db->query("
INSERT INTO " . TABLE_PREFIX . "postreport
(postid, userid, reporttext, status, dateline)
VALUES
(" . $iteminfo['postid'] . ",
" . $vbulletin->userinfo['userid'] . ",
'". addslashes(htmlspecialchars_uni($vbulletin->GPC['reason'])) . "',
0,
" . TIMENOW . ")
");
Don't know if it the best solution.
|
Has anyone managed to get this to work on 3.7 using the above fix?
|