<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/23/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fox</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/23/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fox"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/Special:Contributions/Fox"/>
	<updated>2026-04-18T21:47:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Site_administrators&amp;diff=102515</id>
		<title>Site administrators</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Site_administrators&amp;diff=102515"/>
		<updated>2013-02-08T08:54:38Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Standard roles}}&lt;br /&gt;
Site administrators have permissions to do anything. &lt;br /&gt;
&lt;br /&gt;
Users may be assigned the role of site administrator by another site administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Site administrators&#039;&#039;, but the role itself cannot be edited (or deleted!).&lt;br /&gt;
&lt;br /&gt;
[[File:Managesiteadministrators.png]]&lt;br /&gt;
&lt;br /&gt;
Note: The primary administrator (created when the site was created) cannot be removed from the site administrator role.&lt;br /&gt;
&lt;br /&gt;
[[de:Administrator-Rolle]]&lt;br /&gt;
[[fr:Administrateur]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=User:S%C3%A9verin_Terrier&amp;diff=102371</id>
		<title>User:Séverin Terrier</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=User:S%C3%A9verin_Terrier&amp;diff=102371"/>
		<updated>2013-01-08T10:13:02Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Working in [http://www.ut-capitole.fr Université Toulouse 1 Capitole], i&#039;m administrator of several Moodle sites.&lt;br /&gt;
&lt;br /&gt;
In Moodle community, i :&lt;br /&gt;
* assist [[User:Nicolas Martignoni|Nicolas Martignoni]] for [http://moodle.org/course/view.php?id=20 Moodle en français].&lt;br /&gt;
* try to improve the [[:fr:|french Moodle documentation]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Utilisateur:Séverin Terrier]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Verify_Database_Schema&amp;diff=98200</id>
		<title>Verify Database Schema</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Verify_Database_Schema&amp;diff=98200"/>
		<updated>2012-06-06T14:05:28Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
If you have been upgrading your Moodle site over several versions, it is possible (likely even) that some differences may have crept in between the database table definitions (the &amp;quot;schema&amp;quot;) in your database and the version you would get creating a new empty site. This happens because of small errors or oversights in the upgrade scripts. Most of these differences are not harmful, but some may cause strange or unexpected errors. For example, if a default value has been added to a field and this was not reflected in an upgrade script code that assumes the presence of the default may fail to work as expected. &lt;br /&gt;
&lt;br /&gt;
The solution is after doing an upgrade (or, if your problem is that the upgrade fails, before) to compare the database schema of the &amp;quot;production&amp;quot; site to that of a newly created site (where no upgrades have been performed) using &#039;&#039;&#039;exactly&#039;&#039;&#039; the same code base. There are a number of ways of doing this, but this article outlines a simple way using the Unix command line.&lt;br /&gt;
&lt;br /&gt;
* Complete the upgrade&lt;br /&gt;
* Generate the database schema from your recently upgraded site using the following command:&lt;br /&gt;
    mysqldump -d -u root -p &#039;&#039;myproductiondb&#039;&#039; &amp;gt;production.schema&lt;br /&gt;
* Copy the code  of your production database to a new (web accessible) location (this is important, it *must* be the same version)&lt;br /&gt;
* Create a new, empty database and moodledata area for the new site as per the [[Installation]] instructions&lt;br /&gt;
* Edit the config.php file to point at the new database and locations, or delete it and use the install script&lt;br /&gt;
* Run the install script to generate the (if applicable) config.php file and the database (admin and site values are not important)&lt;br /&gt;
* Generate the database schema from your new site using the following command:&lt;br /&gt;
    mysqldump -d -u root -p &#039;&#039;mycleandb&#039;&#039; &amp;gt;clean.schema&lt;br /&gt;
* Run the following command to detect the differences&lt;br /&gt;
    diff -u production.schema clean.schema &amp;gt;db.diff&lt;br /&gt;
&lt;br /&gt;
You can now look at &#039;&#039;db.diff&#039;&#039; with your favorite editor to see the differences.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; The above obviously applies to MySQL databases. Other databases are likely to have a similar function to dump only the schema. For example PostgreSQL has the &#039;&#039;&#039;pg_dump&#039;&#039;&#039; command. The remainder of the discussion still applies. &lt;br /&gt;
&lt;br /&gt;
==Interpreting the diff file==&lt;br /&gt;
&lt;br /&gt;
Firstly here&#039;s a (real) example:&lt;br /&gt;
&lt;br /&gt;
     --&lt;br /&gt;
     -- Table structure for table `mdl_backup_config`&lt;br /&gt;
        @@ -129,11 +93,11 @@&lt;br /&gt;
         DROP TABLE IF EXISTS `mdl_backup_config`;&lt;br /&gt;
         CREATE TABLE `mdl_backup_config` (&lt;br /&gt;
    -  `id` int(10) unsigned NOT NULL auto_increment,&lt;br /&gt;
    +  `id` bigint(10) unsigned NOT NULL auto_increment,&lt;br /&gt;
       `name` varchar(255) NOT NULL default &#039;&#039;,&lt;br /&gt;
       `value` varchar(255) NOT NULL default &#039;&#039;,&lt;br /&gt;
        PRIMARY KEY  (`id`),&lt;br /&gt;
    -  UNIQUE KEY `name` (`name`)&lt;br /&gt;
    +  UNIQUE KEY `mdl_backconf_nam_uix` (`name`)&lt;br /&gt;
         ) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COMMENT=&#039;To store backup configuration variables&#039;;&lt;br /&gt;
&lt;br /&gt;
The file may have lots of blocks of changes. The - lines show lines to be taken out and the + lines the ones to replace them (from the production to the clean). So here, the int has been replaced with a bigint and the key name changed. Both of these, technically, should have been changed at some point by upgrade scripts but have been missed. In this case they are unlikely to affect the operation of Moodle. &lt;br /&gt;
&lt;br /&gt;
===Too many changes to track manually?===&lt;br /&gt;
&lt;br /&gt;
You can also use database management programs to synchronize old and new Moodle databases.&lt;br /&gt;
&lt;br /&gt;
For example [http://wb.mysql.com/ MySQL Workbrench] for MySQL databases.&lt;br /&gt;
&lt;br /&gt;
This is very useful, if You have a lot of changes.&lt;br /&gt;
&lt;br /&gt;
If you can work a Unix/Linux command line the Python script [http://schemasync.org/ Schema Sync] provides a quick and simple way to generate all the commands to update your database.&lt;br /&gt;
&lt;br /&gt;
==Should I worry?==&lt;br /&gt;
&lt;br /&gt;
Changes in field types (as long as they are compatible) and key name changes seem to be the common issues but &#039;&#039;&#039;should&#039;&#039;&#039; not cause problems. Things to look out for would be along the lines of missing fields and changes to default values.&lt;br /&gt;
&lt;br /&gt;
If you are about to upgrade to Moodle 2.0 you should be more concerned. In order for the upgrade to proceed smoothly it is a very good idea to correct these problems.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* The missing indexes report in &#039;&#039;SiteAdmin-&amp;gt;Misc-&amp;gt;XMLDB editor-&amp;gt;Check Indexes&#039;&#039;&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=45 Moodle Databases Forum]&lt;br /&gt;
&lt;br /&gt;
[[de:Datenbank-Schema prüfen]]&lt;br /&gt;
[[fr:Vérification du schéma de la base de données]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Installation&amp;diff=98199</id>
		<title>Installation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Installation&amp;diff=98199"/>
		<updated>2012-06-06T13:15:24Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Main page}}&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;Note: The following installation pages are currently being updated. Please bear with us while this work is being completed.&amp;lt;/p&amp;gt;&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
If you are installing a new Moodle site, start here:&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] - for experts and the impatient&lt;br /&gt;
*[[Installing Moodle]] - for everyone else&lt;br /&gt;
*[[Cron]]&lt;br /&gt;
*[[Installing plugins]]&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
&lt;br /&gt;
==Upgrading==&lt;br /&gt;
&lt;br /&gt;
If you are upgrading your Moodle site, start here:&lt;br /&gt;
&lt;br /&gt;
*[[Upgrading]]&lt;br /&gt;
*[[Upgrading to Moodle 2.3]]&lt;br /&gt;
*[[Git for Administrators|Git guide]]&lt;br /&gt;
*[[CVS for Administrators|CVS guide]]&lt;br /&gt;
*[[Verify Database Schema]]&lt;br /&gt;
*[[Upgrading FAQ]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Moodle migration]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[de:Installation]]&lt;br /&gt;
[[fr:Installation]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Managing_content&amp;diff=96681</id>
		<title>Managing content</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Managing_content&amp;diff=96681"/>
		<updated>2012-03-27T15:28:44Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}&lt;br /&gt;
Moodle is &#039;&#039;&#039;not&#039;&#039;&#039; primarily a content management system but it does offer a range of ways to import, export and manage digital content of any kind to enable and support learning. The following links will provide more information:&lt;br /&gt;
&lt;br /&gt;
* [[Working with files]] - how to upload files and folders to Moodle.&lt;br /&gt;
* [[Repositories]] - how to import content into Moodle from external storage sites like [[Flickr repository|Flickr]], [[Youtube_videos_repository|Youtube]], [[Google_Docs_repository|Google docs]] etc.&lt;br /&gt;
* [[Portfolios]] - how to export content from Moodle into external portfolios like [[Mahara portfolio|Mahara]].&lt;br /&gt;
* [[Working with media]] - how best to upload and display images, sound, video and embedded content.&lt;br /&gt;
* [[Filters]] - how to display links,media players, Maths symbols, emoticons and more.&lt;br /&gt;
* [[Licences]] - how to display and choose an appropriate licence for your files.&lt;br /&gt;
* [[Plagiarism prevention]] - how to check students&#039; submitted work is not copied.&lt;br /&gt;
&lt;br /&gt;
[[fr:Gestion du contenu]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Upgrading_to_Moodle_2.2&amp;diff=94062</id>
		<title>Upgrading to Moodle 2.2</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Upgrading_to_Moodle_2.2&amp;diff=94062"/>
		<updated>2011-11-24T09:45:29Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
{{Moodle 2.2}}You can upgrade to Moodle 2.2 from Moodle 2.1, 2.0 or 1.9. If you are upgrading from 1.9, please read the [https://docs.moodle.org/20/en/Upgrading_to_Moodle_2.0 Upgrading to Moodle 2.0] page too. If you are using an earlier version of Moodle, you must upgrade to the latest Moodle 1.9.x first.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;We advise that you test the upgrade first on a COPY of your production site, to make sure it works as you expect.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==System requirements==&lt;br /&gt;
&lt;br /&gt;
* PHP must be &#039;&#039;&#039;5.3.2&#039;&#039;&#039; or later&lt;br /&gt;
** Required PHP extensions: iconv, curl, ctype, zip, simplexml, spl, pcre, dom, xml, json&lt;br /&gt;
** Required PHP memory_limit at least 40MB (64MB or more recommended if you have a choice)&lt;br /&gt;
* Databases should be one of the following:&lt;br /&gt;
** MySQL 5.0.25 or later  (InnoDB storage engine highly recommended)&lt;br /&gt;
** PostgreSQL 8.3 or later&lt;br /&gt;
** Oracle 10.2 or later&lt;br /&gt;
** MS SQL 2005 or later&lt;br /&gt;
* Any standards-supporting browser from the past few years, for example:&lt;br /&gt;
** Firefox 3 or later &lt;br /&gt;
** Safari 3 or later &lt;br /&gt;
** Google Chrome 4 or later&lt;br /&gt;
** Opera 9 or later&lt;br /&gt;
** MS Internet Explorer 7 or later&lt;br /&gt;
&lt;br /&gt;
Note: The above system requirements are unchanged from Moodle 2.1.&lt;br /&gt;
&lt;br /&gt;
==Before upgrading please... ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: The upgrade process will irreversibly modify the contents of your database &#039;&#039;&#039;and&#039;&#039;&#039; your moodledata file storage area. If something goes wrong you &#039;&#039;&#039;cannot&#039;&#039;&#039; go back. It is vital that you take good backups of both moodledata and the database in case you have problems with the upgrade. If you are not sure how see [[Site backup]] or ask in the moodle.org forums (explaining what your operating system is).  &lt;br /&gt;
&lt;br /&gt;
* Read the [[:dev:Moodle 2.2 release notes]]&lt;br /&gt;
* Always check your site to make sure it meets all system requirements for 2.2 in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Server &amp;gt; [[Environment]]&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Do a full database backup!&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Do a full moodledata backup&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Check your backups carefully&#039;&#039;&#039;&lt;br /&gt;
* Remember to purge PHP cache if using any PHP accelerator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Possible issues that may affect you==&lt;br /&gt;
&lt;br /&gt;
* If you have custom reports, there have been changes that may require (simple) changes to be made to their code.&lt;br /&gt;
* Global search has been removed from core as it was broken.  A new global search is being written for 2.3.&lt;br /&gt;
* Some web service functions have been deprecated.  They still work, but check any web service connections you may have to your Moodle for the future.&lt;br /&gt;
&lt;br /&gt;
==Checking database schema - old sites==&lt;br /&gt;
&lt;br /&gt;
If your Moodle site has been upgraded through many prior versions it is possible that there will be some problems with the database schema (compared to a fresh 2.0 installation). This may cause the upgrade to fail. If your site started life prior to Moodle 2.0 it is a very good idea to check and correct the database schema before upgrading. See [[Verify Database Schema]]. You should also run the database integrity checks in the XMLDB editor, see the &#039;See also&#039; for a link to extra scripts to check for other discrepancies.&lt;br /&gt;
&lt;br /&gt;
==Now upgrade==&lt;br /&gt;
&lt;br /&gt;
Once you have satisfied the requirements for Moodle 2.2, follow the instructions on the [[Upgrading|upgrading]] page.&lt;br /&gt;
&lt;br /&gt;
On Linux servers, Moodle 2.2 supports running the [[CLI|upgrade from the command line]], rather than through a web browser. This is likely to be more reliable, particularly for large sites.&lt;br /&gt;
&lt;br /&gt;
==After upgrade==&lt;br /&gt;
&lt;br /&gt;
The config.php file from your 2.0 installation should work fine but if you take a look at config-dist.php that came with Moodle 2.0 there are more/different options available (e.g. database drivers and settings). It&#039;s a good idea to map your old config.php settings to a new one based on the 2.2 config-dist.php.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[dev:Moodle 2.2 release notes]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Mise à jour à Moodle 2.2]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Custom_SQL_queries_report&amp;diff=82587</id>
		<title>Custom SQL queries report</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Custom_SQL_queries_report&amp;diff=82587"/>
		<updated>2011-04-06T08:36:52Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 1.9}}&lt;br /&gt;
Created by The Open University&lt;br /&gt;
&lt;br /&gt;
This admin report plugin allows Administrators to set up arbitrary database queries to act as ad-hoc reports. Reports can be of two types: either run on demand, or scheduled to run automatically. Other users with the right capability can go in and see a list of queries that they have access to. Results can be viewed on-screen or downloaded as CSV.&lt;br /&gt;
&lt;br /&gt;
==Installing this report==&lt;br /&gt;
&lt;br /&gt;
Follow the generic [[Installing contributed modules or plugins]] documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Screen shots==&lt;br /&gt;
&lt;br /&gt;
Here are two example screen shots, showing the two main screens.&lt;br /&gt;
&lt;br /&gt;
[[Image:Custom_report_list.png|thumb|none|600px|The list of available reports]]&lt;br /&gt;
[[Image:Custom_report.png|thumb|none|600px|The results of running one of the reports]]&lt;br /&gt;
&lt;br /&gt;
(Note, these screen shots are in the OU theme, not the standard Moodle theme, and iCMA is OU-jargon for quiz.)&lt;br /&gt;
&lt;br /&gt;
==Interface for normal users==&lt;br /&gt;
&lt;br /&gt;
===List of available queries===&lt;br /&gt;
&lt;br /&gt;
Users with the report/customsql:view capability can access the list of reports in the admin block. Each query is accessible only to a certain people. There are three levels of access:&lt;br /&gt;
* Available to any one who can access the report at all (those with report/customsql:view).&lt;br /&gt;
* Available to people who are able to see other system reports (those with moodle/site:viewreports)&lt;br /&gt;
* Available to administrators only (those with moodle/site:config)&lt;br /&gt;
&lt;br /&gt;
When you go to the list, it will only show the queries you have access to. There is a note beside each query saying when it was last run, and how long it took to generate.&lt;br /&gt;
&lt;br /&gt;
The list shows on-demand and scheduled queries separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running an on-demand query===&lt;br /&gt;
&lt;br /&gt;
To run an on-demand query, click on its name in the list of queries.&lt;br /&gt;
&lt;br /&gt;
The query will be run, and the results will be displayed as a table. Any URLs in the table will automatically be made into hyperlinks.&lt;br /&gt;
&lt;br /&gt;
A description of the query may appear above the table.&lt;br /&gt;
&lt;br /&gt;
The summary of when the query was run and how long it took is shown at the bottom, along with a link to download the CSV file (for example to get the data into Excel) and a link back to the list of all available queries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Viewing the results of scheduled queries===&lt;br /&gt;
&lt;br /&gt;
Scheduled queries can work in one of two ways. Either each run of the report generates and entire table of reasults, or each run just creates one line of results, and the report builds up a row at a time.&lt;br /&gt;
&lt;br /&gt;
When you click the name in the list of queries, you get taken to a display of the latest results, just like in the on-demand case.&lt;br /&gt;
&lt;br /&gt;
However, if each scheduled run generates a complete report, then at the bottom of a page there will be a list of all the previous runs of the report, so that you can go and see how the report changed over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interface for administrators==&lt;br /&gt;
&lt;br /&gt;
Administrators (that is, users with report/customsql:definequeries) see everything that other users see, but with some additions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Additional controls in the staff interface===&lt;br /&gt;
&lt;br /&gt;
Administrators get shown who each report in the list is available to.&lt;br /&gt;
&lt;br /&gt;
They also get an edit and a delete icon next to each query.&lt;br /&gt;
&lt;br /&gt;
There is an &#039;&#039;&#039;Add new query button&#039;&#039;&#039; at the end of the list of queries.&lt;br /&gt;
&lt;br /&gt;
When viewing a particular query, Administrators get an edit and a delete link underneath the table of results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Adding or editing a query===&lt;br /&gt;
&lt;br /&gt;
When you click the &#039;&#039;&#039;Add new query button&#039;&#039;&#039;, you get taken to an editing form that lets you define the query.&lt;br /&gt;
&lt;br /&gt;
You must give the query a name.&lt;br /&gt;
&lt;br /&gt;
You can optionally enter a description that is displayed above the results table. You should use this to explain what the results of the query mean.&lt;br /&gt;
&lt;br /&gt;
You must enter the SQL to generate the results you want displayed. This must be an SQL select statement. You must use the prefix prefix_ for table names. It should not be possible to enter any SQL that would alter the contents of the database.&lt;br /&gt;
&lt;br /&gt;
You choose who you want the query to be accessible to.&lt;br /&gt;
&lt;br /&gt;
You choose whether the query should be run on-demand or scheduled weekly or monthly. If the report is scheduled, you can say whether the each run returns one row to be added to a single table, or whether each run generates a separate table.&lt;br /&gt;
&lt;br /&gt;
When you save the new query, the SQL is checked to make sure that it will execute without errors. If you have said that the report will only return a single row, this is also checked.&lt;br /&gt;
After saving the query, if this was a manual query, you are taken to the query results page, so you can see what the results look like. If it was an automatic query or if you cancel the form, you are taken to the list of available queries.&lt;br /&gt;
&lt;br /&gt;
Editing an existing query uses the same form as for adding a new query, but to change the properties of an existing query.&lt;br /&gt;
&lt;br /&gt;
Note that at the OU, weeks start on Saturday. If you don&#039;t like that, there is a fairly obvious constant to hack at the top of locallib.php.&lt;br /&gt;
&lt;br /&gt;
===Deleting a query===&lt;br /&gt;
&lt;br /&gt;
When you click the delete icon or link for a query, you are taken to a confirmation page that shows you SQL of the query you are about to delete. The query is only deleted if you click Yes on the confirmation page.&lt;br /&gt;
&lt;br /&gt;
After deleting a query, you are taken back to the list of queries.&lt;br /&gt;
&lt;br /&gt;
==Share your interesting queries here==&lt;br /&gt;
&lt;br /&gt;
If you come up with any interesting SQL to custom reports, you can share it here.&lt;br /&gt;
&lt;br /&gt;
===Quiz attempts in the last week/month===&lt;br /&gt;
&lt;br /&gt;
Set this up as a scheduled report:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT COUNT(*)&lt;br /&gt;
FROM prefix_quiz_attempts&lt;br /&gt;
WHERE timefinish &amp;gt; %%STARTTIME%%&lt;br /&gt;
    AND timefinish &amp;lt;= %%ENDTIME%%&lt;br /&gt;
    AND preview = 0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This &#039;&#039;&#039;must&#039;&#039;&#039; be set up as a &#039;&#039;&#039;Scheduled, on the first day of each week&#039;&#039;&#039; or &#039;&#039;&#039;Scheduled, on the first day of each month&#039;&#039;&#039; report, or it will not work.&lt;br /&gt;
&lt;br /&gt;
===Usage summary===&lt;br /&gt;
&lt;br /&gt;
This report shows roughly the same usage statistics that are sent to moodle.org when you register your site. The ones that are aggregated at http://moodle.org/stats/. (The only difference is that the registration form does not do AND confirmed = 1 for some reason.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_course) - 1 AS courses,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_user WHERE deleted = 0 AND confirmed = 1) AS users,&lt;br /&gt;
(SELECT COUNT(DISTINCT ra.userid)&lt;br /&gt;
 FROM prefix_role_capabilities rc&lt;br /&gt;
 JOIN prefix_role_assignments ra ON ra.roleid = rc.roleid&lt;br /&gt;
 WHERE rc.capability IN (&#039;moodle/course:upd&#039; || &#039;ate&#039;, &#039;moodle/site:doanything&#039;)) AS teachers,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_role_assignments) AS enrolments,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_forum_posts) AS forum_posts,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_resource) AS resources,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_question) AS questions&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are two interesting queries in this blog post [http://tjhunt.blogspot.com/2010/03/when-do-students-submit-their-online.html When do students submit their online tests?].&lt;br /&gt;
&lt;br /&gt;
===Monthly Usage by Role===&lt;br /&gt;
&lt;br /&gt;
This report shows a distinct count of users by their role, accessing your site.  Each instance of user and role is counted once per month, no matter how many courses they access.  We use this to show the total number of students and teachers accessing our site.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT &lt;br /&gt;
month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)) AS calendar_month,&lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)) AS calendar_year,&lt;br /&gt;
prefix_role.name as user_role,&lt;br /&gt;
COUNT(DISTINCT prefix_stats_user_monthly.userid) AS total_users&lt;br /&gt;
FROM&lt;br /&gt;
prefix_stats_user_monthly&lt;br /&gt;
Inner Join prefix_role_assignments ON prefix_stats_user_monthly.userid = prefix_role_assignments.userid&lt;br /&gt;
Inner Join prefix_context ON prefix_role_assignments.contextid = prefix_context.id&lt;br /&gt;
Inner Join prefix_role ON prefix_role_assignments.roleid = prefix_role.id&lt;br /&gt;
WHERE prefix_context.contextlevel = 50&lt;br /&gt;
AND `prefix_stats_user_monthly`.`stattype` = &#039;activity&#039;&lt;br /&gt;
AND prefix_stats_user_monthly.courseid &amp;lt;&amp;gt;1&lt;br /&gt;
GROUP BY month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
prefix_stats_user_monthly.stattype,&lt;br /&gt;
prefix_role.name&lt;br /&gt;
ORDER BY &lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)), month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
prefix_role.name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must have Statistics turned on to be able to generate any data with this report.&lt;br /&gt;
&lt;br /&gt;
===Show all Quiz results across a site===&lt;br /&gt;
I&#039;m sure someone will be able to improve upon this, but this is a query that will show Quiz results across a site. --[[User:Stuart Mealor|Stuart Mealor]] 22:07, 9 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT &lt;br /&gt;
     prefix_grade_items.itemname,&lt;br /&gt;
     prefix_grade_items.grademax,&lt;br /&gt;
     ROUND(prefix_grade_grades.finalgrade, 0) AS finalgrade,&lt;br /&gt;
     prefix_user.firstname,&lt;br /&gt;
     prefix_user.lastname,&lt;br /&gt;
     prefix_user.username&lt;br /&gt;
FROM&lt;br /&gt;
     prefix_grade_grades&lt;br /&gt;
     INNER JOIN prefix_user ON prefix_grade_grades.userid = prefix_user.id&lt;br /&gt;
     INNER JOIN prefix_grade_items ON prefix_grade_grades.itemid = prefix_grade_items.id&lt;br /&gt;
WHERE (prefix_grade_items.itemname IS NOT NULL)&lt;br /&gt;
AND (prefix_grade_items.itemtype = &#039;mod&#039; OR prefix_grade_items.itemtype = &#039;manual&#039;)&lt;br /&gt;
AND (prefix_grade_items.itemmodule = &#039;quiz&#039; OR prefix_grade_items.itemmodule IS NULL)&lt;br /&gt;
AND (prefix_grade_grades.timemodified IS NOT NULL)&lt;br /&gt;
AND (prefix_grade_grades.finalgrade &amp;gt; 0)&lt;br /&gt;
AND (prefix_user.deleted = 0)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Reports_(administrator)]] for other admin reports&lt;br /&gt;
* [[Installing contributed modules or plugins]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=136484 Custom SQL queries report] forum announcement&lt;br /&gt;
* list of [[ad-hoc contributed reports]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=153059 Forum post] with some more useful queries.&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Report]]&lt;br /&gt;
[[Category:Contributed_code]]&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/report/customsql/index]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Installations_10000_plus&amp;diff=82380</id>
		<title>Installations 10000 plus</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Installations_10000_plus&amp;diff=82380"/>
		<updated>2011-03-29T14:05:33Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Large Installations}}&lt;br /&gt;
