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.
There is a patch, which enables the display of user pictures for the 6.x version at #616704: User picture support.
Is there also a patch for 7.x?
Comment | File | Size | Author |
---|---|---|---|
#11 | theme_chatroom_message_username.txt | 1.41 KB | perohu |
#5 | user_pictures-2160777-5.patch | 10.37 KB | glekli |
Comments
Comment #1
Chipie CreditAttribution: Chipie commentedComment #2
hiphiparray CreditAttribution: hiphiparray commented+1
Comment #3
Advin CreditAttribution: Advin commentedYou can add somthing like this in theme_chatroom_message_username function
Comment #4
hiphiparray CreditAttribution: hiphiparray commentedThank you for the reply!
Comment #5
glekli CreditAttribution: glekli commentedI have added support for user pictures. The attached patch adds options to enable/disable user pictures in chat and to select the image style to use.
Comment #6
giorgio79 CreditAttribution: giorgio79 commentedComment #7
giorgio79 CreditAttribution: giorgio79 commentedLooks like the effort is going now into 8x. so lets try there :)
Comment #8
perohu CreditAttribution: perohu commentedThx for patch #6! Last lines failed, but I figured out what they should have done :) It's working.
Comment #9
platinum1 CreditAttribution: platinum1 commented@perohu Maybe you could share the correct patch, so this could be incorporated in the D8 version.
Comment #10
perohu CreditAttribution: perohu commented@platinum1 Sorry, but I don't know how to create a patch file.
Now i asked my friend, Google, and I found out that I can create one with the command "diff". Give me a little time, i will try to create the patch file very soon.
Comment #11
perohu CreditAttribution: perohu commented@platinum1 Sorry, but I failed to create the patch, but I attached the modified version of the function which the patch failed to patch.
Comment #12
platinum1 CreditAttribution: platinum1 commented@perohu Thank you for your effort!
Comment #13
spelcheck CreditAttribution: spelcheck commentedThis patch adds user pictures, and a few other things for 7.x. I didn't go so far as to modify schema and add admin options, but I'd appreciate testers if anybody is up for it.
https://www.drupal.org/node/2871261