Each user needs to log-in at least once for them to show up in the Members Directory.
@jayell12 You can add following codes inside the child theme functions.php or snippet plugin
https://gist.github.com/shanebp/b73343e9c9a6509d2bbc47de80c881c1
It will set all user as active and they will start displaying in the member list.
Note: Please make sure you have to remove codes after all member starts displaying inside the member directory, it’s one-time code only.
Thanks guys. I will give it a shot.
Have a good weekend.
James
Hi @vapvarun @djpaul,
I just tested out that action and it worked!
However, when I go to the members’ search page it’s using the 50px x 50px image, causing distortion: http://mobileweb.guru/webdev/crowdwel/members/.
Also, when I upload an avatar it changes the filename changes. I believe it is important to have keywords in the image file name, so why does BuddyPress change the file name? And is there a way to customize the alt tag of the images?
Thank you for your time,
James
I recently applied this code in the functions.php – but when removing the code once the users were activated and in the member directory – my WP dashboard became inaccessible.
HELP?
It sounds like you introduced an error.
Probably easy to fix…
Check your php error logs.
You may need to turn on wordpress debug so that any error message is captured.
Also, when using the plugin… the search results pull up User Names versus the actual Buddypress member’s name as they did prior to using this function…
HEALTH COACH DIRECTORY
Question… how to write this functions code where it STILL WORKS but displays name versus User IDs???