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

Add-on US State Flags

Discussion in 'Resource and Add-on Requests' started by dougiemac, Apr 17, 2016.

  1. dougiemac

    dougiemac Member

    Since my forum relies heavily on knowing which state a member is located, I am looking for an Add-On that will replace "Location" for a validated zip code. If that can't be easily done, a dropdown selecting State.

    Then based on that zip code, a US State flag icon would be visible on the members profile page, under the members avatar/username, and on the member's profile card.
  2. Thomas.B

    Thomas.B Well-Known Member

    Afaik there is currently no add-on that does exactly that. But if you don't necessarily need state flags, you may have a look at Autocomplete Location
  3. dougiemac

    dougiemac Member

    Thanks. I am hoping someone will PM me with a reasonable estimate to do this work.
  4. ForumCube

    ForumCube Active Member

    dougiemac likes this.
  5. dougiemac

    dougiemac Member

  6. tajhay

    tajhay Well-Known Member

    Theres a tutorial on here that teaches you how to do this yourself.

    1. Create custom field with multiple options i.e. states.
    2. Name all your images the name as your state.
    3. edit your template to pass the custom field back per user post and then append the image extension to it.

    I believe it was created by Sheldon. You will save yourself a bunch of money by doing this yourself as its fairly easy.
    dougiemac and Kintaro like this.
  7. dougiemac

    dougiemac Member

    Thanks...I'm not much of a coder, so this may take some work on my part. I appreciate that.
    ripjack13 likes this.
  8. Steve F

    Steve F Well-Known Member

    I know @Snog has a country flags add-on but not sure it could be adapted. It works by using the users ip if I recall.
  9. dougiemac

    dougiemac Member

    Yeah I've asked him already and he said no since IP addys are tough with states that border each other.... thanks tho. :)
    Steve F likes this.

Share This Page