
01-15-2007, 06:29 PM
|
|
|
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Nik_s3
Sorry... I'm using 3.6.4 versione. Is there someone that could explain to me what is the exact procedure to install this modification?
Thank you
|
Quote:
Originally Posted by Nik_s3
Up....
|
Quote:
Originally Posted by beebi
to get it work fine with 3.6.x
find
PHP Code:
// we are here, so we may have a doublepost -> do more exact checkings
$doublepost = $vbulletin->db->query_first("
SELECT post.*
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
WHERE threadid = $threadinfo[threadid]
AND dateline > " . (TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60) . "
AND visible = 1 AND deletionlog.primaryid IS NULL
AND postid <> $post[postid]
ORDER BY dateline DESC
LIMIT 1
");
replace it with
PHP Code:
// we are here, so we may have a doublepost -> do more exact checkings
$doublepost = $vbulletin->db->query_first("
SELECT post.*
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
WHERE threadid = $threadinfo[threadid]
AND post.dateline > " . (TIMENOW - $vbulletin->options['dp_timespan'] * 60) . "
AND post.visible = 1 AND deletionlog.primaryid IS NULL
AND post.postid <> $post[postid]
ORDER BY post.dateline DESC
");
|
there ya go.
|