Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Thread Splitter Details »»
Thread Splitter
Version: 1.00, by Lairston Lairston is offline
Developer Last Online: Sep 2017 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 12-07-2011 Last Update: 12-08-2011 Installs: 18
DB Changes Uses Plugins
Re-useable Code  
No support by the author.

This is a port of Keloran Thread Splitter mod found here which is marked as reusable.

This creates a new thread once a thead has reached a certain size and a user posts a new reply to the thread. The new thread will have the same title with a Part # attached to it.

As with the original mod:
  • You are able to enable and disable the mod from the settings.
  • You are able to assign a user id for the posts that close and open threads
  • You can set the number of replies that can be made before the thread is split
  • Allow certain forums to continue to have long posts
  • Update Subscriptions
  • Unsticky threads

My additions:
  • You can keep the original author for the new threads
  • You can add links to the new thread's first post so that a table of contents of other thread breaks is created

In addition, I've made it so it updates the thread and post counters. And user post counts. I also switched the order of the posts for the newly created parts from the original mod. Now the original first post is in the first post and a message that this is a continuation thread is in the second place.

NOTE
  • It adds a new row to the thread table
  • it adds a new bbcode to your forum, so that the topic continue doesnt open a new window/tab

Install guide
  1. Import product-threadsplitter.xml into the Adminstration Control Panel
  2. Goto the BBCode Manager and open it. click to edit the Split bbcode. Save it. Ignore the warning about it not being formed correctly and click continue. For whatever reason it won't function correctly without doing the edit and save.

Download Now

File Type: xml product-threadsplitter.xml (26.7 KB, 81 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-08-2011, 10:29 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen shot or demo?

Still not 100% sure what this does. Sorry.
Reply With Quote
  #3  
Old 12-09-2011, 04:39 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+1 :/
Reply With Quote
  #4  
Old 12-09-2011, 12:25 PM
Sforums Sforums is offline
 
Join Date: Dec 2010
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would anyone split thread and start all over again?
Reply With Quote
  #5  
Old 12-09-2011, 04:42 PM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sforums View Post
Why would anyone split thread and start all over again?
Actualy, it'll create a new thread with the same name when the old one's reached the number of replies that you defined.
Reply With Quote
  #6  
Old 12-09-2011, 04:45 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be better to rename the threads as "Original Thread Title Name -" Part 1 and Part 2 and so one.
Reply With Quote
  #7  
Old 12-09-2011, 07:41 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you bro

unstalled under test
Reply With Quote
  #8  
Old 12-09-2011, 08:39 PM
Lairston Lairston is offline
 
Join Date: Feb 2010
Location: Western PA
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Screen shot or demo?

Still not 100% sure what this does. Sorry.
It closes a thread after a set number of posts that you decide on in the ACP.

You can see what it does with these two threads on my site

end of ninx - http://quarrelsandquills.com/showthr...n-Land/page975
beginning of ninx 2 - http://quarrelsandquills.com/showthr...en-Land-Part-1

Quote:
Originally Posted by Sforums View Post
Why would anyone split thread and start all over again?
Some think the length of threads impacts the database. My partner on the site used to be a staff member on christianforums.com and they did this. He wanted it for our site because he noticed some things with the database so I found the original mod and adapted it. Thought others might want it.

Quote:
Originally Posted by Boofo View Post
It would be better to rename the threads as "Original Thread Title Name -" Part 1 and Part 2 and so one.
Agreed. New version uploaded
Reply With Quote
  #9  
Old 12-10-2011, 11:15 AM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this mod make anything to existing threads that are beyond the numbers of replies where it should be splitted?

Is there a way to select a thread and split it?
Reply With Quote
  #10  
Old 12-10-2011, 08:46 PM
Lairston Lairston is offline
 
Join Date: Feb 2010
Location: Western PA
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Existing threads that are beyond the number of replies will be closed on the next post and they will simply be longer. The mod only checks to see if the new post causes the thread to be greater then the set number of replies.

And it will do the normal thing of creating the new thread.

But future parts will be the size selected in the acp.
Reply With Quote
Reply

Thread Tools

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 10:32 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.09318 seconds
  • Memory Usage 2,311KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete