Skip to:
Content
Pages
Categories
Search
Top
Bottom

Nickname instead of Username

  • We’re tying into our ActiveDirectory which sets up the username as the user’s email address but keeps their nickname at first-initial-last-name (ex: jsmith.)

    Is it possible to show the nickname instead of the username? I don’t mind hacking :)

Viewing 1 replies (of 1 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    You’d have to change each instance of the plugin to use the user_nicename (which I’m guessing is how you’re setting the nickname in WP).

    eg.

    `$bp->loggedin_user->userdata->user_login`

    becomes:

    `$bp->loggedin_user->userdata->user_nicename`

    Hopefully that gives you some pointers.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.