Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Splitter Details »»
Thread Splitter
Version: 0.4, by Keloran Keloran is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 10-11-2007 Last Update: 01-07-2008 Installs: 31
DB Changes Uses Plugins
Re-useable Code  
No support by the author.

This creates a new thread once a thead has reached a certain size and a user posts a new reply

NOTE
this does alter your thread table, it adds a new row (contnum) and a new index
it adds a new bbcode to your forum, so that the topic continue doesnt open a new window/tab

Install guide
when you install through the "manage products", a new set of options will appear in the vbulletin options->vbulletin options (defualt off)

this allows you to change the following settings:
userid of the post continuer - when a post is auto-closed a post is made that says it is closed, and a new thread is created with a post in it saying where the original is, this is posted auto by the user given (default 1)

reply count - the amount of posts before a thread is closed and split (default 500)

threadsplitter enabled - turn off/on the thread splitter (default off)

dont allow splits in X forums - add new forums by using ,. e.g 4,5 (default blank)

update subscriptions - update the users threadsubscriptions to the new thread if subscribed to the old one before split

unsticky old threads - unsticky the old threads after a continuation is made (default off)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
CarpCharacin

Comments
  #52  
Old 06-02-2010, 11:58 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am crazy or this is still working in vbulletin 4.0.3 ???
Reply With Quote
  #53  
Old 06-03-2010, 07:21 AM
TimIgoe TimIgoe is offline
 
Join Date: Aug 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've not tried an upgrade to vB4 yet, but as far as I know this should still work.
Reply With Quote
  #54  
Old 11-22-2010, 08:12 AM
HFB HFB is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To fix the bbcode go to BB Code Manager. Find "Split", click Edit, then click Save. That's all there is to it.
Reply With Quote
  #55  
Old 02-05-2011, 11:38 PM
HFB HFB is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got subscription updating to work. Product file is attached. It's been installed on vB 3.6.8 and 3.8.4 without any issues. You will still have to save the bbcode as described in my post above to get that working.
Reply With Quote
  #56  
Old 02-06-2011, 05:19 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HFB View Post
I got subscription updating to work. Product file is attached. It's been installed on vB 3.6.8 and 3.8.4 without any issues. You will still have to save the bbcode as described in my post above to get that working.
Awesome, thank you for your contribution, I will test it later on 3.8.5 :up:

Quick question, if I have 20 posts per page, what is the recommended amount of pages to have before a thread should be split, and does this help with performance? Thanks.
Reply With Quote
  #57  
Old 02-06-2011, 01:52 PM
HFB HFB is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Awesome, thank you for your contribution, I will test it later on 3.8.5 :up:

Quick question, if I have 20 posts per page, what is the recommended amount of pages to have before a thread should be split, and does this help with performance? Thanks.
That will depend on your server specs and configuration. We use this solely for performance reasons and set it at 1000 replies to keep db queries from getting too long. In master-slave replication server configurations we experience replication lag and lost connections with higher reply counts. Performance hit is especially severe if post cache needs to be rebuilt.
Reply With Quote
  #58  
Old 02-06-2011, 02:53 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that, it is running 100% on my 3.8.5.

Just one question if you don't mind, is there any way I can prevent it from posting the first post of the original thread? Much appreciated, thanks.
Reply With Quote
  #59  
Old 02-08-2011, 05:56 PM
HFB HFB is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Thanks for that, it is running 100% on my 3.8.5.

Just one question if you don't mind, is there any way I can prevent it from posting the first post of the original thread? Much appreciated, thanks.
The second post of the new thread is the first post of the old thread so I'd try commenting out or removing this code in the plugins. It's found in both plugins.

Code:
//create the second post in the new thread
						$newPostNTF = $db->query_write("INSERT INTO " . TABLE_PREFIX . "post (title, threadid, username, userid, dateline, pagetext, visible, parentid, showsignature) VALUES ('" . $db->escape_string($oldPostF['title']) . "', " . $newThreadId . ", '" . $db->escape_string($oldPostF['username']) . "', " . $oldPostF['userid'] . ", " . $newTime . ", '" . $db->escape_string($oldPostF['pagetext']) . "', 1, " . $newPostId . ", 1)");
						$newPostNTFId = $db->insert_id();
Reply With Quote
  #60  
Old 03-08-2011, 11:06 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HFB View Post
The second post of the new thread is the first post of the old thread
Really sorry to bug you again. Is there any way we can make 'the second post of the new thread', the last post of the old thread? So when someone makes a post in the original thread, the post is posted, the thread is then closed and split and that last post is then posted again as the 2nd post in the new thread?

Would really appreciate your help on this, Thanks.
Reply With Quote
  #61  
Old 05-02-2011, 06:10 AM
mikexxx mikexxx is offline
 
Join Date: Aug 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any clue if this still works in VB4?
Reply With Quote
Reply


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 01:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05511 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete