{jrUser_online_status}

Applies to: Jamroom 7.0+ Last verified: 2026-10-24
  • jrUser_online_status

    Function
    jrUser_online_status
    parameter
    type
    default
    required
    description
    profile_id
    int
    -
    off
    Show the users linked to this profile
    user_id
    string
    -
    off
    A user ID, or several separated by commas
    template
    string
    -
    off
    A .tpl file in the skin for each user row, or template code
    seconds
    int
    900
    off
    A user active within this many seconds counts as online
    assign
    string
    -
    off
    Put the result in this variable instead of showing it

    Shows whether users are online. Give profile_id or user_id. The status is loaded in the background, so the page itself stays cached.

    {jrUser_online_status profile_id=$_profile_id}
  • Each user is shown with the Users module's online_status_row.tpl, or your template. To change the outer container, override online_status.tpl in your skin as jrUser_online_status.tpl. Elastic 2 does this. See Altering a Module's Template.

Tags