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

Autocomplete Location 1.0.1

Autocomplete for the location field

  1. Thomas.B
    Compatible XF Versions:
    • 1.4
    • 1.5
    Updates Duration:
    Lifetime
    Visible Branding:
    No
    This add-ons makes it very easy for your members to state their location (city, state or country). Often the right location is already shown on the autocomplete list after the user entered only 3 to 4 letters.

    acl_springfield.png

    If a user enters the name of a city, the autocomplete list adds the corresponding state and country after the city. So other users who may don't know the city, know at least the country (and maybe also the state).

    The autocomplete list uses XenForo CSS. That means that the list will seamlessly integrate with your (custom) style as you can see on the above image. Also if you want to prevent nonsense locations such as „right behind you“, you can optionally force users to pick a location from the autocomplete list.

    Another major feature of this add-on is that it can save (atomic) location data of the selected location in separate custom user fields. This atomic data is used by e.g. other add-ons such as Member Search and also to create shortened location names for the user info besides a post as you can see on the following image:

    two_avas_2.png

    Note that state codes are only available for a limited number of countries. The state codes are derived from the corresponding ISO 3166-2 codes. These codes are included in the add-on as they cannot be accessed through the Geonames webservice.



    About Geonames

    Geonames is a free global geographical database that contains over 10 million place names. Geonames is over 10 years old and has become very popular. It is also used by „global players“ such as Microsoft, Nokia and Adidas. Besides the actual database there is also a web service that third-party products such as this add-on can use to easily access the location data. Please note that this add-on uses the free web service by default. The add-on's documentation contains a section that illustrates the differences between free and premium servers.



    Live Demo

    You can try this add-on on the sign-up page of my website. Note, that I configured the add-on to use English location names.



    Location fields support

    Currently this add-on supports the location field of the regular registration and the Personal Details page.



    Installation

    The „usual procedure“. For your convenience, you may use the Add-on Install & Upgrade add-on.
    Related Resources:
    Member Search

    Images

    1. options-beta7.png
    2. user_profile_location_string.png
    3. customFieldsACP-b6.png
    worrorfight and Veer like this.

Recent Updates

  1. A small bugfix
  2. One small fix
  3. Fixed issues with mobile devices

Recent Reviews

  1. Axel B
    Axel B
    5/5,
    Version: 1.0.0-b1
    Excellent addon with great support! Does what it says on the tin. I cannot get the Services_Geonames PEAR package on a shared server, but that does not impact the core functionality I need. Highly recommended addon. Grab it while you can get the discount :P
    1. Thomas.B
      Author's Response
      Thanks for the review! I'm glad you like it :)