Questions tagged [vote]

Voting is a method for a group such as a meeting or an electorate to make a decision or express an opinion—often following discussions, debates, or election campaigns. Democracies elect holders of high office by voting.

186 questions
0
votes
1 answer

Where does vote plugin update data in database on Joomla?

Basic Joomla vote plugin: /plugins/content/vote/vote.php Does anybody know where and how votes of article are updated? I have found a MySQL table called #__content_rating. So, I do not understand, when somebody votes for article, how does this…
Edva Ptr
  • 31
  • 1
  • 9
0
votes
1 answer

updating count with ajax on rails

Currently I am displaying the votes count statically on my page but I would like to find a way to make count update dynamically so that when I click the vote button it doesn't have to refresh the page to change the count. This is the code in my…
Michael Peralta
  • 293
  • 5
  • 18
0
votes
2 answers

vote algorithm to avoid cheat

I would like to build a vote website, something like a +1 of facebook. Is there some best practice to deal against cheat ? Best way would be to use facebook, twitter and/or google to have unique user but I would like to let Anonymous user to vote.
Charles
  • 11,367
  • 10
  • 77
  • 114
0
votes
2 answers

php rate system rates all instead of one post

Here's a bit of my code: if(isset($_GET['nyaste'])) { $query = mysql_query("SELECT * FROM jokes ORDER BY id DESC LIMIT 0, 12") or die(mysql_error()); while ( $result = mysql_fetch_assoc($query) ) { $id = $result["id"]; …
finst33
  • 141
  • 1
  • 3
  • 11
0
votes
1 answer

How to check if somebody wrote a review to my Android App

In my Android App i want a popup do show up with a button that links to my app in the market. The popup is showing currectly, but if somebody has already wrote a review for my app, i dont want it to show up. Is it possible to check if the person has…
Lunatech
  • 197
  • 2
  • 8
-1
votes
1 answer

FLUTTER: How to stack images for voting app

I am doing a voting app and I have a problem, I want to stack images as many time there is votes(1 stack per vote). This is a picture of what I want to do. I tried to use Listview like this ListView( children: [ Image( image:…
luc
  • 1,301
  • 2
  • 14
  • 30
-1
votes
1 answer

Major vote by column?

I have a 20x20 2D array, from which I want to get for every column the value with the highest count of occurring (excluding zeros) i.e. the value that receives the major vote. I can do that for a single column like this : : np.unique(p[:,0][p[:,0]…
sten
  • 7,028
  • 9
  • 41
  • 63
-1
votes
1 answer

Review stars for store appcelerator android / ios

I need a module to allow people to rate the app inside of it. I've founded this link for ios : https://github.com/hansemannn/titanium-review-dialog looks good, can i find the same for android ?! Or any suggestions to open alertDialog with rating.
KbZuhn
  • 57
  • 1
  • 7
-1
votes
1 answer

Why are vote options not correctly pre-selected?

You need to be authenticated to vote on a poll. When you vote on a poll, there are 2 issues: You can vote an infinite number of times until you leave or reload the page When you reload the page, you are finally prevented from voting but instead of…
Coder1000
  • 4,071
  • 9
  • 35
  • 84
-1
votes
1 answer

How to limit voting function in a Facebook App once per day?

I'm really new at back-end stuff and I'm building a Facebook app with multiple photo entries with voting mechanics. You can vote one or multiple entries once per day and it also detects your Facebook ID so that when you vote, the database detects…
-1
votes
1 answer

Searching for solution to end re-voting with Android voting app

I am working an an Android app where users can create a contest, list partisipants and receive a code. Other users can enter this code, see the partisipants and vote on one. We now have it where the user enters an email address to vote and no two…
-1
votes
1 answer

Voting system using PHP, MySQL and jQuery: Insert vote with radiobuttons

I want to make a voting system using PHP, MySQL and jQuery. The idea is that when you click on a radiobutton, the vote is inserted into the database. My question is: How I can run the query to the database with PHP, detecting the change in the…
Nacho Sarmiento
  • 463
  • 3
  • 8
  • 17
-1
votes
1 answer

how to create a list of top rated articles for a period of time? (asp.net c# )

i have a webpage that contains articles. Users are able to "Like" these articles. What i want to create is a list of top rated articles for each weeek/month, like "This weeks popular articles", "Last weeks popular articles" etc. I would like to know…
Oak
  • 1,159
  • 3
  • 13
  • 21
-1
votes
2 answers

PHP based voting script

I am working on a tube site that categorizes each video by its origin country other than just the category. I need to think of a voting system that will allow users to correct us if we made a mistake with the country and possibly suggest the correct…
Zbone
  • 507
  • 2
  • 4
  • 16
-1
votes
1 answer

How to make when user to vote only one time per post?

How can I only allow the user to up vote or down vote a post once. This is the vote.tpl in the themes folder. What do I need to change?