This tag should be used for questions about node comments.

learn more… | top users | synonyms (1)

0
votes
0answers
11 views

How to show only some specific comments based on a field in comment table?

I have written a module that allows users to put comment on each paragraph. So in comment form there is a field that asks the user which paragraph do they want to put comment on. I have to mention ...
0
votes
1answer
16 views

How to add description like: “Comments for paragraph 1” to comments

I have written a module that allows users to put comment on each paragraph. So in comment form there is a field that asks the user which paragraph do they want to put comment on. I have to mention ...
0
votes
0answers
14 views

How to get all record of a newly added field in comment section for a particular node?

I have added a field in comment section. How can i get all records of that newly added field "field_exam" with the help of NodeID for a particular node? Thanks
0
votes
2answers
20 views

Allow comments on profile pages [duplicate]

What are the ways to allow comments on user profile pages in Drupal 7? There is a profile content module, which unfortunately is not available for Drupal 7.
-1
votes
1answer
14 views

Remove “Comments” title section from node template

in my node.tpl.php i have this line: <?php echo render($content['comments']); ?> It works, but before comments I have a <div> with the text "Comments". I think that it is the section ...
1
vote
2answers
41 views

How to print a custom user field in comment.tpl.php?

I'm trying to print a custom user field (field_avatar) image as a replacement for the user picture. Why? user picture file directory would not accept tokens. This mean, I could run into a scenario ...
2
votes
2answers
38 views

How to view “your own comments” without the permission view comments?

In Drupal there is a permission "view comments" and "add comments". I would like to activate "add comments" and disactivate "view comments". How to allow to view your own comments for users? It's a ...
0
votes
0answers
8 views

Create a names and email field on comments in D6

