Open nathanbreitsch opened 10 years ago
We want behavior similar to stack exchange--I will try looking there.
No luck on StackExchange. This answer is for php, but is demonstrative nonetheless: http://stackoverflow.com/questions/11729688/allowing-only-one-vote-per-person-on-a-voting-system It appears that what we want to do is store the user IP in a database--or better yet, force users to create and account. Long-term, I think the account option is necessary.
Limit votes to one vote per client per sentence. This requires keeping track of how each person voted. On the ui side, have the arrows change class to indicate that user voted for a particular sentence already.