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...

#7 fivestar_anon_ip.patch1.17 KBquicksketch
Members fund testing for the Drupal project. Drupal Association Learn more


lslinnet’s picture

Got the same problem on one of my sites.

Just subscribing to see if anyone has an answer/solution to this.

lordnacho’s picture

Did you change the Anonymous vote interval in the Fivestar settings?

sotiris’s picture

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...

SnapMaster’s picture

Me too need solution of this question.

alliax’s picture

subscribing, sorry for the false hope.

lslinnet’s picture


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.

quicksketch’s picture

Category: support » bug
Status: Active » Needs review
1.17 KB

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!

SnapMaster’s picture

sotiris’s picture

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\ 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\ on line 558.

lev1108’s picture

works for me, thanks

BrightLoudNoise’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies successfully, and anonymous vote rollover now appears to be working correctly.

BrightLoudNoise’s picture

Status: Reviewed & tested by the community » Needs review

@sotiris: Can you double check your permissions on fivestar.module, it sounds like you might have clobbered them accidentally.

quicksketch’s picture

Status: Needs review » Fixed

I committed the patch in #7. Thanks for testing everyone.

sotiris’s picture

@ 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!

freefontaine’s picture

Status: Fixed » Needs work

Patch worked for me! Thanks!

sotiris’s picture

Status: Needs work » Reviewed & tested by the community
quicksketch’s picture

Status: Reviewed & tested by the community » Fixed

I'll try to get a 1.13 version out after the multiaxis patch gets in.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

henry97’s picture

Title: Anonymous users can rate only once » User votes on and on
Version: 6.x-1.12 » 6.x-1.18
Category: bug » support
Status: Closed (fixed) » Active

i'm frustrated a bit. i've installed and enbled votingAPI & fivestar modules (drupal 6.x). i've set permissions for anonymous and authenticated users. i can see the 'voting stars' and i can even vote as one of mentioned users. my problem is:
every time i vote (as the same user) my vote(rate) is being overwritten (let's say first i vote 1, next day i vote 5 and 5 overwrites my previous 1) - seems like i can vote forever as the same user. (testing on localhost).
i want it function as a single user can vote/rate only once.

//voting API settings
Anonymous vote rollover: never;
Vote tallying: Tally results whenever a vote is cast

what am i missing?

//so frustrated not to notice posting in this section changed the issue's overall values

henry97’s picture

Status: Active » Closed (fixed)

well, I've found a solution: uninstall fiverstar -> install Plus1 -> works great for me :)

joeko’s picture

Where should I paste this code (patch) ?

henry97’s picture


try reading this

arled’s picture

Issue summary: View changes

Does this issue exist on Drupal 7?