vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Thread Splitter (https://vborg.vbsupport.ru/showthread.php?t=160074)

Acido 06-02-2010 11:58 PM

I am crazy or this is still working in vbulletin 4.0.3 ???

TimIgoe 06-03-2010 07:21 AM

I've not tried an upgrade to vB4 yet, but as far as I know this should still work.

HFB 11-22-2010 08:12 AM

To fix the bbcode go to BB Code Manager. Find "Split", click Edit, then click Save. That's all there is to it.

HFB 02-05-2011 11:38 PM

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.

viper357 02-06-2011 05:19 AM

Quote:

Originally Posted by HFB (Post 2159200)
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.

HFB 02-06-2011 01:52 PM

Quote:

Originally Posted by viper357 (Post 2159265)
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.

viper357 02-06-2011 02:53 PM

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.

HFB 02-08-2011 05:56 PM

Quote:

Originally Posted by viper357 (Post 2159415)
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();


viper357 03-08-2011 11:06 AM

Quote:

Originally Posted by HFB (Post 2160286)
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.

mikexxx 05-02-2011 06:10 AM

Any clue if this still works in VB4?


All times are GMT. The time now is 11:04 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.01916 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete