Questions tagged [voting-system]

178 questions
22
votes
9 answers

Implementing a voting system without requiring registration

I'd like to implement a voting system on my site, without having to force them to create an account. They would ultimately be voting up/down a piece of content which has a unique ID. I know that I could store entries in a table with IP/ID, but what…
barfoon
  • 25,436
  • 24
  • 88
  • 136
17
votes
4 answers

Database structure for voting system with up- and down votes

I am going to create a voting system for a web application and wonder what the best way would be to store the votes in the (SQL) database. The voting system is similiar to the one of StackOverflow. I am pondering now if I should store the up and…
Zardoz
  • 14,339
  • 21
  • 79
  • 126
13
votes
7 answers

Best method to prevent gaming with anonymous voting

I am about to write a voting method for my site. I want a method to stop people voting for the same thing twice. So far my thoughts have been: Drop a cookie once the vote is complete (susceptible to multi browser gaming) Log IP address per vote…
Chris
  • 24,827
  • 43
  • 179
  • 317
12
votes
7 answers

Unique IPs in a voting system

I'm creating a voting system for my PHP/MySQL website and I would like to make sure one user can only vote once. What would be a good way of doing this? So far I have thought of and semi-implemented the following: Storing individual votes in the…
user2058002
11
votes
1 answer

Voting in MongoDB

An odd number set is recommended. My doubt is as one goes down from an odd set, we have an even number set. The number of members fluctuate between even and odd when they go down one by one. We always don’t have odd member scenario. Can some one…
Srik
  • 135
  • 1
  • 1
  • 6
9
votes
3 answers

Implementing dynamically updating upvote/downvote

How to implement dynamically updating vote count similar to quora:- Whenever a user upvotes an answer its reflected automatically for every one who is viewing that page. I am looking for an answer that address following: Do we have to keep polling…
akshay202
  • 566
  • 4
  • 23
7
votes
2 answers

which rails voting system gem has the following features?

Which rails voting system plugin or gem that has the following features vote up &down Ability to show net number of votes vote for all objects in the model (But only once per object per user) list all objects in the model by higher number of…
katie
  • 2,925
  • 7
  • 32
  • 48
7
votes
1 answer

How do I implement a Voting system?

I am required to implement a functionality similar to SO voting. I tried to look up some existing questions around this topic and noticed that most people are stuck with how to vote up and down. i am past that. my problem is related to how to handle…
user258266
7
votes
7 answers

Limit 1 vote per IP Address?

What I really want is to limit 1 vote per person but the next best thing i can think of is limit 1 vote per IP address to prevent malicious users/hackers from severely tempering with my company's voting system. I was thinking of using a database to…
burnt1ce
  • 12,985
  • 28
  • 96
  • 146
7
votes
1 answer

MySQL: Display one random result which a user has not voted on

I need help on displaying one random result in which the current user has not voted on. Currently my database setup and the last query I have tried can be found on http://sqlfiddle.com/#!2/2f91b/1 Basically I can isolate each individual item using…
6
votes
4 answers

Prevent double voting

I'm creating a web application where users will vote for some candidates by clicking thumbs up or thumbs down, and these users won't have any account on the site. What is the best technique to use? Is it necessary to use captcha for more protection…
Kamel Labiad
  • 507
  • 1
  • 6
  • 23
6
votes
5 answers

Voting algorithm: how to calculate rank?

I am trying to figure our a way to calculate rank. Right now it simply takes ratio of wins / losses of each individual entry, so e.g. one won 99 times out of a 100, it has 99% winning rank. BUT if an entry won 1 out of total 1 votes, it will have a…
mvbl fst
  • 5,045
  • 5
  • 39
  • 58
6
votes
0 answers

Voting/Ranking Ranked Pair method

Currently I try to understand the Ranked Pairs method. From the Wikipedia entry I don't really get how to create the matrix of pairwise comparison. This explanation helped me to understand one way to compare the pairs - still, I'm not sure if this…
Drey
  • 2,854
  • 1
  • 18
  • 24
5
votes
3 answers

How to implement one vote per user per comment?

I currently have a comment controller that has the method vote_up and vote_down this is how my vote_up currently works. My Comment model has description and a count field. def vote_up @comment = Comment.find(params[:comment_id]) …
Kevin
  • 595
  • 2
  • 10
  • 19
5
votes
4 answers

Java Voting System

I have to create a voting system for school with java, the system will be used to vote for movies. It will have all of the users and movies set up before hand by someone. It is a console application and it will be ran on multiple computers. Some of…
SR4801
  • 51
  • 2
1
2 3
11 12