<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: more StatTraq patches</title>
	<link>http://wp.sieker.info/more-stattraq-patches</link>
	<description>Wordpress Plugins and information</description>
	<pubDate>Sun, 05 Jul 2009 00:03:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: PG</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-182527</link>
		<author>PG</author>
		<pubDate>Sat, 01 Nov 2008 03:40:52 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-182527</guid>
		<description>Hi.

Any thoughts on why after an upgrade to the current version of Wordpress (2.6.3), the Stat Traq plugin would redirect to Wordpress login screen? To be clear: I log in to WP as usual, then click on Stat Traq to view stats, and am redirected to the WP login screen. FWIW, from that point, entering the password just relaunches the redirect, creating a loop. 

Many thanks,
PG</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>Any thoughts on why after an upgrade to the current version of Wordpress (2.6.3), the Stat Traq plugin would redirect to Wordpress login screen? To be clear: I log in to WP as usual, then click on Stat Traq to view stats, and am redirected to the WP login screen. FWIW, from that point, entering the password just relaunches the redirect, creating a loop. </p>
<p>Many thanks,<br />
PG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adsworth</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-150</link>
		<author>adsworth</author>
		<pubDate>Sat, 26 Feb 2005 14:34:47 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-150</guid>
		<description>Hi Jenn,

when a category is clicked it will show up as Mixed that's expected behaviour. The problem was that the category hits were filed under a page hit and not Mixed.

