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
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
2 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_login,Β user_email,Β display_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

WizeStore – Multipurpose WooCommerce Shop WordPress

Original price was: Rs4,838.00.Current price is: Rs410.00. for 1 year

Chelsey – Portfolio Theme for Freelancers and Agencies

Original price was: Rs6,478.00.Current price is: Rs410.00. for 1 year

Minimo – Portfolio & Agency WordPress Theme

Original price was: Rs5,248.00.Current price is: Rs410.00. for 1 year

Customer Reviews