Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#7 | fivestar_anon_ip.patch | 1.17 KB | quicksketch |
Comments
Comment #1
lslinnet CreditAttribution: lslinnet commentedGot the same problem on one of my sites.
Just subscribing to see if anyone has an answer/solution to this.
Comment #2
lordnacho CreditAttribution: lordnacho commentedDid you change the Anonymous vote interval in the Fivestar settings?
Comment #3
sotiris CreditAttribution: sotiris commentedHello 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...
Comment #4
SnapMaster CreditAttribution: SnapMaster commentedMe too need solution of this question.
Comment #5
alliax CreditAttribution: alliax commentedsubscribing, sorry for the false hope.
Comment #6
lslinnet CreditAttribution: lslinnet commentedSubscribing,
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.
Comment #7
quicksketchLooks 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!
Comment #8
SnapMaster CreditAttribution: SnapMaster commentedComment #9
sotiris CreditAttribution: sotiris commentedAfter 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.
Comment #10
lev1108 CreditAttribution: lev1108 commentedworks for me, thanks
Comment #11
BrightLoudNoise CreditAttribution: BrightLoudNoise commentedPatch applies successfully, and anonymous vote rollover now appears to be working correctly.
Comment #12
BrightLoudNoise CreditAttribution: BrightLoudNoise commented@sotiris: Can you double check your permissions on fivestar.module, it sounds like you might have clobbered them accidentally.
Comment #13
quicksketchI committed the patch in #7. Thanks for testing everyone.
Comment #14
sotiris CreditAttribution: sotiris commented@ 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!
Comment #15
freefontaine CreditAttribution: freefontaine commentedPatch worked for me! Thanks!
Comment #16
sotiris CreditAttribution: sotiris commentedComment #17
quicksketchI'll try to get a 1.13 version out after the multiaxis patch gets in.
Comment #18
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #19
henry97 CreditAttribution: henry97 commentedi'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
Comment #20
henry97 CreditAttribution: henry97 commentedwell, I've found a solution: uninstall fiverstar -> install Plus1 -> works great for me :)
Comment #21
joeko CreditAttribution: joeko commentedWhere should I paste this code (patch) ?
Comment #22
henry97 CreditAttribution: henry97 commented@joeko
try reading this
http://drupal.org/patch/apply
Comment #23
arled CreditAttribution: arled commentedDoes this issue exist on Drupal 7?