Regards  
&#160;&#160;&#160;adsworth</description>
		<content:encoded><![CDATA[<p>Hi Jenn,</p>
<p>when a category is clicked it will show up as Mixed that&#8217;s expected behaviour. The problem was that the category hits were filed under a page hit and not Mixed.</p>
<p>Regards<br />
&nbsp;&nbsp;&nbsp;adsworth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenn</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-149</link>
		<author>Jenn</author>
		<pubDate>Sat, 26 Feb 2005 14:31:24 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-149</guid>
		<description>I tried the fix recommended for Paul and it didn't help.  I'm looking at 1000 undefined hits to "Mixed" rather than the Category (which is also the page title).   Anything else I can do?</description>
		<content:encoded><![CDATA[<p>I tried the fix recommended for Paul and it didn&#8217;t help.  I&#8217;m looking at 1000 undefined hits to &#8220;Mixed&#8221; rather than the Category (which is also the page title).   Anything else I can do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MacManX.com  &#38;raquo; Blog Archive   &#38;raquo; Stat Wars</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-145</link>
		<author>MacManX.com  &#38;raquo; Blog Archive   &#38;raquo; Stat Wars</author>
		<pubDate>Thu, 24 Feb 2005 06:18:38 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-145</guid>
		<description>-house of WordPress stats, but is not functional in WordPress v1.5 without the addition of a few hacks.  Randy is currently taking suggestions for the next version of StatTraq and is planni [...]</description>
		<content:encoded><![CDATA[<p>-house of WordPress stats, but is not functional in WordPress v1.5 without the addition of a few hacks.  Randy is currently taking suggestions for the next version of StatTraq and is planni [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adsworth</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-144</link>
		<author>adsworth</author>
		<pubDate>Wed, 23 Feb 2005 14:33:39 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-144</guid>
		<description>Hi Paul,

In stattraq.php, which is in wp-content/plugins.
Replace this:
        } elseif (isset($wp\_query) == true) {
                $article\_id = $wp\_query-&gt;get\_queried\_object\_id();
        } else {
with this:
        } elseif (isset($wp\_query) == true) {
            if($wp\_query-&gt;is\_page == true &#124;&#124; $wp\_query-&gt;is\_sinlge == true )
                $article\_id = $wp\_query-&gt;get\_queried\_object\_id();
            else
                $article\_id = 0;
        } else {

Regards
 adsworth</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>In stattraq.php, which is in wp-content/plugins.<br />
Replace this:<br />
        } elseif (isset($wp\_query) == true) {<br />
                $article\_id = $wp\_query->get\_queried\_object\_id();<br />
        } else {<br />
with this:<br />
        } elseif (isset($wp\_query) == true) {<br />
            if($wp\_query->is\_page == true || $wp\_query->is\_sinlge == true )<br />
                $article\_id = $wp\_query->get\_queried\_object\_id();<br />
            else<br />
                $article\_id = 0;<br />
        } else {</p>
<p>Regards<br />
 adsworth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-143</link>
		<author>Paul</author>
		<pubDate>Wed, 23 Feb 2005 00:59:59 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-143</guid>
		<description>Sorry for the messed up italics; read any change in italics as a missing underscore.</description>
		<content:encoded><![CDATA[<p>Sorry for the messed up italics; read any change in italics as a missing underscore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-142</link>
		<author>Paul</author>
		<pubDate>Wed, 23 Feb 2005 00:58:12 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-142</guid>
		<description>Thanks for the good work on the plugin!

However, I'm having a problem with categories, on a pretty standard installation of 1.5. StatTraq is reading calls to category pages as calls to normal pages, but with article_id set to the category_id.

As an example: I'm using permalinks, but Stattraq correctly tracks the un-permalinked links. So my query to page (as stored in the database):
/blog/index.php?category_name=technology-and-science/
has article_id=4

This is as opposed to an actual page view:
/blog/index.php?year=2005&#038;monthnum=02&#038;day=10&#038;name=togo-any-chance-of-a-insert-suitable-word-revolution&#038;page=
article_id=33

Now it seems to me that this is asking for quite a major expansion: tracking category views. This could be done by using negative article_id's for when they are actually category_ids, and then updated the page views code in the rest of the package. Otherwise, of course, a new SQL column could be added.

Does this sound about right?</description>
		<content:encoded><![CDATA[<p>Thanks for the good work on the plugin!</p>
<p>However, I&#8217;m having a problem with categories, on a pretty standard installation of 1.5. StatTraq is reading calls to category pages as calls to normal pages, but with article_id set to the category_id.</p>
<p>As an example: I&#8217;m using permalinks, but Stattraq correctly tracks the un-permalinked links. So my query to page (as stored in the database):<br />
/blog/index.php?category_name=technology-and-science/<br />
has article_id=4</p>
<p>This is as opposed to an actual page view:<br />
/blog/index.php?year=2005&#038;monthnum=02&#038;day=10&#038;name=togo-any-chance-of-a-insert-suitable-word-revolution&#038;page=<br />
article_id=33</p>
<p>Now it seems to me that this is asking for quite a major expansion: tracking category views. This could be done by using negative article_id&#8217;s for when they are actually category_ids, and then updated the page views code in the rest of the package. Otherwise, of course, a new SQL column could be added.</p>
<p>Does this sound about right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-141</link>
		<author>Jamie</author>
		<pubDate>Tue, 22 Feb 2005 07:14:45 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-141</guid>
		<description>This is a great patch!  I am really enjoying it, however, when I cick on "Info" next to a the "whois" lookup the popup window shows only:

"
Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream: No such file or directory in /home/semiocl/public_html/wp-stattraq/access_detail.php on line 7

Fatal error: main(): Failed opening required 'ABSPATH/wp-admin/admin-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/semiocl/public_html/wp-stattraq/access_detail.php on line 7"

Any ideas?</description>
		<content:encoded><![CDATA[<p>This is a great patch!  I am really enjoying it, however, when I cick on &#8220;Info&#8221; next to a the &#8220;whois&#8221; lookup the popup window shows only:</p>
<p>&#8221;<br />
Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream: No such file or directory in /home/semiocl/public_html/wp-stattraq/access_detail.php on line 7</p>
<p>Fatal error: main(): Failed opening required &#8216;ABSPATH/wp-admin/admin-functions.php&#8217; (include_path=&#8217;.:/usr/lib/php:/usr/local/lib/php&#8217;) in /home/semiocl/public_html/wp-stattraq/access_detail.php on line 7&#8243;</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adsworth</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-111</link>
		<author>adsworth</author>
		<pubDate>Fri, 04 Feb 2005 08:18:05 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-111</guid>
		<description>Hi J.,

it doesn\'t count clicks in the WP Admin panel, but normal browsing in the blog even if you are logged in as admin will get counted. But that\'s a nice idea for an addition.

Regards
   adsworth</description>
		<content:encoded><![CDATA[<p>Hi J.,</p>
<p>it doesn\&#8217;t count clicks in the WP Admin panel, but normal browsing in the blog even if you are logged in as admin will get counted. But that\&#8217;s a nice idea for an addition.</p>
<p>Regards<br />
   adsworth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. Livingston</title>
		<link>http://wp.sieker.info/more-stattraq-patches#comment-110</link>
		<author>J. Livingston</author>
		<pubDate>Thu, 03 Feb 2005 20:22:48 +0000</pubDate>
		<guid>http://wp.sieker.info/more-stattraq-patches#comment-110</guid>
		<description>Hey, adsworth.  Thanks for contributing to stattraq.  I really enjoy the plugin.

Do you know if there is a way to keep stattraq from counting traffic from the administrator?  I thought it did that by default, but it counts my own clicks on posts and the main page.</description>
		<content:encoded><![CDATA[<p>Hey, adsworth.  Thanks for contributing to stattraq.  I really enjoy the plugin.</p>
<p>Do you know if there is a way to keep stattraq from counting traffic from the administrator?  I thought it did that by default, but it counts my own clicks on posts and the main page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
