You want to change the user name that is used for @ mentions?
afaik, that is not possible, or at least would require considerable customization.
User names in this context are the login names and are unique.
Mine are really long for some reason
Why? Do you have some custom code that handles registration?
Thanks shanebp!
I don’t know why mine are so long. But I’m also using other plugins – membermouse, wp courseware and bbpress. Maybe they are doing it?
How, where or at what point are they usually created in buddy press? Because the ones for my accounts were not anything I created myself. And what do they usually look like? Are they something simple that a person chooses?
For example, for one test account I set up mine is: @trisha2766__21gmail-com-2-2 – which looks like a variation of my email address. Another one is @xiwang-2-2-2-2-2 – no idea where that came from.
But they are neither one practical for people to type to mention someone.
Yikes, afaik, that is not done by BuddyPress.
It looks like you have a plugin or other code that allows emails as user names.
My guess
re the ‘2-2-‘ bits is that more than one user was created with that email.
( Try a test registration using a unique email )
WP dictates that login names have to be unique.
BuddyPress uses the login names for @ mentions.
So does bbPress – for example, this forum where your @ mention name is: badusername
So, again, afaik, it will not be reasonably possible to simplify the @ mention names.
With considerable and complicated customization, it might be possible.
As far as I can tell people on my site start the process of creating an account with membermouse. So, yeah, I will try creating a new account again and see what I can figure out. I’ve made a bunch of test accounts for myself – so maybe I used the same email or something. I need clean up and delete a bunch of those anyway now.
So does buddypress usually use the regular wordpress login user name? If a site just uses bbpress and buddypress – people set up an acccount just through wordpress and bbpress/buddypress use that?
I was able to use phpmyadmin and go into the database – table: wp_users and change the user_nicename to whatever I wanted. That worked fine.
It looks like regular users who signed up already had nice @names but I think mine were bad in part because I set them up before I set up bbpress and buddypress and it was just trying to use my email address. Plus, setting up multiple accounts at different times to test things.
“I was able to use phpmyadmin and go into the database – table: wp_users and change the user_nicename to whatever I wanted. That worked fine.”
I tried this and it worked. I just verified I had the correct database by adding “test” in the front end to the “display_name”. Then I made the change, and everything worked perfect.