7
I think you can do it easily by phpMyAdmin.
Look at this method:
1)- Upload your avatar to "uploads" directory of XOOPS (in main root directory). Your avatar must be named something like "savtavatarxx.gif". In this example, it will be called "savtavatar01.gif".
2)- Go to phpMyAdmin.Click on "xoops_avatar" table.Go to "display".In the bottom of this page, you've got a link in phpMyAdmin "Inser a new record". Fill in avatar-id etc..
For avatar_id put a number which correspond to be the last in your table (you can see it when you've clicked on display).
for avatar_file >>savtavatar01
avatar_name >>avatar01 or what you want
avatar_mimetype >>image/gif
avatar_created >>1083460026
avatar_display >>1 (you can put 0 if you don't want the others to see it and to choose it in the list, but i don't think this is necessary because when you check the user profile, you can do right click/save image to... and then upload the avatar for you.Maybe it is interesting if you have disabled avatar upload :))/
avatar_weight >> 0 (don't mind)
avatar_type >> S
After click on "Execute".
3)- Then click on "xoops_avatar_user_link". Click on display and then inser a new record.
avatar_id >>> The number you enter in 2)
user_id >>>The id of the user you want (if you don't know it, go to "xoops_users" table,click on display (as usual :)) and then check "uid" it is its "id" you must enter)
4)-Enjoy
I think this can work and i Hope but i haven't tested. If there is one problem (or if it works :;)) please let me know.
Good Xoops