bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Show login name

(3 posts)
  • Started 1 year ago by mrwonderr
  • Latest reply from mrwonderr
  • This topic is resolved

No tags yet.

  1. mrwonderr
    Member

    I want to be able to show the currently logged in user's avatar with Avatar Upload as well as use Display Names. I cannot find a way to use the two the way I want to yet...
    Does anyone have a method?

    Posted 1 year ago #
  2. Replace line 194 in bb-avatar-upload.php
    $felidenticon = $identicon->identicon_build( $user->user_login, '', false, '', false );
    with
    $felidenticon = $identicon->identicon_build( (($user->display_name) ? $user->display_name : $user->user_login), '', false, '', false );

    PS. Just a quick guessing solution and I haven't used this plugin.

    Posted 1 year ago #
  3. mrwonderr
    Member

    I was just being an idiot, nevermind. I thought the ID field was for login name, but it was for the numerical ID, which I can get easily.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.