optionally, this module should display the X most recent comments from the corresponding forum discussion (after it is created) underneath the full-page view of the node itself

Comments

toemaz’s picture

Seems like something for the nodeapi or hook_view.

Question related to this issue: why not add an option for having multiple forum topics for a node type? If I would use this module, I would definitely use this option as I need multiple discussions for one node.

spiderman’s picture

Yes, I'm building out the _nodeapi hook right now. As far as multiple forum topics per node, this is not really in my current plans for the module. I don't foresee needing this feature for our current client, although I'm open to patches as long as they don't break anything ;)

You might also want to look at the Node Relativity module for a more generalized approach to this kind of thing. I considered this module for our purposes, but found that our needs were much more specific in this case.

Thanks,
Derek

spiderman’s picture

Status: Active » Fixed

implemented basics of this feature in commit #123095. the output is fairly ugly, but uses a theme function which can be overridden for individual comments (theme_discussthis_comment). the nodeapi hook stores the 'item-list' of comments in the content array of the node, so it can be prefixed/wrapped at the theme level.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.