highergroundstudio / myContest

myContest wordpress contest plugin

Home Page:http://highergroundstudio.github.io/myContest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple Voting Issue

esauce opened this issue · comments

Hello,

There`s any way to allow two or more votes per user in a contest? Today the user can only vote in only one photo in a contest… can you help me?

I set the Time between votes "none" or "1 minute"... but nothing happens... it still shows "You have already voted"

myContest version: 2.0.4
Wordpress version: 3.6.1

Can you help me?

[UPDATED] Oh, sorry, I just saw that there are multiple similar tickets about this already. And seems that you guys are working on this. But, any tips on how to tweak the code myself would be very appreciated. Because I need to make this work for a client in a couple of weeks. And I'd love to use this plugin, as everything else about it is great.

I have the same question actually. I bought the plugin recently and was just looking at the code to see how to enable a user to do this. I see that if I set the Time to "none", the user can vote for more than one item in a contest. But it then also allow the user to vote multiple times on the same item, which is not what I want.

Any suggestion to how to limit to one vote per item per contest but allow voting for multiple items would be very helpful. Thanks!

@esauce I found that if you have voted in a contest that had a time limit already. And then changed the Time to "none" it doesn't work immediately. Not sure if it's a bug or intentional.

@cherihung As with the Time to none it really is nothing, neither bug or intentional. When the vote is saved it is setup with an expiration and that is why it does this.

To suggest how to change this would just to simply change the voting js and add where it adds the entry id and checks against this to make it where a user cannot vote on it again, all within js. Once this is added to myContest as a feature it will most likely involve both client and server side though.