Fluent Forms - The Fastest WordPress Form Builder
Fluent Forms - The Fastest WordPress Form Builder Original price was: Rs24,518.00.Current price is: Rs410.00. for 1 year
Back to products
Basic Membership Rs820.00 for 1 month

Member Directory and Profile Pages – Paid Memberships Pro

tick Recently Updated  tick Well Documented

Member Directory and Profile Pages

Enhance your membership site with a public or members-only searchable directory and customizable member profile pages.

Original price was: Rs20,254.00.Current price is: Rs410.00. for 1 year

  • 100% Original Product and Virus Free.
  • Regular Update. 
Payments Method elements keys
7 Items sold in last 24 hours
Last Update Date: December 26, 2023

Description

Member Directory and Profile Pages

Enhance your membership site with a public or members-only searchable directory and customizable member profile pages.

This is a  Plus Add On.

Plus Add Ons are included in all Plus or higher premium membership plans.

Screenshot of a Member Directory with a Pricing Table and Buy Button

 

Add value to your membership, foster community, and build connections through member directories and listings. This Add On allows you to create a customizable Member Directory and individual Member Profile pages.

  • Member Directory Page: Dynamically lists members, presents essential profile information, avatars, and direct links to the individual Member Profile pages.
  • Member Profile Page: Highlights a specific member’s information. Customize the profile display with no-code User Fields to create a useful resource for each member that encourages exploration, interaction, and even generates business opportunities.
  • Customization Options: Build your Member Directory to fit your unique vision and set up specific visibility and access rules. Use the built-in WordPress blocks or shortcodes to arrange and display the directory, member profiles, and included user profile data based on membership level.

Installation

You must have the Paid Memberships Pro plugin installed and activated with a valid license type to use this Add On.

  1. Navigate to Memberships > Add Ons in the WordPress admin.
  2. Locate the Add On and click “Install Now”.
    • To install this plugin manually, download the .zip file above, then upload the compressed directory via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
  3. Activate the plugin through the Plugins screen in the WordPress admin.

Initial Directory and Profile Page Setup

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Locate the Additional Page Settings section.
  3. Click the Generate Page button to create a new page for your Member Directory and Member Profile.
    • Note that these pages can also be created manually and then assigned to these Page Settings after they are published.
  4. Save Settings.

Note: The Profile page should not be set to the same page or contain the same shortcode as your site’s “Member Profile Edit” page. The Directory’s Profile page is a static view of member data, whereas the Member Profile Edit page is where a single logged-in user can modify their profile information.

Video Demo: Member Directory and Profile

Edit Your Member Directory

A directory can be inserted in any page or post via the Members Directory Block or Shortcode ([pmpro_member_directory]).

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Locate the Additional Page Settings section.
  3. In the Member Directory page setting row, click Edit to edit your directory.
  4. The generated Member Directory page should have automatically inserted the following shortcode: [pmpro_member_directory]
  5. You can swap this shortcode for a more user-friendly block option with visual settings. To do this, use the Block inserter to locate the Members Directory block.
  6. Remove the shortcode if you choose to use the block option.
Example of the Member Directory in the Table Layout
Member Directory and Profile Pages - Paid Memberships Pro

Block Settings and Attributes

The Members Directory Block options appear in Settings side panel when you select the block.

  • avatar_size: The square pixel dimensions of the avatar to display. Requires the “show_avatar” attribute to be set to ‘true’. default: ‘128’ (accepts any numerical value).
  • fields: Display additional user meta fields. default: none (accepts a list of label names and field IDs, i.e. fields="Company,company;Website,user_url"). You can also display user fields captured at checkout, such as the member’s billing information. See a list of payment fields stored in usermeta here.
  • layout: The format of the directory. default: div (accepts ‘table’, ‘div’, ‘2col’, ‘3col’, and ‘4col’).
  • levels: The level ID or a comma-separated list of level IDs to include in the directory. default: all levels (accepts a single level ID or a comma-separated list of IDs).
  • limit: the number of members to display per page
  • link: Optionally link the member directory item to the single member profile page. default: true (accepts ‘true’ or ‘false’).
  • order: Sort the results based on the order_by attribute in ascending or descending order. default: ASC (accepts ‘DESC’ or ‘ASC’).
  • order_by: The sort order for the results. default: ‘u.display_name’ (accepts ‘u.user_email’, ‘u.display_name’, ‘u.user_login’, ‘u.user_registered’, ‘mu.membership_id’, ‘mu.startdate’, ‘joindate’)
  • show_avatar: Display the user’s avatar generated via Gravatar or user-submitted using a plugin like Basic User Avatars; default: true (accepts ‘true’ or ‘false’).
  • show_email: Display the user’s email address; default: true (accepts ‘true’ or ‘false’).
  • show_level: Display the user’s membership level; default: true (accepts ‘true’ or ‘false’).
  • show_search: Display a search form (searches on member display name or email address); default: true (accepts ‘true’ or ‘false’).
  • show_startdate: Display the user’s membership start date for their current level; default: true (accepts ‘true’ or ‘false’).

