These are some readers' responses. Read the full article to see what all the fuss is about.
-
Popular
Categories
- .Net & C# (1)
- Architecture (3)
- C++ (5)
- Coding (4)
- Copyright, etc. (3)
- HTML/CSS (2)
- Java (14)
- JavaScript (6)
- JUnit (3)
- Recommendations (9)
- Risks (8)
- Software projects (2)
- SQL (4)
- Testing (6)
- Tools (5)
- Usability (1)
- Web (5)
- Web publishing (16)
- Windows (1)
- WordPress (27)
586 responses
Other comment pages: « 1 … 5 6 7 8 9 [10] 11 12 13 14 15 … 30 »
Search Meter 2 is out now. The main new feature is that it tracks all recent searches as well as summaries. There are also many small tweaks and improvements. Let me know how you get on with it.
Just a small hack… Personally it interested me to not have the searches from both myself and other registered users included, which can be accomplished like this:
Find
function tguy_sm_save_search(&$posts) {
Change:
————
if (is_search()
&& !is_paged() // not the second or subsequent page of a previuosly-counted search
&& !is_admin() // not using the administration console
&& ($_SERVER['HTTP_REFERER'] || $tguy_sm_allow_empty_referer) // proper referrer (otherwise could be search engine, cache…)
) {
————–
To:
————–
if (is_search()
&& !is_paged() // not the second or subsequent page of a previuosly-counted search
&& !is_admin() // not using the administration console
&& !is_user_logged_in() // not a logged in user
&& ($_SERVER['HTTP_REFERER'] || $tguy_sm_allow_empty_referer) // proper referrer (otherwise could be search engine, cache…)
) {
————–
I’d rather have it cut off at a user level of “author” or higher, which you can probably do by replacing
&& !is_user_logged_in() // not a logged in user
with
&& !current_user_can(’publish_posts’) // user can not publish
I haven’t noticed problems with either setup yet.
Very Nice plugin. thanks a lot for the same.
First: thanks for your great plugin!
I downloaded the latest version 2.0, installed and activated and working… but…
As a few others in these comments, I have the problem that every search gets counted multiple times: two times instead of one! I read that that problem was solved in this version 2 but in my case not
Use WP 2.0.5 and a few other plugins. Or it might be the theme that is causing this problem?
Let me know (by e-mail) if I can help you with more information about my setup!
where does it store the logged information? is there a way to clear it as i woulnt want to have it build up a massive log that i cant delete
Rirath, a few others have asked for similar tweaks. If I can decide what the most sensible defaults should be, I will probably make similar changes. Thanks for that.
Christianity, just go to your Options screen in WordPress and click Search Meter. THere’s a big button that will clear all of your Search Meter statistics. And just so you know, Search Meter normally keeps up to 30 days of summary statistics and 600 recent searches.
Ravan, sorry to hear about that problem. For you and anybody else who sees this, here’s how to send me some useful information to help fix this problem:
That should give me enough information to investigate. I’ll get back to you and let you know what I discover.
Version 2.0? Awesome! Thanks.
Search Meter 2.1 is out now. And paint me red and slap me silly if the “duplicate search” problem isn’t finally fixed! Please download and enjoy.
Ok, I’m still kinda new to Wordpress, but how do I download the plugin file? When I click on the link it just opens a new page.
Paul, right-click the link and choose “Save link as” or “Save target as” from the menu. (The exact method may be different depending on your computer and Web browser.) Save the file as “search-meter.php”. When I have time I will update the instructions.
Other comment pages: « 1 … 5 6 7 8 9 [10] 11 12 13 14 15 … 30 »