Blog to Forum?
Posted: 03 October 2005 12:21 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  236
Joined  05-14-2004

I have searched and browsed here ... and I MAY be imagining things ... but I seem to recall a discussion on how to set up a forum to pick up blog posts as topics, and the comments posted to the blog as responses. If such a thing is possible, can someone please link me to the post(s) that explain it?

TIA

 Signature 

Oh Really? ~ PhotoLife ~ In Stitches

Profile
 
 
Posted: 03 October 2005 03:16 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32921
Joined  05-14-2004

What you can do is, when you make an entry, use the “forum” tab to post to the forum, too - then in the weblog entries variables you’ll see one for if_forum_topics - that can make a link to the forum from the entry.

But there is no way to cross-polinate the comments; either have responses in the forum - or in the comments. I turn off commenting for blog postst that I x-post to the forums, to avoid any confusion.

 Signature 
Profile
MSG
 
 
Posted: 03 October 2005 08:31 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  236
Joined  05-14-2004

Gah ... I’m sorry. I really am. I am completely, totally and absolutely stupid these days. Seriously. Nicotine withdrawal is not a pretty thing.

*blank stare*

OK .. I don’t have the forums installed on my site where I can fiddle around with this. This is for a paying client who does have the forums installed and I can’t really go making a mess of his site, even for a few minutes. So ... he makes a post ... and copies it into the Forum Topic Text tab? Or makes the forum post first, posts the same thing to the blog and puts the forum post ID in?

I think I got a grip on the IF forum thing ... put that instead of a comments link ... {if_forum_topic} and {if_comments} and whichever applies will appear on the post, if the client remembers to disallow comments on posts that have forum links .... or I can go in later and remove them, I have to edit most posts anyway because Ecto puts some weird non-validating stuff in there, and he forgets to double-Enter before block level elements ....

holy crap I am rambling.

*wanders off in a daze*

 Signature 

Oh Really? ~ PhotoLife ~ In Stitches

Profile
 
 
Posted: 03 October 2005 08:34 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32921
Joined  05-14-2004

Either way is fine, but if it’s a new post I’d do the blog post and using the forum tab option - a lot easier.  The taking the ID and putting it in is better for older posts or when you change you rmind.

 Signature 
Profile
MSG
 
 
Posted: 12 October 2005 01:57 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  15
Joined  10-09-2005

Yeah I’d really like the forums to be my commenting system. I want it to show “2 Comments” or whatever after each post like normal, which links to a thread with my post and comments in the forum. I assum if you register for the blog you are registered for the forum?

Anyway to better intergrate this?

Profile
 
 
Posted: 12 October 2005 01:59 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32921
Joined  05-14-2004

I haven’t seen anyone post a query that would grab the number of messages in the related forum entry, but I’d imagine it’s possible for someone knowledgeable with queries.

Membership is site-wide, so yes, a member is registered for both weblogs and forums (and any other modules…)

 Signature 
Profile
MSG
 
 
Posted: 13 October 2005 04:31 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12433
Joined  04-29-2002

There’s a field called thread_total in the exp_forum_topics.

1 is for the first entry, and any more than that would be the replies to that topic.

{forum_topic_id} is what you’d use in a {exp:query to get back the thread_total.

Does that make sense? Not putting out the full code here, just enough to get you started.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 13 October 2005 12:05 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  15
Joined  10-09-2005

Sue, thanks for the starter tips, I’m going to give it a go, and I will share what I come up with.

Profile
 
 
Posted: 18 December 2005 05:31 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  281
Joined  11-22-2002
Lisa - 12 October 2005 01:59 PM

I haven’t seen anyone post a query that would grab the number of messages in the related forum entry, but I’d imagine it’s possible for someone knowledgeable with queries.

Membership is site-wide, so yes, a member is registered for both weblogs and forums (and any other modules…)

It was easy-smeezy.  Here’s the ‘if’ for the forum topic and the query that adds the number of threads in the associated forum entry (appears like # of comments).  The only hitch is that it counts the initial forum entry as one.  You could probably use the snippets plug in (or insert some php) to calculate the total and reduce by one, but that’s only if you’re a lot more anal than me (and that would be extremely rare).  This was good enough for me:

{if forum_topic}
<center>
<
a href="{path=forums/viewthread}{forum_topic_id}">Discuss

{exp
:query sql="SELECT thread_total FROM exp_forum_topics WHERE topic_id = '{forum_topic_id}' "}

({thread_total})</a>

{/exp:query}

</center>
{/if}

Profile
 
 
Posted: 18 December 2005 06:24 PM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32921
Joined  05-14-2004

Wiki’d - thank you, Connie.

 Signature 
Profile
MSG
 
 
Posted: 31 December 2005 01:02 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  167
Joined  11-21-2005

Hello Lisa

If you haven’t packed up and left for a memorable New Year Party, perhaps you could either point into a link, or be more specific about “Either way is fine, but if it’s a new post I’d do the blog post and using the forum tab option - a lot easier.  The taking the ID and putting it in is better for older posts or when you change you rmind.”

I ve tried either way…obviousleynot… still cant see damm thing on my forum ... could it be some settings have have not ammended?

Have a great new year

Laurent

 Signature 

3mille.com
websemantique.com

"Not everything that count can be counted,
And not Everything that can be Counted Count"
- A.Einstein

Profile
 
 
Posted: 31 December 2005 02:27 PM   [ Ignore ]   [ # 11 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12433
Joined  04-29-2002

Laurent—see:

Video HowTo: Add a Forum Entry with a Regular Entry

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 31 December 2005 07:09 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  167
Joined  11-21-2005

Hello Sue

I followed the procedure. I can now see the article appearing in the forum too. Thanks.
But the article in the blog does not show a link to the forum…

Also, re existing articles that i would like to appear in the site, despite inserting the same content and the forum Topic ID, (you looked on your browser URL window,)i still cant see it showingonthe forum, nor having a link at the bottomof the article.

BTW. Real neat little video!

thank you for all the trouble.

Laurent

 Signature 

3mille.com
websemantique.com

"Not everything that count can be counted,
And not Everything that can be Counted Count"
- A.Einstein

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65074 Total Logged-in Users: 29
Total Topics: 82208 Total Anonymous Users: 12
Total Replies: 441805 Total Guests: 182
Total Posts: 524013    
Members ( View Memberlist )
Newest Members:  mackskithbtggAdminempoleongwishPasha MahardikarmarkdurandomcatClutch BearingsAdil