Hey all.

So, I installed the nodeComment module and moved the node-comment.tpl.php into the proper place. I went into the Comment settings and set all the proper options there. Comments are enabled for my nodes as well.

With all of that being done, there is no comment box or comment link in my articles. Maybe I am misunderstanding the functionality here.

All I am trying to do is find a module where I can add additional fields to the Comment setup for user information.

Any help would be appreciated!

CommentFileSizeAuthor
#7 changes_to_content_type_comments.diff2.65 KBwaddles

Comments

cjs_’s picture

I just had this issue. Hopefully your solution will be the same as mine.

Although the nodecomment module creates the comment content type, it doesn't set it as the default node type for comments despite the comment setup form making it appear as though it does.

1) Go into admin/settings/nodecomment
2) Make sure comment is already selected as the default node type for comments (it likely already is)
3) Save

This got things working again for me. Good luck.

netrom’s picture

cjs_ I am not sure I can recognize the path you mention: admin/settings/nodecomment. Which "settings" do refer to?

boran’s picture

In D6 to set nodecomment for "story" content (i.e. normal web pages), go to admin/content/node-type/story, comment section and set "Node type for comments" to comment (as opposed to drupal comments).

shanejeffery86’s picture

Hey Boran.

I have disabled the Comment module and enabled Node Comment. When I go to my Article content type, I choose the Node Type: Comment and then I set it in the Administration Menu under Comments to Node Type: Comment as well. The box for comments is still not showing up.

Any would be appreciated!

Thanks!

waddles’s picture

I have the same problem. In my 'Business' content type, I have 'Comment' (nodecomment) as Read/Write for the comment type. Even after creating a new Business node, the About This Node block still shows Commenting: Disabled

waddles’s picture

I looked at the about_this_node module and found it was only reporting on the core Comment module, not Node Comments module so added #683196: Add Nodecomments integration. Also had Disqus module enabled so it's now disabled too.

However, I still can't get it to display any links to add comments. I can add comments by manually entering the URL /node/add/comment/5 and it displays the new comment after saving, but neither the parent node nor the comment nodes get any links displayed.

By adding a call to Devel module's dpm() function to line 759 in nodecomment.module, I can see that the links are correctly being generated but for some reason they are not being themed correctly:

function nodecomment_link($type, $node = NULL, $teaser = FALSE) {
[snip]
  dpm($links);
  return $links;

That displays a Krumo block in the message area with the following:

comment_add (Array, 3 elements)
        title (String, 15 characters ) Add new Comment
        attributes (Array, 1 element)
                title (String, 31 characters ) Add a new comment to this page.
        href (String, 18 characters ) node/add/comment/5
waddles’s picture

Title: No Comment Box Appearing... » No Comment links displayed
StatusFileSize
new2.65 KB

Found the root cause of the problem displaying the new comment submission form:

In my 'Business' content type, I had "Location of comment submission form:" set to "Display on separate page". Changing that to "Display below post or comments" displays the form below the content. This relates to line 898 of nodecomment.module:

    if (user_access("create $comment_type content") && node_comment_mode($nid) == COMMENT_NODE_READ_WRITE && (variable_get('comment_form_location_'. $node->type, COMMENT_FORM_SEPARATE_PAGE) == COMMENT_FORM_BELOW)) {

However, changing that one setting also messes up several other settings, including unsetting some of the variables. I have detailed the changes in the attached diff file.

Still no links are being displayed anywhere.

fehin’s picture

Would someone please look into this? What's the point of using this module if it doesn't work properly.

locomo’s picture

subscribe

Ghostthinker’s picture

+1

crea’s picture

Status: Active » Fixed

This issue is filled with various reports from people using different versions, which makes it impossible to answer. Nodecomments 1.x was totally different and is not supported anymore.

Please open separate reports for your questions, providing all information:
1) Node Comments version
2) your commented content types, with configuration.
3) your comment content types
4) Expected behaviour
5) Observed behaviour.

Thanks.

Status: Fixed » Closed (fixed)

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