Page 1 of 1

Browse User Display

PostPosted: August 27th, 2011, 4:15 pm
by steve redmond
My site is devoted to a group of Realtors who want to have their user profiles actively searched and browsed. After setting up S2 Member and creating login user pages I'm stymied by how to create a 'Searchable' User Directory page. The S2 Member (Browse Members) option in the admin panel gives me exactly what I need to provide to the members. (it searches the directory just fine, including all the categories) Is there anyway of getting a non-admin version of that capability to provide my members?

Re: Browse User Display

PostPosted: August 28th, 2011, 1:57 am
by Cristián Lávaque
Hi Steve.

I suggest you search the forum for "members list", there have been several threads in the past about it.

One useful plugin for this has been https://wordpress.org/extend/plugins/members-list/

You could also custom script this with something around this example:

Code: Select all
$level1_users = get_users('role=s2member_level1');
foreach ($level1_users as $user) {
    echo '<li>' . $user->display_name . '</li>';
}
 


https://codex.wordpress.org/Function_Re ... /get_users

I hope this helps. :)