I am trying to add extra fields onto the comments box in d6. Have tried this in my template.php file function mythemename_form_alter(&$form, &$form_state, $form_id) { if ($form_id == ...
0
votes
2answers
43 views

How to prevent to show comment by default

I've added a node.tpl.php for my content type ("Article") . Now in my article node i got two comment area . How can i disable default comment?
0
votes
0answers
9 views

Live Comment Streaming from facebook on drupal site

I have been trying to get live Facebook comments to stream on my Drupal 7 site. Do I have to create an app for this? The comments do not show. The only thing that shows is a comment box and the ...
0
votes
0answers
17 views

Refer to comment node in CKEditor

I would like to have a reference to a comment in my node detail. For example when I create a node of content type = Proposal and someone comments with a good argument I would like to add the ...
0
votes
1answer
10 views

How to get last_comment_timestamp for a node

Can someone tell me what table to look for to get the node's last_comment_timestamp? Thanks.
0
votes
2answers
25 views

What hook to use to update history table

What hook can I use to update the history table for my use case? I am using the answers module. When viewing a question it appends a view of answers by format of view mode. The history table for the ...
0
votes
1answer
22 views

Permission View Own Comments?

Is there a possibility in Drupal to make a permission "View your own comments"? (per role) The module Content access doesn't have this option. I have been searching an information through the Internet ...
0
votes
1answer
10 views

Taxonomy Tags Comments

I am having a problem removing the comments link from a page. I am using Taxonomy and Tags, I added a term to Tags and gave it a URL alias such as tags/sandy_repair. I created a new basic page and ...
0
votes
2answers
28 views

Wordpress comment form in Drupal?

Wordpress comment form contains a text field where visitors can enter a link to their website. Is there any module ( or simple way )to achieve the same thing in Drupal ? What I'm really looking for ...
0
votes
2answers
26 views

“Send email” action not working to send email to poster of comment

I have successfully set up email notifications on my client's blog for administrators when new comments are posted and am now trying to set it up to send a thank-you email to the poster of the comment ...
0
votes
1answer
37 views

Is the a drupal 7 module that allows you to rate and comment a page

I was wondering if there is a Drupal 7 module that allows you to vote and comment on a page using the 5 star mechanism then allows you to comment (elaborate reason of a vote). I want to achieve this ...
0
votes
3answers
44 views

how to get the count of total comments posted for specific content type including deleted comments too?

I want to get the total count of comments posted only for a specific content type including deleted to get the highest comment id no matter whether comment is been deleted. please help me or else ...
0
votes
0answers
29 views

Views exposed filter: if relationship exists

I have a view with relationships between two entity types. My view is displaying comments. I have also custom entity, which has field reference on comments. How can I make exposed filter, so user can ...
4
votes
3answers
105 views

Search in comments of specific content type

I'm looking for a module that provides the possibility to filter/search in comments. When there is content of the content type = Proposal you can comment on it. There's a good change that there will ...
0
votes
1answer
18 views

Views Rewrite Results Shows “Delete Comment” shows as text to anonymous users

I'm using a views to show my comments. I've Rewrite Results and add a delete comment field. When users login they can click on the link and delete the comment But when a user is logout any user can ...
0
votes
1answer
37 views

Comment count for different language

I have a blog section on a bilingual page that I'm working on and I'd like to show the total number of comments below each teaser. Not to confuse users, the total should be total number of comments ...
1
vote
2answers
27 views

D7 node index without comment

I use drupal core search. When I build node index, I found it contain its comments. But I don't need them. Does anyone have a good idea about node index without comment. I found a similar question ...
0
votes
0answers
15 views

Passing a variable set to value of og_group_ref field causes functions to return empty

I have the following hook: /* Implementation of hook_comment_insert() */ function my_utils_comment_insert($comment){ if($comment->node_type == 'comment_node_post'){ $author = ...
-1
votes
1answer
29 views

Comments don't want turn off [closed]

I forgot to turn off the comments while creating a content type. Now when i set the Comments to Closed, the form for adding a comment is still being displayed in full node view. Any suggestions? ...
1
vote
1answer
67 views

how to comment individual image in popup form drupal 7?

I have created view to display images and when I click on the image it gets displayed in pop-up form. I want to allow user to comment on image in pop-up form only so i have displayed comment form with ...
0
votes
0answers
17 views

Migrate comments from D6->D7, comments not working

I can't figure out why my comment migration isn't working - the page node and user are in the D7 database, but running drush mi on the page migration isn't adding the comment to the comments table: ...
0
votes
1answer
26 views

Where is theThe Comment Form Template?

I can find the comments template at modules/comments/comment.tpl.php But where is the comment Form Template please? I want to add a users image next to the form Thanks for your help Charles
0
votes
1answer
62 views

Generating a random number without duplicates on blog comment

A section of my site is a blog where I allow comments. Each comment has a thumbnail associated with it. If the commenter is a user, then their profile photo is used. If they are anonymous I have a ...
0
votes
1answer
29 views

How can i remove and edit comment item

how to remove or edit comment item like fieldset-wrapper. just i want the form-type-select show and or edit description in fieldset wrapper. tnx for all
1
vote
1answer
38 views

Showing comment form under each paragraph

In node.tpl.php, I have done some changes, like creating an array of paragraphs: $paragraphs = explode("<p>",render($content)); So, I have a for loop for showing the paragraphs, like: ...
0
votes
2answers
44 views

Comment.tpl.php how to add a link back to the node

In the Comment.tpl.php I've shown the comment parent node title by $node->title I need to make this title link back to the parent node $node->$node_url but this doesn't work Many thanks for ...
0
votes
1answer
30 views

How to show only the comment form, not the comments

Right now in Drupal, at the end of each article, there are the comments which users has put on that article and also the comment form. I just want to have the comment form at the end of each article, ...
0
votes
1answer
66 views

How to create a Message for a user who's mentioned in a comment?

I'm using the Message module to create Messages for users when someone commented on his/her nodes. I'd like to extend this mechanism and also notify users when they're mentioned (e.g. "@user") in a ...
0
votes
1answer
76 views

How to comment on image in colorbox (modal form)?

I have created view to display images and also user to display it in popup using Colorbox trigger in view. I want to allow users to comment on each individual image in modal form only. Just like ...
2
votes
1answer
53 views

Do any comment modules play well with revisioning?

I'm faced with a situation where we need to keep track of which node revision a comment was made for, so that we can display whether the comment was made for a newer/older revision, or for the one ...
0
votes
2answers
57 views

How to limit the number of comment a user can post?

I have a content type where users can post reviews or comments. I want to achieve this with the comment module and not by creating another content type and using node reference. So I want to limit ...
0
votes
1answer
47 views

How to hide the comment form label (not title)?

I have tried a number of different modules that claim to do this but none have worked, I have also tried changing the comment.tpl file, and I even tried using CSS "Display:none"; however nothing has ...
0
votes
0answers
10 views

Posting Comments for Advanced Forums errors out

I have Advanced Forums installed. It works except users can't reply or comment. I get the following error: "You don't have permission to access /comment/reply/137 on this server." Authenticated users ...
0
votes
0answers
17 views

Can comments entity be used as alternative to entityform

With no offense to the entityform module, I am facing some issues when entityform is attached to node. Few of them are node related tokens are not available/accessible to entityform module ...
1
vote
2answers
46 views

How to hide comments from indexing in Drupal 7 search?

I am using Drupal 7. I do not want comments to index in search module. How can I achieve this. This question may be a duplicate of this question. But I cannot find solution using this.
0
votes
1answer
39 views

Flag a node after click on the link

I want to check if user has downloaded the file so afterwards I will allow him to post a review. To do that I want to flag the node after user download file, flag the node and allow flagged node to be ...
0
votes
1answer
48 views

How to save and append comment form without refresh the page in drupal 7

I have a form with comments but this page have counter to cout views of this page. but every time when comment added on this page that page loaded and my counts increasing after comment added. ...
0
votes
1answer
24 views

How do I modify the individual links on comments (reply, delete, any others I add in Flags, etc…)?

I'm in my sub theme's comment.tpl.php, and I have print render($content['links']) - how do I access the individual links within that? I tried doing a print_r to see if it was a bunch of nested arrays ...
0
votes
1answer
16 views

How to show new added filed to comment table in comment form page

I am writing a module which is adding a new filed to comment table, and in the comment form I want a new filed to be displayed, saying: : " Which paragraph you want to put comment on?". I have ...
0
votes
2answers
40 views

How to change the html of threaded comments?

I want to display the comments on a node in a thread. Not sure if I should use views or a template. I want to change the html so that it matches boostrap markup By using comment-wrapper.tpl I can ...
0
votes
1answer
10 views

Removing/Restricting for wrapper by role

I want to remove the div that holds the comment wrapper from a content type. What is the best wayto do this? I could create a module, but I think I would only hode the form and not the headers ...
0
votes
2answers
15 views

How can i make my comments field allow images as part of the comment? (drupal 7)

Hey i would like to allow users to put images into their comments but i cant seem to find a module or anyone who has done such a thing any help would be great thanks in advance.
0
votes
2answers
41 views

How to not show user signatures in comments?

In D7, user signatures appear in their comments. It can be very annoying for many, especially when the signature is long or contain big pictures. So I'm wondering how to disable this?