Anonymous may vote multiple times for one node

Comments

emergencyofstate’s picture

I just noticed this as well but only with no roles assigned to the widget (all check boxes empty under Permissions). However, when I assigned certain roles permission to vote but not anonymous users, it worked as expected.

sashken2’s picture

Yes, but I wanted to allow anonymous vote.

sashken2’s picture

mauritsl, please help.
How can I allow anonymous users to vote? Now anonymous users can vote by clicking infinitely.

adam clarey’s picture

I too think you should be able to prevent anonymous users from voting multiple times on a node.

blogook’s picture

perhaps a solution would be to implement options for the administrator;

0 = You don't care how many times each IP address votes for a story. This will disable the feature entirely.
1 = 1 vote per IP address for each story
2 = 2 votes per IP for each story
3 = 3 votes per IP... and so on.

tomogden’s picture

Are you certain that the anonymous votes are actually being saved and counted? If not, that would explain your problem.

Run a test to see if anonymous votes are actually being added to the total vote count. If not, then you may actually be looking at this issue:
#1418148: Anonymous Votes Don't Register

earwax’s picture

Ah, yes, the issue that I just considered closed because this is not a problem. Anonymous users cannot vote multiple times. Is anyone else able to duplicate issue #1418148? I can't duplicate it.

mauritsl’s picture

I think this is a duplicate to the votingapi issue #997092: Anonymous vote rollover not working. Can you confirm that?

A patch is available for almost a year, but not committed yet. I've mailed the maintainer and a lot of people asked for it, but it didn't happen yet...

earwax’s picture

Is the maintainer alive? Did he/she respond?

mauritsl’s picture

he, yes..

tomogden’s picture

Ah, yes, the issue that I just considered closed because this is not a problem. Anonymous users cannot vote multiple times. Is anyone else able to duplicate issue #1418148? I can't duplicate it.

That issue was caused by an Anonymous user trying to vote from two different browsers at the same IP address. You can duplicate it that way. It only needs to display a 'voted' status on the browsers afterward.

The fact is Anonymous CAN vote multiple times, but not from the same IP address. That's the best behavior I can think of.

Are you certain that the anonymous votes are actually being saved and counted?

We still don't have an answer for this from @sashken2. As with #1418148: Anonymous Votes Don't Register, if Anonymous already voted the display shows an 'unvoted' status, but doesn't really count the votes. I'm not sure if rollover behavior covers that, but it's probably related.

sashken2’s picture

I think this is a duplicate to the votingapi issue #997092: Anonymous vote rollover not working. Can you confirm that?

Yes, I'm confirm that. I applied the patch and all works good.

jcassano’s picture

What's the status of this? I'd like to have a site where anonymous users can vote but will not be able to vote more than once from the same IP address. Is that possible at this time with the rate module?

leschekfm’s picture

Status: Active » Closed (duplicate)

mauritsl's patch has been committed to votingapi. see #997092: Anonymous vote rollover not working