We have a list of shortcode examples at the bottom of this documentation page if you are using the shortcode method instead of the block.

Edit Your Individual Member Profile

A profile can be inserted in any page or post via the Member Profile Block or Shortcode ([pmpro_member_profile]).

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Locate the Additional Page Settings section.
  3. In the Member Profile page setting row, click Edit to edit the individual profile.
  4. The generated Member Profile page should have automatically inserted the following shortcode: [[pmpro_member_profile]]
  5. You can swap this shortcode for a more user-friendly block option with visual settings. To do this, use the Block inserter to locate the Member Profile block.
  6. Remove the shortcode if you choose to use the block option.
Screenshot of sample member profile
Member Directory and Profile Pages - Paid Memberships Pro

Block Settings and Attributes

The Member Profile Block options appear in Settings side panel when you select the block.

  • avatar_size: The square pixel dimensions of the avatar to display. Requires the “show_avatar” attribute to be set to ‘true’. default: ‘128’ (accepts any numerical value).
  • fields: Display additional user meta fields. default: none (accepts a list of label names and field IDs, i.e. fields="Company,company;Website,user_url"). You can also display user fields captured at checkout, such as the member’s billing information. See a list of payment fields stored in usermeta here.
  • levels: The level ID or a comma-separated list of level IDs that allow profiles. default: all levels (accepts a single level ID or a comma-separated list of IDs).
  • show_avatar: Display the user’s avatar generated via Gravatar or user-submitted using a plugin like Basic User Avatars; default: true (accepts ‘true’ or ‘false’).
  • show_bio: Display the user’s bio (if available); default: true (accepts ‘true’ or ‘false’).
  • show_billing: Display the user’s billing address (if available); default: true (accepts ‘true’ or ‘false’).
  • show_email: Display the user’s email address; default: true (accepts ‘true’ or ‘false’).
  • show_name: Display the user’s display name; default: true (accepts ‘true’ or ‘false’). Use our Force First Last plugin to batch update display names.
  • show_level: Display the user’s membership level; default: true (accepts ‘true’ or ‘false’).
  • show_phone: Display the user’s billing phone (if available); default: true (accepts ‘true’ or ‘false’).
  • show_search: Display a search form (searches on member display name or email address); default: true (accepts ‘true’ or ‘false’).
  • show_startdate: Display the user’s membership start date for their current level; default: true (accepts ‘true’ or ‘false’).
  • user_id: Show a specific member’s profile; default: none (accepts any numeric uesr id, i.e. user_id=”125″).

Members can opt out of the member directory by checking the “Hide from Directory?” field on the “Edit Profile” page.

We have a list of shortcode examples at the bottom of this documentation page if you are using this method.

Video Demo: Member Directories and Profile Pages

Customizations, Theme Compatibility, and Styling

File-Type Profile Fields

If you are displaying a field that is a file type (audio, video, image, document), the shortcode will attempt to embed or display the file based on the mime type (about WordPress filetypes).

  • Audio files will embed using the WordPress  shortcode
  • Document files will display the appropriate wp_mime_type_icon and a link to view or download the file
  • Image files will display as a standard image on the page at full size
  • Video files will embed using the WordPress shortcode

Third-Party Embeddable Links

If your members have a profile field that links to a third-party embeddable platform like YouTube, Vimeo, and others, the field will also display as an embed. See a list of supported oembed sites here.

Custom Directory and Profile Template Files For Your Theme

The screenshots in these docs use the Memberlite Theme, which provides full integration and additional styling for the Member Directory and Profile Pages Add On.

