Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show ”online” next to each member’s avatar?

  • Avatar of tjbrewers
    tjbrewers
    Participant

    @tjbrewers

    Hi Everyone,

    I want to show an indication next to each member’s avatar when they are online. I’d like to be able to do it without having to go through the while loop each time. I’d also like to add it to the Members page, i.e. in the members loop.

    I know I can access online status with bp_has_members( ‘user_id=0&type=online’ ). But how can I get at it within the bp_members() loop, i.e. at the bp_the_member level?
    $members_template->member->online or ????

    Thank you!

You must be logged in to reply to this topic.