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

XF 1.3 Reset avatars?

Discussion in 'XenForo Questions and Support' started by Surf3rDud3, May 5, 2014.

  1. Surf3rDud3

    Surf3rDud3 Member

    Is there a way to reset my users avatars to the default image so they can re-upload their own?
  2. Amaury

    Amaury Well-Known Member

    Can't they just upload their own without you resetting them?
  3. borbole

    borbole Well-Known Member

    Try to run this query at the phpmyadmin.

    UPDATE xf_user
    SET avatar_date = 0, 
    avatar_width = 0, 
    avatar_height = 0;
    This should reset all avatars for all users. It is untested so make a copy of the db before you run it.
    Amaury likes this.
  4. Surf3rDud3

    Surf3rDud3 Member

    Thank you borbole that worked perfectly. :]
    borbole likes this.
  5. borbole

    borbole Well-Known Member

    You are welcome. Glad to have been of help.

Share This Page