First, awesome module, but as the title says, this module overrules the Advanced Forums plug in. Advanced Forums overrides default comment templates with a few new templates specific to the forum pages. However, once I turn on Comment block, Comment block turns even the forum comment templates into block templates.

Maybe we can find a way to make this module ignore all the comment "boxes" inside of the forum pages?

Comments

RikiB’s picture

Same here, I would love to be able to limit this to "content type".

budda’s picture

line 34 of the module...

function commentblock_nodeapi(&$node, $op) {
  if ($op == 'view') {
    $node->comment = NULL;
  }
}

...is where the evil happens I think.

Prizme’s picture

Yep, I'm having the same trouble here, the module makes the advanced forum lock down all the threads. Any news on limiting comment block to a selectable list of content types as opposed to site wide?

christophe.klein’s picture

Quick and dirty fix: in commentblock.module, line 35
change

if ($op == 'view') {

to

if ($op == 'view' && $node->type != 'forum') {