Hello again,

I installed the new version, the one with fixed SQL prob (thanks for this!). I created a new test Binary Poll. I usually work as administrator logged in using IE and with a normal user with Opera. I also test as anonymous user on another PC (same LAN, same IP).
I voted as admin. Noone else could vote. So I created a new one, voted as logged user. Noone else could vote. IT looks like the poll closes as soon as someone cast the first vote.
Could you please check?
Thanks

Comments

ChrisKennedy’s picture

Did you edit the user access page and give non-admin roles the ability to vote?

pmonte’s picture

Yes, for authenticated users I ticked both view polls and vote on polls and a logged user can infact vote. The problem is that the poll closes after that.

ChrisKennedy’s picture

Well, you're not going to be able to vote again from the same computer because it currently only allows one vote per IP.

The inability to vote from another computer is a bug though. I think it might be a problem with VotingAPI though.

pmonte’s picture

I see. Well one vore per IP is uite dangerous. Different users using the same ISP could have the same IP. Wouldn't be simple to let one vote per logged user?

maartenvg’s picture

Just a little kick as I encountered this too when testing the module: We might consider to make the IP-filtering optionally. In my case only logged in users are allowed to vote, so IP checking is a bit redundant to checking whether a user has voting rights and unnecessarilly prohibits large groups of people (colleagues, family, etc) from voting.

I opt for a global setting to make IP checking for logged-in users optionally. I'll implement this in my own site, so It won't be a problem for me to implement this and provide a patch. Note though, that I most likely won't go into fixing anonymous voting from the same IP.

maartenvg’s picture

I see you changed the behavior in the 5.x-1.x-dev snapshots, thus my previous remarks are invalid. Although now ons can vote from different accounts from the same IP, a new issue arises.

  • When a user votes, an anonymous visitor still can vote from that IP.
  • When an anonymous visitor votes, authenticated users still can vote from that IP.

This causes that everybody (with an unique IP) can vote twice: once as user, and once anonymously. When anonymous voting is turned on. To me, this seems an unwanted behavior.

The way I fixed it for my site, is that once an anonymous vote has been cast: no users (logged in or not) from that IP can vote anymore. Also, when a user votes, anonymous users can not vote from that IP anymore, while authenticated users still can. Does anybody want me to post a patch?

ChrisKennedy’s picture

Status: Active » Closed (fixed)

Closing this old issue, which is a mess.

mmcgarrity’s picture

Here is the problem with the whole IP issue. Individuals who are under a lan all have the same external IP. So say someone from an organization of 1000 workers votes on the poll, any other of the 999 won't be able to vote, just view the results. I would be nice to be able to turn the IP regulation off, especially for those of us who use mostly anonymous polls. Thanks.