4

I've been looking through voting plugins and cannot seem to find one that works for me. I'm hoping you can help me out before I have to build my own as I'm tight on time.

I have a page that will be full of (custom) posts, and I want users to be able to vote for their favorite. They should only be able to vote once, and I would like to track the username of the person who voted.

WP-Polls is a great poll plugin that has the same features that I need (track voter and limit to one vote based on username), but I want to have a small 'vote' button below each listed post. Vote It Up can add a voting button at the bottom of each post, but does not track users or limit them to one vote.

Anyone have any ideas where I could find something like that? Thanks in advance.

1
  • 2
    are you able to share what you did to achieve your goal? I'm doing the same exact thing on a project I'm working on now.
    – Thad Bloom
    Commented Jul 19, 2012 at 20:06

3 Answers 3

3

Here is exactly what you need,

http://bavotasan.com/tutorials/simple-voting-for-wordpress-with-php-and-jquery/

As you can see you can track the user(s) and vote(s), also you can add some extra columns in your users admin area to track the votes.

2
  • Took quite a bit of editing so I could limit the user to only vote once across all of the posts, but it works. Thanks.
    – Carson
    Commented Mar 1, 2011 at 19:03
  • I'm glad you found a solution!
    – Philip
    Commented Mar 1, 2011 at 20:14
4

http://wordpress.org/extend/plugins/wp-postratings/ I've used this plugin for years. Can be configured to use +/- type ratings or 5 start type ratings. Can easily use your own graphics as well. Can track votes by cookie, IP, cookie+IP, or username (for limiting number of votes by any of those)

Can include the rating on every post by including

<?php if(function_exists('the_ratings')) { the_ratings(); } ?>

or on individual posts using the [ratings] shortcode

All votes get displayed on the backend with username, post rated, rating, and date/time and IP/host

2
  • This is almost exactly what I was looking for. Do you know if there is a way to only let people vote once across the whole site, rather than just the single post?
    – Carson
    Commented Feb 28, 2011 at 16:29
  • It's not something I've ever tried to do, but I can't see how to do it offhand. I'm sure it is something that could be done in the guts of the plugin..... Commented Feb 28, 2011 at 16:48
1

try WP-PostRatings

its what i use most of the time for my rating and voting needs and it keeps track and limits user to vote once.

2
  • It limits them to one vote per post. I'm looking for something that limits them to one post in total. Any idea how to tweak this plugin?
    – Carson
    Commented Mar 1, 2011 at 13:16
  • To limit one post per user total i would built a custom code simply by saving the post id as usermeta
    – Bainternet
    Commented Mar 1, 2011 at 13:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.