This tag should be used for questions about node comments.

learn more… | top users | synonyms (1)

6
votes
1answer
161 views

Why are comments not a node content type?

So Drupal has a 'special' commenting system. Comments are second-class citizens in Drupal compared to nodes... But why did the core team not just create a default Content Type, Block and View ...
0
votes
0answers
13 views

adding comment to custom table row

i have a custom module table . i want to add comments for each row id . Can any one have any idea to do it. ----------------------- id | X | Y -----+-------+--------- 1 | shdg | ...
0
votes
0answers
7 views

My comment buttons “log in or register to post comments” display has lost the proper order on the page, how to fix? [closed]

my comment buttons "log in or register to post comments" display has lost the proper order on the page, how to fix? See http://hum.homedns.org:8888/acmefilterbags2/blog/user-feedback for example of ...
0
votes
1answer
22 views

Comment with email or social networks

I am developing my personal site in drupal 7. Actually i am searching for a module which allows anonymous users commenting with their email or any social n/w like twitter,facebook or google+. Is there ...
0
votes
0answers
18 views

How to prevent the comment form from redirecting?

I have a page with a View listing comments; the comment form is also in this View. After submitting through the comment form I get redirected to the actual comment, however I would like to stay on the ...
0
votes
2answers
36 views

How to use cookies in Drupal? [duplicate]

I am writing a module that allows users to put comment on each paragraph. So in my module I have added a new field to comment table called "paragraph_id" and I have also added a new field to comment ...
0
votes
0answers
17 views

Missing Bundle Property on Comments Section

While in a page, i select "save" on the comments field section, with no content, shows me an error of the following" EntityMalformedException: Missing bundle property on entity of type node. in ...
1
vote
1answer
20 views

Trying to get property of non-obJect Custom Module

Notice: Trying to get property of non-object in speakerdetailblock_preprocess_block() (line 42 I'm getting errors across the board, mainly in the common.inc file - EntityMalformedException: Missing ...
-1
votes
1answer
23 views

How to set comments for a content-type to “awaiting moderation” instead of published (by default)?

In Drupal 7, I've created a "blog post" content-type. It allows comments, but its default behavior is to publish automatically a new comment, right after the user submits it. I would like to change ...
0
votes
2answers
57 views

How to display comments and comments form on custom node pages

I am new developing my first ever site in drupal. Along the line, due to the requirements of the project I had to create custom node pages (template files) instead of the default ones in drupal. For ...
0
votes
0answers
15 views

Replace comment form

I have a content type that acts as a wrapper for article content types. You are able to attach node IDs to this content type and it renders the articles in a list. I am looking to replace the default ...
0
votes
1answer
19 views

Show commenter IP address to admins (Drupal 7 / AdaptiveTheme)

Once upon a time, with an older version of AdaptiveTheme, I got this to work by patching templates/comment.tpl.php. The patch I was looking looked something like: - print t('Submitted by ...
0
votes
1answer
27 views

How to set available options for Comment Per Page select?

In Drupal 7, In comment setting a option Comments per page show 10, 30, 50, 70, 90, ... 300. I want to option "Comment per page" show like 1, 2, 3, 4, .... .
0
votes
0answers
24 views

View of Nodes with their associated comments Drupal7 [duplicate]

I have been looking for this for some time now, but unfortunately I'm unable to find a solution, thus turning to you guys. I am trying to create a view where certain nodes are listed, but I want to ...
0
votes
2answers
35 views

How to add reCaptcha while doing comments on my drupal website

I am developing a drupal website. To avoid spam I have decided to use reCAPTCHA module while user registration and before putting comments on my website. How to achieve this? Can I use reCaptcha ...
0
votes
1answer
22 views

How can I use hook_comment_view?

I have added a new field to comment table, called "paragraph_id", I have also added a field to comment form that ask users which paragraph they want to put comment on and what they enter will be saved ...
0
votes
0answers
6 views

Update comment table with hook_form_comment_form_submit

I have added a new field to comment table, called paragraph_id, I have also added a new field through UI to comment form called "paragraph_number". So after user enter a number in the ...
1
vote
1answer
18 views

How to put description on top of the input box, for a new field added to comment form?

I have added a new field to my comment form and this is how my comment form look liks: So you can see it does not look nice, I want to have the description on top of the input box, where I say: ...
0
votes
2answers
23 views

Action when a comment has been replied to

I have a unique case where we need to do something, namely a behavior where a user Comments on a node, and when a new comment is made in response to him, we need to "alert" the user in a variety of ...
0
votes
1answer
44 views

Reply for comment redirects to the next page

I am using advance forum module and having commenting functionality for the forums. But the problem is when I use to reply to the comments it redirects me to the next page. Where I want to display a ...
-1
votes
1answer
31 views

How to write a db_select query? [closed]

How can I write a query to do the following: select cid, thread and paragraph_id(I have added this field to comment table) from comment table, and then sort them first based on the paragraph_id and ...
0
votes
1answer
32 views

user pictures not showing up in posts & comments

I am using a custom theme and it is not showing user pics in comments. When I compared 'Appearance > Settings > Toggle display settings' of my theme with Bartik, if found that "User pictures in ...
0
votes
0answers
23 views

Sort comments base on a field

This is the sort_comment.module file. <?php /* drupal@ganovelli.it - blackice78 */ define('SORT_COMMENTS_OLDER_FIRST', 1); // default define('SORT_COMMENTS_NEWER_FIRST', 2); /* ...
0
votes
1answer
58 views

How to show Comments (created with entity form) only to the Admin user and logged in?

I'm cool fresh drupal :) I'm trying to filter views in a content type entityform for the user logged in and admin. In practice this form through the admin and user login should communicate. ...
0
votes
1answer
31 views

how view count number vote fivestar on comment?

it like this. examp: 5 star ***** (15) 4 star **** (150) 3 star *** (2) 2 star ** (0) 1 star * (12) now. 15 is number comment vote 5star for node this 150 is number comment vote 4star for node ...
0
votes
0answers
21 views

Add new field when showing a comment

As you know comments are displayed like this: So it shows the subject, and then says: Comment and shows the comment body. So I have a new field in comment table called "paragraph_id", so before ...
-1
votes
1answer
33 views

How to get the CID number of comments from comment table?

If you check the comment table, you can see taht each comment has a CID number. For each article I need to have the CID number of all the comments for that article. So I have written the following ...
0
votes
0answers
23 views

How to show comments belong to each paragraph, under that paragraph? [duplicate]

I am writing a module that gives this option to users to put comment on each paragraph. So I have added a new field to my comment table, called "paragraph_id".Also in comment form I have added a new ...
-1
votes
1answer
33 views

Plain text comments in Drupal 8

In Drupal 8 comments, can I remove the subject field and only have a single plain text box? My goal is to set up something like a ticket tracking system. I will have a the Issue node. But I'd like to ...
1
vote
2answers
55 views

How to remove the 'Reply' link in comments?

I'm currently using the following line of code in my comment.tpl.php file: <?php print render($content['links']) ?> This also prints the 'Reply' link, but I'd like to remove that one. How can ...
1
vote
1answer
35 views

Comment form on a separate page

I want to have "Add new comment" link to open in a new page. I already read Placing the comment form on a separate page, but this didn't solve my problem. When I go to /comment/reply/[nid] or ...
0
votes
0answers
18 views

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

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
33 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
15 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
23 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
25 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
86 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
55 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
10 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
46 views

How to prevent to show comment by default [closed]

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
14 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
19 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
15 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
39 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
37 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
18 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
32 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
38 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
46 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
59 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 ...