&lt;br /&gt;
Please add your school info here, if you have a Moodle installation catering (or expecting to cater) for 10,000 or more users.&lt;br /&gt;
==Austria==&lt;br /&gt;
* [http://elearning.tuwien.ac.at/ Moodle (TUWEL)] user statistics September 25th 2009 - Vienna University of Technology (TU Vienna)  &lt;br /&gt;
 &lt;br /&gt;
 - 19.250 users (students &amp;amp; teachers)&lt;br /&gt;
 - 13.400 students enrolled in courses&lt;br /&gt;
 - 1.030 teachers enrolled in courses&lt;br /&gt;
 - 5000+ active users per day&lt;br /&gt;
 &lt;br /&gt;
Our mission is „technology for people“. Through our research we „develop scientific excellence“, through our teaching we „enhance comprehensive competence“.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.uni-graz.at/ moodle @ uni-graz ] Primary moodle server of the Karl Franzens University Graz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Brazil==&lt;br /&gt;
&lt;br /&gt;
* [http://www.escolatecnica.ufrgs.br Escola Técnica da Universidade Federal do Rio Grande do Sul] - Professional school in Brazil, with 1,200 students. Adopted Moodle in 2004 and has been using it since then.&lt;br /&gt;
&lt;br /&gt;
==Canada==&lt;br /&gt;
&lt;br /&gt;
* [http://www.athabascau.ca/ Athabasca University] - Canada&#039;s leading distance-education and online university: Canada&#039;s Open University, serving about 30,000 students per year. Athabasca has decided to adopt Moodle as a single platform instead of WebCT Vista (i.e. the top of the line version). You can read their [http://www.athabascau.ca/media/index.php?id=132 press release] for more info.&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.mala.bc.ca/ Malaspina University-College] - Malaspina U-C is located on Vancouver Island in British Columbia, Canada. MUC was established in 1969, and has over 10,000 full-time Canadian students, plus 1,000 international students from more than 50 countries. MUC offers graduate and undergraduate degrees, diplomas and certificates, and a 5-level English Language program. MUC offers classroom-student support through Moodle, as well as a range of fully online courses through [http://pr.malaonline.ca/ Malaspina Continuing Education]. MUC switched from WebCT to Moodle in 2006.&lt;br /&gt;
&lt;br /&gt;
* [http://www.usherbrooke.ca/ Université de Sherbrooke] - L&#039;Université de Sherbrooke accueille plus de 37 000 étudiantes et étudiants, provenant de plus de 100 pays, dont quelque 9000 inscrits à l’Université du troisième âge. Plus de 85 % de la population étudiante de l’Université de Sherbrooke provient de l’extérieur de Sherbrooke. L’Université de Sherbrooke emploie 6700 personnes. Elle compte 10 % du corps professoral québécois.&lt;br /&gt;
&lt;br /&gt;
==China==&lt;br /&gt;
&lt;br /&gt;
* [http://english.bit.edu.cn/ Beijing Institute of Technology]&lt;br /&gt;
&lt;br /&gt;
==Czech Republic==&lt;br /&gt;
&lt;br /&gt;
* [https://moodle.czu.cz Czech University of Life Sciences Prague] &lt;br /&gt;
** 35,590 users in 911 courses (14,665 active users in last 15 days) / 18th October 2010&lt;br /&gt;
** Moodle 1.9.5&lt;br /&gt;
** integration with LDAP and Oracle&lt;br /&gt;
** Administration: [http://www.oikt.czu.cz/?r=1686 E-learning Support Centre, Division of IT, CULS Prague]&lt;br /&gt;
&lt;br /&gt;
==France==&lt;br /&gt;
&lt;br /&gt;
* [http://cursus.uhb.fr/ Université de Rennes 2 - Haute Bretagne] - 20,000 to 30,000 users in 1400 courses&lt;br /&gt;
** 8,000 different users connected every month&lt;br /&gt;
** 300 teachers actually involved&lt;br /&gt;
** integration with LDAP and Esup-Portail (based on uPortal) ; &lt;br /&gt;
** authentication via CAS&lt;br /&gt;
&lt;br /&gt;
* [http://cours.univ-tlse1.fr/ Université Toulouse 1 Capitole] - 18,000 users in 800 courses, Moodle 1.9.11+&lt;br /&gt;
** 300 teachers actually involved&lt;br /&gt;
** integration with LDAP and Esup-Portail (based on uPortal)&lt;br /&gt;
** authentication via CAS&lt;br /&gt;
&lt;br /&gt;
==Germany==&lt;br /&gt;
&lt;br /&gt;
* [http://www.isis.tu-berlin.de/ Technische Universität Berlin] - 10,400 Users in 402 courses (updated: 07.June.2007)&lt;br /&gt;
** After a test period, the Information System for Instructors and Students (ISIS) was launched in september 2006. &lt;br /&gt;
&lt;br /&gt;
==India==&lt;br /&gt;
* [http://www.amieindia.net AMIE India] is a website for [http://www.amieindia.net AMIE] students currently (as of September 2007) having 239 courses, 11246 users.&lt;br /&gt;
&lt;br /&gt;
* [http://www.visveswaraya.org/ AMIE] a residential AMIE Institute in Kerala, India, listed in LIMCA Book of Records with 130 All India Ranks, is best ever for AMIE coaching &amp;amp; IIT &amp;amp; NIT higher studies.&lt;br /&gt;
&lt;br /&gt;
==Ireland==&lt;br /&gt;
&lt;br /&gt;
* [http://www.dcu.ie Dublin City University] 18,000 users in 3,600 courses.&lt;br /&gt;
&lt;br /&gt;
==Italy==&lt;br /&gt;
&lt;br /&gt;
* [http://www.aulaweb.unige.it/ AulaWeb - University of Genoa] AulaWeb is an university-wide installation of Moodle, organized in virtual instances, one for each laurea degree. In March 2007, it hosts more than 78 instances used by 10.500 students.&lt;br /&gt;
&lt;br /&gt;
==Jamaica==&lt;br /&gt;
*[http://ourvle.mona.uwi.edu The University of the West Indies] - 23,000+ users in 1600+ courses&lt;br /&gt;
&lt;br /&gt;
==New Zealand==&lt;br /&gt;
&lt;br /&gt;
*[http://campus.openpolytechnic.ac.nz/ The Open Polytechnic of New Zealand] - 35,000+ students, 6,500+ courses, single sign-on for library services using Ezy Proxy, single sign-on for webmail, using SquirrelMail, uses LDAP for interface with Sears Student Management System. Comments by [https://eduforge.org/wiki/wiki/nzvle/wiki?pagename=Comments%20by%20Ken%20Udas%2C%20Director%20of%20eLearning%20at%20the%20Open%20Polytechnic Ken Udas, Director of eLearning at the Open Polytechnic]&lt;br /&gt;
&lt;br /&gt;
==Palestine==&lt;br /&gt;
&lt;br /&gt;
*[http://eclass.alquds.edu Al-Quds University] - 12,000+ users in 900+ courses. Al-Quds University started using moodle in 2004.&lt;br /&gt;
&lt;br /&gt;
== Philippines ==&lt;br /&gt;
&lt;br /&gt;
* [http://eclass.adzu.edu.ph Ateneo de Zamboanga University] - with 10,000+ faculty, staff and students (started using Moodle since 2002)&lt;br /&gt;
&lt;br /&gt;
== Portugal ==&lt;br /&gt;
&lt;br /&gt;
[http://moodle.fct.unl.pt/ Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa] - 5000+ users in 400+ pages.&lt;br /&gt;
&lt;br /&gt;
==South Africa==&lt;br /&gt;
&lt;br /&gt;
* [http://www.ru.ac.za Rhodes University] in Grahamstown runs an instance of Moodle as its institutional LMS [http://ruconnected.ru.ac.za RUconnected] currently with more than 10 000 registered users, including more than 550 teachers.&lt;br /&gt;
&lt;br /&gt;
== Spain ==&lt;br /&gt;
&lt;br /&gt;
*[http://aulavirtual.uji.es/ Universitat Jaume I]. Official VLE since 2004. 13.600 real users (12.500 students and 1.100 teachers) and 1.300 active courses on February 2009. Moodle 1.9.x.&lt;br /&gt;
&lt;br /&gt;
*[http://www.upc.edu La Universitat Politecnica de Cataluña] on september 2005 started a pilot Moodle installation with 3.000 Students. On september 2006 the migration from the old campus to Moodle will be complete with more than 30.00 students [http://atenea.upc.edu El campus Atenea 4] runs Moodle 1.4.5 y an will be updated to Moodle 1.5.3 in september 2006. [http://www.upc.edu UPC] has developed several applicatons adn bridges between its own informacion systems.&lt;br /&gt;
** Integration with the academic management informatio system &amp;quot;Prisma&amp;quot;.   &lt;br /&gt;
** [http://appserv.lsi.upc.es/palangana/moodle/course/view.php?id=18 Internalmail] (developed also in  UPC) is used for as email internal system.&lt;br /&gt;
** Moodle integration with [http://bibliotecnica.upc.edu the upc library system].&lt;br /&gt;
** Adaptation of Moodle grades to spanish university grading system.&lt;br /&gt;
** And other stuff&lt;br /&gt;
&lt;br /&gt;
*[http://www.urv.cat/ Universitat Rovira i Virgili] using Moodle for three academic years. At present version 1.5.4+ to be updated to 1.6.4+ in short. In march 2007, 22701 users registered and 3500 courses created aprox.&lt;br /&gt;
** Integration with the academic management information system&lt;br /&gt;
** Integration with the corporative LDAP user’s directory&lt;br /&gt;
** Average of 504 courses used regularly (logs at least once a week)&lt;br /&gt;
** Average of 3200 students login at least once a day&lt;br /&gt;
** Average of 7200 students login at least once a week&lt;br /&gt;
** 10500 users (teachers and students) accessed at least once during the last month (data from 26th march 2007)&lt;br /&gt;
&lt;br /&gt;
*[http://www.ulpgc.es/index.php?pagina=campusvirtual&amp;amp;ver=inicio Universidad de Las Palmas de Gran Canaria (ULPGC)] - 24.000 users in aprox. 1800 courses. We started with Moodle 1.4 four years ago as a test pilot project for a small number of courses. Now offered as a basic service for all courses at ULPGC: 55 official EU titles and 5 more offered ONLY through Web. &lt;br /&gt;
** We are using version 1.6.3 with LDAP authentification&lt;br /&gt;
** Custom modules: ULPGCAssignment and ULPGCDialogUe, heavily modified Appointment/Scheduler&lt;br /&gt;
** Custom groupings/scopes for small team activities (e.g. group assignment)&lt;br /&gt;
** Regular-intense usage ranks by 60% of courses/students.&lt;br /&gt;
&lt;br /&gt;
*[http://campusvirtual.ub.edu/ Universitat de Barcelona] - 60.000 users in 7.300 courses. Started in September 2006 as a project, UB Moodle site will be open for all next September.&lt;br /&gt;
&lt;br /&gt;
*[http://campuvirtual.unex.es Universidad de Extremadura] - 15000 users in aprox. 700 courses.&lt;br /&gt;
&lt;br /&gt;
*[http://www.juntadeandalucia.es/educacion/adistancia/semipresencial Andalusia Blended Learning ].VLE of [http://www.juntadeandalucia.es/educacion/permanente Lifelong Learning Service] of &#039;&#039;Junta de Andalucía&#039;&#039;.Actually (2009/2010) 1600 courses and 25000 in aprox. Between them 1500 teachers. It&#039;s expected 35000 users next year.  This VLE is complemented with [http://www.juntadeandalucia.es/educacion/adistancia/avep LifeLong Learning VLE] that offers and open access to educational materials developed for blended learning.&lt;br /&gt;
&lt;br /&gt;
== Sweden ==&lt;br /&gt;
&lt;br /&gt;
[http://lnu.se/?l=en Linnaeus University] - 35.000 students and and 2.000 employees in 2011 - 23.000 Moodle users in 2.000 Moodle courses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Taiwan==&lt;br /&gt;
&lt;br /&gt;
[http://www.thu.edu.tw/english/enindex.htm Tunghai University]&lt;br /&gt;
*More then 17,000 registed Users&lt;br /&gt;
*16,000 users login in one day( Max. )&lt;br /&gt;
*3,000 courses per semester&lt;br /&gt;
*integration with novell ichan for single sign on&lt;br /&gt;
*integration with school support system&lt;br /&gt;
&lt;br /&gt;
our moodle web site: [http://elearning.thu.edu.tw]&lt;br /&gt;
&lt;br /&gt;
==Trinidad and Tobago==&lt;br /&gt;
&lt;br /&gt;
[http://myelearning.sta.uwi.edu The University of the West Indies]&lt;br /&gt;
St. Augustine Campus&lt;br /&gt;
*More then 22,000 registed Users&lt;br /&gt;
*Over 500 Courses per semester&lt;br /&gt;
*Over 1500 Teachers&lt;br /&gt;
&lt;br /&gt;
Using Moodle since 2006.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==United Kingdom==&lt;br /&gt;
&lt;br /&gt;
*[http://www.open.ac.uk/ The Open University (OU)] - the United Kingdom&#039;s only university dedicated to distance learning. They have around 150,000 undergraduate and more than 30,000 postgraduate students. As of October 2010, the OU&#039;s Moodle database contains over 700,000 users and 7,000 courses.&lt;br /&gt;
&lt;br /&gt;
*[http://openlearn.open.ac.uk/ OpenLearn] The Open University&#039;s open content initiative. Website development began in May 2006 and the site was launched in October 2006, supported by a grant from The William and Flora Hewlett Foundation. By April 2008, 5,400 learning hours of content will be available online. Currenly (early 2007) over 10,000 unique users.&lt;br /&gt;
&lt;br /&gt;
*[http://www.gla.ac.uk/ The University of Glasgow] - A long-established (founded 1451) and high-profile research university in the UK, with 20,000 students (16,000 undergrad, 4,000 postgrad), 6,000 staff, 20,000 unique users of Moodle (as of Jan 2008). Uses LDAP for integration with Novell and a custom MIS system for user authentication. Their site is organised on a one Moodle site per faculty basis to facilitate both appropriate themeing and to simplify balancing across servers.&lt;br /&gt;
&lt;br /&gt;
==United States==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.cpcc.edu Central Piedmont Community College (CPCC) ] uses moodle for both curriculum and Corporate and Continuing Education. For curriculum it runs in parallel to Blackboard as faculty migrate to moodle over time. There are currently no plans to go moodle only, although many administrators favor this option. The server has 30,000 or so users on it, but the actual number of active users varies widely. It is used for both hybrid and full-online classes. Corporate and Continuing Education runs its own branded instance and uses only moodle for distance education. We have about 80,000 students total, covering the range from GED, adult-ed, curriculum, and other areas serviced by 7 campuses in and around Charlotte, North Carolina. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[http://ilearn.sfsu.edu San Francisco State University (SFSU) ] uses moodle for more than three years now. We use moodle for our main campus and the College of Extended Learning (CEL). For curriculum, moodle used to run in parallel with Blackboard as faculty migrate to moodle over time (SFSU officially phased out Blackboard, as of 6/30/2007). The servers have total of 89K users (as of 09/05/2007), among these 89K users, 28K are considered as currently active. As for courses, we have total of 57K courses sitting on our database, and among them, around 53K are considered as active. We also have integrated Moodle with our SIMS/R system (see http://www.sfsu.edu/sims/overview.htm). We also have courses that have more than 1,300+ students in one course with lots of quizzes (20+) and quiz attempts. The student population in SFSU covers the range from undergraduate, graduate, and first professional students.&lt;br /&gt;
&lt;br /&gt;
== Venezuela ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.unica.edu.ve Cecilio Acosta Catholic University (UNICA)] - with 10,000+ faculty, staff and students (started using Moodle since 2005)&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=admin/environment/php&amp;diff=82361</id>
		<title>admin/environment/php</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=admin/environment/php&amp;diff=82361"/>
		<updated>2011-03-29T07:58:14Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle has different PHP requirements for different versions:&lt;br /&gt;
&lt;br /&gt;
* Moodle 2.1 will require PHP 5.3.2 or later&lt;br /&gt;
* Moodle 2.0 requires PHP 5.2.8 or later. However PHP 5.3.x is recommended&lt;br /&gt;
* Moodle 1.6 to 1.9 requires PHP 4.3.0 or later&lt;br /&gt;
* Moodle 1.0 to 1.5 requires PHP 4.1.0 or later&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* http://www.php.net/downloads.php for the latest downloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Environment|PHP]]&lt;br /&gt;
&lt;br /&gt;
[[eu:admin/environment/php]]&lt;br /&gt;
[[fr:admin/environment/php]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Advanced_features&amp;diff=82325</id>
		<title>Advanced features</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Advanced_features&amp;diff=82325"/>
		<updated>2011-03-28T13:32:08Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}Location: &#039;&#039;Site Administration &amp;gt; Advanced features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following features in Moodle 2.0 onwards may be enabled/disabled in Advanced features:&lt;br /&gt;
&lt;br /&gt;
* [[Outcomes]]&lt;br /&gt;
* [[Comments 2.0]]&lt;br /&gt;
* [[Tags|Tags functionality]]&lt;br /&gt;
* [[Notes]]&lt;br /&gt;
* [[Portfolios]]&lt;br /&gt;
* [[Web Services]]&lt;br /&gt;
* [[Messaging]]&lt;br /&gt;
* [[Statistics]]&lt;br /&gt;
* [[RSS feeds 2.0|RSS feeds]]&lt;br /&gt;
* [[Blogs]]&lt;br /&gt;
* [[MNet|Networking]]&lt;br /&gt;
* [[Development:Course_completion|Completion tracking]]&lt;br /&gt;
* [[Conditional_activities|Conditional availability]]&lt;br /&gt;
* [[Plagiarism Prevention|Plagiarism plugins]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Funtzio_aurreratuak]]&lt;br /&gt;
[[de:Zusatzoptionen]]&lt;br /&gt;
[[fr:Fonctions avancées]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Category:Environment&amp;diff=82177</id>
		<title>Category:Environment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Category:Environment&amp;diff=82177"/>
		<updated>2011-03-22T15:36:58Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of Moodle [[Environment|environment]] documentation pages.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Environnement]]&lt;br /&gt;
[[ja:Category:動作環境]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=admin/environment/custom_check/php_check_php533&amp;diff=82176</id>
		<title>admin/environment/custom check/php check php533</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=admin/environment/custom_check/php_check_php533&amp;diff=82176"/>
		<updated>2011-03-22T15:28:08Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle 2.0 will require PHP 5.2.8 or later. However PHP 5.3.3 or later is recommended.&lt;br /&gt;
&lt;br /&gt;
PHP 5.3.3 has better stability, security and memory management compared to 5.2.8.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* http://php.net/releases/5_3_3.php release note&lt;br /&gt;
* http://www.php.net/ChangeLog-5.php#5.3.3 change log&lt;br /&gt;
* http://www.php.net/downloads.php for the latest downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Environment|PHP]]&lt;br /&gt;
&lt;br /&gt;
[[eu:admin/environment/php]]&lt;br /&gt;
[[fr:admin/environment/custom check/php check php533]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=report/security/report_security_check_displayerrors&amp;diff=82069</id>
		<title>report/security/report security check displayerrors</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=report/security/report_security_check_displayerrors&amp;diff=82069"/>
		<updated>2011-03-18T15:26:48Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If PHP is set to display errors, then anyone can enter a faulty URL causing PHP to give up valuable information about directory structures and so on. &lt;br /&gt;
&lt;br /&gt;
(Can someone add instructions on where to turn this off please).&lt;br /&gt;
&lt;br /&gt;
: If you go to &#039;&#039;Administration &amp;gt; Server &amp;gt; Debugging&#039;&#039; and set &amp;quot;Debug messages&amp;quot; to NONE and  &amp;quot;Display debug messages&amp;quot; to NO you should be on the safe side. (If this instruction is correct it should be included in the Security Overview report.) --[[User:Frank Ralf|Frank Ralf]] 11:28, 7 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you go to &#039;&#039;&#039;Administration|Reports|Security overview&#039;&#039;&#039;, displaying of PHP errors status is Warning.   &lt;br /&gt;
on your web server, locate php.ini, open it in wordpad and search for &amp;quot;&#039;&#039;&#039;display_errors&#039;&#039;&#039;&amp;quot;.  Ensure that it is set to &amp;quot;&#039;&#039;&#039;display_errors = Off&#039;&#039;&#039;&amp;quot; and then save.  If this is on a hosted webserver (e.g. network solutions), insert &amp;quot;&#039;&#039;&#039;display_errors = Off&#039;&#039;&#039;&amp;quot; into the php.ini or call them for instructions (took 2 minutes) on how to do it.  Very simple to modify. (by &#039;&#039;&#039;opconxps&#039;&#039;&#039; guam)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
* Using [http://moodle.org/mod/forum/discuss.php?d=101761 upgrade to 1.9.2 has PHP setting display_errors message] Moodle forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
&lt;br /&gt;
[[eu:report/security/report_security_check_displayerrors]]&lt;br /&gt;
[[fr:report/security/report security check displayerrors]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=report/security/report_security_check_configrw&amp;diff=82068</id>
		<title>report/security/report security check configrw</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=report/security/report_security_check_configrw&amp;diff=82068"/>
		<updated>2011-03-18T15:21:50Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that you CHMOD (set permissions) on config.php as read-only. Typically this means setting it to 644, or in some cases 444.&lt;br /&gt;
&lt;br /&gt;
If you cannot do this with your FTP software, try using the File Manager supplied with your webhosting account. Simply navigate to the file you want to alter permissions for, then click on the File Properties link/button and set permissions.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using a Windows server, simply set the file as Read-Only for Everyone. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7301 Security and Privacy forum]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=116140 Corrupted php files] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Security]]&lt;br /&gt;
&lt;br /&gt;
[[fr:report/security/report security check configrw]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=File_bank&amp;diff=81992</id>
		<title>File bank</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=File_bank&amp;diff=81992"/>
		<updated>2011-03-16T15:51:35Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
The file bank is the new Moodle 2.0 file repository system. &lt;br /&gt;
&lt;br /&gt;
It can use a feature called the file picker to select existing files from 2 areas (Server and Private files), or a temporary area(Recent files) and an option to upload a new file.   &lt;br /&gt;
&lt;br /&gt;
The file picker has 2 basic views when looking at an area: Icon or List.  The list view is similar to a directory tree, that can collapse directories/folders, or expand directories/folders to show their files still in the tree format.  The icon view shows files and folders as thumbnails icons, the users clicks on the icon to drill down or to select the file.   A breadcrumb indicates the current location in the directory tree.&lt;br /&gt;
&lt;br /&gt;
The upload a file window  has a browse selection feature, plus a field to rename a file, the picking author&#039;s name and the type of license that is stored when the &amp;quot;Upload this file&amp;quot; button is selected.&lt;br /&gt;
&lt;br /&gt;
==Pre Moodle 2.0 description of file system==&lt;br /&gt;
In earlier versions, files were stored via an interface link in the course administration menu called &amp;quot;Files&amp;quot;.  Generally speaking, files and folders in a course, were only available in that course. (Site administrators knew that these files and folders were located in [[Moodledata directory]]).   &lt;br /&gt;
&lt;br /&gt;
In Moodle 2.0, files are stored and accessed via a link with the resource or activity in the course.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Course files]] - concept of pre 2.0 and 2.0 system&lt;br /&gt;
*[[File picker]] - used to add resource files.&lt;br /&gt;
*[[HTML editor 2.0]] - Insert group for images and media files&lt;br /&gt;
*[[Repositories]] - different media files&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]] [[Category:Files]] [[Category:Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Banque de fichiers]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=File_handling&amp;diff=81991</id>
		<title>File handling</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=File_handling&amp;diff=81991"/>
		<updated>2011-03-16T15:45:37Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}The way files are handled in Moodle 2.0 has changed from earlier versions. Students and teachers will use the [[File picker]] to upload and organize their files in areas called [[Repositories]]. Repositories can be located on the Moodle site or externally. Site administrators can [[Manage repositories|reveal, restrict, add, edit or create repositories]] for the site. &lt;br /&gt;
&lt;br /&gt;
* Previously, if a file was used in different courses, it was duplicated. In Moodle 2.0, files are stored only once, saving disk space.&lt;br /&gt;
* Full support for Unicode file names on all operating systems.&lt;br /&gt;
* Metadata about each file (author, date, license, etc) and what the file is used for are stored in the database.&lt;br /&gt;
* Files are no longer just &amp;quot;uploaded to the course&amp;quot;.  Files are connected to the particular bit of Moodle content that uses them. (For example, a file may belong to a file resource, a forum post or a wiki page). Access to these files is controlled by the same [[Context|contextual]] [[Roles and capabilities|rules]] as as that bit of Moodle, increasing security.&lt;br /&gt;
* File picker has a list (file tree) or icon view &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A video on file handling in Moodle 2.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=2bUwx675Pqo&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
== Typical Moodle 2.0 workflow ==&lt;br /&gt;
Edit text or activity. Use the file picker to easily select the file from any local or remote repository. The file is then copied to Moodle and stored securely with the text or activity. &lt;br /&gt;
&lt;br /&gt;
Or Edit text or url resource. Use the file picker to select a file from any local or remote repository and select &amp;quot;link&amp;quot;. The file URL is then embedded into the text and when viewed, the media comes directly from the open repository.&lt;br /&gt;
&lt;br /&gt;
The standard Moodle install has  4 default areas (repositories) displayed in file picker for the teacher to select:&lt;br /&gt;
*Server - &lt;br /&gt;
*Recent -&lt;br /&gt;
*Upload -&lt;br /&gt;
*[[Private files]]&lt;br /&gt;
&lt;br /&gt;
The site administrator can expand the above list to include 15 other predefined repository areas.  For example, the teacher may see a file picker link to a Google Docs or UTube repositories where they can find files. As in the previous versions, the teacher can create a folder structure to store the files at the time files are uploaded.&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
Caveat: these are just making a start on these.  Subject to quality, style and accuracy improvements.&lt;br /&gt;
&lt;br /&gt;
===What are ways to make files available to other teachers/designers?===&lt;br /&gt;
In Moodle 2, this is going to require a change of habits. Some of the philosophy is written up in a small essay on course files [[Course_files|here]]&lt;br /&gt;
&lt;br /&gt;
One approach is to use a [[Repositories| repository]].  One of the easiest to set up is a [[File_system_repository_configuration|File System Repository]]  &lt;br /&gt;
&lt;br /&gt;
This needs server access.  One such example:&lt;br /&gt;
&lt;br /&gt;
[[Image:Repository-filesystem-filepicker.png]]&lt;br /&gt;
&lt;br /&gt;
===What are ways to make ONE change in a file and have this reflected across a Moodle site?===&lt;br /&gt;
This also will require a change in thinking.  You cannot just go to the file in the file picker and change it&#039;s name or upload a new file.  This would cause problems if it was linked to elsewhere.&lt;br /&gt;
&lt;br /&gt;
One answer is again to use repositories.  &#039;&#039;&#039;Link&#039;&#039;&#039; to the files in the repository.  Change the files (according to the permissions on the repository) and this is reflected everywhere int he course instantly.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://www.youtube.com/watch?v=JtePGeffl3o&amp;amp;feature=player_embedded Video: How teachers can upload files in Moodle 2.0]&lt;br /&gt;
* [[Course files]]&lt;br /&gt;
* [[Development:File API]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=160067 File Manager In Moodle 2.0] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Files]]&lt;br /&gt;
&lt;br /&gt;
[[de:Dateiverwaltung in Moodle 2.0]]&lt;br /&gt;
[[fr:Gestion des fichiers 2.0]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=File_picker&amp;diff=81990</id>
		<title>File picker</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=File_picker&amp;diff=81990"/>
		<updated>2011-03-16T15:24:51Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}} {{Update}}&lt;br /&gt;
File Picker is the standard interface that most users will use to manage a Moodle 2.0 file repository.  See [[Manage repositories]] &lt;br /&gt;
*Select an area ([[Repositories|a repository)]] to find the file and/or to add a file that can then be selected&lt;br /&gt;
**Server files - files on the site.  What you see here depends on your role in the course.&lt;br /&gt;
**Recent files - files Moodle thinks you have recently added&lt;br /&gt;
**Upload files -  This is where you click to upload files and folders from your computer&lt;br /&gt;
**[[Private files]] - files that belong to the user &lt;br /&gt;
*Use the standard add file- create folder interface &lt;br /&gt;
*Save selected files&lt;br /&gt;
&lt;br /&gt;
[[Image:Files_File-Picker_standard_blank_1.png|thumb|center|Empty file picker, no input area selected ]]&lt;br /&gt;
&lt;br /&gt;
==Standard add file - create folder option==&lt;br /&gt;
When the Resource of a Folder is selected in a course, in file picker, a standard pop-up will ask you for:&lt;br /&gt;
*Add (a file)- selecting this will take you to the add attachment and browse popup.&lt;br /&gt;
*Create a folder&lt;br /&gt;
*Download all files&lt;br /&gt;
[[Image:Files_standard_add_create_folder_with_folder-file_1.png|frame|center|Existing files and a folder ready to be added]]&lt;br /&gt;
&lt;br /&gt;
==Standard browse to add file popup==&lt;br /&gt;
The file picker will present a screen to select a file.  For example, when &amp;quot;Upload file&amp;quot; is selected, but also when you select add an image in the [[HTML editor]], you will see the file picker and the &amp;quot;Upload file&amp;quot; link. The standard add a file popup will ask you:&lt;br /&gt;
*Attachment - Browse.  This is where you find the file&lt;br /&gt;
*Save as - Allows changing the name of the file.  This is optional.  If you do use this, you must include the extension.&lt;br /&gt;
*Author - the default is the current user&lt;br /&gt;
*Choose license - a pull down menu with different licenses to select.&lt;br /&gt;
[[Image:Files standard add file screen 1.png|thumb|center|After a browse to a file on the C: drive]]&lt;br /&gt;
&lt;br /&gt;
== Views in file picker ==&lt;br /&gt;
===View as icons===&lt;br /&gt;
[[Image:Files File picker server files icons 1.png|thumb|center|Server files at demo.moodle.net in icon form, shows breadcrumb]]&lt;br /&gt;
&lt;br /&gt;
===View as list===&lt;br /&gt;
[[Image:Files File picker server files list collapsed 1.png|thumb|center|Server files at demo.moodle.net in list form, folders collapsed]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[File picker FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Files]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Fitxategi-hautatzailea]]&lt;br /&gt;
[[fr:Sélecteur de fichiers]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Development:Stable_branch_support&amp;diff=81216</id>
		<title>Development:Stable branch support</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Development:Stable_branch_support&amp;diff=81216"/>
		<updated>2011-02-10T10:25:44Z</updated>

		<summary type="html">&lt;p&gt;Fox: This page should be updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Update}}&lt;br /&gt;
{{Template:Work_in_progress}}&lt;br /&gt;
&lt;br /&gt;
Unfortunately it&#039;s not possible to continue to provide support for older stable branches of Moodle indefinitely due to the amount of work involved. This page describes the process of dropping support for older stable branches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dropping support for 1.a.x==&lt;br /&gt;
&lt;br /&gt;
# Decide upon the final release of 1.a.x (taking into account that generally three versions are supported at a given time)&lt;br /&gt;
# Propose a date in MDLSITE-737 for dropping support for 1.a.x 5 months after the final release&lt;br /&gt;
# Announce the final release of 1.a.x in the moodle.org news&lt;br /&gt;
# Document the final release of 1.a.x in the [[:Category:Release_notes|release notes]]&lt;br /&gt;
# Update the Moodle version message in the tracker to read: &amp;quot;There will not be another 1.a.x release, but critical bugs may still be backported to the branch until [&#039;&#039;date 5 months in advance&#039;&#039;].&amp;quot; (both for the [http://tracker.moodle.org/secure/project/ViewProject.jspa?pid=10011 Moodle Project] and the [http://tracker.moodle.org/secure/project/ViewProject.jspa?pid=10033 Non-core contributed modules project]).&lt;br /&gt;
# After 5 months, release 1.a.x+ and archive all 1.a.x versions, closing the stable version in the tracker (also in both projects).&lt;br /&gt;
&lt;br /&gt;
==Dropping support for 1.6.x==&lt;br /&gt;
&lt;br /&gt;
# Proposed date for dropping support for 1.6.x: 31 July 2009&lt;br /&gt;
# Announcement: [http://moodle.org/mod/forum/discuss.php?d=115616 New releases: Moodle 1.9.4, 1.8.8, 1.7.7 and 1.6.9]&lt;br /&gt;
# 1.6.9+ released and 1.6.x versions archived on 31 July 2009. 16_STABLE closed in the tracker.&lt;br /&gt;
&lt;br /&gt;
==Dropping support for 1.7.x==&lt;br /&gt;
&lt;br /&gt;
# Proposed date for dropping support for 1.6.x: 31 October 2009&lt;br /&gt;
# Announcement: [http://moodle.org/mod/forum/discuss.php?d=115616 New releases: Moodle 1.9.4, 1.8.8, 1.7.7 and 1.6.9]&lt;br /&gt;
# 1.7.7+ released and 1.7.x versions archived on 31 October 2009. 17_STABLE closed in the tracker.&lt;br /&gt;
&lt;br /&gt;
==Dropping support for 1.8.x==&lt;br /&gt;
&lt;br /&gt;
See MDLSITE-737 for tentative dates&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* MDLSITE-737 Drop support for 1.6.x and 1.7.x versions in the Tracker&lt;br /&gt;
* [[Updates]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Processes|Stable branch support]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Converting_your_MySQL_database_to_UTF8&amp;diff=80659</id>
		<title>Converting your MySQL database to UTF8</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Converting_your_MySQL_database_to_UTF8&amp;diff=80659"/>
		<updated>2011-01-19T15:18:59Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to convert your MySQL database from the latin1 charset to UTF8. Moodle requires that your Database is now UTF8 and will not upgrade if your database is not.&lt;br /&gt;
&lt;br /&gt;
For more information about UTF8 have a look at the doc on [[Unicode|unicode]].&lt;br /&gt;
&lt;br /&gt;
==Why?==&lt;br /&gt;
&lt;br /&gt;
You may see the following error when upgrading your Moodle.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;It is required that you store all your data in Unicode format (UTF-8). New installations must be performed into databases that have their default character set as Unicode. If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Moodle requires UTF8 in order to provide better multilingual support and has done since Moodle 1.8. However the UTF8 check during install and upgrade was only been implemented in Moodle 2.0 and you may find you are unable to upgrade because your database was not set up correctly when you first installed Moodle or because you have been running Moodle since before 1.8 and haven&#039;t previously converted your database.&lt;br /&gt;
&lt;br /&gt;
==Converting an empty database==&lt;br /&gt;
If you have created your database schema and are receiving the error during your initial installation your Moodle database will still be empty. You can simply run the below query in your database to resolve the issue.&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
alter database mydatabasename charset=utf8;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Converting a database containing tables==&lt;br /&gt;
If you have previously installed Moodle and are now getting the error the following process will allow you to convert your database.&lt;br /&gt;
&lt;br /&gt;
===Linux &amp;amp; Mac===&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
mysqldump -uusername -ppassword -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B dbname &amp;gt; dump.sql&lt;br /&gt;
cp dump.sql dump-fixed.sql&lt;br /&gt;
vim dump-fixed.sql&lt;br /&gt;
:%s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/&lt;br /&gt;
:%s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/&lt;br /&gt;
:wq&lt;br /&gt;
mysql -uusername -ppassword &amp;lt; dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or alternatively using sed:&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
#  $1-dbusername $2-password $3-dbname&lt;br /&gt;
mysqldump -u$1 -p$2 -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B $3 &amp;gt; dump.sql&lt;br /&gt;
sed &#039;s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/&#039; &amp;lt;dump.sql | sed &#039;s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/&#039; &amp;gt;dump-fixed.sql&lt;br /&gt;
mysql -u$1 -p$2 &amp;lt; dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Explained====&lt;br /&gt;
The following steps will guide you in creating a database dumb, editing the database dump so that the correct charset and collation are used and then restoring the new database.&lt;br /&gt;
&lt;br /&gt;
To start please open a new terminal and move to a temp directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
mysqldump -uusername -ppassword -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B dbname &amp;gt; dump.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step is of course to dump out the database and of course we will use mysqldump for this. We do however need to set several arguments in order to clean up the charsets and provide a dump that is not going to cause you any problems if you are moving this database to a different database server or find yourself having to restore on a reverted system.&lt;br /&gt;
&lt;br /&gt;
; username : The username to access your database.&lt;br /&gt;
; password : The password for the above user.&lt;br /&gt;
; -c : Complete inserts for better compatibility.&lt;br /&gt;
; -e : Extended inserts for better performance.&lt;br /&gt;
; --default-character-set=utf8 : To set the default character set.&lt;br /&gt;
; --single-transaction : To reduce our workload if anything goes wrong.&lt;br /&gt;
; --skip-set-charset : Obviously not wanted or needed as we are changing it anyway.&lt;br /&gt;
; --add-drop-database : Required so we can restore over the top of our existing database.&lt;br /&gt;
; -B : We use this option so that our dump will contain drop table and create table syntax (which we will change the syntax for).&lt;br /&gt;
; dbname : The name of the database to convert.&lt;br /&gt;
&lt;br /&gt;
When you run this command a database dump will be generated into &#039;&#039;&#039;dump.sql&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
cp dump.sql dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Next step is to copy dump.sql to dump-fixed.sql.&lt;br /&gt;
&lt;br /&gt;
We will make the desired changes within dump-fixed.sql and we will keep dump.sql as it is as a backup just in case.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
vim dump-fixed.sql&lt;br /&gt;
:%s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/&lt;br /&gt;
:%s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/&lt;br /&gt;
:wq&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now we need to edit the dump and correct the incorrect charsets that have been used. I have chosen to do this with VIM however you can use any search+replace editor or program. ( I choose VIM for this only because every linux user is/should be familiar with it).&lt;br /&gt;
&lt;br /&gt;
First we open the file using VIM, and then run the three commands.&lt;br /&gt;
&lt;br /&gt;
The first command replaces all instances of &#039;&#039;DEFAULT CHARACTER SET latin1&#039;&#039; with &#039;&#039;DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci&#039;&#039;. This is used to fix up the database&#039;s default charset and collation.&lt;br /&gt;
&lt;br /&gt;
The second command replaces all instances of &#039;&#039;DEFAULT CHARSET=latin1&#039;&#039; with &#039;&#039;DEFAULT CHARSET=utf8&#039;&#039;. This converts all tables from using latin1 to using UTF8.&lt;br /&gt;
&lt;br /&gt;
The third command simply saves it and exits.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
mysql -uusername -ppassword &amp;lt; dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now that we&#039;ve made the required changes we simply need to restore the database over top of the existing database. We can do this by running the above command.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Could someone who is familiar with Windows please convert the above into something that will work on Windows?&lt;br /&gt;
There are likely several additional arguments for mysqldump you will need to specify including setting the file for output using -r to avoid newline issues.&lt;br /&gt;
&lt;br /&gt;
==More information==&lt;br /&gt;
* [[Unicode]]&lt;br /&gt;
&lt;br /&gt;
[[Category:UTF-8]]&lt;br /&gt;
[[Category:DB]]&lt;br /&gt;
[[Category:SQL_databases]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Convertir votre base MySQL en UTF-8]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=AMOS&amp;diff=80445</id>
		<title>AMOS</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=AMOS&amp;diff=80445"/>
		<updated>2011-01-17T11:04:30Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;AMOS stands for Automated Manipulation Of Strings. AMOS is a central repository of Moodle strings and their history. It tracks the addition of English strings into Moodle code, gathers translations, handles common translation tasks and generates language packages to be deployed on Moodle servers.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The name was chosen in honour of [http://en.wikipedia.org/wiki/John_Amos_Comenius John Amos Comenius], the author of &#039;&#039;Janua linguarum reserata&#039;&#039; (Gate to Languages Unlocked). Sorry Tori ;-)&lt;br /&gt;
&lt;br /&gt;
AMOS is installed at http://lang.moodle.org. If you want to use it, please create an account there. Language pack [[Translation_credits|maintainers]] should then send an email to [mailto:translation@moodle.org translation@moodle.org] (Koen) to get write access for their language.&lt;br /&gt;
&lt;br /&gt;
AMOS provides support for community contributions into the translation. If you want to participate, just create an account at http://lang.moodle.org. There is no need to contact us in this case but you should definitely contact the language maintainer and coordinate your work.&lt;br /&gt;
&lt;br /&gt;
== Basic concepts ==&lt;br /&gt;
&lt;br /&gt;
[[image:amos-screenshot-navigation.png|100px|thumb|right|AMOS tools in the navigation block]]&lt;br /&gt;
AMOS consists of several tools available via the main navigation block - Translator, Stage, Stashes, Contributions and Log.&lt;br /&gt;
&lt;br /&gt;
* User - AMOS is used by languages pack maintainers and by the community members who want to contribute&lt;br /&gt;
* Translator - is a tool that allows you to filter strings you want to work on and translate them&lt;br /&gt;
* Stage - is a temporary working area that holds the strings you have translated during the current session. Maintainers can permanently commit the stage into the strings repository. Contributors can submit the stage for maintainers.&lt;br /&gt;
* Stashes - are snapshots of the stage. Imagine them as ordinary files at your computer where you can save your work. You can submit your stash to the language pack maintainers.&lt;br /&gt;
* Contributions - is a database tracking all submitted contributions and their current status. Records in this database are like issues in Moodle tracker with the translated strings attached.&lt;br /&gt;
* Repository - a database of all Moodle strings and their history running at lang.moodle.org server&lt;br /&gt;
* Log - displays the log of all modifications of Moodle strings.&lt;br /&gt;
&lt;br /&gt;
== Translation workflow ==&lt;br /&gt;
&lt;br /&gt;
The following data flow diagram illustrates how AMOS tools are used during the translation process.&lt;br /&gt;
&lt;br /&gt;
[[image:amos-workflow.png]]&lt;br /&gt;
&lt;br /&gt;
The key AMOS component is the staging area or shortly the stage. It holds translated strings temporarily during your current login session. If you log out, the stage is cleared (though there is a backup - see below). There are several ways how translations can be staged, that is how translated strings can be put into the stage:&lt;br /&gt;
&lt;br /&gt;
* by using AMOS translator&lt;br /&gt;
* by importing strings from an uploaded file&lt;br /&gt;
* by applying a previously created stash&lt;br /&gt;
* by applying a submitted contribution&lt;br /&gt;
&lt;br /&gt;
Language pack maintainers have write access into the AMOS strings repository. Therefore they can commit their stage permanently. Once the stage is committed, staged strings are stored in the AMOS repository. Every hour at xx:45, AMOS generates ZIP packages from the most recent snapshot of the repository. These ZIP packages are published at http://download.moodle.org/langpack/2.0/ for download. Moodle sites can install and update language packages automatically from the &#039;&#039;Site administration &amp;gt; Language &amp;gt; Language packs&#039;&#039; page.&lt;br /&gt;
&lt;br /&gt;
Community members do not have write access into the repository so they can&#039;t commit their stage. Instead, they can submit it to the maintainers. By submitting a stage, a new contribution record is created and language pack maintainers are notified by automatic email message. Maintainers can review the submitted contribution and, if they accept it, commit it on behalf of the contributor.&lt;br /&gt;
&lt;br /&gt;
The stage can be also saved so you can interrupt your work and continue next time you come back to the site. The stage is saved into so called stashing area. Stashing area consists of stashes. A new stash is nothing but a snapshot copy of your current stage. AMOS automatically keeps one stash for you as a backup copy of your most recent stage. A stash can be submitted to the maintainers, too.&lt;br /&gt;
&lt;br /&gt;
== AMOS tools ==&lt;br /&gt;
&lt;br /&gt;
=== Using the translator tool ===&lt;br /&gt;
&lt;br /&gt;
[[image:amos-screenshot-translator.png|300px|thumb|right|AMOS Translator tool]]&lt;br /&gt;
The translator tool page has two main parts. At the top, there is a filter form (1). You use that filter to get the strings you want to translate. When the filter settings are saved (2), a table with the filtered strings is displayed below.&lt;br /&gt;
&lt;br /&gt;
Every row in the table represents a single string. The table has four columns. The first column (3) describes the version (or branch) where the string is used, its identifier and its component. You can see a text like&lt;br /&gt;
&lt;br /&gt;
 2.0 [completiondate,coursereport_completion]&lt;br /&gt;
&lt;br /&gt;
That reads: this string is used in Moodle 2.0, its identifier is &#039;completiondate&#039; and it belongs to &#039;courserepor_completion&#039; component.&lt;br /&gt;
&lt;br /&gt;
The second column (4) contains the English original of the string. Below the text, you can see Google icon. Click that icon to get automatic translation of the string into the language being translated. The next column contains a code of the language that this string is being translated to (for example &amp;quot;cs&amp;quot; for Czech).&lt;br /&gt;
&lt;br /&gt;
Finally the last column contains the translation itself. If it is empty, the string is not translated yet, otherwise it displays the current translation. &#039;&#039;&#039;Click in the cell to turn it into the input editor.&#039;&#039;&#039; Insert the translation and click outside the cell to stage the translation. Note there is no submit button, the text is sent to the stage automatically in the background. You can see that the colour of the cell turned blue. Blue colour signalizes that the translation is currently staged.&lt;br /&gt;
&lt;br /&gt;
You have many options of how to use the strings filter. You can work on a single component or all missing strings at once. You can search for strings containing a given text (either in English or the translated string) etc. You can check for strings in older versions, too but those strings are read-only. They get automatically pulled into AMOS from the CVS repository of 1.x translations.&lt;br /&gt;
&lt;br /&gt;
The &#039;permalink&#039; below the filter&#039;s submit button can be used to keep the current filter settings. For example, you can bookmark a setting use regularly or you can copy the link URL and send it to somebody so they can set their filter just by visiting that URL.&lt;br /&gt;
&lt;br /&gt;
When you finish translating, do not forget to visit the stage page. You probably want either commit it (if you are a lang pack maintainer) or submit it to maintainers so they can review your work and include it into the language pack.&lt;br /&gt;
&lt;br /&gt;
=== Using the stage ===&lt;br /&gt;
&lt;br /&gt;
[[image:amos-screenshot-stage-contrib.png|300px|thumb|right|Strings staged by a contributor]]&lt;br /&gt;
The translated strings are put into a temporary area called &#039;&#039;stage&#039;&#039; immediately after the cursor leaves the editor field. The stage holds your work before it is either committed into the repository (if you are language pack maintainer) or submitted to the maintainers for inclusion or stashed.&lt;br /&gt;
&lt;br /&gt;
The stage is cleared when you logout. You have to explicitly commit or stash the stage so it is saved permanently. If you forget to do it, or there is a problem with the connectivity, your browser crashes or whatever, you can find your most recent snapshot of the stage in autosave stash.&lt;br /&gt;
&lt;br /&gt;
If you are language pack maintainer, you can commit the stage into the repository so your work is registered and the translated strings become part of the official language package. Language packages in ZIP format are generated every hour (at xx:45) and are published at http://download.moodle.org/langpack/2.0/. At the same time, they become available for Moodle sites for automatic update.&lt;br /&gt;
&lt;br /&gt;
=== Importing a file ===&lt;br /&gt;
&lt;br /&gt;
[[image:amos-screenshot-stage-empty.png|300px|thumb|right|Empty stage allows you to import strings from a file]]&lt;br /&gt;
Strings can be translated offline and uploaded back to AMOS. The only supported format at the moment is common PHP format used by Moodle where strings are defined in associative array called $string. For obvious security reasons, AMOS can not actually execute PHP files uploaded by users. Instead, it parses the uploaded file in a similar way as PHP parser, looking for patterns that are considered as valid string definition. That means that not every valid PHP code is valid string definition. AMOS parser requires following conditions are met:&lt;br /&gt;
&lt;br /&gt;
* the filename is valid component name used by Moodle, for example moodle.php, enrol_manual.php or workshop.php&lt;br /&gt;
* the file is valid PHP code without syntax errors - that means is passes the PHP lint check&lt;br /&gt;
* strings are defined as elements of global array $string&lt;br /&gt;
* strings are single quoted constants&lt;br /&gt;
&lt;br /&gt;
Example of a valid file to import into AMOS (filename countries.php, Czech translation)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 &lt;br /&gt;
 $string[&#039;AE&#039;] = &#039;Spojené Arabské emiráty&#039;;&lt;br /&gt;
 $string[&#039;AF&#039;] = &#039;Afghánistán&#039;;&lt;br /&gt;
 $string[&#039;CH&#039;] = &#039;Švýcarsko&#039;;&lt;br /&gt;
 $string[&#039;HU&#039;] = &#039;Maďarsko&#039;;&lt;br /&gt;
 &lt;br /&gt;
 ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the import, strings found in the file are added into your stage as if they were translated via web. You can commit them into repository if you have such privilege.&lt;br /&gt;
&lt;br /&gt;
=== Using stashes ===&lt;br /&gt;
&lt;br /&gt;
At any moment, you can save a snapshot of the current stage. We call such snapshot a &#039;&#039;stash&#039;&#039;. Stashed strings are kept forever until you drop them manually (please do not abuse this and keep your stashes reasonable big). The stash can be &#039;&#039;applied&#039;&#039; so that the stashed strings are copied back to the stage.&lt;br /&gt;
&lt;br /&gt;
There is one special stash record for every user called autosave stash. This stash keeps the most recent state of the stage. You may find it useful if you loose the current stage for any reason - your browser crashes, your internet connectivity dies or you accidentally unstage all strings. If that happens, just apply the autosave stash to get your work back. The autosave stash is updated every time you stage a string. So if your stage is empty and your autosave stash is full of strings and you go into the translator first without applying the stash, the autosave will be replaced with the new translated string. We recommend to experiment a bit with this feature first.&lt;br /&gt;
&lt;br /&gt;
=== Using the log tool ===&lt;br /&gt;
&lt;br /&gt;
The Log page allows even anonymous users to search in the history of commits tracked by AMOS. At the top of the page there is a filter that allows you to look for a particular information or report. It is important to realize how the filter actually works. Searching and filtering happens in two steps (this was necessary for performance reasons):&lt;br /&gt;
&lt;br /&gt;
* Firstly, commit records are searched based on the criteria specified in the Commit filter form. If there are more commits found matching the filter settings, only 100 most recent commits are processed.&lt;br /&gt;
* Then, within the commits found, either all string modification records are returned, or you can filter these records, too. Settings in String filter form section are used in that case.&lt;br /&gt;
&lt;br /&gt;
By default, the filter looks for all commits since the last time you logged in and than displays only strings at the currently translated branch modified by those commits.&lt;br /&gt;
&lt;br /&gt;
== Contributing to a language pack ==&lt;br /&gt;
&lt;br /&gt;
AMOS allows community members to help with the translation of Moodle strings. AMOS Contributions page tracks all submitted translations and their current status. Before you start working on a translation, please communicate with the language pack maintainer (to be found on https://docs.moodle.org/en/Translation_credits).&lt;br /&gt;
&lt;br /&gt;
=== Steps for the contributor ===&lt;br /&gt;
&lt;br /&gt;
[[image:amos-screenshot-contribution-new.png|300px|thumb|right|Submitting a contribution form]]&lt;br /&gt;
# Contact the language pack maintainer about your intention to contribute to the language pack&lt;br /&gt;
# Use AMOS translator interface to translate missing strings or amend the current translation&lt;br /&gt;
# Go to the Stage page&lt;br /&gt;
# Click &#039;Submit to maintainers&#039; button&lt;br /&gt;
# At &#039;Submitting a contribution&#039; page, please provide a message for maintainers describing your work and why you would like to see your contribution included. You can cancel the submission at this moment yet. If you are sure, click &#039;Submit to maintainers&#039;.&lt;br /&gt;
# Your stage will submitted into the contributions database. If there were more languages affected by your contribution, the stage will be divided into separate contribution records, one per each language. The language pack maintainers will be notified by email about your new contribution.&lt;br /&gt;
# Language pack maintainers will be able to apply your work into their stage, review it and eventually commit. You will receive automatically generated email when the status of contribution changes (typically when a maintainer starts a review of your work and then when they accept or reject it).&lt;br /&gt;
# Use contribution record comments for further communication with the maintainer about the submitted translation.&lt;br /&gt;
&lt;br /&gt;
=== Steps for the maintainer ===&lt;br /&gt;
&lt;br /&gt;
[[image:amos-screenshot-contribution-details.png|300px|thumb|right|Contribution details page]]&lt;br /&gt;
# When a user submits new contribution, you will receive automatically generated email from AMOS&lt;br /&gt;
# Go to the Contributions page to see a list of all new incoming contributions. Click the link in the table to open the contribution details page&lt;br /&gt;
# Press &#039;Start review&#039; button. That will assign the contribution to yourself, change the status from &#039;New&#039; to &#039;In review&#039;, send automatically generated email to the contributor and will copy the submitted strings into your stage. You should check that your stage is empty before you apply the submitted strings, unless you want to merge several contributions into one commit.&lt;br /&gt;
# Review the submitted strings, eventually edit them. Commit the stage. It is nice to mention the contributor&#039;s name in the commit message and attribute the original authorship to them.&lt;br /&gt;
# Go back to the contribution record and change the status to Accepted or Rejected. Automatically generated email will be sent to the contributor whenever you change the status.&lt;br /&gt;
# Use contribution record comments for further communication with the contributor about the submitted translation.&lt;br /&gt;
# Accepted and Rejected contributions are not shown at the contributions page unless you press &#039;Show resolved contributions&#039; button.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Translation 2.0]] for more information about the process of Moodle 2.x translation&lt;br /&gt;
* [[Development:Languages/AMOS]] for the AMOS internals documentation&lt;br /&gt;
&lt;br /&gt;
[[Category:Language]]&lt;br /&gt;
&lt;br /&gt;
[[fr:AMOS]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Capabilities/moodle/course:create&amp;diff=80426</id>
		<title>Capabilities/moodle/course:create</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Capabilities/moodle/course:create&amp;diff=80426"/>
		<updated>2011-01-17T09:27:29Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*This allows a user to create courses&lt;br /&gt;
*This permission only applies to system roles or roles assigned in the course category context and would not apply if a user is assigned a role with this permission in the course context&lt;br /&gt;
&lt;br /&gt;
====Legacy Role Default Settings====&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Legacy Role !! Inherit !! Allow !! Prevent !! Prohibit&lt;br /&gt;
|-&lt;br /&gt;
| Administrator || - || X || - || -&lt;br /&gt;
|-&lt;br /&gt;
| Course Creator || - || X || - || -&lt;br /&gt;
|-&lt;br /&gt;
| Teacher || X || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
| Non-editing Teacher || X || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
| Student || X || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
| Guest || X || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
| Authenticated User || X || - || - || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Course]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Capabilities/moodle/course:create]]&lt;br /&gt;
[[fr:Capabilities/moodle/course:create]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Course_settings&amp;diff=80016</id>
		<title>Course settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Course_settings&amp;diff=80016"/>
		<updated>2011-01-03T11:06:54Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Course admin}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings.gif]]&#039;&#039;&#039;Course settings&#039;&#039;&#039; control how the things appear to the participants in a course. It is the first page viewed after creating a course. It can be edited through the &#039;&#039;&#039;Settings&#039;&#039;&#039; link in the [[Course administration block]] menu.  This page has links to other pages that may describe a setting in more detail. Different versions of Moodle may not have all the settings listed below.&lt;br /&gt;
&lt;br /&gt;
The Moodle 2.0 interface will look slightly different but will contain all the features of 1.9, plus the new course completion tracking feature (if it has been enabled.)&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
[[Image:generalsettings1.gif|thumb|General settings]]&lt;br /&gt;
===Category===&lt;br /&gt;
&lt;br /&gt;
The site administrator may have created course categories to help teachers and students find their courses easily.&lt;br /&gt;
&lt;br /&gt;
The capability [[Capabilities/moodle/course:changecategory|moodle/course:changecategory]] controls whether a user can edit the course category.&lt;br /&gt;
&lt;br /&gt;
===Short name===&lt;br /&gt;
Many institutions have a shorthand way of referring to a course, such as BP102 or COMMS.  Even if you do not already have such a name for your course, make one up here.  It will be used in several places where the long name is not appropriate.  The most common use is in the navigation bar that is at the top of most pages and this provides an active link to the course home page.&lt;br /&gt;
&lt;br /&gt;
[[Image:Assignment nav trail.jpg|Point to Assignment, part of the Features course, in a site called Moodle]]&lt;br /&gt;
&lt;br /&gt;
The above example has the short course name, &amp;quot;Features&amp;quot;, in the navigation links (breadcrumb). The short name also appears in the subject line of email messages that are part of the course.&lt;br /&gt;
&lt;br /&gt;
The capability [[Capabilities/moodle/course:changeshortname|moodle/course:changeshortname]] controls whether a user can edit the short name field.&lt;br /&gt;
&lt;br /&gt;
===ID number===&lt;br /&gt;
The ID number is an alphanumeric field.  It has several potential uses.  Generally, it is not displayed to students.  However, it can be used to match this course against an external system&#039;s ID, as your course catalog ID or can be used in the certificate module as a printed field.&lt;br /&gt;
&lt;br /&gt;
The capability [[Capabilities/moodle/course:changeidnumber|moodle/course:changeidnumber]] controls whether a user can edit the ID number.&lt;br /&gt;
&lt;br /&gt;
===Summary===&lt;br /&gt;
&lt;br /&gt;
The summary appears on the course listings page.&lt;br /&gt;
&lt;br /&gt;
The capability [[Capabilities/moodle/course:changesummary|moodle/course:changesummary]] controls whether a user can edit the course summary.&lt;br /&gt;
&lt;br /&gt;
===Format===&lt;br /&gt;
[[Image:generalsettings3.gif|thumb|Format section in course settings]]&lt;br /&gt;
See [[Course formats]]&lt;br /&gt;
&lt;br /&gt;
===Number of weeks/topics===&lt;br /&gt;
This setting is only used by the &#039;weekly&#039; and &#039;topics&#039; course formats.  In the &#039;weekly&#039; format, it specifies the number of weeks that the course will run for, starting from the course starting date.  In the &#039;topics&#039; format, it specifies the number of topics in the course.  Both of these translate to the number of &amp;quot;boxes&amp;quot; down the middle of the course page.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
===Course start date===&lt;br /&gt;
This is where you specify the starting time of the course (in your own time zone). The first week will start on the date you set here when you use the &amp;quot;Weekly&amp;quot; course format.&lt;br /&gt;
&lt;br /&gt;
This setting will not affect courses using the &#039;social&#039; or &#039;topics&#039; formats.&lt;br /&gt;
&lt;br /&gt;
However, this setting will have an effect on the display of logs, which use this date as the earliest possible date you can display. It can also make your course not visible to students even if when the course is available to students (see below).  &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If your institution runs on a weekly schedule, you may want to consider setting the start date for courses on the first day of the week, like a Monday.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; In general, if your course does not have a real starting date then set the date to yesterday and use the availability setting to reveal the course to students.&lt;br /&gt;
&lt;br /&gt;
===Hidden sections===&lt;br /&gt;
This option allows you to decide how the hidden sections in your course are displayed to students.  By default, a small area is shown (in collapsed form, usually gray) to indicate where the hidden section is, though they still cannot actually see the hidden activities and texts.  This is particularly useful in the Weekly format, so that non-class weeks are clear, or if you have quizes you don&#039;t want your students to see.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If you choose, these non-available items can be completely hidden, so that students do not even know  that sections or an activity in the course are hidden.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
===Show grades===&lt;br /&gt;
Many of the activities allow [[Grades|grades]] to be set.  By default, the results of all grades within the course can be seen in the Grades page, available from the main course page for students and teachers.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If a teacher is not interested in using grades in a course, or just wants to hide grades from students, then they can disable the display of grades with this option.  This does not prevent the teacher using or setting grades for an individual activities, it just disables the results from being displayed to students.&lt;br /&gt;
&lt;br /&gt;
===Show activity reports===&lt;br /&gt;
[[Activity_report#Individual_Activity_Report|Activity reports]] are available to each student. These reports or logs show their activity and contributions in the current course.  These reports include their detailed access log.&lt;br /&gt;
&lt;br /&gt;
Student access to their own reports is controlled by the teacher via this course setting.  For some courses, these reports can be a useful tool for a student to reflect on their involvement and appearance within the online environment, but for some courses, this may not be necessary.&lt;br /&gt;
&lt;br /&gt;
Teachers always have access to these reports.  Teachers can use the button or tab visible on each person’s profile page or use the [[Reports]] link in the course administration block.&lt;br /&gt;
&lt;br /&gt;
Your site administrator may ask you to turn this feature off.  Showing activity reports can place a load on the server, slowing it down at times.  For large or long classes it may be more efficient to keep it off.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
===Maximum upload size===&lt;br /&gt;
[[Image:Changeupload.jpg|thumb|Maximum upload size setting]]&lt;br /&gt;
This setting defines the largest size of file that can be uploaded by students in this course.  The site administrator can determine [[Site_policies#Maximum_uploaded_file_sizefile |sizes available]] for the teacher to select.  Teachers should be aware of a course&#039;s [[Files|file structure]].&lt;br /&gt;
&lt;br /&gt;
It is possible to further restrict this size through settings within each activity module.&lt;br /&gt;
&lt;br /&gt;
===Force theme===&lt;br /&gt;
If the site administrator has allowed the teacher to set a course [[Themes|theme]], this pull down menu will appear with a list of themes on the site.&lt;br /&gt;
&lt;br /&gt;
===Is this a meta course?===&lt;br /&gt;
A [[Metacourses|metacourse]] only gets its student enrolments from one or more other courses.  Students can not be enrolled directly in this kind of course. A metacourse creates a virtual family of related courses. There are [[Metacourse examples of use|many uses for a metacourse]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==Enrolments==&lt;br /&gt;
[[Image:generalsetting4.gif|thumb|Enrolment settings]]&lt;br /&gt;
===Enrolment plugins===&lt;br /&gt;
This setting allows you to choose an interactive [[Enrolment plugins|enrolment plugin]], such as [[Internal enrolment|internal enrolment]] or [[Paypal]]. If you use a non-interactive enrolment plugin, this setting has no effect.&lt;br /&gt;
&lt;br /&gt;
===Default role===&lt;br /&gt;
&lt;br /&gt;
From Moodle 1.7 onwards, a default course role, such as student, may be set.&lt;br /&gt;
&lt;br /&gt;
===Course enrollable===&lt;br /&gt;
This setting only affects interactive enrolment plugins, such as [[Internal enrolment|internal enrolment]] and [[Paypal]]. It has no affect at all on non-interactive plugins (e.g. External Database, LDAP). Setting it to &amp;quot;no&amp;quot; or if it is outside the specified date range will result in the student being told the course is &amp;quot;Not enrollable&amp;quot; and being returned to the front page, if they are attempting to enrol using an interactive plugin.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If you are using Internal enrolment and you have not set an enrolment key, you should seriously consider setting this to &#039;&#039;No&#039;&#039; otherwise any user can enrol on your course.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
===Enrolment duration===&lt;br /&gt;
This setting specifies the number of days a student can be enrolled in this course (starting from the moment they enrol).  Set this value with care - setting it when not required is a common origin of the complaint,  &amp;quot;my students keep disappearing after n days&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; This is useful for rolling courses without a specific start or end time. Students are automatically unenrolled after the number of days has expired in this setting.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; This setting can be used as an alternative to a manually unenrolling students or using a clean-up function to remove defunct students at some future time.&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If this course is a metacourse, the enrolment period will not be used.&lt;br /&gt;
&lt;br /&gt;
==Enrolment expiry notification==&lt;br /&gt;
[[Image:generalsettings5.gif|thumb|Enrolment expiry notification settings]]&lt;br /&gt;
These settings determine whether teachers and/or students are notified that their enrolment is about to expire and how much notice they should be given.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
==Groups==&lt;br /&gt;
[[Image:generalsettings6.gif|thumb|Groups settings]]&lt;br /&gt;
===Group mode===&lt;br /&gt;
Here you can define the [[Groups|group mode]] at the course level by a pull down menu. &amp;quot;[[Groups#No_groups|No groups]]&amp;quot;, &amp;quot;[[Groups#Separate_groups|Separate groups]]&amp;quot; and &amp;quot;[[Groups#Visible_groups|Visible groups]]&amp;quot; are the choices. The selected setting will be the default group mode for all activities defined within that course.  The group setting can affect what users see in the [[Participants]] list. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; You may leave it set to &amp;quot;No groups&amp;quot; and still have specific activities use groups. In this case the force setting below should be set to &amp;quot;no&amp;quot;. For example, the teacher can use a group setting to completely separate cohorts of students such that each group is unaware of the other in the course.&lt;br /&gt;
&lt;br /&gt;
===Force===&lt;br /&gt;
If the group mode is &amp;quot;forced&amp;quot; at a course-level, then this particular group mode will be applied to every activity in that course. This will override any activities that may have a special group setting.  &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039;The force setting is useful when the teacher wants to set up a course and not have to change each activities group settings.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
===Default grouping===&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}If [[Groupings|groupings]] are enabled (in Moodle 1.9 onwards), a default grouping for course activities and resources may be set.&lt;br /&gt;
&lt;br /&gt;
==Availability==&lt;br /&gt;
&lt;br /&gt;
[[Image:generalsettings7.gif|thumb|Availability settings]]&lt;br /&gt;
This option allows you to &amp;quot;hide&amp;quot; your course completely. It will not appear on any course listings, except to teachers of the course and administrators. Even if students try to access the course URL directly, they will not be allowed to enter.  &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; The [[Course_settings#Course_start_date|Start Date]] of the course can also effect course visibility. &lt;br /&gt;
 &lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
===Enrolment key===&lt;br /&gt;
A course [[Enrolment key|enrolment key]] enables access to courses to be restricted to those who know the key. This feature is typically used on sites which encourage self enrolments or use an external database process to register students in a course.  The idea is that Teachers or course administrators will supply the key to authorized people using another means like private email, snail mail, on the phone or even verbally in a face-to-face class.&lt;br /&gt;
&lt;br /&gt;
When the key is left blank and [[Course_settings#Course_enrollable|self enrolment]] is allowed, then anyone who has a Moodle username on the site will be able to enrol in the course.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; A student can be manually enroled in the course and will not have to supply the required key when they enter the course for the first time. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If this password &amp;quot;gets out&amp;quot; and you have unwanted people enrolling, you can unenrol them (see their user profile page or unassign them from the [[Assign roles|student role]] in the course) and change this key. Any legitimate students who have already enrolled will not be affected, but the unwanted people will not be able to get back in.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If you are using a non-interactive enrolment, system (e.g., External Database, LDAP) and you do not want students who fail the initial check to be asked for an enrolment key that they will not have, set &#039;&#039;Course Enrolable&#039;&#039; to &#039;&#039;No&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; You can control who is displayed as providing the Key when someone is requested to supply the key. See [[Internal enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
===Guest access===&lt;br /&gt;
&lt;br /&gt;
Allows any authenticated user (i.e. logged in) to access the course (as a [[Guest role|guest]]), including those who have logged in &amp;quot;as guest&amp;quot;. You can choose if they need an enrolment key or may enter without one. &lt;br /&gt;
&lt;br /&gt;
People can log in as guests using the &amp;quot;Login as a guest&amp;quot; button on a login screen, where that feature is enabled for the site. When the user tries to enter a course, they will see the [[Log in|login screen]]. If you only need people authenticated via your normal authentication method to access courses (as Guest or not) it is probably wise to disable &amp;quot;Login as a guest&amp;quot; for a slight improvement in site security. See [[Manage authentication]].&lt;br /&gt;
&lt;br /&gt;
Guests in a course ALWAYS have &amp;quot;read-only&amp;quot; access - meaning they cannot leave any posts or otherwise mess up the course for real students.  No use information is stored for a guest.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; This can be handy when you want to let a colleague in to look around at your work, or to let students see a course before they have decided to enroll.&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; You have a choice between two types of guest access: with the enrolment key or without. If you choose to allow guests who have the key, then the guest will need to provide the current enrolment key EVERY TIME they log in (unlike students who only need to do it once). This lets you restrict your guests. If you choose to allow guests without a key, then anyone can get straight into your course.&lt;br /&gt;
&lt;br /&gt;
For more information see [[Guest role]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
===Cost===&lt;br /&gt;
&lt;br /&gt;
If [[Paypal]] or [[Authorize.net Payment Gateway]] is set as the [[Enrolment plugins|enrolment plugin]], then the course cost can be set in the cost field.&lt;br /&gt;
&lt;br /&gt;
==Language==&lt;br /&gt;
[[Image:generalsettings8.gif|thumb|Language settings]]&lt;br /&gt;
&lt;br /&gt;
If you force a language in a course, the interface of Moodle in this course will be in this particular language, even if a student has selected a different preferred language in his/her personal profile.&lt;br /&gt;
&lt;br /&gt;
==Student progress==&lt;br /&gt;
{{Moodle 2.0}}Has settings for [[Course completion]] criterion, a new feature in 2.0.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==Role renaming==&lt;br /&gt;
[[Image:rolesimages.gif|thumb|Role renaming settings]]&lt;br /&gt;
{{Moodle 1.9}}In Moodle 1.9 onwards, you can rename the [[Roles|roles]] used in your course. For example, you may wish to rename the [[Teacher role]] as &amp;quot;Facilitator&amp;quot;, &amp;quot;Tutor&amp;quot; or &amp;quot;Guide&amp;quot;. These new role names will appear within the course. For example on the [[Participants|participants]] and the override permissions pages. &lt;br /&gt;
&lt;br /&gt;
Please note that the site administrator or a [[Course managers|course manager]] may have changed the names or added new roles.  These names will appear and the teacher may rename them.&lt;br /&gt;
&lt;br /&gt;
[[Roles FAQ]] contains information on changing the name for teacher in Moodle 1.7 and 1.8. Prior to Moodle 1.7, the words for teacher and student may be changed in the course settings.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip&#039;&#039;: Do not worry about changing every role name. Only change the site roles which are  used in your course. For example, you may want to ignore renaming roles such as the [[Administrator role]] or the [[Authenticated user role]].&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip&#039;&#039;: To include new role names in a course backup, users should be included in the backup.&lt;br /&gt;
&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==Default course settings==&lt;br /&gt;
&lt;br /&gt;
An administrator can set course settings defaults in &#039;&#039;Administration &amp;gt; Courses &amp;gt; [[Course default settings]]&#039;&#039; in Moodle 1.9.5 onwards.&lt;br /&gt;
[[#top|Top]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://www.youtube.com/watch?v=zWOp1oq-TvI Video showing how to create a course in Moodle]&lt;br /&gt;
&lt;br /&gt;
[[Category:Course]]&lt;br /&gt;
&lt;br /&gt;
[[de:Kurseinstellungen]]&lt;br /&gt;
[[es:Administración del curso]]&lt;br /&gt;
[[eu:Ikastaroaren_ezarpenak]]&lt;br /&gt;
[[fr:Paramètres du cours]]&lt;br /&gt;
[[ja:コース設定]]&lt;br /&gt;
[[ru:course/edit]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Adding/editing_a_questionnaire&amp;diff=80014</id>
		<title>Adding/editing a questionnaire</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Adding/editing_a_questionnaire&amp;diff=80014"/>
		<updated>2011-01-03T10:21:32Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questionnaire}}&lt;br /&gt;
&lt;br /&gt;
==Timing==&lt;br /&gt;
&lt;br /&gt;
Set the date window for when users can complete the questionnaire. You can leave the boxes unchecked if you want the questionnaire to be continually available.&lt;br /&gt;
&lt;br /&gt;
==Response options==&lt;br /&gt;
===Type===&lt;br /&gt;
&lt;br /&gt;
Select whether users will be allowed to respond once, daily, weekly, monthly or an unlimited number of times (&#039;&#039;&#039;many&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===Respondent Type===&lt;br /&gt;
&lt;br /&gt;
You can display your users&#039; full names with each response by setting this to &amp;quot;fullname&amp;quot;.&amp;lt;br /&amp;gt; You can hide your users&#039; identities from the responses by setting this to &amp;quot;anonymous&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;.- If your Moodle course allows guests, they will only be allowed to respond to a questionnaire whose responses have been set to &#039;&#039;anonymous&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Respondent Eligibility===&lt;br /&gt;
&lt;br /&gt;
Decide whether everyone can answer or whether you want to restrict it to tutor only or student only responses.  For restricted access options remember to assign the correct roles either at the course or activity level.  For example, if you put a questionnaire on the front page, intended for teachers only, then you will have to let Moodle know which users are teachers.&lt;br /&gt;
&lt;br /&gt;
===Response viewing===&lt;br /&gt;
&lt;br /&gt;
You can specify who can see the responses of all respondents to submitted questionnaires (general statistics tables).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Students can view ALL responses -&amp;gt; &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039; Never&#039;&#039;&#039;. By default, only teachers of the owning course can see all questionnaire submitted responses.&lt;br /&gt;
# &#039;&#039;&#039; After answering the questionnaire&#039;&#039;&#039;. This allows students to see all responses after answering a questionnaire that is set to &#039;&#039;&#039;&#039;&#039;respond once only&#039;&#039;&#039;&#039;&#039;. If a questionnaire is set to respond more than once, then students cannot see all responses unless you use one of the next two options.&lt;br /&gt;
# &#039;&#039;&#039; After the questionnaire is closed&#039;&#039;&#039;.&lt;br /&gt;
# &#039;&#039;&#039; Always.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please use the &#039;&#039;Roles and capabilities system&#039;&#039; to decide which course participants will be allowed to view a) their own responses b) all responses.&lt;br /&gt;
&lt;br /&gt;
===Save/Resume answers===&lt;br /&gt;
&lt;br /&gt;
Setting this option allows users to save their answers to a questionnaire before submitting them. Users can leave the questionnaire unfinished and resume from the save point at a later date.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039; .- If a questionnaire is set to &#039;&#039;&#039;Save/Resume answers&#039;&#039;&#039;, then &#039;&#039;guests will not be allowed to view it&#039;&#039;. Since there is no way for Moodle to tell one guest from another, it would not make sense for one guest to start responding to a questionnaire and another guest to finish it!&lt;br /&gt;
&lt;br /&gt;
==Content Options==&lt;br /&gt;
&lt;br /&gt;
Select one of the radio button options. &#039;Create new&#039; is the default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; You can create questionnaires using three different methods: &#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039; Create New: &#039;&#039;&#039;&lt;br /&gt;
::This option allows you to create a completely new questionnaire from scratch.&lt;br /&gt;
:&#039;&#039;&#039; Copy Existing: &#039;&#039;&#039;&lt;br /&gt;
::This option copies a pre-existing questionnaire&#039;s content to a new questionnaire, pre-seeding the content. You can copy questionnaires belonging to the course, or ones specifically marked as &#039;template&#039;.&lt;br /&gt;
:&#039;&#039;&#039; Use Public: &#039;&#039;&#039;&lt;br /&gt;
::If a questionnaire has already been created (in another course on the same Moodle site) with the &amp;quot;public&amp;quot; setting, then you may use that &amp;quot;public&amp;quot; questionnaire in your own course(s). The number of settings available to such questionnaires is limited and you cannot edit its questions nor view the responses. &amp;lt;br /&amp;gt;&#039;&#039;&#039;&#039;&#039; Example &#039;&#039;&#039;&#039;&#039;.- If a public questionnaire has been created in course A, it can be &amp;quot;used&amp;quot; in courses B, C, ... All the responses from courses A, B, C, ... are collected in the public questionnaire created in course A (the original course where it was created) and are viewable there by the person (admin or teacher) who originally created it.&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Ajouter/modifier un questionnaire]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Permissions&amp;diff=79382</id>
		<title>Permissions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Permissions&amp;diff=79382"/>
		<updated>2010-12-17T08:47:54Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}Location: &#039;&#039;Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Check system permissions&#039;&#039; or &#039;&#039;Course administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Check permissions&#039;&#039;&lt;br /&gt;
[[Image:Check permissions.png|thumb|Check permissions in a course]]&lt;br /&gt;
The check permissions feature provides a method to view all capabilities for a selected user based on their role assignments. These capabilities determine whether or not the selected user is allowed to perform associated tasks within the system or course.&lt;br /&gt;
&lt;br /&gt;
[[Category:Roles]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Sistemako_baimenak_aztertu]]&lt;br /&gt;
[[fr:Vérifier les permissions]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Publishing_a_course&amp;diff=79310</id>
		<title>Publishing a course</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Publishing_a_course&amp;diff=79310"/>
		<updated>2010-12-16T14:51:27Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}In Moodle 2.0 onwards, users with the capability [[Capabilities/moodle/course:publish|moodle/course:publish]] can publish courses to a hub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Why publish a course?==&lt;br /&gt;
[[Image:Publication.png|thumb|Publish course page]]&lt;br /&gt;
Possible reasons for publishing a course include:&lt;br /&gt;
&lt;br /&gt;
* To share it with the world&lt;br /&gt;
* To sell your course design/methodology&lt;br /&gt;
* To attract more participants (students, teachers...)&lt;br /&gt;
&lt;br /&gt;
== Advertising a course for people to join==&lt;br /&gt;
&lt;br /&gt;
# Click the button &#039;Advertise this course for people to join&#039;.&lt;br /&gt;
# Select the hub where you want to advertise your course.&lt;br /&gt;
# Enter information about the course.&lt;br /&gt;
# Click the &#039;Advertise this course&#039; button.&lt;br /&gt;
&lt;br /&gt;
The course will then need to be approved by the hub administrator before it appears in the course listing.&lt;br /&gt;
&lt;br /&gt;
The advert for the course may be updated or removed at any time by clicking an appropriate button in the actions column.&lt;br /&gt;
&lt;br /&gt;
==Sharing a course for people to download==&lt;br /&gt;
[[Image:Backup_publication.png|thumb|First page of the backup process]]&lt;br /&gt;
&lt;br /&gt;
# Click the button &#039;Share this course for people to download&#039;.&lt;br /&gt;
# Select the hub where you want to share your course.&lt;br /&gt;
# Enter information about the course.&lt;br /&gt;
# Click the &#039;Upload this course&#039; button.&lt;br /&gt;
# Select the data to be included in the backup.&lt;br /&gt;
# Create the course backup.&lt;br /&gt;
&lt;br /&gt;
The course will then need to be approved by the hub administrator before it appears in the course listing.&lt;br /&gt;
&lt;br /&gt;
The course may be removed at any time by clicking the button in the actions column. To update the course, firstly remove it from the hub, then re-share it. You may also share different versions of the same course.&lt;br /&gt;
&lt;br /&gt;
== Hub listing ==&lt;br /&gt;
&lt;br /&gt;
To check whether a course is included in the hub listing, click the &#039;Check it now&#039; link. Your Moodle site will contact the hub and will update the status of all courses published on the hub.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Community hub]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Hub]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Publier un cours]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Capability_report&amp;diff=79309</id>
		<title>Capability report</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Capability_report&amp;diff=79309"/>
		<updated>2010-12-16T14:32:51Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Site Administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Capability report&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Roles]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Rapport de capacité]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Repositories&amp;diff=79308</id>
		<title>Repositories</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Repositories&amp;diff=79308"/>
		<updated>2010-12-16T14:16:31Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}The repository feature in Moodle 2.0 onwards allows a site administrator to [[Manage repositories|manage site folders]] in the &amp;quot;[[Moodledata directory]]&amp;quot; from Site administration &amp;gt; Plugins &amp;gt; Repositories. Repositories appear in [[File picker]] for the users.  Users can browse external repositories.&lt;br /&gt;
&lt;br /&gt;
The Moodle 2.0 File picker standard install will show Server files, Upload files and Private files repositories along with the contextual Upload files and Recent files links.  Moodle comes with 15 other hidden repositories which can be turned on and renamed if required by the site administrator. &lt;br /&gt;
&lt;br /&gt;
Repositories in Moodle 2.0 video:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=zdrdyev82bU&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vocabulary==&lt;br /&gt;
&#039;&#039;&#039;Repository plugin&#039;&#039;&#039;: it is also called a repository type. It can be named Box.net, Flickr, Mahara, Youtube... Adding a plugin allow users to create instances of this plugin. Only instances are displayed into the file picker. Type only exist in order to let a Moodle administrator to deactivate/delete all instances of a type in one click.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Repository instance&#039;&#039;&#039;: An instance is displayed into the file picker and it is the access point to an external repository. An instance can have specific settings (for example be linked to a personal account).&lt;br /&gt;
 &lt;br /&gt;
*First case: when you add the plugin, an instance is automatically created and can not be edited. The Moodle administrator cannot change the instance name. The instance name displayed into the file picker will be exactly the same as the plugin name. For example Youtube, Box.net...&lt;br /&gt;
*Second case: the plugin allow the Moodle administrator to add multiple instances. An instance has a name for example Flickr Public access to Martin account, Martin&#039;s Mahara... &amp;lt;br/&amp;gt;For this second case it is important to identify two different kind of instances:&lt;br /&gt;
#Common instances: The instances set by Moodle administrator in these same administration pages will be available into any file picker.&lt;br /&gt;
#Private instance: A teacher can set some instances available only for a course, and an user can set some instances only available for himself. In order to set instances for a course the teacher will go to the course page, and in order to set instances for a personal use, a user will go on his profile page. An administrator cannot add/edit private instances from the administration pages.&lt;br /&gt;
&lt;br /&gt;
Import files from Dropbox into Moodle 2.0 video:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=V221JLCywWs&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
==Enabling repositories==&lt;br /&gt;
&lt;br /&gt;
Repositories can be enabled by an administrator in &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage repositories&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
A repository plugin may be set to&lt;br /&gt;
&lt;br /&gt;
* Enabled and visible - appears in the file picker&lt;br /&gt;
* Enabled and hidden&lt;br /&gt;
* Disabled - default setting&lt;br /&gt;
&lt;br /&gt;
The order in which repositories are shown in the file picker may be set using the up and down arrows.&lt;br /&gt;
&lt;br /&gt;
==Available repository plugins==&lt;br /&gt;
&lt;br /&gt;
*Upload a file&lt;br /&gt;
*Server files&lt;br /&gt;
*Recent files&lt;br /&gt;
*[[Private files]]&lt;br /&gt;
*[[Alfresco repository]]&lt;br /&gt;
*[[Box.net repository configuration|Box.net]]&lt;br /&gt;
*[[Legacy course files]]&lt;br /&gt;
*[[Dropbox]]&lt;br /&gt;
*[[File system repository configuration|File system]]&lt;br /&gt;
*[[Flickr repository configuration|Flickr]]&lt;br /&gt;
*[[Flickr public repository configuration|Flickr public]]&lt;br /&gt;
*Google Docs&lt;br /&gt;
*Merlot.org&lt;br /&gt;
*Picasa web album&lt;br /&gt;
*Amazon S3&lt;br /&gt;
*URL Downloader &lt;br /&gt;
*[[WebDAV repository]]&lt;br /&gt;
*Wikimedia	&lt;br /&gt;
*Youtube videos&lt;br /&gt;
&lt;br /&gt;
==Contributed repository plugins==&lt;br /&gt;
&lt;br /&gt;
Additional repository plugins may be installed, such as&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=2611 Riffly] audio-only or audio-video recording&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=2612 Nanogong] audio recording&lt;br /&gt;
*Mahara (see MDL-21993)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Repositories FAQ]]&lt;br /&gt;
* [http://moodle.drupalgardens.com/article/tue-06152010-1918/ftp-files-moodle-20-repository-api FTP files into Moodle 2.0 with the repository API]&lt;br /&gt;
&lt;br /&gt;
[[Category:Repositories]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Biltegiak_kudeatu]]&lt;br /&gt;
[[de:Repositories]]&lt;br /&gt;
[[fr:Dépôts]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Category:Repositories&amp;diff=79307</id>
		<title>Category:Repositories</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Category:Repositories&amp;diff=79307"/>
		<updated>2010-12-16T14:15:15Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of pages about [[Repositories]] in Moodle 2.0 onwards.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Dépôts]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Category:Files&amp;diff=79306</id>
		<title>Category:Files</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Category:Files&amp;diff=79306"/>
		<updated>2010-12-16T14:11:52Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of pages about the [[Files | files]] option of the [[Course administration block | administration block]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Course]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Installation]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Private_files&amp;diff=79305</id>
		<title>Private files</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Private_files&amp;diff=79305"/>
		<updated>2010-12-16T14:06:14Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}In Moodle 2.0 onwards, each user has a private files area for uploading and managing a set of files.&lt;br /&gt;
&lt;br /&gt;
The private files area is accessible via &#039;&#039;Navigation &amp;gt; My home &amp;gt; My profile &amp;gt; My private files&#039;&#039; or the [[My private files block]]. It is available as a source within the filepicker when selecting files to use in a course.&lt;br /&gt;
&lt;br /&gt;
==Private files management==&lt;br /&gt;
&lt;br /&gt;
To add a file to your private files area&lt;br /&gt;
# Click Navigation&amp;gt;My profile&amp;gt;My private files&lt;br /&gt;
# Click &amp;quot;Manage my private files&amp;quot; button&lt;br /&gt;
# The standard file picker Add-Create folder popup will appear.&lt;br /&gt;
# If desired, create or move to a folder,&lt;br /&gt;
#Click on the Add button &lt;br /&gt;
#Browse for and select a file&lt;br /&gt;
# Click the &#039;Save changes&#039; button&lt;br /&gt;
&lt;br /&gt;
[[Image:Files_standard_added_files_1.png|center|frame|Standard file add- create directory, showing 2 files]]&lt;br /&gt;
*Uploaded files may be downloaded, renamed, moved or deleted by clicking the icon next to the file. After making any changes, &#039;&#039;&#039;remember to click the &#039;Save changes&#039; button&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Repositories]]&lt;br /&gt;
[[Category:Moodle 2.0]][[Category:Files]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Fichiers personnels]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=IP_blocker&amp;diff=79304</id>
		<title>IP blocker</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=IP_blocker&amp;diff=79304"/>
		<updated>2010-12-16T13:49:02Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}{{Moodle 2.0}}&lt;br /&gt;
In Moodle 2.0 onwards, administrators can set a list of allowed and/or blocked IP addresses.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Blocage IP]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Latest_release_notes&amp;diff=78623</id>
		<title>Latest release notes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Latest_release_notes&amp;diff=78623"/>
		<updated>2010-12-03T09:38:41Z</updated>

		<summary type="html">&lt;p&gt;Fox: Moodle 1.8.14&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Moodle 2.0==&lt;br /&gt;
{{:Moodle 2.0 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.9.10==&lt;br /&gt;
{{:Moodle 1.9.10 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.8.14==&lt;br /&gt;
&lt;br /&gt;
{{:Moodle 1.8.14 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.7.7==&lt;br /&gt;
{{:Moodle 1.7.7 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.6.9==&lt;br /&gt;
{{:Moodle 1.6.9 release notes}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Moodle version history]] for dates of release and links to notes for earlier versions&lt;br /&gt;
&lt;br /&gt;
[[Category:Release notes]]&lt;br /&gt;
&lt;br /&gt;
[[es:Notas de versiones]]&lt;br /&gt;
[[fr:Dernières notes de mise à jour]]&lt;br /&gt;
[[pt:Versões do Moodle]]&lt;br /&gt;
[[ru:Примечания к версиям]]&lt;br /&gt;
[[de:Aktuellste Versionsinformationen]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Moodle_version_history&amp;diff=78622</id>
		<title>Moodle version history</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Moodle_version_history&amp;diff=78622"/>
		<updated>2010-12-03T09:37:51Z</updated>

		<summary type="html">&lt;p&gt;Fox: /* Moodle 1.8 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Moodle 1.0==&lt;br /&gt;
*Moodle 1.0 - 20 August 2002&lt;br /&gt;
*Moodle 1.0.1 - 26 August 2002&lt;br /&gt;
*Moodle 1.0.2 - 2 September 2002&lt;br /&gt;
*Moodle 1.0.3 - 5 September 2002&lt;br /&gt;
*Moodle 1.0.4 - 10 September 2002&lt;br /&gt;
*Moodle 1.0.5 - 27 September 2002&lt;br /&gt;
*Moodle 1.0.6 - 26 October 2002&lt;br /&gt;
:: 1.0.6.1 - 6 Nov&lt;br /&gt;
:: 1.0.6.2 - 11 Nov&lt;br /&gt;
:: 1.0.6.3 - 14 Nov&lt;br /&gt;
:: 1.0.6.4 - 25 Nov&lt;br /&gt;
*Moodle 1.0.7 - 9 December 2002&lt;br /&gt;
*Moodle 1.0.8 - 7 January 2003&lt;br /&gt;
*Moodle 1.0.9 - 30 May 2003&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.1==&lt;br /&gt;
*Moodle 1.1 - 29 August 2003&lt;br /&gt;
*Moodle 1.1.1 - 11 September 2003&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.2==&lt;br /&gt;
*Moodle 1.2 - 20 March 2004&lt;br /&gt;
*Moodle 1.2.1 - 25 March 2004&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.3==&lt;br /&gt;
*Moodle 1.3 - 25 May 2004&lt;br /&gt;
*Moodle 1.3.1 - 4 June 2004&lt;br /&gt;
*Moodle 1.3.2 - 9 July 2004&lt;br /&gt;
*Moodle 1.3.3 - 16 July 2004&lt;br /&gt;
*Moodle 1.3.4 - 11 August 2004&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.4==&lt;br /&gt;
*Moodle 1.4 - 31 August 2004&lt;br /&gt;
*Moodle 1.4.1 - 12 September 2004&lt;br /&gt;
*Moodle 1.4.2 - 5 November 2004&lt;br /&gt;
*Moodle 1.4.3 - 21 December 2004&lt;br /&gt;
*Moodle 1.4.4 - 7 March 2005 &lt;br /&gt;
*[[Moodle 1.4.5 release notes|Moodle 1.4.5]] - 7 May 2005&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.5==&lt;br /&gt;
*[[Moodle 1.5 release notes|Moodle 1.5]] - 5 June 2005&lt;br /&gt;
*[[Moodle 1.5.1 release notes|Moodle 1.5.1]] - 8 July 2005&lt;br /&gt;
*[[Moodle 1.5.2 release notes|Moodle 1.5.2]] - 16 July 2005&lt;br /&gt;
*[[Moodle 1.5.3 release notes|Moodle 1.5.3]] - 11 November 2005&lt;br /&gt;
*[[Moodle 1.5.4 release notes|Moodle 1.5.4]] - 21 May 2006&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.6==&lt;br /&gt;
*[[Moodle 1.6 release notes|Moodle 1.6]] - 20 June 2006&lt;br /&gt;
*[[Moodle 1.6.1 release notes|Moodle 1.6.1]] - 20 July 2006&lt;br /&gt;
*[[Moodle 1.6.2 release notes|Moodle 1.6.2]] - 12 September 2006&lt;br /&gt;
*[[Moodle 1.6.3 release notes|Moodle 1.6.3]] - 10 October 2006&lt;br /&gt;
*[[Moodle 1.6.4 release notes|Moodle 1.6.4]] - 17 January 2007&lt;br /&gt;
*[[Moodle 1.6.5 release notes|Moodle 1.6.5]] - 30 March 2007&lt;br /&gt;
*Moodle 1.6.6 - 11 January 2008&lt;br /&gt;
*Moodle 1.6.7 - 11 July 2008&lt;br /&gt;
*[[Moodle 1.6.8 release notes|Moodle 1.6.8]] - 15 October 2008&lt;br /&gt;
*[[Moodle 1.6.9 release notes|Moodle 1.6.9]] - 28 January 2009&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.7==&lt;br /&gt;
*[[Moodle 1.7 release notes|Moodle 1.7]] - 7 November 2006&lt;br /&gt;
*[[Moodle 1.7.1 release notes|Moodle 1.7.1]] - 17 January 2007&lt;br /&gt;
*[[Moodle 1.7.2 release notes|Moodle 1.7.2]] - 30 March 2007&lt;br /&gt;
*[[Moodle 1.7.3 release notes|Moodle 1.7.3]] - 11 October 2007&lt;br /&gt;
*[[Moodle 1.7.4 release notes|Moodle 1.7.4]] - 11 January 2008&lt;br /&gt;
*[[Moodle 1.7.5 release notes|Moodle 1.7.5]] - 11 July 2008&lt;br /&gt;
*[[Moodle 1.7.6 release notes|Moodle 1.7.6]] - 15 October 2008&lt;br /&gt;
*[[Moodle 1.7.7 release notes|Moodle 1.7.7]] - 28 January 2009&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.8==&lt;br /&gt;
*[[Moodle 1.8 release notes|Moodle 1.8]] - 30 March 2007&lt;br /&gt;
*[[Moodle 1.8.1 release notes|Moodle 1.8.1]] - 14 June 2007&lt;br /&gt;
*[[Moodle 1.8.2 release notes|Moodle 1.8.2]] - 8 July 2007&lt;br /&gt;
*[[Moodle 1.8.3 release notes|Moodle 1.8.3]] - 11 October 2007&lt;br /&gt;
*[[Moodle 1.8.4 release notes|Moodle 1.8.4]] - 11 January 2008&lt;br /&gt;
*[[Moodle 1.8.5 release notes|Moodle 1.8.5]] - 8 April 2008&lt;br /&gt;
*[[Moodle 1.8.6 release notes|Moodle 1.8.6]] - 11 July 2008&lt;br /&gt;
*[[Moodle 1.8.7 release notes|Moodle 1.8.7]] - 15 October 2008&lt;br /&gt;
*[[Moodle 1.8.8 release notes|Moodle 1.8.8]] - 28 January 2009&lt;br /&gt;
*[[Moodle 1.8.9 release notes|Moodle 1.8.9]] - 15 May 2009&lt;br /&gt;
*[[Moodle 1.8.10 release notes|Moodle 1.8.10]] - 26 October 2009&lt;br /&gt;
*[[Moodle 1.8.11 release notes|Moodle 1.8.11]] - 25 November 2009&lt;br /&gt;
*[[Moodle 1.8.12 release notes|Moodle 1.8.12]] - 27 March 2010&lt;br /&gt;
*[[Moodle 1.8.13 release notes|Moodle 1.8.13]] - 8 June 2010&lt;br /&gt;
*[[Moodle 1.8.14 release notes|Moodle 1.8.14]] - 3 December 2010&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.9==&lt;br /&gt;
*[[Moodle 1.9 release notes|Moodle 1.9]] - 3 March 2008&lt;br /&gt;
*[[Moodle 1.9.1 release notes|Moodle 1.9.1]] - 15 May 2008&lt;br /&gt;
*[[Moodle 1.9.2 release notes|Moodle 1.9.2]] - 11 July 2008&lt;br /&gt;
*[[Moodle 1.9.3 release notes|Moodle 1.9.3]] - 15 October 2008&lt;br /&gt;
*[[Moodle 1.9.4 release notes|Moodle 1.9.4]] - 28 January 2009&lt;br /&gt;
*[[Moodle 1.9.5 release notes|Moodle 1.9.5]] - 13 May 2009&lt;br /&gt;
*[[Moodle 1.9.6 release notes|Moodle 1.9.6]] - 21 October 2009&lt;br /&gt;
*[[Moodle 1.9.7 release notes|Moodle 1.9.7]] - 25 November 2009&lt;br /&gt;
*[[Moodle 1.9.8 release notes|Moodle 1.9.8]] - 25 March 2010&lt;br /&gt;
*[[Moodle 1.9.9 release notes|Moodle 1.9.9]] - 8 June 2010&lt;br /&gt;
* [[Moodle 1.9.10 release notes|Moodle 1.9.10]] - 25 October 2010&lt;br /&gt;
&lt;br /&gt;
==Moodle 2.0==&lt;br /&gt;
*[[Moodle 2.0 release notes|Moodle 2.0]] - 24 November 2010&lt;br /&gt;
&lt;br /&gt;
[[Category:Release notes]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Historique des versions]]&lt;br /&gt;
[[es:Historia de las versiones]]&lt;br /&gt;
[[de:Versionshistorie]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78522</id>
		<title>Migration from MyISAM to InnoDB</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78522"/>
		<updated>2010-11-30T16:30:57Z</updated>

		<summary type="html">&lt;p&gt;Fox: Changed order of items&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
This page only applies to administrators using Moodle with a MySQL database.&lt;br /&gt;
It&#039;s about migrating [http://dev.mysql.com/doc/refman/5.1/en/storage-engines.html MySQL storage engine].&lt;br /&gt;
&lt;br /&gt;
See [http://moodle.org/mod/forum/discuss.php?d=162871 Documentation for migration from MyISAM to InnoDB] for the current discussion which prompted the creation of this page. --[[User:Frank Ralf|Frank Ralf]] 11:41, 24 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Difference between MyISAM and InnoDB ==&lt;br /&gt;
* read [http://tag1consulting.com/MySQL_Engines_MyISAM_vs_InnoDB]&lt;br /&gt;
* InnoDB is best for data integrity, not so good for searching large files, and uses up more CPU cycles and storage space than MyISAM equivalent &lt;br /&gt;
* InnoDB is much younger than MyISAM but is becoming increasingly attractive ... but because it is more complex, some utilities written for MyISAM like mysqlhotcopy may not work&lt;br /&gt;
* It is perfectly OK to select InnoDB for certain tables, and MyISAM for others (based on above criteria)&lt;br /&gt;
&lt;br /&gt;
== MySQL Configuration ==&lt;br /&gt;
Before attempting to change the table type, you should:&lt;br /&gt;
* &#039;&#039;&#039;check InnoDB is enabled&#039;&#039;&#039;. Log in to MySQL and run the command [http://dev.mysql.com/doc/refman/5.1/en/show-engines.html SHOW ENGINES]. Make sure that support for InnoDB shows either &amp;quot;YES&amp;quot; or &amp;quot;DEFAULT&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;set innodb_file_per_table if required&#039;&#039;&#039;. [http://dev.mysql.com/doc/refman/5.1/en/innodb-multiple-tablespaces.html This setting] can be useful for large installations, but it only affects newly created tables and can&#039;t be applied retrospectively.&lt;br /&gt;
&lt;br /&gt;
== Various Methods described in Moodle Forums (choose one)==&lt;br /&gt;
* run the innodb script as a webpage http://www.YOUR_MOODLE_SITE/admin/innodb.php  (there might be timeout issues on large databases)&lt;br /&gt;
* use the CLI script in admin/cli/mysql_engine.php  (requires access to shell, and the config.php must only have one moodle instance, but has no timeout issues) &lt;br /&gt;
* use PHPMyAdmin entering Structure view of a table and clicking Operations tab. Look for Storage Engine parameter. This is a tedious task due to the number of tables [http://moodle.org/mod/forum/discuss.php?d=162002]&lt;br /&gt;
* perform a database dump (e.g. mysqldump moodle_database &amp;gt; dump.SQL), use an editor or sed/perl/awk command to find/replace , replacing MyISAM with InnoDB.  Finally, restore back in the server. (e.g. mysql &amp;lt; dump.SQL or equivalent)&lt;br /&gt;
* Follow the process detailed here - https://sites.google.com/site/moodlemayhem/tcea2011-moodle-server-setup-basics/moodleacidtrip&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=117913 New moodle.org] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[fr:Migration de MyISAM vers InnoDB]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78521</id>
		<title>Migration from MyISAM to InnoDB</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78521"/>
		<updated>2010-11-30T16:29:13Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
This page only applies to administrators using Moodle with a MySQL database.&lt;br /&gt;
It&#039;s about migrating [http://dev.mysql.com/doc/refman/5.1/en/storage-engines.html MySQL storage engine].&lt;br /&gt;
&lt;br /&gt;
See [http://moodle.org/mod/forum/discuss.php?d=162871 Documentation for migration from MyISAM to InnoDB] for the current discussion which prompted the creation of this page. --[[User:Frank Ralf|Frank Ralf]] 11:41, 24 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MySQL Configuration ==&lt;br /&gt;
Before attempting to change the table type, you should:&lt;br /&gt;
* &#039;&#039;&#039;check InnoDB is enabled&#039;&#039;&#039;. Log in to MySQL and run the command [http://dev.mysql.com/doc/refman/5.1/en/show-engines.html SHOW ENGINES]. Make sure that support for InnoDB shows either &amp;quot;YES&amp;quot; or &amp;quot;DEFAULT&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;set innodb_file_per_table if required&#039;&#039;&#039;. [http://dev.mysql.com/doc/refman/5.1/en/innodb-multiple-tablespaces.html This setting] can be useful for large installations, but it only affects newly created tables and can&#039;t be applied retrospectively.&lt;br /&gt;
&lt;br /&gt;
== Various Methods described in Moodle Forums (choose one)==&lt;br /&gt;
* run the innodb script as a webpage http://www.YOUR_MOODLE_SITE/admin/innodb.php  (there might be timeout issues on large databases)&lt;br /&gt;
* use the CLI script in admin/cli/mysql_engine.php  (requires access to shell, and the config.php must only have one moodle instance, but has no timeout issues) &lt;br /&gt;
* use PHPMyAdmin entering Structure view of a table and clicking Operations tab. Look for Storage Engine parameter. This is a tedious task due to the number of tables [http://moodle.org/mod/forum/discuss.php?d=162002]&lt;br /&gt;
* perform a database dump (e.g. mysqldump moodle_database &amp;gt; dump.SQL), use an editor or sed/perl/awk command to find/replace , replacing MyISAM with InnoDB.  Finally, restore back in the server. (e.g. mysql &amp;lt; dump.SQL or equivalent)&lt;br /&gt;
* Follow the process detailed here - https://sites.google.com/site/moodlemayhem/tcea2011-moodle-server-setup-basics/moodleacidtrip&lt;br /&gt;
&lt;br /&gt;
== Difference between MyISAM and InnoDB ==&lt;br /&gt;
* read [http://tag1consulting.com/MySQL_Engines_MyISAM_vs_InnoDB]&lt;br /&gt;
* InnoDB is best for data integrity, not so good for searching large files, and uses up more CPU cycles and storage space than MyISAM equivalent &lt;br /&gt;
* InnoDB is much younger than MyISAM but is becoming increasingly attractive ... but because it is more complex, some utilities written for MyISAM like mysqlhotcopy may not work&lt;br /&gt;
* It is perfectly OK to select InnoDB for certain tables, and MyISAM for others (based on above criteria)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=117913 New moodle.org] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[fr:Migration de MyISAM vers InnoDB]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78520</id>
		<title>Migration from MyISAM to InnoDB</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78520"/>
		<updated>2010-11-30T16:16:46Z</updated>

		<summary type="html">&lt;p&gt;Fox: This document only applies to MySQL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
This page only applies to administrators using Moodle with a MySQL database.&lt;br /&gt;
It&#039;s about migrating [http://dev.mysql.com/doc/refman/5.1/en/storage-engines.html MySQL storage engine].&lt;br /&gt;
&lt;br /&gt;
See [http://moodle.org/mod/forum/discuss.php?d=162871 Documentation for migration from MyISAM to InnoDB] for the current discussion which prompted the creation of this page. --[[User:Frank Ralf|Frank Ralf]] 11:41, 24 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MySQL Configuration ==&lt;br /&gt;
Before attempting to change the table type, you should:&lt;br /&gt;
* &#039;&#039;&#039;check InnoDB is enabled&#039;&#039;&#039;. Log in to MySQL and run the command [http://dev.mysql.com/doc/refman/5.1/en/show-engines.html SHOW ENGINES]. Make sure that support for InnoDB shows either &amp;quot;YES&amp;quot; or &amp;quot;DEFAULT&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;set innodb_file_per_table if required&#039;&#039;&#039;. [http://dev.mysql.com/doc/refman/5.1/en/innodb-multiple-tablespaces.html This setting] can be useful for large installations, but it only affects newly created tables and can&#039;t be applied retrospectively.&lt;br /&gt;
&lt;br /&gt;
== Various Methods described in Moodle Forums (choose one)==&lt;br /&gt;
* run the innodb script as a webpage http://www.YOUR_MOODLE_SITE/admin/innodb.php  (there might be timeout issues on large databases)&lt;br /&gt;
* use the CLI script in admin/cli/mysql_engine.php  (requires access to shell, and the config.php must only have one moodle instance, but has no timeout issues) &lt;br /&gt;
* use PHPMyAdmin entering Structure view of a table and clicking Operations tab. Look for Storage Engine parameter. This is a tedious task due to the number of tables [http://moodle.org/mod/forum/discuss.php?d=162002]&lt;br /&gt;
* perform a database dump (e.g. mysqldump moodle_database &amp;gt; dump.SQL), use an editor or sed/perl/awk command to find/replace , replacing MyISAM with InnoDB.  Finally, restore back in the server. (e.g. mysql &amp;lt; dump.SQL or equivalent)&lt;br /&gt;
* Follow the process detailed here - https://sites.google.com/site/moodlemayhem/tcea2011-moodle-server-setup-basics/moodleacidtrip&lt;br /&gt;
&lt;br /&gt;
== Difference between MyISAM and InnoDB ==&lt;br /&gt;
* read [http://tag1consulting.com/MySQL_Engines_MyISAM_vs_InnoDB]&lt;br /&gt;
* InnoDB is best for data integrity, not so good for searching large files, and uses up more CPU cycles and storage space than MyISAM equivalent &lt;br /&gt;
* InnoDB is much younger than MyISAM but is becoming increasingly attractive ... but because it is more complex, some utilities written for MyISAM like mysqlhotcopy may not work&lt;br /&gt;
* It is perfectly OK to select InnoDB for certain tables, and MyISAM for others (based on above criteria)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=117913 New moodle.org] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/innodb]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78442</id>
		<title>Migration from MyISAM to InnoDB</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Migration_from_MyISAM_to_InnoDB&amp;diff=78442"/>
		<updated>2010-11-29T09:44:35Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
See [http://moodle.org/mod/forum/discuss.php?d=162871 Documentation for migration from MyISAM to InnoDB] for the current discussion which prompted the creation of this page. --[[User:Frank Ralf|Frank Ralf]] 11:41, 24 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== MySQL Configuration ==&lt;br /&gt;
Before attempting to change the table type, you should:&lt;br /&gt;
* &#039;&#039;&#039;check InnoDB is enabled&#039;&#039;&#039;. Log in to MySQL and run the command [http://dev.mysql.com/doc/refman/5.1/en/show-engines.html SHOW ENGINES]. Make sure that support for InnoDB shows either &amp;quot;YES&amp;quot; or &amp;quot;DEFAULT&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;set innodb_file_per_table if required&#039;&#039;&#039;. [http://dev.mysql.com/doc/refman/5.1/en/innodb-multiple-tablespaces.html This setting] can be useful for large installations, but it only affects newly created tables and can&#039;t be applied retrospectively.&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/innodb]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Installing_Moodle_using_command_line&amp;diff=78441</id>
		<title>Installing Moodle using command line</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Installing_Moodle_using_command_line&amp;diff=78441"/>
		<updated>2010-11-29T09:43:28Z</updated>

		<summary type="html">&lt;p&gt;Fox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Installing Moodle}}&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
Command line installation is recommended only for experienced server administrators. Please note you have to execute the installation script as the same user used for apache. Command line installation is not compatible with Windows platforms.&lt;br /&gt;
&lt;br /&gt;
You&#039;ll find more information on [[Administration via command line]] page.&lt;br /&gt;
&lt;br /&gt;
[[de:Installation von Kommandozeile]]&lt;br /&gt;
[[fr:Installer Moodle en ligne de commande]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Environment&amp;diff=78426</id>
		<title>Environment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Environment&amp;diff=78426"/>
		<updated>2010-11-29T09:31:05Z</updated>

		<summary type="html">&lt;p&gt;Fox: /* Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Server &amp;gt; Environment&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The environment page enables you to check that your site meets all system requirements for your current and future versions of Moodle. It is important to check system requirements prior to [[Upgrading|upgrading]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: some of the PHP extensions are included as standard in later distributions of PHP, depending on platform:&lt;br /&gt;
* Iconv is included in PHP from 5.0 onwards on Windows [http://uk3.php.net/manual/en/iconv.installation.php]&lt;br /&gt;
* Tokenizer is included in PHP from 4.3.0 onwards [http://uk2.php.net/manual/en/tokenizer.installation.php]&lt;br /&gt;
* Ctype is included by default from PHP 4.2.0 onwards http://uk.php.net/manual/en/ctype.installation.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Moodle version 1.8==&lt;br /&gt;
&lt;br /&gt;
*MySQL version 4.1.16 or later is required, or PostgreSQL 7.4.x or later&lt;br /&gt;
*PHP version 4.3.0 or later is required (but don&#039;t use versions 5.0.0 to 5.0.6 which were buggy)&lt;br /&gt;
*[[admin/environment/unicode|Unicode]] is required&lt;br /&gt;
*The [[admin/environment/php extension/curl|php_extension curl]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php extension/iconv|php_extension iconv]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php extension/mbstring|php_extension mbstring]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php extension/openssl|php_extension openssl]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php_extension/tokenizer|php_extension tokenizer]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php_extension/xmlrpc|php_extension xmlrpc]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php_extension/ctype|php_extension ctype]] is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
==Moodle version 1.9==&lt;br /&gt;
===PHP ===&lt;br /&gt;
* PHP version 4.3.0 or later is required&lt;br /&gt;
* PHP Settings. Check these settings in your php.ini or .htaccess file (if you&#039;re using Apache). For settings which use ON/OFF as their values, you can substitute 1 for ON and 0 for OFF if you prefer. &lt;br /&gt;
** &#039;&#039;register_globals&#039;&#039; &#039;&#039;&#039;MUST&#039;&#039;&#039; be OFF&lt;br /&gt;
** &#039;&#039;safe_mode&#039;&#039; needs to be OFF.&lt;br /&gt;
** &#039;&#039;memory_limit&#039;&#039; should be at least 16M (32M is recommended for Moodle 1.7 and 40M for Moodle 1.8 or later). Large sites may need more than 128M. PHP 5.2.x requires higher memory_limit values than previous versions of PHP. 64bit operating systems require even more memory.&lt;br /&gt;
** &#039;&#039;session.save_handler&#039;&#039; needs to be set to FILES.&lt;br /&gt;
** &#039;&#039;magic_quotes_gpc&#039;&#039; should be OFF&lt;br /&gt;
** &#039;&#039;magic_quotes_runtime&#039;&#039; needs to be OFF.&lt;br /&gt;
** &#039;&#039;file_uploads&#039;&#039; needs to be ON.&lt;br /&gt;
** &#039;&#039;session.auto_start&#039;&#039; needs to be OFF.&lt;br /&gt;
** &#039;&#039;session.bug_compat_warn&#039;&#039; needs to be OFF.&lt;br /&gt;
* PHP Extensions and libraries&lt;br /&gt;
** The mbstring extension is recommended.&lt;br /&gt;
** The iconv extension is recommended. &lt;br /&gt;
** [http://www.libgd.org/ GD library] and the [http://www.freetype.org/ FreeType 2] library and extensions are needed to be able to look at the dynamic graphs that the logs pages make. (Freetype support is available as part of the GD extension for the 5.x versions of PHP).&lt;br /&gt;
** The mysql extension is required if you are using the MySQL database. Note that in some Linux distributions (notably Red Hat) this is an optional installation.&lt;br /&gt;
** The pgsql extension is required if you are using the PostgreSQL database.&lt;br /&gt;
** The curl extension is recommended.&lt;br /&gt;
** The tokenizer extension is recommended.&lt;br /&gt;
** The curl and openssl extensions are required for the Moodle network functionality.&lt;br /&gt;
** The xmlrpc extension is required for the Moodle network functionality.&lt;br /&gt;
** The ctype extension is recommended.&lt;br /&gt;
** Other PHP extensions may be required.&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
* Database (pick one):&lt;br /&gt;
** MySQL 4.1.16 or&lt;br /&gt;
** Postgres 8.0 or&lt;br /&gt;
** MSSQL 9.0 or&lt;br /&gt;
** Oracle 9.0&lt;br /&gt;
&lt;br /&gt;
===See also ===&lt;br /&gt;
*[[Upgrading to Moodle 1.9]]&lt;br /&gt;
&lt;br /&gt;
==Moodle version 2.0==&lt;br /&gt;
=== Hardware === &lt;br /&gt;
* Disk Space: 160MB min&lt;br /&gt;
* Memory (RAM): 256 min, 1GB reccomnded, 50 users per 1GB RAM&lt;br /&gt;
&lt;br /&gt;
=== Software === &lt;br /&gt;
* Web server software. Such as [[Apache]] or [[IIS]].&lt;br /&gt;
* [[PHP]] scripting language. The exact requirements for PHP in Moodle 2.0 are [[#php_requires|below.]]&lt;br /&gt;
&amp;lt;span id=&amp;quot;php_requires&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
===PHP Configuration ===&lt;br /&gt;
* Version: 5.2.8 or later, it will not support any earlier version.&lt;br /&gt;
** PHP Settings. Check these settings in your php.ini or .htaccess file (if you&#039;re using Apache). For settings which use ON/OFF as their values, you can substitute 1 for ON and 0 for OFF if you prefer. &lt;br /&gt;
*** &#039;&#039;register_globals&#039;&#039; &#039;&#039;&#039;MUST&#039;&#039;&#039; be OFF&lt;br /&gt;
*** &#039;&#039;safe_mode&#039;&#039; needs to be OFF.&lt;br /&gt;
*** &#039;&#039;memory_limit&#039;&#039; should be at least 128M. Large sites may need more than 128M. PHP 5.2.x requires higher memory_limit values than previous versions of PHP. 64bit operating systems require even more memory.&lt;br /&gt;
*** &#039;&#039;session.save_handler&#039;&#039; needs to be set to FILES.&lt;br /&gt;
*** &#039;&#039;magic_quotes_gpc&#039;&#039; should be OFF. Unlike earlier versions of Moodle.&lt;br /&gt;
*** &#039;&#039;magic_quotes_runtime&#039;&#039; needs to be OFF.&lt;br /&gt;
*** &#039;&#039;file_uploads&#039;&#039; needs to be ON.&lt;br /&gt;
*** &#039;&#039;session.auto_start&#039;&#039; needs to be OFF.&lt;br /&gt;
*** &#039;&#039;session.bug_compat_warn&#039;&#039; needs to be OFF.&lt;br /&gt;
** PHP Extensions and libraries&lt;br /&gt;
*** The mbstring extension is recommended.&lt;br /&gt;
*** The iconv extension is recommended &lt;br /&gt;
*** [http://www.libgd.org/ GD library] and the [http://www.freetype.org/ FreeType 2] library and extensions are needed to be able to look at the dynamic graphs that the logs pages make. (Freetype support is available as part of the GD extension for the 5.x versions of PHP)&lt;br /&gt;
*** The mysql extension is required if you are using the MySQL database. Note that in some Linux distributions (notably Red Hat) this is an optional installation.&lt;br /&gt;
*** The pgsql extension is required if you are using the PostgreSQL database.&lt;br /&gt;
*** The pdo and pdo_sqlite extensions are required for the (experimental) SQLite 3 database support.&lt;br /&gt;
*** The curl extension is recommended.&lt;br /&gt;
*** The tokenizer extension is recommended.&lt;br /&gt;
*** The curl and openssl extensions are required for the Moodle network functionality.&lt;br /&gt;
*** The xmlrpc extension is required for the Moodle network functionality.&lt;br /&gt;
*** The ctype extension is recommended.&lt;br /&gt;
*** The intl extension is recommended. It is used to improve internationalization support, such as locale aware sorting.&lt;br /&gt;
*** Other PHP extensions may be required to support optional Moodle functionality, especially external authentication and/or enrolment (e.g. LDAP extension for LDAP authentication and the sockets extension for Chat server).&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* A working database server: [[MySQL]] or [[PostgreSQL]] are completely supported and recommended for use with any version of Moodle. MySQL is &#039;&#039;the&#039;&#039; choice for many people because it is very popular, but there are some [[Arguments in favour of PostgreSQL|arguments in favour of PostgreSQL]], especially if you are planning a large deployment.&lt;br /&gt;
** MySQL 5.0.25 or &lt;br /&gt;
** Postgres 8.3 or &lt;br /&gt;
** MSSQL 9.0 or &lt;br /&gt;
** Oracle 10.2&lt;br /&gt;
** SQLite 3 (experimental)&lt;br /&gt;
&lt;br /&gt;
===See also ===&lt;br /&gt;
*[[Installing Moodle 2.0]]&lt;br /&gt;
*[[Upgrading to Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Environment]]&lt;br /&gt;
[[Category:Moodle 2.0]]&lt;br /&gt;
[[Category:Moodle 1.9]]&lt;br /&gt;
[[Category:Moodle 1.8]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Ingurunea]]&lt;br /&gt;
[[fr:Environnement]]&lt;br /&gt;
[[ja:動作環境]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Administration_via_command_line&amp;diff=78424</id>
		<title>Administration via command line</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Administration_via_command_line&amp;diff=78424"/>
		<updated>2010-11-29T09:27:57Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
If you have shell access to your web server, you may find various CLI (command line interface) scripts useful during Moodle administration. All command line tools are located in &amp;lt;code&amp;gt;admin/cli/*&amp;lt;/code&amp;gt; directory. To avoid problems with access control, you should run them as the owner of the web server process. It is especially important for CLI installation and upgrade as they create new files in moodledata directory and the web server has to have write access to them. In Linux distributions, the user that runs the web server is usually apache or wwrun or httpd or something similar. As a root, you will probably want to execute Moodle CLI scripts like this:&lt;br /&gt;
&lt;br /&gt;
    $ cd /path/to/your/moodle/dir&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/somescript.php --params&lt;br /&gt;
&lt;br /&gt;
Most of the scripts accept common --help (or -h) parameter to display the full usage information, for example:&lt;br /&gt;
&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/install.php --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation via command line ==&lt;br /&gt;
&lt;br /&gt;
Since version 2.0, Moodle can be installed from the command line. There are two modes of installation. In interactive mode, the install script asks you for all data needed to properly set up new Moodle site. In non-interactive mode, you must provide all required data as the script parameters and then the new site is installed silently. The parameters can be passed in the interactive mode, too. The provided values are then used as the default values during the interactive session.&lt;br /&gt;
&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/install.php --lang=cs&lt;br /&gt;
&lt;br /&gt;
== Maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
To switch your site into the maintenance mode via CLI, you can use&lt;br /&gt;
&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/maintenance.php --enable&lt;br /&gt;
&lt;br /&gt;
To turn the maintenance mode off, just execute the same script with --disable parameter.&lt;br /&gt;
&lt;br /&gt;
== Offline mode ==&lt;br /&gt;
&lt;br /&gt;
In some situations, you may want to switch your Moodle site into offline mode so that it is not accessible via the web but you can not stop the web server completely (typically because there are other web pages and applications running there). If a file called &amp;lt;code&amp;gt;climaintenance.html&amp;lt;/code&amp;gt; exists in the root folder of moodledata directory, Moodle will automatically display the contents of that file instead of any other page.&lt;br /&gt;
&lt;br /&gt;
    $ cd /var/www/sites/moodle/moodledata/&lt;br /&gt;
    $ echo &#039;&amp;amp;lt;h1&amp;amp;gt;Sorry, maintenance in progress&amp;amp;lt;/h1&amp;amp;gt;&#039; &amp;amp;gt; climaintenance.html&lt;br /&gt;
&lt;br /&gt;
You can prepare a nice formatted HTML page to inform your users about the server being down and keep in the moodledata directory under a name like &amp;lt;code&amp;gt;climaintenance.off&amp;lt;/code&amp;gt; and rename it to the &amp;lt;code&amp;gt;climaintenance.html&amp;lt;/code&amp;gt; if needed.&lt;br /&gt;
&lt;br /&gt;
== Upgrading via command line ==&lt;br /&gt;
&lt;br /&gt;
Moodle can be upgraded from the command line. As with the installation script, there is either interactive or non-interactive mode of the upgrade. The script itself does not put the site into the maintenance mode, you have to do it on your own. Also, the script does not backup any data (if you read this page, you probably have some own scripts to backup your moodledata and the database, right?)&lt;br /&gt;
&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/upgrade.php --non-interactive&lt;br /&gt;
&lt;br /&gt;
Upgrading via command line is a very comfortable way of Moodle upgrade if you use [[CVS]] or [[Git|git]] checkout of the Moodle source code. See the following procedure how to upgrade your site within several seconds to the most recent version while preserving your eventual local customizations tracked in git repository:&lt;br /&gt;
&lt;br /&gt;
    $ cd /var/www/sites/moodle/htdocs/&lt;br /&gt;
    $ git fetch&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/maintenance.php --enable&lt;br /&gt;
    $ git merge origin/cvshead&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/upgrade.php&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/maintenance.php --disable&lt;br /&gt;
&lt;br /&gt;
== Custom site defaults ==&lt;br /&gt;
&lt;br /&gt;
During the install and upgrade via CLI, Moodle sets the administration variables to the default values. You can use different defaults. See MDL-17850 for details. Shortly, all you need to do is to add a file &amp;lt;code&amp;gt;local/defaults.php&amp;lt;/code&amp;gt; into your Moodle installation. The format of the file is like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$defaults[&#039;pluginname&#039;][&#039;settingname&#039;] = &#039;settingvalue&#039;; // for plugins&lt;br /&gt;
$defaults[&#039;moodle&#039;][&#039;settingname&#039;] = &#039;settingvalue&#039;;     // for core settings&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These defaults are used during install, upgrade and are also displayed as defaults at the Site administration pages.&lt;br /&gt;
&lt;br /&gt;
== Reset user password ==&lt;br /&gt;
&lt;br /&gt;
If you happen to forget your admin password (or you want to set a password for any other user of your Moodle system), you can use reset_password.php script. The script sets the correctly salted password for the given user.&lt;br /&gt;
&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/reset_password.php&lt;br /&gt;
&lt;br /&gt;
== MySQL storage engine conversion ==&lt;br /&gt;
&lt;br /&gt;
If you run your Moodle site with MySQL database backend and use the default MyISAM as the storage engine for your tables, you may want to convert them to use some more reliable engine like InnoDB (actually, you should want to switch to PostgreSQL ;-) anyway).&lt;br /&gt;
&lt;br /&gt;
    $ sudo -u apache /usr/bin/php admin/cli/mysql_engine.php --engine=InnoDB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Running cron via command line ==&lt;br /&gt;
&lt;br /&gt;
In versions 1.x, you could execute admin/cron.php either from command line or via the web. Since Moodle 2.0, only admin/cli/cron.php script can be run via command line.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Administration en ligne de commande]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Latest_release_notes&amp;diff=78229</id>
		<title>Latest release notes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Latest_release_notes&amp;diff=78229"/>
		<updated>2010-11-25T09:18:38Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Moodle 2.0==&lt;br /&gt;
{{:Moodle 2.0 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.9.10==&lt;br /&gt;
{{:Moodle 1.9.10 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.8.13==&lt;br /&gt;
&lt;br /&gt;
{{:Moodle 1.8.13 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.7.7==&lt;br /&gt;
{{:Moodle 1.7.7 release notes}}&lt;br /&gt;
&lt;br /&gt;
==Moodle 1.6.9==&lt;br /&gt;
{{:Moodle 1.6.9 release notes}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Moodle version history]] for dates of release and links to notes for earlier versions&lt;br /&gt;
&lt;br /&gt;
[[Category:Release notes]]&lt;br /&gt;
&lt;br /&gt;
[[es:Notas de versiones]]&lt;br /&gt;
[[fr:Dernières notes de mise à jour]]&lt;br /&gt;
[[pt:Versões do Moodle]]&lt;br /&gt;
[[ru:Примечания к версиям]]&lt;br /&gt;
[[de:Aktuellste Versionsinformationen]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Installing_Moodle_using_command_line&amp;diff=78147</id>
		<title>Installing Moodle using command line</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Installing_Moodle_using_command_line&amp;diff=78147"/>
		<updated>2010-11-24T09:17:01Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Installing Moodle}}&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
Command line installation is recommended only for experienced server administrators. Please note you have to execute the installation script as the same user used for apache. Command line installation is not compatible with Windows platforms.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[de:Installation von Kommandozeile]]&lt;br /&gt;
[[fr:Installer Moodle en ligne de commande]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Installing_Moodle&amp;diff=78146</id>
		<title>Installing Moodle</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Installing_Moodle&amp;diff=78146"/>
		<updated>2010-11-24T09:14:24Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Installing Moodle}}&lt;br /&gt;
&#039;&#039;&#039;First, don&#039;t panic!&#039;&#039;&#039; [[Image:F1 35px.png]]&lt;br /&gt;
&lt;br /&gt;
This guide explains how to install Moodle for the first time. There are links to other pages that go into more detail and try to cover the majority of possible web server setups. &lt;br /&gt;
&lt;br /&gt;
Second, you may want to consider reviewing [[Finding and Selecting A Web Host]] to consider whether you really want to install Moodle yourself. If you decide to move forward with an installation, please read all the installation documentation carefully.&lt;br /&gt;
&lt;br /&gt;
Third, if you still have a problem for which you can&#039;t find the answer, please see the Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] where there are many people who can help you.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
Moodle is primarily developed in Linux using [[Apache]], [[MySQL]] and [[PHP]] (also sometimes known as the LAMP platform).  It is also regularly tested with Windows XP/2000/2003 (WAMP), Solaris 10 (Sparc and x64), Mac OS X and Netware 6 operating systems. Support for PostgreSQL, Oracle and Microsoft SQL Server is also available.&lt;br /&gt;
&lt;br /&gt;
The requirements for Moodle are as follows:&lt;br /&gt;
&lt;br /&gt;
=== Hardware === &lt;br /&gt;
* Disk space: 160MB free (min). You will require more free space to store your teaching materials.&lt;br /&gt;
* Memory: 256MB (min), 1GB (recommended). The general rule of thumb is that Moodle can support 50 &#039;&#039;concurrent&#039;&#039; users for every 1GB of RAM, but this will vary depending on your specific hardware and software combination. &lt;br /&gt;
** This includes hosting limits of PHP  or MySQL on a hosting service.&lt;br /&gt;
** The capacity can limit the number of users your Moodle site can handle. See [[User site capacities]]&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
Moodle requires a web server environment and will run in [[Apache]] and [[IIS]] easily. Moodle should run in any server environment that supports [[PHP]]. &lt;br /&gt;
&lt;br /&gt;
Moodle is written in the PHP scripting language. Currently, Moodle v 1.9.x requires a minimum of PHP v4.3.0 to run. Moodle 2.0 needs PHP v 5.2.8. There have been some issues with deprecated tags in PHP v 5.3.0 which have a negative impact on a number of PHP Apps, Moodle not exempted, so please ensure your PHP version is later than v 5.3.2 if using a v5.3.x. There has also been reported some issues installing Moodle with [http://www.php-accelerator.co.uk PHP-Accelerator]. See the PHP Moodle version requirements here [[PHP settings by Moodle version]] for more information.&lt;br /&gt;
&lt;br /&gt;
Moodle will use MySQL, MSSQL, PostGres or Oracle as a database, but no others. There is some real issues in the interoperability interface of different databases, which complicates the whole issue. For version information, you can go to the [http://download.moodle.org/ Download page] and that will describe version requirements for available packages.  &lt;br /&gt;
  &lt;br /&gt;
If you want to run Moodle on your own computer, please see [[Installing Apache, MySQL and PHP]] for step-by-step instructions for installation on most popular platforms.&lt;br /&gt;
&lt;br /&gt;
== Download and copy files into place ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to get Moodle, either as a compressed package from http://download.moodle.org/ or via [[CVS for Administrators|CVS]]. &lt;br /&gt;
&lt;br /&gt;
After downloading and unpacking the archive, or checking out the files via CVS, you will be left with a directory called &amp;quot;moodle&amp;quot;, containing a number of files and folders. &lt;br /&gt;
&lt;br /&gt;
For the standard package, you can either place the whole folder in your web server documents directory, in which case the site will be located at &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://yourwebserver.com/moodle&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;, or you can copy all the contents straight into the main web server documents directory, in which case the site will be simply &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://yourwebserver.com&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; If you are downloading Moodle to your local computer and then uploading it to your web site, it is usually better to upload the whole archive as one file, and then do the unpacking on the server. Even web hosting interfaces like cPanel allow you to uncompress archives in the &amp;quot;File Manager&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re interested, [[Moodle site moodle directory]] gives a quick summary of the contents of the Moodle folder, to help get you oriented.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;NOTE:&#039;&#039; The &amp;quot;connectionless&amp;quot; nature of the Internet, HTML and server-side file generation allows you to simply copy over critical files without having to uninstall then reinstall. When you do this, go to the Administration &amp;gt; Notifications page to see if any change has been properly registered within Moodle. Time your upgrades to periods of minimal activity, safer that way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting-up your web server ==&lt;br /&gt;
You need to create a blank &#039;&#039;&#039;database&#039;&#039;&#039; for Moodle to use and finally create a &#039;&#039;&#039;directory&#039;&#039;&#039; on your hard disk for Moodle to save your materials and other files you upload into your courses before you can start the installation process.&lt;br /&gt;
&lt;br /&gt;
=== Create empty database ===&lt;br /&gt;
&lt;br /&gt;
You need to create an empty database (eg &amp;quot;&#039;&#039;moodle&#039;&#039;&amp;quot;) in your database system along with a special user (for example &amp;quot;moodleuser&amp;quot;) that has access to that database (and that database only). You could use the &amp;quot;root&amp;quot; user if you wanted to for a test server, but this is not recommended for a production system: if hackers manage to discover the password then your whole database system would be at risk, rather than just one database.&lt;br /&gt;
&lt;br /&gt;
For more help with this see [[Create Moodle site database]].&lt;br /&gt;
&lt;br /&gt;
If you are using a webhost, they will probably have a control panel web interface for you to create your database.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;[http://www.cpanel.com/ cPanel]&#039;&#039;&#039; system is one of the most popular of these. &lt;br /&gt;
To create a database using cPanel:&lt;br /&gt;
&lt;br /&gt;
# Click on the &#039;&#039;&#039;MySQL Databases&#039;&#039;&#039; icon.&lt;br /&gt;
# Type &#039;&#039;&#039;moodle&#039;&#039;&#039; in the New Database field and click &#039;&#039;&#039;Create Database&#039;&#039;&#039;.&lt;br /&gt;
# Type a &#039;&#039;username&#039;&#039; and &#039;&#039;password&#039;&#039; (not one you use elsewhere) in the respective fields and click &#039;&#039;&#039;Create  User&#039;&#039;&#039;.&amp;lt;br&amp;gt;Note that the &#039;&#039;username&#039;&#039; and &#039;&#039;database&#039;&#039; names may be prefixed by your cPanel account name and an underscore, and truncated to 16 characters. When entering this information into the Moodle installer - use the full names.&lt;br /&gt;
# Now use the &#039;&#039;&#039;Add Users to Databases&#039;&#039;&#039; button and give this new user account &#039;&#039;&#039;ALL&#039;&#039;&#039; rights to the new database.&lt;br /&gt;
&lt;br /&gt;
=== Create the data directory  ===&lt;br /&gt;
&lt;br /&gt;
Moodle will also need some space on your server&#039;s hard disk to store uploaded files, such as course documents and user pictures. The Moodle installer tries hard to create the &#039;&#039;&#039;moodledata&#039;&#039;&#039; directory for you but if it fails then you will have to create a directory for this purpose manually.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=background-color:lightCyan border=1 cellpadding=5 cellspacing=0 &amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Security warning&#039;&#039;&#039;: For security purposes, it is &#039;&#039;&#039;CRITICAL&#039;&#039;&#039; that this directory is &#039;&#039;&#039;NOT&#039;&#039;&#039; accessible directly via the web. The easiest way to do this is to simply locate it OUTSIDE the web site root directory (it is the folder that the main part of your URL -that is, the part up to the first single / - points to; for example, in &amp;lt;nowiki&amp;gt;http://your.domain.com/moodle/admin/cron.php&amp;lt;/nowiki&amp;gt;, it is &amp;lt;nowiki&amp;gt;http://your.domain.com/&amp;lt;/nowiki&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you don&#039;t protect the data directory from direct web access, anybody will be able to impersonate any user of your Moodle site (including the admin user!!!), and all of your course materials will be available to the web at large.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Creating Moodle site data directory]] for more information about security in creating a data directory in CPanel in webhosts.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you run into problems when installing Moodle you might have to tweak some of the settings for your Apache server or your PHP installation.&lt;br /&gt;
&lt;br /&gt;
* [[Installing Moodle/httpd.conf setup]]&lt;br /&gt;
* [[Installing Moodle/Creating custom php.ini files]] for details.&lt;br /&gt;
* &#039;&#039;&#039;Alternative to &#039;&#039;php.ini&#039;&#039; and &#039;&#039;httpd.conf&#039;&#039; files&#039;&#039;&#039;: If you do not have access to your php.ini or httpd.conf files on you web host, see [[Create .htaccess file]].&lt;br /&gt;
* Warning: as noted at http://moodle.org/mod/forum/discuss.php?d=124441&amp;amp;parent=550026 some Moodle installers such as Ubuntu populate an Apache conf.d file with php directives.  Before trying to change any php directives make sure that no php directives are set in any apache conf file,  including files in /etc/apache2/conf.d or similar directory.&lt;br /&gt;
&lt;br /&gt;
== Start Moodle install ==&lt;br /&gt;
There are two basic ways to install Moodle:  Most Moodlers are used to the installer script but with Moodle 2.0 you may install it from the command line.&lt;br /&gt;
&lt;br /&gt;
=== Install with installer script ===&lt;br /&gt;
&lt;br /&gt;
To run the installer script (install.php), just try to access your Moodle main URL using a web browser, or access &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://yourserver/install.php&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; directly.&lt;br /&gt;
&lt;br /&gt;
(The Installer will try to set a session cookie. If you get a popup warning in your browser make sure you accept that cookie!)&lt;br /&gt;
&lt;br /&gt;
Moodle will detect that configuration is necessary and will lead you through some screens to help you create a new configuration file called &#039;&#039;&#039;config.php&#039;&#039;&#039;. At the end of the process Moodle will try and write the file into the right location, otherwise you can press a button to download it from the installer and then upload &#039;&#039;&#039;config.php&#039;&#039;&#039; into the main Moodle directory on the server.&lt;br /&gt;
&lt;br /&gt;
Along the way the installer will test your server environment and give you suggestions about how to fix any problems. For most common issues these suggestions should be sufficient, but if you get stuck, check in the Installation Forum for more help.&lt;br /&gt;
&lt;br /&gt;
==== Go to the admin page to continue configuration ====&lt;br /&gt;
&lt;br /&gt;
Once the basic config.php has been correctly created in the previous step, trying to access the front page of your site will take you to the &amp;quot;admin&amp;quot; page for the rest of the configuration.&lt;br /&gt;
&lt;br /&gt;
The first time you access this admin page, you will be presented with a GPL &amp;quot;shrink wrap&amp;quot; agreement with which you must agree before you can continue with the setup.&lt;br /&gt;
&lt;br /&gt;
Now Moodle will start setting up your database and creating tables to store data. First, the main database tables are created. You should see a number of SQL statements followed by status messages.  You should see  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;SUCCESS&amp;lt;/font&amp;gt; next to each one until you see &amp;quot;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;Main databases set up successfully&amp;lt;/font&amp;gt;.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; If you don&#039;t see these, then there must have been some problem with the database or the configuration settings you defined in config.php. Please see [[Install Moodle with installer script]] for more details and issues. &lt;br /&gt;
&lt;br /&gt;
Scroll down the very bottom of the page and press the &amp;quot;Continue&amp;quot; link.&lt;br /&gt;
&lt;br /&gt;
You should now see a form where you can define more configuration variables for your installation, such as the default language, SMTP hosts and so on. Don&#039;t worry too much about getting everything right just now - you can always come back and edit these later on using the admin interface. The defaults are designed to be useful and secure for most sites. Scroll down to the bottom and click &amp;quot;Save changes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Next you will see more pages that print lots of status messages as they set up all the tables required by the various Moodle module. As before, they should all be &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;green&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Scroll down the very bottom of the page and press the &amp;quot;Continue&amp;quot; link.&lt;br /&gt;
&lt;br /&gt;
The next page is a form where you can define parameters for your Moodle site and the front page, such as the name, format, description and so on. Fill this out (you can always come back and change these later) and then press &amp;quot;Save changes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, you will then be asked to create a top-level administration user for future access to the admin pages. Fill out the details with your own name, email etc and then click &amp;quot;Save changes&amp;quot;. Not all the fields are required, but if you miss any important fields you&#039;ll be re-prompted for them. You can change this information later via the [[User profile]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Make sure you remember the username and password you chose for the administration user account, as they will be necessary to access the administration page in future.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If for any reason your install is interrupted, or there is a system error of some kind that prevents you from logging in using the admin account, you can usually log in using the default username of &amp;quot;&#039;&#039;&#039;admin&#039;&#039;&#039;&amp;quot;, with password &amp;quot;&#039;&#039;&#039;admin&#039;&#039;&#039;&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
Once successful, you will be sent to the home page of your new site! Please note the [[Site administration block]] on the left with links. These items are only visible to you because you are logged in as the admin user. All your further administration of Moodle can now be done using this block.&lt;br /&gt;
&lt;br /&gt;
=== Installing Moodle using command line ===&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
[[Installing Moodle using command line]] is recommended only for experienced server administrators. Please note you have to execute the installation script as the same user used for apache. Command line installation is not compatible with Windows platforms.&lt;br /&gt;
&lt;br /&gt;
 $cd /var/www/html/moodle/admin/cli&lt;br /&gt;
&lt;br /&gt;
More information about the options can be found using &lt;br /&gt;
 $sudo -u wwwrun /usr/bin/php install.php --help&lt;br /&gt;
&lt;br /&gt;
==Last tasks==&lt;br /&gt;
&lt;br /&gt;
=== Set up cron ===&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s background tasks (e.g. sending out forum emails and performing course backups) are performed by a script which you can set to execute at specific times of the day. This is known as a cron script. Please refer to the [[Cron|Cron instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Set up backups ===&lt;br /&gt;
&lt;br /&gt;
Please refer to the [[Backup settings| backup instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Send a test email ===&lt;br /&gt;
&lt;br /&gt;
Create a [[Manual_accounts|test user]] with a valid email address and [[message|send them a message]]. Do they receive an email copy of the message? If not then your email server and/or Moodle email settings may be misconfigured (see [[Email_processing|Email Processing]] for details.&lt;br /&gt;
&lt;br /&gt;
===Create a new course===&lt;br /&gt;
&lt;br /&gt;
Congratulations on setting up your Moodle site! You can now [[Adding/editing a course|create a new course]] and have a play ;-)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Complete install packages]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum]&lt;br /&gt;
* [[Installing Apache, MySQL and PHP]]&lt;br /&gt;
* [[Upgrading Moodle]]&lt;br /&gt;
* [[Beginning Administration FAQ]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=42688 Selecting a web host for Moodle] forum discussion&lt;br /&gt;
* [[masquerading|Masquerading]] - Running Moodle behind a masquerading/NAT firewall&lt;br /&gt;
* [http://ic.eflclasses.org/tutorials/settingupmoodleonhostingwitholdcpanel.swf Tutorial on choosing a host and setting up moodle via the old cpanel]&lt;br /&gt;
* [[Installation FAQ]]&lt;br /&gt;
* [[Finding and Selecting A Web Host]]&lt;br /&gt;
* [[experimental:Getting Help Installing and Managing Moodle]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client]]&lt;br /&gt;
* [[Installing Moodle on Windows Vista]]&lt;br /&gt;
* [[Step-by-step Installation Guide for Ubuntu]]&lt;br /&gt;
* [[RedHat Linux installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Instalaci%C3%B3n_de_moodle]]&lt;br /&gt;
[[de:Installation von Moodle]]&lt;br /&gt;
[[fr:Installation de Moodle]]&lt;br /&gt;
[[ja:Moodleのインストール]]&lt;br /&gt;
{{Review}}&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=ad-hoc_contributed_reports&amp;diff=78082</id>
		<title>ad-hoc contributed reports</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=ad-hoc_contributed_reports&amp;diff=78082"/>
		<updated>2010-11-23T15:35:59Z</updated>

		<summary type="html">&lt;p&gt;Fox: Typos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are community contributed reports for the [[Custom_SQL_queries_report]] site-wide report plugin (module) &amp;lt;br/&amp;gt;&lt;br /&gt;
Everyone is welcome to add their own. until we find a better way to exchange reports between us.&amp;lt;br/&amp;gt;&lt;br /&gt;
Enjoy :-)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Detailed ACTIONs for each MODULE===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT module,action,count(id) as counter&lt;br /&gt;
FROM prefix_log&lt;br /&gt;
GROUP BY module,action&lt;br /&gt;
ORDER BY module,counter desc&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Detailed ACTIONs for each ROLE (TEACHER,NONE-EDITING TEACHER and STUDENT)===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT r.name,l.action, count( l.userid ) as counter&lt;br /&gt;
FROM `prefix_log` as l&lt;br /&gt;
JOIN `prefix_role_assignments` AS ra on l.userid = ra.userid&lt;br /&gt;
JOIN prefix_role AS r ON ra.roleid = r.id&lt;br /&gt;
WHERE ra.roleid IN (3,4,5)&lt;br /&gt;
GROUP BY roleid,l.action&lt;br /&gt;
ORDER BY counter desc&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Detailed &amp;quot;VIEW&amp;quot; ACTION for each ROLE (TEACHER,NONE-EDITING TEACHER and STUDENT)===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT l.action, count( l.userid ) as counter , r.name&lt;br /&gt;
FROM `prefix_log` as l&lt;br /&gt;
JOIN `prefix_role_assignments` AS ra on l.userid = ra.userid&lt;br /&gt;
JOIN `prefix_role` AS r ON ra.roleid = r.id&lt;br /&gt;
WHERE (ra.roleid IN (3,4,5)) AND (l.action LIKE &#039;%view%&#039; )&lt;br /&gt;
GROUP BY roleid,l.action&lt;br /&gt;
order by r.name,counter desc&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Most Active courses===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT COUNT(l.id) hits, l.course courseId, c.fullname coursename&lt;br /&gt;
FROM prefix_log l INNER JOIN prefix_course c ON l.course = c.id&lt;br /&gt;
GROUP BY courseId&lt;br /&gt;
ORDER BY hits DESC&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===RESOURCE count for each COURSE===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT COUNT(l.id) count, l.course, c.fullname coursename&lt;br /&gt;
FROM prefix_resource l INNER JOIN prefix_course c on l.course = c.id&lt;br /&gt;
GROUP BY course&lt;br /&gt;
ORDER BY count DESC&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Most popular ACTIVITY===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT COUNT(l.id) hits, module&lt;br /&gt;
FROM prefix_log l&lt;br /&gt;
WHERE module != &#039;login&#039; AND module != &#039;course&#039; AND module != &#039;role&#039;&lt;br /&gt;
GROUP BY module&lt;br /&gt;
ORDER BY hits DESC&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===System wide use of ACTIVITIES and RESOURCES===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT count( cm.id ) AS counter, m.name&lt;br /&gt;
FROM `prefix_course_modules` AS cm&lt;br /&gt;
JOIN prefix_modules AS m ON cm.module = m.id&lt;br /&gt;
GROUP BY cm.module&lt;br /&gt;
ORDER BY counter DESC&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===LOG file ACTIONS per MODULE per COURSE (IDs)===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
select course,module,action,count(action) as summa from prefix_log&lt;br /&gt;
where action &amp;lt;&amp;gt; &#039;new&#039;&lt;br /&gt;
group by course,action,module&lt;br /&gt;
order by course,module,action&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&amp;quot;Compose Web Page&amp;quot; RESOURCE count===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT course,prefix_course.fullname, COUNT(*) AS Total&lt;br /&gt;
FROM `prefix_resource`&lt;br /&gt;
JOIN `prefix_course` ON prefix_course.id = prefix_resource.course&lt;br /&gt;
WHERE type=&#039;html&#039;&lt;br /&gt;
GROUP BY course&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Total Activity of Roles:&amp;quot;Teacher&amp;quot; and &amp;quot;None-Editing Teacher&amp;quot; by Dates and by Hours===&lt;br /&gt;
The output columns of this report table can be used as base for a Pivot-Table&lt;br /&gt;
which will show the amount of &#039;&#039;&#039;activity&#039;&#039;&#039; per &#039;&#039;&#039;hour&#039;&#039;&#039; per &#039;&#039;&#039;days&#039;&#039;&#039; in 3D graph view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT DATE_FORMAT( FROM_UNIXTIME( l.time ) , &#039;%Y/%m/%d&#039; ) AS grptimed ,&lt;br /&gt;
DATE_FORMAT( FROM_UNIXTIME( l.time ) , &#039;%k&#039; ) AS grptimeh  , count( l.userid ) AS counter &lt;br /&gt;
FROM `prefix_log` AS l&lt;br /&gt;
JOIN prefix_user AS u ON u.id = l.userid&lt;br /&gt;
JOIN prefix_role_assignments AS ra ON l.userid = ra.userid&lt;br /&gt;
JOIN prefix_role AS r ON r.id = ra.roleid&lt;br /&gt;
WHERE ra.roleid IN (3,4)&lt;br /&gt;
GROUP BY grptimed,grptimeh&lt;br /&gt;
ORDER BY grptimed,grptimeh&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===FORUM use Count per COURSE -- not including NEWS Forum!===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT prefix_course.fullname, prefix_forum.course, count(*) as total FROM prefix_forum&lt;br /&gt;
INNER JOIN prefix_course&lt;br /&gt;
ON prefix_course.id = prefix_forum.course&lt;br /&gt;
WHERE NOT(prefix_forum.type = &#039;news&#039;)&lt;br /&gt;
GROUP BY prefix_forum.course&lt;br /&gt;
ORDER BY total desc&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===FORUM use Count per COURSE by type -- not including NEWS Forum!===&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT prefix_course.fullname, prefix_forum.course, prefix_forum.type, count(*) as total FROM prefix_forum&lt;br /&gt;
INNER JOIN prefix_course&lt;br /&gt;
ON prefix_course.id = prefix_forum.course&lt;br /&gt;
WHERE NOT(prefix_forum.type = &#039;news&#039;)&lt;br /&gt;
GROUP BY prefix_forum.course,prefix_forum.type&lt;br /&gt;
ORDER BY total desc&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===LIST of all site USERS by COURSE enrolment===&lt;br /&gt;
Reports a site global list of all users enroled in each course&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT&lt;br /&gt;
user.firstname AS Firstname,&lt;br /&gt;
user.lastname AS Lastname,&lt;br /&gt;
user.email AS Email,&lt;br /&gt;
user.city AS City,&lt;br /&gt;
course.fullname AS Course&lt;br /&gt;
FROM&lt;br /&gt;
prefix_user AS user,&lt;br /&gt;
prefix_course AS course,&lt;br /&gt;
prefix_role_assignments AS asg&lt;br /&gt;
INNER JOIN prefix_context AS context ON asg.contextid=context.id   &lt;br /&gt;
WHERE&lt;br /&gt;
context.contextlevel = 50&lt;br /&gt;
AND&lt;br /&gt;
user.id=asg.userid&lt;br /&gt;
AND&lt;br /&gt;
context.instanceid=course.id&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Permissions Overides on Categories===&lt;br /&gt;
(By: [http://moodle.org/mod/forum/discuss.php?d=153059#p712834 Séverin Terrier] )&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT rc.id, ct.instanceid, ccat.name, rc.roleid, rc.capability, rc.permission, &lt;br /&gt;
DATE_FORMAT( FROM_UNIXTIME( rc.timemodified ) , &#039;%Y-%m-%d&#039; ) AS timemodified, rc.modifierid, ct.instanceid, ct.path, ct.depth&lt;br /&gt;
FROM `prefix_role_capabilities` AS rc&lt;br /&gt;
INNER JOIN `prefix_context` AS ct ON rc.contextid = ct.id&lt;br /&gt;
INNER JOIN `prefix_course_categories` AS ccat ON ccat.id = ct.instanceid&lt;br /&gt;
AND `contextlevel` =40&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Lists &amp;quot;Totally Opened Courses&amp;quot; (visible, opened to guests, with no password)===&lt;br /&gt;
(By: [http://moodle.org/mod/forum/discuss.php?d=153059#p712837 Séverin Terrier] )&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT id , category , fullname , shortname , enrollable&lt;br /&gt;
FROM `prefix_course`&lt;br /&gt;
WHERE `guest` =1&lt;br /&gt;
AND `password` = &amp;quot;&amp;quot;&lt;br /&gt;
AND `visible` =1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=admin/innodb&amp;diff=78044</id>
		<title>admin/innodb</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=admin/innodb&amp;diff=78044"/>
		<updated>2010-11-22T14:48:55Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link - This page is a stub&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
==Convert all MySQL tables from MYISAM to InnoDB==&lt;br /&gt;
&lt;br /&gt;
This page really needs to cover all the variables to help a decision to convert your MySQL tables to InnoDB (instead of the default MyISAM).&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=117913 New moodle.org (forum discussion)]&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/innodb]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Converting_your_MySQL_database_to_UTF8&amp;diff=77930</id>
		<title>Converting your MySQL database to UTF8</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Converting_your_MySQL_database_to_UTF8&amp;diff=77930"/>
		<updated>2010-11-19T10:41:58Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document looks at how to convert your MySQL database from the latin1 charset to UTF8. Moodle requires that your Database is now UTF8 and will not upgrade if your database is not, following the steps below will guide you in converting your database so that things once again work.&lt;br /&gt;
&lt;br /&gt;
==Why?==&lt;br /&gt;
&lt;br /&gt;
You may see the following error when upgrading your Moodle.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;It is required that you store all your data in Unicode format (UTF-8). New installations must be performed into databases that have their default character set as Unicode. If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Moodle requires UTF8 in order to provide better multilingual support and has done since Moodle 1.8. However the UTF8 check during install and upgrade has only been implemented recently and there are likely going to many users who find they are unable to upgrade because they did no set their database up correctly when they first installed Moodle, or for those who have been running Moodle from before 1.8 because they simply havn&#039;t already converted their database.&lt;br /&gt;
&lt;br /&gt;
For more information about UTF8 have a look at the doc on [https://docs.moodle.org/en/Unicode unicode].&lt;br /&gt;
&lt;br /&gt;
==Linux &amp;amp; Mac==&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
mysqldump -uusername -ppassword -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B dbname &amp;gt; dump.sql&lt;br /&gt;
cp dump.sql dump-fixed.sql&lt;br /&gt;
vim dump-fixed.sql&lt;br /&gt;
:%s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/&lt;br /&gt;
:%s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/&lt;br /&gt;
:wq&lt;br /&gt;
mysql -uusername -ppassword &amp;lt; dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or alternatively using sed:&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
#  $1-dbusername $2-password $3-dbname&lt;br /&gt;
mysqldump -u$1 -p$2 -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B $3 &amp;gt; dump.sql&lt;br /&gt;
sed &#039;s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/&#039; &amp;lt;dump.sql | sed &#039;s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/&#039; &amp;gt;dump-fixed.sql&lt;br /&gt;
mysql -u$1 -p$2 &amp;lt; dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Explained===&lt;br /&gt;
The following steps will guide you in creating a database dumb, editing the database dump so that the correct charset and collation are used and then restoring the new database.&lt;br /&gt;
&lt;br /&gt;
To start please open a new terminal and move to a temp directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
mysqldump -uusername -ppassword -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B dbname &amp;gt; dump.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step is of course to dump out the database and of course we will use mysqldump for this. We do however need to set several arguments in order to clean up the charsets and provide a dump that is not going to cause you any problems if you are moving this database to a different database server or find yourself having to restore on a reverted system.&lt;br /&gt;
&lt;br /&gt;
; username : The username to access your database.&lt;br /&gt;
; password : The password for the above user.&lt;br /&gt;
; -c : Complete inserts for better compatibility.&lt;br /&gt;
; -e : Extended inserts for better performance.&lt;br /&gt;
; --default-character-set=utf8 : To set the default character set.&lt;br /&gt;
; --single-transaction : To reduce our workload if anything goes wrong.&lt;br /&gt;
; --skip-set-charset : Obviously not wanted or needed as we are changing it anyway.&lt;br /&gt;
; --add-drop-database : Required so we can restore over the top of our existing database.&lt;br /&gt;
; -B : We use this option so that our dump will contain drop table and create table syntax (which we will change the syntax for).&lt;br /&gt;
; dbname : The name of the database to convert.&lt;br /&gt;
&lt;br /&gt;
When you run this command a database dump will be generated into &#039;&#039;&#039;dump.sql&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
cp dump.sql dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Next step is to copy dump.sql to dump-fixed.sql.&lt;br /&gt;
&lt;br /&gt;
We will make the desired changes within dump-fixed.sql and we will keep dump.sql as it is as a backup just in case.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
vim dump-fixed.sql&lt;br /&gt;
:%s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/&lt;br /&gt;
:%s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/&lt;br /&gt;
:wq&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now we need to edit the dump and correct the incorrect charsets that have been used. I have chosen to do this with VIM however you can use any search+replace editor or program. ( I choose VIM for this only because every linux user is/should be familiar with it).&lt;br /&gt;
&lt;br /&gt;
First we open the file using VIM, and then run the three commands.&lt;br /&gt;
&lt;br /&gt;
The first command replaces all instances of &#039;&#039;DEFAULT CHARACTER SET latin1&#039;&#039; with &#039;&#039;DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci&#039;&#039;. This is used to fix up the database&#039;s default charset and collation.&lt;br /&gt;
&lt;br /&gt;
The second command replaces all instances of &#039;&#039;DEFAULT CHARSET=latin1&#039;&#039; with &#039;&#039;DEFAULT CHARSET=utf8&#039;&#039;. This converts all tables from using latin1 to using UTF8.&lt;br /&gt;
&lt;br /&gt;
The third command simply saves it and exits.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
mysql -uusername -ppassword &amp;lt; dump-fixed.sql&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now that we&#039;ve made the required changes we simply need to restore the database over top of the existing database. We can do this by running the above command.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
Could someone who is familiar with Windows please convert the above into something that will work on Windows?&lt;br /&gt;
There are likely several additional arguments for mysqldump you will need to specify including setting the file for output using -r to avoid newline issues.&lt;br /&gt;
&lt;br /&gt;
==More information==&lt;br /&gt;
* [https://docs.moodle.org/en/Unicode Moodle docs: Unicode]&lt;br /&gt;
&lt;br /&gt;
[[Category:UTF-8]]&lt;br /&gt;
[[Category:DB]]&lt;br /&gt;
[[Category:SQL_databases]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Convertir votre base MySQL en UTF-8]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Print_style&amp;diff=77918</id>
		<title>Print style</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Print_style&amp;diff=77918"/>
		<updated>2010-11-18T15:36:34Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Why print styles? ==&lt;br /&gt;
&lt;br /&gt;
Sometimes you might want to print a page but without some of its elements, e.g. the navigation bar or the footer. &lt;br /&gt;
&lt;br /&gt;
Here&#039;s an example of a Database Activity entry.&lt;br /&gt;
&lt;br /&gt;
== Screen display ==&lt;br /&gt;
&lt;br /&gt;
That&#039;s how the entry looks in the browser:&lt;br /&gt;
&lt;br /&gt;
[[Image:Database activity entry browser view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating a print CSS ==&lt;br /&gt;
&lt;br /&gt;
The trick for creating print styles is using CSS&#039;s [http://reference.sitepoint.com/css/at-media @media rule]. That way the CSS will only be applied to the specified medium, &amp;quot;print&amp;quot; in our case.&lt;br /&gt;
&lt;br /&gt;
Put the following CSS in a file called &#039;&#039;printstyles.css&#039;&#039; in your theme folder and add the style to your theme by modifying the theme&#039;s &#039;&#039;&#039;config.php&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$THEME-&amp;gt;sheets = array(&#039;styles_layout&#039;, &#039;styles_fonts&#039;, &#039;styles_color&#039;, &#039;printstyles&#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== printstyles.css ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
/* Print styles for Moodle database activity */&lt;br /&gt;
&lt;br /&gt;
@media print {&lt;br /&gt;
	&lt;br /&gt;
  html, body {&lt;br /&gt;
    margin: 0;&lt;br /&gt;
    padding: 0;&lt;br /&gt;
    width: 100%;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  body {&lt;br /&gt;
    background-color: White;&lt;br /&gt;
    color: Black;&lt;br /&gt;
    font-size: 75%;&lt;br /&gt;
  }&lt;br /&gt;
 &lt;br /&gt;
  div.tabtree, div#header, div.navbar, &lt;br /&gt;
  div.headermenu, div.paging, div#footer, &lt;br /&gt;
  div.datapreferences {&lt;br /&gt;
    display: none;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  table {&lt;br /&gt;
    text-align: left;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use any CSS you like. These are only some examples:  &lt;br /&gt;
* We unset the page margins and padding to use as much space on the printed page as possible.&lt;br /&gt;
* We hide those parts of the page we don&#039;t want get printed by using &amp;quot;display: none;&amp;quot;. &lt;br /&gt;
* We set the color scheme to black &amp;amp; white.&lt;br /&gt;
* We decrease the font-size.&lt;br /&gt;
* We change the text-alignment for easier reading.&lt;br /&gt;
&lt;br /&gt;
== The result ==&lt;br /&gt;
&lt;br /&gt;
And here&#039;s the print preview of the same database entry:&lt;br /&gt;
&lt;br /&gt;
[[Image:Database entry print preview 75.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Further resources ==&lt;br /&gt;
You will find more detailed instructions in the following articles by CSS guru Eric Meyer:&lt;br /&gt;
* [http://meyerweb.com/eric/articles/webrev/200001.html &amp;quot;Print Different&amp;quot;] - that&#039;s what you see in the screenshots above&lt;br /&gt;
* [http://www.alistapart.com/articles/goingtoprint/ &amp;quot;CSS Design: Going to Print&amp;quot;]&lt;br /&gt;
* His book also contains a whole chapter on [http://www.ericmeyeroncss.com/projects/06/ &amp;quot;Styling for Print&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
== Useful tools ==&lt;br /&gt;
* [[Firebug]] - for live analyzing and testing of CSS settings&lt;br /&gt;
* [[Stylish]] - for permanently applying your own CSS to any webpage - or if you don&#039;t want to or can&#039;t change any CSS files on your server&lt;br /&gt;
** [https://addons.mozilla.org/en-US/firefox/addon/12105/ Stylish-Custom] - an enhancement for Stylish with lots of useful features - highly recommended!&lt;br /&gt;
&lt;br /&gt;
== See also: ==&lt;br /&gt;
; Moodle Docs&lt;br /&gt;
* [[CSS FAQ]]&lt;br /&gt;
* [[Themes FAQ]]&lt;br /&gt;
&lt;br /&gt;
; Forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=127754 More print styles using media=&amp;quot;print&amp;quot;]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=130118 Printer Friendly Reports]&lt;br /&gt;
&lt;br /&gt;
; General information&lt;br /&gt;
* [http://www.sitepoint.com/newsletter/viewissue.php?id=3&amp;amp;issue=278#7 &amp;quot;!important is Actually Useful (in Print Style Sheets)&amp;quot;] - SitePoint Tech Times article&lt;br /&gt;
* [http://line25.com/tutorials/handy-tips-for-creating-a-print-css-stylesheet &amp;quot;Handy Tips for Creating a Print CSS Stylesheet&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
[[fr:Style impression]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Moodle_2.0_release_notes&amp;diff=77809</id>
		<title>Moodle 2.0 release notes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Moodle_2.0_release_notes&amp;diff=77809"/>
		<updated>2010-11-16T13:44:35Z</updated>

		<summary type="html">&lt;p&gt;Fox: Moodle 2.0 not &amp;#039;early&amp;#039; november&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Work_in_progress}}&lt;br /&gt;
&lt;br /&gt;
Expected final release date: &#039;&#039;&#039;November, 2010&#039;&#039;&#039; (if testing goes well)&lt;br /&gt;
&lt;br /&gt;
Interim releases for testing:&lt;br /&gt;
&lt;br /&gt;
* [[Moodle 2.0 Preview 1 release notes]] - May 4, 2010&lt;br /&gt;
* [[Moodle 2.0 Preview 2 release notes]] - May 17, 2010&lt;br /&gt;
* [[Moodle 2.0 Preview 3 release notes]] - May 31, 2010&lt;br /&gt;
* [[Moodle 2.0 Preview 4 release notes]] - June 30, 2010&lt;br /&gt;
* [[Moodle 2.0 Release Candidate 1 release notes]] - September 21, 2010&lt;br /&gt;
* Moodle 2.0 Release Candidate 2 - November 12, 2010&lt;br /&gt;
&lt;br /&gt;
Moodle 2.0 contains a lot of large new features, some completely rewritten features, and hundreds of bug fixes.  For full details (more than you probably want!), see [http://tracker.moodle.org/browse/MDL/fixforversion/10122 the full list of fixed issues in 2.0].&lt;br /&gt;
&lt;br /&gt;
This page is a summary of the major things to look for (links and screenshots will be added over time).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Major new features==&lt;br /&gt;
&lt;br /&gt;
===[[Community hub|Community hubs]]===&lt;br /&gt;
&lt;br /&gt;
* Anybody can set up a Community hub, which is a directory of courses for public use or for private communities.  The code is implemented as separate GPL plugin for Moodle.&lt;br /&gt;
* Sites can register to any Community hub (instead of just moodle.org)&lt;br /&gt;
* Teachers on registered sites can publish their full courses to Community hubs, for download&lt;br /&gt;
* Teachers on registered sites can also advertise their courses on Community hubs, for people to join&lt;br /&gt;
* Teachers on any site can search all public Community hubs and download courses as templates for their own courses&lt;br /&gt;
* Users on any Moodle site can also search Community hubs for courses (and communities of practice) to participate in.  Initially we are encouraging &#039;&#039;&#039;&#039;communities of teaching practice&#039;&#039;&#039;&#039; but any sort of course can be listed.&lt;br /&gt;
&lt;br /&gt;
===[[Repositories|Repository support]]===&lt;br /&gt;
&lt;br /&gt;
* Moodle now supports integration with external repositories of content, making it really simple to bring documents and media into Moodle via an AJAX interface that looks like a standard &#039;&#039;&#039;Open&#039;&#039;&#039; dialogue in desktop applications.&lt;br /&gt;
* Initial plugins in 2.0 include: Alfresco, Amazon S3, Box.net, File system on Server, Flickr, Google Docs, Mahara, MERLOT, Picasa, Recent Files, Remote Moodle sites, WebDAV servers, Wikimedia, Youtube.  These are simple to develop, so many more are expected.&lt;br /&gt;
* You can also import files from your desktop or by specifying a URL.&lt;br /&gt;
&lt;br /&gt;
===[[Portfolios|Portfolio support]]===&lt;br /&gt;
&lt;br /&gt;
* Modules can now export their data to external systems, particularly useful for portfolios where snapshots of forums, assignments and other things in Moodle are useful to record in a journal or a portfolio of evidence&lt;br /&gt;
* Different formats are supported (currently LEAP2A, HTML, Images and Text, but others like PDF can be added)&lt;br /&gt;
* Initial plugins in 2.0 include: Box.net, Flickr, Google Docs, &#039;&#039;&#039;Mahara&#039;&#039;&#039; and Picasa.&lt;br /&gt;
&lt;br /&gt;
===[[Completion]]===&lt;br /&gt;
&lt;br /&gt;
* Teachers can now specify conditions that define when any &#039;&#039;&#039;activity&#039;&#039;&#039; is seen as completed by a student.  For example, when a certain number of posts have been made, or a grade has been reached, or a choice has been made.  &lt;br /&gt;
* Teachers can now specify conditions that define with any &#039;&#039;&#039;course&#039;&#039;&#039; is seen as completed by a student.  Conditions include activity completion, but could also be by grade, date or a number of other criteria.&lt;br /&gt;
* Teachers and students can see reports that show the progress of any user within a course, or through a series of courses.&lt;br /&gt;
&lt;br /&gt;
===[[Conditional activities]]===&lt;br /&gt;
&lt;br /&gt;
* Access to activities can be restricted based on certain criteria, such as dates, grade obtained, or the completion of another activity.  &lt;br /&gt;
* These can be chained together to enable progressive disclosure of the course content, if that is desired. &lt;br /&gt;
&lt;br /&gt;
===[[Cohorts]]===&lt;br /&gt;
* Also known as &amp;quot;Site-wide groups&amp;quot;, these are site-wide collections of users that can be enrolled into courses in one action, either manually or synchronised automatically&lt;br /&gt;
&lt;br /&gt;
===[[Web Services|Web services support]]===&lt;br /&gt;
* Support for standards-based web services across the entire Moodle code base, allowing the admin to expose particular functions of Moodle for use by:&lt;br /&gt;
** Administrative systems such as HR or SIS applications&lt;br /&gt;
** Mobile clients&lt;br /&gt;
* Framework contains a very high-level of security with a detailed token system and complete control over the range of functions exposed&lt;br /&gt;
* All defined functions are automatically available via:&lt;br /&gt;
** XML-RPC&lt;br /&gt;
** AMF (Flash)&lt;br /&gt;
** REST&lt;br /&gt;
** SOAP (PHP)&lt;br /&gt;
&lt;br /&gt;
===[[IMS Common Cartridge import|IMS Common Cartridge]]===&lt;br /&gt;
* Moodle can now import courses in IMS Common Cartridge format (commonly used by publishers)&lt;br /&gt;
&lt;br /&gt;
===New blocks===&lt;br /&gt;
* [[Comments block]] - like a shoutbox, allows comments to be added to any page. Great for student feedback.&lt;br /&gt;
* [[My private files block]] - allows easy access to one&#039;s private file repository in Moodle (with quota support)&lt;br /&gt;
* [[Community block]] - keeps track of external courses one is interested in &lt;br /&gt;
* [[Course completion status block]] - reports on the completion status of your courses&lt;br /&gt;
&lt;br /&gt;
===[[Plagiarism Prevention|Plagiarism prevention]]===&lt;br /&gt;
&lt;br /&gt;
* Moodle supports integration with plagiarism prevention tools such as Turnitin&lt;br /&gt;
&lt;br /&gt;
==Major improvements to existing core features==&lt;br /&gt;
&lt;br /&gt;
===[[Backup 2.0|Backup and restore]]===&lt;br /&gt;
&lt;br /&gt;
* Completely rewritten Backup/Restore framework, no longer bound by memory (can work with &#039;&#039;&#039;any size course&#039;&#039;&#039;).&lt;br /&gt;
* Completely new backup format.&lt;br /&gt;
* Improved interface.&lt;br /&gt;
* Backup can be made of whole courses, but also specific sections or activities.&lt;br /&gt;
&lt;br /&gt;
===[[Blocks 2.0|Blocks]]===&lt;br /&gt;
* Blocks are now consistently implemented on every page in Moodle&lt;br /&gt;
* No longer any limit to the block regions (in addition to left and right, put them at the top, center or bottom of pages)&lt;br /&gt;
* Any block can be made sticky (appears in all the contexts below, eg throughout a course).&lt;br /&gt;
* Blocks can be &amp;quot;docked&amp;quot; on the side of the screen (if the theme supports it)&lt;br /&gt;
&lt;br /&gt;
===[[Blogs 2.0|Blogs]]===&lt;br /&gt;
* Support for comments on each blog entry&lt;br /&gt;
* Removal of group-level and course-level blogs (these are converted into forums on upgrade)&lt;br /&gt;
* Support for external blog feeds (synchronised to Moodle blog)&lt;br /&gt;
&lt;br /&gt;
===[[Comments 2.0|Comments]]===&lt;br /&gt;
* User comments (Glossaries, Databases, Blogs, etc) are now all consistently handled  and displayed throughout Moodle, using AJAX if available&lt;br /&gt;
* User activity reports will include all the comments made by that user&lt;br /&gt;
&lt;br /&gt;
===[[Enrolments 2.0|Enrolment plugins]]===&lt;br /&gt;
* Major improvements in the handling of guests and guest accounts &lt;br /&gt;
* Support for multiple forms of enrolment at the same time &lt;br /&gt;
* More detailed control over enrolment in courses &lt;br /&gt;
&lt;br /&gt;
===[[File handling 2.0|File handling]]===&lt;br /&gt;
&lt;br /&gt;
* Full support for Unicode file names on all operating systems.&lt;br /&gt;
* Metadata about each file (author, date, license, etc) and what the file is used for are stored in the database.&lt;br /&gt;
* Duplicate files (for example, a large video file use in two different courses) are only stored once, saving disk space.&lt;br /&gt;
* Files are no longer just &amp;quot;uploaded to the course&amp;quot;.  Files are connected to the particular bit of Moodle content that uses them. (For example, a file may belong to a file resource, a forum post or a wiki page). Access to these files is then controlled by the same rules as as that bit of Moodle, increasing security.&lt;br /&gt;
&lt;br /&gt;
===[[Filters 2.0]]===&lt;br /&gt;
&lt;br /&gt;
* In the past, you had to use the same filters everywhere in your Moodle site, and this could only be changed by admins.&lt;br /&gt;
* Now, you can have different filters in different courses, activities or categories.&lt;br /&gt;
* For example, you could turn on the LaTeX filter just for courses in the Maths and Physics categories.&lt;br /&gt;
* Or you could turn off glossary linking in the end of course exam.&lt;br /&gt;
&lt;br /&gt;
===[[HTML editor 2.0|HTML editor]]===&lt;br /&gt;
* New editor based on TinyMCE&lt;br /&gt;
* Works on more browsers&lt;br /&gt;
* Resizable editing area&lt;br /&gt;
* Cleaner XHTML output &lt;br /&gt;
* Full integration with configured external repositories to import and embed media into text&lt;br /&gt;
&lt;br /&gt;
===[[Messaging 2.0|Messaging]]===&lt;br /&gt;
* All email sent by Moodle is now treated as a message&lt;br /&gt;
* A message overview panel allows users to control how messages are sent to them&lt;br /&gt;
* Initial message output plugins in Moodle 2.0 include: Email, Jabber and Popups&lt;br /&gt;
&lt;br /&gt;
===[[My Moodle 2.0|My Moodle page]]===&lt;br /&gt;
* More customisable My Moodle page with new blocks for showing relevant information &lt;br /&gt;
* Admin can design (and optionally force) site-wide layouts for My Moodle&lt;br /&gt;
* My Moodle page given more prominence as the main &amp;quot;home page&amp;quot; for users&lt;br /&gt;
&lt;br /&gt;
===[[Navigation 2.0|Navigation]]===&lt;br /&gt;
* Standard &amp;quot;Navigation&amp;quot; block on every page showing contextual links, while allowing you to jump elsewhere quickly&lt;br /&gt;
* Standard &amp;quot;Settings&amp;quot; blocks on every page shows contextual settings as well as settings for anything else you have permissions for&lt;br /&gt;
&lt;br /&gt;
===[[Ratings 2.0|Ratings]]===&lt;br /&gt;
* User ratings (Glossaries, Databases, Forums, etc) are now all consistently handled and displayed throughout Moodle, using AJAX if available&lt;br /&gt;
* Aggregation of using ratings into activity grades is now standardised in all activities&lt;br /&gt;
&lt;br /&gt;
===[[Roles 2.0|Roles and permissions]]===&lt;br /&gt;
* Improved and simplified AJAX interfaces for defining and assigning roles&lt;br /&gt;
* Improved and simplified interfaces for tweaking permissions in any given context &lt;br /&gt;
* New &amp;quot;Archetypes&amp;quot; concept replacing the &amp;quot;Legacy roles&amp;quot; concept.&lt;br /&gt;
* New archetype &amp;quot;manager&amp;quot; to define the role of most people with system-wide editing rights, separate from &amp;quot;admin&amp;quot; role.&lt;br /&gt;
&lt;br /&gt;
===[[RSS feeds 2.0|RSS feeds]]===&lt;br /&gt;
* All RSS feeds are now secured using a random per-user token in the URL&lt;br /&gt;
* Tokens can be updated by the user at any time (if they suspect a feed URL has been compromised)&lt;br /&gt;
* RSS feeds are now more accurate (eg they support forums with separate groups), and are generated efficiently whenever required&lt;br /&gt;
&lt;br /&gt;
===[[Development:Themes 2.0|Themes]]===&lt;br /&gt;
* Many new themes in the core distribution - see [[Theme credits]] for a list&lt;br /&gt;
* All HTML and JS ouput is now far more efficient (server-side caching) and consistent (tableless layout, new CSS, YUI Framework)&lt;br /&gt;
* Themes can change the HTML of the page if they wish&lt;br /&gt;
* Core support for custom menus in all themes (for example at the top of the page)&lt;br /&gt;
&lt;br /&gt;
===[[Translation 2.0|Translation system]]===&lt;br /&gt;
* [http://lang.moodle.org/ New web portal] to make it easer for groups to collaborate on translating Moodle, and to keep their translations up-to-date.&lt;br /&gt;
* More efficient [[Development:Languages/AMOS|storage format for language strings]] should slightly improve performance.&lt;br /&gt;
&lt;br /&gt;
===User profile pages===&lt;br /&gt;
* Site-wide user profile page can be customised by users with blocks, news, feeds and so on&lt;br /&gt;
* Course-specific user profile pages show course blocks and standard profile information, plus information for teachers of that course&lt;br /&gt;
&lt;br /&gt;
==Major improvements to activity modules==&lt;br /&gt;
&lt;br /&gt;
===Lesson===&lt;br /&gt;
* Refactored internal code &lt;br /&gt;
* Forms are now standard Moodle forms&lt;br /&gt;
&lt;br /&gt;
===Quiz module and question bank===&lt;br /&gt;
&lt;br /&gt;
* [[Development:quiz_navigation|Quiz navigation improvements for students]]&lt;br /&gt;
* [[Development:Flagging_questions_during_a_quiz_attempt|Flagging questions during a quiz attempt]] &lt;br /&gt;
* [[Development:Quiz_report_enhancements|Quiz report enhancements]] - Major improvements to the quiz reports, especially regrading and item analysis&lt;br /&gt;
* [[Development:Quiz_report_statistics|Quiz report statistics]] - A brief guide&lt;br /&gt;
* [[Development:Quiz_UI_redesign|Quiz editing interface improvements]]&lt;br /&gt;
* Different settings (open/close date, number of attempts, password, time limit) for each group or student (MDL-16478)&lt;br /&gt;
* [[Development:Administration page for question types|Administration page for question types]]&lt;br /&gt;
* [[Development:Moodle 2.0 question bank improvements|Question tagging and improved searching in the question bank]]&lt;br /&gt;
* MDL-8648 Essay questions can now be randomised by random questions&lt;br /&gt;
&lt;br /&gt;
===Resource===&lt;br /&gt;
* All the resource types have been refactored into real modules, and cleaned up&lt;br /&gt;
** File - for displaying a file, possibly with supporting files (like a HTML mini-site)&lt;br /&gt;
** Folder - for displaying a collection of documents &lt;br /&gt;
** URL - for displaying a page with a given URL&lt;br /&gt;
** Page - for a single page, edited online using the HTML editor&lt;br /&gt;
** IMS - for showing a regular IMS content package&lt;br /&gt;
* Better XHTML-compliant support for frames, iframes and embedding in all these modules&lt;br /&gt;
&lt;br /&gt;
===SCORM===&lt;br /&gt;
&lt;br /&gt;
* New [[SCORM module]] settings - display attempt status, display course structure, force completed, force new attempt, lock after final attempt - allowing the behaviour dictated to the SCORM object by the authoring package to be changed MDL-11501 &lt;br /&gt;
* New reporting interface including sortable/collapsible table with group select box and ability to download in Excel, ODS and text format MDL-21555&lt;br /&gt;
* New SCORM player UI with better navigation, improved performance and better handling of stage size MDL-22951&lt;br /&gt;
&lt;br /&gt;
===[[Wiki module 2.0|Wiki]]===&lt;br /&gt;
* Completely re-written from scratch, based on NWIki from UPC&lt;br /&gt;
* Support for Mediawiki-style syntax, as well as Creole &lt;br /&gt;
* Interface improvements &lt;br /&gt;
&lt;br /&gt;
===[[Workshop module 2.0|Workshop]]===&lt;br /&gt;
&lt;br /&gt;
* Completely rewritten from scratch &lt;br /&gt;
* Vastly improved interface for managing stages and users&lt;br /&gt;
&lt;br /&gt;
==System requirements==&lt;br /&gt;
&lt;br /&gt;
Since Moodle 2.0 is such a major release, we are allowing ourselves some increases in the requirements.&lt;br /&gt;
&lt;br /&gt;
* PHP must be 5.2.8 or later (it was released 08-Dec-2008)&lt;br /&gt;
* Databases should be one of the following:&lt;br /&gt;
** MySQL 5.0.25 or later  (InnoDB storage engine highly recommended)&lt;br /&gt;
** PostgreSQL 8.3 or later&lt;br /&gt;
** Oracle 10.2 or later&lt;br /&gt;
** MS SQL 2005 or later&lt;br /&gt;
* Any standards-supporting browser from the past few years, for example:&lt;br /&gt;
** Firefox 3 or later &lt;br /&gt;
** Safari 3 or later &lt;br /&gt;
** Google Chrome 4 or later&lt;br /&gt;
** Opera 9 or later&lt;br /&gt;
** MS Internet Explorer 7 or later (Even [http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-modern-applications.html Google don&#039;t support IE6 any more])&lt;br /&gt;
** etc&lt;br /&gt;
&lt;br /&gt;
==Upgrading==&lt;br /&gt;
&lt;br /&gt;
When upgrading to Moodle 2.0, you must have Moodle 1.9 or later.  if you are using an earlier version of Moodle (eg 1.8.x) then you need to upgrade to Moodle 1.9.x first. We advise that you test the upgrade first on a COPY of your production site, to make sure it works as you expect.&lt;br /&gt;
&lt;br /&gt;
For further information, see [[Upgrading to Moodle 2.0]].&lt;br /&gt;
&lt;br /&gt;
==For developers: API changes==&lt;br /&gt;
&lt;br /&gt;
See [[Development:Migrating_contrib_code_to_2.0]]&lt;br /&gt;
&lt;br /&gt;
* [[Development:Plugin system changes in Moodle 2.0]] - all the different types of plugin are now handles more consistently when it comes to installation and upgrading, capabilities, events, and so on.&lt;br /&gt;
* [[Development:DB_layer_2.0_migration_docs|Database layer changes]] - you will need to update your code.&lt;br /&gt;
* [[Development:Using_the_file_API|File handling changes]] - you will need to update your code.&lt;br /&gt;
* [[Development:Migrating your code code to the 2.0 rendering API|Rendering layer changes]] - should be mostly backwards compatible, but you are advised to upgrade your code.&lt;br /&gt;
* Require capability used to do an automatic require_login. It no longer does so. All pages must explicitly call require_login if they need it. MDL-19882&lt;br /&gt;
* [[Development:Moodle_2.0_question_type_API_changes|Changes to the question type API]]&lt;br /&gt;
* MNet has been refactored and tidied up - related third party code needs to be checked&lt;br /&gt;
* Changes and improvements to the [[Development:Local_customisation|Local customisation system]].&lt;br /&gt;
* Javascript &lt;br /&gt;
* YUI&lt;br /&gt;
* custom profile fields values are loaded into $USER-&amp;gt;profile array instead of directly into $USER object&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Moodle 1.9 release notes]]&lt;br /&gt;
*[[QA testing]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Release notes]]&lt;br /&gt;
[[Category:Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Notes de mise à jour de Moodle 2.0]]&lt;br /&gt;
[[es:Notas de Moodle 2.0]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Cohorts&amp;diff=77504</id>
		<title>Cohorts</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Cohorts&amp;diff=77504"/>
		<updated>2010-11-06T22:28:51Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}{{Moodle 2.0}}&lt;br /&gt;
Cohorts, or site-wide groups, enable all members of a cohort to be enrolled in a course in one click.&lt;br /&gt;
&lt;br /&gt;
To synchronise cohort members with course participants, the cohort enrolment plugin should be enabled in &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Enrolments &amp;gt; Manage enrol plugins&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
To add a Cohort &lt;br /&gt;
goto: Users&amp;gt; Accounts&amp;gt; Cohorts.&lt;br /&gt;
Click &#039;Add&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Development:Cohorts]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Cohortes]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/23/en/index.php?title=Custom_SQL_queries_report&amp;diff=76876</id>
		<title>Custom SQL queries report</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/23/en/index.php?title=Custom_SQL_queries_report&amp;diff=76876"/>
		<updated>2010-10-20T09:34:19Z</updated>

		<summary type="html">&lt;p&gt;Fox: French link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Created by The Open University&lt;br /&gt;
&lt;br /&gt;
This admin report plugin allows Administrators to set up arbitrary database queries to act as ad-hoc reports. Reports can be of two types: either run on demand, or scheduled to run automatically. Other users with the right capability can go in and see a list of queries that they have access to. Results can be viewed on-screen or downloaded as CSV.&lt;br /&gt;
&lt;br /&gt;
==Installing this report==&lt;br /&gt;
&lt;br /&gt;
Follow the generic [[Installing contributed modules or plugins]] documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Screen shots==&lt;br /&gt;
&lt;br /&gt;
Here are two example screen shots, showing the two main screens.&lt;br /&gt;
&lt;br /&gt;
[[Image:Custom_report_list.png|thumb|none|600px|The list of available reports]]&lt;br /&gt;
[[Image:Custom_report.png|thumb|none|600px|The results of running one of the reports]]&lt;br /&gt;
&lt;br /&gt;
(Note, these screen shots are in the OU theme, not the standard Moodle theme, and iCMA is OU-jargon for quiz.)&lt;br /&gt;
&lt;br /&gt;
==Interface for normal users==&lt;br /&gt;
&lt;br /&gt;
===List of available queries===&lt;br /&gt;
&lt;br /&gt;
Users with the report/customsql:view capability can access the list of reports in the admin block. Each query is accessible only to a certain people. There are three levels of access:&lt;br /&gt;
* Available to any one who can access the report at all (those with report/customsql:view).&lt;br /&gt;
* Available to people who are able to see other system reports (those with moodle/site:viewreports)&lt;br /&gt;
* Available to administrators only (those with moodle/site:config)&lt;br /&gt;
&lt;br /&gt;
When you go to the list, it will only show the queries you have access to. There is a note beside each query saying when it was last run, and how long it took to generate.&lt;br /&gt;
&lt;br /&gt;
The list shows on-demand and scheduled queries separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running an on-demand query===&lt;br /&gt;
&lt;br /&gt;
To run an on-demand query, click on its name in the list of queries.&lt;br /&gt;
&lt;br /&gt;
The query will be run, and the results will be displayed as a table. Any URLs in the table will automatically be made into hyperlinks.&lt;br /&gt;
&lt;br /&gt;
A description of the query may appear above the table.&lt;br /&gt;
&lt;br /&gt;
The summary of when the query was run and how long it took is shown at the bottom, along with a link to download the CSV file (for example to get the data into Excel) and a link back to the list of all available queries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Viewing the results of scheduled queries===&lt;br /&gt;
&lt;br /&gt;
Scheduled queries can work in one of two ways. Either each run of the report generates and entire table of reasults, or each run just creates one line of results, and the report builds up a row at a time.&lt;br /&gt;
&lt;br /&gt;
When you click the name in the list of queries, you get taken to a display of the latest results, just like in the on-demand case.&lt;br /&gt;
&lt;br /&gt;
However, if each scheduled run generates a complete report, then at the bottom of a page there will be a list of all the previous runs of the report, so that you can go and see how the report changed over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interface for administrators==&lt;br /&gt;
&lt;br /&gt;
Administrators (that is, users with report/customsql:definequeries) see everything that other users see, but with some additions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Additional controls in the staff interface===&lt;br /&gt;
&lt;br /&gt;
Administrators get shown who each report in the list is available to.&lt;br /&gt;
&lt;br /&gt;
They also get an edit and a delete icon next to each query.&lt;br /&gt;
&lt;br /&gt;
There is an &#039;&#039;&#039;Add new query button&#039;&#039;&#039; at the end of the list of queries.&lt;br /&gt;
&lt;br /&gt;
When viewing a particular query, Administrators get an edit and a delete link underneath the table of results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Adding or editing a query===&lt;br /&gt;
&lt;br /&gt;
When you click the &#039;&#039;&#039;Add new query button&#039;&#039;&#039;, you get taken to an editing form that lets you define the query.&lt;br /&gt;
&lt;br /&gt;
You must give the query a name.&lt;br /&gt;
&lt;br /&gt;
You can optionally enter a description that is displayed above the results table. You should use this to explain what the results of the query mean.&lt;br /&gt;
&lt;br /&gt;
You must enter the SQL to generate the results you want displayed. This must be an SQL select statement. You must use the prefix prefix_ for table names. It should not be possible to enter any SQL that would alter the contents of the database.&lt;br /&gt;
&lt;br /&gt;
You choose who you want the query to be accessible to.&lt;br /&gt;
&lt;br /&gt;
You choose whether the query should be run on-demand or scheduled weekly or monthly. If the report is scheduled, you can say whether the each run returns one row to be added to a single table, or whether each run generates a separate table.&lt;br /&gt;
&lt;br /&gt;
When you save the new query, the SQL is checked to make sure that it will execute without errors. If you have said that the report will only return a single row, this is also checked.&lt;br /&gt;
After saving the query, if this was a manual query, you are taken to the query results page, so you can see what the results look like. If it was an automatic query or if you cancel the form, you are taken to the list of available queries.&lt;br /&gt;
&lt;br /&gt;
Editing an existing query uses the same form as for adding a new query, but to change the properties of an existing query.&lt;br /&gt;
&lt;br /&gt;
Note that at the OU, weeks start on Saturday. If you don&#039;t like that, there is a fairly obvious constant to hack at the top of locallib.php.&lt;br /&gt;
&lt;br /&gt;
===Deleting a query===&lt;br /&gt;
&lt;br /&gt;
When you click the delete icon or link for a query, you are taken to a confirmation page that shows you SQL of the query you are about to delete. The query is only deleted if you click Yes on the confirmation page.&lt;br /&gt;
&lt;br /&gt;
After deleting a query, you are taken back to the list of queries.&lt;br /&gt;
&lt;br /&gt;
==Share your interesting queries here==&lt;br /&gt;
&lt;br /&gt;
If you come up with any interesting SQL to custom reports, you can share it here.&lt;br /&gt;
&lt;br /&gt;
===Quiz attempts in the last week/month===&lt;br /&gt;
&lt;br /&gt;
Set this up as a scheduled report:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT COUNT(*)&lt;br /&gt;
FROM prefix_quiz_attempts&lt;br /&gt;
WHERE timefinish &amp;gt; %%STARTTIME%%&lt;br /&gt;
    AND timefinish &amp;lt;= %%ENDTIME%%&lt;br /&gt;
    AND preview = 0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This &#039;&#039;&#039;must&#039;&#039;&#039; be set up as a &#039;&#039;&#039;Scheduled, on the first day of each week&#039;&#039;&#039; or &#039;&#039;&#039;Scheduled, on the first day of each month&#039;&#039;&#039; report, or it will not work.&lt;br /&gt;
&lt;br /&gt;
===Usage summary===&lt;br /&gt;
&lt;br /&gt;
This report shows roughly the same usage statistics that are sent to moodle.org when you register your site. The ones that are aggregated at http://moodle.org/stats/. (The only difference is that the registration form does not do AND confirmed = 1 for some reason.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_course) - 1 AS courses,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_user WHERE deleted = 0 AND confirmed = 1) AS users,&lt;br /&gt;
(SELECT COUNT(DISTINCT ra.userid)&lt;br /&gt;
 FROM prefix_role_capabilities rc&lt;br /&gt;
 JOIN prefix_role_assignments ra ON ra.roleid = rc.roleid&lt;br /&gt;
 WHERE rc.capability IN (&#039;moodle/course:upd&#039; || &#039;ate&#039;, &#039;moodle/site:doanything&#039;)) AS teachers,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_role_assignments) AS enrolments,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_forum_posts) AS forum_posts,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_resource) AS resources,&lt;br /&gt;
(SELECT COUNT(id) FROM prefix_question) AS questions&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are two interesting queries in this blog post [http://tjhunt.blogspot.com/2010/03/when-do-students-submit-their-online.html When do students submit their online tests?].&lt;br /&gt;
&lt;br /&gt;
===Monthly Usage by Role===&lt;br /&gt;
&lt;br /&gt;
This report shows a distinct count of users by their role, accessing your site.  Each instance of user and role is counted once per month, no matter how many courses they access.  We use this to show the total number of students and teachers accessing our site.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT &lt;br /&gt;
month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)) AS calendar_month,&lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)) AS calendar_year,&lt;br /&gt;
prefix_role.name as user_role,&lt;br /&gt;
COUNT(DISTINCT prefix_stats_user_monthly.userid) AS total_users&lt;br /&gt;
FROM&lt;br /&gt;
prefix_stats_user_monthly&lt;br /&gt;
Inner Join prefix_role_assignments ON prefix_stats_user_monthly.userid = prefix_role_assignments.userid&lt;br /&gt;
Inner Join prefix_context ON prefix_role_assignments.contextid = prefix_context.id&lt;br /&gt;
Inner Join prefix_role ON prefix_role_assignments.roleid = prefix_role.id&lt;br /&gt;
WHERE prefix_context.contextlevel = 50&lt;br /&gt;
AND `prefix_stats_user_monthly`.`stattype` = &#039;activity&#039;&lt;br /&gt;
AND prefix_stats_user_monthly.courseid &amp;lt;&amp;gt;1&lt;br /&gt;
GROUP BY month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
prefix_stats_user_monthly.stattype,&lt;br /&gt;
prefix_role.name&lt;br /&gt;
ORDER BY &lt;br /&gt;
year(from_unixtime(`prefix_stats_user_monthly`.`timeend`)), month(from_unixtime(`prefix_stats_user_monthly`.`timeend`)),&lt;br /&gt;
prefix_role.name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must have Statistics turned on to be able to generate any data with this report.&lt;br /&gt;
&lt;br /&gt;
===Show all Quiz results across a site===&lt;br /&gt;
I&#039;m sure someone will be able to improve upon this, but this is a query that will show Quiz results across a site. --[[User:Stuart Mealor|Stuart Mealor]] 22:07, 9 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code sql&amp;gt;&lt;br /&gt;
SELECT &lt;br /&gt;
     prefix_grade_items.itemname,&lt;br /&gt;
     prefix_grade_items.grademax,&lt;br /&gt;
     ROUND(prefix_grade_grades.finalgrade, 0) AS finalgrade,&lt;br /&gt;
     prefix_user.firstname,&lt;br /&gt;
     prefix_user.lastname,&lt;br /&gt;
     prefix_user.username&lt;br /&gt;
FROM&lt;br /&gt;
     prefix_grade_grades&lt;br /&gt;
     INNER JOIN prefix_user ON prefix_grade_grades.userid = prefix_user.id&lt;br /&gt;
     INNER JOIN prefix_grade_items ON prefix_grade_grades.itemid = prefix_grade_items.id&lt;br /&gt;
WHERE (prefix_grade_items.itemname IS NOT NULL)&lt;br /&gt;
AND (prefix_grade_items.itemtype = &#039;mod&#039; OR prefix_grade_items.itemtype = &#039;manual&#039;)&lt;br /&gt;
AND (prefix_grade_items.itemmodule = &#039;quiz&#039; OR prefix_grade_items.itemmodule IS NULL)&lt;br /&gt;
AND (prefix_grade_grades.timemodified IS NOT NULL)&lt;br /&gt;
AND (prefix_grade_grades.finalgrade &amp;gt; 0)&lt;br /&gt;
AND (prefix_user.deleted = 0)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Reports_(administrator)]] for other admin reports&lt;br /&gt;
* [[Installing contributed modules or plugins]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=136484 Custom SQL queries report] forum announcement&lt;br /&gt;
* list of [[ad-hoc contributed reports]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=153059 Forum post] with some more useful queries.&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Report]]&lt;br /&gt;
[[Category:Contributed_code]]&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/report/customsql/index]]&lt;/div&gt;</summary>
		<author><name>Fox</name></author>
	</entry>
</feed>