Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[CMS] Use original thread for comments Details »
[CMS] Use original thread for comments
Mod Version: 4.0-0.1 a2, by Carnage (Coder) Carnage is offline
Developer Last Online: Sep 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.1 Rating: (40 votes - 4.83 average) Installs: 305
Released: 17 Dec 2009 Last Update: 18 Dec 2009 Downloads: 1087
Not Supported Uses Plugins Code Changes Additional Files Translations Is in Beta Stage  

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.
  • 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. (fixed in vb4.0.1)
  • 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. (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.)
  • 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. (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

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Display Thank Score of thread near of the original poster vietdjclub vBulletin 3.7 Add-ons 38 30 Oct 2015 19:58

  #46  
Old 12 Jan 2010, 20:24
Carnage Carnage is offline
 
Join Date: Jan 2005
I installed it, as described. I went into one of my forums and into a thread with multiple replies. I promoted the first post to an article. Clicked save. But no comments are seen in the CMS. Is there anything I have to select before saving?
Things to check:
1. Post a comment to the thread you promoted: does it go into the original thread?
- If not double + triple check you did everything right; (esp the uploading of the custom hooks.xml file; it may not have overwritten the original)
2. Clear the CMS cache and see if posts appear.

deomo or screen?
I don't see how I can provide a screenshot for this; as it would look no different from the basic vbulletin 4 setup. A demo is also difficult, as it uses what is essentially admin functionallity
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #47  
Old 12 Jan 2010, 21:41
buontaiviem buontaiviem is offline
 
Join Date: Nov 2006
Carnage-, Are this bug fixed on ver 4.0.1 yet? or only about hooks fixed.
Reply With Quote
  #48  
Old 12 Jan 2010, 22:32
Carnage Carnage is offline
 
Join Date: Jan 2005
hooks are deffinatly fixed; deleting the thread before deleting the article should be fixed (along with a whole host of other bugs caused by doing things like deleting your cms comments forum) but i've not had chance to verify this yet. The issue with tags being removed if you delete an article i've not had chance to verify either way - it may not even have been looked at. (i'll go check the bug report now)
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #49  
Old 13 Jan 2010, 00:20
Blackhat's Avatar
Blackhat Blackhat is offline
 
Join Date: Mar 2005
is the "deleting thread" problem fixed ?
__________________
running vBulletin 4.0.6
Reply With Quote
  #50  
Old 13 Jan 2010, 09:26
Carnage Carnage is offline
 
Join Date: Jan 2005
until the hook is moved, deleting an article will remove the tags from the original thread; the thread itself however will not be deleted.
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #51  
Old 13 Jan 2010, 14:02
bamaster bamaster is offline
 
Join Date: Dec 2004
Originally Posted by Carnage- View Post
Things to check:
1. Post a comment to the thread you promoted: does it go into the original thread?
- If not double + triple check you did everything right; (esp the uploading of the custom hooks.xml file; it may not have overwritten the original)
2. Clear the CMS cache and see if posts appear.
I did everything right, but I found the problem.

Before uploading your "hooks_vbcms.xml" file, I renamed the original file to "hooks_vbcms_backup.xml". I left it in the xml folder.

As soon as I deleted that backup file the hack worked. Go figure.

Thank you! I think this should be delivered code in the vBulletin package.
__________________
Tony
http://www.allBowling.com
Now With Less Carbs!
Reply With Quote
  #52  
Old 13 Jan 2010, 18:50
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Real name: Lee
Yea me to Ba, this MOD really should be in vB as standard.

Carnage im about to install this, i'm running 4.1 so do i still need to use the hooks_vbcms.xml file or ?

Thanks,
Lee
Reply With Quote
  #53  
Old 13 Jan 2010, 20:08
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Real name: Lee
Np...Carnage, it looks like they are no longer defined as admin hooks for the next version. I've changed the fixed version.

Cool so anyone about to install this, if your running 4.0.1 you wont need to replace the hooks_vbcms.xml file.
Reply With Quote
  #54  
Old 13 Jan 2010, 21:17
Carnage Carnage is offline
 
Join Date: Jan 2005
Ive updated the first post to reflect the new situation for 4.0.1
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #55  
Old 14 Jan 2010, 02:09
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Not working for me. I am running 4.0.1. I tried it without the included hooks_vbcms.xml file and tried it with the file. I tried posting to the CMS thread as well as the original thread that I promoted from the forums but nothing happened.

Edit:
It started working only after reinstalled and re-promoted a thread. Thanks!

Edit2:
This thing is freakin' awesome!! Why hasn't everyone downloaded it???
__________________
http://www.iphonemodding.com

Last edited by carrlos; 14 Jan 2010 at 03:35.
Reply With Quote
  #56  
Old 14 Jan 2010, 11:53
Carnage Carnage is offline
 
Join Date: Jan 2005
Thanks for that feedback.

Did you install it on 4.0.0 and then upgrade to 4.0.1?
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #57  
Old 14 Jan 2010, 12:17
Dzi13 Dzi13 is offline
 
Join Date: Dec 2006
is this only for vb cms or any other cms ?
Reply With Quote
  #58  
Old 14 Jan 2010, 13:37
Carnage Carnage is offline
 
Join Date: Jan 2005
It'll only work with the vbCMS.
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #59  
Old 15 Jan 2010, 12:30
Carnage Carnage is offline
 
Join Date: Jan 2005
Updated first post.

The only known outstanding bug left in this product is that if you delete an article that was promoted from a forum thread, it will delete the thread tags from the original thread. This has been marked as fixed by vbulletin, so it should be resolved in 4.0.2 or 4.0.3.
__________________
www.giveupalready.com

If you want/need to contact me, best thing is to pm me on that site, username Carnage.
Reply With Quote
  #60  
Old 15 Jan 2010, 18:04
msimonds msimonds is offline
 
Join Date: Aug 2003
Real name: Mike Simonds
Works like a charm, thank you sir!!!

~Mike
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 14:10.

Layout Options | Width: Wide Color: