Skip to:
Content
Pages
Categories
Search
Top
Bottom

Online / Offline user status


  • siomer
    Participant

    @siomer

    I have one problem. I try to get user status for bbp-reply-author div.

    I get user registration date and replies from all forums but also i would like to have user status if he is online or offline.

    http://tinyurl.com/qyxul3j

    Thanks for any help!

Viewing 1 replies (of 1 total)

  • Robin W
    Moderator

    @robin-w

    is_user_logged_in()

    is the function you want

    $user = ( bbp_get_reply_author_id( $reply_id )) ;
    will get you the username, so probably
    is_user_logged_in($user) should get you there

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.