Vote It Up

Vote It Up Install Statistics

11
100%
Today: 11 Yesterday: 0 All-time: 74,505 downloads
Vote It Up Icon

Try plugin: Vote It Up

We'll create fresh WordPress site with Vote It Up installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Vote It Up

The Vote It Up plugin enables visitors to vote for and against posts.

0


0


0


0


1

updated: 10 years ago
since: 17 years ago

Description

This plugin adds voting functionality for posts. This function is similar to Reddit or Digg, in that visitors can vote for and against.

Guests can also vote for posts. This functionality can be disabled as well.

A widget can be displayed showing the most voted posts on your blog, giving further exposure to your popular posts.

A brief summary of what the plugin has to offer:

  • Visitors can vote for your posts, if they are allowed to
  • Easy management of post votes
  • Two-way voting: People can vote for or against your posts if feature is enabled
  • Post authors can be barred from voting their own posts
  • Initial vote count feature enables the voting of posts the moment they were published
  • Fairly customizable features
  • Top voted post widget gives greater exposure of posts your readers like

Requirements

  1. A working WordPress install

  2. WordPress theme must contain a call to the get_header() function

  3. WordPress theme must contain the WordPress loop

Most WordPress installs have these, so you need not worry about these.

In addition, one must have JavaScript enabled in their browsers in order to vote.

WordPress 2.8 or above is recommended for this plugin.

Customizing

Votingfunctions.php

Within votingfunctions.php, there are several functions that can shows other information.

GetVotes($post_ID): Returns the number of votes associated with the post.

UserVoted($post_ID, $user_ID): Returns TRUE if the user already voted for the post, FALSE if the user hasn't voted for the post

GetPostVotes($post_ID): Returns an array of user IDs that have voted for the post.

GetPostSinks($post_ID): Returns an array of user IDs that have voted against the post.

SortVotes(): Returns an array of post IDs and votes. The array is sorted with the post having the most votes at the top of the array.