<?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>EWD &#187; plugins</title>
	<atom:link href="http://dev.evaria.com/topic/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.evaria.com</link>
	<description>Trying to think outside the box</description>
	<lastBuildDate>Tue, 15 Jul 2008 15:13:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to view and collect visitor statistics</title>
		<link>http://dev.evaria.com/48/</link>
		<comments>http://dev.evaria.com/48/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 16:11:00 +0000</pubDate>
		<dc:creator>Thomsen</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wp-slimstat]]></category>

		<guid isPermaLink="false">http://dev.evaria.com/?p=48</guid>
		<description><![CDATA[Note! The following shows one way of collecting visitor statistics, but applies for WordPress installations only. If you are looking to get site statistics for any other CMS or blogging platform please see their respective lists of available plugins or try AWStats (which is a very good server log analyser tool).
WP Slimstat for WordPress
There&#8217;s dozens [...]]]></description>
			<content:encoded><![CDATA[<p><em>Note! The following shows one way of collecting visitor statistics, but applies for WordPress installations only. If you are looking to get site statistics for any other <abbr title="Content Management System">CMS</abbr> or blogging platform please see their respective lists of available plugins or try <a title="AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically." href="http://awstats.sourceforge.net/" target="_blank">AWStats</a> (which is a very good server log analyser tool).</em></p>
<h3>WP Slimstat for WordPress</h3>
<p>There&#8217;s dozens of <a href="http://wordpress.org/extend/plugins/tags/statistics" target="_blank">statistic plugins</a> available for WordPress already, but I find <a title="WP Slimstat" href="http://dev.duechiacchiere.it/" target="_blank">WP Slimstat</a> to be one of the best. However, since the release of WordPress 2.3 the plugin no longer recorded all hits as the WP table structure was altered. The <a title="Camu" href="http://www.duechiacchiere.it/" target="_blank">author of WP-Slimstat</a> still offers the plugin from his website but informs visitors that it&#8217;s no longer in development.</p>
<p><a title="WP Slimstat report panel - Summary" rel="lightbox[wpstats]" href="http://dev.evaria.com/wp-content/media/2008/07/wpstat.gif" target="_blank"><strong>Screenshots</strong></a></p>
<p><a class="image" title="WP Slimstat report panel - When" rel="lightbox[wpstats]" href="http://dev.evaria.com/wp-content/media/2008/07/wpstat1.gif"><img class="alignleft size-thumbnail attachment wp-att-50" title="wpstat1" src="http://dev.evaria.com/wp-content/media/2008/07/wpstat1-150x150.gif" alt="WP Slimstat report panel" width="150" height="150" /></a><a class="image" title="WP Slimstat report panel - What" rel="lightbox[wpstats]" href="http://dev.evaria.com/wp-content/media/2008/07/wpstat2.gif"><img class="alignleft size-thumbnail attachment wp-att-51" style="margin:0 16px;" title="wpstat2" src="http://dev.evaria.com/wp-content/media/2008/07/wpstat2-150x150.gif" alt="WP Slimstat report panel" width="150" height="150" /></a><a class="image" title="WP Slimstat report panel - Who" rel="lightbox[wpstats]" href="http://dev.evaria.com/wp-content/media/2008/07/wpstat3.gif"><img class="alignleft size-thumbnail attachment wp-att-52" title="wpstat3" src="http://dev.evaria.com/wp-content/media/2008/07/wpstat3-150x150.gif" alt="WP Slimstat report panel" width="150" height="150" /></a></p>
<p>Earlier today I found the solution to the problem in one of the <a href="http://dev.duechiacchiere.it/viewtopic.php?f=3&amp;t=11&amp;st=0&amp;sk=t&amp;sd=a&amp;start=10#p39" target="_blank">forum threads</a>. Having waited for a decent solution for some time I decided to implement the necessary code changes but also keep it backwards compatible. The updated copy of the main file (wp-slimstat.php), including the new WP 2.5 colour scheme, can be downloaded below:</p>
<p><a class="download" href="http://dev.evaria.com/file/1" title="Version 1.0.2 downloaded 433 times" >WP Slimstat (433) &#8211; 24.86 KB</a></p>
<p>Before you continue I recommend backing up your database. This way you can always roll back in case something goes terribly wrong. I&#8217;ve just completed the update myself without any issues so I hope and think there shouldn&#8217;t be any surprises.</p>
<p>If this didn&#8217;t scare you away you can now proceed with the actual update. All you need to do is replace the old copy of wp-slimstat.php with the new one included in the zip, using your favourite FTP program (e.g. <a title="FileZilla, the free FTP solution." href="http://filezilla-project.org/" target="_blank">FileZilla</a>).</p>
<h3>Update the IP to Country Database</h3>
<p>The plugin also shows you where your visitors are coming from by comparing the IP against the &#8220;IP to Country database&#8221; made available by <a title="IP-to-Country Database provided by webhosting.info" href="http://ip-to-country.webhosting.info/" target="_blank">webhosting.info</a>. The original is now a bit old (March 2006) so I&#8217;ve made an SQL dump that contains the latest list (10th March 2008):</p>
<p><a class="download" href="http://dev.evaria.com/file/2" title="Version 10th March 2008 downloaded 464 times" >IP to Country Database (464) &#8211; 609.06 KB</a></p>
<p>You can update your IP to Country database table as follows:</p>
<ol>
<li>Log on to phpMyAdmin (or any other tool you use to maintain your database) and empty the old table (normally <em>wp_slim_countries</em>)</li>
<li>Unzip and upload the file you just downloaded (wp_slim_countries.sql) using the import feature</li>
</ol>
<p>If you experience difficulties uploading the file (it is quite large -&gt; 2.56MB) you can try bypassing this by opening the file in WordPad (not NotePad), copy all the text (CTRL+A and then CTRL+C) then paste (CTRL+V) and run it as an SQL query in phpMyAdmin.</p>
<p>Feel free to let me know if you experience any problems or have a comment on this unofficial WP Slimstat release.</p>
<h3>Related posts</h3>
    <ul class="related_post">
    <li><a href="http://dev.evaria.com/60/" title="WordPress 2.6 is out">WordPress 2.6 is out</a></li>
    <li><a href="http://dev.evaria.com/14/" title="New WordPress Theme">New WordPress Theme</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dev.evaria.com/48/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
