DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Cannot change DC avatar to new uploaded picture.  (Read 13,698 times)

alivingspirit

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 167
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
Cannot change DC avatar to new uploaded picture.
« on: March 02, 2011, 03:08 AM »
I stumbled upon a glitch on the site. I cannot seem to upload a new picture to be my avatar. I can browse to a new picture but when I hit save profile it doesn't swap for the new one. I can switch to a predefined avatar but when I switch back to upload I get the same old avatar again. What am I doing wrong?

worstje

  • The Gent with the White Hat
  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 589
    • Coding Snacks
    • Participated in NANY Challenge Three Times
Re: Cannot change DC avatar to new uploaded picture.
« Reply #1 on: March 02, 2011, 03:13 AM »
I think I ran into a similar issue which someone then pointed out so I could actually pick my hat as my icon. Make sure it has a good extension and isn't huge in either size or dimensions.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Cannot change DC avatar to new uploaded picture.
« Reply #2 on: March 02, 2011, 03:17 AM »
Since we mucked around with the avatar folders recently it's possible i messed something up.  Can someone else test and confirm whether they can upload a new custom avatar or not?

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: Cannot change DC avatar to new uploaded picture.
« Reply #3 on: March 02, 2011, 06:26 AM »
I can confirm this problem.

I tried uploading an avatar image (see attachment) I also use elsewhere, but it fails without error message.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Cannot change DC avatar to new uploaded picture.
« Reply #4 on: March 02, 2011, 11:21 AM »
I'm having a very hard time reproducing this error -- it seems to work fine when i try it with any permutation.
Can someone else try it, or i'll try to catch house when he tries it next and see if i can watch the forum error log while it's happening and get a better clue as to what is going wrong.

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: Cannot change DC avatar to new uploaded picture.
« Reply #5 on: March 02, 2011, 01:04 PM »
Well for the record: it seems to work just fine in my case now :)

alivingspirit

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 167
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
Re: Cannot change DC avatar to new uploaded picture.
« Reply #6 on: March 02, 2011, 02:54 PM »
Well for the record: it seems to work just fine in my case now :)
Hmmm... I guess I will try again later then.

alivingspirit

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 167
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
Re: Cannot change DC avatar to new uploaded picture.
« Reply #7 on: March 02, 2011, 02:59 PM »
Thats weird. I just noticed that my avatar is now changed without me doing anything. I could be that after I changed it there was a delay in the change but my old avatar picture was defiantly visible when I logged off last night. I will try again with video and see if I can replicate it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Cannot change DC avatar to new uploaded picture.
« Reply #8 on: March 02, 2011, 03:06 PM »
I think that's the mystery solved -- it's a cache issue.

The new changes to the way forum avatars are stored and displayed means that the avatar for a particular user will always be the url:
http://www.donationcoder.com/forum/useravatars/avatar_USERID.png

So when you upload a new avatar, unlike before you will not get a different filename for your avatar, it will merely overwrite the contents of your old image.

So it's very likely that you will see your cached older image until the browser refreshes it.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Cannot change DC avatar to new uploaded picture.
« Reply #9 on: March 02, 2011, 03:13 PM »
That explains it. I was wondering why you were complaining about it not working when it appeared to have worked for me.
I've been seeing your (alivingspirit and housetier) current avatars since you first posted in this thread :)

alivingspirit

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 167
    • Programming School - Stage 1 Medal
    • Programming School - Deluxe Bonus Medal
Re: Cannot change DC avatar to new uploaded picture.
« Reply #10 on: March 03, 2011, 12:19 AM »
Yes that does explain everything. When I last posted I was on my work computer so I saw my new avatar on the page. When I came back to my home computer I still saw the old images. I cleared my cache and got the new images. I am using Firefox 4 beta if anyone is curious.

Original address: https://www.donationcoder.com/forum/index.php?topic=25925.0