1
vinit
Avtar gets deleted from default avtar list :(
  • 2004/9/3 9:15

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hi,

I have a default set of avtars, loaded in for members usage. Now i am facing a wiered problem, everytime a member changes his avtar the old avtar gets deleted from the total avtar list. Thus if same avtar is used by multiple members, the others suffer with loss of avtar.

how to overcome this problem ????

2
vinit
Re: Avtar gets deleted from default avtar list :(
  • 2004/9/7 5:20

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Anyone else facing the same problem ????
Any solutions ???

3
vinit
Re: Avtar gets deleted from default avtar list :(
  • 2004/9/8 16:05

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


~*~* // THIS TO BRING THIS TOPIC INTO THE NOTICE OF DEVs and MODS //*~*~

Could you look into this and tell me why is this problem taking place ??

4
ackbarr
Re: Avtar gets deleted from default avtar list :(

After digging into the code, it looks like the user's old avatar is not removed if any of the conditions are met:

1. filename = 'blank.gif'
2. filname starts with 'savt'

If the replaced avatar is anything else it is removed automatically by the system. Did you add avatars to your site using a method other the System Avatar Manager?

5
karuna
Re: Avtar gets deleted from default avtar list :(
  • 2004/9/8 16:33

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


hi the avatars in my site is also get deleted.

but the filename are savt001 ~savt200.

does the directory of avatar mater?

6
vinit
Re: Avtar gets deleted from default avtar list :(
  • 2004/9/8 16:56

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


thx ackbarr,

well yes i wrote a script to add bulk avatars in one go.

can you tell me where is it written in the code that filesname s starting with "savt" should not be deleted.

I will modify it as per my avartar names

All my avartar names start from avatar_01 --100

hopefully this will work out

~*EDIT

edituser.php
line 286 and 320 has that
shall i change it avtar ?? i think that would work out.. is there any other place where i need to change ???

7
ackbarr
Re: Avtar gets deleted from default avtar list :(

that was the only place I've found it so far. I'll dig a bit further and see if there are any other instances

8
Speed
Re: Avtar gets deleted from default avtar list :(
  • 2004/9/8 18:51

  • Speed

  • Quite a regular

  • Posts: 310

  • Since: 2004/5/18


I'm not sure the reason for deleting avatars when you change, but I'd like to keep all avatars from being deleted. Is that doable?

9
vinit
Re: Avtar gets deleted from default avtar list :(
  • 2004/10/10 11:57

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Quote:

ackbarr wrote:
that was the only place I've found it so far. I'll dig a bit further and see if there are any other instances


Any other catch in this matter.

10
ackbarr
Re:Avtar gets deleted from default avtar list :(

no I think the code lines specified above were the only times the prefix was specified

Login

Who's Online

238 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

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

Latest GitHub Commits