<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nullvariable &#187; plugins</title>
	<atom:link href="http://blog.nullvariable.com/tag/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nullvariable.com</link>
	<description>The musings of the Nullvariable Web Consulting Team.</description>
	<lastBuildDate>Fri, 09 Apr 2010 21:02:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Fix Alex King&#8217;s Popularity Plugin</title>
		<link>http://blog.nullvariable.com/2008/06/how-to-fix-alex-kings-popularity-plugin/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-fix-alex-kings-popularity-plugin</link>
		<comments>http://blog.nullvariable.com/2008/06/how-to-fix-alex-kings-popularity-plugin/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 00:05:40 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Alex King]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://blog.nullvariable.com/?p=74</guid>
		<description><![CDATA[So I really dig Alex King&#8217;s Popularity plugin but I&#8217;m disappointed that he&#8217;s not updated it for WP 2.5 yet. So since it took me forever to find the information on fixing it I&#8217;ll post it here. WARNING if you break it, its not my fault!   Also FYI this is a temporary fix [...]<p>This is a post from the <a href="http://blog.nullvariable.com">Nullvariable Web Consulting Blog</a>.<br/><br/><a href="http://blog.nullvariable.com/2008/06/how-to-fix-alex-kings-popularity-plugin/">How to Fix Alex King&#8217;s Popularity Plugin</a></p>
]]></description>
			<content:encoded><![CDATA[<p></p><p>So I really dig <a href="http://alexking.org/projects/wordpress/readme?project=popularity-contest">Alex King&#8217;s Popularity plugin</a> but I&#8217;m disappointed that he&#8217;s not updated it for WP 2.5 yet. So since it took me forever to find the information on fixing it I&#8217;ll post it here. <strong>WARNING </strong>if you break it, its not my fault! <img src='http://blog.nullvariable.com/wp-includes/images/smilies/icon_wink.gif' alt=':wink:' class='wp-smiley' />  Also FYI this is a temporary fix until the actual plugin is upgraded, this just gets things working, its not perfect.</p>
<blockquote><p>Open popularity-contest.php and scroll down to line 59. Replace require(â€™../../wp-blog-header.phpâ€™); with require(â€™../wp-blog-header.phpâ€™);</p></blockquote>
<p>If you get an error (most likely with a new installation) about a Table not existing, the following code should be run in phpmyadmin or any other SQL database access program (usually the wordpress table prefix is wp_ make sure you change this to reflect your local settings):</p>
<blockquote><p>CREATE TABLE IF NOT EXISTS &lt;wordpresstableprefixhere&gt;ak_popularity (<br />
post_id int(11) NOT NULL,<br />
total int(11) NOT NULL,<br />
feed_views int(11) NOT NULL,<br />
home_views int(11) NOT NULL,<br />
archive_views int(11) NOT NULL,<br />
category_views int(11) NOT NULL,<br />
single_views int(11) NOT NULL,<br />
comments int(11) NOT NULL,<br />
pingbacks int(11) NOT NULL,<br />
trackbacks int(11) NOT NULL,<br />
last_modified datetime,<br />
KEY post_id (post_id)<br />
) ENGINE=MyISAM;</p>
<p>CREATE TABLE IF NOT EXISTS &lt;wordpresstableprefixhere&gt;ak_popularity_options (<br />
option_name varchar(50) NOT NULL,<br />
option_value varchar(50) NOT NULL<br />
) ENGINE=MyISAM;</p></blockquote>
<p><a href="http://alexking.org/blog/2008/03/30/wordpress-25-plugin-compatibility">Alex&#8217;s post regarding his plugins Wp 2.5 issues</a>.</p>
<p>This is a post from the <a href="http://blog.nullvariable.com">Nullvariable Web Consulting Blog</a>.<br/><br/><a href="http://blog.nullvariable.com/2008/06/how-to-fix-alex-kings-popularity-plugin/">How to Fix Alex King&#8217;s Popularity Plugin</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;title=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin&amp;bodytext=So%20I%20really%20dig%20Alex%20King%27s%20Popularity%20plugin%20but%20I%27m%20disappointed%20that%20he%27s%20not%20updated%20it%20for%20WP%202.5%20yet.%20So%20since%20it%20took%20me%20forever%20to%20find%20the%20information%20on%20fixing%20it%20I%27ll%20post%20it%20here.%20WARNING%20if%20you%20break%20it%2C%20its%20not%20my%20fault%21%20%3Awink%3A%20Also%20FYI" title="Digg"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F" title="Sphinn"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;title=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin&amp;notes=So%20I%20really%20dig%20Alex%20King%27s%20Popularity%20plugin%20but%20I%27m%20disappointed%20that%20he%27s%20not%20updated%20it%20for%20WP%202.5%20yet.%20So%20since%20it%20took%20me%20forever%20to%20find%20the%20information%20on%20fixing%20it%20I%27ll%20post%20it%20here.%20WARNING%20if%20you%20break%20it%2C%20its%20not%20my%20fault%21%20%3Awink%3A%20Also%20FYI" title="del.icio.us"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;t=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin" title="Facebook"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;title=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin" title="Mixx"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;title=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin&amp;annotation=So%20I%20really%20dig%20Alex%20King%27s%20Popularity%20plugin%20but%20I%27m%20disappointed%20that%20he%27s%20not%20updated%20it%20for%20WP%202.5%20yet.%20So%20since%20it%20took%20me%20forever%20to%20find%20the%20information%20on%20fixing%20it%20I%27ll%20post%20it%20here.%20WARNING%20if%20you%20break%20it%2C%20its%20not%20my%20fault%21%20%3Awink%3A%20Also%20FYI" title="Google Bookmarks"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin&amp;body=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F" title="email"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;title=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin&amp;body=So%20I%20really%20dig%20Alex%20King%27s%20Popularity%20plugin%20but%20I%27m%20disappointed%20that%20he%27s%20not%20updated%20it%20for%20WP%202.5%20yet.%20So%20since%20it%20took%20me%20forever%20to%20find%20the%20information%20on%20fixing%20it%20I%27ll%20post%20it%20here.%20WARNING%20if%20you%20break%20it%2C%20its%20not%20my%20fault%21%20%3Awink%3A%20Also%20FYI" title="Ping.fm"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://blog.nullvariable.com/feed/" title="RSS"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;title=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin" title="StumbleUpon"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin%20-%20http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F" title="Twitter"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.nullvariable.com%2F2008%2F06%2Fhow-to-fix-alex-kings-popularity-plugin%2F&amp;submitHeadline=How%20to%20Fix%20Alex%20King%27s%20Popularity%20Plugin&amp;submitSummary=So%20I%20really%20dig%20Alex%20King%27s%20Popularity%20plugin%20but%20I%27m%20disappointed%20that%20he%27s%20not%20updated%20it%20for%20WP%202.5%20yet.%20So%20since%20it%20took%20me%20forever%20to%20find%20the%20information%20on%20fixing%20it%20I%27ll%20post%20it%20here.%20WARNING%20if%20you%20break%20it%2C%20its%20not%20my%20fault%21%20%3Awink%3A%20Also%20FYI&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.nullvariable.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.nullvariable.com/2008/06/how-to-fix-alex-kings-popularity-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
