bbPress

Simple, Fast, Elegant

bbPress plugin browser »

Mini Track (0.1.6)

Download

Version: 0.1.6

Last Updated: 2008-8-16

Requires bbPress Version: 0.9 or higher

Compatible up to: trunk

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4)

Your Rating

Author: _ck_

A simple way to count and track both members and non-members as they move around your forum. Now automatically shows online status in posts and last online time in profiles and can detect most bots.

This plugin now inserts itself into the footer automatically, no template edits required unless you want custom placement. You can see the real-time tracking at your-forum-url.com/?mini_track_display

If you upgrade from an old version you need to use the RESET link in the tracking display.


  1. Gets 5 stars from me, good job!

    Posted: 1 month ago #
  2. Note the method this plugin uses, indexing by plain IP only, has some limitations. If you get more than one person from one IP, only one person will be tracked. If you run bbPress on an intranet or multiple people often visit from the same proxy like a school, this makes it useless.

    If it's a problem for anyone, you could take the md5 of the IP plus the User Agent plus any proxy headers and use that as an index instead. I didn't do that by default because it would be considerably slower and doubles the size of the key (and serialized string).

    I'll include that technique starting with version 0.0.2 but it will be disabled by default (commented out). You'll have to enable it if you need it.

    This is not an issue with the full User Track plugin.

    Posted: 1 month ago #
  3. How will this effect showing the names? Will it show all names from that "same" ip or just 1?

    Posted: 1 month ago #
  4. If you are worried, just switch the code to the alternate method. I may even make the alternate method the default once I figure out how to speed it up a bit.

    Posted: 1 month ago #
  5. Version 0.0.4 and newer now shows online status in posts and will also show last online access in the profile.

    If you are upgrading from an older version you need to hit the reset link once in the upper right on the tracking display page to clear the old data which is not compatible.

    Posted: 1 month ago #
  6. csseur3

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    "Now shows online status in posts and last online time in profiles"

    but how, what is the code to add?

    ++

    Posted: 1 month ago #
  7. There is no code to add, it's completely automatic and done for you. Starting in 0.0.6 the options are now more clearly labeled at the top of the plugin so you can edit there until an admin menu is made.

    0.0.7 should appear here shortly with more feature.

    Remember to RESET the data via the link in the corner of the real-time display panel if you are upgrading from a previous version.

    Posted: 1 month ago #
  8. csseur3

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    but i have nothing ine the posts page :(, i have only "admin
    Key Master" for example. the plugin show only informations in my front-page for the moment :(

    Posted: 1 month ago #
  9. Make sure you are using the newest version and that the setting at the top for front_page_only=false

    Posted: 1 month ago #
  10. csseur3

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    yes, i have this, so, in profile page, i have this error:

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/toto/bbpress/bb-plugins/mini-track.php on line 138

    Posted: 1 month ago #
  11. If you are using a custom template with fully intergrated WordPress, make sure you have a do_action('bb_foot'); in your footer.php See the built in kakumei template for an example.

    I'll fix that array_key error shortly.

    Posted: 1 month ago #
  12. csseur3

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    yes, i have this like:

    <?php do_action('bb_foot', ''); ?>

    </body>
    </html>

    Posted: 1 month ago #
  13. Try 0.0.8 and let me know what happens.

    Posted: 1 month ago #
  14. csseur3

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    the informations are correct in the front-page, but there is a little problem:

    - if i want to display the informations in the front-page, post and profile, i put $mini_track_options['automatic_in_footer'] in false or true? Put to false show always in all the pages.

    - in the posts page, i want only to show the online statut (in the profile under the avatar), but this doesn't work, so it is not automatic ?

    so, for the reset function, i have this:

    Warning: array_reverse() [function.array-reverse]: The argument should be an array in /home/toto/bbpress/bb-plugins/mini-track.php on line 127

    thanks,
    and sorry for my bad english :p

    Fred

    Posted: 1 month ago #
  15. The online status in profile will always work regardless of the footer setting.

    $mini_track_options['automatic_in_footer'] =true; means you want it to show at the bottom without having to edit your footer.php template.

    I'll fix the reset in the next version.

    Posted: 1 month ago #
  16. Tjee how a small request grows so fast in a great plugin :) Verion 0.0.8 already!! Din't expect that it would be wanted this much :)

    Keep up the good work!

    Posted: 1 month ago #
  17. It's grown much faster than I thought I'd be willing to put into it, but it was tempting.

    I ported some stuff from the full User Track too. In fact I'll probably make a hybrid of this since I put in some improved ideas into it over User Track.

    Coming soon will be "members online today" (handy for less busy forums) and summary stats like 522 posts in80 topics over 16 months by 103 of 564 members. Latest members: blah blah blah

    I'll also allow custom formatting where you make up your own phrasing and just insert the variables where you want.

    Last but not least I'll add geoip to this eventually, but that will require some complex code for database updating.

    For those that like this plugin, donate to keep development going...

    Posted: 4 weeks ago #
  18. Horray! Thanks for this plugin _ck_ - I've been wanting to get this on my forum for months now! Works exactly as described - I've only found one issue/bug(?) - one of my members (who signed up as I was installing the plugin) is listed multiple times in the list. Will the problem clear itself when the data refreshes?
    Thanks!

    Posted: 3 weeks ago #
  19. Yes, or you can use the RESET in the upper right to clear the data.

    They shouldn't show up twice, I put in code to clear the old listing when they login. I wonder if registration bypasses the login process and just gives them the cookie without a login.

    Posted: 3 weeks ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.