vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Auto split thread after x numbers of replies (https://vborg.vbsupport.ru/showthread.php?t=76746)

Magic Spark 02-21-2005 07:16 AM

Auto split thread after x numbers of replies
 
Can someone look into this?

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

This would be a nice addition/optimization for forums with huge databases (>1 million posts)

Thank you...

sabret00the 02-22-2005 03:52 PM

Quote:

Originally Posted by Magic Spark
Can someone look into this?

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

This would be a nice addition/optimization for forums with huge databases (>1 million posts)

Thank you...

this shouldn't be too hard, it's just two queries on a cron that can hourly (not including the count rebuilds).

tnguy3n 02-22-2005 04:45 PM

i can make this hack since it seems useful for my board.

Magic Spark 02-22-2005 05:40 PM

Quote:

Originally Posted by tnguy3n
i can make this hack since it seems useful for my board.

Highly appreciated...

Erwin 02-24-2005 07:48 PM

Quote:

Originally Posted by sabret00the
this shouldn't be too hard, it's just two queries on a cron that can hourly (not including the count rebuilds).

Shouldn't base it on cron - easier to do it this way - each time a poster makes a post, you have a conditional to check the number of replies - if it exceeds the limit, a new thread is made instead. That's how I've done it anyway. When I find time I may release this.

SFishy 06-03-2005 01:23 PM

Quote:

Originally Posted by Erwin
Shouldn't base it on cron - easier to do it this way - each time a poster makes a post, you have a conditional to check the number of replies - if it exceeds the limit, a new thread is made instead. That's how I've done it anyway. When I find time I may release this.

Just bumping -- I'm interested in this

Anyone?

SFishy 06-06-2005 05:45 PM

anyone?

Logikos 06-06-2005 08:08 PM

So what your looking for is After X amount of replies auto create new thread? Example: If you have the limit set to "5". And im going to reply as number 6, my post will be a newthread? I could do something like that, but im just courious what this would be used for as i have no idea.

SFishy 06-07-2005 06:13 AM

Quote:

Originally Posted by Live Wire
So what your looking for is After X amount of replies auto create new thread? Example: If you have the limit set to "5". And im going to reply as number 6, my post will be a newthread? I could do something like that, but im just courious what this would be used for as i have no idea.

Livewire,

Thanks for replying and considering making this hack :)

It would be useful because on my boards we sometimes get longs posts with a recurring theme... but once they get to 200 or more replies, it becomes ridiculous to assume anyone is going to read them all and the members participating just start getting "lost" inside the thread. I'd like to limit a thread to say 200 replies... when someone goes and posts #201 a new thread is opened with the same title. The original is closed, with a special graphic that indicates it's reached it's limit (not "closed" but something else maybe - or maybe just an automatic message at the bottom of the closed post that says "reply limit reached, continue here" with a link to the new thread.

VPREATR 10-13-2006 05:46 AM

Sorry for reviving an old thread, however I'm curious if such a creation was produced?


All times are GMT. The time now is 06:09 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.01118 seconds
  • Memory Usage 1,730KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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