The add-on implements a new custom field type - Location, allowing to collect location information from your users. It provides the list of countries/areas/cities based on the World Cities Database ( World Cities Database | Simplemaps.com ) and allows administrators to customize the list, add, edit and delete any record.
The following custom field holders will support location custom field:
User custom fields
Thread custom fields
Resource manager custom fields
Media gallery custom fields
XenAddons Showcase item fields and review fields by @@Bob
Location options will be available when creating a new custom field:
Based on this configuration, users will be a form to set their location:
And based on the format specified in the settings the location will be shown for the item (user's profile, on top of the thread etc.)
The list of countries, their areas and cities can be configured in the Admin Panel:
Dependency on [AL] Core package
Added a dependency on [AL] Core package to avoid "Unexpected file content" error.
Version 1.4.0 Bug-fix: location custom field in filter add-ons reloads the form before the address is specified
The release fixes a JavaScript issue, that happens if you use the Location field with our Filter add-ons. The filter form would reload before users have put the address fully.
Version 1.5.0 New field format: Text field powered by Google Autocomplete
The release implements a new format for the custom field - a text field powered by Google Places auto-completion. Administrators can choose if they want to use the older format or the new one for each custom field.
Google Places API key is required for the new option. Please check the product settings after the upgrade.
Version 1.5.1 Bug fix: Exception: xf_allf_google_place_cache: MySQL query error [1071]: Specified key was too long
The release fixes a bug with places that have longer place IDs.
Version 1.5.4 Short state code in Full address formatting options
In this release, we have implemented one new option called {shortState} - Short state in the Options for location fields Full address format. State option shows full state name and this option will show it using the 2-digit state code.
Version 1.5.5 Bug-fix: PHP error on version 7.2 - undefined constant JSON_THROW_ON_ERROR
The release fixes a compatibility issue on PHP 7.2 and older versions.
Version 1.6.0 New formatting options for the building number and street name
In this release, we have implemented two new formatting placeholders - {streetName} and {buildingNumber} in the Options for location fields Full address format.
Those placeholders allow admins to set order of street name and building number independent of each other, as our existing placeholder {streetAddress} shows the building number and street name together.
Version 1.6.3 Bug-fix: Call to protected AddonsLab\Core\Xf2\Admin\EntityConfig::__construct():
- This release fixes a PHP error related to update in the [AL] Core package:
The following custom field holders will support location custom field:
User custom fields
Thread custom fields
Resource manager custom fields
Media gallery custom fields
XenAddons Showcase item fields and review fields by @@Bob
Location options will be available when creating a new custom field:
Based on this configuration, users will be a form to set their location:
And based on the format specified in the settings the location will be shown for the item (user's profile, on top of the thread etc.)
The list of countries, their areas and cities can be configured in the Admin Panel:
Dependency on [AL] Core package
Added a dependency on [AL] Core package to avoid "Unexpected file content" error.
Version 1.4.0 Bug-fix: location custom field in filter add-ons reloads the form before the address is specified
The release fixes a JavaScript issue, that happens if you use the Location field with our Filter add-ons. The filter form would reload before users have put the address fully.
Version 1.5.0 New field format: Text field powered by Google Autocomplete
The release implements a new format for the custom field - a text field powered by Google Places auto-completion. Administrators can choose if they want to use the older format or the new one for each custom field.
Google Places API key is required for the new option. Please check the product settings after the upgrade.
Version 1.5.1 Bug fix: Exception: xf_allf_google_place_cache: MySQL query error [1071]: Specified key was too long
The release fixes a bug with places that have longer place IDs.
Version 1.5.4 Short state code in Full address formatting options
In this release, we have implemented one new option called {shortState} - Short state in the Options for location fields Full address format. State option shows full state name and this option will show it using the 2-digit state code.
Version 1.5.5 Bug-fix: PHP error on version 7.2 - undefined constant JSON_THROW_ON_ERROR
The release fixes a compatibility issue on PHP 7.2 and older versions.
Version 1.6.0 New formatting options for the building number and street name
In this release, we have implemented two new formatting placeholders - {streetName} and {buildingNumber} in the Options for location fields Full address format.
Those placeholders allow admins to set order of street name and building number independent of each other, as our existing placeholder {streetAddress} shows the building number and street name together.
Version 1.6.3 Bug-fix: Call to protected AddonsLab\Core\Xf2\Admin\EntityConfig::__construct():
- This release fixes a PHP error related to update in the [AL] Core package:
- The new version is available for all licensed customers at Login - AddonsLabError: Call to protected AddonsLab\Core\Xf2\Admin\EntityConfig::__construct() from scope AL\LocationField\App src/addons/AL/LocationField/App.php:20
[SVG] Tag Cloud Widget
2.2.12.6
Attachments