Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Location.

Location: Difference between revisions

From MoodleDocs
(update timezones)
(Note for sites upgrading to 2.9 from an earlier version)
 
(34 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Managing a Moodle site}}
==Location settings==
==Location settings==
An administrator can change the following location settings in ''Administration > Site administration > Location > Location settings''.


Location: ''Administration > Location > Location settings''
===Time zone settings===


===Default timezone===
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].


This sets the default time zone for date display. This can be overridden by a user's profile setting unless the default timezone is forced.
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===
====Default country====
Select your country so that it appears by default on the new account page.
Select the country to appear by default on a new user account page form.


===IP address lookup===
===IP address lookup===
You can experiment to find out which works better for your area - hostip or ipatlas.
====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.


==Update timezones==
====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.


{{Moodle 1.7}}Location: ''Administration > Location > Update timezones''
'''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


The update timezones page provides administrators with the option to update their local database with new information about world timezones.
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.


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

Latest revision as of 13:52, 7 May 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 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 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, 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.