I posted the below in the forums because it's not an "issue" or "problem" (which I think this area is for, but honestly I'm not sure).
It seems like with the Fivestar comment widget (FiveStar v 6.1.12, Drupal v6.2) when a visitor views a page that has this enabled (and people have left ratings) that they should see not only the overall rating at the top of the node, but also each individual rating with each comment. For example, when you're looking at a product on Amazon.com you see the average of all ratings, but when you scroll down to the area where people have left reviews you see the number of stars each reviewer gave the item. I've played with the settings but am not seeing this as an option.
Am I missing something?
------------------------------------
If this isn't the right place to post I apologize. I've looked through the documentation and don't see my question addressed.
I'm using the latest FiveStar module (for v6), with the comment rating widget enabled, and need to figure out how to display a user's ratings (# of stars) in the comment they left so visitors can see individual ratings. Any idea? It's only displaying the average at the top, and the options within the content type don't seem to address this.
Thanks.
Dan
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | fivestar261145.patch | 801 bytes | vladimir.dolgopolov |
| #8 | fivestarsmall.jpg | 130.18 KB | AgentD |
| #4 | fivestar-rating-config.png | 85.13 KB | quicksketch |
| #4 | Picture 1.png | 41.97 KB | quicksketch |
Comments
Comment #1
AgentD commentedI'm willing to pay for the answer. There must be a way to do this, I've tried numerous setting with no success.
$10 via paypal to whomever helps me get this working.
Comment #2
AgentD commentedThe only way I can get the stars to appear within the comments is by selecting "Clickable widget" below "Full node display".
The problem with this is that then people can vote without leaving a true review (a comment). I need the votes to appear in the comment without letting people vote without commenting.
Am I the only one with this issue? I'm willing to pay for an answer!
Comment #3
AgentD commentedComment #4
quicksketchSounds like you might be having some theme related problems, or another module is preventing the normal Fivestar output from affecting comments. I've attached a full configuration for setting up a typical Amazon style reviews, where users must submit an entire review to rate an item.
Comment #5
AgentD commentedThanks for replying.
It's still not working. I'm using it on a test domain before I make changes to an active site. The test site is using the latest versions of drupal, voting api and fivestar. no other modules enabled outside of core ones, and I'm using the default theme.
The only way the stars appear in the comments is by making the widget clickable, which causes other problems (users can change votes but then the vote in the comment doesn't change).
Other ideas?
Comment #6
AgentD commentedCould it have something to do with comment settings?
Like -
Comment controls:
Display above the comments
Display below the comments
Display above and below the comments
Do not display
?
Comment #7
quicksketchCould you screenshot your entire configuration? I'm fairly sure if you match it up to what I had above, it'll be the situation you're wanting. It's important to note that Fivestar rating must be enabled for the entire content type, even if you don't display the clickable widget on the node body itself (instead you should set the display location to
<Hidden>).Comment #8
AgentD commentedHere you go. Thanks for looking.
Comment #9
quicksketchI'm at a bit of a loss, these exact same settings yield me the result I included in #4. I'm not sure how else to help.
Comment #10
AgentD commentedIt's ok, I appreciate you trying.
Comment #11
AgentD commentedThis seems to be related to the "Full node display" field. If I select "Static" then the stars do not appear in the comments. If I select "Clickable" then the stars appear. This is without making any other changes, and on the default theme on the "story" content type.
Comment #12
AgentD commentedComment #13
j0k3z commentedYes, Only when I set the nodes stars to 'clickable' do they actually show up in the comments.
Comment #14
vladimir.dolgopolov commentedI think I've found the bug.
It related to hook_comment() and fivestar_comment.inc.
When we set "Full node display: Static" then fivestar_comment.inc file is not loaded so hook_comment() cannot be found.
Function fivestar_comment() includes code for displaying stars:
So that is why we cannot see the stars.
Comment #15
vladimir.dolgopolov commentedMy opinion here: load fivestar_comment.inc in hook_init().
Here is the patch.
Comment #16
AgentD commentedThanks for taking the time to look into this, I appreciate it (it's been bugging me for a while).
Do you think this will be fixed in a future version so the patch doesn't have to be applied on-going?
Thanks again.
Comment #17
quicksketchThe comment support has been removed from the "core" fivestar.module and moved into fivestar_comment.module. If this is indeed the problem, it has already been fixed in the latest version of Fivestar (though a release has not yet been made).
Comment #18
AgentD commentedThanks for the update quicksketch, I'm looking forward to the release. I hope it is a fix for the issue I see.
Dan
Comment #19
quicksketchThe 1.13 version is now out. Please give it a shot and see if it corrects this problem.
Comment #20
AgentD commentedIt seems to be working!!!!!!!
Thanks for your help. Much appreciated.
Dan
Comment #21
quicksketchComment #22
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.