Support » Plugins » Who is Online?

  • Is there anyway WP hack to see who if anyone is currently at your site? You know – Who’s online type setup?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Mark (podz)


    Support Maven

    I’m fairly sure this is not what you mean in some ways, but I’ve found this script very useful.
    It tracks the following:
    Date, ip, browser, processor, JavaScript Disabled, screen dimensions, color depth, referrer, cookies supported.
    It’s very simple to install too.
    Could be useful ?

    @rupe: I had done it in b2 before and I will be porting it over soon when I have the time. =D

    I have a solution. Check out

    hey LL, why not use $wpdb instead of php’s mysql functions?

    I could, it is just to make it cross application compatible.

    oh i see. =D

    Yeah, you can use the referer library mentioned elsewhere for this same purpose, just add the query function to find last accesses by time. You could also potentially stash the user’s ID if they were logged into your site, and with that display names..
    On the last point, I actually have significantly updated the refererLib code on my site, including the use of $wpdb specificially to prevent any chance of opening a second connection the to SQL server — not wanting to count on the mysql fns to do so. I agree with the desire to keep things cross-app-compatible, yet for actual release I’d hate to have a half-dozen connections to my sql server (which isn’t the same box at my hosting site as it is on my home test box!)…

    Thanks for all the help folks.
    One question LL…how do you make the text that shows up obey the regular font structure of your CSS file? In other words how do I make “There are 100 users Online” a certain size and color font to blend in with the rest of my site?

    Mark (podz)


    Support Maven

    You need to encase the code in a div.
    <div class=”XXX”>
    put your online code calls here
    Go to your site, select ‘View Source’ and scroll through it to see which font you want, and which div class covers that, then copy that to the above.
    That make sense ?

    Sorry about that Rupe. The thread got lost 🙂 podz answer above should work.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Who is Online?’ is closed to new replies.