inciarco |
02-20-2009 08:33 PM |
Coders Shack, I've just Tested Your Solution for the Conflict with the DoublePost Prevention Mod, and Works Really Well. :up:
Quote:
Originally Posted by Coders Shack
(Post 1711271)
for double post in the plugin titled "Main Doublepost Prevent Engine" look for this line:
PHP Code:
// last step update counters
above it add these two lines:
PHP Code:
$vbulletin->db->query_first("UPDATE `" . TABLE_PREFIX . "post` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" . TABLE_PREFIX . "post`.`postid` = $id LIMIT 1");
$vbulletin->db->query_first("UPDATE `" . TABLE_PREFIX . "thread` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" . TABLE_PREFIX . "thread`.`threadid` = $threadinfo[threadid] LIMIT 1");
|
I Liked a Lot the LIVE Edit Message that Appeared on the Merged DoublePost:
Quote:
"This post has been added by another user
Since this is an active topic, this post has been automatically added to the thread while you were reading it. If you are replying to this thread you might want to read this post before doing so."
|
I also noticed that this Message Appears on a Live Topic Every Time an User Edits a Posted Message that is on the Current Page Viewed, so that way the Other Users can Read the Changed Post before Posting their Message. :up:
My Best Regards, Coders Shack. ;)
:)
|