-

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

Location: Difference between revisions

From MoodleDocs

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

(→‎Default timezone: info thanks to Tim Gus in MDL-45617)
Line 9: Line 9:
"Server's local time" here will make Moodle default to the server timezone as defined by the “Default timezone” setting in PHP.  
"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''.
Is it '''strongly recommended''' that you select a named timezone specific to your region (e.g. America/New_York) instead of a UTC settings. These settings are aware of [[https://en.wikipedia.org/wiki/Daylight_saving_time local time zone shifts]] such as Summer Time or Daylight Savings Time while UTC is not.  
 
A complete list of timezones from which you can select your region is available for download via ''Site administration > Location > Update timezones''.


====Force default timezone====
====Force default timezone====

Revision as of 20:46, 5 December 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.

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

Is it strongly recommended that you select a named timezone specific to your region (e.g. America/New_York) instead of a UTC settings. These settings are aware of [local time zone shifts] such as Summer Time or Daylight Savings Time while UTC is not.

A complete list of timezones from which you can select your region is available for download via Site 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