Questions tagged [voting]

329 questions
0
votes
1 answer

Video contest script

I am trying to create a website that will hold video contests. 1) Users will submit their own videos - either upload or Youtube. 2) Visitors will vote on their favorite video and highest voter will win. 3) I would love it if each vote required a…
0
votes
2 answers

How to implement Voting for Grails Domain Classes?

I have a Book class and need to implement a yes/no voting functionality. My domain classes look like this: class Book { String title static hasMany = [votes: Vote] } class User { String name static hasMany = [votes: Vote] } class Vote { …
Michael
  • 32,527
  • 49
  • 210
  • 370
0
votes
0 answers

Check user session using jquery, php and red bean

I've spent more than month trying to make rate system , I really start boring about using jquery :( I've implemented this tutorial however, this tutorial allows anyone to vote for unlimited time I successfully join this rating system with mysql DB…
Haifa_ash
  • 35
  • 1
  • 8
0
votes
3 answers

More Efficient Way to Prevent Duplicate Voting

There are a few questions similar to this already but I am hoping for a somewhat different answer. I have a website on Google App Engine in Python and I let registered users vote on posts, either up or down, and I only want each user to be able to…
clifgray
  • 4,313
  • 11
  • 67
  • 116
0
votes
2 answers

Adding mulitple choice poll to sentence and writing result to csv file (Django/Python)

I would like to display a question and have the user rate it from 1-5 as a poll. Five radio buttons. I have the question generated but I'm not sure how to go about creating the 5 options for the user. The goal would be to export the question and…
ono
  • 2,984
  • 9
  • 43
  • 85
0
votes
3 answers

RoR voting system. How to count up votes, down votes, and total votes?

I am trying to create a voting system. The models that are being voted on are Issues and I have another model called Vote that holds an issue_id and a vote value of 0 or 1. The votes are being created with forms with hidden fields. This is on the…
Dan
  • 641
  • 9
  • 25
0
votes
1 answer

How to define reputation system values in model

How can I set up the default_scope in my blogging application so that the index orders the entries by an algorithm defined in the model? If I were to use a HackerNews-like formula for the ranking algorithm as shown below, how can I define it in my…
umezo
  • 1,519
  • 1
  • 19
  • 33
0
votes
1 answer

Hacker News algorithm for django-voting sort order

I'm working on an application using django-voting and have the sort order of the homepage items working using Eric Florenzano's custom VoteAwareManager technique: models.py class VoteAwareManager(models.Manager): """ Get top votes. hot =…
sgriffee
  • 381
  • 5
  • 18
0
votes
5 answers

Order by votes - PHP

I have a voting script which pulls out the number of votes per user. Everything is working, except I need to now display the number of votes per user in order of number of votes. Please see my database structure: Entries: UserID, FirstName,…
0
votes
1 answer

Joomla articles by rating + rating plugin/component implementation

I dont want to waste lots of time on creating wrong functions Plan: It's already done, but to understand better.. I tell you :) So first thing I made: I added extra articles which are shown in main article. So it's looks like this: main article and…
Jonuux
  • 533
  • 1
  • 7
  • 20
0
votes
2 answers

Voting System, Simple VS Helpful

I am making a website with a voting system, for some background info, this website will hold all types of information from all sorts of people. People would upload things from news, to what they did today, to things they like and find! Now I am…
MoMo
  • 111
  • 1
  • 7
0
votes
2 answers

Voting/Ranking logic with SQL

I'm working on a project that will use a comparison voting logic to sort the highest rated to the top and lowest to the bottom(Similar to a "hot or not" or "Hotstagram"). Basically what I need to do is take 2 random pictures that are directly next…
G.Thompson
  • 807
  • 2
  • 11
  • 25
0
votes
3 answers

Products Ranking

I need to sort some products base on user ratings. Suppose we have 3 products {a,b,c} and we have user's feed backs about this products. It's not important which user give us feed back (this question is not about correlative filtering if you are…
EBAG
  • 21,625
  • 14
  • 59
  • 93
0
votes
4 answers

Restricting multiple votes from the same person in a picture rating web application

I'm trying to write a web application in ASP.NET MVC that allows each user to vote for multiple pictures but does not allow them to vote multiple times for the same picture. Users are not authenticated. What should I save in the database or in…
Ante
  • 8,567
  • 17
  • 58
  • 70
0
votes
2 answers

Voting system using PHP, MySQL and jQuery - NOT working (DIAGNOSE)

Trying to make this Reddit-style Voting With PHP, MySQL And jQuery work. Problem: When I click "Vote up" or "Vote down", it doesn't return anything. Nothing happens on the page, at all. I have established that the votes.php page is working though,…
Mafia
  • 792
  • 2
  • 19
  • 39
1 2 3
21
22