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
  #32  
Old 11-06-2007, 04:14 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks For The Update, Keloran!! :up:

Five (5) Things I Experienced with the New Updated Version :

-1- When Splitting, Now The Hack is Adding the First Post of the Old Thread Before the Last Split Post in the Old Thread. In previous Version that Didn't Happened.

-2- When Splitting with Option "Update subscriptions" Activated, the Last Post Isn't the Split Message, but the Last Posted Message; when that Option is Disabled, the Last Post of the Old Closed Thread is the Split Message.

-3- Option "Update subscriptions" isn't Causing Anymore Error in Database, but Suscriptions aren't Being Updated to the New Splitted Thread. Suscriptions remain only in Old Closed Thread.

-4- Date in New Thread remains "31-12-1969", so New Thread Don't Appear in Latest Threads, Nor in Today's Threads, Nor in Forum Lates Statistics. I Still Recommend to Use the Date of the Last Post as the Date of the New Thread, (using the Date of the Server Don't Work Successfully).

-5- Smilies in First Created Posts of New Thread Don't Show; Only Show When Editing the Posts with the Full Editor and Saving the Posts. Perhaps one of the Options of the Posts need to be Set.

Those are the Tests I've made until Now!! I Hope This Post Helps to Improve This Excellent Hack!!

My Best Regards!!

Reply With Quote
  #33  
Old 11-06-2007, 07:29 AM
Keloran Keloran is offline
 
Join Date: Nov 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. interesting ill look into it
2. related to the first one im gona guess
3. it "should" create a subscription to the new thread, not replace
4. the date of the old thread is set by the server, so using the same function should be okay, if you check the data in your database it will most likelly be correct (vbulletin is being a PoW)
5. strange this is fixed on mine, ill see if i can get it working for you
Reply With Quote
  #34  
Old 11-06-2007, 06:20 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated. It works so much better!!
Reply With Quote
  #35  
Old 11-15-2007, 07:33 AM
Keloran Keloran is offline
 
Join Date: Nov 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i guess there is no more bugs with this then, at least i havent found anymore to fix, hehe
Reply With Quote
  #36  
Old 01-01-2008, 11:19 AM
MikeHolohan's Avatar
MikeHolohan MikeHolohan is offline
 
Join Date: Mar 2007
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work for me, every post made gives and error this is a duplicate post made you will be redirected to that thread... or something like that...
Reply With Quote
  #37  
Old 01-08-2008, 01:34 PM
Keloran Keloran is offline
 
Join Date: Nov 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this might fix that, although its odd because that was fixed in 0.2
Reply With Quote
  #38  
Old 01-09-2008, 07:35 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error message on the import:

Quote:

Database error in vBulletin 3.7.0 Beta 3:
Invalid SQL:
ALTER TABLE thread ADD contnum INT NOT NULL;
MySQL Error : Duplicate column name 'contnum'
Error Number : 1060
Date : Wednesday, January 9th 2008 @ 03:32:41 PM
Script : http://blahblahblah/forum/admincp/pl...=productimport
Referrer : http://blahblahblah/forum/admincp/pl...?do=productadd
IP Address : XXX.XXX.XX.XXX
Username : XXXXXXXX
Classname : vb_database
MySQL Version : 4.1.21-standard
Reply With Quote
  #39  
Old 02-04-2008, 03:05 PM
civil78's Avatar
civil78 civil78 is offline
 
Join Date: Nov 2005
Location: Greece
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also in 3.6.4 have prolbem in import

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO bbcode (bbcodetag, bbcodereplacement, bbcodeexample, bbcodeexplanation, twoparams, title) VALUES ('split', '<a href="/showthread.php?t=%1$s">Here</a>', '[split]1[/split]', 'New tag to stop splits opening a new window', 0, 'Split');

MySQL Error  : Duplicate entry 'split-0' for key 2
Error Number : 1062
Date         : Monday, February 4th 2008 @ 07:08:28 PM
Script       : /admincp/plugin.php?do=productimport
Referrer     : r/clone/admincp/plugin.php?do=productadd
IP Address   : -
Username     : -
Classname    : vB_Database
Reply With Quote
  #40  
Old 03-24-2008, 08:13 AM
MikeHolohan's Avatar
MikeHolohan MikeHolohan is offline
 
Join Date: Mar 2007
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting a database error...

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

MySQL Error : Duplicate column name 'contnum'
Error Number : 1060
Reply With Quote
  #41  
Old 03-24-2008, 05:13 PM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This actually works really well, but i can't use it. The BBCode doesn't appear to be installed? I get this when a thread is closed/opened

Quote:
This thread is now closed it has a continuation thread [split]53149HERE[/split]
So you can see the BBcode brackets and it doesn't link to the next/past thread.
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 12:53 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.08710 seconds
  • Memory Usage 2,309KB
  • 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
  • (2)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
  • (4)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