Search Meter: a WordPress plugin

These are some readers' responses. Read the full article to see what all the fuss is about.

554 responses

Other comment pages: [1] 2 3 4 5 6 7 8 9 10 1128 »

  • Trackback | Search Meter: a WordPress plugin » semicolon | 27 August 2005
    [...] For details and download, see the main Search Meter page. [...]
  • Trackback | Read your readers’ minds » semicolon | 29 August 2005
    [...] So, how do you do this? There are several ways, depending on your blogging setup. If you use WordPress, there’s a plugin called Search Met[...]
  • Thanks for the great plugin - I made 2 small changes to it, though -

    1) added ,1 to the ORDER BY in tguy_sm_stats_table so that the terms would be alphabetized after they were sorted by decreasing hits. I’d noticed that I was showing different results between the 3 queries (1 day, 7 days, 30 days), and just wanted to tidy them up a bit when they all held the same results.

    2) I moved the plugin from the options page to the dashboard, as I felt that since this was an information-only page and didn’t have any options to set that it would be better placed with other information-only pages.

    function tguy_sm_add_admin_page() {
    // if (function_exists('add_options_page')) {
    // add_options_page('Search Meter', 'Search Meter', 8, basename(__FILE__), 'tguy_sm_options_page');
    // }
    // 09/06/05 GK - move it from options page to dashboard, since it's an informational display only
    add_submenu_page('index.php', 'Search Meter', 'Search Meter',1, __FILE__, 'tguy_sm_options_page');

    }

    Thanks again!

    kaufman | 7 September 2005
  • Kaufman, thanks very much for your comments. Your order by tweak is simple but effective — I should have thought of it myself. And I did consider putting the Search Meter stats in the Dashboard, but I personally don’t like using the Dashboard because the main Dashboard page takes too long to load! (It’s all those RSS feeds I suppose.)

    However, I think you are right; it is a more logical place to put it. I know there are plugins that can change the Dashboard main page so it’s not so slow — maybe I should use one.

    I have updated the plugin to incorporate these suggestions. I’ve credited you in the source, so if Search Meter becomes famous then you will too!

    Bennett | 8 September 2005
  • Cool, thanks, Bennett!

    I agree about the dashboard taking too long to load - I’ve gotten to where I just have bookmarks for the different sections that I need - that way I rarely have to actually HIT the dashboard itself. (For instance, I also use a modified version of Short-Stat, which sits on the dashboard as well. ) Perhaps an upcoming WP release would allow us to turn off the RSS feeds. I’ve seen some plugins to do that, also, but it looks like you have to modify the page itself. I’m still rather new to WP, so I don’t want to change too much of the core pages as I’m not yet clear on how those modifications will carry over during WP upgrades.

    kaufman | 8 September 2005
  • Trackback | euphoricreality.net | 11 September 2005
    Fixing Up the Place Some of you that come often may have noticed two things. First, I’m lazy about blogging today. Second, [...]
  • Trackback | Basic Thinking Blog » WP Plugin: Searchmeter | 11 September 2005
    [...] via den Suchmaschinen, wäre es superb. Tags: WP Plugin, Wordpress, SearchMeter | Permalink | Trackback-URL  [...]
  • Trackback | Betamode | 11 September 2005
    Wordpress-Plugin: Search Meter Search Meter sammelt die Suchbegriffe die in der Suchbox von Wordpress eingegeben werden. Robe[...]
  • Hi Bennett,

    The Search Meter is a great tool to have, it’s one of the first plugins I installed. I do have 1 question though: Can we purge search results and start over?

    And as to your aversion to dashboard because of all the feeds, you should consider installing this hack, it makes the dashboard a lot more useful without all the fat: WordPress 1.5 (1.5.1 and 1.5.2) Hack: How to trim the fat resource hogging Admin DashBoard (Version 2)

    [Edited on 18 September by Bennett: edited the link above to fit on the screen]

    Darrell D. | 18 September 2005
  • Darrell, that’s an excellent idea. Currently the only way to purge the stats is to wait 31 days for al the stats to age. So you need to be patient. :)

    However, I realise that in today’s fast-moving world we need instant results, so I will add a Search Meter options page with a “Reset statistics” button. I very much hope I will have time to do this sometime this coming week.

    Bennett | 18 September 2005
  • Hi Bennet,

    Firstly, great plugin - it’s going to be really handy.

    One question I have, is how easy do you think it would be to make it so that you can list all the succesfull most recent searches made on the site in your sidebar and link through to those results?

    Where is the data pulled from? Is there a simple output query I could add to the sidebar to get the list?

    Cheers

    Oliver

    Oliver | 22 September 2005
  • Oliver, I think that would be fairly easy. Search Meter saves search information to its own database table. I’ll see if I can find the time to add a “popular searches” template tag — a nice idea.

    Bennett | 24 September 2005
  • One little suggestion : replace every <? with <?php and avoid PHP’s short syntax like <?=$a?> to ensure maximum compatibility on any PHP enabled webserver.

    Ozh | 26 September 2005
  • Thanks Ozh, that is something I should really do. I am probably not as careful as I should be about this sort of thing — I do avoid PHP 5+ and MySQL 4.1+ features, but other than that, the code only works if you’re fairly current and have all the bells and whistles on (like short PHP tags). I have added this task to my steadily lengthening list.

    Bennett | 26 September 2005

Other comment pages: [1] 2 3 4 5 6 7 8 9 10 1128 »

Post your comment | RSS feed for comments
Close
E-mail It