vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Auto split thread after x posts (https://vborg.vbsupport.ru/showthread.php?t=74825)

trafix 01-21-2005 06:30 PM

Auto split thread after x posts
 
cinq requested me to code the following

Quote:

Originally Posted by cinq
Possible to also do one "Auto Close thread after 100 posts and create a new one with the same title" ( but append a part X to it where X is 2 if the new post created has been branched once, 3 if branched twice and so on .. ) and with the first post of this new thread to have the content : " In continuation of this previous thread here: XX )" where XX is the link to the previous closed thread ?

I can code it however i think that on the first run it would put the server under huge stress especially if there is a heap of threads over 100 posts and 2 as it will split every thread it could require quite a bid of cosmetic sergery deleting auto generated threads split from old threads that havnt been replied to for ages.

whats your thoughts .... would this hack be of any use to you?

trafix

Andreas 01-21-2005 06:32 PM

I'd stick the code into newreply.php so it will only affect new threads.

Magic Spark 02-21-2005 05:19 AM

I'm very interested.

I need something like this:

- Thread will be auto-closed after x numbers of posts
- Auto generate last post in this thread with link to new thread
- Auto generate new thread with link to original thread

Is this possible and what about the huge stress for the server?

Thanks...

trafix 02-21-2005 05:53 AM

sorry ... i have too much on at the moment so if anyone else wants to do it ... go ahead :)

Sidewindr 07-18-2006 06:19 AM

I'm also interested in this ...

SBlueman 08-16-2009 05:16 PM

I am interested in this as well.

Sidewindr 11-08-2009 08:20 AM

It has been done here ...

https://vborg.vbsupport.ru/showthread.php?t=160074

But not working 100% on 3.8.x


All times are GMT. The time now is 03:10 AM.

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.01069 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
  • (7)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