<div>I've done something similar that essentially redirects all comments to a non-forum node to an assigned forum node. Yes, it's a matter of hook_nodeapi, a table to keep track of associations, and hook_link. Post count (
e.g. 1 comment, 2 comments) is already handled by the comment.module once you know the associated forum topic nid.</div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">I can send you code snippets if this description is not enough.</span></div>
<div><span class="gmail_quote">paa.kwesi</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">On 12/08/06, <b class="gmail_sendername">Jeff Eaton</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jeff@viapositiva.net" target="_blank">jeff@viapositiva.net
</a>> wrote:</span> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div><font face="Arial" color="#0000ff" size="2"><span>A site I've been working on has almost *exactly* the same requirement. It's still in development, so the code doesn't exist yet (urgh), but our conclusion was:</span>
</font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>Use nodeapi's insert $op to intercept new blog posts. When they're saved, programmatically create a forum post with the blog post's teaser and a link pointing to the 'full' blog entry. In nodapi's 'view' $op, add a link at the bottom of the blog post to 'discuss this post' that points to the forum topic in question. It would work best when blog posts have comments disabled; that way there's only one place to discuss a given blog post. The end result is that blog posts point to the forum for discussion. It would probably work best if there was a dedicated forum category for those types of posts.
</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>I'm not sure if that's helpful, but it's the flow we came up with. There's some sample code for programmatically creating forum nodes in the 'devel' module's generate-content.php
script. It handles the proper linking of taxonomies and updating of post counts, etc.</span></font></div></div>
<div><span>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>--Jeff</span></font></div></span></div>
<div><span>
<blockquote style="MARGIN-RIGHT: 0px">
<div></div>
<div lang="en-us" dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Carl Mc Dade [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:carl_mcdade@yahoo.com" target="_blank">
carl_mcdade@yahoo.com</a>] <br><b>Sent:</b> Saturday, August 12, 2006 11:29 AM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:development@drupal.org" target="_blank">development@drupal.org
</a><br><b>Subject:</b> Re: [development] Nodes content within nodes solution developement?<br><br></font></div>That type of solution is a bit too complicated to set up and administrate. <br><br>What we are looking at is a integration of two types of community user. The blogger and the forum user. A blogger consistently writes on topics but may not do so in a way that it sparks a forum. They may be just blah blahing. But sometimes they may blog on a topic that fits in with a Forum category. In this case we would like the user to be able to take a blog and insert it inline into the first post. This is so that comments and replies land in the right venue. Also the blogger or site administrator does not have moderate blog comments and replies this is left up to the moderators of the Forum.
<br><br><br></blockquote></span></div>
<div></div></div></blockquote><br>