Fixed a "Undefined array key 0" error when saving some Google Places locations. Some valid Google Places results, such as business or venue names, include address parts that Google doesn't label with a type. Saving one of these locations caused a PHP warning. Those parts are now skipped, and the location saves correctly.
Typed addresses are no longer replaced by the first autocomplete suggestion. Pressing Enter in the location input while suggestions were showing used to overwrite the typed address with the first suggestion. Now the typed address stays unless you've highlighted a suggestion.
Selected places now save their full address. When you pick a suggestion, the field stores the place's full address instead of the shortened text shown in the suggestion list.
Building-level addresses are no longer cut down to the street. If Google only partly recognises an address (for example "1 Porter House, Seawall Court, Dock Rd, Barking IG11 7GQ" becoming "Dock Road, England, United Kingdom"), the address is now saved and shown as you typed it. This only applies to display formats that include the street line, so city-only formats never show the full typed address.
The new version is available for all licensed customers at:
Value display HTML support and clickable map links
"Value display HTML" now works fully for location fields — any HTML you enter there renders exactly as written on the front end, just like every default XenForo custom field.
You can make the address a clickable link to any map provider of your choice (Google Maps, Yandex, Bing, OpenStreetMap, and others) — the provider is entirely your choice; nothing is hardcoded.
Fixed an issue where the formatted address could include a line break that leaked into the generated link URL and text, breaking map links. Placeholder values are now always clean.
New placeholders available in "Value display HTML" for location fields:
- {value} — the address as plain text, without any HTML
- {valueUrl} — the address, URL-encoded, ready for use in a query parameter
- {displayValue} — the address as it is displayed (may contain line breaks)
- {mapsUrl} — a ready-to-use Google Maps URL for the address
- {fieldId}, {title}, {description} — the field metadata
Works correctly in all address input modes: Google Places autocomplete search, the Country / State / City selection form, and latitude/longitude (geocoordinate) values.
Example — Google Maps link:
HTML:<a href="https://www.google.com/maps/search/?api=1&query={valueUrl}" target="_blank" rel="noopener noreferrer">{value}</a>
Example — Yandex Maps link:
HTML:<a href="https://yandex.com/maps/?text={valueUrl}" target="_blank" rel="noopener noreferrer">{value}</a>
No breaking changes — fields without "Value display HTML" continue to render exactly as before.
The new version is available for all licensed customers at:
https://customers.addonslab.com/marketplace.php/my-services/
Display templates now show your formatted values correctly
Custom display templates now render the right variable-based content — including the field's title and description. Fields no longer appear blank when an address format can't be built.
More reliable geocoding
Temporary geocoding failures (for example, a misconfigured Google Maps key) no longer get cached for a long time. They're now retried within minutes and recover automatically once the underlying issue is fixed.
Full XenForo 2.3 compatibility
The add-on has been updated to fully support XenForo 2.3. This release regenerates the add-on's integration files, updates the location form's JavaScript to match 2.3's new event handling, and includes several fixes to keep the field working reliably — all while continuing to support XenForo 2.2.
Location data stays consistent
The location field's database structure is now automatically repaired if another add-on's installation ever affects it, keeping your saved location data intact.
Bug Fixes
Distance / range field fixes
Improved validation on the distance input, and fixed an issue where the range field was incorrectly marked as required.
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
Resolved an issue where form auto-reload could be interrupted due to incorrect empty-state validation in range and address inputs.
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
This update fixes several bugs and data inconsistencies, where some countries in the database missed state/city information, which would break the location field form.
The bug affects only fields configured to use country/state/city selector, and does not affect the fields using Google Autocomplete API.
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
This release fixes an error logged in the server errors in case there is an error in API response (e.g. invalid API key).
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
Resolve an issue related to a XenForo bug reported at https://xenforo.com/community/threads/breaking-change-in-xenforo-2-3-7-in-getter-syntax.232161/ that will be resolved in version 2.3.8.
Meanwhile, please apply this package and install the latest version of AL/Core package - https://xenforo.com/community/resources/al-core-package.7382/
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
Multilingual support for Google Autocomplete
Added multilingual search capability by applying the default country scope to the search query. This ensures that language-specific characters are supported in the search form, making locations with such characters properly searchable.
Improved handling of partial Google Place API responses
When the Location field sends a partial or invalid query to the Google Place API, or when the detected location is too generic, the system now returns the error: “Address is not precise enough.”
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
In this release, we have implemented a fix for the Filters form to prevent unexpected reloads. Previously, the form would reload when a location subfield was selected—even if the selection was incomplete. Now, the form waits until all required fields have valid values before reloading.
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
The formatted location might include the city name even if it is not specified by the user.
The new version is available for all licensed customers at https://customers.addonslab.com/marketplace.php/my-services/
Thank you!
We use essential cookies to make this site work, and optional cookies to enhance your experience.