Auto Complete Location

Unmaintained Auto Complete Location 6.0

No permission to download
Switched api from db-ip.com to ip-api.com for better location result for autofill of location field :)
Earlier some IP were filled in format of ", , GB", now this has been fixed using db-ip.com API. You need to obtain API key from https://db-ip.com/api/#key and fill it in options.

fff.png
Some of the users were facing issues due to google API key requirement, So i had added an option to fill api key for the addon to work. You can get your api key from here > https://developers.google.com/places/web-service/get-api-key


Very thanks to @igor@af for helping me :)

Screenshot_25.png
  • Like
Reactions: igor@af
As requested :

I would very much like to limit the address to country & state. This for two reasons:
  1. Members do not like their exact location known for privacy reasons. We don't want to cause problems with stalkers etc.
  2. Location needs to be searchable and standardized. We should easily be able to find all members in a specific country or state.
Please add this limit.
Limit Option has been added for auto-fill by IP settings.

Screenshot_9.png



HOW TO UPDATE ?

Just IMPORT the XML file, no need to upload other files :)
*Added support for Custom Map Location field Created by User Map addon by @CrispinP and thanks to @Mouth for testing help.

Screenshot_5.png


PS : Auto-Fill Map Location From IP address is not implemented yet, if need this also just let me know.
As requested here :

For international Boards it would be great to choose the Language of the Auto-Replace. I want to choose "Berlin, Deutschland" instead of "Berlin, Germany".
Support for language has been added as per google API. I am bit bad at testing this feature (Don't know diff languages :p) so reviews regarding this would be appreciated. Also this feature will be supported less as whole its google response so much altering is not feasible.

PS : Be Sure to read FAQ to fill the BOARD LANGUAGE OPTION.

By default language is English.

Screenshots:

Option Field
Screenshot_3.png


Registration Page :
Screenshot_4.png



HOW TO UPDATE ?

Just import the XML file no need to upload other files.

  • Like
Reactions: otto
Some Phrases and Dark style Issues fixed

Phrases Fixed :
'user_field_locationla_desc' and 'user_field_locationln_desc

Dark style is now implemented everywhere.
  • Like
Reactions: worrorfight
Improvements :
Support for dark themes/Styles :
Screenshot_2.png


Added an longitude and latitude custom user fields on registration page. This is also automatically filled as per user IP.

Screenshot_1.png


New Options :

Screenshot_3.png
Added option to Automatically fill user location via IP on Registration Page.

Screenshot :
Screenshot_3.png

Screenshot_5.png


Option Page :

Screenshot_4.png

Side Note :
1.It uses https://freegeoip.net/ for user IP detection and filing location field automatically.
2. May have some issues with VPN and proxies.
3. You're allowed up to 10,000 queries per hour by default. Once this limit is reached, all of your requests will result in HTTP 403, forbidden, until your quota is cleared.
  • Like
Reactions: worrorfight
Top