PDA

View Full Version : Move orphan threads to forum.


Brad
11-22-2005, 10:00 PM
By request (http://www.vbulletin.com/forum/showthread.php?t=164755). This modification will alter the way the 'Remove Orphan Threads' process in the update counters section of the admincp works.

Instead of deleting the threads it will place them in a forumid of your choosing. Note that it will no longer mass delete these threads, although you can do a mass delete via the forum they end up in if you want.

Please read the instructions before asking for help, you'll have to modify the code some to work with your own installation.

Only tested on localhost by setting a thread's forumid to 0 via phpmyadmin, use at your own risk

Floris
11-23-2005, 10:52 AM
thumbsup! :)

Boofo
11-24-2005, 06:32 AM
What actually are orphan forums? I guess I've never run into this before.

Marco van Herwaarden
11-24-2005, 07:24 AM
What actually are orphan forums?
They have lost their parents in a tragic accident.

PS This is about orphaned threads, not forums i think. ;)

There are reasons that threads are not removed sometimes when the forum they belong to is removed. This cleans it up.

nexialys
11-24-2005, 01:51 PM
same hack with moving unanswered threads would be great (ok, i again think for myself!)

Snake
11-24-2005, 04:14 PM
Thanks!

SCRIPT3R
01-24-2006, 10:50 PM
is it possible to force a thread to orphan in order to test this?

DrainBamaged
04-15-2006, 03:36 PM
I configured mine so that it ATUOMATICALLY moves the threads if they are in forumid X and have X number of replies. Thanks for the great hack! :) :) :)