Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Location.

Location: Difference between revisions

From MoodleDocs
(Note for sites upgrading to 2.9 from an earlier version)
m (small fixes)
Line 5: Line 5:
===Time zone settings===
===Time zone settings===


Note for sites upgrading to 2.9 from an earlier version: Custom time zone code has been replaced in Moodle 2.9 with standard PHP date and time code. If your PHP version is over 6 months old, time zone data should be updated using the [http://pecl.php.net/package/timezonedb PECL timezonedb package].
Note for sites upgrading from an earlier version: Custom time zone code has been replaced in Moodle 2.9 onwards with standard PHP date and time code. If your PHP version is over 6 months old, time zone data should be updated using the [http://pecl.php.net/package/timezonedb PECL timezonedb package].


If a particular time zone is forced, users will see the name of the time zone on their edit profile page and will be not be able to change it.
If a particular time zone is forced, users will see the name of the time zone on their edit profile page and will be not be able to change it.
Line 15: Line 15:
====GeoIP City data file====
====GeoIP City data file====
Location of GeoIP City binary data file. This is a non-invasive way to determine geographical and other information about  Internet visitors in real-time. This file is not part of Moodle distribution and must be obtained separately from MaxMind.  There is a GeoIPLite version for free.
Location of GeoIP City binary data file. This is a non-invasive way to determine geographical and other information about  Internet visitors in real-time. This file is not part of Moodle distribution and must be obtained separately from MaxMind.  There is a GeoIPLite version for free.


====Google Maps API key====
====Google Maps API key====
Line 21: Line 22:
'''NOTE:''' There is no longer support for Google maps API V2 as it has been deprecated since 2010. V3 is now used. See here for details: https://developers.google.com/maps/documentation/javascript/tutorial#api_key
'''NOTE:''' There is no longer support for Google maps API V2 as it has been deprecated since 2010. V3 is now used. See here for details: https://developers.google.com/maps/documentation/javascript/tutorial#api_key


After updating the information in this section, IP's that are displayed as a link, such as in reports, when clicked will open new window with a Google Map indicating the location of the IP, if found and if not a private address.
After updating the information in this section, IPs that are displayed as a link, such as in reports, when clicked will open new window with a Google Map indicating the location of the IP, if found and if not a private address.


[[es:Localización]]
[[es:Localización]]
[[eu:Kokagunea]]
[[eu:Kokagunea]]

Revision as of 14:26, 13 October 2015

Location settings

An administrator can change the following location settings in Administration > Site administration > Location > Location settings.

Time zone settings

Note for sites upgrading from an earlier version: Custom time zone code has been replaced in Moodle 2.9 onwards with standard PHP date and time code. If your PHP version is over 6 months old, time zone data should be updated using the PECL timezonedb package.

If a particular time zone is forced, users will see the name of the time zone on their edit profile page and will be not be able to change it.

Default country

Select the country to appear by default on a new user account page form.

IP address lookup

GeoIP City data file

Location of GeoIP City binary data file. This is a non-invasive way to determine geographical and other information about Internet visitors in real-time. This file is not part of Moodle distribution and must be obtained separately from MaxMind. There is a GeoIPLite version for free.


Google Maps API key

Google Maps for IP address lookup visualization key. The Google Maps API lets you embed Google Maps with JavaScript. This is free.

NOTE: There is no longer support for Google maps API V2 as it has been deprecated since 2010. V3 is now used. See here for details: https://developers.google.com/maps/documentation/javascript/tutorial#api_key

After updating the information in this section, IPs that are displayed as a link, such as in reports, when clicked will open new window with a Google Map indicating the location of the IP, if found and if not a private address.