Online Users - Profile Page & Member Directory Setup

Overview

This document provides instructions on how to set up the online users plugin on the user's profile page. With this extension, you can display the user's online status and last login on their profile page. It will also show a green circle next to the user's name to indicate that the user is online. The extension also allows the users to enable or disable their online status.

Setup in Profile Page

Go to wp-admin> Ultimate Member> Forms> Edit Profile Form. Click on the plus "+" sign button to add a field to the form builder.


Once the Fields Manager window appears, select the Online Status from the predefined fields.

After selecting the predefined field, go to the User Meta side menu bar and click on the Add New Field button, select Online Status from the drop-down menu. 

The plugin also shows the user's last activity date or last login on their profile page, with the same steps as above, select "Last Login" from the predefined fields in the Fields Manager.

Add a new field in the User Meta section and click on the Update button to save changes.

You can now see the green circle next to the user's profile name, the online status, and last login in the profile page form.

Privacy Setup

Users can enable or disable their online status from the privacy tab on the account page.

Setup in Member Directory

To display the online status or the green circle in the member directory, go to  wp-admin> Ultimate Member> Settings> Extensions> Online.

Click on the check box to show the online stats in the member directory and save changes.