Dig a lot of digging but can't seem to find any others having this issue and it seems like a bug. I've set up fivestar on my site (http://ipadsimcards.com) on the plan content type by doing the following:
- Added rating as a field with type Fivestar Rating and widget "Stars: Rated While Viewing"
- I checked the Fivestar permissions (under people/permissions) to allow voting for anonymous, authenticated, and administrator
- Created a view that contains the "Content: Rating" field, checked "Expose this Fivestar field for voting on the @type type" then set Value to Display as "Average Vote" and Text to Display as "No Text"
What I'm experiencing is that anonymous users can rate content but don't see the average votes, instead they always see 4 gray stars. If I sign in as an authenticated user I always seem to see my own vote instead of the average.
Also tried trying lots of combinations to no avail, one interesting thing I noted is that adding text below the stars always shows "Your Rating: None" and changing from stars to numbers (4.2/5) seems to show the votes for anonymous users.
Any ideas? Thanks in advance.
Comments
Comment #1
bobaloo commentedAlso forgot to note under "Rating Field Settings" in the plan content type I set the permissions to have everything checked for anonymous, authenticated and administrator:
- Create own value for field Rating
- Edit own value for field Rating
- Edit anyone's value for field Rating
- View own value for field Rating
- View anyone's value for field Rating
Comment #2
zaubererb88 commentedsame issue here. but at my installation also for authenticated users the average-stars are not shown when "Exposed to..." is activated.
thanks for helping
Comment #3
bobaloo commentedI just upgraded to the latest dev version (7.x-2.x-dev) and the issue is resolved. Think this can now be closed.
zaubererb88 suggest you try the same.
Comment #4
ericduran commentedAs per comment #3
Comment #5
brycesenz commentedAny clue what caused this? I'm facing the same issue, but can't upgrade to the latest -dev version (it breaks other aspects of the site). I would prefer to just code in the relevant changes to my alpha version if possible.
Comment #6
danst0 commentedIs there some kind of time frame, when the alpha version will get the update?
I second brycesenz, for me the dev version also exhibits other bugs, so I am not able to use that.
Correct me if I am wrong, but the current state is:
* There is no stable voting plugin for D7 (i would consider "alpha" being the main indicator here)?
* There is no anonymous voting on D7 sites?
Comment #7
wheelercreek commentedHaving the same issue here - on the latest version (7.x-2.0-alpha1). Does anyone have any idea what to do?
Comment #8
A.L.Denver commentedSame issue here on site:
http://denverwags.com/denver
This is a super cool module, just a little snag. I use the 7.x-2.0-alpha1 like the others with the same issue.
If someone added the fix to the aplha version I would appreciate it. Or if anyone had a workaround in the meantime?
Comment #9
bobaloo commentedI still seem to be having issues with 7.x-2.x-dev and its difficult for me to pinpoint the issue. I would hope someone on the fivestar team can work with us to investigate this issue, anonymous voting seems to be quite a core issue to not be working.
Comment #10
danst0 commentedI did some tinkering and made a diff between the alpha and the dev versions. I think it works now and I would like to share my changes.
First download the current alpha version.
Then apply the following changes to fivestar.module:
I don't know which one made it work, but now my anonymous users are able to see my average votes and vote without problems.
@developers: If you are to busy to do those changes yourself, please at least patch the current alpha to include those changes.
Of course: Use at your own risk, since I don't know what I am doing.;-)
Daniel
Comment #11
bobaloo commentedI can confirm that the dev version does fix the issue -- I reinstalled to make sure I had the right version and it is working now. Hope that is helpful and look forward to the alpha non-dev version. Danst0, I didn't try your patch but thanks for posting here for everyone on the thread.
Comment #12
ericduran commentedThe diff mention above is what's on the dev version. This issue is a duplicate of one that's been fixed. :) That's why the dev version has it working.
Comment #13
danst0 commentedWell... no, since the dev version adds a lot of other stuff, which produces javascript errors. So the diff takes the good from the dev version and leaves out the ugly.
Daniel
Comment #14
ziepe commented#10 fixed the problem!