TadeuszD
Forum Replies Created
-
Forum: Themes and Templates
In reply to: The loop showing "phantom" postsYour loop is always going through all posts in your blog. It’s normal that navigation links hits to all next/previous post without respect to your “show-category-filter”.
You can correct this usingquery_posts('category_name=Blog');before the loop to select posts only with specified category. No another “filters” inside the loop is needed…Forum: Plugins
In reply to: [hitcounter] [Plugin: hitcounter] Must be inside the loopHello, Tom.
Now the function fires on the_post.
A year has passed… I upgraded your plugin from 1.2 to 1.3 and I encountered an error.
In my page I use more than one post loop insingle.phptemplate. The first loop display the main post content, the second loop lists the titles of posts matching the category (for simple navigation only). In this case the plugin counts every post listed in template.
I corrected this error by replacingadd_filter('the_post', 'detectAgent')withadd_filter('the_content', 'detectAgent');Forum: Plugins
In reply to: [Plugin: hitcounter] Double CountHi,
About ‘theoretical problem’ – I wil check it again… I’ve tested many modification and it may be my fault. 🙁 Please, don’t disturb yourself about this problem at this time.About ‘reset counters’ – The great advantage of your plugin is the siplicity. In my opinion using AJAX for reset counters is like “using the cannon to kill the mosquito” (this is the polish idiom).
I’m thinking now… Reset counters option is only needed if we are generating many ‘false-views’ itself, while preparing and correcting posts. Instead of ‘reset’ option, you can add option which means “ignore users with security level greater than…”. This option will allow us to ignore our (admins or redactors) activity. What do you think about it?
Forum: Plugins
In reply to: [Plugin: hitcounter] Double CountHi, once again…
I’ve detected, that your plugin is gathering data for all posts, including deleted posts and revisions…I now, this is only theoretical problem. But I think, the option “Reset all counters”, by deleting all rows from hitcounter table, will be very usefull in this situation. 🙂
Forum: Plugins
In reply to: [Plugin: hitcounter] Double CountHi, Tom,
I just downloaded and installed your plugin. The plugin is very nice, simple and consumes a little resources. It is exactly, what I need! 🙂But I encountered the simple problem. The plugin don’t work with newest version of mySQL. In the ‘CREATE TABLE’ command you declare fields as ‘NOT NULL’, but function logCount don’t fill all corresponding fields. I correct this error by adding ‘DEFAUL 0’ to fields declaration.
Can you correct this problem in official version of your plugin?