Online Users Setup
Overview
This document provides instructions on how to set up the extension Online Users
Contents:
Settings #
Once the extension is activated, it adds a tab in Ultimate Member Extension Settings. Go to wp-admin>Ultimate Member> Settings> Extensions> Online. Enable or disable online status in the member directory.
Shortcodes #
[ultimatemember_online] #
This shortcode displays online members.
The shortcode attributes:
Key | Type | Default | Description |
max | integer | 11 | Maximum amount of members shown on a one screen. |
roles | string | 'all' | Filters members by user roles. |
Example:
[ultimatemember_online max="6" roles="administrator,subscriber"]
Sidebar Widget #
The extension adds an online users widget which you can add to your sidebar and/or footer. The widget allows you to add a title, select the maximum number of profile photos to show in the first view (default is 20). If more than 20 (if the default is used) users are online users will have to click the text link to reveal the other users. You can select to show all user roles or only one role.
Go to wp-admin> Appearance> Widgets
Click on the plus sign button to add a widget, search online, and select online users. Click the Update button to save changes.
User Profile #
The extension adds a green circle next to the user’s name on their profile if the user is online.

The extension also adds an online user field to the plugin which allows you to display the user’s online status in the user meta section of the profile. Go to wp-admin> Ultimate Members> Forms>Edit Profile Form.
In the Form Builder, click the plus "+" sign button to add a field. The Fields Manager window will appear, select the Online Status from the predefined fields. Click on the Update button to save changes.
User Privacy #
The extension adds an option to the privacy tab on the user account page so users can decide if they want other users to know when they are online or not.