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.

  • 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 Jul 19 '12 at 20:06
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.

| improve this answer | |
  • 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 Mar 1 '11 at 19:03
  • I'm glad you found a solution! – Philip Mar 1 '11 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

| improve this answer | |
  • 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 Feb 28 '11 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..... – Rev. Voodoo Feb 28 '11 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.

| improve this answer | |
  • 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 Mar 1 '11 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 Mar 1 '11 at 13:42

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