<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: extending stattraq</title>
	<atom:link href="http://boakes.org/hacking-with-wordpress-and-stattraq/feed/" rel="self" type="application/rss+xml" />
	<link>http://boakes.org/hacking-with-wordpress-and-stattraq/</link>
	<description>A place for words and data that I publish (for the benefit of persons unknown).</description>
	<lastBuildDate>Sun, 29 Apr 2012 16:09:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: blog &#187; Blog Archive &#187; Plugins for WordPress</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-214</link>
		<dc:creator>blog &#187; Blog Archive &#187; Plugins for WordPress</dc:creator>
		<pubDate>Fri, 15 Jun 2007 10:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-214</guid>
		<description>[...] ViewCount [...]</description>
		<content:encoded><![CDATA[<p>[...] ViewCount [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Writer&#8217;s Blog &#187; Blog Archive &#187; Little Tweaks</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-213</link>
		<dc:creator>Writer&#8217;s Blog &#187; Blog Archive &#187; Little Tweaks</dc:creator>
		<pubDate>Mon, 05 Feb 2007 21:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-213</guid>
		<description>[...] ViewCount uses the StatTraq table to report on how many times a page has been viewed. Probably no one is really interested in this number aside from myself, but since I like numbers, there it is. [...]</description>
		<content:encoded><![CDATA[<p>[...] ViewCount uses the StatTraq table to report on how many times a page has been viewed. Probably no one is really interested in this number aside from myself, but since I like numbers, there it is. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Contraditorium &#187; Os Plugins Secretos do Contraditorium</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-212</link>
		<dc:creator>Contraditorium &#187; Os Plugins Secretos do Contraditorium</dc:creator>
		<pubDate>Mon, 27 Nov 2006 12:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-212</guid>
		<description>[...] Viewcount [...]</description>
		<content:encoded><![CDATA[<p>[...] Viewcount [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-211</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 30 Mar 2006 06:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-211</guid>
		<description>Hi Ktula, yes, that&#039;s intentional.  You can set the level below which readers are not allowed to see how many views there are.

&lt;code&gt;&lt;?php rjb_get_view_count( $post-&gt;ID, &#039;prefix&#039;, &#039;suffix&#039;, 0); ?&gt;&lt;/code&gt;

In this example I&#039;ve set the admin level to 0, so it&#039;s visible for everyone.</description>
		<content:encoded><![CDATA[<p>Hi Ktula, yes, that&#8217;s intentional.  You can set the level below which readers are not allowed to see how many views there are.</p>
<p><code>&lt;?php rjb_get_view_count( $post->ID, 'prefix', 'suffix', 0); ?&gt;</code></p>
<p>In this example I&#8217;ve set the admin level to 0, so it&#8217;s visible for everyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ktula</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-210</link>
		<dc:creator>ktula</dc:creator>
		<pubDate>Thu, 30 Mar 2006 03:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-210</guid>
		<description>Is there a reason why the viewcount is only visible when i login to WP as administrator?  If i log out, i don&#039;t see the viewcount per post.</description>
		<content:encoded><![CDATA[<p>Is there a reason why the viewcount is only visible when i login to WP as administrator?  If i log out, i don&#8217;t see the viewcount per post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2006-02-13 at HawkEye</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-209</link>
		<dc:creator>links for 2006-02-13 at HawkEye</dc:creator>
		<pubDate>Mon, 13 Feb 2006 19:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-209</guid>
		<description>[...] extending stattraq - boakes.org along with the normal metadata which can be seen about any post, iâ€™d like to be able to show how many times that post has been viewed. additionally, by default, i want this information to be restricted to administrators. (tags: WordPress StatTraq Statistics Data Metrics WebServer Analytics Hack Plugins) [...]</description>
		<content:encoded><![CDATA[<p>[...] extending stattraq &#8211; boakes.org along with the normal metadata which can be seen about any post, iâ€™d like to be able to show how many times that post has been viewed. additionally, by default, i want this information to be restricted to administrators. (tags: WordPress StatTraq Statistics Data Metrics WebServer Analytics Hack Plugins) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-208</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Fri, 09 Sep 2005 16:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-208</guid>
		<description>Rich,

I&#039;ve checked it using the vi editor, and the &gt; is the last symbol in my file. It&#039;s pretty weird since it seems to be working for the people out there :-(

Javier.</description>
		<content:encoded><![CDATA[<p>Rich,</p>
<p>I&#8217;ve checked it using the vi editor, and the &gt; is the last symbol in my file. It&#8217;s pretty weird since it seems to be working for the people out there <img src='http://boakes.org/x/wp/live/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Javier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-207</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Fri, 09 Sep 2005 16:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-207</guid>
		<description>Hi Javier - the first thing to check is whether there is a space after ?&gt; on line 70.   The &gt; symbol must be the last character in the file (no carriage returns either).</description>
		<content:encoded><![CDATA[<p>Hi Javier &#8211; the first thing to check is whether there is a space after ?&gt; on line 70.   The &gt; symbol must be the last character in the file (no carriage returns either).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-206</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Fri, 09 Sep 2005 15:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-206</guid>
		<description>Hi,

I&#039;ve just installed your 0.0.3 version and wordpress kicks out the following error:

Parse error: parse error, unexpected T_VARIABLE in /var/www/wordpress/wp-content/plugins/viewcount_0.0.3.php on line 42

right after activating the plugin. Any hints?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve just installed your 0.0.3 version and wordpress kicks out the following error:</p>
<p>Parse error: parse error, unexpected T_VARIABLE in /var/www/wordpress/wp-content/plugins/viewcount_0.0.3.php on line 42</p>
<p>right after activating the plugin. Any hints?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikolas Kyramarios</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-205</link>
		<dc:creator>Nikolas Kyramarios</dc:creator>
		<pubDate>Thu, 30 Sep 2004 00:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-205</guid>
		<description>Well unfortunatelly it doesnt work. I guess I am stuck.
Strange thing is that from inside stattraq posts gets the correct id (and url) so I think my db is ok. Any ideas ?
Thanks for looking into it.

&lt;strong&gt;Rich writes:&lt;/strong&gt;Nikolas later contacted me by email to confirm that it&#039;s now working - and it sounds like it may have been a content-cacheing issue.  One other reason why it might appear to &quot;not work&quot; is if you&#039;re logged in on one browser, but anonymous on another, this will therefore show you the admin view (with the count) and the end user view (without the count) respectively.</description>
		<content:encoded><![CDATA[<p>Well unfortunatelly it doesnt work. I guess I am stuck.<br />
Strange thing is that from inside stattraq posts gets the correct id (and url) so I think my db is ok. Any ideas ?<br />
Thanks for looking into it.</p>
<p><strong>Rich writes:</strong>Nikolas later contacted me by email to confirm that it&#8217;s now working &#8211; and it sounds like it may have been a content-cacheing issue.  One other reason why it might appear to &#8220;not work&#8221; is if you&#8217;re logged in on one browser, but anonymous on another, this will therefore show you the admin view (with the count) and the end user view (without the count) respectively.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikolas Kyramarios</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-202</link>
		<dc:creator>Nikolas Kyramarios</dc:creator>
		<pubDate>Wed, 29 Sep 2004 22:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-202</guid>
		<description>Well, my site index.php is in www.kyramarios.gr/diary and my wp installation is at www.kyramarios.gr/wp
How should I edit the plugin and the command in order to get it to work ?
ps. Inside the stattraq stats (which work ok) the url of the blog is wrong. It points at the installation instead of the /diary/ directory
Please help.
Thanks

&lt;strong&gt;Rich writes: &lt;/strong&gt; following the comments of Jonathan and Nikolas, I&#039;ve had a look to see if things can be simplified and happily they can, so above you&#039;ll notice that the code is now &lt;strong&gt;&lt;span class=&quot;highlight&quot;&gt;version 0.0.2&lt;/span&gt;&lt;/strong&gt; - and the URL&#039;s are gone - the only thing you need to pass to the code now is the ID of the post and it does the rest - this should, i think, i hope, handle both the issues identified.  The new code works for me, so if anyone would care to try it &amp; give me a thumbs up/down would be most helpful.</description>
		<content:encoded><![CDATA[<p>Well, my site index.php is in <a href="http://www.kyramarios.gr/diary" rel="nofollow">http://www.kyramarios.gr/diary</a> and my wp installation is at <a href="http://www.kyramarios.gr/wp" rel="nofollow">http://www.kyramarios.gr/wp</a><br />
How should I edit the plugin and the command in order to get it to work ?<br />
ps. Inside the stattraq stats (which work ok) the url of the blog is wrong. It points at the installation instead of the /diary/ directory<br />
Please help.<br />
Thanks</p>
<p><strong>Rich writes: </strong> following the comments of Jonathan and Nikolas, I&#8217;ve had a look to see if things can be simplified and happily they can, so above you&#8217;ll notice that the code is now <strong><span class="highlight">version 0.0.2</span></strong> &#8211; and the URL&#8217;s are gone &#8211; the only thing you need to pass to the code now is the ID of the post and it does the rest &#8211; this should, i think, i hope, handle both the issues identified.  The new code works for me, so if anyone would care to try it &#038; give me a thumbs up/down would be most helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-204</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sat, 25 Sep 2004 12:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-204</guid>
		<description>The $url variable can be set much more efficiently as such :

$url=$_SERVER[&#039;PHP_SELF&#039;].&quot;?&quot;.$_SERVER[&#039;QUERY_STRING&#039;];

and then it doesn&#039;t need to be passed as a parameter to the function anymore.   Try it and tell me if it works for you.  It&#039;s ok with my permalink setup anyway...

&lt;strong&gt;Rich writes: &lt;/strong&gt; Thanks for the hint Jonathan - I&#039;ve tried this and got nothing so it may be down to having url rewriting on...  (it&#039;s off for me - hints anyone?)... or something.  In any case the way to use this would be outside the function so that it can still show the view count for multiple posts on a single page. ie. when i see my index page with the latest posts, i can also see the view count for every post - putting this in the function would stop me from doing that.</description>
		<content:encoded><![CDATA[<p>The $url variable can be set much more efficiently as such :</p>
<p>$url=$_SERVER['PHP_SELF'].&#8221;?&#8221;.$_SERVER['QUERY_STRING'];</p>
<p>and then it doesn&#8217;t need to be passed as a parameter to the function anymore.   Try it and tell me if it works for you.  It&#8217;s ok with my permalink setup anyway&#8230;</p>
<p><strong>Rich writes: </strong> Thanks for the hint Jonathan &#8211; I&#8217;ve tried this and got nothing so it may be down to having url rewriting on&#8230;  (it&#8217;s off for me &#8211; hints anyone?)&#8230; or something.  In any case the way to use this would be outside the function so that it can still show the view count for multiple posts on a single page. ie. when i see my index page with the latest posts, i can also see the view count for every post &#8211; putting this in the function would stop me from doing that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Foucher</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-203</link>
		<dc:creator>Jonathan Foucher</dc:creator>
		<pubDate>Sat, 25 Sep 2004 08:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-203</guid>
		<description>&lt;strong&gt;Wordpress and StatTraq&lt;/strong&gt;
StatTraq seems to be getting more popular. Another Wordpress plugin using it has been published by Rich Boakes. It gives the number of times that a particular post has been viewed, and is quite attractive. I think I&#039;ll be installing it. Also don&#039;t fo...</description>
		<content:encoded><![CDATA[<p><strong>WordPress and StatTraq</strong><br />
StatTraq seems to be getting more popular. Another WordPress plugin using it has been published by Rich Boakes. It gives the number of times that a particular post has been viewed, and is quite attractive. I think I&#8217;ll be installing it. Also don&#8217;t fo&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StatTraq &#187; Add Post View Counts To Your WordPress Page</title>
		<link>http://boakes.org/hacking-with-wordpress-and-stattraq/comment-page-1/#comment-201</link>
		<dc:creator>StatTraq &#187; Add Post View Counts To Your WordPress Page</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://boakes.org/hacking-with-wordpress-and-stattraq#comment-201</guid>
		<description>[...] d to display how many hits a post has gotten on the page, this plugin should do the trick: &lt;a href=&quot;http://boakes.org/index.php?p=94&quot;&gt;Extending StatTraq&lt;/a&gt;.  You could even tweak it to show up in the page even if the user is not logged in.  Very coo [...]</description>
		<content:encoded><![CDATA[<p>[...] d to display how many hits a post has gotten on the page, this plugin should do the trick: <a href="http://boakes.org/index.php?p=94">Extending StatTraq</a>.  You could even tweak it to show up in the page even if the user is not logged in.  Very coo [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

