Questions tagged [voting-system]
179 questions
0
votes
1 answer
Integrating a 1-10 voting system effectively without common pitfalls
I'm planning on integrating a reasonable ranking/voting system into an existing application.
I'm familiar with how the traditional 5 star rating systems work and know the common pitfalls/problems associated with them therefore was wondering if there…

user962026
- 207
- 1
- 5
- 12
0
votes
0 answers
Like button with counter on wordpress post
I have a blog on Wordpress and I'm trying to create a button that allows anyone (even those who are not registered on the site) to like and/or unlike posts and that the current number of likes the post has received in total may appear in the button…

Midori
- 1
- 1
0
votes
1 answer
Django - vote system
I'm stuck with a simple problem. I want to create a voting system. I have a simple code that doesn't work properly. When I click UP it adds +1, when I click UP again, it removes -1. Same with the DOWN button. The problem is that when I click between…

DoDr
- 85
- 7
0
votes
0 answers
Input of a blockchain voting java program has a loop problem
I would be so thankfull if someone can help me out with this program that i want to test out. It's an E-voting program, blockchain based.
The problem i'm getting is on the first option, Cast Votes. It asks for role, in order for it to work, u first…

TheRealP
- 1
0
votes
1 answer
Best Practice for Storing Election Votes in a Database
Is there a good way to store de-identified voting data related to an election, while still ensuring people can't cast multiple votes? What is the best practices for storing this kind of data, particularly over longer periods of time?
Some more…

jramm
- 751
- 1
- 8
- 26
0
votes
1 answer
composer network install instruction giving Erorr: Error trying install business network. Error: No valid responses from any peers
I am trying to install a network using Hyperledger Composer but I am getting some errors. I used the following instruction
composer network install --archiveFile vote-network@1.0.0.bna --card PeerAdmin@hlfv1
and its giving me this error...
✖…

Tanshiv2
- 13
- 6
0
votes
3 answers
SQL Getting the party with highest votes
I am trying to make a voting system through a SQL server, and I can't get it right. What I am trying to do is get the party with the highest amount of votes.
SELECT COUNT(*)
FROM Vote
INNER JOIN Members ON Vote.Voted = Members.PartyName
WHERE…

Rick W
- 75
- 7
0
votes
3 answers
How can I create a dictionary with values representative of votes for the alternative voting system?
Hey guys I am trying to write code for a problem and I am having trouble deducing how I am supposed to do this.
So I have to write code for the Instant Run-Off Vote or Alternative voting system. basically what happens is that there is a nested list…

markovv.sim
- 161
- 1
- 8
0
votes
1 answer
How to scale PHP voting system for multiple posts?
How to scale PHP voting system for multiple posts?
I have a working PHP Ajax voting system that writes the likes from a blog post into a .txt file, and I want to scale it for multiple posts and record the likes from each of those.
I have tried to…

NDi
- 184
- 1
- 2
- 17
0
votes
1 answer
Checking if a user has already voted, returns true even when they haven't?
The user enters their userid and then votes either 'yes' or 'no' but the code returns true and the if statement is executed even when the user hasn't voted.
For example - doing userid = 1 and voting, userid = 1 and voting. The second time userid…

Callum
- 195
- 2
- 22
0
votes
1 answer
Getting Started with Vote_fu
I have successfully installed Vote_fu for rails 3, and have voted for the desired object in the console window, but I'm brand new to rails, so I really don't know how to implement a voting system in the controller. I'm really just looking for some…

Kyle
- 21
- 3
0
votes
1 answer
Voting Method - Mysql
I want to use two buttons to increment two fields in a database table according to selection.
Field 1: blue
Field 2: yellow
For example:
Blue: (3) - Select (+1) - Button 1 (increment the #3)
Yellow: (5) - Select (+1) - Button 2 (increment…

Norman
- 79
- 1
- 1
- 7
0
votes
1 answer
voting system for rails blog with devise user login before voting
So I have a blog I am trying to have a simple upvote/downvote feature for the posts. I have devise set up and I made all the associations between the models, votings, users, and home_blogs.
class User < ApplicationRecord
# Include default devise…

dmberko11
- 427
- 7
- 17
0
votes
1 answer
Validations for voting system for blog
I am building a website for a guy. I'm not an experienced developer at all but he's kind enough to let me give it a shot. I want to build a user-less voting system where people don't have to create an account and login to vote and comment on blog…

dmberko11
- 427
- 7
- 17
0
votes
0 answers
Is there an implementation of collective signature for anonymous signing?
I want to sign anonymously with my private key combined with a collective signature. So the signature will only prove that it was made by somebody who participated in the collective signature.

Oleg
- 486
- 6
- 12