Tagged: bp-list-users-in-dir-with-role
Hi Brajesh
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
Hi AZ,
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.
Thank you
BrajeshContinued discussion here
https://buddydev.com/support/forums/topic/rebp-list-users-in-dir-with-role/
You must be logged in to reply to this topic.