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

Add an image to the userinfo

Discussion in 'XenForo Questions and Support' started by Lone Wolf, May 6, 2011.

  1. Lone Wolf

    Lone Wolf Well-Known Member

    Does anyone know what code would be required to add an image to the user info. For example users would choose their location and the flag of their country would appear between their avatar and their username or perhaps below their username.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You would need an add-on to do that.

    I can move this to add-on requests if you wish?
     
  3. Lone Wolf

    Lone Wolf Well-Known Member

    I was wondering if anyone has already done this and whether they would be happy to share how they did it
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I haven't seen any mention of it.

    Adding an image below the username or avatar is simple enough, but it would require a DB query to determine the user's location and then match that up with a flag image URL.
     

Share This Page