Disable usernames or display a profile field instead
-
Hi!
I’ve been searching the web for something like this but couldn’t find anything that would help me.
I don’t have a website yet but I’m testing BP on another domain.
Am currently running WordPress 4.9.8 with the Fagri theme and the Buddypress version 3.2.0.I’d like to have an anonymous community, which means: I don’t want usernames to be shown anywhere. Instead, a different custom profile field such as “Animal” or “City” which users will be able to pick an option from, may be displayed. Or I wouldn’t mind if the user_id is displayed instead.
So I’ve thought of two options:
1) Add some kind of function which generates random usernames, or which allows to use the user_id as the username.
2) Replace every part of the templates where the username is shown and replace it with a code that would show the custom profile field (e.g. chosen “Animal”).The problem is my programming skills are zero. I’d be able to replace the codes within the templates but I have no clue how to generate such a code or function for either of the two options I’m mentioning.
Couldn’t find anything such precise online, so I hope someone can help me with this.
Btw: I did aim to remove the username from the URL with a function, so the user_id is currently being shown within the profile page URL.
Thank you so very much! 🙂
- You must be logged in to reply to this topic.