Skip to:
Content
Pages
Categories
Search
Top
Bottom

Who’s Online

  • Profile photo of Phlux0r
    Phlux0r
    Participant

    @phlux0r

    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)
  • Profile photo of Gogoplata
    gogoplata
    Participant

    @gogoplata

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

    Profile photo of Phlux0r
    Phlux0r
    Participant

    @phlux0r

    Cheers, I’ll check it out :).

    Profile photo of Duane Storey
    Duane Storey
    Participant

    @duanestorey

    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 :)

    Is would be good for live chat….

    Profile photo of Gogoplata
    gogoplata
    Participant

    @gogoplata

    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.

    Profile photo of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    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.

    Profile photo of Exchequer598
    exchequer598
    Participant

    @exchequer598

    @apeatling

    So will this go into the release?

    Profile photo of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

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

    Profile photo of jaybee08
    jaybee08
    Participant

    @jaybee08

    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