AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Set google maps location for ip address3/21/2024 ![]() Please refer to the Google Maps Platform Terms of Service for permitted use. Information on obtaining a key can be found at. You will need to ensure you have set up billing in order to use the Google Maps API. If you use Google Maps features within Totara we strongly recommend that you read and agree to the Google Maps Platform Terms of Service and generate a Google Maps API key for use within your site. If you add new, non-standard codes here, you will need to add them to countries.php in en and your language pack. Otherwise, you can specify a comma-separated list of codes, for example GB,FR,ES. If blank (the default), the list in countries.php in the standard English language pack is used. This is the list of countries that may be selected in various places, for example in a user's profile. Once you have the file, extract it into the /home/vagrant/data/txp-16_data/geoip/ directory on your server. You can find details of how to generate a GeoLite2 account and download the file on their website. You can either buy a commercial version or use the free version. This file is not part of Totara distribution and must be obtained separately from MaxMind. Location of GeoLite2 City binary data file. Please note that you need to have a Google account, and apply for a free Google Maps API key to enable interactive maps. IP address location is displayed on a simple map or using Google Maps. It is recommended to install a local copy of free GeoLite2 City database from MaxMind. Unfortunately this database is not maintained anymore, and may return wildly incorrect data. A user's city can be changed from the default if required.īy default Totara uses the free online NetGeo (The Internet Geographic Database) server to look up the location of IP addresses. To force users to choose a country, just leave this unset.Ī city entered here will be the default city when creating new user accounts unless an alternative has been provided. The country entered here will be used by default on new user accounts unless an alternative country has been provided. Below are some examples for 21st March 2022: The date format should be compatible with the formats defined in the PHP DateTime class. You can allow users to individually select their time zone, or force a time zone for everyone.ĭate format to be used in CSV imports such as user uploads with date custom profile fields, or HR import. You should change the setting if it shows as Invalid timezone. Cron tasks and other server settings are specified in this time zone. This is the default time zone for displaying dates, although each user can override this setting in their profile. Location settings can be found via Quick-access menu > Localisation > Location settings. You can configure the following location settings for your site. ![]()
0 Comments
Read More
Leave a Reply. |