I loaded Avatar 1.3 Mod, then Zuel's Avatar Add-on on top of a clean install of Snitz 3.4.07 release. This was an upgrade from 3.4.05 that also had these MODS installed for a day before I updated to 3.4.07.
I have personal uploads set to no and I am not creating subcategories in the Zuel admin section. I only wanted to allow user to set a URL link to remote avatars, which is working as expected.
However, when I go to "Review/Edit Avatars", I see every URL avatar attempt, meaning I may see several different avatars URLs for a single member. I expected to see one... the latest entry... in the table.
I assume that the code is always doing an non-unique insert into the AVATAR table since the system was originally written to allow multiple avatars to be uploaded by a user.
My concern is, of course, that the AVATAR table will get full of a avatar changes that are no longer valid.
Has anyone else seen this problem? Is there an "easy" fix?
Thanks.
Ken Grammer Used Snitz on SpecRacer.com and GT_RaceCar.com
I looked at just commenting out this line as suggested, but I haven't done that yet. As it turns out, having the "last/current" Avatar setting attempt logged has been a good thing as it's helped me identify problems with people posting linkks that are to web pages and not actual image files. So... what I think needs to be done is a little more coding... as in an add/update where the table gets added if this if the first avatar setting, but gets updated on subsequent changes the avatar.
As I said, having the avatar setting in the file is useful... :)
Ken Grammer Used Snitz on SpecRacer.com and GT_RaceCar.com
Well, I pulled the Avatar stuff back out and simplified it back down to allowing each user to set a personal avatar link in their profile. This is all I wanted/needed anyway. I also added code to properly scale the avatars based on their original size so they aren't distorted if they aren't exactly the same sizes as the avatar settings. And I added code to check the avatar link to ensure it is a proper graphic file.
I did keep the admin avatar settings so I can define (or redefine) avatar settings if I need to without having to change code.
Next I plan on using the same image file check/resize code on the user's photos...
Ken Grammer Used Snitz on SpecRacer.com and GT_RaceCar.com