Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show display name instead of user name

  • Profile photo of pxlgirl
    pxlgirl
    Participant

    @pxlgirl

    Hey all,

    is there any way to change the user name on the member profile url? I’d prefer to have /members/displayname/ instead of members/admin/.

    pxlgirl.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Profile photo of gerikg
    gerikg
    Participant

    @gerikg

    any reason? I figured out how to put the login name in their profile and in bbpress

    Profile photo of pxlgirl
    pxlgirl
    Participant

    @pxlgirl

    But login name is not the same as display name? Like in my case as an admin, my login name is admin. My display name is visible around the site, but not in the link title, which sucks.

    pxlgirl.

    Profile photo of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I usually reserve the admin account for administrative duties, and create a second admin account for myself for this very reason, and for the security of keeping the main admin account less exposed.

    The problem also comes with display names including non URL safe chars, spaces, etc… You’d have to run the display name through a bunch of filters and then replace the loggedin_user->domain and displayed_user->domain with your result.

    You can also rename the admin account, but that’s not as straightforward as just renaming the wp_users record.

    Profile photo of pxlgirl
    pxlgirl
    Participant

    @pxlgirl

    I think John’s idea is the best solution for now. I’ll do it that way. :)

    pxlgirl.

    Oh, in 1.1 the nice_name value should be used in URLs across the site, so that’s another way of changing it.

    Profile photo of Joernroeder
    joernroeder
    Participant

    @joernroeder

    I have bp 1.1.2 and my URL across the site is still »admin«. I can’t change it…

    @pxlgirl what did you do?

    @joernroeder – create a new account with the username you want to be visible, and put all your personal stuff in there :-)

    Profile photo of Joernroeder
    joernroeder
    Participant

    @joernroeder

    @karin – ok, admin is the exception… thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Show display name instead of user name’ is closed to new replies.