The username is used extensively through BuddyPress, so I don’t know how it can be kept a secret. (For instance, it’s used for the user’s profile page url at
I don’t think you can hide the username entirely, since the BP messaging and mention system is built on the username, but you could probably change out some references to the username in the messaging templates by overriding message templates as described here: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
Thanks for the reply. I promise to read the reference, but I have little time to engage in such concentration. Maybe I’ll do it, but maybe I could use a plugin that masks the users’ names? Anything in my mind come to mind? It could be a solution?
About the question I previously asked, (to be able to hide the User Name needed to log in) I decided to focus on the transparency of the information and make known during registration that the User Name (unlike the email) will still be visible in different situations and for greater security against possible brute force attacks to focus on password complexity.
Now, however, after testing various possibilities, I realized that (rightly) the Buddypress system recognizes and does not allow two identical Usernames, BUT ALLOWS TWO THE SAME NICKNAMES.
How to prevent users from choosing a nickname already present in another user?
Is there a plugin or a system? I believe that within a community it is not a minor problem, because in my opinion, it should not be possible for two users to appear with the same nickname.
Thank you for a very welcome and expected response.