WordPress.org

Ready to get started?Download WordPress

Forums

User status (8 posts)

  1. adamico
    Member
    Posted 6 years ago #

    Hello,

    i finding wordpress user status. I mean, that every user in public profile have a Online/Offline status indicator, that will indicate if is user login on or if is user logged out. Can you help me with this ?

  2. mikey1
    Member
    Posted 6 years ago #

    hi there, this might be of help.
    http://wordpress.org/extend/plugins/wp-useronline/

    Mike.

  3. adamico
    Member
    Posted 6 years ago #

    but it is not working in userĀ“s profile.. I would define, that if current user logged in, echo "Current user is online", and if cuttent user logged out, echo "Current user is offline"..

  4. 3stripe
    Member
    Posted 5 years ago #

    I'm looking for the same thing, I'd like to display just a single user's own status on a profile page....?

  5. ikikent
    Member
    Posted 5 years ago #

    I need the same thing. is there a way to do that? please

  6. kmaz
    Member
    Posted 5 years ago #

    Hi, I just wrote a plugin WP-ONLINE-STATUS that does that. It displays Online or Offline for every user on your WordPress blog. You can change the default texts in the admin and some others options.

    You can download it here

  7. asechrest
    Member
    Posted 5 years ago #

    @kmaz

    Just FYI, your plugin appears to conflict with the wp-useronline plugin by Lester Chan.

    The error is:

    Fatal error: Cannot redeclare useronline() (previously declared in /home/sechrest/public_html/wp-content/plugins/wp-useronline/wp-useronline.php:86) in /home/sechrest/public_html/wp-content/plugins/WP-Online-Status/WP-online-status.php on line 122

    It appears both plugins declare a useronline() function.

    I changed the name of your function and the add_action() call that uses it as well, and it at least allowed me to activate the plugin. Haven't yet tested functionality.

  8. asechrest
    Member
    Posted 5 years ago #

    @kmaz

    The plugin doesn't appear to be working for me, though it's late and I'm awfully tired. No online/offline status shows after inserting the given line of code in my comment loop. I'll give it another go tomorrow.

Topic Closed

This topic has been closed to new replies.

About this Topic