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
[CMS] Use original thread for comments Details »»
[CMS] Use original thread for comments
Version: 4.0-0.1 a2, by Carnage Carnage is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.1 Rating:
Released: 12-16-2009 Last Update: 12-17-2009 Installs: 306
Uses Plugins
Code Changes Additional Files Translations Is in Beta Stage  
No support by the author.

As of 4.1.11 this functionality is included in vbulletin. So you no longer need this mod.

What does this do?
This is a really simple hack that sets the thread for article comments to be the original thread for any thread that is promoted to an article.

What can I use it for?
This mod has two major uses:

1. If you have a wealth of information in your forums and you want to promote it into articles, this mod allows you to retain the rest of the thread as comments in the cms while adding any new comments as replies to the thread; essentially allowing it to function as both a forum thread and a CMS article.

2. If you want to use multiple fourms for CMS comments. This is a fairly none obvious use case, but probably a popular one. If you have three sections in your cms (for example) and want each section to feed into its own forum, the current cms dosn't allow you to do this. With this mod installed, you can. Instead of creating your new article directly in the cms create it in the forum you wish to use for comments. Write your article as the first post of the thread and promote it to a cms article. Fill out the extra information needed (eg publish date) and save. Comments will be saved into the original thread, in the forum you created it in.

Installation Vb 4.0.1 and later
1. Import product

Uninstallation
1. Disable the plugin "set thread id"

Full uninstallation
1. Move threads that have been promoted to articles into the vbcms comments forum.
2. COPY the threads back to their original forums
3. Remove product

Steps 1 and 2 are needed to retain cache functions on the comments threads. Without them new comments will not appear on the article.

Changelog
  • 4.0-0.1 a2
    • Fixed bug causing original thread to be delete when the article was deleted
  • 4.0-0.1 a1
    • Initial release

Notes
  • I believe this is the first mod for the CMS (not including addon widgets/content types)
  • Removing this product entirly will cause issues with the cache on any articles using the original thread. Follow the uninstall steps to remove functionallity while retaining the ability to comment on these articles this mod has altered.
  • [S] Although its compatible with vbulletin 4.0 Rc 4, a bug in RC 4 and 4.0.0 Gold prevents it from acctually working. I have provided a replacement hooks_vbcms.xml file which corrects the issue in the interim.[/S] (fixed in vb4.0.1)
  • [s]Deleting an article will remove the associated original thread This is considered a bug in this product and will hopefully be fixed with the next release. [/s] (fixed)
  • The above bug has been fixed, however pending this request: http://www.vbulletin.com/forum/proje...?issueid=34188 Thread tags for the original thread will still be removed. There is /nothing/ I can do about that until the issue listed is resolved. (this has been marked as fixed in 4.0.2; will update further when i've tested that its fixed.)
  • [S]If you hard delete the original thread without first removing the article you will be affected by this bug: http://www.vbulletin.com/forum/proje...?issueid=34187 the fix I posted to that issue needs to be applied BEFORE deleting the original thread. After more research, this only becomes an issue if you promote a thread more than once. If you've done this, you can fix the error by clearing the CMS cache.[/S] (fixed in 4.0.1)

As of 4.1.11 this functionality is included in vbulletin. So you no longer need this mod.

Download Now

File Type: xml product-imhotek_useoriginalthread alpha 2.xml (2.0 KB, 1082 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
djbaxter, LoveStream, TheHack3r

Comments
  #282  
Old 10-08-2010, 02:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carrlos View Post
Carnage- have you noticed a lot of comments removed from the jira about incorporating the feature of this mod into vB? I especially noticed that my last comments were deleted.
I see your comments just fine. Why would you think they would delete your comments and leave the others?
Reply With Quote
  #283  
Old 10-08-2010, 05:41 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If you want to use multiple fourms for CMS comments. This is a fairly none obvious use case, but probably a popular one.
Excactly what i have waited for!!! THANKS SO MUCH !!!!!
Reply With Quote
  #284  
Old 10-08-2010, 06:40 PM
swiftor's Avatar
swiftor swiftor is offline
 
Join Date: Nov 2008
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I never quite got that... can anyone give an example scenario in which you'd want to use multiple forums for CMS comments?

Quote:
Originally Posted by redlabour View Post
Excactly what i have waited for!!! THANKS SO MUCH !!!!!
Reply With Quote
  #285  
Old 10-09-2010, 09:52 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Carnage- have you noticed a lot of comments removed from the jira about incorporating the feature of this mod into vB? I especially noticed that my last comments were deleted.
I've not noticed any be deleted

Quote:
That's the Vbulletin bug tracker. But it's not your fault - he should have included a link or two to illustrate his point. As soon as I read his message I wanted to go look and see if I had voted, but without a link I wasn't going to go track it down myself.
The link is in the first post at the bottom

Quote:
I never quite got that... can anyone give an example scenario in which you'd want to use multiple forums for CMS comments?
Well, it depends on your situation - if you really want to use the vb CMS in a similar way to vbAdvanced; for example you may just want to highlight the best threads from each of your current forums a featured posts section; thus you want comment threads in different forums.
Reply With Quote
  #286  
Old 10-09-2010, 03:19 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by swiftor View Post
I never quite got that... can anyone give an example scenario in which you'd want to use multiple forums for CMS comments?
Sure.

News:

Politic News
IT News

Forums:

Politics

IT
Reply With Quote
  #287  
Old 10-11-2010, 07:27 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod has been planned to be put into vbulletin for version 4.2 thanks to everyone who voted.
Reply With Quote
  #288  
Old 10-11-2010, 08:31 PM
Ozymandyus Ozymandyus is offline
 
Join Date: May 2005
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carnage- View Post
This mod has been planned to be put into vbulletin for version 4.2 thanks to everyone who voted.
Congratulations, Carnage! Quite the feather in your cap.
Reply With Quote
  #289  
Old 10-11-2010, 08:44 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carnage- View Post
This mod has been planned to be put into vbulletin for version 4.2 thanks to everyone who voted.
Linkage please? That's almost like claiming it will be added in vb5.
Reply With Quote
  #290  
Old 10-11-2010, 10:26 PM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congrats Carnage-!
Reply With Quote
  #291  
Old 10-12-2010, 07:35 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carnage- View Post
This mod has been planned to be put into vbulletin for version 4.2 thanks to everyone who voted.
Congrats, glad they acknowledged how necessary this is.
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 09:09 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.05154 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (10)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)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
  • (1)postbit_attachment
  • (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_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