Closed (fixed)
Project:
jRating
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Mar 2007 at 15:01 UTC
Updated:
17 Jul 2007 at 11:17 UTC
Jump to comment: Most recent file
Hi there,
I could find a way to configure jRating to make Comments rateable as well.
Am I blind, or is this there no feature like this?
In the last case, I would be happy about a configuration possibility for this,
as the voting api allows it.
Thanks a lot!
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | jrating_comment_rating_02.patch | 18.36 KB | sanduhrs |
| #5 | jrating_comment_rating_01.patch | 18.23 KB | sanduhrs |
Comments
Comment #1
hickory commentedThis isn't possible at the moment but - as VotingAPI allows votes on comments - maybe it could be done.
Comment #2
benjamin birkenhake commentedIf I would write (or make somebody write) a patch/extension/modification that allows jRAting, to be optionally applied to comments, would you consider integrating it?
Comment #3
hickory commentedOf course, if it works well and doesn't complicate the module too much.
Comment #4
jbach-1 commentedPlease please please. This is a beautiful idea.
Comment #5
sanduhrsSo, actually someone made me write a patch, to add comment rating capability to jRating :)
The patch is quite big, but rather simple.
- It adds the option to Display average rating for comments to the jrating settings page.
- It adds the option to Show a rating control for comments to the node-type settings page
- It allows users to rate comments ;)
It does some little changes to rating.js, just for accuracy.
Please have a look and test it, should be absolutely backwards compatible with jRating 5.x-1.0
This patch is for jRating 5.x-1.0
No patch for HEAD or 5.x-1.x-dev availlable by now.
If there's interest in incorporating the patch into the module I'll shurely do a patch for jRating HEAD.
vg
Comment #6
sanduhrsAfter extensive testing with FF and IE we found a Bug which prevented IE6/7 from submitting the comment form when replying or editing a comment. This new patch fixes the problem by not adding the jRating rating form to comments in preview mode.
Have a look.
vg
Comment #7
hickory commentedThanks for the contribution sandhurs, it should be very useful. I'll try and add it to -dev soon.
Comment #8
hickory commentedI've commited an update which should allow jRating to handle different content types, including comments. It needs some testing though, particularly for comments (it's not returning the average rating properly at the moment, at least). Thanks for the patch, it was very helpful.
Comment #9
hickory commentedUpdate: average rating is fixed now.
Comment #10
(not verified) commented