Socialized Software
  • Email
  • Facebook
  • Feedburner
  • Foursquare
  • Google
  • Linkedin
  • Pinterest
  • Tumblr
  • Twitter
  • Home
  • Presentations
  • Archives
  • Publications
  • Resume
  • About
Home» Marketing/PR » Social Media » Blogging » Fix for Popularity Contest Plug-In for WordPress 2.5

Fix for Popularity Contest Plug-In for WordPress 2.5

Posted on April 10, 2008 by Mark in Blogging - No Comments

When I upgraded to WordPress 2.5 I had to disable that plug-in. Stewart Mader posted the fix for using Alex King’s Popularity Contest with WordPress 2.5. Thanks to Stewart it’s back up and running.

In the WordPress admin area, choose Plugins, then scroll down to Popularity Contest, and click Edit. Scroll down until you see this bit of code:

if (!isset($wpdb)) {
require('../../wp-blog-header.php');
akpc_init();
}

Remove one of the ../ from:

require('../../wp-blog-header.php');

Also, Popularity Contest is what powers my Top Posts widget on the right hand side of the blog. Thanks to Dean Sykes at Tech Teapot for authoring that handy little widget.

Technorati Tags: 2.5, plugins, Popularity Contest, Top Posts, Widget, WordPress

2.5, plugins, Popularity Contest, Top Posts, Widget, WordPress

Leave a Reply Cancel reply

You must be logged in to post a comment.

About

My name is Mark Hinkle, and I am a technology enthusiast with an affinity for open source. My day job is at Citrix Systems where I am the Senior Director, Open Source Solutions, responsible for their open source cloud computing evangelism efforts for Apache CloudStack and the Xen hypervisor. This is my personal blog, and it does not reflect the opinions of my employer. If you want to find out more you can read my bio.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

I'm Speaking at OSCON 2013 (size 125 X 125)

Categories

Featured Posts

  • The Traveler’s Guide to the iPad

    October 10, 2010
  • DIY iPad Stylus

    August 2, 2010
  • Is OpenStack Cloud Computing Rocket Science?

    July 19, 2010
  • Opscode, Turning Sysadmins into Superheroes

    June 21, 2010

    Recent Presentations

    Recent Posts

    • The Traveler’s Guide to the iPad

      October 10, 2010
    • DIY iPad Stylus

      August 2, 2010
    • Is OpenStack Cloud Computing Rocket Science?

      July 19, 2010
    • Opscode, Turning Sysadmins into Superheroes

      June 21, 2010

      Latest Tweets

      • Could not fetch Twitter RSS feed.

      Contact Mark

      • 919.228.8049
      • mrhinkle@gmail.com
      • mrhinkle
        • Twitter
        • Linkedin
        • Facebook
      (c) 2007-2012 Mark R. Hinkle - Some Rights Reserved CCbySA 3.0