Comments on articles in Forum
Question about setting up comments to appear in a forum
Hello
I'm a complete newbie to yacs and have a lot to learn...so please bear with me
I'm trying to set it up so that for articles posted in a section, the comments appear in a discussion board (forum), rather than just below the article.
Say as a setup for the articles, I have:
Main Section
I would like to have ONE central forum, which has separate corresponding categeories of subsections 1 & 2
So when posting a comment to an article in subsection 1, it appears in the corresponding forum
In terms of displaying the comments, could either or both methods be done:
a)Below the article, you don't see the comments/forum, but just a link saying, for example, 2 posted comments. And clicking on the link takes you that forum
And/or:
b) You see the comments in the forum below the article; and these comments also appear in the central single forum. But here you don't see the whole article in the forum, just the original back link to it
Hope this makes sense
thanks for your time
I'm a complete newbie to yacs and have a lot to learn...so please bear with me
I'm trying to set it up so that for articles posted in a section, the comments appear in a discussion board (forum), rather than just below the article.
Say as a setup for the articles, I have:
Main Section
- subsection 1
- subsection 2
I would like to have ONE central forum, which has separate corresponding categeories of subsections 1 & 2
So when posting a comment to an article in subsection 1, it appears in the corresponding forum
In terms of displaying the comments, could either or both methods be done:
a)Below the article, you don't see the comments/forum, but just a link saying, for example, 2 posted comments. And clicking on the link takes you that forum
And/or:
b) You see the comments in the forum below the article; and these comments also appear in the central single forum. But here you don't see the whole article in the forum, just the original back link to it
Hope this makes sense
thanks for your time
| Bernard from nearby-an-airport Associate, 6696 posts | YACS implements the second option. The best option is probably to trigger the Content Assistant, from the Control Panel. Then select to create a forum. Type a title for it. Also type a title for sub-sections. And hit the button at the end of the form. This assistant will automate the creation of three different sections, all based on the YABB layout (for articles and for sub-sections), featuring auto-publication of posts, etc. Else you can do it manually. If you already have some sections, edit them, and expand the box for layout options. Select the yabb option for sub-sections and for articles. Note that sub-sections can be grouped together in the main forum. Use the same content for the Family field of sub-sections that have to be grouped together, and that's it. |
| Monkey 16 posts | Bernard:Ok, I'm beginning to understand...or maybe not A member can create/post content to a section. And a forum exists as a section. If I create a forum thru the content assistant, it has its own Forum tab. Lets call this Forum Main - which is the only forum I want on the site, accessed thru the top menu tab etc. Though, if I create say a root level Section X with sub-sections, and assign as a yabb forums, these forum appear within Section X, and not in Forum Main. Now this can be changed by re-assigning the sub-section not to Section X, but to the Forum Main. But now the sub-section and its content no longer belong to Section X, but to the Forum Main Can you set up the following: you have a subsection belonging to Section X, but comments to articles/content appear in Forum Main. What I'm trying to do, is have various sub-sections, but all comments in Forum Main sorry for the long post ps. dunno if this a bug on your site, but if I preview the page, the text in message box gets cut off and you can't see the submit/preview buttons unless you select some of the text again. I'm using the latest firefox |
| Bernard from nearby-an-airport Associate, 6696 posts |
Monkey : Does this mean you want to separate comments from main content? Articles would appear in sections as usual, but comments would be grouped together in the forum. If this is what you want, I can maybe change the index page for comments (comments/index.php) to reflect on-going threads. I would also add a script to list coments linked to one article (comments/list.php). Would this fit your need? |
| Bernard from nearby-an-airport Associate, 6696 posts |
Monkey : Also, can you please post a screenshot of the rendering bug on a separate page? Thank you. |
| Monkey 16 posts | Bernard: Yes. This is what I'm looking for. It would like this: Article body ... At bottom of article a clickable link, with no. of comments in the forum, something like this: discuss this article in the forum (2 comments) And when the first time a member clicks the link, a new forum topic is automatically created, with the subject being the title of the article. In the message body, it has a clickable back-link to the article. Something like this: This thread discusses the Content article: title of article members comments here If you are familar with joomla/mambo, there's a discussbot which does something similar. I think this would be a useful feature for yacs, as not many CMS can do this. Many blogs just have comments below articles, sometimes with no user post count etc. And other CMS have similar type blog/commenting features, and have a separate forum, like xoops or e107. So to integrate everything together would be cool and a powerful community building feature which combines commenting with forum functionality.
So instead of comments being scattered throughout the site below the articles, they are organised in one central forum. The forum could have general discussion sections; but also dedicated sections which discuss the articles on the site in one place.
A member can then go straight to the central forum and see all the comments/discussions on the site, and could access any article via the back-link posted in the topic starter message. Or a member could go straight to the article, and then go the discussion forum, via the comment link to forumI'd be very impressed if you would actually code this request ps. I posted a pic about the rendering bug as a new topic. (Couldn't work out if I could attach it this thread?) |
| Bernard from nearby-an-airport Associate, 6696 posts |
Monkey : Ok, I think I got your point. Let me implement basic threading of comments first. This would answer most your requirement on centralizing comments at one place. And I do hope you will be impressed at the end of the day...
|
| Monkey 16 posts |
Bernard: Hello again You are probably thinking I'm asking too much now, but here goes anyway I'm trying to organise a site which has comments at different locations. 1. So, from my original request, comments could be placed in a central forum, instead of below an article. 2. I'm also wondering if the following is possible: You have a colletion of articles in a sub-section. Lets say the Section is Politics. And the sub-section is Activism. And this sub-section has 5 articles. At the moment, you could set it up that comments could be below each article. Or in my request in (1) they would appear in a forum. But could another option be possible, where a mini-forum appears in the Activism sub-section, below the list of 5 articles. So it's like mini-discussion board where new topics can be posted (so more than just replying to a one-thread comment). Overall, for each sub-section, there is a mini-forum attached. I haven't figured it out, but can this be done already? |
| Bernard from nearby-an-airport Associate, 6696 posts |
Monkey : This one is easy, since YACS supports comments attached to sections, not only to articles. Edit the target section and add the keyword 'with_comments' in the option field. Save and see the result. |
| Knight01 1 post | I just stumbled upon this script last night after finding it in Hotscripts. I'm looking for something very much as described by Monkey in the above post. Having content with links to a forum to discuss the content. Has this been added to the files that are available for download? I probably should add a new thread for this, but would also like to allow the user that is creating the content to add their adsense / YPN code to the article so they may have an opportunity to earn income from their efforts. Perhaps something along the lines of the vbulletin hack for revenue sharing? |
Rate this page
Posted by Monkey on Nov. 6 2005, commented by Knight01 on Nov. 6 2005, (popular)
and a powerful community building feature which combines commenting with forum functionality.
So instead of comments being scattered throughout the site below the articles, they are organised in one central forum. The forum could have general discussion sections; but also dedicated sections which discuss the articles on the site in one place.
A member can then go straight to the central forum and see all the comments/discussions on the site, and could access any article via the back-link posted in the topic starter message. Or a member could go straight to the article, and then go the discussion forum, via the comment link to forum