![]() |
[CMS] Use original thread for comments
1 Attachment(s)
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
Notes
As of 4.1.11 this functionality is included in vbulletin. So you no longer need this mod. |
Got big problem. When del article then it also del thread on Forum. I lost some threads for it :(
And comment from article is error Unicode font :( |
Will fix the deleting problem asap; however there seems to be a lack of useful hooks for it.
Can you give me more details about the second problem? |
Installed on my test forum and it works great. Thanks!!
|
Would like to say "GREAT"!
|
Quote:
I will try again at my site after you fixed deleting problem. |
Reserved for future use.
Thanks! |
I've made a reasonable attempt to fix the deleting problem which has proved sucessful on my dev board. However you will still lose some data (thread tags) pending the hook I used being moved to a more sensible place.
Read the notes section for the other minor known issues. (and their fixes) |
This will be AMAZINGLY useful. It's honestly the way comments for promoted threads should act in the CMS.
|
Quote:
|
MOTM candidate. Easily!
... and Thank You! |
Does this work with gold?
|
Just what I need. :) Looking forward to further development of this mod. Would like to see the article displaying the original post as well. That way when a member updates their post it will be reflected in the article as well.
|
Quote:
|
Hi Carnage!
It's so strange that this isn't a default option in vBulletin. My question is if step 1 and 2 are still needed with the gold release? If not, you might wanna update your first post. Another question is if you can tell me how the development is going for this mod? Will there be some improvements soon and worth the waiting? It's always nice to be kept up-to-date. I thank you for the time. All that's left to is that this is a great and must-have mod! Only reason why I don't just install it is because it's still in beta stage and since my vBulletin knowledge is pretty limited, I need fully tested products hehe. That's why I leave this reply. I hope you understand. Keep up the good work! |
Quote:
Quote:
Quote:
|
This really should be a default feature of vBulletin 4 - I suggested it months ago, grrrr!
|
Thanks for the quick and detailed reply Carnage! Always fantastic to see such quality support...
I hope you don't mind that I ask a couple more things? I'm still a bit unclear how this mod actually works. Let me start by telling what my favorite method would be (within the possibilities of the CMS of course / hopefully). I would like to add articles on the CMS and promote threads on the Forum as an article. From what I know, the only possibility to have comments enabled in the CMS is to select 1 single section where the forum thread should be created. This is for me not very handy since I have many different sections and can't have all discussions placed in one single forum section. For that, I did have a solution. If possible, I want to select a section which isn't viewable on the Forum and isn't open for new posts (so only threads by staff members). This will keep the comments on the CMS and only one article. Perfect for the news articles. But we have a lot of members who posts quality articles on the Forum so I need to use the "Promote to Article" button as well. Is this where your mod comes in action? And is it possible to combine this mod with the things I told above? I hope you get my situations and I would love to hear from you if and how this mod can help me. Thanks again for your time and sorry if I'm bothering you with all my questions. |
i'm not 100% sure i've followed what you are trying to do but here is what this mod will do:
1. If you create an article in the cms, the comment thread will appear in the cms comments forum as defined in vb options. 2. If you promote a blog post, there will be a comments thread created in the cms comments forum. 3. If you promote a Forum post the thread that that post comes from will be used for the comments. ----------- If you want multiple forums to contain the posts from articles; heres how you can do it with this mod. 1. Instead of creating a new cms article Create a forum post in the forum you wish to use for comments for that article. 2. Promote the post to an article. 3. The thread you created will be used for comments. |
This should definately be part of vbulletin gold. TSK TSK
|
Caused some problem here:
Fatal error: Call to a member function register() on a non-object in /home/xxxx/xxxxxx.com.br/forum/packages/vbcms/comments.php on line 706 |
This will become the MOTM ! "Subscribed To Thread"
A must have here for-real... Thanks, |
1 Attachment(s)
It give error unicode utf-8 font when leave comment on CMS but without error when reply on theard at forum.
Can you fix it? |
Quote:
|
Quote:
|
Quote:
|
Thank god someone stepped up to provide basic functionality that should have been there in the first place.
|
Quote:
|
That is a job done outstandlying well, if you need any help I would be more then willing to help with support. MOTM for sure!
|
Quote:
|
Quote:
Quote:
|
Does anyone know if all the issues have been fixed yet?
|
Quote:
|
Awesome mod Carnage. I have to agree with the others, this is a basic functionality that should already be a part of Gold. Thanks for making this mod.
|
Quote:
Issues with character encoding remain; but i'm waiting on the next vb release to see if that fixes this along with the friendly urls. The issue with the hooks file you have to upload still exists, but uploading the file provided here fixes it. |
Will download this once bugs are fixed :)
|
This ia a great idea! I was actually very surprised to find out that promoting things to article status didn't work that way be defult, as it seems very obvious.
For me at least I'd need it to do the same with blogs as it does with forum threads. I'm far more likely to promote a blog post when one of my columnists writes an article, and having all the comments being on one place under the blog entry rather than in two places makes much more sense. |
Its much harder to do with blog posts; as the comments for blog posts are stored separatly from the beggining. It might be something I look at doing when i've got more time; but right now I can almost certainally say that there won't be hooks in the right places to perform the task without code edits.
|
Installed and promoted a thread to an article with no problems. Thanks!
Question and pardon me if it's stupid - if I promote a thread that already has a bunch of replies will it break anything? |
You'll get unexpected results if you promote the second post of a thread; (eg the first post won't be shown at all but all the rest of the comments (including the second post) will be) but otherwise it should be fine; better yet, the existing posts in the thread will also be shown as comments as soon as the article is published.
|
All times are GMT. The time now is 01:20 AM. |
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:
|