<?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>Mon, 23 Jan 2012 11:37:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<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/</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 until the [...]<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>
]]></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>

