Building a Custom Member Directory

s2Member Pro makes light of this. You can use the [s2Member-List /] Shortcode (with many configurable shortcode attributes) to construct a paginated (or non-paginated) list of users at various Membership Levels. Or, with specific Custom Capabilities. You can also limit the list to only those users who match search criteria defined by the configuration of this shortcode. The list can include each user's avatar, along with any additional database fields in the wp_users table, and even custom fields that you've generated with s2Member.

Most Popular Use Cases for [s2Member-List /]

If you want to build a mini social network; i.e., without the overhead of BuddyPress/bbPress; the [s2Member-List /] Shortcode can help make this easier. It can be used to expose community members to each other in various ways. For instance, it might be used to show a list of members that have a certain status on your site; e.g., over achievers, gold members, or members with a specific Custom Capability. Many sites using the [s2Member-List /] Shortcode will actually sell this sort of exposure; i.e., where a certain Membership Level (or Custom Capability) is designed to draw attention to them in some way. Building a members list can add value to your offering.

Making your Members List Searchable w/ [s2Member-List-Search-Box /]

In some cases it is nice to expose all users, and then make it searchable. This functionality is disabled by default, but it can be enabled by adding the enable_list_search="yes" attribute to your [s2Member-List /] Shortcode. Then you can add another shortcode that introduces the actual search box: [s2Member-List-Search-Box /]