Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Jan 2012, 07:38
Webbstre Webbstre is offline
 
Join Date: Dec 2009
Need some advice on CMS Article + Forum Comment Threads

Ok, here's my situation. For the past year and a half I've been using Use Original Thread for Comments to have a merged set of comments between my cms articles and their duplicates within my forums. I have two sets of news sub-forums (one for my site's news and one for the news of the games we cover).

If anyone knows how to make any of these options work, it'll make life much easier for me!

The problem is simple: I'm tired of having to make duplicate posts (via Promote to Article) for every news article. I'm tired of having to maintain two posts for every correction or typo or update that comes up. Yet I still want the convenience for my users to be able to view news from the forums, as many of them stick around in the forums.

I'm thinking about trying to make things simpler, in one of three ways:

1- Installing a new modification that will either make articles that will automatically make the appropriate "copy" comments thread in the forum it should be in (or if posted in the forums first, make the copy of the first post in the correct article section). I thought I had something with Article Forums, but that makes a different content type, not CMS articles. The problem here is I can't find a modification that actually does this.

2- Merge my two News Sub-forums, make it the default CMS Comments forum (and just accept that the first post won't look like the article and just be a link to the article), and Prefix the comments posts somehow so that it's obvious to users what kind of article it is. The problem here is that I can't find a way to merge two long-existing forums into one.

3- Make one of my news forums the default CMS Comments forum, and just manually move the comments thread whenever I have to post site news. The problem here is that if a comment thread is moved you become unable to see comment updates from the CMS section (though you can see it from within the forum).

--------------- Added 15 Jan 2012 at 03:15 ---------------

Ok, I have an update on this with how I solved most of my problem, and just wanted to share, as well as ask for help on something hopefully simpler.

First, I found my solution in Number 2, listed above. I discovered that you can Mass Move Threads via the Admin panel, or in the admincp under Threads and Posts > Move. I solved my prefix problem by using Change Threads' Prefixes Inline, which requires one minor hook location edit to make work, but that's easy to do. I added prefixes to my news forum threads en mass, and then mass moved them all over. Then I changed my CMS Comments forum to point at my news forum. Now I only need to make a news post via the CMS, and it automatically makes the thread in my news forum. I just have to manually add a prefix to the comments thread, but that's easy enough.

Now I want to do two more things to make this perfect.
1- Stop the word "Article:" from appearing at the beginning of every comments thread.
2- Include a limited preview of the article within the first post of the comments thread. I see there's a way to make the full post show up (in a slightly limited manner) via Lynne's post here, but I really only want it to show the preview of the article, similar to the CMS homepage. It wouldn't need to have the thumbnails made though.
Reply With Quote
  #2  
Old 16 Jan 2012, 12:27
Webbstre Webbstre is offline
 
Join Date: Dec 2009
Edit: I bumped it, then found the answer to half my problem! Here is how to remove or change the "Article:" from all CMS Comment Threads:

1- Go into admincp
2- Go to Languages and Phrases > Search in Phrases
3- Search for the word "Article:" (Without the quotes)
4- You should see "comment_thread_title" near the top
5- Edit it from saying "Article: {1}" to just "{1}" for all languages
6- You're done! This won't change any past comment threads though.

Now to just figure out how to make that first post show a preview of the article (but not the whole article)

Last edited by Webbstre; 16 Jan 2012 at 12:43. Reason: As usual, found what I was asking for by myself
Reply With Quote
  #3  
Old 16 Jan 2012, 18:03
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Use My post here and grab cms_article.previewtext instead of the pagetext.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #4  
Old 17 Jan 2012, 13:09
Webbstre Webbstre is offline
 
Join Date: Dec 2009
Thanks for the response Lynne! Unfortunately I'm not having any luck with it I get the asterisks, but nothing below it. I tried turning cms_article.pagetext to cms_article.previewtext, and tested a post, then tried changing all instances of pagetext to previewtext, but in every case I end up with an empty comments thread post below the asterisks.

...I know you said you're not providing support beyond the initial post, so should I go elsewhere for help? :/
Reply With Quote
  #5  
Old 18 Jan 2012, 00:04
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
What is your exact plugin code right now after the changes?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #6  
Old 18 Jan 2012, 13:12
Webbstre Webbstre is offline
 
Join Date: Dec 2009
Ok, here's what I've tried so far:

My first try, I used this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then I tried changing all instances of pagetext to previewtext:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...but they both had the same result:
Thanks in advance for any help you can give me.
Reply With Quote
  #7  
Old 18 Jan 2012, 19:36
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Ah, sorry about that - previewtext is actually only in there if a preview break was set. So, you need to see if it's NULL and if not, then you need to create it.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #8  
Old 20 Jan 2012, 13:17
Webbstre Webbstre is offline
 
Join Date: Dec 2009
Thanks for the help Lynne. I ended up giving up and using your original code for the full news posts. Originally I thought it was just going to post a copy of the news post in the first page of the comments, but now that I have seen it working I see it just draws directly from the CMS, which is better in any case! I was afraid I would have to maintain the preview post if I had to update it, so I wanted to keep it short, but it turns out I was trying something unnecessary.

Anyways, thanks again for trying to help. You're an awesome admin for vb.org
Reply With Quote
Reply



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

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 03:26.

Layout Options | Width: Wide Color: