This module replaces the "My account" link text with the user_picture or username if no user_picture exists.

Provides options for:

  1. User Menu Avatar Shape
    • Circle
    • Square
  2. User Menu Avatar Size
    • Size in pixels (applies to width and height)

Installation

  1. Just install this module
  2. Adjust the shape and size if you desire or need at: /admin/config/tinsel-suite/user-menu-avatar

Project link

https://www.drupal.org/project/user_menu_avatar

Git instructions

git clone --branch 8.x-1.x https://git.drupal.org/project/user_menu_avatar.git

PAReview checklist

https://pareview.sh/pareview/https-git.drupal.org-project-user_menu_avat...

Comments

prestosaurus created an issue. See original summary.

prestosaurus’s picture

avpaderno’s picture

Title: User Menu Avatar » [D8] User Menu Avatar
Assigned: prestosaurus » Unassigned
Issue summary: View changes

Thank you for your contribution!
I am adding the PAReview checklist link. If you haven't done it yet, please check the reported issues, and fix the code as indicated. Don't pay attention to the false positives the checklist could contain.

Next, the reviewers will check the project code, and report here what needs to be changed.

prestosaurus’s picture

prestosaurus’s picture

Issue summary: View changes
avpaderno’s picture

Issue summary: View changes
prestosaurus’s picture

This project has been disabled and I have received no notifications, where can I find details?

avpaderno’s picture

It was unpublished from the anti-spam system; I guess the recent edits done from a not confirmed account triggered it. I confirmed your account, so it should not happen again.

prestosaurus’s picture

Much appreciated!

prestosaurus’s picture

Added options to set a custom image field name. Added option to show both image and name together. Updated php if statements to reduce errors for different field value states.

avpaderno’s picture

Keep in mind that, since the project is new, you must wait 10 days before opting into security advisory coverage.

avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Needs review » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.