Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 02-21-2005, 07:16 AM
Magic Spark Magic Spark is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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...
Reply With Quote
  #2  
Old 02-22-2005, 03:52 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #3  
Old 02-22-2005, 04:45 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i can make this hack since it seems useful for my board.
Reply With Quote
  #4  
Old 02-22-2005, 05:40 PM
Magic Spark Magic Spark is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tnguy3n
i can make this hack since it seems useful for my board.
Highly appreciated...
Reply With Quote
  #5  
Old 02-24-2005, 07:48 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-03-2005, 01:23 PM
SFishy SFishy is offline
 
Join Date: Nov 2001
Location: NY
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 06-06-2005, 05:45 PM
SFishy SFishy is offline
 
Join Date: Nov 2001
Location: NY
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #8  
Old 06-06-2005, 08:08 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-07-2005, 06:13 AM
SFishy SFishy is offline
 
Join Date: Nov 2001
Location: NY
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 10-13-2006, 05:46 AM
VPREATR VPREATR is offline
 
Join Date: Feb 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 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.05332 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete