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

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
  #12  
Old 12-11-2011, 08:39 PM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to use this hack only on some forum id's?
Reply With Quote
  #13  
Old 12-16-2011, 06:40 AM
Lairston Lairston is offline
 
Join Date: Feb 2010
Location: Western PA
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you can keep certain forums from having their threads split in the acp
Reply With Quote
  #14  
Old 11-05-2012, 01:56 AM
War Machine War Machine is offline
 
Join Date: Sep 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this problem!

Database error in vBulletin 4.2.0:

Invalid SQL:
ALTER TABLE vb_thread ADD contnum INT NOT NULL;

MySQL Error : Duplicate column name 'contnum'
Error Number : 1060

Can you help me?

P.S. Can I change language phrase?
Reply With Quote
  #15  
Old 08-04-2013, 05:02 AM
reizaku reizaku is offline
 
Join Date: Feb 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why ?

Database error in vBulletin 4.2.0:

Invalid SQL:
ALTER TABLE vb_thread ADD contnum INT NOT NULL;

MySQL Error : Duplicate column name 'contnum'
Error Number : 1060
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 02:08 PM.


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.03891 seconds
  • Memory Usage 2,258KB
  • Queries Executed 22 (?)
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)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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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