74
Same problem here with avatars.
I found the following:
I use XOOPS 2.0.18. the field for the avatar-file in the user-table is varchar(30).
On uploading an image yogurt generatet a thumb with names like: thumb_pic_1_47c34e049f36e.jpg where the first number is the uid.
Up to uid 99 everything went well, but starting with uid 100 the name ist too long for fitting in the user-table.
Up to now I have no solution.
First attempt was to change the thumbnail name. But it is hard-coded and I dont’t manage to find all places. So if I change it in the yogurt_images.php the whole upload-thing is broken. On the other hand, if I change the name, all users have to re-upload theire images before they can use it as avatar.
Second attempt was to change the field in the user-table. I increase it to 40 digits and change the definition in the kernel/avatar.php ... but up to now it's not working ...
greetings, volker
found it: in kernel/user.php is a second definition for the avatar-variable. I changed it here to 40 as well and now avatrs work for uid greater than 99.