Changing the name field in BP member directory
-
WP Version: 4.6
BP Version: 2.6.2
Theme: MH Newsdesk
Plug-ins: WP-Members (for registration and log-in)
Site: https://www.fwdforensics.comHi,
My site uses email addresses for log-in user names, and thus users’ email addresses are showing up in the BP member directory and in the name field and cover image on members’ BP profiles. Most members would rather not publish their email addresses even behind the registration wall.
I think I can hide the email addresses on profiles just by using CSS (display: none) on the name field and on the nickname in the cover image. Then I can add some custom fields to let people enter their first and last names.
But the member directory is tricky (for me). Is there a way to display a field other than user_login as the name in the BP member directory? This can probably be done with a PHP script added to bp-custom.php or functions.php, but I’d rather not reinvent the wheel if someone has already posted the code.
TIA
- You must be logged in to reply to this topic.