Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show login name

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar