1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Delete Current Avatar Check Box Missing

Discussion in 'Resolved Bug Reports' started by Amaury, Sep 22, 2014.

  1. Amaury

    Amaury Well-Known Member

    Checked here on XenForo Community.

    Current Avatar.png

    There used to be a check box here.
     
  2. AndyB

    AndyB Well-Known Member

    I just checked here on xenforo.com and it shows for me.

    Firefox OSX.

    pic001.jpg
     
  3. Amaury

    Amaury Well-Known Member

    Might be a Mozilla Firefox on Windows issue? I dunno, because the issue is global, as it's like this on KH-Flare and the other forums I visit that use the XenForo software.
     
  4. Nobita.Kun

    Nobita.Kun Well-Known Member

    Its not a bug. Because you're using Gravatar not custom avatar uploaded so can't remove. *Similar for me* :D
     
  5. Amaury

    Amaury Well-Known Member

    No, because I used to be able to remove it regardless of whether it was an avatar or a Gravatar avatar.
     
  6. FredC

    FredC Well-Known Member

    I'm not so sure I use Gravatar also and I have the option to delete my current avatar

    Edit: was going to provide a screenshot but that is impossible with Safari on iOS 8 currently.
     
  7. AndyB

    AndyB Well-Known Member

    Hi Maru,

    Does it show if you select "Use a custom avatar" radio button?
     
  8. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    hmmm...
    gravatar-avatar.PNG
     
    Last edited: Sep 22, 2014
  9. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    After looking into the code:
    Code:
        setCropFormVisibility: function(avatarDate)
         {
           if (parseInt(avatarDate, 10))
           {
             this.$form.find('#DeleteAvatar').removeAttr('checked');
             $('label[for=DeleteAvatar], #ExistingCustom').xfFadeIn(XenForo.speed.normal);
           }
           else
           {
             $('label[for=DeleteAvatar], #ExistingCustom').hide();
           }
         }
    
    The check box only shows up when you have a custom avatar uploaded regardless of which radio button you have selected...
     
  10. FredC

    FredC Well-Known Member

  11. Nobita.Kun

    Nobita.Kun Well-Known Member

    This only effect to custom avatar *upload to your host* not for external service avatar.
     
  12. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    Does not depend on the browser:
     
  13. FredC

    FredC Well-Known Member

    Confirmed
    imagea12vb.jpg
     
  14. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    This is as designed... because there is nothing to delete :p If you want to remove your gravatar just select custom avatar and hit the okay button ;)
     
  15. FredC

    FredC Well-Known Member

    How come everyone else's says "Browse" and mine says "Choose File"? Possibly because i already have a image uploaded? Nope.. Maybe a browser thing? <---- Never mind just checked it is browser related.. Just one of those things that peaked my curiosity.
     
    Last edited: Sep 22, 2014
  16. Amaury

    Amaury Well-Known Member

    I used to be able to delete it, though.
     
  17. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    A new addition then...
     
  18. Mike

    Mike XenForo Developer Staff Member

    Switching to Gravatar doesn't necessarily remove your custom avatar. You'll still see the option if you have one saved locally. I'm not going to change anything around here right now as the code is fairly entwined with this only showing up when there's a custom avatar, but selecting the "upload" radio but not doing anything would actually do the same thing.
     
    Amaury likes this.
  19. Amaury

    Amaury Well-Known Member

    Hm. Then I must have remembered wrong. I thought the deletion check box was there when no local avatar was saved.

    Thanks!
     

Share This Page