Ultimate Member Dashboard

Overview

You will find the Dashboard page if you navigate to  wp-admin > Ultimate Member > Dashboard in the WordPress side menu. This page provides a comprehensive overview of key data and tools within the Ultimate Member plugin. Here's a breakdown of what you can see and manage:

1. Users Overview

This section displays key information about your users, including their various statuses (e.g., active, pending, blocked). Each status includes a count showing how many users fall into that category. It helps you quickly understand the state of user registrations and profiles on your site. Here’s what each status means:

  • Users: This shows the total number of users currently registered on your website. It provides a glance at how many people have accounts on your site.
  • Pending Review: This count shows the number of users who have registered but are waiting for admin approval before they can access their accounts. You can click on this status to review and approve or reject users.
  • Approved: The number of users whose registrations have been approved by the admin and who have full access to their accounts and site features.
  • Awaiting Email Confirmation: This displays the number of users who have registered but have not yet confirmed their email addresses. These users are often pending activation and will need to verify their email before they can complete the registration process.
  • Rejected: The count of users whose registrations have been denied by the admin. These users cannot log in or access their accounts, and you may wish to review these profiles to understand why they were rejected.
  • Inactive: This number represents users who have not logged in or engaged with the site for a certain period or users whose accounts have been set to inactive. Admins may wish to review these users for potential re-engagement or cleanup.

Clicking on any of these statuses will redirect you to the Users Page, where you can view detailed information about users in that specific status and take further action, such as approving, rejecting, or contacting them.

2. Upgrade's Manual Request

In this section, you can manually check for the latest updates to Ultimate Member extensions. By clicking on the "Get Latest Versions" button, the system will query the Ultimate Member servers to ensure your extensions are up-to-date. This feature is useful if you need to quickly verify you're running the latest versions or if automated updates are not functioning as expected.

3. User Cache

Ultimate Member utilizes a  user cache system to improve performance. When users update their profiles or when new users register, UM caches their data. Instead of querying the database multiple times for each user meta field (e.g., name, email, or custom fields), the plugin fetches all user data from a single cache entry. This reduces the load on your database and speeds up page loads.

However, the cache only updates under certain conditions:

  • Manual Cache Clearing: You can manually clear the cache using the "Clear Cache of (n) Users" button in the User Cache section. This is useful if you're experiencing data inconsistencies or have made programmatic changes to user data.
  • Automatic Cache Update: The cache will update automatically when a user submits a change through their profile or account form (e.g., when they edit their personal information).
  • Programmatic Cache Update: If you are updating user data programmatically through code (e.g., using the update_user_meta() function to change user information), the cache is not automatically refreshed. This means the updated user information will not be reflected until the cache is manually cleared.

    To clear the cache for a specific user after making programmatic changes, you must use the following code snippet:  UM()->user()->remove_cache( $user_id );

4. Purge Temp Files

When users upload files via forms (such as profile pictures or document uploads), those files are first stored in a temporary folder. Once the form is successfully submitted, the files are moved to the appropriate user's folder. However, if the upload process is cancelled or interrupted, leftover files remain in the temp directory or folder:  content//wpuploads/ultimatemember/temp/.

The " Purge Temp Files" button allows you to clean up these abandoned temporary files. This is important for maintaining server storage efficiency and ensuring your system isn't bogged down by unnecessary data. If the temp uploads directory is already clean, the "Purge Temp Files" button will not be displayed. Instead, you will see a message stating: "Your temp uploads directory is clean. There is nothing to purge."