vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Move orphan threads to forum. (https://vborg.vbsupport.ru/showthread.php?t=101385)

Brad 11-22-2005 10:00 PM

Move orphan threads to forum.
 
By request. 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

Quote:

Originally Posted by Boofo
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! :) :) :)


All times are GMT. The time now is 01:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02528 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete