I configured Drupal to rate comments with the Fivestar Module.
I set in
Home » Administration » Structure » Content types » [test] » Comment fields » [rating]
Stars (rated while editing) as Widget Type
and in
Home » Administration » Structure » Content types » [test] » Comment fields
Required
and
Voting Target: Parent Node
When i insert the comment i can rate it, and the rating is saved in the database.
Then i can render the widget in every comment.
Actually i don't find how to render the widget in the node template with the average value.
In the module handbook, there are instructions only for drupal 5 and 6.
Can anybody give me some help for drupal 7?
There are other modules to do it?
Comments
I am also interested in this.
Did you ever get this working? I am also battling to display the average on the node as a stars value.
Thanks
Gregg
http://greggcoppen.com
http://www.iaminawe.com
Took me a minute to figure
Took me a minute to figure this out as well. Don't use fivestar as a comment field if you just want each user to rate the node. Do a fivestar field on your content type.
Then you will get the proper averages in views, etc.
Adding a fivestar field to the comments fields would be only if you want people to be able to rate each comment.
Just add a note for later drupaler
This function is covered in the fivestar 7.x version, by adding a five star field to the node comments and configure the target to 'Parent node'.
read more:
https://drupal.org/node/1308114