![]() |
Thread Splitter
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) |
demo or any samples?
thanks in advance |
A demo would be nice.
|
Installed on test server. BTW, you should mention to Import as a product. Also where to find it; Vb Options.
|
Could you correct this spelling please?
Set the amount of replys a thread can have. It should be "replies". On Edit: After the thread is closed it posts an additional post after the notice that it has been moved. When I clicked on the Continuation link it said it was invalid. After searching for the new thread the date on that thread is 12-31-1969 06:00 PM. |
ill upload the fixed version when i get back to work on monday, it fixes alot of the bugs, ill make it a zip with instructions too, ill try to make a semi-demo aswell
|
update to work almost fully now, just has 3 bugs left, that ill endevor to fix, if someone else manages to work out the fix, plz tell me
|
|
that problem should now be fixed
|
Better!! But, when I click on the link to the "old" post there is an error message that it cannot be found. Also, I'm still getting that problem where the new "split post" has the date of 12-31-1969.
|
You do know that you can add Install/Uninstall code to your product. Usually database cahnges are done there.
|
before i did the updates in the installcode i wanted to make sure i had all the syntax correct for checking the index didnt exist before making it, which some plugins on here dont seem todo, its now automatic, and doesnt add multiple index's
|
Great, will keep an eye on this, i've been wanting this!
|
This is a good idea!
|
be great if it could split at a certain time possibly.
|
Quote:
|
can you split a thread??!!!!! say like i have a short story... and its over 500 words.. i may want to split it where IN THE THREAD every 250 words... so, you see... next.. page 1 page 2 so on and so forth....???
|
Not working on mine. VB 3.6.8 Pl 1
|
Great idea, doesn't work on 3.6.8
|
fixed all the issues (on mine), and sorted a problem with something that happened on multiple splits
|
Great Idea, Keloran!! ;)
But There is a Bug on this Hack for vBulletin 3.6.7 PL1!! :( I Hope You Can Tell Me What's Wrong?? :confused: What Template or Plugin Should I Change to make it Work?? :confused: I didn't Even Reached the Count of Posts to Split the Thread, it Happened just Only by Posting a Simple New Post!! :( (Perhaps a Bad Reference To a Table On a Plugin??) :confused: I'll Keep the Hack Not Active so that I can Allow Postings on my Forum!! :( My Best Regards!! ;) Code:
|
ahh sorry thats my fault, yeah i didnt add the " . TABLE_PREFIX . "
fixed |
Now is Working Better, Keloran!! ;)
But... :eek: :p There's a Bug With The Option "Update subscriptions" (Update the users thread subscriptions to add the new thread to people who subscribed to the old ones.)!! :( :confused: When Activated, Causes the Error I Present To You Inside the Code Tags!! :( ;) The Hack Splits the Thead, but Presents that Error, and I Think that Don't Perform the Updating of the Suscriptions!! :( ;) (Code in Plugins Under "//update the subscribed people to the new thread"). My vBulletin Version is 3.6.7 PL1!! ;) My Best Regards, Keloran!! :up: Code:
|
http://inciarco.com/foros/images/smilies/anterior.gif
Another Additional Little Bug I Found!! ;) When the New Splitted Thread is Created, on the First Two (2) Replies (The Firts Post of the Previous Version of the Thread, and the Post that Caused the Split), the Smilies Don't Show (Appear Written But Don't Show), and I Have To Edit The Message with the Advanced Editor and Save It for the Smilies to Appear (the Codes Appear but Seems Like if the Smilies where Not Used on those Particular Posts that come from the Closed Splitted Thread)!! :( :confused: My Best Regards, Keloran!! :up: :) |
Another Bug I Found Later, that I Think a Forumer Mentioned Previously, is that the Date of the Splitted (New) Thread is "31-12-1969 08:42 PM", and also NO User Appears as Poster of the Last Message!! (Perhaps Those Thow Fields Are Missing On The New Thread, and Shall be Copyed From the Las Post Placed on It)!! :( ;)
I Hope You Can Fix Those Three (3) Bugs I've Mentioned on my Posts, because This Is a Great Hack!! ;) My Best Regards!! ;) :) |
the date one is an odd one, because it uses server time of time() + 1 or 2, depending on the post (to stop vB complaining of duplicates)
the only time it did it on mine was when the server decided to forget the real date, the others are fixed (or should be) |
I've Tested the New Update, Keloran, but Another Bug Appeared Also for the "Update subscriptions" Option!! :( ;) :confused:
I'll Copy/Paste the Error Message!! ;) I Think You're Near The Final Solution!! ;) The "Unsticky old threads" Option, Works Fine!! ;) :rolleyes: I Think You Should Consider Using the Date Of The Last Post as a Reference for the New Thread, or Simply Use the Same Formula of the Bump Hacks (there are like 2 or Three Hacks that Bump/DeBump Threads)!! I Think for some Reason Using the Date of the Server Don't Works Fine (I Know the Date of My Hosting Server is Ok, so there's Something in the Code of the Hack that Isn't Working Fine)!! ;) Perhaps If The Date of The New Thread When Creating It Is The Same Of The Old Thread, is Better To Leave Them That Way, Because The Old Thread Is Already Closed and Nobody Will Change It; and Also With The Date Set to "31-12-1969" the New Thread Don't Appear on the List of New Threads on the Forum Statistics Hacks, and It Also NOT Appear on the "Today's Threads" (http://zzz/search.php?do=getdaily) which Will Be Very Confusig For Users!! :( ;) :confused: I've tested the Hack with a Threar Limit Below the Max Number of Posts inside My Test Thread, and Also Works When Next Post is Posted and Splits the Thread Ok (Only Bug is the One Mentioned at the Beginning of this Message)!! ;) I've Tested the "Dont Split In Forums" Option, and Works Ok!! ;) I've Tested the Hack with the "Quick Reply" and Works, only that the "Closed" Image Appears After Refreshing the Window, but the Thread Is Closed and the Split is Made and the Message Of Split Appears Fine, and No Additional Message is Allowed To Be Posted (Old Thread Is Closed)!! ;) My Best Regards!! ;) :) Code:
|
screenshots?
|
ania its quite hard todo screenshots
it litterlly, closes a thread, starts a new one, i cant screenshot the process |
that should fix the problem with hte dates not being inserted correctlly, although looking at my forum there was an occasion where this happened, but in the database the dates are correct, so im guessing vbulletin is doing something really stupid
|
Thanks For The Update, Keloran!! :up:
Five (5) Things I Experienced with the New Updated Version :( :confused:: -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!! ;) :) |
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 |
Updated. It works so much better!!
|
i guess there is no more bugs with this then, at least i havent found anymore to fix, hehe
|
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...
|
this might fix that, although its odd because that was fixed in 0.2
|
I'm getting this error message on the import:
Quote:
|
Also in 3.6.4 have prolbem in import
Code:
Database error in vBulletin 3.6.4: |
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 |
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:
|
All times are GMT. The time now is 04:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|