getButterfly Logo

4.1.0

Item Release

September 14, 2016 | $18.00

vote5 – Advanced WordPress Voting Plugin

  1. Home
  2. WordPress Plugins
  3. vote5 – Advanced WordPress Voting Plugin
The vote5 plugin allows users to vote on posts and administrators to manage votes, ban/unban IP addresses and search/filter votes. The plugin log displays a paginated table with attached posts, IPs and time of vote. The administrator is able to modify votes and see which posts have been modified. All votes are stored as custom values.

NEW! Demo is available here!

vote5 Description

The vote5 plugin allows users to vote on posts and administrators to manage votes, ban/unban IP addresses and search/filter votes. The plugin log displays a paginated table with attached posts, IPs and time of vote. The administrator is able to modify votes and see which posts have been modified. All votes are stored as custom values.

vote5 Security

User votes are recorded both in the plugin’s database and in the custom meta values database. All posts have a custom key attached to them, holding the current votes value. Users behind web proxies or missing an HTTP referrer will be blocked, and votes will not be recorded. All votes use IP and cookie checks.

Download vote5

If you disable the Show button automatically option, you have to manually add the code <?php if(function_exists('getvote5')) { getvote5('get'); } ?> in your post or page template, right after the_content() function.

Use <?php if(function_exists('getvote5')) { echo getvote5('value'); } ?> to display the number of votes anywhere in the loop.

Extended documentation is available inside the plugin.

How to restrict voting based on IP address

If you need to restrict voting based on IP address, follow the steps below. The default behaviour of the plugin does not allow this, so you’ll need to make a slight change to like.php.

Open the file using a text editor and find line 75:

if (!isset($_COOKIE['liked-' . $post_ID]) && (int) $banStatusByIp === 0 && ($timeStatusByIp > ($v5_days * 86400) || !is_numeric($timeStatusByIp))) {

Replace it with:

if (!isset($_COOKIE['liked-' . $post_ID]) && (int) $banStatusByIp === 0 && (int) $voteStatusByIp === 0) {

Now, your users won’t be able to vote from the same IP, ever again.