Hi,
I am currently using Drupal 6 and discovered that pictures in "Who's new Avatar" and "Who's online Avatar" profile pictures wouldn't change after you upload a new profile picture.
So, what I tried is to upgrade Unique Avatar module for my Drupal 6 system, using Deadwood module but I'm stuck with all the "TODO" tasks in Goodwood...
If someone could provide a Unique Avatar module for Drupal 6 (or any solution to fix this problem), I would greatly appreciate!
Thank you
Thomas
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | unique_avatar.zip | 9.18 KB | slarosa |
Comments
Comment #1
jscheel commentedI'm planning on doing this, I just have to find the time :P
Comment #2
totodetokyo commentedThanks a lot for your reply!
I'm glad to hear you are planning to add this unique avatar option for Drupal 6.
Good luck!
Comment #3
slarosa commentedHi,
I used the fantastic "coder" module in order to inspect the unique avatar module and tried to follow the upgrade instructions in order to convert it to 6.x.
I think it works but probably the code can be improved. However, I am submitting the related archive to you in order to make you evaluate my small patch and - meanwhile - try to support everybody is actually managing avatars on a D6 site
Best regards,
Salvatore
Comment #4
batbug2 commentedi tried this 6.x version, seems to be working ok, thought I'm not sure about the validators part, it wasn't there in 5x version.
i have commented out the resolution and size lines, because I have different settings on my website.
But still, thank you for converting this must-have-baby!
Comment #5
off commentedIs somebody tests this patch?
Comment #6
batbug2 commentedI tested it (#3), seems to be working fine.
Comment #7
HS commentedsubscribing. Any plans for an official release for D6?
Comment #8
HS commentedI gave it a try and it's working ok. The module appended a heap of numbers to the end of the image thus giving it each image a unique ID to by pass caching issues. Thanks slarosa.
Comment #9
jscheel commentedOk, ok, I've finally gotten around to this. First off, thanks for your work slarosa! I have looked over everything, including the way d6 handles user picture uploads. I think the best thing to do right now is to get rid of the hook_user implementation and to instead go with overriding the validator that handles the picture upload in the first place. That being said, I have created a d6 release using this method.
Comment #10
HS commentedThanks Ya'll!