I used your code (https://github.com/sbrajesh/bp-list-users-in-dir-with-role/blob/master/functions.php), to create a user role directory, and it works well. Thank you to provide this code as a public code.
With your code, the plugin BP profile search (https://fr.wordpress.org/plugins/bp-profile-search/) identified user role directory.
But how can I modify this code (https://github.com/sbrajesh/bp-list-users-in-dir-with-role/blob/master/members/index.php) in order that list of user roles will be identified by BP search profile?
Finally, I want that BP search profile shows only some user roles and not the whole list.
Thanks for your help
- Brajesh Singh on November 18, 2015 at 10:22 am #1649
Welcome to BuddyDev.
Can you please point me to a working installation to check the things? It should not be very difficult to integrate these code with profile search.
- Brajesh Singh on November 18, 2015 at 11:07 am #1654
Continued discussion here
You must be logged in to reply to this topic.