Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm using Gravatar integration on my site.
After enabling avatar in display suite user's avatar dose not show in messages.
Its because implemented theme_heartbeat_activity_avatar
function, why this function is necessary when theme('user_picture')
is available?
Comment | File | Size | Author |
---|---|---|---|
#1 | heartbeat-avatar-gravatar-integration-2047149-1.patch | 2.55 KB | mohamadaliakbari |
Comments
Comment #1
mohamadaliakbari CreditAttribution: mohamadaliakbari commentedI fix this issue by replacing Drupal built in function to populate avatar variable in message. I'm looking for a reason why module's author didn't select this method?
Comment #2
mohamadaliakbari CreditAttribution: mohamadaliakbari commentedComment #3
SantVim CreditAttribution: SantVim commentedAm not sure if it's relevant but am desperate for help.....I've disabled user pictures and added a separate user profile picture field..... Is it possible to show the custom picture field as heartbeat avatar????
Comment #4
mohamadaliakbari CreditAttribution: mohamadaliakbari commentedBy using this patch you can, try https://drupal.org/project/user_picture_field
Comment #5
SantVim CreditAttribution: SantVim commentedWow....Tat was easy. Thanks a lot... :)