Note: This documentation is for Moodle 2.7. For up-to-date documentation see Location.

Location: Difference between revisions

From MoodleDocs

(Additional tools may be found elsewhere in the admin settings)

(location, default timezone, country, IP address lookup)
(→‎Default timezone: cronjobs using this timezone)
 
(20 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Location: ''Administration > Location > Location settings''
{{Admin tools}}
==Location settings==
An administrator can change the following location settings in ''Administration > Site administration > Location > Location settings''.


==Default timezone==
====Default timezone====


This sets the default time zone for date display. This can be overridden by a user's profile setting unless the default time zone is forced.
This sets the default timezone for date display. Also, cronjobs that depend on a time of day to run will use this timezone.


==Default country==
"Server's local time" here will make Moodle default to the server timezone as defined by the “Default timezone” setting in PHP.  
Select your country so that it appears by default on the new account page.


==IP address lookup==
Is it recommended that you select a named timezone specific to your region (e.g. America/New_York). A complete list of timezones from which you can select your region is available for download via ''Administration > Location > Update timezones''.
You can experiment to find out which works better for your area - hostip or ipatlas.


[[Category:Administrator]]
====Force default timezone====
Pull down menu to force the user to be in a specific timezone or allow users to individually select their timezone.
 
====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.
 
==Update timezones==
 
The update timezones page ''Administration > Site administration > Location > Update timezones'' provides administrators with the option to update their local database with new information about world timezones. This is important because of [http://en.wikipedia.org/wiki/Daylight_saving_time daylight saving] changes that many countries  use.
 
If the update is completed with success, Moodle will inform you how many entries were updated and which location was used as a source.
 
==See also==
*[http://youtu.be/L-_2N9gIiLo Moodle 2 Administration - Location]  MoodleBites video on YouTube 
 
[[es:Localización]]
[[eu:Kokagunea]]

Latest revision as of 09:36, 31 October 2014

Location settings

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

Default timezone

This sets the default timezone for date display. Also, cronjobs that depend on a time of day to run will use this timezone.

"Server's local time" here will make Moodle default to the server timezone as defined by the “Default timezone” setting in PHP.

Is it recommended that you select a named timezone specific to your region (e.g. America/New_York). A complete list of timezones from which you can select your region is available for download via Administration > Location > Update timezones.

Force default timezone

Pull down menu to force the user to be in a specific timezone or allow users to individually select their timezone.

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.

Update timezones

The update timezones page Administration > Site administration > Location > Update timezones provides administrators with the option to update their local database with new information about world timezones. This is important because of daylight saving changes that many countries use.

If the update is completed with success, Moodle will inform you how many entries were updated and which location was used as a source.

See also