LP Stats plugin

ludo, Friday 19 August 2005 13:39:25 PST

A couple of months ago, Jerome wrote a quick and dirty WP plugin to display the data logged to MySQL from our Stats plugin. We never got around to release it, always hoping to find the time to add some extra functionality. As time is always short, and lp-stats may be useful to some of you, I have decided to release it while Jerome is on vacation. :) It's not even an alpha release, but I have been using it for quite some time without any problems.

Readers' Comments

  1. Patrick Smith

    Hey Ludo,

    This looks cool; thanks for making it available.

    Maybe due to my inexperience with lp/wp, I'm not sure how to install it…

    I downloaded it and unpacked the lp-stats directory to my lp plugins directory, but didn't see anything. (probably foolishly), I moved the files from the lp-stats directory into the main plugin directory, and still nothing.

    Any suggestions?

    thanks,
    Patrick

  2. ludo

    I have it as wp-content/plugins/lp-stats. Maybe the permissions are off, make sure the lp-stats folder and its files are world readable…

  3. jerome

    To clarify, this is actually a WordPress plugin - just install it like any other WP plugin.

    The plugin only displays stats. To actually record stats, you need to activate the LightPress Stats plugin (included with the LP install) and make sure the stats block (PLUGIN_STATS) is included in your footer.

  4. Patrick Smith

    Great, Jerome, thanks. That makes sense.

    So here's what I've done:
    * Installed the WP plugin called LightPress Stats
    * Enabled it
    * Enabled the LP plugin called Stats
    * Called PLUGIN_STATS in my template's footer

    This may be a silly question, but where can I see the stats that are now being captured?

    thanks,
    Patrick

  5. Patrick Smith

    Yep, it was a silly question. I see the stats link in the toolbar now.

    doh.

  6. jerome

    Just a note that the plugin will only record hits for users which aren't logged in. That way you don't have to sort out which hits are your own. :)