1
alain01
Avatars
  • 2004/5/15 7:59

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
I wanted add more than 200 system avatars in my site.
I made a excel file for my table xoops_avatars and put the files in upload directory.
When i wanted to change my avatar (avatars system), the old avatar was deleted. ???
I searched and searched and finally i found :
your system avatars must have a name starting with
savt****.gif or savt****.jpg else the avatar will be deleted after a change.
Line 286 et 320 from edituser.php !!!

I saw that the avatar table was not very clear (cause the height between avatars are not the same, so chane line 99 from misc.php by
echo '<td style="text-align: center; vertical-align: bottom;"><imgsrc="uploads/'.$file.'" alt="'.$name.'"/><br/>'.$name.'<br /><input name="myimage" type="button"value="'._SELECT.'" onclick="myimage_onclick('.$counter.')"/></td>';

2
tamerlo
Re: Avatars
  • 2004/8/26 14:27

  • tamerlo

  • Just popping in

  • Posts: 71

  • Since: 2004/1/30


I hope to be usefull, but I have the same problem and have changed a line on edituser.php to prevent avatar deletion

Login

Who's Online

212 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits