Get UseNext Client - Free Highspeed Access To 300TB of Videos, Games and Music!
Satellite TV for PC - Access to 3000+ Stations WorldWide! 200+ Premium Channels!
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%
Tags: popularity contest fix, popularity contest wordpress 2.5, wordpress plugin fix








