Questions tagged [voting]
329 questions
2
votes
3 answers
Help with jQuery voting system. Trouble updating html vote count
I'm trying to create a Stackoverflow like voting system, and I've run into a slight problem.
I have the following HTML that has jQuery onClick events wired to it:

Jeremy Cade
- 1,351
- 2
- 17
- 28
2
votes
2 answers
Ruby on Rails - Monthly top vote getter
I need some advice on a voting system in rails that recognizes the top vote getter on a monthly basis. I have a system that works but being new to rails, I'm sure there are more efficient methods available. Below is a simplified version of my…

Clay
- 162
- 2
- 9
2
votes
2 answers
acts_as_votable thumbs up/down buttons
I installed the acts_as_votable gem, it works in the console like it should (like it says in the documentation).
So my question is how to set up a form for upvote and downvote buttons? or can they simply be links?
here is the documentation:…

figdig
- 307
- 2
- 13
2
votes
1 answer
How to implement a vote validation system?
I'm trying to create a simple retriction system so the users can't vote twice on a simple poll (mostly like the example poll in the django tutorial) bit I can't seem to be able to find an approach that I like.
The one that I like the most is having…

CastleDweller
- 8,204
- 13
- 49
- 69
2
votes
0 answers
How to put log in box in a website to ensure one user can vote once only?
I have a school project to do which requires us to develop an online voting website. how do i ensure one user has voted once only?
the website is supposed to be in booths in public places which means i cannot use ip addresses or cookies. i was…

shah
- 21
- 1
1
vote
9 answers
Simplest possible voting/synchronization algorithm
What would be a simplest algorithm one or more people could use to decide who of them should perform some task? There is one task, which needs to be done only once, and one or more people. People can speak, that is, send messages one to another.…

Domchi
- 10,705
- 6
- 54
- 64
1
vote
2 answers
How can I make sure a user votes just once in python django?
I have a Entry model which has a "Pushes" field and I want each user to "push" (vote) once.
I searched and couldn't find what I needed.
Here is my model:
class Entry(models.Model):
title = models.CharField(max_length = 100)
link =…

Tony
- 2,382
- 7
- 32
- 51
1
vote
0 answers
SQL (mySQL) query to show record with most votes
Three tables: questions, answers, and votes.
Fields in questions: qid, uid
Fields in answers: qid, aid, uid
Fields in votes: qid, aid, uid
(uid=userid, will be different for questions, answers, votes)
So 2 votes for answer 100 to question 4 would…

key2starz
- 747
- 4
- 11
- 23
1
vote
2 answers
How to prevent duplicate voting
Possible Duplicate:
Unique IPs in a voting system
I know I can use cookies and IP address to prevent someone from vote more than once but if they clear browser cookies, they can vote again. Some chat servers get computer info to ban users. Is…

john206
- 537
- 1
- 7
- 15
1
vote
2 answers
selecting and displaying ranked items and a user's votes, a la reddit, digg, et al
when selecting ranked objects from a database (eg, articles users have voted on), what is the best way to show:
the current page of items
the user's rating, per item (if they've voted)
rough schema:
articles: id, title, content, ...
user: id,…

Carson
- 17,073
- 19
- 66
- 87
1
vote
3 answers
Adjusting votes based on different numbers of voters
I have a 1 to 5 voting system and i'm trying to figure out the best way to find the most popular item voted on, taking into consideration the total possible number of votes cast. To get a vote total, i'm counting "1" votes as -3, "2" votes as -2,…

chrishall78
- 158
- 7
1
vote
1 answer
Search API Solr integration with fivestar (or similar) rating system (fascet and sort)
I'm attempting to sort nodes by ratings using the Search API faceted search with Solr integration. I've already set up fivestar ratings (about 9 per node, its a large multi-axis rating system.) but i'm unable to index these ratings!
Can someone help…

stopshinal
- 1,891
- 4
- 16
- 24
1
vote
1 answer
How to count UP votes together and then select from database ORDER by UP votes
I have voting system on my website, it stores each users vote in table called skmp_voting each record in this database has id, item_id (this is id of article user voted on), and vote_value . vote_value depend's on what users did, if they voted up…

Ilja
- 44,142
- 92
- 275
- 498
1
vote
0 answers
how to apply soft voting classifier for multi label classification
I applied 3 classifiers and I want to apply soft voting manually not by sklearn, in addition, I have 4 labels.
for example, I have 4 labels (L1, L2, L3, L4), each label has two classes(0/1):
class label: L1 L2 L3 …

Bashar
- 71
- 1
- 8
1
vote
6 answers
PHP + MySQL voting system limited by IP
I need to implement an anonymous voting system (user registration is a no go). I have decided that the best option is to limit votes on a single item to 10 per IP (to account for Schools etc).
What is the best way to go around this. I'm using PHP +…

bradley
- 776
- 2
- 11
- 29