Theme authors and developers can create a custom template for the Directory and Profile via two methods: a template in the active theme folder or a template loaded via a customization plugin.

Theme authors should use the theme method as outlined in this document. The files directory.php and profile.php should copied out of the Add On plugin files and placed in a new /paid-memberships-pro/pmpro-member-directory/ folder in your theme.

If you are not a theme author looking to build support for this Add On, we recommend using a customizations plugin and creating a new shortcode (rename the directory or profile shortcode in the Add On to something unique for your site) and require that template file in your customizations plugin main file.

Member Directory and Profile Search

By default, the search fields in this Add On will search the following profile values: user_loginuser_emaildisplay_name, and all usermeta fields.

Some servers may not allow the large queries needed to execute a directory and profiles search. You will know this is the case if you are using the search form and no results are returned when you know results should be returned.

The recipe below can be used to allow your hosting environment to process the large JOIN operations needed for this Add On.

<?php
/*
* Allow large JOIN operations in the Member Directory and Profiles Add On for Paid Memberships Pro.
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion article for step-by-step directions on either method.
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
*
*/
function pmpromd_set_db_option() {
global $wpdb;
$wpdb->query( “SET SESSION SQL_BIG_SELECTS=1” );
}
add_action( ‘init’, ‘pmpromd_set_db_option’, 5 );

Shortcode Examples

Display only level IDs 1 and 4, hide avatars and email address:

[pmpro_member_directory levels="1,4" show_avatar="false" show_email="false"]

Show all level IDs, hide level name and start date:

[pmpro_member_directory show_level="false" show_startdate="false"]

Display custom user meta fields using the “fields” attribute in the format Label,key;Label,key:

[pmpro_member_directory fields="Company,company;Website,user_url"]

Show a unique member directory by level. Level 1 Members can only see other Level 1 Members:

[membership level="1"]
[pmpro_member_directory levels="1"]
[/membership]

[membership level="2"]
[pmpro_member_directory levels="2"]
[/membership]

[membership level="3"]
[pmpro_member_directory levels="3"]
[/membership]

Show unique member profiles based on level – hide user phone number and email address.

[membership level="1"]
[pmpro_member_profile show_email="false" show_phone="false"]
[/membership]

[membership level="2"]
[pmpro_member_profile show_email="true" show_phone="true"]
[/membership]

Action and Filter Hooks

The following actions and filters are available in this Add On:

do_action( 'pmpro_member_directory_before', $sqlQuery, $shortcode_atts );

Allows content to be inserted before the member directory table.

apply_filters( 'pmpro_member_profile_fields', array $fields_array, user $pu );

Change which fields are displayed on a user’s profile.

apply_filters( 'pmpro_member_directory_sql_parts', array $sql_parts, string $levels, string $s, int $pn, int $limit, int $start, int $end, string $order_by, string $order );

The $levels parameter is a single level ID or a comma-separate list of IDs (not an array of level IDs).

The $sql_parts parameter is an array of each section of the SQL query for building your list of members to include in the directory. The sections of the array you can modify include:

  • $sql_parts['SELECT']
  • $sql_parts['JOIN']
  • $sql_parts['WHERE']
  • $sql_parts['GROUP']
  • $sql_parts['ORDER']
  • $sql_parts['LIMIT']

Screenshots

4 Column Layout

Example of member directory in the 4 column layout
Member Directory and Profile Pages - Paid Memberships Pro

Table Layout

Example of the member directory in the table layout
Member Directory and Profile Pages - Paid Memberships Pro

Member Profile

Example of a member profile shown from the member directory
Member Directory and Profile Pages - Paid Memberships Pro

 

Latest Release

Fluent Forms – The Fastest WordPress Form Builder

Original price was: Rs24,518.00.Current price is: Rs410.00. for 1 year

Adobe Creative Cloud All Apps – 1 Year Subscription

Original price was: Rs54,111.00.Current price is: Rs9,840.00. for 1 year

Autodesk VRED Professional 3 Year Subscription 2025/2024/2023 Mac/PC

Original price was: Rs3,645,720.00.Current price is: Rs7,380.00. for 3 years

Autodesk VRED Professional 1 Year Subscription 2025/2024/2023 Mac/PC

Original price was: Rs1,215,240.00.Current price is: Rs4,920.00. for 1 year

Customer Reviews