The crux of the issue is, I cannot vote on a node while viewing it. Here is the basic setup:
Drupal:
- 7.26 as a fresh install
Modules:
- FiveStar 7.x-2.0-rc2
- Voting API 7.x-2.11
Article Content Type:
- I have added a 'Fivestar Rating' field with the widget of 'Stars (rated while viewing)'. Almost all settings of the widget were left as default with the exception of:
- Allow users to cancel their ratings.
- Allow users to re-vote on already voted content.
- Allow users to vote on their own content.
Permissions:
- anonymous and authenticated users are able to use FiveStar.
Despite this basic setup, when viewing an article node as the site admin or as anonymous node, hovering over the FiveStar widget does nothing. Interestingly if I change the widget to allow a rating when editing the node, that works.
So, what am I missing to be able to rate a node while viewing? I've gone through the documentation a few times and don't believe I missed anything. Any help would be appreciated. Thanks.
Comments
Comment #1
whiteph commentedThanks for reporting this, it's a bug. I've fixed it, and issued a new release - 7.x-2.0-rc3. This should appear on the Fivestar project page shortly.
Comment #2
rajmataj commentedThanks for the quick reply. I am needing this to complete a project as soon as possible so I'll watch for the posted new release.
Comment #3
cyphe3r commentedExactly same problem for me. Thanks for fixing the bug whiteph.
Waiting for the 7.x-2.0-rc3 release so to fix the issue.
Any clue about when it's gonna be online?
Thank you both for your time, and raising the issue.
Comment #4
rajmataj commentedwhiteph, thanks for the quick turnaround on this. I have installed 7.x-2.0-rc3 and am happy to report that it works as expected.
Comment #6
hlopes commentedNot working here.
Either with rc-3 or 7.x-2.1.
Comment #7
whiteph commented@HLopes - can you please describe your symptoms, and installation details, as others seem to be ok? Then I'll look at it when I get back from vacation.
Comment #8
hlopes commentedI think i've found the problem.
My bad, but somehow i think there is a permission thing that could be improved, since it's prone to make this issue arise.
Maybe make it checked by default...
Allow users to vote on their own content.
Hadn't checked that one. Since it checks the user the hard way, even user 1 is locked out.
Devel generate helped :D
Sorry 'bout that, enjoy what's left of those vacations :)