Hi. I've been using this hack for months without any problem, even mixing with other avatar-related ones...
Suddendly, some days ago, I noticed some mis-function with the custom avatar upload by an user.
Infact, with vb2.2.5, I noticed which follows:[list=1][*]Avatarrevision field in user table isn't incremented (it lasts 0)[*]Row in customavatar table is correctly added[*]New image file (avatarXX_R.gif/jpg) isn't copied into custom avatar directory[*]The new avatar is correctly displayed near the username everywhere [ getavatarurl() function ], but the url of the image isn't a file but avatar.php?userid=xx&dateline=1019732362 ... This means the hack isn't effective this case.[*]Old uploaded avatars with files in custom directory (and the correct avatarrevision value in the user table) still work correctly. The url of file is actually linked.[/list=1] --- > I think the problem is in member.php but I double-checked your instructions and didn't found any mistake...
Could you help me ?
Thank you very much
Bye
P.S.: custom avatars are ALWAYS stored into directory as .gif files, both gif and jpg types. Reason is obvious, but could it be a (another than above described one) problem to browser to correctly decode the img format when displaying it ?
Thanks again.
|