Bluehost.com Web Hosting $6.95

How to fix Popularity Contest to use with Wordpress 2.5.1

There is a workaround fix for this very famous Wordpress Plugin Popularity Contest by Alexa King. You can now use it with Wordpress 2.5 and above with this quick fix.

First of all go to phpmyadmin and add this new table so that you can use it with the latest wordpress blog.

CREATE TABLE IF NOT EXISTS `wp_ak_popularity` (
`post_id` int(11) NOT NULL,
`total` int(11) NOT NULL,
`feed_views` int(11) NOT NULL,
`home_views` int(11) NOT NULL,
`archive_views` int(11) NOT NULL,
`category_views` int(11) NOT NULL,
`single_views` int(11) NOT NULL,
`comments` int(11) NOT NULL,
`pingbacks` int(11) NOT NULL,
`trackbacks` int(11) NOT NULL,
`last_modified` datetime,
KEY `post_id` (`post_id`)
) ENGINE=MyISAM;

CREATE TABLE IF NOT EXISTS `wp_ak_popularity_options` (
`option_name` varchar(50) NOT NULL,
`option_value` varchar(50) NOT NULL
) ENGINE=MyISAM;

Then edit your “plugins/popularity-contest.php”. Change this at line 59

(’../../wp-blog-header.php’);

to

(’../wp-blog-header.php’);

Enjoy!

Popularity: 5%

Please Share and Bookmark :) These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Reddit
Tags: popularity contest fix, popularity contest wordpress 2.5, wordpress plugin fix

Remember subscribe to our RSS feeds for more tips

ESET - Download NOD32 Here!



Related Posts:

Build traffic and link popularity with WordPress Trackback system
Serious Security Issue in WordPress (Version 2.3.x)
Successfully Upgraded to Wordpress 2.5.1
How to Upgrade to Wordpress 2.5.1
Be Careful When Installing WordPress Plugins
Do we need to upgrade to WordPress 2.5?
Google PageRank 0 jump to 4 using Wordpress Blog
Always use Akismet wordpress plugin to fight spam
How to import UTW tags to work with Wordpress 2.5.1
Wordpress 2.5.1 Image Upload Fix


Comments

Leave a Reply