Back to vBulletin 3.0 Add-Ons

Keep redirections for merged threads
Mod Version: 1.00, by Andreas

This modification is in the archives.
vB Version: 3.0.6 Rating: (0 vote - 0 average) Installs: 1
Released: 26 Jan 2005 Last Update: Never Downloads: 0
Not Supported  

If you merge Thread A into Thread B, Thread A will be deleted afterwards.
Now your users might be confused as they can't find the thread anymore.

This hack changes this behaviour: Thread A will become a redirect to the merged Thread B.

In postings.php FIND
PHP Code:
$DB_site->query("DELETE FROM " TABLE_PREFIX "thread WHERE threadid = $mergethreadid"); 
REPLACE that with
PHP Code:
$DB_site->query("UPDATE " TABLE_PREFIX "thread SET open = 10, pollid = $threadid WHERE threadid = $mergethreadid"); 

Download

No files for download.

Similar Mods

Keep Redirects for merged Threads vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024