Quote:
Originally Posted by Coders Shack
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 am having trouble doing this. Which file do I edit or do I do this via the admim cp?