The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove timestamp from "delete Duplacate Threads"
I get a lot of duplicate threads when using the rssbot.
The "Delete Duplicate Threads" tool only works on threads with the same author, title, and timestamp. These threads will have the same author and title, but becuase the time stamp is different, the tool has no effect on them. Is there a way to get the "Delete Duplicate Threads" to ignore the timestamps? |
#2
|
|||
|
|||
I think you'd have to edit the code. in admincp/misc.php around line 1386 is this:
Code:
$deletethreads = $db->query_read(" SELECT * FROM " . TABLE_PREFIX . "thread WHERE title = '" . $db->escape_string($thread['title']) . "' AND forumid = $thread[forumid] AND postusername = '" . $db->escape_string($thread['postusername']) . "' AND dateline = $thread[dateline] AND threadid > $thread[threadid] "); I think if you delete the line in red it should ignore the timestamp. (Edit - You can't comment it out with // because it's in the middle of a string) |
Благодарность от: | ||
davio33 |
#3
|
|||
|
|||
Thank you, that seems to have done the trick. I appreciate your help
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|