Skip to:
Content
Pages
Categories
Search
Top
Bottom

Who’s Online

  • @phlux0r

    Participant

    Is there a way to show who’s online with BuddyPress (yet)? How easy/hard would it be to add this functionality?

Viewing 9 replies - 1 through 9 (of 9 total)
  • @gogoplata

    Participant

    As far as I know this plugin should work with BuddyPress, I know it works with WPMU 2.6.2.

    @phlux0r

    Participant

    Cheers, I’ll check it out :).

    @duanestorey

    Participant

    I’m adding similar functionality into the chat plugin I’m writing. Although I’m making it optional (like Facebook, where you have to put yourself online in order to be listed as online — although, once you’re in that state, you’ll register as online when you login). In fact, it’s currently the only feature that works right now :)

    @ibo123

    Member

    Is would be good for live chat….

    @gogoplata

    Participant

    There are also user online plugins for bbPress for those who have integrated forums and are looking for other alternatives, though the one I linked above definitely works with MU.

    I’m looking forward to the chat plugin duanestorey. I’ve hosted chat rooms before but it’d be nice to have one that ties into the MU/BuddyPress login system.

    @apeatling

    Keymaster

    The chat will be awesome. Also another option for simple “Who’s online” is to check for all users that have the usermeta of “last_activity” set for something within the last 5 minutes.

    Quite simple really:

    if ( time() <= strtotime( '+5 minutes', get_usermeta( USER_ID, 'last_activity' ) ) )
    // This user is online.
    else
    // This user is offline.

    @exchequer598

    Participant

    @apeatling

    So will this go into the release?

    @apeatling

    Keymaster

    I’ve made a “Who’s Online” widget, you can see it in the bottom right of: http://testbp.org

    @jaybee08

    Participant

    Hi Andy,

    Do we need to add that line of codes within the members loop?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Who’s Online’ is closed to new replies.
Skip to toolbar