Skip to:

A new approach to usernames

  • 3125432

    Hi –

    I am part of the political party on here that likes usernames displayed in the profile and as the logged in name. Part of the reason is that we run a nonprofit sports community and there are some folks who would prefer that their names be hidden.

    My proposed fix is really a bandaid approach rather than a permanent fix but with 722 members about to be imported, it seems the easiest first step: MySql query: replace display_name data with user_nicename.

    I have tried manually doing that with a few select members and it seems to work for some user records but not others.


    Thanks for your thoughts in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

  • 3125432

    Just an update. Have played around with this a bit and sometimes the sitadmin dashboard Users section that allows you to select the preferred name to be displayed publicly works and sometimes it doesn’t.

    I’m thinking that this may have something to do with the Buddypress General Settings: Disable Buddypress from WordPress syncing? This is a total mystery to me what that means or is supposed to do. Anyone?

    Anyway, the fix that seems to work is a MySql query that anchors from the user id # and then you could structure it to replace the current data in the value field of the wp_bp_xprofile_data table with the data from the user_login field of the wp_users table.

    I have no idea how to do create that query but I am sure it is pretty easy.

    – Brian

    I think a lot of the bits get the name through the wp_bp_xprofile_data table.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A new approach to usernames’ is closed to new replies.
Skip to toolbar