Vote It Up

Status: Released
License: GNU Lesser General Public License
Requirements: Wordpress 1.5+

Download

You can drop me an E-mail at Ready725 atgmail.com.

Progress on this project has stalled as it is no longer convenient for me to update the plugin. Contributers to the plugin are welcomed.

Vote It Up!

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.

Installation

By installing the plugin, you agree to Tevine's policies.

  1. Upload the "voteitup" (or "vote-it-up") folder into the "/wp-content/plugins/" directory. 

  2. Login to your Wordpress Administration Panel

  3. Activate the "Vote It Up" plug-in from the plugins page in the Wordpress dashboard. If there are no error messages, the plugin is properly installed.

  4. You can choose which of the following themes you want to represent the votes as via the VoteItUp options page. You will need to insert the relevant code (<?php DisplayVotes(get_the_ID()); ?>)

  5. You can customize the plugin options via the Wordpress Dashboard (Options > Vote It Up in Wordpress versions prior to 2.3, Settings > Vote It Up in Wordpress versions after 2.5).

  6. You can install the Most Voted widget by adding the following PHP code <?php MostVotedAllTime(); ?>. Installing this widget is not required for Vote It Up to function. If your template supports sidebar widgets, you can install it as a widget in your sidebar.

  7. Editing votes can be done via the Wordpress Dashboard (Options > Edit Votes in Wordpress versions prior to 2.3, Settings > Edit Votes in Wordpress versions after 2.5).

Frequently Asked Questions

What are the currently available themes for this plugin?

The following themes are currently bundled with the latest version of the plugin:

Available themes

This plugin doesn't seem installed properly

If the plugin cannot write to the database, you can try manually executing the below SQL queries (you can use phpMyAdmin to do this):

CREATE TABLE `wp_votes` (
ID int(11) NOT NULL auto_increment,
post int(11) NOT NULL,
votes text NOT NULL,
guests text NOT NULL,
usersinks text NOT NULL,
guestsinks text NOT NULL,
PRIMARY KEY (`ID`)
);

CREATE TABLE `wp_votes_users` (
ID int(11) NOT NULL auto_increment,
user int(11) NOT NULL,
votes text NOT NULL,
sinks text NOT NULL,
PRIMARY KEY (`ID`)
);

For other problems, you may want to ensure that there are no missing files, and that you have followed instructions in this Read Me file

 

Is there any limit to the number of votes?

There is no limit as to how many votes for each post can take. The vote count can also go into the negatives as well.

However, there is a technical limit of approximately 8000 votes for a post. This limit can be overcomed by running the following SQL query in PhpMyAdmin:


ALTER TABLE `wp_votes` CHANGE `guestsinks` `guestsinks` LONGTEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL
ALTER TABLE `wp_votes` CHANGE `guests` `guests` LONGTEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL

Running this allows more votes to be stored, at a cost of using up more memory per post. Only use this if you receive a large number of votes for your site.

Widget Support

Most Voted Widget

The Most Voted Widget can be installed as a widget on widget-ready themes.
Alternatively, you can add the following code to your template if it does not support widgets: .

The widgets are also theme supported. You can disable theme support for the widget by using this code instead:

Screenshots

Available themes for the voting widget - Screenshot
Available themes for the voting widget

Plugin in action - Screenshot
Plugin in action

Plugin configuration page - Screenshot
Plugin configuration page

Vote management page - Screenshot
Vote management page

Log in message if guest voting is disallowed - Screenshot
Log in message if guest voting is disallowed

Two-way voting - Screenshot
Two-way voting

Requirements

  1. A working Wordpress install

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

  3. Your WordPress theme must contain the Wordpress loop

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

In addition, to be able to vote, one must have JavaScript enabled in the browser.