Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
please correct me if I am wrong, but I believe that currently multiple users can pick the same avatar. It would be nice to have the currently used avatars removed from the selection list (falling back to a default avatar when the selection list is empty). Thank you.
Comment | File | Size | Author |
---|---|---|---|
#1 | avatar_selection_200197.patch | 3.62 KB | stella |
Comments
Comment #1
stella CreditAttribution: stella commentedPlease try out the attached patch or download the latest dev version (available later today).
Avatar images already in use by another user are removed from the selection list. When there are no more available avatars the default avatar image (set on user settings page) will be used. If random default avatar assignment is enabled, then the user will have no random avatar assigned as the random avatar assignment uses the same pool as what the user can select from. However, if default avatar image is set on the user settings page, then that will be used instead.
Cheers,
Stella
Comment #2
skizzo CreditAttribution: skizzo commentedApplying the patch to 5.x.2.2 gives me error on Hunk #2 FAILED at 220. Should I have applied the patch against 5.x-2.x-dev maybe? I also tried to download module from CVS HEAD but get errors in "Manage avatars". No big deal, I will wait for next release update and then test it... Thank you Stella.
Comment #3
stella CreditAttribution: stella commentedYeah, sorry that would be a patch against 5.x-2.x. If downloading via CVS you need to grab the files from the DRUPAL-5--2 branch.
Comment #4
skizzo CreditAttribution: skizzo commenteddid some testing with the new feature, and everything seems to work fine. I tried also to delete users, and noticed that the avatar is released back to the pool, as expected. Now, if I only could find 3.000 nice looking avatars with transparent background.... Thank you again.
Comment #5
stella CreditAttribution: stella commentedReleased in Avatar Selection 5.x-2.3.
Cheers,
Stella
Comment #6
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.