• 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

No permission to buy (€10.00)
Compatible XF 1.x 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
Author
Thomas.B
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Thomas.B

Latest updates

  1. A small bugfix

    Fixed a small bug that prevented the autocomplete list to show on the registration page if the...
  2. One small fix

    when a location was selected or hovered it was also displayed on the bottom of the page
  3. Fixed issues with mobile devices

    replaced „EasyAutocomplete“ with „jQuery UI Autocomplete“ due to better support for mobile...

Latest reviews

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
Thomas.B
Thomas.B
Thanks for the review! I'm glad you like it :)