Anonymous users can rate only once
sotiris - June 3, 2008 - 11:00
| Project: | Fivestar |
| Version: | 6.x-1.12 |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Maybe i'm missing something but as i can see anonymous users can vote only once...
when i vote as an anonymous user, system is recording my vote, but if clean cookies and change my ip and then trying to vote again to the same node, system doesn't recording my vote...

#1
Got the same problem on one of my sites.
Just subscribing to see if anyone has an answer/solution to this.
#2
Did you change the Anonymous vote interval in the Fivestar settings?
#3
Hello lordnacho, can you please be more specific, under admin/settings/fivestar i can see only style related settings (such as widget display, color scheme). If you mean the settings under admin/content/types and then inside story neither there i found the interval that you mentioned.
I found the Anonymous vote rollover under admin/settings/votingapi and changed it to "immediately" but it didn't work again...
Anonymous can rate only once...
#4
Me too need solution of this question.
#5
subscribing, sorry for the false hope.
#6
Subscribing,
I'm having the same problem, Anonymous voting is enabled but only allows 1 vote per 15min from an anonymous users.
Have changed Voting API -> Anonymous vote rollover: -> Immediately
But doesn't have any effect.
#7
Looks like a bug that is affecting the Drupal 6 version only. Fivestar isn't properly using VotingAPI (or you could say, VotingAPI isn't properly understanding Fivestar) when it comes to casting anonymous votes. After talking with Eaton we decided best to fix it in Fivestar, where the IP address of anonymous users needs to be collected *before* casting new votes (rather than let VotingAPI find the IP and add it automatically during the vote).
Here's a patch that should correct the problem. Please test!
#8
#9
After patching the fivestar.module, got the folowing warning:
* warning: include_once(./sites/all/modules/fivestar/fivestar.module) [function.include-once]: failed to open stream: Permission denied in \main\includes\bootstrap.inc on line 558.
* warning: include_once() [function.include]: Failed opening './sites/all/modules/fivestar/fivestar.module' for inclusion (include_path='.;C:\php5\pear') in \main\includes\bootstrap.inc on line 558.
#10
works for me, thanks
#11
Patch applies successfully, and anonymous vote rollover now appears to be working correctly.
#12
@sotiris: Can you double check your permissions on fivestar.module, it sounds like you might have clobbered them accidentally.
#13
I committed the patch in #7. Thanks for testing everyone.
#14
@ BrightLoudNoise I checked permissions but everything seems fine to me.
After i installed the patch, fivestar rating doesn't apear at all.
After a while...
So finally i got it work.
I was trying to patch it with cygwin, but something was going wrong. When i changed manually the code with an editor, fivestar worked and since then vote recording for anonymous users is working properly.
Thanks a lot!
#15
Patch worked for me! Thanks!
#16
#17
I'll try to get a 1.13 version out after the multiaxis patch gets in.
#18
Automatically closed -- issue fixed for two weeks with no activity.