<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jprovasnik</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jprovasnik"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/Special:Contributions/Jprovasnik"/>
	<updated>2026-04-23T05:07:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Messaging_settings&amp;diff=139127</id>
		<title>Messaging settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Messaging_settings&amp;diff=139127"/>
		<updated>2024-04-11T13:54:08Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: updating spacing in list of message types table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Messaging}}&lt;br /&gt;
==Messaging settings for all users==&lt;br /&gt;
*Users can decide how they want to be notified of new messages and event notifications by editing their messaging preferences page, which they can access either from the Preferences link in the user menu or from the gear icon in the messaging/notifications menus. See [[Messaging]] and [[Notifications]] for more information.&lt;br /&gt;
*Which options they see there depend on what has been enabled by the administrator. For example, the mobile option is only available if the site is enabled for the mobile app.&lt;br /&gt;
==Enabling / disabling messaging site wide==&lt;br /&gt;
The personal messaging system in Moodle is enabled by default. It may be disabled by a site administrator from Site administration &amp;gt; Messaging &amp;gt; Messaging settings.&lt;br /&gt;
&lt;br /&gt;
From &#039;Messaging settings&#039;, the administrator can &amp;quot;Allow site-wide messaging&amp;quot; (disabled by default). If this setting is enabled, users on the site can view all other users when selecting someone to message and can choose to accept messages from anyone on the site.&lt;br /&gt;
==Notification settings ==&lt;br /&gt;
Messaging system default settings are set in &#039;Notification settings&#039; in Site administration / Messaging&lt;br /&gt;
&lt;br /&gt;
There are four default types of notification plugins: web, Jabber, email and mobile.&lt;br /&gt;
&lt;br /&gt;
By default web and email are both enabled, though email will only work of course if the site has been properly configured to deliver email. Jabber and Mobile notifications are off by default and need to be configured first.&lt;br /&gt;
[[File:NotificationPlugins.png|center|thumb|500px]]&lt;br /&gt;
==== Jabber ====&lt;br /&gt;
Jabber is the original name of the Extensible Messaging and Presence Protocol ([https://en.wikipedia.org/wiki/XMPP XMPP]), an open standard instant messaging protocol.&lt;br /&gt;
The Jabber service on the Moodle server must be configured before use. To configure Jabber, an XMPP account should be created that is specific to the Moodle server, either on a locally hosted XMPP server or on one of many [https://xmpp.net/directory.php public servers]. The information for this account is entered in Site administration / Plugins / Message outputs / Jabber:&lt;br /&gt;
*Host - The server to connect to to send jabber message notifications - this is entered as the full hostname (e.g. jabber.org) with no protocol (i.e. no &amp;quot;https://&amp;quot;)&lt;br /&gt;
*Server - XMPP host ID (can be left empty if the same as Jabber host)&lt;br /&gt;
*Username - The user name to use when connecting to the Jabber server as the Moodle site, without domain name&lt;br /&gt;
*Password - The password to use when connecting to the Jabber server as the Moodle site.&lt;br /&gt;
*Port - defaults to 5222&lt;br /&gt;
[[File:Jabber_configuration.png]]&lt;br /&gt;
&lt;br /&gt;
After the Jabber service has been configured, it must also be enabled.&lt;br /&gt;
&lt;br /&gt;
Each Moodle user wishing to receive instant message notifications through Jabber must create an account on a Jabber server and must configure their Moodle account to include those details:&lt;br /&gt;
&lt;br /&gt;
[[File:jabber_user_account.png]]&lt;br /&gt;
&lt;br /&gt;
The user must also choose which notifications to receive using Jabber:&lt;br /&gt;
&lt;br /&gt;
[[File:Jabber_notification_preferences.png]]&lt;br /&gt;
&lt;br /&gt;
Users may also choose to receive Moodle messages via Jabber.&lt;br /&gt;
====Mobile notifications====&lt;br /&gt;
[[File:mobilenotifications.png]]&lt;br /&gt;
&lt;br /&gt;
The administrator can configure the site to push messages to mobile devices. Moodle pushes messages to a messaging server, which then pushes it to Apple or Google depending on the platform the target device is using (iOS or Android).&lt;br /&gt;
&lt;br /&gt;
[[Site registration|Registered sites]] can make use of the default messaging server https://messages.moodle.net/ which is maintained by moodle.com. To connect to this, click &#039;Request access key&#039; and then add it to the Airnotifier access key field. &lt;br /&gt;
&lt;br /&gt;
Alternatively, you may install your own private Air notifier server and use that instead. See https://github.com/dongsheng/airnotifier for details.&lt;br /&gt;
===Default notification preferences===&lt;br /&gt;
You can specify the default notification preferences for each type of message in Site administration / Messaging / Notification settings.&lt;br /&gt;
&lt;br /&gt;
You can also set to what degree each type of message is enabled, and whether users are able to change these default settings in their profiles:&lt;br /&gt;
* &#039;&#039;Disallowed&#039;&#039; - This particular type of message is not allowed at all and users will not see any settings related to them. Message of the chosen type will never be delivered.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Permitted&#039;&#039; - Users are permitted or allowed to change the settings. When the user account is created, the new user will inherit the settings the administrator sets here, but will be allowed to change them afterwards in their Messaging settings. Messages will be delivered as the user sets them on their own Messaging settings page.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Locked&#039;&#039; - Users are not permitted or allowed to change these settings. When the user account is created, the new user will inherit the settings the administrator sets here and will never be allowed to change them. Messages will be delivered for all users as you set them on this page.&lt;br /&gt;
====Logged in/Offline====&lt;br /&gt;
You can set whether each of these will be sent when the user is online through the messaging system interface available to users in their profiles, and/or whether each output is sent via email.&lt;br /&gt;
====Ordering of messaging settings====&lt;br /&gt;
Because users might have many different messaging options, they are ordered into different components - for example, activities, system, enrolments etc.&lt;br /&gt;
[[File:ExampleStudentNotification.png|thumb|600px|center|Example notifications preferences screen - student view]]&lt;br /&gt;
==== List of message types====&lt;br /&gt;
Except for &#039;Personal messages between users&#039;, which refers to the interaction messaging tool on a user profile, the other messages are generated by events in Moodle. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Module !!Output Name!!Description!!Recipients&lt;br /&gt;
|-&lt;br /&gt;
|Assignment||Assignment notifications||Student has submitted an [[Assignment activity|assignment]] and Student has received a grade/feedback||Teacher&lt;br /&gt;
|-&lt;br /&gt;
|Feedback||Feedback notifications||Notices from setting Enable notification of submissions||Teacher, Feedback administrator&lt;br /&gt;
|-&lt;br /&gt;
|Feedback||Feedback reminder||[[Feedback activity|Feedback]] non-respondent reminder message|| Student feedback activity non-responders&lt;br /&gt;
|-&lt;br /&gt;
|Forum||Subscribed forum posts||Default for forum subscription handling||Anyone subscribed to a forum&lt;br /&gt;
|-&lt;br /&gt;
|Forum||Subscribed forum digests||Sets default for this for user profiles || Authenticated users&lt;br /&gt;
|-&lt;br /&gt;
|Lesson||Lesson essay graded notification||Notify students a teacher has graded a Lesson essay question||Student&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Notification of quiz submissions|| Message that student has submitted a quiz||Teacher&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Confirmation of your own quiz submissions||Notice your quiz was successfully submitted ||Student&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Warning when your quiz attempt becomes overdue||See [[Quiz settings]]||Student&lt;br /&gt;
|-&lt;br /&gt;
|System||Notices about minor problems||?&lt;br /&gt;
|Site administrators&lt;br /&gt;
|-&lt;br /&gt;
|System||Important errors with the site|| Important errors - See also [[Debugging]]||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
|System||Course creation request notification ||Notice a course has been requested - See [[Course request]]||Defined in &#039;&#039;Site admin &amp;gt; Courses &amp;gt; Course request &amp;gt; Course request notification&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|System||Course creation request approval notification ||Notice a requested course has been approved||User who requested the course&lt;br /&gt;
|-&lt;br /&gt;
|System||Course creation request rejection notification||Notice a requested course has been rejected||User who requested the course&lt;br /&gt;
|-&lt;br /&gt;
|System||Badge recipient notifications|| Notify recipient of a badge when it is awarded to them||Any badge recipient (typically Student role)&lt;br /&gt;
|-&lt;br /&gt;
|System||Badge creator notifications || Notify creator of a badge when it is awarded to someone||Any badge creator (typically Teacher or Manager role)&lt;br /&gt;
|-&lt;br /&gt;
|System||Insights generated by prediction models||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Message contact requests notification||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Grade notifications||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Available update notifications||Notice of new releases of Moodle code||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
|System||Backup notifications||Automated backup schedule run completed||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
|System||Comment posted on a learning plan||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Comment posted on a competency ||? ||?&lt;br /&gt;
|-&lt;br /&gt;
|Manual enrollment||Manual enrolment expiry notifications|| Notice if [[Manual enrolment]] about to expire||Manual enrolees&lt;br /&gt;
|-&lt;br /&gt;
|Self enrollment||Self enrolment expiry notifications||Notify users when their enrolment expires|| Enroller only, or Enroller &amp;amp; Enrolled user&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request ||?||?&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request processing results||?|| ?&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request exceptions notifications||?||?&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Warning when an inbound message could not be processed||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Confirmation that a message was successfully processed||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Personal messages between users||Using the Messaging interface tool||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Message to confirm that an inbound message came from you||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
| Event monitoring||Notification of rule subscriptions||Notifications from [[Event monitoring]] rules||Event rule subscribers&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Roles and Messaging capabilities ==&lt;br /&gt;
The following capabilities can be applied as permissions to make custom changes to roles affecting messaging.&lt;br /&gt;
*[[Capabilities/moodle/course:bulkmessaging|course:bulkmessaging - Send a message to many people]]&lt;br /&gt;
*[[Capabilities/moodle/site:readallmessages|site:readallmessages - Read all messages on site]]&lt;br /&gt;
*[[Capabilities/moodle/site:sendmessage|site:sendmessage - Send messages to any user]]&lt;br /&gt;
*[[Capabilities/moodle/user:editownmessageprofile|user:editownmessageprofile - Edit own user messaging profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:editmessageprofile|user:editmessageprofile - Edit user messaging profile]]&lt;br /&gt;
===Email===&lt;br /&gt;
All email messages and notifications go to the email address set in a user&#039;s profile. The administrator can optionally allow users to choose to have notifications sent to a different email address. This is off by default and can be enabled in &#039;&#039;Site administration &amp;gt; Advanced features &amp;gt; Notification email override&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Users can then enter their alternative email address under Preferences/User account/Notification preferences: Click on the gear icon next to &amp;quot;Email&amp;quot; in the table header and enter the alternative email.&lt;br /&gt;
&lt;br /&gt;
Note: The &#039;messagingallowemailoverride&#039; setting does not affect failed log in notifications as they do not go through the messaging system, and will therefore still go to the original email specified.&lt;br /&gt;
[[fr:Paramètres de messagerie]]&lt;br /&gt;
[[de:Einstellungen für Mitteilungen]]&lt;br /&gt;
[[es:Configuraciones de mensajería]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/analytics:listinsights&amp;diff=139120</id>
		<title>Capabilities/moodle/analytics:listinsights</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/analytics:listinsights&amp;diff=139120"/>
		<updated>2023-09-26T21:25:29Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: Added an example of what this permission does.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to list [[Analytics|analytics insights]]&lt;br /&gt;
*Notifications go to users, with this capability enabled, in the context of the prediction -- what this means for the Students at risk of dropping out model is that notifications go to teachers in each course.&lt;br /&gt;
*This capability is allowed for the default roles of manager, teacher and non-editing teacher&lt;br /&gt;
[[Category:Capabilities|Analytics]]&lt;br /&gt;
[[Category:Analytics]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[https://docs.moodle.org/es/Capabilities/moodle/analytics:listinsights]]&lt;br /&gt;
[[https://docs.moodle.org/de/Capabilities/moodle/analytics:listinsights]]&lt;br /&gt;
[[https://docs.moodle.org/fr/Capabilities/moodle/analytics:listinsights]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Upload_users&amp;diff=138996</id>
		<title>Upload users</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Upload_users&amp;diff=138996"/>
		<updated>2022-04-29T17:23:30Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: /* Enrolment fields */  - added an example of date and time format for enroltimestart#&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Accounts}}&lt;br /&gt;
==Uploading users via text file==&lt;br /&gt;
There are many options for uploading information (fields associated with a user) with this method: from enrolling users in multiple courses with course specific [[Roles|roles]] to updating user information in the [[User profile]] to deleting users from the site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; It is usually not necessary to upload users in bulk with Upload users. To keep maintenance work down you should first explore forms of authentication that do not require manual maintenance, such as [[External database authentication|connecting to existing external databases]] or letting the users create their own accounts ([[Self enrolment]]). See [[Authentication]] for more information.&lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/blUw-ZbhFqw| desc = How to bulk upload users and add to courses}}&lt;br /&gt;
==File formats for upload users file==&lt;br /&gt;
The upload users file has fields separated by a comma (or other delimiter) ONLY - no space. The first line contains the valid field names. The rest of the lines (records) contain information about each user.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; Avoid special characters in field information like quotes or other commas. Test a file with only one record before a large upload.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; You can use a spread sheet program to create the file with the required columns and fields. Then save the file as &amp;quot;CSV (comma delimited)&amp;quot;. These files can be opened with simple text editors (eg, [https://notepad-plus-plus.org/ Notepad++]) for verification. &lt;br /&gt;
===Valid upload file for testing===&lt;br /&gt;
*From Site administration / Users / Upload users, an example text (.csv) file is available. It includes can be downloaded and adapted to your needs. &lt;br /&gt;
username,firstname,lastname,email&lt;br /&gt;
&lt;br /&gt;
student1,Student,One,s1@example.com&lt;br /&gt;
&lt;br /&gt;
student2,Student,Two,s2@example.com&lt;br /&gt;
&lt;br /&gt;
student3,Student,Three,s3@example.com&lt;br /&gt;
*Additional fields can be added as below. The course and cohort must already have been manually created.&lt;br /&gt;
username,firstname,lastname,email,course1,group1,cohort1&lt;br /&gt;
&lt;br /&gt;
student1,Student,One,s1@example.com,math102,groupA,cohortZ&lt;br /&gt;
&lt;br /&gt;
student2,Student,Two,s2@example.com,math102,groupB,cohort Y&lt;br /&gt;
&lt;br /&gt;
student3,Student,Three,s3@example.com,math102,groupA,cohortZ&lt;br /&gt;
== User Fields that can be included==&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; We strongly recommend that you test a file that contains fields you proposed to use with one user before attempting a file upload for the first time. &lt;br /&gt;
===Required fields===&lt;br /&gt;
These are the required user identification fields:&lt;br /&gt;
&amp;lt;code&amp;gt;username,firstname,lastname,email&amp;lt;/code&amp;gt;&lt;br /&gt;
Validity checks are performed for:&lt;br /&gt;
* &#039;&#039;&#039;username&#039;&#039;&#039; can only contain alphabetical &#039;&#039;&#039;lowercase&#039;&#039;&#039; letters , numbers, hypen &#039;-&#039;, underscore &#039;_&#039;, period &#039;.&#039;, or at-sign &#039;@&#039; &lt;br /&gt;
* &#039;&#039;&#039;email&#039;&#039;&#039; is in the form: &#039;&#039;name@example.com&#039;&#039;&lt;br /&gt;
===Passwords===&lt;br /&gt;
The &amp;quot;password&amp;quot; field is optional if the &#039;New user password&#039; setting on the upload screen is set to &amp;quot;Create password if needed and send via email&amp;quot; but is required if the setting is &amp;quot;Field required in file&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If included, values should meet the requirements for the site&#039;s [[Site_policies#Password_policy|Password policy]]. &lt;br /&gt;
&lt;br /&gt;
To force password change for a particular user, set the password field to &#039;&#039;&#039;changeme&#039;&#039;&#039;. If omitted, a password will be generated for each user (during the next Cron job) and welcome e-mails sent out. The text for the welcome e-mail is in the language settings in &#039;&#039;Site administration &amp;gt; Language &amp;gt; Language customisation&#039;&#039; with a String identifier of &#039;newusernewpasswordtext&#039;.&lt;br /&gt;
===Optional user fields===&lt;br /&gt;
Note: Commas within a field must be encoded as &amp;amp;#44 - the script will decode these back to commas.&lt;br /&gt;
Tip: For Boolean fields with only two values, use &#039;&#039;&#039;0&#039;&#039;&#039; for false and &#039;&#039;&#039;1&#039;&#039;&#039;for true. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To provide values other than the default you can include one or more of these optional user fields:&lt;br /&gt;
&amp;lt;pre&amp;gt;institution,department,city,country,lang,auth,timezone,idnumber,icq,phone1,phone2,address,url,description,mailformat,maildisplay,maildigest,htmleditor,autosubscribe,interests,theme&amp;lt;/pre&amp;gt;&lt;br /&gt;
Most of the these are user profile fields or user preference fields that belong to the user profile and are the filled in the user or at manual creation. Some however require specific formats:&lt;br /&gt;
&lt;br /&gt;
See [[Additional name fields]] for more details. Key things to note are:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;country&#039;&#039;&#039; - use the country TWO LETTER CODE, in upper case, eg AU,ES,GB,US. These are all UPPER CASE. Using &amp;quot;au&amp;quot; or &amp;quot;es&amp;quot; or &amp;quot;USA&amp;quot; as a country code will result in a database error. If you are having trouble working out the two-letter code for a country, you can consult the list of [https://www.iso.org/obp/ui/#search country names and code elements] available on the ISO Website. A common error is to use UK for United Kingdom; it should be GB.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;lang&#039;&#039;&#039; - use the two letter (or extended four lettter) code as defined in the Moodle language packs, e.g. en, es, en_us, de, in &#039;&#039;Site administration &amp;gt; Language &amp;gt; Language packs&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth&#039;&#039;&#039; - The auth field must be used if the site uses an alternative authentication method, such as LDAP, as otherwise the authentication method will default to manual and users using a different auth method won&#039;t be able to log in.&lt;br /&gt;
Use the shortname codes defined in Plugins &amp;gt; Authentication for the various types, e.g. manual, nologin, ldap, cas, mnet, db, none. If you do not include an auth column, then newly created users will be created with the manual account type.&lt;br /&gt;
&lt;br /&gt;
You can set &amp;quot;auth&amp;quot; to &amp;quot;nologin&amp;quot; in your csv file which will mean that then created users cannot login.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;timezone&#039;&#039;&#039; - Should be in the format as found in the Location settings in terms of Zone/Region, eg. Australia/Sydney, Asia/Kathmandu, Europe/Madrid, etc. The entry is case sensitive so Europe/London will work but europe/london will not.&lt;br /&gt;
&lt;br /&gt;
NOTE: Needed: settings for &#039;&#039;&#039;mailformat&#039;&#039;&#039;,&#039;&#039;&#039;maildisplay&#039;&#039;&#039;,&#039;&#039;&#039;htmleditor&#039;&#039;&#039;,&#039;&#039;&#039;autosubscribe&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;maildigest&#039;&#039;&#039; To prevent users from receiving a large number of emails from courses or forced subscription forums use the &#039;&#039;&#039;maildigest&#039;&#039;&#039;. The options for this field are 0 = No digest, 1 = Complete digest and 2 = Digest with just subjects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;maildisplay&#039;&#039;&#039; allows you to set the email display option for a user. The options for this field are 0 = Hide my email address from non-privileged users, 1 = Allow everyone to see my email address and 2 = Allow only other course members to see my email address.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;theme&#039;&#039;&#039; User themes may be added by using &#039;classic&#039;, &#039;boost&#039; or the name of any other installed theme. The value should be the short name of the theme, e.g &#039;boost&#039; not &#039;Boost&#039;, &#039;fordson&#039; not &#039;Fordson&#039;.&lt;br /&gt;
===Custom profile field names===&lt;br /&gt;
These are optional and depend on whether you have created any custom profile fields in your site. The name of the header in file is of the form &#039;profile_field_xxxxx&#039; where xxxx is the unique shortname of custom user profile field name as you created it. &lt;br /&gt;
&lt;br /&gt;
The field name should match the case of the profile field shortname. So, for instance if the shortname of your custom profile field is all upper case, for example, &#039;&#039;DOB&#039;&#039;, then use a header of &#039;&#039;profile_field_DOB&#039;&#039; to match the case, not &#039;&#039;profile_field_dob&#039;&#039;, which will produce a &amp;quot;is not a valid field name&amp;quot; error. Likewise, a mixed case shortname such as &#039;&#039;Dob&#039;&#039; should have a header of &#039;&#039;profile_field_Dob&#039;&#039;. (The exception to this is if the shortname is all lower case, then any case will work in the field header, which is a historical quirk: but best practice is to match the case and you will avoid errors.)&lt;br /&gt;
&amp;lt;pre&amp;gt;profile_field_xxxxx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;: To create a custom field &amp;quot;genre&amp;quot;, you must write a shortname &amp;quot;genre&amp;quot; in the new field, and write &amp;quot;profile_field_genre&amp;quot; in the header of the .csv file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For custom profile fields that are dates, use the ISO standard format YYYY-MM-DD, eg. 2014-06-19 which will then be properly localized in the interfaced. For example, a field called dohire for date of hire, the fields could be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username,firstname,lastname,email,profile_field_dohire&lt;br /&gt;
blumbergh,Bill,Lumbergh,blumbergh@example.com,1990-02-19&lt;br /&gt;
pgibbons,Peter,BGibbons,pgibbons@example.com,1996-06-05&lt;br /&gt;
tsmykowski,Tom,Smykowski,tsmykowski@example.com,1970-01-01 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For custom profile fields that are a menu, use the corresponding value in the menu list from field as you defined it. For example: a custom field &#039;corporatedivision&#039; with one of three values &#039;Management&#039;, &#039;Development&#039; or &#039;Training&#039;. Just insert one of those three words (e.g. &#039;Training&#039;) as the value for that field. Eg.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username,firstname,lastname,email,profile_field_corporatedivision&lt;br /&gt;
blumbergh,Bill,Lumbergh,blumbergh@example.com,Management&lt;br /&gt;
pgibbons,Peter,BGibbons,pgibbons@example.com,Development&lt;br /&gt;
tsmykowski,Tom,Smykowski,tsmykowski@example.com,Training &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Special user change fields===&lt;br /&gt;
Three special fields are used for managing user accounts, &#039;&#039;&#039;oldusername&#039;&#039;&#039;, &#039;&#039;&#039;deleted&#039;&#039;&#039; and &#039;&#039;&#039;suspended&#039;&#039;&#039;. [[#Allow_renames|See below for details]].&lt;br /&gt;
===Enrolment fields===&lt;br /&gt;
You may optionally enrol users in already existing courses using manual enrolment. Only manual enrolment is done this way; if the manual enrolment method is disabled in a course, then no enrol is done.&lt;br /&gt;
&lt;br /&gt;
You use fields in the upload file of this type:&lt;br /&gt;
&amp;lt;pre&amp;gt;course1,type1,role1,group1,enroltimestart1,enrolperiod1,enrolstatus1,course2,type2,role2,group2,enroltimestart2,enrolperiod2,enrolstatus2&amp;lt;/pre&amp;gt; etc.&lt;br /&gt;
Header fields &#039;&#039;&#039;must&#039;&#039;&#039; have a numeric suffix such that type1,role1,group1,enrolperiod1 and enrolstatus1 all apply to course1 for course&#039;&#039;&#039;1&#039;&#039;&#039; to course&#039;&#039;&#039;n&#039;&#039;&#039;. Even if you are just doing one course enrolment, you must still use the number 1 on the heading name, i.e. course1,role1, etc. Do not use the bare headings without numbers, e.g. course,role, etc as those will generate an error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;course#&#039;&#039;&#039; is the shortname of the course, if present the user will be enrolled in that course. Do not use the fullname of the course or it will generate an error. This field is the ONLY required field for a succesful enrolment. All the others are optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;type#&#039;&#039;&#039; sets the role to be used for the enrolment. A value of 1 is default course role, 2 is legacy Teacher role and 3 is legacy Non-editing Teacher.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;role#&#039;&#039;&#039; may be used to specify roles directly, using either role short name or the role id (numeric names of roles are not supported). Usually you will use the role name that is the shortname of the role as defined in Users &amp;gt; Permissions &amp;gt; Define roles, eg. student, editingteacher. If the role column is left out, the users will be enroled in the course with the default role, which is normally student.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;group#&#039;&#039;&#039; may be used to assign users to groups in course, using name or id (numeric group names are not supported). NOTE: if the group does not already exist, it will be created.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;enroltimestart#&#039;&#039;&#039; may be used to set the enrolment start time, for each course. If not explicitly set here, the enrolment start time is set to be today. To set a date: &amp;quot;2021-02-15&amp;quot; and to set a date with time: &amp;quot;2021-02-15 15:30&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;enrolperiod#&#039;&#039;&#039; may be used to set the enrolment duration, in days, for each course. If not explicitly set here, all the users will get the duration as set in the Manual enrolment method of the course (which defaults to 0 meaning unlimited.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;enrolstatus#&#039;&#039;&#039; is optional as by default all newly enrolled users are set to active. If used a value of 1, it will suspend users in the course and if a user is previously set as inactive / suspended then a value of 0 will unsuspend them and make them active again.&lt;br /&gt;
=== Cohort membership assignment===&lt;br /&gt;
You can assign users to any already existing Cohort by using only the &amp;quot;username&amp;quot; and the &amp;quot;Cohort ID&amp;quot; with just two fields in the file. Note that this is an exception to the usual case where the firstname, lastname and email address of the user are required.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;cohort#&#039;&#039;&#039; is the form to use and like enrolment in courses, you have to add a number to each header, so cohort1,cohort2, etc.&lt;br /&gt;
&lt;br /&gt;
Internal cohort id numbers or non-numeric Cohort IDs of existing cohorts must be used; do not use the full name are not allowed. (Note that cohort id is what is usually known elsewhere as the &amp;quot;shortname&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
Here is a sample CSV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username,cohort1,cohort2&lt;br /&gt;
student1,nursing,2016class&lt;br /&gt;
student2,nursing,2014class&lt;br /&gt;
student3,nursing,2014class&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== MNet ===&lt;br /&gt;
Existing [[MNet]]users can be added to courses, groups or cohorts as below by using the field header &#039;&#039;&#039;mnethostid&#039;&#039;&#039;&lt;br /&gt;
#enrolling to courses: username+mnethostid+course required&lt;br /&gt;
#adding to group: username+mnethostid+course+group required&lt;br /&gt;
#adding to cohort: username+mnethostid+cohort required&lt;br /&gt;
#suspending/reviving accounts: username+mnethostid+suspended required&lt;br /&gt;
All other operations are ignored. You can not add users, delete them or update them (such as change names or email, profile fields, etc.)&lt;br /&gt;
=== Set system roles ===&lt;br /&gt;
Users may also be assigned to already defined system roles, using the shortname of the system role as defined in &#039;&#039;Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles&#039;&#039; for roles with a system context defined.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sysrole1,sysrole2,sysrole3&amp;lt;/code&amp;gt; etc&lt;br /&gt;
&lt;br /&gt;
Users may be uploaded to a system role (usually Manager or Course creator) by entering the shortname of that role. Other roles can only be uploaded if they have already been assigned in the &#039;system&#039; context. See [[Creating custom roles]]. Multiple roles can be assigned using sysrole2, sysrole3, etc. fields. Note that the number suffix in no way relates to the number suffixes on the enrolment fields. The numbers must go up in sequence starting at 1.&lt;br /&gt;
&lt;br /&gt;
Unassigning system roles&lt;br /&gt;
Users can also be removed from a given system role by entering the shortname of that role prefixed with a minus symbol: &#039;-&#039;. If the user is currently assigned to that role, they are removed from it. If the user is not currently assigned to that system role, the field value is ignored. However, the field value must refer to a system role that does exist on the system, otherwise an error will occur.&lt;br /&gt;
[[File:GlobalRoles1.png|thumb|500px|center|Example of a file for uploading users with global/system roles]]&lt;br /&gt;
==Upload user process==&lt;br /&gt;
# Create file for uploading&lt;br /&gt;
# Go to &#039;&#039;Site administration &amp;gt; Users &amp;gt; Accounts &amp;gt; Upload users&#039;&#039;&lt;br /&gt;
# Add file to upload&lt;br /&gt;
# Upload users preview - check settings and default user profile settings&lt;br /&gt;
# Upload users preview - click &amp;quot;Upload users&amp;quot;&lt;br /&gt;
# Upload users results - shows list of users, exceptions made in upload and summary of number of users&lt;br /&gt;
# Upload users results - click &amp;quot;Continue&amp;quot;&lt;br /&gt;
# Returns to Upload users screen&lt;br /&gt;
==Updating users preview==&lt;br /&gt;
There are various settings to better control the desired upload behaviour. These settings are found on the &amp;quot;Upload users preview&amp;quot; page.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: errors updating existing accounts can affect your users badly. &#039;&#039;&#039;&#039;&#039;Be careful&#039;&#039;&#039;&#039;&#039; when using the options to update.&lt;br /&gt;
====Upload type====&lt;br /&gt;
The Upload type specifies how to handle existing accounts.&lt;br /&gt;
;Add new only, skip existing users : is the default Moodle upload type. It creates a new user account for each new record in the uploaded file. If an existing username is found in the uploaded file matches an existing username, that record is &#039;&#039;&#039;skipped&#039;&#039;&#039;. By skipping the existing user account, the data in the existing record is not touched (in contrast to the &amp;quot;Add new and update existing users&amp;quot; option) and a second new user account is &#039;&#039;&#039;not&#039;&#039;&#039; created (in contrast to the &amp;quot;Add all, append number to usernames if needed&amp;quot; option). &lt;br /&gt;
&lt;br /&gt;
;Add all, append number to usernames if needed : creates a new user account for each record in the uploaded file. If an existing user account is found, a new account will be created with a number appended to the username. For example, if a user account for username &#039;jsmith&#039; already exists and a new record in the uploaded file contains a record forusername &#039;jsmith&#039; an additional user account is created with a 1 &#039;&#039;&#039;appended&#039;&#039;&#039; to the username to produce user &#039;jsmith1&#039;. &lt;br /&gt;
&lt;br /&gt;
;Add new and update existing users: creates a new user account for each new user in the upload file. If an existing user account with the same username is found, the account information is &#039;&#039;&#039;updated&#039;&#039;&#039; by the data in the uploaded file. &lt;br /&gt;
&lt;br /&gt;
;Update existing users only : ignores any new users found in the upload file and updates the user account if a matching username record is found in the uploaded file.&lt;br /&gt;
====New user password====&lt;br /&gt;
When creating a new user account Moodle can create a new password (if one is not provided) or require a password in the uploaded file.&lt;br /&gt;
;Create password if needed and send via email: creates a random default password for each new user account if one is not provided in the uploaded file, and emails the user their user information and new password.&lt;br /&gt;
&lt;br /&gt;
;Field required in file : requires that a password be provided in the uploaded file in order. If a password is not provided, an error is generated and the user account is not created. No notification of this user information or password is sent to the user.&lt;br /&gt;
====Existing user details====&lt;br /&gt;
The Existing user details options are only available when the Upload type allows existing user accounts to be updated. It specifies how Moodle should process user detail information for existing users.&lt;br /&gt;
;No changes : ignores user detail data in the uploaded and leaves the existing user account data unchanged.&lt;br /&gt;
;Override with file : overwrites data in the existing user account with the data provided in the uploaded file.&lt;br /&gt;
;Override with file and defaults : overwrites data in the existing user account with data provided in the uploaded file and fills in the default values for existing user details when no data is provided in the uploaded file.&lt;br /&gt;
;Fill in missing from file and defaults : adds data in the existing user account with data provided in the uploaded file if the field is empty (does not already contain data) and fills in the default values for existing user details when no data is provided in the uploaded file.&lt;br /&gt;
====Existing user password====&lt;br /&gt;
The Existing user password option appears when you you have set the &amp;quot;Existing user details&amp;quot; setting to &amp;quot;Overwrite with file&amp;quot;. It specifies how to handle password data for existing user accounts, to change them or leave them as it. This is a bit of insurance to make sure that you really want to mass change user passwords.&lt;br /&gt;
;No changes : ignores password field in the uploaded user file and leaves the existing user account password untouched&lt;br /&gt;
;Update : overwrites the existing user account password with the password provided in the uploaded file&lt;br /&gt;
====Force password change====&lt;br /&gt;
The Force password change option specifies when to tag a user account so that the next login attempt will require the user to change the user&#039;s password.&lt;br /&gt;
;Users having a weak password : If the user account has a weak password as defined by the site&#039;s [[Password_policy#Password_policy|Password policy]] then the user will be forced to change the password during the next login attempt. This option is not shown if there the site does not have a [[Password_policy#Password_policy|Password policy]]. &lt;br /&gt;
;None : None of the users in the uploaded file will be forced to change the password during the user&#039;s next login attempt.&lt;br /&gt;
;All : All of the users in the uploaded file will be forced to change the password during the user&#039;s next login attempt.&lt;br /&gt;
====Allow renames====&lt;br /&gt;
If the uploaded file contains the special &#039;&#039;&#039;oldusername&#039;&#039;&#039; field, it is possible to rename a user from the &#039;&#039;&#039;oldusername&#039;&#039;&#039; to a new &#039;&#039;&#039;username&#039;&#039;&#039;. The default setting is to &#039;&#039;&#039;not&#039;&#039;&#039; allow renames. Keep in mind that renaming a user will require the user to use the new username when logging in.&lt;br /&gt;
;No : ignores the &#039;&#039;&#039;oldusername&#039;&#039;&#039; field and leaves the existing user account&#039;s username field unchanged.&lt;br /&gt;
;Yes : allows the existing user account&#039;s username to be changed by the data provided in the uploaded file&#039;s username field. The &#039;&#039;&#039;oldusername&#039;&#039;&#039; will be searched for and then updated with the data provided in the username column.&lt;br /&gt;
====Allow deletes====&lt;br /&gt;
If the uploaded file contains the &#039;&#039;&#039;deleted&#039;&#039;&#039; special field, it is possible to use the upload file to delete existing user accounts. The default setting is to &#039;&#039;&#039;not&#039;&#039;&#039; allow deletes. Keep in mind that deleting a user account will prevent that user from logging in. As a protection, site administrator user accounts cannot be deleted with this method. &lt;br /&gt;
;No : ignores the &#039;&#039;&#039;deleted&#039;&#039;&#039; special field in the uploaded file and leaves the existing user account unchanged&lt;br /&gt;
;Yes : allows the existing user account to be deleted when the value of the of the &#039;&#039;&#039;deleted&#039;&#039;&#039; field is 1. &lt;br /&gt;
====Allow suspending and activating of accounts====&lt;br /&gt;
If the uploaded file contains the &#039;&#039;&#039;suspended&#039;&#039;&#039; special field, it is possible to use the upload file to either suspend or make active (unsuspend) existing user accounts. The default setting is to allow suspending/activating of existing user accounts. Keep in mind that suspending an existing user account will prevent that user from logging in. &lt;br /&gt;
;Yes : allows the existing user account to be suspended when the value of the of the &#039;&#039;&#039;suspended&#039;&#039;&#039; field is 1. &lt;br /&gt;
;No : ignores the &#039;&#039;&#039;suspended&#039;&#039;&#039; special field in the uploaded file and leaves the existing user account status unchanged.&lt;br /&gt;
====Prevent email address duplicates====&lt;br /&gt;
It is possible, but &#039;&#039;&#039;not&#039;&#039;&#039; recommended to upload users with duplicate email addresses. By default, uploading users with duplicate email addresses is prevented. To allow duplicate email addresses, go to Site administration ► Plugins ► Authentication ► Manage authentication. You can tick &amp;quot;Allow accounts with same email&amp;quot;. Then on the upload users screen you will be allowed to change the &amp;quot;Prevent email address duplicates&amp;quot; setting. &lt;br /&gt;
&lt;br /&gt;
However, doing this is not recommended for file uploads. Test thoroughly any user uploads before implementing.&lt;br /&gt;
&lt;br /&gt;
For more info, see the [[Managing_authentication#Allow_accounts_with_same_email|Managing authentication]] docs page&lt;br /&gt;
;Yes :prevents user accounts from being created from the uploaded if an existing user account already has the same email address as found in the uploaded file&#039;s &#039;&#039;&#039;email&#039;&#039;&#039; column.&lt;br /&gt;
;No :allows user accounts to be created if an existing user account already has the same email address found in the uploaded file&#039;s &#039;&#039;&#039;email&#039;&#039;&#039; column.&lt;br /&gt;
====Standardise usernames====&lt;br /&gt;
Standardise usernames is used by default to convert the username to all lower case and to strip out illegal characters. It is possible to not standardise the usernames; however, doing so is &#039;&#039;&#039;not&#039;&#039;&#039; recommended.&lt;br /&gt;
;Yes : standardises usernames found in the uploaded file before updating existing or creating new user accounts so that the username contains only lowercase letters and numbers.&lt;br /&gt;
;No : skips standardising usernames found in the uploaded file so that the newly created or updated usernames will be exactly as they are in the uploaded file (&#039;&#039;&#039;not recommended&#039;&#039;&#039;).&lt;br /&gt;
For those seeking a more technical explanation, the process for standardising the usernames consists of ensuring the characters are all UTF-8 (fix_utf8) encoded, converting the username to lower case, and then stripping out non-letters/non-number characters (unless &#039;&#039;Site administration &amp;gt; Security &amp;gt; Site policies &amp;gt; Allow extended characters in usernames&#039;&#039; is set on) with something similar to: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$username = preg_replace(&#039;/[^-\.@_a-z0-9]/&#039;, &#039;&#039;, $username);&amp;lt;/code&amp;gt;&lt;br /&gt;
====Select for bulk user actions====&lt;br /&gt;
After the uploaded file has finished being processed (all new accounts have been created and existing accounts updated as specified by the previous settings), there is an option to select some of those user accounts to perform additional [[admin/user/user_bulk|bulk user actions]] such as &lt;br /&gt;
*Confirm user accounts created through Email-based self-registration which are not yet confirmed by the user&lt;br /&gt;
*Send a message (requires Messaging to be enabled)&lt;br /&gt;
*Delete user accounts&lt;br /&gt;
*Display a list of users on a page&lt;br /&gt;
*Download user data in text, ODS or Excel file format&lt;br /&gt;
*Force users to change their passwords&lt;br /&gt;
*Add users to a cohort&lt;br /&gt;
By default, no users are selected for [[admin/user/user_bulk|bulk user actions]].&lt;br /&gt;
;No : No users are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
;New users : Only newly created users are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
;Updated users : Only updated user accounts are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
;All users : All users found (existing updated users and newly created user accounts) in the uploaded file are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
===Default values===&lt;br /&gt;
You can provide default user values for some fields not included in the uploaded file. Some fields include:&lt;br /&gt;
*Email display&lt;br /&gt;
*Forum auto-subscribe&lt;br /&gt;
*City/town&lt;br /&gt;
*ID number&lt;br /&gt;
*Institution&lt;br /&gt;
*Department&lt;br /&gt;
By clicking the &#039;&#039;&#039;Show more....&#039;&#039;&#039; link, other default user profile fields will show up. You can set 17 different fields here, including the Authentication method, Country. Language, Timezone, as well as most other standard User profile fields.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have created any custom profile fields for your users, they will show up here.&lt;br /&gt;
==Upload user results ==&lt;br /&gt;
After accepting the preview settings by clicking on &amp;quot;Upload users&amp;quot;, you should see the the Upload users results screen.&lt;br /&gt;
[[File:Upload users results 2.0.JPG|thumb|center|The results screen; everything went well!]]&lt;br /&gt;
This screen will show you any exceptions or changes that were made to each user in the upload process. For example if you were updating user information, the updated information will be shown. Or if a user was not added that record will be highlighted.&lt;br /&gt;
&lt;br /&gt;
The screen will summarize how many users were uploaded or updated, indicate the number of weak passwords and the number of errors.&lt;br /&gt;
==Advanced potentials of Upload user==&lt;br /&gt;
===Templates===&lt;br /&gt;
&#039;&#039;Note: This section needs checking and updating if necessary for Moodle 2.0. Please do so and remove this note when finished.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The default values are processed as templates in which the following codes are allowed:&lt;br /&gt;
* %l - will be replaced by the lastname&lt;br /&gt;
* %f - will be replaced by the firstname&lt;br /&gt;
* %u - will be replaced by the username&lt;br /&gt;
* %% - will be replaced by the %&lt;br /&gt;
Between the percent sign (%) and any code letter (l, f or u) the following modifiers are allowed:&lt;br /&gt;
* (-) minus sign - the information specified by the code letter will be converted to lowercase&lt;br /&gt;
* (+) plus sign - the information specified by the code letter will be converted to UPPERCASE&lt;br /&gt;
* (~) tilde sign - the information specified by the code letter will be converted to Title Case&lt;br /&gt;
* a decimal number - the information specified by the code letter will be truncated to that many characters&lt;br /&gt;
For example, if the firstname is John and the lastname is Doe, the following values will be obtained with the specified templates:&lt;br /&gt;
* %l%f = DoeJohn&lt;br /&gt;
* %l%1f = DoeJ&lt;br /&gt;
* %-l%+f = doeJOHN&lt;br /&gt;
* %-f_%-l = john_doe&lt;br /&gt;
*&amp;lt;nowiki&amp;gt; http://www.example.com/~%u/&amp;lt;/nowiki&amp;gt; results in &amp;lt;nowiki&amp;gt;http://www.example.com/~jdoe/&amp;lt;/nowiki&amp;gt; (if the username is jdoe or %-1f%-l)&lt;br /&gt;
Template processing is done only on default values, and not on the values retrieved from the CSV file.&lt;br /&gt;
&lt;br /&gt;
In order to create correct Moodle usernames, the username is always converted to lowercase. Moreover, if the &amp;quot;Allow extended characters in usernames&amp;quot; option in the Site policies page is off, characters different to letters, digits, dash (-) and dot (.) are removed. For example if the firstname is John Jr. and the lastname is Doe, the username %-f_%-l will produce john jr._doe when Allow extended characters in usernames is on, and johnjr.doe when off.&lt;br /&gt;
&lt;br /&gt;
When the &amp;quot;New username duplicate handling&amp;quot; setting is set to Append counter, an auto-increment counter will be append to duplicate usernames produced by the template. For example, if the CSV file contains the users named John Doe, Jane Doe and Jenny Doe without explicit usernames, the default username is %-1f%-l and New username duplicate handling is set to Append counter, then the usernames produced will be jdoe, jdoe2 and jdoe3.&lt;br /&gt;
===Deleting accounts===&lt;br /&gt;
If the &#039;&#039;&#039;deleted&#039;&#039;&#039; field is present, users with value 1 for it will be deleted. In this case, all the fields may be omitted, except for &#039;&#039;&#039;username&#039;&#039;&#039;. After uploading the file, be sure to change the &amp;quot;Upload type&amp;quot; to &amp;quot;Update existing users only&amp;quot; and the &amp;quot;Allow deletes&amp;quot; option to &amp;quot;Yes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; A similar field is available for &#039;&#039;&#039;suspended&#039;&#039;&#039;. This enables a user account to be temporarily disabled rather than completely removed.&lt;br /&gt;
&lt;br /&gt;
Deleting and uploading accounts could be done with a single CSV file. For example, the following file will add the user Tom Jones and delete the user reznort:&lt;br /&gt;
 username,firstname,lastname,deleted&lt;br /&gt;
 jonest,Tom,Jones,0&lt;br /&gt;
 reznort,,,1&lt;br /&gt;
==Encoding file format==&lt;br /&gt;
On the initial Upload user screen, you may select the file encoding format from a pull down list. These include UTF-8 (the default), ASCII, ISO-8859-1 to ISO-8859-11 or any one of over 36 formats.&lt;br /&gt;
==Hints==&lt;br /&gt;
===Spreadsheet===&lt;br /&gt;
If you use a spreadsheet program such as Excel to create your .csv file, check the resulting output in a text editor before you upload it. It is possible to get trailing commas on each line from an empty field if you have added and deleted columns of information prior to saving the final file. Also check the character encoding. A csv file is a simple text file (ASCII or Unicode) that can be used to upload user accounts.&lt;br /&gt;
&lt;br /&gt;
Excel translates passwords that begin with - (minus) or + (plus) as zero. Even when saving as .csv and saying &amp;quot;Yes&amp;quot; to &amp;quot;Keep this format, and leave out any incompatible features.&amp;quot; Check for this before uploading, as a zero halts the upload process.&lt;br /&gt;
&lt;br /&gt;
If you use a formula in Excel to create fields (for example, the concatenate function to create a user name), then remember to copy the cells with the formula and use special paste with values checked to make them into an acceptable data for a csv file.&lt;br /&gt;
&lt;br /&gt;
The upload will also fail if you have trailing spaces at the end of your data fields. Often, this can not be removed with a simple Find &amp;quot; &amp;quot; and Replace with &amp;quot;&amp;quot;. If information has been copied from web sources than it is possible to include non-breaking spaces which will prevent your upload from being completed correctly. To find these invisible spaces, use the Find and Replace function in Excel. In the find field, hold alt and type 0160. Leave the replace field blank. &lt;br /&gt;
===Field size limits===&lt;br /&gt;
Some fields have maximum character lengths, as defined in the database fields. Typically the file will import to the preview list screen but not finish the process. Turn on debug to see the fields that are too long. The error will be &amp;quot;User not added - error&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The sizes of some common fields, in number of characters, are currently (3.2):&lt;br /&gt;
*username - 100 	 &lt;br /&gt;
*password - 255 	 &lt;br /&gt;
*idnumber - 255 	 &lt;br /&gt;
*firstname - 100 	 &lt;br /&gt;
*lastname - 100 	 &lt;br /&gt;
*lastnamephonetic - 255 	 &lt;br /&gt;
*firstnamephonetic - 255 	 &lt;br /&gt;
*middlename - 255 	 &lt;br /&gt;
*alternatename - 255 &lt;br /&gt;
*institution - 255&lt;br /&gt;
*department - 255 	 &lt;br /&gt;
*address - 255 	 &lt;br /&gt;
*city - 120 	 &lt;br /&gt;
*icq -15 	 &lt;br /&gt;
*skype - 50 	 &lt;br /&gt;
*yahoo - 50 	 &lt;br /&gt;
*aim - 50&lt;br /&gt;
*msn - 50 	 &lt;br /&gt;
*phone1 - 20 	 &lt;br /&gt;
*phone2 - 20&lt;br /&gt;
===All user fields listed here===&lt;br /&gt;
:All the user fields that are valid in an upload file are listed below, except for any custom fields you may have created (for which see below.)&lt;br /&gt;
&amp;lt;pre&amp;gt;firstname,lastname,username,email,password,auth,idnumber,institution,department,city,country,timezone,lang,mailformat,maildisplay,maildigest,htmleditor,autosubscribe,skype,msn,aim,yahoo,icq,phone1,phone2,address,url,description,descriptionformat,interests,oldusername,deleted,suspended,alternatename,lastnamephonetic,firstnamephonetic,middlename&amp;lt;/pre&amp;gt;&lt;br /&gt;
The enrolments into courses information are &amp;lt;pre&amp;gt;course1,type1,role1,group1,enrolperiod1,enrolstatus1&amp;lt;/pre&amp;gt;&lt;br /&gt;
where each enrolment is grouped by number.&lt;br /&gt;
===Capabilities===&lt;br /&gt;
You may wish to create a limited role to allow some users access to this function. Create a role at the system/site level with the following capabilities allowed:&lt;br /&gt;
* moodle/site:uploadusers&lt;br /&gt;
* moodle/role:assign&lt;br /&gt;
And &lt;br /&gt;
* In &#039;Allow role assignments&#039; tab of this new role, permit it to assign the required roles that it may be uploading, especially Student, but also Teacher, Non-editing Teacher, and any other custom roles you may have created, which will be used in the uploads to assign users to.&lt;br /&gt;
In particular, don&#039;t forget the moodle/role:assign capability (even if these users have it in the courses they will be enrolling users in - it won&#039;t work).&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Flat file]] enrolment&lt;br /&gt;
* [[User profile fields]] for details of how to include data about custom user profile fields in the upload users file&lt;br /&gt;
* [[Upload courses]]&lt;br /&gt;
Forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=97903 Uploading users to custom roles]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=144569 Matriculacion con flat file csv] - discussion in Spanish&lt;br /&gt;
[[fr:Importer des utilisateurs]]&lt;br /&gt;
[[ja:ユーザのアップロード]]&lt;br /&gt;
[[de:Nutzerliste hochladen]]&lt;br /&gt;
[[es:Subir usuarios]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Upload_users&amp;diff=138990</id>
		<title>Upload users</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Upload_users&amp;diff=138990"/>
		<updated>2022-02-17T19:42:42Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: Typo: nlogin to nologin&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Accounts}}&lt;br /&gt;
==Uploading users via text file==&lt;br /&gt;
There are many options for uploading information (fields associated with a user) with this method: from enrolling users in multiple courses with course specific [[Roles|roles]] to updating user information in the [[User profile]] to deleting users from the site.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; It is usually not necessary to upload users in bulk with Upload users. To keep maintenance work down you should first explore forms of authentication that do not require manual maintenance, such as [[External database authentication|connecting to existing external databases]] or letting the users create their own accounts ([[Self enrolment]]). See [[Authentication]] for more information.&lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/blUw-ZbhFqw| desc = How to bulk upload users and add to courses}}&lt;br /&gt;
==File formats for upload users file==&lt;br /&gt;
The upload users file has fields separated by a comma (or other delimiter) ONLY - no space. The first line contains the valid field names. The rest of the lines (records) contain information about each user.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; Avoid special characters in field information like quotes or other commas. Test a file with only one record before a large upload.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; You can use a spread sheet program to create the file with the required columns and fields. Then save the file as &amp;quot;CSV (comma delimited)&amp;quot;. These files can be opened with simple text editors (eg, [https://notepad-plus-plus.org/ Notepad++]) for verification. &lt;br /&gt;
===Valid upload file for testing===&lt;br /&gt;
*From Site administration / Users / Upload users, an example text (.csv) file is available. It includes can be downloaded and adapted to your needs. &lt;br /&gt;
username,firstname,lastname,email&lt;br /&gt;
&lt;br /&gt;
student1,Student,One,s1@example.com&lt;br /&gt;
&lt;br /&gt;
student2,Student,Two,s2@example.com&lt;br /&gt;
&lt;br /&gt;
student3,Student,Three,s3@example.com&lt;br /&gt;
*Additional fields can be added as below. The course and cohort must already have been manually created.&lt;br /&gt;
username,firstname,lastname,email,course1,group1,cohort1&lt;br /&gt;
&lt;br /&gt;
student1,Student,One,s1@example.com,math102,groupA,cohortZ&lt;br /&gt;
&lt;br /&gt;
student2,Student,Two,s2@example.com,math102,groupB,cohort Y&lt;br /&gt;
&lt;br /&gt;
student3,Student,Three,s3@example.com,math102,groupA,cohortZ&lt;br /&gt;
== User Fields that can be included==&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; We strongly recommend that you test a file that contains fields you proposed to use with one user before attempting a file upload for the first time. &lt;br /&gt;
===Required fields===&lt;br /&gt;
These are the required user identification fields:&lt;br /&gt;
&amp;lt;code&amp;gt;username,firstname,lastname,email&amp;lt;/code&amp;gt;&lt;br /&gt;
Validity checks are performed for:&lt;br /&gt;
* &#039;&#039;&#039;username&#039;&#039;&#039; can only contain alphabetical &#039;&#039;&#039;lowercase&#039;&#039;&#039; letters , numbers, hypen &#039;-&#039;, underscore &#039;_&#039;, period &#039;.&#039;, or at-sign &#039;@&#039; &lt;br /&gt;
* &#039;&#039;&#039;email&#039;&#039;&#039; is in the form: &#039;&#039;name@example.com&#039;&#039;&lt;br /&gt;
===Passwords===&lt;br /&gt;
The &amp;quot;password&amp;quot; field is optional if the &#039;New user password&#039; setting on the upload screen is set to &amp;quot;Create password if needed and send via email&amp;quot; but is required if the setting is &amp;quot;Field required in file&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If included, values should meet the requirements for the site&#039;s [[Site_policies#Password_policy|Password policy]]. &lt;br /&gt;
&lt;br /&gt;
To force password change for a particular user, set the password field to &#039;&#039;&#039;changeme&#039;&#039;&#039;. If omitted, a password will be generated for each user (during the next Cron job) and welcome e-mails sent out. The text for the welcome e-mail is in the language settings in &#039;&#039;Site administration &amp;gt; Language &amp;gt; Language customisation&#039;&#039; with a String identifier of &#039;newusernewpasswordtext&#039;.&lt;br /&gt;
===Optional user fields===&lt;br /&gt;
Note: Commas within a field must be encoded as &amp;amp;#44 - the script will decode these back to commas.&lt;br /&gt;
Tip: For Boolean fields with only two values, use &#039;&#039;&#039;0&#039;&#039;&#039; for false and &#039;&#039;&#039;1&#039;&#039;&#039;for true. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To provide values other than the default you can include one or more of these optional user fields:&lt;br /&gt;
&amp;lt;pre&amp;gt;institution,department,city,country,lang,auth,timezone,idnumber,icq,phone1,phone2,address,url,description,mailformat,maildisplay,maildigest,htmleditor,autosubscribe,interests,theme&amp;lt;/pre&amp;gt;&lt;br /&gt;
Most of the these are user profile fields or user preference fields that belong to the user profile and are the filled in the user or at manual creation. Some however require specific formats:&lt;br /&gt;
&lt;br /&gt;
See [[Additional name fields]] for more details. Key things to note are:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;country&#039;&#039;&#039; - use the country TWO LETTER CODE, in upper case, eg AU,ES,GB,US. These are all UPPER CASE. Using &amp;quot;au&amp;quot; or &amp;quot;es&amp;quot; or &amp;quot;USA&amp;quot; as a country code will result in a database error. If you are having trouble working out the two-letter code for a country, you can consult the list of [https://www.iso.org/obp/ui/#search country names and code elements] available on the ISO Website. A common error is to use UK for United Kingdom; it should be GB.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;lang&#039;&#039;&#039; - use the two letter (or extended four lettter) code as defined in the Moodle language packs, e.g. en, es, en_us, de, in &#039;&#039;Site administration &amp;gt; Language &amp;gt; Language packs&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth&#039;&#039;&#039; - The auth field must be used if the site uses an alternative authentication method, such as LDAP, as otherwise the authentication method will default to manual and users using a different auth method won&#039;t be able to log in.&lt;br /&gt;
Use the shortname codes defined in Plugins &amp;gt; Authentication for the various types, e.g. manual, nologin, ldap, cas, mnet, db, none. If you do not include an auth column, then newly created users will be created with the manual account type.&lt;br /&gt;
&lt;br /&gt;
You can set &amp;quot;auth&amp;quot; to &amp;quot;nologin&amp;quot; in your csv file which will mean that then created users cannot login.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;timezone&#039;&#039;&#039; - Should be in the format as found in the Location settings in terms of Zone/Region, eg. Australia/Sydney, Asia/Kathmandu, Europe/Madrid, etc. The entry is case sensitive so Europe/London will work but europe/london will not.&lt;br /&gt;
&lt;br /&gt;
NOTE: Needed: settings for &#039;&#039;&#039;mailformat&#039;&#039;&#039;,&#039;&#039;&#039;maildisplay&#039;&#039;&#039;,&#039;&#039;&#039;htmleditor&#039;&#039;&#039;,&#039;&#039;&#039;autosubscribe&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;maildigest&#039;&#039;&#039; To prevent users from receiving a large number of emails from courses or forced subscription forums use the &#039;&#039;&#039;maildigest&#039;&#039;&#039;. The options for this field are 0 = No digest, 1 = Complete digest and 2 = Digest with just subjects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;maildisplay&#039;&#039;&#039; allows you to set the email display option for a user. The options for this field are 0 = Hide my email address from non-privileged users, 1 = Allow everyone to see my email address and 2 = Allow only other course members to see my email address.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;theme&#039;&#039;&#039; User themes may be added by using &#039;classic&#039;, &#039;boost&#039; or the name of any other installed theme. The value should be the short name of the theme, e.g &#039;boost&#039; not &#039;Boost&#039;, &#039;fordson&#039; not &#039;Fordson&#039;.&lt;br /&gt;
===Custom profile field names===&lt;br /&gt;
These are optional and depend on whether you have created any custom profile fields in your site. The name of the header in file is of the form &#039;profile_field_xxxxx&#039; where xxxx is the unique shortname of custom user profile field name as you created it. &lt;br /&gt;
&lt;br /&gt;
The field name should match the case of the profile field shortname. So, for instance if the shortname of your custom profile field is all upper case, for example, &#039;&#039;DOB&#039;&#039;, then use a header of &#039;&#039;profile_field_DOB&#039;&#039; to match the case, not &#039;&#039;profile_field_dob&#039;&#039;, which will produce a &amp;quot;is not a valid field name&amp;quot; error. Likewise, a mixed case shortname such as &#039;&#039;Dob&#039;&#039; should have a header of &#039;&#039;profile_field_Dob&#039;&#039;. (The exception to this is if the shortname is all lower case, then any case will work in the field header, which is a historical quirk: but best practice is to match the case and you will avoid errors.)&lt;br /&gt;
&amp;lt;pre&amp;gt;profile_field_xxxxx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;: To create a custom field &amp;quot;genre&amp;quot;, you must write a shortname &amp;quot;genre&amp;quot; in the new field, and write &amp;quot;profile_field_genre&amp;quot; in the header of the .csv file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For custom profile fields that are dates, use the ISO standard format YYYY-MM-DD, eg. 2014-06-19 which will then be properly localized in the interfaced. For example, a field called dohire for date of hire, the fields could be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username,firstname,lastname,email,profile_field_dohire&lt;br /&gt;
blumbergh,Bill,Lumbergh,blumbergh@example.com,1990-02-19&lt;br /&gt;
pgibbons,Peter,BGibbons,pgibbons@example.com,1996-06-05&lt;br /&gt;
tsmykowski,Tom,Smykowski,tsmykowski@example.com,1970-01-01 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For custom profile fields that are a menu, use the corresponding value in the menu list from field as you defined it. For example: a custom field &#039;corporatedivision&#039; with one of three values &#039;Management&#039;, &#039;Development&#039; or &#039;Training&#039;. Just insert one of those three words (e.g. &#039;Training&#039;) as the value for that field. Eg.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username,firstname,lastname,email,profile_field_corporatedivision&lt;br /&gt;
blumbergh,Bill,Lumbergh,blumbergh@example.com,Management&lt;br /&gt;
pgibbons,Peter,BGibbons,pgibbons@example.com,Development&lt;br /&gt;
tsmykowski,Tom,Smykowski,tsmykowski@example.com,Training &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Special user change fields===&lt;br /&gt;
Three special fields are used for managing user accounts, &#039;&#039;&#039;oldusername&#039;&#039;&#039;, &#039;&#039;&#039;deleted&#039;&#039;&#039; and &#039;&#039;&#039;suspended&#039;&#039;&#039;. [[#Allow_renames|See below for details]].&lt;br /&gt;
===Enrolment fields===&lt;br /&gt;
You may optionally enrol users in already existing courses using manual enrolment. Only manual enrolment is done this way; if the manual enrolment method is disabled in a course, then no enrol is done.&lt;br /&gt;
&lt;br /&gt;
You use fields in the upload file of this type:&lt;br /&gt;
&amp;lt;pre&amp;gt;course1,type1,role1,group1,enroltimestart1,enrolperiod1,enrolstatus1,course2,type2,role2,group2,enroltimestart2,enrolperiod2,enrolstatus2&amp;lt;/pre&amp;gt; etc.&lt;br /&gt;
Header fields &#039;&#039;&#039;must&#039;&#039;&#039; have a numeric suffix such that type1,role1,group1,enrolperiod1 and enrolstatus1 all apply to course1 for course&#039;&#039;&#039;1&#039;&#039;&#039; to course&#039;&#039;&#039;n&#039;&#039;&#039;. Even if you are just doing one course enrolment, you must still use the number 1 on the heading name, i.e. course1,role1, etc. Do not use the bare headings without numbers, e.g. course,role, etc as those will generate an error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;course#&#039;&#039;&#039; is the shortname of the course, if present the user will be enrolled in that course. Do not use the fullname of the course or it will generate an error. This field is the ONLY required field for a succesful enrolment. All the others are optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;type#&#039;&#039;&#039; sets the role to be used for the enrolment. A value of 1 is default course role, 2 is legacy Teacher role and 3 is legacy Non-editing Teacher.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;role#&#039;&#039;&#039; may be used to specify roles directly, using either role short name or the role id (numeric names of roles are not supported). Usually you will use the role name that is the shortname of the role as defined in Users &amp;gt; Permissions &amp;gt; Define roles, eg. student, editingteacher. If the role column is left out, the users will be enroled in the course with the default role, which is normally student.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;group#&#039;&#039;&#039; may be used to assign users to groups in course, using name or id (numeric group names are not supported). NOTE: if the group does not already exist, it will be created.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;enroltimestart#&#039;&#039;&#039; may be used to set the enrolment start time, for each course. If not explicitly set here, the enrolment start time is set to be today.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;enrolperiod#&#039;&#039;&#039; may be used to set the enrolment duration, in days, for each course. If not explicitly set here, all the users will get the duration as set in the Manual enrolment method of the course (which defaults to 0 meaning unlimited.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;enrolstatus#&#039;&#039;&#039; is optional as by default all newly enrolled users are set to active. If used a value of 1, it will suspend users in the course and if a user is previously set as inactive / suspended then a value of 0 will unsuspend them and make them active again.&lt;br /&gt;
=== Cohort membership assignment===&lt;br /&gt;
You can assign users to any already existing Cohort by using only the &amp;quot;username&amp;quot; and the &amp;quot;Cohort ID&amp;quot; with just two fields in the file. Note that this is an exception to the usual case where the firstname, lastname and email address of the user are required.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;cohort#&#039;&#039;&#039; is the form to use and like enrolment in courses, you have to add a number to each header, so cohort1,cohort2, etc.&lt;br /&gt;
&lt;br /&gt;
Internal cohort id numbers or non-numeric Cohort IDs of existing cohorts must be used; do not use the full name are not allowed. (Note that cohort id is what is usually known elsewhere as the &amp;quot;shortname&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
Here is a sample CSV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username,cohort1,cohort2&lt;br /&gt;
student1,nursing,2016class&lt;br /&gt;
student2,nursing,2014class&lt;br /&gt;
student3,nursing,2014class&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== MNet ===&lt;br /&gt;
Existing [[MNet]]users can be added to courses, groups or cohorts as below by using the field header &#039;&#039;&#039;mnethostid&#039;&#039;&#039;&lt;br /&gt;
#enrolling to courses: username+mnethostid+course required&lt;br /&gt;
#adding to group: username+mnethostid+course+group required&lt;br /&gt;
#adding to cohort: username+mnethostid+cohort required&lt;br /&gt;
#suspending/reviving accounts: username+mnethostid+suspended required&lt;br /&gt;
All other operations are ignored. You can not add users, delete them or update them (such as change names or email, profile fields, etc.)&lt;br /&gt;
=== Set system roles ===&lt;br /&gt;
Users may also be assigned to already defined system roles, using the shortname of the system role as defined in &#039;&#039;Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles&#039;&#039; for roles with a system context defined.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sysrole1,sysrole2,sysrole3&amp;lt;/code&amp;gt; etc&lt;br /&gt;
&lt;br /&gt;
Users may be uploaded to a system role (usually Manager or Course creator) by entering the shortname of that role. Other roles can only be uploaded if they have already been assigned in the &#039;system&#039; context. See [[Creating custom roles]]. Multiple roles can be assigned using sysrole2, sysrole3, etc. fields. Note that the number suffix in no way relates to the number suffixes on the enrolment fields. The numbers must go up in sequence starting at 1.&lt;br /&gt;
&lt;br /&gt;
Unassigning system roles&lt;br /&gt;
Users can also be removed from a given system role by entering the shortname of that role prefixed with a minus symbol: &#039;-&#039;. If the user is currently assigned to that role, they are removed from it. If the user is not currently assigned to that system role, the field value is ignored. However, the field value must refer to a system role that does exist on the system, otherwise an error will occur.&lt;br /&gt;
[[File:GlobalRoles1.png|thumb|500px|center|Example of a file for uploading users with global/system roles]]&lt;br /&gt;
==Upload user process==&lt;br /&gt;
# Create file for uploading&lt;br /&gt;
# Go to &#039;&#039;Site administration &amp;gt; Users &amp;gt; Accounts &amp;gt; Upload users&#039;&#039;&lt;br /&gt;
# Add file to upload&lt;br /&gt;
# Upload users preview - check settings and default user profile settings&lt;br /&gt;
# Upload users preview - click &amp;quot;Upload users&amp;quot;&lt;br /&gt;
# Upload users results - shows list of users, exceptions made in upload and summary of number of users&lt;br /&gt;
# Upload users results - click &amp;quot;Continue&amp;quot;&lt;br /&gt;
# Returns to Upload users screen&lt;br /&gt;
==Updating users preview==&lt;br /&gt;
There are various settings to better control the desired upload behaviour. These settings are found on the &amp;quot;Upload users preview&amp;quot; page.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: errors updating existing accounts can affect your users badly. &#039;&#039;&#039;&#039;&#039;Be careful&#039;&#039;&#039;&#039;&#039; when using the options to update.&lt;br /&gt;
====Upload type====&lt;br /&gt;
The Upload type specifies how to handle existing accounts.&lt;br /&gt;
;Add new only, skip existing users : is the default Moodle upload type. It creates a new user account for each new record in the uploaded file. If an existing username is found in the uploaded file matches an existing username, that record is &#039;&#039;&#039;skipped&#039;&#039;&#039;. By skipping the existing user account, the data in the existing record is not touched (in contrast to the &amp;quot;Add new and update existing users&amp;quot; option) and a second new user account is &#039;&#039;&#039;not&#039;&#039;&#039; created (in contrast to the &amp;quot;Add all, append number to usernames if needed&amp;quot; option). &lt;br /&gt;
&lt;br /&gt;
;Add all, append number to usernames if needed : creates a new user account for each record in the uploaded file. If an existing user account is found, a new account will be created with a number appended to the username. For example, if a user account for username &#039;jsmith&#039; already exists and a new record in the uploaded file contains a record forusername &#039;jsmith&#039; an additional user account is created with a 1 &#039;&#039;&#039;appended&#039;&#039;&#039; to the username to produce user &#039;jsmith1&#039;. &lt;br /&gt;
&lt;br /&gt;
;Add new and update existing users: creates a new user account for each new user in the upload file. If an existing user account with the same username is found, the account information is &#039;&#039;&#039;updated&#039;&#039;&#039; by the data in the uploaded file. &lt;br /&gt;
&lt;br /&gt;
;Update existing users only : ignores any new users found in the upload file and updates the user account if a matching username record is found in the uploaded file.&lt;br /&gt;
====New user password====&lt;br /&gt;
When creating a new user account Moodle can create a new password (if one is not provided) or require a password in the uploaded file.&lt;br /&gt;
;Create password if needed and send via email: creates a random default password for each new user account if one is not provided in the uploaded file, and emails the user their user information and new password.&lt;br /&gt;
&lt;br /&gt;
;Field required in file : requires that a password be provided in the uploaded file in order. If a password is not provided, an error is generated and the user account is not created. No notification of this user information or password is sent to the user.&lt;br /&gt;
====Existing user details====&lt;br /&gt;
The Existing user details options are only available when the Upload type allows existing user accounts to be updated. It specifies how Moodle should process user detail information for existing users.&lt;br /&gt;
;No changes : ignores user detail data in the uploaded and leaves the existing user account data unchanged.&lt;br /&gt;
;Override with file : overwrites data in the existing user account with the data provided in the uploaded file.&lt;br /&gt;
;Override with file and defaults : overwrites data in the existing user account with data provided in the uploaded file and fills in the default values for existing user details when no data is provided in the uploaded file.&lt;br /&gt;
;Fill in missing from file and defaults : adds data in the existing user account with data provided in the uploaded file if the field is empty (does not already contain data) and fills in the default values for existing user details when no data is provided in the uploaded file.&lt;br /&gt;
====Existing user password====&lt;br /&gt;
The Existing user password option appears when you you have set the &amp;quot;Existing user details&amp;quot; setting to &amp;quot;Overwrite with file&amp;quot;. It specifies how to handle password data for existing user accounts, to change them or leave them as it. This is a bit of insurance to make sure that you really want to mass change user passwords.&lt;br /&gt;
;No changes : ignores password field in the uploaded user file and leaves the existing user account password untouched&lt;br /&gt;
;Update : overwrites the existing user account password with the password provided in the uploaded file&lt;br /&gt;
====Force password change====&lt;br /&gt;
The Force password change option specifies when to tag a user account so that the next login attempt will require the user to change the user&#039;s password.&lt;br /&gt;
;Users having a weak password : If the user account has a weak password as defined by the site&#039;s [[Password_policy#Password_policy|Password policy]] then the user will be forced to change the password during the next login attempt. This option is not shown if there the site does not have a [[Password_policy#Password_policy|Password policy]]. &lt;br /&gt;
;None : None of the users in the uploaded file will be forced to change the password during the user&#039;s next login attempt.&lt;br /&gt;
;All : All of the users in the uploaded file will be forced to change the password during the user&#039;s next login attempt.&lt;br /&gt;
====Allow renames====&lt;br /&gt;
If the uploaded file contains the special &#039;&#039;&#039;oldusername&#039;&#039;&#039; field, it is possible to rename a user from the &#039;&#039;&#039;oldusername&#039;&#039;&#039; to a new &#039;&#039;&#039;username&#039;&#039;&#039;. The default setting is to &#039;&#039;&#039;not&#039;&#039;&#039; allow renames. Keep in mind that renaming a user will require the user to use the new username when logging in.&lt;br /&gt;
;No : ignores the &#039;&#039;&#039;oldusername&#039;&#039;&#039; field and leaves the existing user account&#039;s username field unchanged.&lt;br /&gt;
;Yes : allows the existing user account&#039;s username to be changed by the data provided in the uploaded file&#039;s username field. The &#039;&#039;&#039;oldusername&#039;&#039;&#039; will be searched for and then updated with the data provided in the username column.&lt;br /&gt;
====Allow deletes====&lt;br /&gt;
If the uploaded file contains the &#039;&#039;&#039;deleted&#039;&#039;&#039; special field, it is possible to use the upload file to delete existing user accounts. The default setting is to &#039;&#039;&#039;not&#039;&#039;&#039; allow deletes. Keep in mind that deleting a user account will prevent that user from logging in. As a protection, site administrator user accounts cannot be deleted with this method. &lt;br /&gt;
;No : ignores the &#039;&#039;&#039;deleted&#039;&#039;&#039; special field in the uploaded file and leaves the existing user account unchanged&lt;br /&gt;
;Yes : allows the existing user account to be deleted when the value of the of the &#039;&#039;&#039;deleted&#039;&#039;&#039; field is 1. &lt;br /&gt;
====Allow suspending and activating of accounts====&lt;br /&gt;
If the uploaded file contains the &#039;&#039;&#039;suspended&#039;&#039;&#039; special field, it is possible to use the upload file to either suspend or make active (unsuspend) existing user accounts. The default setting is to allow suspending/activating of existing user accounts. Keep in mind that suspending an existing user account will prevent that user from logging in. &lt;br /&gt;
;Yes : allows the existing user account to be suspended when the value of the of the &#039;&#039;&#039;suspended&#039;&#039;&#039; field is 1. &lt;br /&gt;
;No : ignores the &#039;&#039;&#039;suspended&#039;&#039;&#039; special field in the uploaded file and leaves the existing user account status unchanged.&lt;br /&gt;
====Prevent email address duplicates====&lt;br /&gt;
It is possible, but &#039;&#039;&#039;not&#039;&#039;&#039; recommended to upload users with duplicate email addresses. By default, uploading users with duplicate email addresses is prevented. To allow duplicate email addresses, go to Site administration ► Plugins ► Authentication ► Manage authentication. You can tick &amp;quot;Allow accounts with same email&amp;quot;. Then on the upload users screen you will be allowed to change the &amp;quot;Prevent email address duplicates&amp;quot; setting. &lt;br /&gt;
&lt;br /&gt;
However, doing this is not recommended for file uploads. Test thoroughly any user uploads before implementing.&lt;br /&gt;
&lt;br /&gt;
For more info, see the [[Managing_authentication#Allow_accounts_with_same_email|Managing authentication]] docs page&lt;br /&gt;
;Yes :prevents user accounts from being created from the uploaded if an existing user account already has the same email address as found in the uploaded file&#039;s &#039;&#039;&#039;email&#039;&#039;&#039; column.&lt;br /&gt;
;No :allows user accounts to be created if an existing user account already has the same email address found in the uploaded file&#039;s &#039;&#039;&#039;email&#039;&#039;&#039; column.&lt;br /&gt;
====Standardise usernames====&lt;br /&gt;
Standardise usernames is used by default to convert the username to all lower case and to strip out illegal characters. It is possible to not standardise the usernames; however, doing so is &#039;&#039;&#039;not&#039;&#039;&#039; recommended.&lt;br /&gt;
;Yes : standardises usernames found in the uploaded file before updating existing or creating new user accounts so that the username contains only lowercase letters and numbers.&lt;br /&gt;
;No : skips standardising usernames found in the uploaded file so that the newly created or updated usernames will be exactly as they are in the uploaded file (&#039;&#039;&#039;not recommended&#039;&#039;&#039;).&lt;br /&gt;
For those seeking a more technical explanation, the process for standardising the usernames consists of ensuring the characters are all UTF-8 (fix_utf8) encoded, converting the username to lower case, and then stripping out non-letters/non-number characters (unless &#039;&#039;Site administration &amp;gt; Security &amp;gt; Site policies &amp;gt; Allow extended characters in usernames&#039;&#039; is set on) with something similar to: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$username = preg_replace(&#039;/[^-\.@_a-z0-9]/&#039;, &#039;&#039;, $username);&amp;lt;/code&amp;gt;&lt;br /&gt;
====Select for bulk user actions====&lt;br /&gt;
After the uploaded file has finished being processed (all new accounts have been created and existing accounts updated as specified by the previous settings), there is an option to select some of those user accounts to perform additional [[admin/user/user_bulk|bulk user actions]] such as &lt;br /&gt;
*Confirm user accounts created through Email-based self-registration which are not yet confirmed by the user&lt;br /&gt;
*Send a message (requires Messaging to be enabled)&lt;br /&gt;
*Delete user accounts&lt;br /&gt;
*Display a list of users on a page&lt;br /&gt;
*Download user data in text, ODS or Excel file format&lt;br /&gt;
*Force users to change their passwords&lt;br /&gt;
*Add users to a cohort&lt;br /&gt;
By default, no users are selected for [[admin/user/user_bulk|bulk user actions]].&lt;br /&gt;
;No : No users are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
;New users : Only newly created users are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
;Updated users : Only updated user accounts are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
;All users : All users found (existing updated users and newly created user accounts) in the uploaded file are selected for [[admin/user/user_bulk|bulk user actions]]&lt;br /&gt;
===Default values===&lt;br /&gt;
You can provide default user values for some fields not included in the uploaded file. Some fields include:&lt;br /&gt;
*Email display&lt;br /&gt;
*Forum auto-subscribe&lt;br /&gt;
*City/town&lt;br /&gt;
*ID number&lt;br /&gt;
*Institution&lt;br /&gt;
*Department&lt;br /&gt;
By clicking the &#039;&#039;&#039;Show more....&#039;&#039;&#039; link, other default user profile fields will show up. You can set 17 different fields here, including the Authentication method, Country. Language, Timezone, as well as most other standard User profile fields.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you have created any custom profile fields for your users, they will show up here.&lt;br /&gt;
==Upload user results ==&lt;br /&gt;
After accepting the preview settings by clicking on &amp;quot;Upload users&amp;quot;, you should see the the Upload users results screen.&lt;br /&gt;
[[File:Upload users results 2.0.JPG|thumb|center|The results screen; everything went well!]]&lt;br /&gt;
This screen will show you any exceptions or changes that were made to each user in the upload process. For example if you were updating user information, the updated information will be shown. Or if a user was not added that record will be highlighted.&lt;br /&gt;
&lt;br /&gt;
The screen will summarize how many users were uploaded or updated, indicate the number of weak passwords and the number of errors.&lt;br /&gt;
==Advanced potentials of Upload user==&lt;br /&gt;
===Templates===&lt;br /&gt;
&#039;&#039;Note: This section needs checking and updating if necessary for Moodle 2.0. Please do so and remove this note when finished.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The default values are processed as templates in which the following codes are allowed:&lt;br /&gt;
* %l - will be replaced by the lastname&lt;br /&gt;
* %f - will be replaced by the firstname&lt;br /&gt;
* %u - will be replaced by the username&lt;br /&gt;
* %% - will be replaced by the %&lt;br /&gt;
Between the percent sign (%) and any code letter (l, f or u) the following modifiers are allowed:&lt;br /&gt;
* (-) minus sign - the information specified by the code letter will be converted to lowercase&lt;br /&gt;
* (+) plus sign - the information specified by the code letter will be converted to UPPERCASE&lt;br /&gt;
* (~) tilde sign - the information specified by the code letter will be converted to Title Case&lt;br /&gt;
* a decimal number - the information specified by the code letter will be truncated to that many characters&lt;br /&gt;
For example, if the firstname is John and the lastname is Doe, the following values will be obtained with the specified templates:&lt;br /&gt;
* %l%f = DoeJohn&lt;br /&gt;
* %l%1f = DoeJ&lt;br /&gt;
* %-l%+f = doeJOHN&lt;br /&gt;
* %-f_%-l = john_doe&lt;br /&gt;
*&amp;lt;nowiki&amp;gt; http://www.example.com/~%u/&amp;lt;/nowiki&amp;gt; results in &amp;lt;nowiki&amp;gt;http://www.example.com/~jdoe/&amp;lt;/nowiki&amp;gt; (if the username is jdoe or %-1f%-l)&lt;br /&gt;
Template processing is done only on default values, and not on the values retrieved from the CSV file.&lt;br /&gt;
&lt;br /&gt;
In order to create correct Moodle usernames, the username is always converted to lowercase. Moreover, if the &amp;quot;Allow extended characters in usernames&amp;quot; option in the Site policies page is off, characters different to letters, digits, dash (-) and dot (.) are removed. For example if the firstname is John Jr. and the lastname is Doe, the username %-f_%-l will produce john jr._doe when Allow extended characters in usernames is on, and johnjr.doe when off.&lt;br /&gt;
&lt;br /&gt;
When the &amp;quot;New username duplicate handling&amp;quot; setting is set to Append counter, an auto-increment counter will be append to duplicate usernames produced by the template. For example, if the CSV file contains the users named John Doe, Jane Doe and Jenny Doe without explicit usernames, the default username is %-1f%-l and New username duplicate handling is set to Append counter, then the usernames produced will be jdoe, jdoe2 and jdoe3.&lt;br /&gt;
===Deleting accounts===&lt;br /&gt;
If the &#039;&#039;&#039;deleted&#039;&#039;&#039; field is present, users with value 1 for it will be deleted. In this case, all the fields may be omitted, except for &#039;&#039;&#039;username&#039;&#039;&#039;. After uploading the file, be sure to change the &amp;quot;Upload type&amp;quot; to &amp;quot;Update existing users only&amp;quot; and the &amp;quot;Allow deletes&amp;quot; option to &amp;quot;Yes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tip:&#039;&#039; A similar field is available for &#039;&#039;&#039;suspended&#039;&#039;&#039;. This enables a user account to be temporarily disabled rather than completely removed.&lt;br /&gt;
&lt;br /&gt;
Deleting and uploading accounts could be done with a single CSV file. For example, the following file will add the user Tom Jones and delete the user reznort:&lt;br /&gt;
 username,firstname,lastname,deleted&lt;br /&gt;
 jonest,Tom,Jones,0&lt;br /&gt;
 reznort,,,1&lt;br /&gt;
==Encoding file format==&lt;br /&gt;
On the initial Upload user screen, you may select the file encoding format from a pull down list. These include UTF-8 (the default), ASCII, ISO-8859-1 to ISO-8859-11 or any one of over 36 formats.&lt;br /&gt;
==Hints==&lt;br /&gt;
===Spreadsheet===&lt;br /&gt;
If you use a spreadsheet program such as Excel to create your .csv file, check the resulting output in a text editor before you upload it. It is possible to get trailing commas on each line from an empty field if you have added and deleted columns of information prior to saving the final file. Also check the character encoding. A csv file is a simple text file (ASCII or Unicode) that can be used to upload user accounts.&lt;br /&gt;
&lt;br /&gt;
Excel translates passwords that begin with - (minus) or + (plus) as zero. Even when saving as .csv and saying &amp;quot;Yes&amp;quot; to &amp;quot;Keep this format, and leave out any incompatible features.&amp;quot; Check for this before uploading, as a zero halts the upload process.&lt;br /&gt;
&lt;br /&gt;
If you use a formula in Excel to create fields (for example, the concatenate function to create a user name), then remember to copy the cells with the formula and use special paste with values checked to make them into an acceptable data for a csv file.&lt;br /&gt;
&lt;br /&gt;
The upload will also fail if you have trailing spaces at the end of your data fields. Often, this can not be removed with a simple Find &amp;quot; &amp;quot; and Replace with &amp;quot;&amp;quot;. If information has been copied from web sources than it is possible to include non-breaking spaces which will prevent your upload from being completed correctly. To find these invisible spaces, use the Find and Replace function in Excel. In the find field, hold alt and type 0160. Leave the replace field blank. &lt;br /&gt;
===Field size limits===&lt;br /&gt;
Some fields have maximum character lengths, as defined in the database fields. Typically the file will import to the preview list screen but not finish the process. Turn on debug to see the fields that are too long. The error will be &amp;quot;User not added - error&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The sizes of some common fields, in number of characters, are currently (3.2):&lt;br /&gt;
*username - 100 	 &lt;br /&gt;
*password - 255 	 &lt;br /&gt;
*idnumber - 255 	 &lt;br /&gt;
*firstname - 100 	 &lt;br /&gt;
*lastname - 100 	 &lt;br /&gt;
*lastnamephonetic - 255 	 &lt;br /&gt;
*firstnamephonetic - 255 	 &lt;br /&gt;
*middlename - 255 	 &lt;br /&gt;
*alternatename - 255 &lt;br /&gt;
*institution - 255&lt;br /&gt;
*department - 255 	 &lt;br /&gt;
*address - 255 	 &lt;br /&gt;
*city - 120 	 &lt;br /&gt;
*icq -15 	 &lt;br /&gt;
*skype - 50 	 &lt;br /&gt;
*yahoo - 50 	 &lt;br /&gt;
*aim - 50&lt;br /&gt;
*msn - 50 	 &lt;br /&gt;
*phone1 - 20 	 &lt;br /&gt;
*phone2 - 20&lt;br /&gt;
===All user fields listed here===&lt;br /&gt;
:All the user fields that are valid in an upload file are listed below, except for any custom fields you may have created (for which see below.)&lt;br /&gt;
&amp;lt;pre&amp;gt;firstname,lastname,username,email,password,auth,idnumber,institution,department,city,country,timezone,lang,mailformat,maildisplay,maildigest,htmleditor,autosubscribe,skype,msn,aim,yahoo,icq,phone1,phone2,address,url,description,descriptionformat,interests,oldusername,deleted,suspended,alternatename,lastnamephonetic,firstnamephonetic,middlename&amp;lt;/pre&amp;gt;&lt;br /&gt;
The enrolments into courses information are &amp;lt;pre&amp;gt;course1,type1,role1,group1,enrolperiod1,enrolstatus1&amp;lt;/pre&amp;gt;&lt;br /&gt;
where each enrolment is grouped by number.&lt;br /&gt;
===Capabilities===&lt;br /&gt;
You may wish to create a limited role to allow some users access to this function. Create a role at the system/site level with the following capabilities allowed:&lt;br /&gt;
* moodle/site:uploadusers&lt;br /&gt;
* moodle/role:assign&lt;br /&gt;
And &lt;br /&gt;
* In &#039;Allow role assignments&#039; tab of this new role, permit it to assign the required roles that it may be uploading, especially Student, but also Teacher, Non-editing Teacher, and any other custom roles you may have created, which will be used in the uploads to assign users to.&lt;br /&gt;
In particular, don&#039;t forget the moodle/role:assign capability (even if these users have it in the courses they will be enrolling users in - it won&#039;t work).&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Flat file]] enrolment&lt;br /&gt;
* [[User profile fields]] for details of how to include data about custom user profile fields in the upload users file&lt;br /&gt;
* [[Upload courses]]&lt;br /&gt;
Forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=97903 Uploading users to custom roles]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=144569 Matriculacion con flat file csv] - discussion in Spanish&lt;br /&gt;
[[fr:Importer des utilisateurs]]&lt;br /&gt;
[[ja:ユーザのアップロード]]&lt;br /&gt;
[[de:Nutzerliste hochladen]]&lt;br /&gt;
[[es:Subir usuarios]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=error/auth_saml2/exception&amp;diff=138983</id>
		<title>error/auth saml2/exception</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=error/auth_saml2/exception&amp;diff=138983"/>
		<updated>2022-01-18T15:59:43Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: Added support link to the specific Moodle discussion page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [https://moodle.org/mod/forum/discuss.php?d=413059 SAML2 Exception] discussion in the Moodle Forum&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Messaging_settings&amp;diff=138974</id>
		<title>Messaging settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Messaging_settings&amp;diff=138974"/>
		<updated>2021-11-04T12:09:23Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: /* List of message types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Messaging}}&lt;br /&gt;
==Messaging settings for all users==&lt;br /&gt;
*Users can decide how they want to be notified of new messages and event notifications by editing their messaging preferences page, which they can access either from the Preferences link in the user menu or from the gear icon in the messaging/notifications menus. See [[Messaging]] and [[Notifications]] for more information.&lt;br /&gt;
*Which options they see there depend on what has been enabled by the administrator. For example, the mobile option is only available if the site is enabled for the mobile app.&lt;br /&gt;
==Enabling / disabling messaging site wide==&lt;br /&gt;
The personal messaging system in Moodle is enabled by default. It may be disabled by a site administrator from Site administration &amp;gt; Messaging &amp;gt; Messaging settings.&lt;br /&gt;
&lt;br /&gt;
From &#039;Messaging settings&#039;, the administrator can &amp;quot;Allow site-wide messaging&amp;quot; (disabled by default). If this setting is enabled, users on the site can view all other users when selecting someone to message and can choose to accept messages from anyone on the site.&lt;br /&gt;
==Notification settings ==&lt;br /&gt;
Messaging system default settings are set in &#039;Notification settings&#039; in Site administration / Messaging&lt;br /&gt;
&lt;br /&gt;
There are four default types of notification plugins: web, Jabber, email and mobile.&lt;br /&gt;
&lt;br /&gt;
By default web and email are both enabled, though email will only work of course if the site has been properly configured to deliver email. Jabber and Mobile notifications are off by default and need to be configured first.&lt;br /&gt;
[[File:NotificationPlugins.png|center|thumb|500px]]&lt;br /&gt;
==== Jabber ====&lt;br /&gt;
Jabber is the original name of the Extensible Messaging and Presence Protocol ([https://en.wikipedia.org/wiki/XMPP XMPP]), an open standard instant messaging protocol.&lt;br /&gt;
The Jabber service on the Moodle server must be configured before use. To configure Jabber, an XMPP account should be created that is specific to the Moodle server, either on a locally hosted XMPP server or on one of many [https://xmpp.net/directory.php public servers]. The information for this account is entered in Site administration / Plugins / Message outputs / Jabber:&lt;br /&gt;
*Host - The server to connect to to send jabber message notifications - this is entered as the full hostname (e.g. jabber.org) with no protocol (i.e. no &amp;quot;https://&amp;quot;)&lt;br /&gt;
*Server - XMPP host ID (can be left empty if the same as Jabber host)&lt;br /&gt;
*Username - The user name to use when connecting to the Jabber server as the Moodle site, without domain name&lt;br /&gt;
*Password - The password to use when connecting to the Jabber server as the Moodle site.&lt;br /&gt;
*Port - defaults to 5222&lt;br /&gt;
[[File:Jabber_configuration.png]]&lt;br /&gt;
&lt;br /&gt;
After the Jabber service has been configured, it must also be enabled.&lt;br /&gt;
&lt;br /&gt;
Each Moodle user wishing to receive instant message notifications through Jabber must create an account on a Jabber server and must configure their Moodle account to include those details:&lt;br /&gt;
&lt;br /&gt;
[[File:jabber_user_account.png]]&lt;br /&gt;
&lt;br /&gt;
The user must also choose which notifications to receive using Jabber:&lt;br /&gt;
&lt;br /&gt;
[[File:Jabber_notification_preferences.png]]&lt;br /&gt;
&lt;br /&gt;
Users may also choose to receive Moodle messages via Jabber.&lt;br /&gt;
====Mobile notifications====&lt;br /&gt;
[[File:mobilenotifications.png]]&lt;br /&gt;
&lt;br /&gt;
The administrator can configure the site to push messages to mobile devices. Moodle pushes messages to a messaging server, which then pushes it to Apple or Google depending on the platform the target device is using (iOS or Android).&lt;br /&gt;
&lt;br /&gt;
[[Site registration|Registered sites]] can make use of the default messaging server https://messages.moodle.net/ which is maintained by moodle.com. To connect to this, click &#039;Request access key&#039; and then add it to the Airnotifier access key field. &lt;br /&gt;
&lt;br /&gt;
Alternatively, you may install your own private Air notifier server and use that instead. See https://github.com/dongsheng/airnotifier for details.&lt;br /&gt;
===Default notification preferences===&lt;br /&gt;
You can specify the default notification preferences for each type of message in Site administration / Messaging / Notification settings.&lt;br /&gt;
&lt;br /&gt;
You can also set to what degree each type of message is enabled, and whether users are able to change these default settings in their profiles:&lt;br /&gt;
* &#039;&#039;Disallowed&#039;&#039; - This particular type of message is not allowed at all and users will not see any settings related to them. Message of the chosen type will never be delivered.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Permitted&#039;&#039; - Users are permitted or allowed to change the settings. When the user account is created, the new user will inherit the settings the administrator sets here, but will be allowed to change them afterwards in their Messaging settings. Messages will be delivered as the user sets them on their own Messaging settings page.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Locked&#039;&#039; - Users are not permitted or allowed to change these settings. When the user account is created, the new user will inherit the settings the administrator sets here and will never be allowed to change them. Messages will be delivered for all users as you set them on this page.&lt;br /&gt;
====Logged in/Offline====&lt;br /&gt;
You can set whether each of these will be sent when the user is online through the messaging system interface available to users in their profiles, and/or whether each output is sent via email.&lt;br /&gt;
====Ordering of messaging settings====&lt;br /&gt;
Because users might have many different messaging options, they are ordered into different components - for example, activities, system, enrolments etc.&lt;br /&gt;
[[File:ExampleStudentNotification.png|thumb|600px|center|Example notifications preferences screen - student view]]&lt;br /&gt;
==== List of message types====&lt;br /&gt;
Except for &#039;Personal messages between users&#039;, which refers to the interaction messaging tool on a user profile, the other messages are generated by events in Moodle. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Module !!Output Name!!Description!!Recipients&lt;br /&gt;
|-&lt;br /&gt;
|Assignment||Assignment notifications||Student has submitted an [[Assignment activity|assignment]] and Student has received a grade/feedback||Teacher&lt;br /&gt;
|-&lt;br /&gt;
|Feedback||Feedback notifications||Notices from setting Enable notification of submissions||Teacher, Feedback administrator&lt;br /&gt;
|-&lt;br /&gt;
|Feedback ||Feedback reminder||[[Feedback activity|Feedback]] non-respondent reminder message|| Student feedback activity non-responders&lt;br /&gt;
|-&lt;br /&gt;
|Forum||Subscribed forum posts||Default for forum subscription handling||Anyone subscribed to a forum&lt;br /&gt;
|-&lt;br /&gt;
| Forum||Subscribed forum digests||Sets default for this for user profiles || Authenticated users&lt;br /&gt;
|-&lt;br /&gt;
|Lesson||Lesson essay graded notification||Notify students a teacher has graded a Lesson essay question||Student&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Notification of quiz submissions|| Message that student has submitted a quiz||Teacher&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Confirmation of your own quiz submissions||Notice your quiz was successfully submitted ||Student&lt;br /&gt;
|-&lt;br /&gt;
|Quiz ||Warning when your quiz attempt becomes overdue||See [[Quiz settings]]||Student&lt;br /&gt;
|-&lt;br /&gt;
|System||Notices about minor problems||?&lt;br /&gt;
|Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System|| Important errors with the site|| Important errors - See also [[Debugging]]||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System ||Course creation request notification ||Notice a course has been requested - See [[Course request]]||Defined in &#039;&#039;Site admin &amp;gt; Courses &amp;gt; Course request &amp;gt; Course request notification&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|System||Course creation request approval notification ||Notice a requested course has been approved||User who requested the course&lt;br /&gt;
|-&lt;br /&gt;
| System||Course creation request rejection notification||Notice a requested course has been rejected||User who requested the course&lt;br /&gt;
|-&lt;br /&gt;
|System|| Badge recipient notifications|| Notify recipient of a badge when it is awarded to them||Any badge recipient (typically Student role)&lt;br /&gt;
|-&lt;br /&gt;
| System||Badge creator notifications || Notify creator of a badge when it is awarded to someone||Any badge creator (typically Teacher or Manager role)&lt;br /&gt;
|-&lt;br /&gt;
|System||Insights generated by prediction models||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Message contact requests notification||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System|| Grade notifications||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Available update notifications||Notice of new releases of Moodle code||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System||Backup notifications||Automated backup schedule run completed||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System||Comment posted on a learning plan||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Comment posted on a competency ||? ||?&lt;br /&gt;
|-&lt;br /&gt;
|Manual enrollment||Manual enrolment expiry notifications|| Notice if [[Manual enrolment]] about to expire||Manual enrolees&lt;br /&gt;
|-&lt;br /&gt;
|Self enrollment||Self enrolment expiry notifications||Notify users when their enrolment expires|| Enroller only, or Enroller &amp;amp; Enrolled user&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request ||?||?&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request processing results||?|| ?&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request exceptions notifications||?||?&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Warning when an inbound message could not be processed||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Confirmation that a message was successfully processed||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Personal messages between users||Using the Messaging interface tool||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Message to confirm that an inbound message came from you||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
| Event monitoring||Notification of rule subscriptions||Notifications from [[Event monitoring]] rules||Event rule subscribers&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Roles and Messaging capabilities ==&lt;br /&gt;
The following capabilities can be applied as permissions to make custom changes to roles affecting messaging.&lt;br /&gt;
*[[Capabilities/moodle/course:bulkmessaging|course:bulkmessaging - Send a message to many people]]&lt;br /&gt;
*[[Capabilities/moodle/site:readallmessages|site:readallmessages - Read all messages on site]]&lt;br /&gt;
*[[Capabilities/moodle/site:sendmessage|site:sendmessage - Send messages to any user]]&lt;br /&gt;
*[[Capabilities/moodle/user:editownmessageprofile|user:editownmessageprofile - Edit own user messaging profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:editmessageprofile|user:editmessageprofile - Edit user messaging profile]]&lt;br /&gt;
===Email===&lt;br /&gt;
All email messages and notifications go to the email address set in a user&#039;s profile. The administrator can optionally allow users to choose to have notifications sent to a different email address. This is off by default and can be enabled in &#039;&#039;Site administration &amp;gt; Advanced features &amp;gt; Notification email override&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Users can then enter their alternative email address under Preferences/User account/Notification preferences: Click on the gear icon next to &amp;quot;Email&amp;quot; in the table header and enter the alternative email.&lt;br /&gt;
&lt;br /&gt;
Note: The &#039;messagingallowemailoverride&#039; setting does not affect failed log in notifications as they do not go through the messaging system, and will therefore still go to the original email specified.&lt;br /&gt;
[[fr:Paramètres de messagerie]]&lt;br /&gt;
[[de:Einstellungen für Mitteilungen]]&lt;br /&gt;
[[es:Configuraciones de mensajería]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Messaging_settings&amp;diff=138972</id>
		<title>Messaging settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Messaging_settings&amp;diff=138972"/>
		<updated>2021-10-28T13:27:53Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: /* List of message types */  Updated based on the order in which they are displayed in Moodle -- added the missing System notifications. Added a &amp;quot;module&amp;quot; column.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Messaging}}&lt;br /&gt;
==Messaging settings for all users==&lt;br /&gt;
*Users can decide how they want to be notified of new messages and event notifications by editing their messaging preferences page, which they can access either from the Preferences link in the user menu or from the gear icon in the messaging/notifications menus. See [[Messaging]] and [[Notifications]] for more information.&lt;br /&gt;
*Which options they see there depend on what has been enabled by the administrator. For example, the mobile option is only available if the site is enabled for the mobile app.&lt;br /&gt;
==Enabling / disabling messaging site wide==&lt;br /&gt;
The personal messaging system in Moodle is enabled by default. It may be disabled by a site administrator from Site administration &amp;gt; Messaging &amp;gt; Messaging settings.&lt;br /&gt;
&lt;br /&gt;
From &#039;Messaging settings&#039;, the administrator can &amp;quot;Allow site-wide messaging&amp;quot; (disabled by default). If this setting is enabled, users on the site can view all other users when selecting someone to message and can choose to accept messages from anyone on the site.&lt;br /&gt;
==Notification settings ==&lt;br /&gt;
Messaging system default settings are set in &#039;Notification settings&#039; in Site administration / Messaging&lt;br /&gt;
&lt;br /&gt;
There are four default types of notification plugins: web, Jabber, email and mobile.&lt;br /&gt;
&lt;br /&gt;
By default web and email are both enabled, though email will only work of course if the site has been properly configured to deliver email. Jabber and Mobile notifications are off by default and need to be configured first.&lt;br /&gt;
[[File:NotificationPlugins.png|center|thumb|500px]]&lt;br /&gt;
==== Jabber ====&lt;br /&gt;
Jabber is the original name of the Extensible Messaging and Presence Protocol ([https://en.wikipedia.org/wiki/XMPP XMPP]), an open standard instant messaging protocol.&lt;br /&gt;
The Jabber service on the Moodle server must be configured before use. To configure Jabber, an XMPP account should be created that is specific to the Moodle server, either on a locally hosted XMPP server or on one of many [https://xmpp.net/directory.php public servers]. The information for this account is entered in Site administration / Plugins / Message outputs / Jabber:&lt;br /&gt;
*Host - The server to connect to to send jabber message notifications - this is entered as the full hostname (e.g. jabber.org) with no protocol (i.e. no &amp;quot;https://&amp;quot;)&lt;br /&gt;
*Server - XMPP host ID (can be left empty if the same as Jabber host)&lt;br /&gt;
*Username - The user name to use when connecting to the Jabber server as the Moodle site, without domain name&lt;br /&gt;
*Password - The password to use when connecting to the Jabber server as the Moodle site.&lt;br /&gt;
*Port - defaults to 5222&lt;br /&gt;
[[File:Jabber_configuration.png]]&lt;br /&gt;
&lt;br /&gt;
After the Jabber service has been configured, it must also be enabled.&lt;br /&gt;
&lt;br /&gt;
Each Moodle user wishing to receive instant message notifications through Jabber must create an account on a Jabber server and must configure their Moodle account to include those details:&lt;br /&gt;
&lt;br /&gt;
[[File:jabber_user_account.png]]&lt;br /&gt;
&lt;br /&gt;
The user must also choose which notifications to receive using Jabber:&lt;br /&gt;
&lt;br /&gt;
[[File:Jabber_notification_preferences.png]]&lt;br /&gt;
&lt;br /&gt;
Users may also choose to receive Moodle messages via Jabber.&lt;br /&gt;
====Mobile notifications====&lt;br /&gt;
[[File:mobilenotifications.png]]&lt;br /&gt;
&lt;br /&gt;
The administrator can configure the site to push messages to mobile devices. Moodle pushes messages to a messaging server, which then pushes it to Apple or Google depending on the platform the target device is using (iOS or Android).&lt;br /&gt;
&lt;br /&gt;
[[Site registration|Registered sites]] can make use of the default messaging server https://messages.moodle.net/ which is maintained by moodle.com. To connect to this, click &#039;Request access key&#039; and then add it to the Airnotifier access key field. &lt;br /&gt;
&lt;br /&gt;
Alternatively, you may install your own private Air notifier server and use that instead. See https://github.com/dongsheng/airnotifier for details.&lt;br /&gt;
===Default notification preferences===&lt;br /&gt;
You can specify the default notification preferences for each type of message in Site administration / Messaging / Notification settings.&lt;br /&gt;
&lt;br /&gt;
You can also set to what degree each type of message is enabled, and whether users are able to change these default settings in their profiles:&lt;br /&gt;
* &#039;&#039;Disallowed&#039;&#039; - This particular type of message is not allowed at all and users will not see any settings related to them. Message of the chosen type will never be delivered.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Permitted&#039;&#039; - Users are permitted or allowed to change the settings. When the user account is created, the new user will inherit the settings the administrator sets here, but will be allowed to change them afterwards in their Messaging settings. Messages will be delivered as the user sets them on their own Messaging settings page.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Locked&#039;&#039; - Users are not permitted or allowed to change these settings. When the user account is created, the new user will inherit the settings the administrator sets here and will never be allowed to change them. Messages will be delivered for all users as you set them on this page.&lt;br /&gt;
====Logged in/Offline====&lt;br /&gt;
You can set whether each of these will be sent when the user is online through the messaging system interface available to users in their profiles, and/or whether each output is sent via email.&lt;br /&gt;
====Ordering of messaging settings====&lt;br /&gt;
Because users might have many different messaging options, they are ordered into different components - for example, activities, system, enrolments etc.&lt;br /&gt;
[[File:ExampleStudentNotification.png|thumb|600px|center|Example notifications preferences screen - student view]]&lt;br /&gt;
==== List of message types====&lt;br /&gt;
Except for &#039;Personal messages between users&#039;, which refers to the interaction messaging tool on a user profile, the other messages are generated by events in Moodle. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Module !!Output Name!!Description!!Recipients&lt;br /&gt;
|-&lt;br /&gt;
|Assignment||Assignment notifications||Student has submitted an [[Assignment activity|assignment]]||Teacher&lt;br /&gt;
|-&lt;br /&gt;
|Feedback||Feedback notifications||Notices from setting Enable notification of submissions||Teacher, Feedback administrator&lt;br /&gt;
|-&lt;br /&gt;
|Feedback ||Feedback reminder||[[Feedback activity|Feedback]] non-respondent reminder message|| Student feedback activity non-responders&lt;br /&gt;
|-&lt;br /&gt;
|Forum||Subscribed forum posts||Default for forum subscription handling||Anyone subscribed to a forum&lt;br /&gt;
|-&lt;br /&gt;
| Forum||Subscribed forum digests||Sets default for this for user profiles || Authenticated users&lt;br /&gt;
|-&lt;br /&gt;
|Lesson||Lesson essay graded notification||Notify students a teacher has graded a Lesson essay question||Student&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Notification of quiz submissions|| Message that student has submitted a quiz||Teacher&lt;br /&gt;
|-&lt;br /&gt;
|Quiz||Confirmation of your own quiz submissions||Notice your quiz was successfully submitted ||Student&lt;br /&gt;
|-&lt;br /&gt;
|Quiz ||Warning when your quiz attempt becomes overdue||See [[Quiz settings]]||Student&lt;br /&gt;
|-&lt;br /&gt;
|System||Notices about minor problems||?&lt;br /&gt;
|Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System|| Important errors with the site|| Important errors - See also [[Debugging]]||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System ||Course creation request notification ||Notice a course has been requested - See [[Course request]]||Defined in &#039;&#039;Site admin &amp;gt; Courses &amp;gt; Course request &amp;gt; Course request notification&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|System||Course creation request approval notification ||Notice a requested course has been approved||User who requested the course&lt;br /&gt;
|-&lt;br /&gt;
| System||Course creation request rejection notification||Notice a requested course has been rejected||User who requested the course&lt;br /&gt;
|-&lt;br /&gt;
|System|| Badge recipient notifications|| Notify recipient of a badge when it is awarded to them||Any badge recipient (typically Student role)&lt;br /&gt;
|-&lt;br /&gt;
| System||Badge creator notifications || Notify creator of a badge when it is awarded to someone||Any badge creator (typically Teacher or Manager role)&lt;br /&gt;
|-&lt;br /&gt;
|System||Insights generated by prediction models||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Message contact requests notification||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System|| Grade notifications||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Available update notifications||Notice of new releases of Moodle code||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System||Backup notifications||Automated backup schedule run completed||Site administrators&lt;br /&gt;
|-&lt;br /&gt;
| System||Comment posted on a learning plan||?||?&lt;br /&gt;
|-&lt;br /&gt;
|System||Comment posted on a competency ||? ||?&lt;br /&gt;
|-&lt;br /&gt;
|Manual enrollment||Manual enrolment expiry notifications|| Notice if [[Manual enrolment]] about to expire||Manual enrolees&lt;br /&gt;
|-&lt;br /&gt;
|Self enrollment||Self enrolment expiry notifications||Notify users when their enrolment expires|| Enroller only, or Enroller &amp;amp; Enrolled user&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request ||?||?&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request processing results||?|| ?&lt;br /&gt;
|-&lt;br /&gt;
|Data privacy||Data request exceptions notifications||?||?&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Warning when an inbound message could not be processed||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Confirmation that a message was successfully processed||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Personal messages between users||Using the Messaging interface tool||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
|Inbound message configuration||Message to confirm that an inbound message came from you||See [[Incoming mail configuration]]||Authenticated Users&lt;br /&gt;
|-&lt;br /&gt;
| Event monitoring||Notification of rule subscriptions||Notifications from [[Event monitoring]] rules||Event rule subscribers&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Roles and Messaging capabilities ==&lt;br /&gt;
The following capabilities can be applied as permissions to make custom changes to roles affecting messaging.&lt;br /&gt;
*[[Capabilities/moodle/course:bulkmessaging|course:bulkmessaging - Send a message to many people]]&lt;br /&gt;
*[[Capabilities/moodle/site:readallmessages|site:readallmessages - Read all messages on site]]&lt;br /&gt;
*[[Capabilities/moodle/site:sendmessage|site:sendmessage - Send messages to any user]]&lt;br /&gt;
*[[Capabilities/moodle/user:editownmessageprofile|user:editownmessageprofile - Edit own user messaging profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:editmessageprofile|user:editmessageprofile - Edit user messaging profile]]&lt;br /&gt;
===Email===&lt;br /&gt;
All email messages and notifications go to the email address set in a user&#039;s profile. The administrator can optionally allow users to choose to have notifications sent to a different email address. This is off by default and can be enabled in &#039;&#039;Site administration &amp;gt; Advanced features &amp;gt; Notification email override&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Users can then enter their alternative email address under Preferences/User account/Notification preferences: Click on the gear icon next to &amp;quot;Email&amp;quot; in the table header and enter the alternative email.&lt;br /&gt;
&lt;br /&gt;
Note: The &#039;messagingallowemailoverride&#039; setting does not affect failed log in notifications as they do not go through the messaging system, and will therefore still go to the original email specified.&lt;br /&gt;
[[fr:Paramètres de messagerie]]&lt;br /&gt;
[[de:Einstellungen für Mitteilungen]]&lt;br /&gt;
[[es:Configuraciones de mensajería]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Dashboard&amp;diff=138863</id>
		<title>Dashboard</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Dashboard&amp;diff=138863"/>
		<updated>2021-03-25T20:03:15Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: added an additional See Also link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Site appearance}}&lt;br /&gt;
==About the Dashboard==&lt;br /&gt;
The Dashboard is a customisable page for providing users with details of their progress and upcoming deadlines. In the centre is the [[Course overview block]] which allows students and teachers to easily track required activities and filter courses.&lt;br /&gt;
&lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/VApmuVO7sHY | desc = Overview of the Dashboard}}&lt;br /&gt;
&lt;br /&gt;
If course images have been added in the course settings, they will display in the dashboard. Where no images have been added, coloured patterns appear. (&#039;&#039;&#039;New in 3.8:&#039;&#039;&#039; The administrator can define the colours from Site administration / Appearance /Course pattern colours.)&lt;br /&gt;
&lt;br /&gt;
Quick access to Dashboard is also available from the user menu top right of the screen once logged in:&lt;br /&gt;
&lt;br /&gt;
[[File:usermenufontawesome.png|thumb|center|User menu]]&lt;br /&gt;
&lt;br /&gt;
The Navigation drawer or block includes a Dashboard link directly above or below the Site home link. Once a regular user is logged in, the My courses link will also take them to their Dashboard.&lt;br /&gt;
&lt;br /&gt;
Users can normally customise their Dashboard, adding or removing blocks and changing block positions. They can revert their Dashboard back to the original blocks as follows:&lt;br /&gt;
&lt;br /&gt;
# Click the &#039;Customise this page&#039; button.&lt;br /&gt;
# Click the &#039;Reset page to default&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Resetdefault.png]]&lt;br /&gt;
&lt;br /&gt;
(Note that an administrator can reset the Dashboard for all users from &#039;Default Dashboard page&#039; in the Site administration).&lt;br /&gt;
&lt;br /&gt;
==Default home page==&lt;br /&gt;
&lt;br /&gt;
For new installations, Dashboard is the default home page for logged in users. An administrator can change the default home page  in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Navigation&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
If &#039;User preference&#039; is selected as default home page, each user needs to navigate to Dashboard either via the Navigation block or the user menu  and then from the Administration block click the &amp;quot;Make this my default home page&amp;quot; link. Note that this option only appears on the page that is not their current default home page.  Once selected, Moodle will remember which page to present them each time they log on.&lt;br /&gt;
&lt;br /&gt;
[[File:defaulthomepagelink.png]]&lt;br /&gt;
&lt;br /&gt;
==Setting the default Dashboard==&lt;br /&gt;
&lt;br /&gt;
An administrator or manager (or other user with the capability [[Capabilities/moodle/my:configsyspages|moodle/my:configsyspages]]) can set the default blocks  for all users from  &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Default Dashboard page&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Clicking the button &#039;Reset Dashboard for all users&#039; will then apply these settings to the Dashboard for everyone on the site.&lt;br /&gt;
&lt;br /&gt;
Default blocks are:&lt;br /&gt;
* [[Navigation block|Navigation]]&lt;br /&gt;
* [[Administration block|Administration]]&lt;br /&gt;
* [[Course overview block|Course overview]]&lt;br /&gt;
* [[Private files block|Private files]]&lt;br /&gt;
* [[Latest badges block|Latest badges]]&lt;br /&gt;
* [[Calendar block|Calendar]]&lt;br /&gt;
* [[Upcoming events block|Upcoming events]]&lt;br /&gt;
* [[Online users block|Online users]]&lt;br /&gt;
&lt;br /&gt;
==Preventing users from customizing their Dashboard==&lt;br /&gt;
&lt;br /&gt;
By default, users can customize their Dashboard and add blocks. An admin can prevent this as follows:&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles&#039;&#039;&lt;br /&gt;
# Edit the authenticated user role and untick the [[Capabilities/moodle/my:manageblocks|Manage Dashboard blocks capability]]&lt;br /&gt;
&lt;br /&gt;
==Dashboard capabilities==&lt;br /&gt;
&lt;br /&gt;
* [[Capabilities/moodle/my:manageblocks|Manage Dashboard blocks]] (see above)&lt;br /&gt;
* [[Capabilities/moodle/my:configsyspages|Configure system templates for Dashboard]]&lt;br /&gt;
&lt;br /&gt;
In addition, all blocks which may be added to a Dashboard have a &#039;&#039;myaddinstance&#039;&#039; capability (e.g. [[Capabilities/block/comments:myaddinstance|block/comments:myaddinstance]]) for controlling whether a user with a particular role can add the block.&lt;br /&gt;
&lt;br /&gt;
==Preventing users from adding a block to their Dashboard==&lt;br /&gt;
&lt;br /&gt;
By default, users can add many blocks to their Dashboard. An admin can prevent them from adding a particular block, such as the [[Online users block]], as follows:&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles&#039;&#039;&lt;br /&gt;
# Edit the authenticated user role and untick the [[Capabilities/block/online users:myaddinstance|Add a new online users block to the Dashboard capability]]&lt;br /&gt;
&lt;br /&gt;
==Blocks not available on the Dashboard==&lt;br /&gt;
&lt;br /&gt;
The following blocks may not be added to a user&#039;s Dashboard (because it wouldn&#039;t make sense):&lt;br /&gt;
&lt;br /&gt;
*[[Course completion status block]]&lt;br /&gt;
*[[Course/site summary block]]&lt;br /&gt;
*[[Self completion block]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=340126 Show Categories of courses on Dashboard after sign in] forum discussion&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=418596#p1693029 Hide a block from student roles?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[eu:Nire_Moodle]]&lt;br /&gt;
[[fr:Tableau de bord]]&lt;br /&gt;
[[de:Dashboard]]&lt;br /&gt;
[[es:Tablero]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Grades_FAQ&amp;diff=138808</id>
		<title>Grades FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Grades_FAQ&amp;diff=138808"/>
		<updated>2021-01-31T21:42:27Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: added 8.4&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Grades}}&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
===How can I change how grades are displayed?===&lt;br /&gt;
&lt;br /&gt;
Grades may be displayed as as actual grades, as percentages (in reference to the minimum and maximum grades) or as letters.&lt;br /&gt;
&lt;br /&gt;
The default grade display type for the site is set by an administrator in &#039;&#039;Administration &amp;gt; Grades &amp;gt; [[Grade item settings]]&#039;&#039;. However, this may be changed at course level.&lt;br /&gt;
&lt;br /&gt;
To change how grades are displayed for particular [[Grade items|grade items]], or category and course summaries (called aggregations):&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
# Click the Edit then edit settings link opposite the grade item or category total. (For the course total, click the Edit then &#039;Edit settings&#039; link at the top of the actions column, opposite the name of the course.)&lt;br /&gt;
# On the edit category page, click the &#039;Show more...&#039; link under &#039;Category total&#039;.&lt;br /&gt;
# From the Grade display type menu, select real (for actual grades), percentage or letter.&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
Alternatively, to change how grades are displayed for the whole course:&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
# Select &amp;quot;Course grade settings&amp;quot; in the administration block.&lt;br /&gt;
# From the Grade display type menu, select real (for actual grades), percentage or letter, or a combination of these.&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
===How can I hide entered grades until a specified date?===&lt;br /&gt;
&lt;br /&gt;
To set a &amp;quot;Hidden until&amp;quot; date:&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
#Click on the edit icon opposite the activity for which a &amp;quot;Hidden until&amp;quot; date is to be set.&lt;br /&gt;
#On the edit grade item page, ensure that advanced settings are displayed. (Click the &amp;quot;Show advanced&amp;quot; button if not.)&lt;br /&gt;
#Enable the &amp;quot;Hidden until&amp;quot; setting by unchecking the disable checkbox, then set a date.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== Is it possible to show the teachers/administrators&#039; grades in the grader report? ===&lt;br /&gt;
Yes, at the site level you can define which roles will appear in the grader report. This can be found in [[General_grade_settings#Graded_Roles|Administration &amp;gt; Grades &amp;gt; General settings]]. Also read [http://moodle.org/mod/forum/discuss.php?d=92612 this discussion] for some more ideas.&lt;br /&gt;
&lt;br /&gt;
===Why can&#039;t I change a grade within an assignment after changing it in the gradebook?===&lt;br /&gt;
&lt;br /&gt;
When you edit a grade directly in the gradebook, an &amp;quot;overridden&amp;quot; flag is set, meaning that the grade can no longer be changed from within the assignment.&lt;br /&gt;
&lt;br /&gt;
However, the flag can be removed by turning editing on in the [[Grader report|grader report]], then clicking the edit grade icon, unchecking the overridden box and saving the changes.&lt;br /&gt;
&lt;br /&gt;
===How do I get groups to show up in the grader report?===&lt;br /&gt;
&lt;br /&gt;
For groups to show up in the grader report, group mode should be set to visible or separate groups in the [[Course settings|course settings]]. This will result in a groups dropdown menu being displayed, enabling a teacher to view the grades of all participants, or only the grades for a selected group.&lt;br /&gt;
&lt;br /&gt;
===The quiz grades keep disappearing from the student view, even after I un-hide them!===&lt;br /&gt;
&lt;br /&gt;
Check your quiz settings. Under the &#039;&#039;&#039;Review options&#039;&#039;&#039; heading, in the &#039;&#039;&#039;Later, while the quiz is still open&#039;&#039;&#039; and/or the &#039;&#039;&#039;After the quiz is closed&#039;&#039;&#039; columns, you probably have Scores un-checked. Each time a student completes a quiz, these settings are consulted and the scores will be hidden from &#039;&#039;all&#039;&#039; students. If your students don&#039;t all take the quiz at the same time, it can look like quiz scores reset themselves to &#039;hidden&#039; randomly, even after you un-hide them. (If there is no end date for the quiz, the quiz never actually closes and will never display grades unless Scores is checked in &amp;quot;Later, while the quiz is still open.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===How can I make the gradebook simpler for teachers?===&lt;br /&gt;
&lt;br /&gt;
See [[Simplifying the gradebook by changing permissions]].&lt;br /&gt;
&lt;br /&gt;
===How can I remove the grades link in the user menu?===&lt;br /&gt;
&lt;br /&gt;
If you are using an alternative gradebook to the one provided in Moodle, you can remove the grades link in the user menu (or change it to something else) by editing the setting &#039;User menu items&#039; (customusermenuitems) in the Site administration.&lt;br /&gt;
&lt;br /&gt;
==Grades and user removals==&lt;br /&gt;
&lt;br /&gt;
===What happens to gradebook data when a user is unenrolled from a course?===&lt;br /&gt;
&lt;br /&gt;
On re-enrolling, you can recover their grades from before. See the section &#039;Unenrolment and grade history&#039; in [[Unenrolment]] for more details.&lt;br /&gt;
&lt;br /&gt;
==Advanced grading==&lt;br /&gt;
&lt;br /&gt;
===Why can&#039;t I see the advanced grading option??===&lt;br /&gt;
To see the option for Advanced grading, you first have to create an assignment and choose Advanced grading/Rubric from the Grading  method dropdown. Advanced grading will then appear in &#039;&#039;Settings&amp;gt;Assignment administration.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===How can I allow teachers to save rubrics as templates for others?===&lt;br /&gt;
Create a new role and assign it in the system context. Give this role the capability &#039;&#039;moodle/grade:sharegradingforms&#039;&#039; (for sharing as a template) and if desired &#039;&#039;moodle/grade:managesharedforms&#039;&#039; (for editing or deleting templates created by others) Assign this role to those teachers you wish to have this ability.&lt;br /&gt;
&lt;br /&gt;
===How do students see the Marking guide?===&lt;br /&gt;
Assuming the teacher has allowed this in the [[Marking guide]] settings, the student may click &amp;quot;submissions grading&amp;quot; under the assignment name in their navigation block:&lt;br /&gt;
&lt;br /&gt;
[[File:submissionsgrading.png]]&lt;br /&gt;
&lt;br /&gt;
===Why can&#039;t students see feedback when Blind Marking is used?===&lt;br /&gt;
If you use &#039;&#039;&#039;Blind Marking&#039;&#039;&#039; to conceal student identities when assessing in the Assignment module, it waits until &#039;&#039;all&#039;&#039; submissions are marked, and &#039;&#039;&#039;Reveal student identities&#039;&#039;&#039; is clicked, to enter final grades into the Gradebook. Only at this point does it release Rubric marks/comments and inline feedback for student view (if Advanced Grading: Rubrics and Inline Comment Feedback are used in the Assignment).&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
=== How do I create my own custom gradebook reports? ===&lt;br /&gt;
&lt;br /&gt;
See [[:dev:Gradebook reports|Gradebook reports]] in the dev docs.&lt;br /&gt;
&lt;br /&gt;
===How can I sort or change the order of column headings?===&lt;br /&gt;
Go to Grades link, then select one of the &amp;quot;Category &amp;amp; items&amp;quot; actions from the pulldown on the top left.  Use the move icon to change the position of the graded item.   And/or you could create categories for the items and move them into a category so they will be grouped that way first.&lt;br /&gt;
&lt;br /&gt;
===How can I remove user ID numbers and/or email addresses from the grader report===&lt;br /&gt;
&lt;br /&gt;
Go to &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; [[Roles settings|User policies]]&#039;&#039; and untick the &#039;ID number&#039; and/or &#039;email address&#039; checkboxes for &#039;Show user identity&#039;.&lt;br /&gt;
&lt;br /&gt;
Note that this will result in ID numbers and/or email addresses not being shown when searching for users and displaying lists of users. See the section &#039;Show user identity&#039; in [[Roles settings]] for a list of locations where user identity fields are shown.&lt;br /&gt;
&lt;br /&gt;
=== How can I interpret the quiz report statistics?===&lt;br /&gt;
&lt;br /&gt;
See [https://docs.moodle.org/dev/Quiz_report_statistics Quiz report statistics] in the developers documentation.&lt;br /&gt;
&lt;br /&gt;
== Aggregation ==&lt;br /&gt;
=== I can&#039;t find where to change the aggregation type for my gradebook categories! ===&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
# Click the edit settings link opposite the category.&lt;br /&gt;
&lt;br /&gt;
=== How can I grade some of my activities without the results affecting my students&#039; course total? ===&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
#Add two [[Grade categories]], one for your &amp;quot;Graded activities&amp;quot; and one for your &amp;quot;Not graded activities&amp;quot;. In the &amp;quot;Not graded activities&amp;quot; category choose &amp;quot;None&amp;quot; in grading type.&lt;br /&gt;
#Ensure that &amp;quot;Aggregate including subcategories&amp;quot; (an option visible only in &amp;quot;full view&amp;quot;) is unchecked for your top level course grade category.&lt;br /&gt;
#If you want to completely hide the &amp;quot;Not graded activities&amp;quot; category from your students tick the &amp;quot;Hidden&amp;quot; icon too.&lt;br /&gt;
#Save your changes.&lt;br /&gt;
#Move all your normally graded activities into the &amp;quot;Graded activities&amp;quot; category.&lt;br /&gt;
#Move all your excluded from grading activities into &amp;quot;Not graded activities&amp;quot; category.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: Following the above steps the not graded activities will be completely hidden from your students. So...&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;IF&#039;&#039;&#039; you want the activity grades of the &amp;quot;Not graded activities&amp;quot; category, to remain visible to your student without their grades affecting their course total, simply click the eye to show the &amp;quot;Not graded activities&amp;quot; category.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;IF&#039;&#039;&#039; you want students to be able to see the activity grades and the category total of the &amp;quot;Not graded activities&amp;quot;, then you have to let the category visible and also choose a grading type between value, scale or text, by editing the category. &lt;br /&gt;
&lt;br /&gt;
In this case you can exclude the &amp;quot;Not graded activities&amp;quot; from course total using the &amp;quot;Weighted mean of grades&amp;quot; aggregation method in Course category and assigning 100 weight to the &amp;quot;Graded activities&amp;quot; and 0 weight to the &amp;quot;Not graded activities&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;IF&#039;&#039;&#039; you don&#039;t want to use grade categories, you can also exclude the grades of a specific activity by changing the &amp;quot;Multiplicator&amp;quot; (visible only in &amp;quot;full view&amp;quot;) from 1.0 into 0.0.&lt;br /&gt;
&lt;br /&gt;
*Last, &#039;&#039;&#039;IF&#039;&#039;&#039; you want to exclude the grade of an activity only to one or some specific students, then follow these steps:&lt;br /&gt;
#From the grader report &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Click the &amp;quot;Edit grade&amp;quot; icon of the activity of the student you want to exclude.&lt;br /&gt;
#In the Edit grade page, check the tick box next to the &amp;quot;Excluded&amp;quot; option and &amp;quot;Save changes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== My student completed only one activity out of 5, but his course total shows 100%. How do I show a more &amp;quot;progressive&amp;quot; course total? ===&lt;br /&gt;
&lt;br /&gt;
==== Step-by-Step Explanation ====&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
# At the top line there is a folder icon and an edit icon on the right, click the edit icon&lt;br /&gt;
# You&#039;ll then see the title &amp;quot;Grade category.&amp;quot;  Click &amp;quot;Show more...&amp;quot;&lt;br /&gt;
# In the expanded view, the 3rd item is &amp;quot;Exclude empty grades.&amp;quot;&lt;br /&gt;
# Uncheck this.&lt;br /&gt;
# Save.&lt;br /&gt;
&lt;br /&gt;
==== Another Explanation ====&lt;br /&gt;
By default, only non-empty grades are aggregated, the others are ignored. However, you can change this setting as well as others that affect the course total, by turning &amp;quot;Editing&amp;quot; on in the grader report, and clicking the &amp;quot;Edit&amp;quot; icon next to the course category (the very top row of the grader report).&lt;br /&gt;
&lt;br /&gt;
You can untick the box &amp;quot;Exclude empty grades&amp;quot; if you want to show a more &amp;quot;progressive&amp;quot; score for each student. Their empty grades will count as a 0 and will be counted in the course mean/total.&lt;br /&gt;
 &lt;br /&gt;
If you prefer to show a sum of points, rather than a percentage, you can change the course category&#039;s aggregation method to &amp;quot;Natural&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== How can I display the average grade for my course categories (not grade categories)? ===&lt;br /&gt;
In Moodle 3.0 there is no way to aggregate course totals within each category. The gradebook is course-centered, and there is currently no User Interface for showing grades within an entire course category at once.  However, the Grades link from the User dropdown menu will show students their Total Grades from each course that they are enrolled in.&lt;br /&gt;
&lt;br /&gt;
=== Why is the Category Total blank for one of my categories? ===&lt;br /&gt;
One possibility is that you accidentally entered some grades into the Category Total column and then erased them.  When you do that, an override flag gets set and then the totals won&#039;t calculate.  Here&#039;s how to check, and fix it:&lt;br /&gt;
&lt;br /&gt;
#  Go to the [[Grader report]] view of the gradebook.&lt;br /&gt;
#  Click the &amp;quot;Turn editing on&amp;quot; button for the gradebook.  (There&#039;s a separate one for the gradebook from the one on the main page.)&lt;br /&gt;
#  Find the box for the problem category and the first student affected.&lt;br /&gt;
#  Click on the icon of a gear *in that box*.&lt;br /&gt;
#  See if the box marked &amp;quot;[[Grade_editing#Overridden|Overridden]]&amp;quot; (third line down) is checked.  If it is, uncheck it.  &lt;br /&gt;
#  Repeat (4) and (5) for each student affected,&lt;br /&gt;
&lt;br /&gt;
(Overridden grades are normally shaded a dark yellow in the grader report, which makes finding them much easier.)&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
=== How many depths of categories/subcategories can I create? ===&lt;br /&gt;
There is no programmatic limit, but there are practical limits. Very deeply nested structures are difficult to manage. 3 levels of categories should be sufficient for most situations. Note that there is always at least one level of categories, since the Course category always encompasses all other categories and grade items, can cannot be deleted.&lt;br /&gt;
&lt;br /&gt;
=== I can&#039;t find setting X in the grade category edit page! Where is it? ===&lt;br /&gt;
If a setting documented on the [[Grade categories]] page does not appear on your edit page, it may mean that it is set globally in your site. See [[Grade_category_settings#Forcing_settings|Forcing settings]] for more information.&lt;br /&gt;
&lt;br /&gt;
== Outcomes ==&lt;br /&gt;
=== I want to set up an outcome item for my course. What are the steps required? ===&lt;br /&gt;
#The site administrator needs to have enabled outcomes via &#039;&#039;Administration&amp;gt;Site Administration &amp;gt; Advanced Features &amp;gt;Enable Outcomes&#039;&#039; &lt;br /&gt;
#In your course, go to &#039;&#039;Administration&amp;gt;Course administration&amp;gt;Grades&amp;gt;Scales&#039;&#039; and create the scale you need.&lt;br /&gt;
#[[Scales#Creating_a_new_scale|Create a scale]]&lt;br /&gt;
#In Administration&amp;gt;Course administration&amp;gt;Outcomes, create a course outcome assigning it to the scale you just created.&lt;br /&gt;
#Read the [[Outcomes| outcomes documentation]] for instructions).&lt;br /&gt;
#You can now give your students a rating on the outcome dimension you just created. If you created a standard outcome, you will be able to use it in other courses and follow your students&#039; performance across these courses.&lt;br /&gt;
&lt;br /&gt;
===How can I remove an outcome from an activity?===&lt;br /&gt;
&lt;br /&gt;
An outcome can be removed from an activity by deleting it via &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;. This results in the outcomes being deselected on the update activity page.&lt;br /&gt;
&lt;br /&gt;
== Activities ==&lt;br /&gt;
=== The activity I wish to use doesn&#039;t support grading. How can I give my students a grade anyway? ===&lt;br /&gt;
You can create a [[Grade_items#Manual_grade_items|grade item]] manually in the gradebook. You will have to grade your students through the [[Grader report]] interface (in editing mode).&lt;br /&gt;
&lt;br /&gt;
=== I just graded some of my students using the activity interface, but the results aren&#039;t showing up in the grader report. What&#039;s going on? ===&lt;br /&gt;
Here are some of the possible reasons:&lt;br /&gt;
#The site settings&amp;gt;Grades&amp;gt;General settings may not have the correct graded roles checked off to appear in grade book.  If you see no students in the Gradebook but do see columns for the graded activities, then check the graded role settings. &lt;br /&gt;
#The corresponding [[Grade items|grade item]] is [[Grade_locking#In_grade_items|locked]], or its parent [[Grade categories|category]] is [[Grade_locking#In_grade_categories|locked]].&lt;br /&gt;
#The module code is not using the [[Development:Grades#API_for_communication_with_modules.2Fblocks|gradebook API]] correctly&lt;br /&gt;
&lt;br /&gt;
=== I just created a new assignment with the &amp;quot;Grade&amp;quot; setting set to &amp;quot;No grade&amp;quot;, but it still appears in the gradebook ===&lt;br /&gt;
The reason is that the gradebook is now the place where both numerical and textual types of feedback are recorded for all activity modules. The word &amp;quot;Grading&amp;quot; in assignment relates only to numerical grades, but the ability to give text feedback remains, and must be recorded in the gradebook. This is why a grade item is created for it. You can hide the grade item if you do not want it to appear in the user reports.&lt;br /&gt;
&lt;br /&gt;
=== How can I quickly give all students additional points for an activity ===&lt;br /&gt;
To add points on top of an already existing grade, go to the Gradebook setup, click &amp;quot;Edit&amp;quot; next to the activity, and choose &amp;quot;Edit Settings&amp;quot; from the dropdown menu. Under the Grade item section, click Show More and add points into the Offset. This will give all users the additional points. Users with 0 points (or with no points yet earned) will start off with the amount you&#039;ve set here.&lt;br /&gt;
The Single view is another place where you can override points earned for an activity; though, any modifications in the Singleview will override the grade -- changes made to grade at the activity level will not appear in the gradebook until this override is removed.&lt;br /&gt;
&lt;br /&gt;
==Weights and extra credits==&lt;br /&gt;
&lt;br /&gt;
===How do weighted grades influence the category or course total?===&lt;br /&gt;
Weighted grades behave differently in Weighted Mean of Grades and Natural Grading.&lt;br /&gt;
&lt;br /&gt;
WEIGHTED MEAN OF GRADES&lt;br /&gt;
A weight (also called coefficient) only has meaning in reference to other weights. If you only have one grade item, changing its weight will not have any effect. However, if you have two grade items, each with a different weight, the &amp;quot;heavier&amp;quot; item will have more influence on the total grade than the &amp;quot;lighter&amp;quot; one.&lt;br /&gt;
&lt;br /&gt;
You can set the weights to any positive numerical value you choose. Usually, at least one of the weights will be 1 and serve as the baseline for other weights. If another item has a weight of 2, its grades will be multiplied by 2 compared with the grades of the first grade item, before being averaged. The denominator used for averaging is the sum of all the weights.&lt;br /&gt;
&lt;br /&gt;
An example follows:&lt;br /&gt;
  item 1 weight: 1&lt;br /&gt;
  item 2 weight: 3&lt;br /&gt;
  item 3 weight: 0.5&lt;br /&gt;
  &lt;br /&gt;
  item 1 grade: 40/100&lt;br /&gt;
  item 2 grade: 60/100&lt;br /&gt;
  item 3 grade: 20/100&lt;br /&gt;
  &lt;br /&gt;
  Calculation: &lt;br /&gt;
  total = ((40 * 1) + (60 * 3) + (20 * 0.5)) / (1 + 3 + 0.5)&lt;br /&gt;
        = (40 + 180 + 10) / (4.5)&lt;br /&gt;
        = 230 / 4.5&lt;br /&gt;
        = 51.11&lt;br /&gt;
  &lt;br /&gt;
  The total for this category will then be 51.11 out of 100&lt;br /&gt;
&lt;br /&gt;
NATURAL GRADING&lt;br /&gt;
&lt;br /&gt;
Natural grading automatically calculates the weight value in response to the maximum grade that is set for all of the grade items.  The weighting column will always add up to 100%.  &lt;br /&gt;
&lt;br /&gt;
If you change the weight for one of the grade items, the weighting of the other grade items will all readjust in response to the change.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  item 1 grade: 40/100&lt;br /&gt;
  item 2 grade: 60/100&lt;br /&gt;
  item 3 grade: 20/100&lt;br /&gt;
&lt;br /&gt;
Natural Weight (because all items are of equal value (100 points):&lt;br /&gt;
  item 1:  33.33%&lt;br /&gt;
  item 2:  33.33%&lt;br /&gt;
  item 3:  33.33%&lt;br /&gt;
&lt;br /&gt;
If you then adjust the weight for item 1 to 50%, the other two grades will adjust to 25% each -&lt;br /&gt;
  item 1:  50%&lt;br /&gt;
  item 2:  25%&lt;br /&gt;
  item 3:  25%&lt;br /&gt;
&lt;br /&gt;
Calculation: &lt;br /&gt;
  total = ((40 * 50) + (60 * 25) + (20 * 25)) / 100&lt;br /&gt;
        = (2000 + 1500 + 500) / 100&lt;br /&gt;
        = 4000 / 100&lt;br /&gt;
        = 40&lt;br /&gt;
&lt;br /&gt;
===Do I have to put a value in each &amp;quot;weight&amp;quot; input box?===&lt;br /&gt;
WEIGHTED MEAN OF GRADES&lt;br /&gt;
No. If you do not put a value, it will default to 1. If all items are set to 1 then they all have equal weight. If you set a weight to 0, the item&#039;s grades will not count at all in the category or course average.&lt;br /&gt;
&lt;br /&gt;
NATURAL GRADING&lt;br /&gt;
The weights will adjust in response to the weights that you do change.  If you only change 2 of 6 total grade items&#039; weight, the other four weights will adjust so that all weights add up to 100.&lt;br /&gt;
&lt;br /&gt;
===Do all the weights have to add up to 100 or some similar value?===&lt;br /&gt;
WEIGHTED MEAN OF GRADES&lt;br /&gt;
No, the numbers you put as weights are completely arbitrary. They must be positive numbers, and can add up to anything you want. Note however that the following four sets of weights are identical in value:&lt;br /&gt;
&lt;br /&gt;
  (1 1.75 3)&lt;br /&gt;
  (4 7 12)&lt;br /&gt;
  (8 14 24)&lt;br /&gt;
  (400 700 1200)&lt;br /&gt;
&lt;br /&gt;
NATURAL GRADING&lt;br /&gt;
Natural grading weights MUST equal 100%.  If you manually adjust the values of EVERY grade item, and they do not equal 100%, upon saving they will be adjusted to equal 100%, retaining your weighting preferences.  If you only adjust a few of your grade items, the remaining items weights will be adjusted so that the total comes to 100%.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
If you set your weights as follows:&lt;br /&gt;
 item1: 2&lt;br /&gt;
 item2: 2&lt;br /&gt;
 item3: 4&lt;br /&gt;
&lt;br /&gt;
Natural grading will adjust them as follows:&lt;br /&gt;
 item1: 25%&lt;br /&gt;
 item2: 25%&lt;br /&gt;
 item3: 50%&lt;br /&gt;
&lt;br /&gt;
===What is the difference between Weight and Extra Credit?===&lt;br /&gt;
Weight is only available with &amp;quot;Weighted mean of grades&amp;quot; and &amp;quot;Natural&amp;quot; grading. For the &amp;quot;Simple weighted mean of grades&amp;quot;, the weight is taken from the grade item&#039;s maximum grade. A weight is used to give a grade item more or less importance in the computation of the category total or average, compared with the other items of the same category.&lt;br /&gt;
&lt;br /&gt;
Extra credit replaces grade item weight if the aggregation method is &amp;quot;Mean of grades (with extra credits)&amp;quot;, &amp;quot;Natural&amp;quot;, or &amp;quot;Simple weighted mean of grades&amp;quot;. The effect of extra credit is different in each case, hence some confusion:&lt;br /&gt;
&lt;br /&gt;
*Mean of grades (with extra credits): A value of 0 does nothing. Any other value is used to multiply the grade and add it to the total after the computation of the mean. This grade is not used in the computation of the mean, however, only added afterwards. Additionally, this cannot bring the category total over its maximum grade unless grades over 100% are enabled by the site administrator (since 1.9.5). This grade item is not counted either in the denominator used to compute the category mean.&lt;br /&gt;
&lt;br /&gt;
*Natural: Extra credit is a checkbox, not a number. Normally, with Natural, the category&#039;s maximum grade is the sum of the maximum grades of all its grade items. If one of them is set as &amp;quot;Extra Credit&amp;quot;, however, its maximum grade is not added to the category&#039;s maximum grade, but its grades will be. This way it is possible to achieve maximum grade (or grades over maximum if enabled by the site administrator) in the category without getting the maximum grade in all the grade items.&lt;br /&gt;
&lt;br /&gt;
*Simple weighted mean of grades:  Extra credit is a checkbox, not a number.  The &amp;quot;Extra Credit&amp;quot; grades are counted in the numerator used to compute the category mean, but not the denominator.  See [[Category_aggregation#Simple_weighted_mean|here]] for more information.&lt;br /&gt;
 &lt;br /&gt;
To change a graded item to an extra credit item for Natural or Simple weighted mean of grades:&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Gradebook setup&#039;&#039;.&lt;br /&gt;
# Find the extra credit item. To the right of the item, click &amp;quot;Edit &amp;gt; Edit Settings.&amp;quot;&lt;br /&gt;
# On the Grade Item page, scroll to the bottom and check &amp;quot;Extra credit.&amp;quot;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
===How do I create an assignment for which students can receive a grade above the maximum/above 100%?===&lt;br /&gt;
&lt;br /&gt;
#Ask your administrator to go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Grades &amp;gt; General settings&#039;&#039; and tick the box &#039;Unlimited grades&#039;.&lt;br /&gt;
#In Grade point maximum (just below the unlimited grades setting) enter the maximum grade point value you wish to be available for all activities.&lt;br /&gt;
#In Grade point default (if you wish) enter the default grade point value you wish to display, if you want it to be above 100%.&lt;br /&gt;
[[File:gradepointmaxdefault.png]]&lt;br /&gt;
&lt;br /&gt;
===Why can&#039;t I enter a grade higher than the maximum?===&lt;br /&gt;
See the answer to the  question above. Ask your administrator to check &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Grades &amp;gt; General settings&#039;&#039; &lt;br /&gt;
==Formulas==&lt;br /&gt;
&lt;br /&gt;
===How do I give a fixed score for a successful quiz attempt===&lt;br /&gt;
&lt;br /&gt;
Suppose you want to give 5 points for a passing grade (say, 40) in a certain quiz (which has a maximum score of 100). Possible scenario ([http://moodle.org/mod/forum/discuss.php?d=148576]): extra credit points to every student that gets a &amp;quot;passing grade&amp;quot; in a &amp;quot;practice test&amp;quot; at the end of each chapter covered in the course, to encourage them to practice after the homework quizzes and to get familiar with a &amp;quot;test type&amp;quot; situation before the actual test.&lt;br /&gt;
&lt;br /&gt;
The following formula should do the trick:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=if([[quiz]]&amp;gt;=40, 5, 0)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formula may be added to a designated grade item or category.&lt;br /&gt;
&lt;br /&gt;
==Any further questions?==&lt;br /&gt;
&lt;br /&gt;
Please post in the [http://moodle.org/mod/forum/view.php?id=2122 Gradebook forum] on moodle.org.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=349976 Converting to Natural from Weighted, M2.7 to 3.2, general advice!] forum discussion&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=382291 Grading the number of activities completed] &lt;br /&gt;
&lt;br /&gt;
The following forum discussions are from before the implementation of the Natural Grading aggregation method but have been left here because they still contain some good information:&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=123143 Excluding practice quizzes from gradebook]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=193705 Course total not sum of max grade column?]&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=167596 Why do only certain items have multiplicator &amp;amp; offset boxes?]&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=235640 Extra credit]&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=269534#unread Change grading method only for some students]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[ca:PMF de les qualificacions]]&lt;br /&gt;
[[de:Bewertungen FAQ]]&lt;br /&gt;
[[es:Calificaciones FAQ]]&lt;br /&gt;
[[fr:FAQ des notes]]&lt;br /&gt;
[[ja:評定FAQ]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Timeline_block&amp;diff=138807</id>
		<title>Timeline block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Timeline_block&amp;diff=138807"/>
		<updated>2021-01-31T21:28:29Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: created 2 notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
*The Timeline block (displayed by default on the [[Dashboard]] and replacing the timeline tab of earlier versions of the [[Course overview]]) provides an overview of deadlines.&lt;br /&gt;
*Deadlines may be sorted by Overdue or Upcoming due dates (1) or by due dates per course (2).&lt;br /&gt;
&lt;br /&gt;
[[File:docsTimelineblock.png]]&lt;br /&gt;
&lt;br /&gt;
==How to make activities and resources display in the Timeline block==&lt;br /&gt;
&lt;br /&gt;
For activities&lt;br /&gt;
* Either set a deadline or&lt;br /&gt;
* Set an &#039;Expect completed on&#039; date in the [[Activity completion settings|activity completion settings]]&lt;br /&gt;
* For teachers to see assignments which need grading, a &#039;Remind me to grade by&#039; date must be entered in the assignment set up screen.&lt;br /&gt;
* Note 1: the dashboard will only display a maximum of 2 weeks in the past for &#039;Overdue&#039; or &#039;Remind me to grade by&#039; activities&lt;br /&gt;
* Note 2: students will not see activities on the dashboard unless they currently have access to view them in the course (ie. If an assignment is restricted to the view of a lesson, the assignment will not appear on the dashboard until the lesson has been viewed).&lt;br /&gt;
&lt;br /&gt;
For resources&lt;br /&gt;
* Set an &#039;Expect completed on&#039; date in the  [[Activity completion settings|activity completion settings]]&lt;br /&gt;
&lt;br /&gt;
[[es:Bloque Línea de tiempo]]&lt;br /&gt;
[[de:Zeitleiste]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Timeline_block&amp;diff=138775</id>
		<title>Timeline block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Timeline_block&amp;diff=138775"/>
		<updated>2020-12-10T20:11:17Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
*The Timeline block (displayed by default on the [[Dashboard]] and replacing the timeline tab of earlier versions of the [[Course overview]]) provides an overview of deadlines.&lt;br /&gt;
*Deadlines may be sorted by Overdue or Upcoming due dates (1) or by due dates per course (2).&lt;br /&gt;
&lt;br /&gt;
[[File:docsTimelineblock.png]]&lt;br /&gt;
&lt;br /&gt;
==How to make activities and resources display in the Timeline block==&lt;br /&gt;
&lt;br /&gt;
For activities&lt;br /&gt;
* Either set a deadline or&lt;br /&gt;
* Set an &#039;Expect completed on&#039; date in the [[Activity completion settings|activity completion settings]]&lt;br /&gt;
* For teachers to see assignments which need grading, a &#039;Remind me to grade by&#039; date must be entered in the assignment set up screen.&lt;br /&gt;
* Note, the dashboard will only display a maximum of 2 weeks in the past for &#039;Overdue&#039; or &#039;Remind me to grade by&#039; activities&lt;br /&gt;
&lt;br /&gt;
For resources&lt;br /&gt;
* Set an &#039;Expect completed on&#039; date in the  [[Activity completion settings|activity completion settings]]&lt;br /&gt;
&lt;br /&gt;
[[es:Bloque Línea de tiempo]]&lt;br /&gt;
[[de:Zeitleiste]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Question_bank&amp;diff=137320</id>
		<title>Question bank</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Question_bank&amp;diff=137320"/>
		<updated>2020-06-20T17:34:51Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: added additional link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Managing questions}}&lt;br /&gt;
This feature allows a teacher to create, preview, and edit questions in a database of question categories. The categories can be limited to being used on the site, course or quiz level.  The questions in a category can be added to a [[Quiz module|Quiz]] or to a [[Lesson module|lesson activity]] via an export process. The teacher enters the question bank by creating or editing a quiz activity or via &#039;&#039;Course administration &amp;gt; Question bank&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Select a category==&lt;br /&gt;
Questions are organised into categories. Initially each course has only one category called &amp;quot;Default&amp;quot;. It is good practice to create more categories to organize your questions. This not only makes it easier to find questions, but makes the use of random questions and matching question easier. You can create a hierarchy of categories because you can create subcategories inside parent categories. To add or edit categories click on the &amp;quot;[[Question categories|Categories]]&amp;quot; tab.&lt;br /&gt;
&lt;br /&gt;
The question editing screen shows the questions from the currently selected category. You choose this category from the &#039;&#039;&#039;Category:&#039;&#039;&#039; drop-down menu. Using the tick box below that menu you determine whether to also show the questions from all subcategories.&lt;br /&gt;
&lt;br /&gt;
If a question is deleted when it is still being used by a quiz, then it is not removed from the database, because that would cause all sorts of problems. Instead it is just set to hidden. &#039;Also show old questions&#039; is for showing these hidden questions.&lt;br /&gt;
&lt;br /&gt;
===Categories are shared in contexts===&lt;br /&gt;
&lt;br /&gt;
There are separate question category trees in each different &#039;context&#039; in which questions are shared. The contexts available to you depend on whether you access the question bank from an activity or from a course and depend on the permissions assigned you for access to questions. See [[Question contexts]] for more information on these contexts.&lt;br /&gt;
&lt;br /&gt;
==Add a new question==&lt;br /&gt;
# Click the &#039;&#039;Questions&#039;&#039; tab to access the Question Bank page, if not there already.&lt;br /&gt;
# From the &#039;&#039;&#039;Category&#039;&#039;&#039; drop-down menu, select a category you want to add a question to.&lt;br /&gt;
# The page will change to show the questions already in that category&lt;br /&gt;
# Select the question type you want to create from the &#039;&#039;&#039;Create new question&#039;&#039;&#039; drop-down menu.&lt;br /&gt;
# Fill in the form for the question type you are creating. Each [[Question types|question type]] has its own form and has its own options.&lt;br /&gt;
# Click &#039;&#039;Save Changes&#039;&#039; at the bottom of the form.&lt;br /&gt;
&lt;br /&gt;
==Edit, duplicate, preview, delete, move and tag==&lt;br /&gt;
[[File:NewQuestionEditIcons1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each question in the question bank has four icons which allow you to tag, edit, quickly duplicate, preview and delete the question. (The question may not be deleted if it is already in use elsewhere.)  To duplicate a question, click the duplicate icon (second from the left) and a copy of the question editing screen will appear. You can either edit this new copy or simply scroll down and click &amp;quot;Save changes.&amp;quot;To move a question into a different category or subcategory, click into the box on its left; scroll down to &amp;quot;With Selected...&amp;quot; and choose &amp;quot;Move to..&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new tag icon allows you to tag questions directly from the question bank. You can then search and filter by tagged questions.&lt;br /&gt;
&lt;br /&gt;
[[File:FilterByTag.png]]&lt;br /&gt;
&lt;br /&gt;
==Tips and tricks==&lt;br /&gt;
*Put the answer into the question name so you can quickly see the answers when students are asking for answers. This is especially useful if you&#039;re dealing with large sets of questions! (No option yet for viewing category or answer of question in the list of questions.)&lt;br /&gt;
*Export questions in GIFT or Moodle XML formats, then import them into a Lesson. (Future versions of Moodle will make Question bank available to both Lesson and Quiz activities.)&lt;br /&gt;
*Remember that while some of the same question types can be found in both the Quiz and Lesson modules, they can be very different.  Scoring and grading each student&#039;s choice is more robust in a Quiz.  On the other hand, each Lesson question answer also has a [[Jumps|jump]] associated it.&lt;br /&gt;
*Use GIFT or other export modes to print questions and answers in a category.  Hint, clever use of word processor macros, using search and replace, can tidy up a GIFT file for printing.&lt;br /&gt;
*The question title is useful in sorting and making notes. For example, &amp;quot;ZZ remove 2010-3 Why did the Moodler cross&amp;quot;, will put this question at the bottom of the list.  Or where you want a &#039;the&#039; questions in a category to appear in a specific order, use letters or numbers, knowing that AA will come first, AB will be second in the list.&lt;br /&gt;
*Do a copy and paste from a PDF file into the question content area.  Reduces &amp;quot;other&amp;quot; hidden code which Word, Open Office and other programs can insert.&lt;br /&gt;
&lt;br /&gt;
==Sharing and Managing Question banks==&lt;br /&gt;
&lt;br /&gt;
Be default, teachers can manage only the questions in the context of the courses they are in. You can set up a role to allow teachers to share and manager questions on a larger scale. &lt;br /&gt;
&lt;br /&gt;
You can also use this role to create a special system-wide &amp;quot;Question bank Manager&amp;quot; instead of giving admin level or site-wide Manager access to a person managing the Questions.&lt;br /&gt;
&lt;br /&gt;
See:&lt;br /&gt;
&lt;br /&gt;
*[[How to let teachers share questions between courses]]&lt;br /&gt;
*[[How to minimize the question bank when doing backup/restore]] &lt;br /&gt;
*Quiz Question Bank: Quiz level vs Course level - Forum Discussion: https://moodle.org/mod/forum/discuss.php?d=405646&lt;br /&gt;
&lt;br /&gt;
[[de:Fragensammlung]]&lt;br /&gt;
[[es:Banco de Preguntas]]&lt;br /&gt;
[[eu:Galdera-bankua]]&lt;br /&gt;
[[fr:Questions]]&lt;br /&gt;
[[ja:問題バンク]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Checklist_module&amp;diff=136845</id>
		<title>Checklist module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Checklist_module&amp;diff=136845"/>
		<updated>2020-04-09T15:42:47Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: Added comments about sorting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Activity module, block and grade export &lt;br /&gt;
|entry = http://moodle.org/plugins/view.php?plugin=mod_checklist, https://moodle.org/plugins/view.php?plugin=block_checklist and https://moodle.org/plugins/view.php?plugin=gradeexport_checklist&lt;br /&gt;
|tracker = http://tracker.moodle.org/browse/CONTRIB/component/10608&lt;br /&gt;
|discussion = http://moodle.org/mod/forum/discuss.php?d=144764&lt;br /&gt;
|maintainer = [[User:David Smith 2|Davo Smith]]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Image:checklist_module_overview.png|thumb|Checklist Module]]The &#039;&#039;&#039;Checklist Module&#039;&#039;&#039; is an add-on that allows a teacher to create a checklist for their students to work through.  It is contributed by [http://moodle.org/user/view.php?id=201866&amp;amp;course=1 David Smith].&lt;br /&gt;
The students should tick off each item on the list, as they complete it and the resulting progress of the class can be monitored by the teacher. The student is also rewarded with a progress bar that shows how far through the checklist they have managed to get.&lt;br /&gt;
&lt;br /&gt;
Other features include:&lt;br /&gt;
* Indenting items, to show a hierarchy of importance&lt;br /&gt;
* Optional items (which can be hidden in the class progress report and contribute to a secondary &#039;all items&#039; progress bar)&lt;br /&gt;
* Student checklist items (so that students can add their own items to keep track of)&lt;br /&gt;
* Dates on checklist items&lt;br /&gt;
* Choice of colours&lt;br /&gt;
&lt;br /&gt;
There is a short [http://www.youtube.com/watch?v=wIpGuW_-sVg overview video] available on YouTube.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
# Unzip the contents of file you downloaded to a temporary folder.&lt;br /&gt;
# Upload the files to the your moodle server, placing the &#039;mod/checklist&#039; files in the &#039;[moodlefolder]/mod/checklist&#039; folder, (optionally) the &#039;blocks/checklist&#039; files in the &#039;[moodlefolder]/blocks/checklist&#039; folder and (optionally) the &#039;grade/export/checklist&#039; files into the &#039;[moodlefolder]/grade/export/checklist&#039; folder.&lt;br /&gt;
# Log in as administrator and click on &#039;Notifications&#039; in the admin area to update the Moodle database, ready to use this plugin.&lt;br /&gt;
&lt;br /&gt;
==Adding a checklist block==&lt;br /&gt;
# Click &#039;Turn editing on&#039;, in a course view.&lt;br /&gt;
# Under &#039;blocks&#039;, choose &#039;Checklist&#039;&lt;br /&gt;
# Click on the &#039;Edit&#039; icon in the new block to set the checklist to  display and (optionally) which group of users to display.&lt;br /&gt;
&lt;br /&gt;
==Exporting checklist progress (Excel)==&lt;br /&gt;
# In a course, click &#039;Grades&#039;&lt;br /&gt;
# From the dropdown menu, choose &#039;Export =&amp;gt; Checklist Export&#039;&lt;br /&gt;
# Choose the checklist you want to export and click &#039;Export Excel&#039;&lt;br /&gt;
If you want to change the user information that is included in the export (&#039;First name&#039;, &#039;Surname&#039;, etc.), then edit the file &#039;grade/export/checklist/columns.php&#039; - instructions can be found inside the file itself.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Click on &#039;Add an activity&#039; and choose &#039;Checklist&#039;.&lt;br /&gt;
Enter all the usual information.&lt;br /&gt;
You can optionally allow students to add their own, private items to the list (this will not affect the overall progress, but may help students to keep note of anything extra they need to do).&lt;br /&gt;
&lt;br /&gt;
You can then add items to the list.&lt;br /&gt;
Click on the &#039;tick&#039; to toggle an item between required, optional and heading&lt;br /&gt;
Click on the &#039;edit&#039; icon to change the text.&lt;br /&gt;
Click on the &#039;indent&#039; icons to change the level of indent.&lt;br /&gt;
Click on the &#039;move&#039; icons to move the item up/down one place.&lt;br /&gt;
Click on the &#039;delete&#039; icon to delete the item.&lt;br /&gt;
Click on the &#039;+&#039; icon to insert a new item immediately below the current item.&lt;br /&gt;
&lt;br /&gt;
Click on &#039;Preview&#039;, to get some idea of how this will look to students.&lt;br /&gt;
Click on &#039;Results&#039;, to see a chart of how the students are currently progressing through the checklist.&lt;br /&gt;
&lt;br /&gt;
Students can now log in, click on the checklist, tick any items they have completed and then click &#039;Save&#039; to update the database.&lt;br /&gt;
If you have allowed them to do so, they can click on &#039;Start Adding Items&#039;, then click on the green &#039;+&#039; icons to insert their own, private items to the list.&lt;br /&gt;
&lt;br /&gt;
If you allow a checklist to be updated by teachers (either exclusively, or in addition to students), it can be updated by doing the following:&lt;br /&gt;
# Click &#039;Results&#039;&lt;br /&gt;
# Click on the little &#039;Magnifying glass&#039; icon, beside the student&#039;s name&lt;br /&gt;
# Choose Yes / No for each item&lt;br /&gt;
# Click &#039;Save&#039;&lt;br /&gt;
# (Optional) Click &#039;Add comments&#039;, enter/update/delete a comment against each item, Click &#039;Save&#039;&lt;br /&gt;
# Click &#039;View all Progress&#039; to go back to the view with all the students shown.&lt;br /&gt;
&lt;br /&gt;
===Checklist Overview Sort Order===&lt;br /&gt;
&lt;br /&gt;
The sorting for the block in &#039;overview&#039; mode is as follows:&lt;br /&gt;
* Started, but incomplete checklists (ordered from least complete, to most complete), then&lt;br /&gt;
* Unstarted checklists (0%), then&lt;br /&gt;
* Completed checklists (100%)&lt;br /&gt;
&lt;br /&gt;
A maximum of 20 checklists are shown and the ordering of checklists that have the same completion % is undefined (for MySQL it is likely to be the order they were created, for other DB systems, it may not be). As the overview works across multiple courses, there is no simple way to order the checklists with identical completion % in the same order that they would appear within a course.&lt;br /&gt;
&lt;br /&gt;
===Normal items, optional items and headings in a checklist===&lt;br /&gt;
&lt;br /&gt;
The checklist module fully supports headings:&lt;br /&gt;
# On the edit page, click on the &#039;tick&#039; mark on the left to convert an item into an &#039;optional&#039; item,&lt;br /&gt;
# Click again to convert it into a heading.&lt;br /&gt;
&lt;br /&gt;
* Optional items are ones that contribute to the &#039;all items&#039; progress bar, but not the &#039;required items&#039; progress bar;&lt;br /&gt;
* Optional items don&#039;t contribute to the gradebook score, nor do they help the student to &#039;complete&#039; the checklist.&lt;br /&gt;
&lt;br /&gt;
==Automatic updating==&lt;br /&gt;
&lt;br /&gt;
On the settings screen you can allow the checklist to import modules from the current course (or just the section the checklist is in). This will list the names of the resources / activities in the course and automatically tick them off, when they are &#039;completed&#039; (note there will be a delay of up to 60 seconds between an activity being completed and the checklist updating, unless you are willing to make a few Moodle core code modifications). &lt;br /&gt;
&lt;br /&gt;
Activities are considered complete, based on either the course logs being updated (e.g. resource viewed, forum posted to, etc.), a certain grade being achieved (Moodle 1.9 &amp;amp; assignment / quiz / forum only) or the Completion criteria being met (Moodle 2.0+ only).&lt;br /&gt;
&lt;br /&gt;
==Adding labels to the checklist==&lt;br /&gt;
Labels are not included in checklists by default, as they would be confusing for most people.&lt;br /&gt;
&lt;br /&gt;
However, if you do want labels to appear, you should only need to change a couple of lines of code.&lt;br /&gt;
&lt;br /&gt;
Open up mod/checklist/locallib.php, find line 262 ( https://github.com/davosmith/moodle-checklist/blob/master/locallib.php#l262 ), which should look like:&lt;br /&gt;
                if ($mods-&amp;gt;get_cm($cmid)-&amp;gt;modname == &#039;label&#039;) {&lt;br /&gt;
                    continue; // Ignore any labels&lt;br /&gt;
                }&lt;br /&gt;
Just delete these 3 lines (or add &#039;//&#039;, without quotes, to the start of each line) and labels should appear in the checklist.&lt;br /&gt;
&lt;br /&gt;
[[es:Módulo lista de cotejo]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Parent_role&amp;diff=136824</id>
		<title>Parent role</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Parent_role&amp;diff=136824"/>
		<updated>2020-04-01T22:43:46Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: added a link to a forum discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Roles}}&lt;br /&gt;
The role of &#039;&#039;&#039;Parent&#039;&#039;&#039; may be used to provide parents/mentors/tutors with permission to view certain information, such as activity reports, grades, blog entries and forum posts, about their children/mentees/tutees.&lt;br /&gt;
&lt;br /&gt;
The Parent role may also be allowed to agree to policies on behalf of their underage child. See the section on agreeing to policies on behalf of the child.&lt;br /&gt;
&lt;br /&gt;
===Creating a new role===&lt;br /&gt;
&lt;br /&gt;
#As an administrator, go to &#039;&#039;Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles&#039;&#039; and click the &amp;quot;Add a new role&amp;quot; button.&lt;br /&gt;
#For archetype  role choose &amp;quot;No role.&amp;quot;&lt;br /&gt;
#Give the role a short name (such as &amp;quot;Parent&amp;quot;, but it can be anything appropriate, such as tutor/mentor)&lt;br /&gt;
#Give the role a custom full name (such as &amp;quot;Parent&amp;quot;, but it can be anything appropriate, such as tutor/mentor)&lt;br /&gt;
#Under Context types where this role may be assigned check the &#039;&#039;&#039;user&#039;&#039;&#039; context.&lt;br /&gt;
#Under the heading of &#039;&#039;&#039;Course&#039;&#039;&#039;&lt;br /&gt;
#Change [[Capabilities/moodle/user:viewdetails|moodle/user:viewdetails]] to &#039;&#039;allow&#039;&#039; - to access the student&#039;s profile&lt;br /&gt;
#Under the heading of &#039;&#039;&#039;Users&#039;&#039;&#039;&lt;br /&gt;
#Change [[Capabilities/moodle/user:viewdetails|moodle/user:viewalldetails]] to &#039;&#039;allow&#039;&#039; - to view all aspects of the student&#039;s profile&lt;br /&gt;
#Change any/all of the following capabilities to &#039;&#039;allow&#039;&#039;&lt;br /&gt;
#*[[Capabilities/moodle/user:readuserblogs|moodle/user:readuserblogs]] - to read the student&#039;s blog entries&lt;br /&gt;
#*[[Capabilities/moodle/user:readuserposts|moodle/user:readuserposts]] - to read the student&#039;s forum posts&lt;br /&gt;
#*[[Capabilities/moodle/user:viewuseractivitiesreport|moodle/user:viewuseractivitiesreport]] - to view the student&#039;s activity reports and grades&lt;br /&gt;
#*[[Capabilities/moodle/user:editprofile|moodle/user:editprofile]] - to edit the student&#039;s profile&lt;br /&gt;
#*[[Capabilities/tool/policy:acceptbehalf|tool/policy:acceptbehalf]] for accepting policies on behalf of the student.&lt;br /&gt;
#Click the &amp;quot;Create this role&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:CustomRole05.png|thumb|Setting up the parent role]]&lt;br /&gt;
| [[File:CustomRole06.png|thumb|Assigning capabilities to the parent role]]&lt;br /&gt;
| [[File:CustomRole07.png|thumb|Saving changes to the parent role]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Some permissions may already be set to &amp;quot;Allow&amp;quot;, or the permissions granted here may not be the ones required for that Role. This set of Permissions mean that this Role allows anyone assigned to a Parent Role, then linked to the Student Role, to edit the profile or read the blogs of that Student - not everyone&#039;s profile or blogs.&lt;br /&gt;
&lt;br /&gt;
==Assigning the parent to the student==&lt;br /&gt;
&lt;br /&gt;
*Access the child&#039;s full  profile page, via &#039;&#039;&#039;Site administration ► Users ► Accounts ► Browse list of users&#039;&#039;&#039;&lt;br /&gt;
*Click the child&#039;s name to view the profile.&lt;br /&gt;
*In the Administration section, click Preferences&lt;br /&gt;
*In the Roles section, click Assign roles relative to this user&lt;br /&gt;
*Choose the role to assign i.e. Parent by clicking on the word.&lt;br /&gt;
*Select the parent in the potential users list and use the Add button to add it to the existing users list. &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:Parentroleassignroles.png|thumb|500px|&amp;quot;Assign roles relative to this user&amp;quot;]]&lt;br /&gt;
| [[File:choosingparent.png|thumb|500px|Assigning the parent to the student]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
At this point you can return to the &amp;quot;Assign roles in user:&amp;quot; page and you should see that the parent name is now in the &amp;quot;Users with Role&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;NOTE:&#039;&#039;&#039;The same parent may be assigned to several students, siblings or otherwise.&lt;br /&gt;
&lt;br /&gt;
===Agreeing to policies on behalf of the child===&lt;br /&gt;
If the parent has been given the [[Capabilities/tool/policy:acceptbehalf]] then they can click on the child&#039;s profile, click the Policies and agreements link and agree to the policies there:&lt;br /&gt;
&lt;br /&gt;
[[File:ParentConsent.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
===Adding the Mentees Block===&lt;br /&gt;
This block needs to be added so parents can see links to their child&#039;s profile.&lt;br /&gt;
&lt;br /&gt;
* On the Front Page, turn editing on.&lt;br /&gt;
*Go to the &#039;&#039;&#039;Add Blocks&#039;&#039;&#039; block and select the [[Mentees block]] and when it appears, click on the Configuration icon.&lt;br /&gt;
*Edit the configuration settings to suit the needs of the site. When complete, save the changes and return to the Front Page.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:addmenteesblock.png|thumb|Accessing the Add Blocks]]&lt;br /&gt;
| [[File:configuringmenteesblock.png|thumb|Setting the configuration values]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===How a parent sees their child&#039;s activities===&lt;br /&gt;
&lt;br /&gt;
*Once the mentees block has been added, a parent/mentor sees the link to any children/mentees they are responsible for.&lt;br /&gt;
*They click on a name and will be taken to the profile page of that user.&lt;br /&gt;
*They then select from &amp;quot;Course profiles&amp;quot; - the name of a course the user is enrolled in.&lt;br /&gt;
*Grades may then be viewed by clicking in the Reports section&lt;br /&gt;
*Forum posts or similar may also be viewed from the user&#039;s profile in the Miscellaneous section.&lt;br /&gt;
{|&lt;br /&gt;
| [[File:MOParentRole01a.png|thumb|Click the name of a course in the profile]]&lt;br /&gt;
| [[File:MOParentRole02.png|thumb|Only &#039;&#039;&#039;then&#039;&#039;&#039; choose an item, for example grades]]&lt;br /&gt;
| [[File:MOParentRole03.png|thumb|The course grades are now visible]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To view activity in another course, the parent needs to click back to the user&#039;s main profile and then select another course link.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://www.youtube.com/watch?v=Gk_TRi_N00o The Parent role in Moodle 2.0 video]&lt;br /&gt;
*[[Create_custom_roles|Create a custom role]]&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=389146#p1568758 Forum discussion regarding limitations to the mentor role]&lt;br /&gt;
&lt;br /&gt;
[[eu:Guraso_rola]]&lt;br /&gt;
[[fr:Rôle parent]]&lt;br /&gt;
[[ja:親ロール]]&lt;br /&gt;
[[de:Eltern-Rolle]]&lt;br /&gt;
[[es:Rol paterno]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User_policies&amp;diff=136803</id>
		<title>User policies</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User_policies&amp;diff=136803"/>
		<updated>2020-03-27T21:43:09Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: /* Gravatar default image URL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Roles}}&lt;br /&gt;
==User policies==&lt;br /&gt;
The following settings may be changed by an administrator in &#039;&#039;User policies&#039;&#039; in the Site administration.&lt;br /&gt;
&lt;br /&gt;
===Role for visitors===&lt;br /&gt;
Users who are not logged in to the site will be treated as if they have the role specified here, granted to them at the site context. The role of Guest is the default and the recommended setting for standard Moodle sites. The user will still be required to login to participate in an activity.&lt;br /&gt;
&lt;br /&gt;
===Role for guest===&lt;br /&gt;
This option specifies the role that will automatically be assigned to the guest user. This role is also temporarily assigned to non enrolled users when they enter a course that allows guests without password.&lt;br /&gt;
&lt;br /&gt;
(If you wish to deny guest access to a site altogether, the guest login button should be set to hide in &#039;&#039;Manage authentication&#039;&#039; in the Site administration.)&lt;br /&gt;
&lt;br /&gt;
===Default role for all users===&lt;br /&gt;
&lt;br /&gt;
It is recommended that the default role for all users is set to [[Authenticated user]]. To set it to a custom role, the custom role must be assignable in the system context and have role archetype set to none.&lt;br /&gt;
&lt;br /&gt;
Note: It is not recommended that the default role for all users is set to student.&lt;br /&gt;
&lt;br /&gt;
===Creators&#039; role in new courses=== &lt;br /&gt;
Moodle will automatically enroll the user creating a new course in the course with the role specified in this setting.  Moodle checks that the role used for creating the course eg &amp;quot;Course creator&amp;quot; has the right to assign the specified role in the new course. This means that the following capabilities needs to be set on the course creator role before the user is enrolled automatically :  &lt;br /&gt;
* moodle/course:create | Allow   &lt;br /&gt;
* moodle/course:manageactivities | Allow&lt;br /&gt;
* moodle/course:viewparticipants | Allow &lt;br /&gt;
* moodle/role:assign | Allow &lt;br /&gt;
&lt;br /&gt;
If the course creator role is not setup correctly the user will be enrolled in the course without any roles. &lt;br /&gt;
&lt;br /&gt;
===Auto-login guest===&lt;br /&gt;
&lt;br /&gt;
If not set, then visitors must click the &amp;quot;Login as a guest&amp;quot; button before entering a course which allows [[Guest|guest access]].&lt;br /&gt;
&lt;br /&gt;
Note: If auto-login guest is set, the guest login button also needs to be set to show in &#039;&#039;Manage authentication&#039;&#039; in the Site administration, even though visitors won&#039;t necessarily use it.&lt;br /&gt;
&lt;br /&gt;
===Hide user fields===&lt;br /&gt;
The following user fields appear on users&#039; profile pages. Certain user fields are also listed on the course participants page. You can increase student privacy by hiding selected user fields.&lt;br /&gt;
&lt;br /&gt;
Description, city/town, country, web page, ICQ number, Skype ID, Yahoo ID, AIM ID, MSN ID, last access, My courses and first access and groups&lt;br /&gt;
&lt;br /&gt;
*User fields on users&#039; profile pages are hidden from all users with the capability [[Capabilities/moodle/user:viewhiddendetails|moodle/user:viewhiddendetails]] not set.&lt;br /&gt;
*User fields on the course participants page are hidden from all users with the capability [[Capabilities/moodle/course:viewhiddenuserfields|moodle/course:viewhiddenuserfields]] not set.&lt;br /&gt;
&lt;br /&gt;
===Show user identity===&lt;br /&gt;
&lt;br /&gt;
Any of the following fields may be shown to users with the capability [[Capabilities/moodle/site:viewuseridentity|moodle/site:viewuseridentity]] when searching for users and displaying lists of users.&lt;br /&gt;
&lt;br /&gt;
*Username &lt;br /&gt;
*D number&lt;br /&gt;
*Email address&lt;br /&gt;
*Phone number&lt;br /&gt;
*Mobile phone&lt;br /&gt;
*Department&lt;br /&gt;
*Institution&lt;br /&gt;
*City/town &lt;br /&gt;
*Country &lt;br /&gt;
&lt;br /&gt;
This setting is useful for sites with large number of users, where the likelihood of users with the same name is high.&lt;br /&gt;
&lt;br /&gt;
Locations where user identity fields are shown are as follows:&lt;br /&gt;
&lt;br /&gt;
*User selectors ([[Assign roles]] in some places, [[Groups|groups]], forum subscribers)&lt;br /&gt;
*[[Browse list of users]]&lt;br /&gt;
*[[Participants]]&lt;br /&gt;
*[[Gradebook|Grader report]]&lt;br /&gt;
*[[Quiz reports]]&lt;br /&gt;
*[[Using SCORM|SCORM reports]]&lt;br /&gt;
*[[Using Assignment|Assignment submissions]]&lt;br /&gt;
*[[Using Course completion|Course completion report]]&lt;br /&gt;
*[[Using Activity completion|Activity completion report]]&lt;br /&gt;
&lt;br /&gt;
Tip: Select only one or two fields that are mandatory at your institution. Do not select more than two fields otherwise tables become very wide.&lt;br /&gt;
&lt;br /&gt;
===Full name format===&lt;br /&gt;
&lt;br /&gt;
See [[Additional name fields]] for details, also about the alternative full name format.&lt;br /&gt;
&lt;br /&gt;
===Maximum users per page===&lt;br /&gt;
&lt;br /&gt;
You can choose here the maximum number of users to be displayed when searching in courses, groups, cohorts etc. The default is 100 but if your Moodle site is very large you can increase the number here.&lt;br /&gt;
&lt;br /&gt;
===Enable Gravatar===&lt;br /&gt;
&lt;br /&gt;
[http://gravatar.com/ Gravatar] (an abbreviation for globally recognized avatar) is a third party service for providing globally personal avatars.&lt;br /&gt;
&lt;br /&gt;
If Gravatar service is enabled by the administrator and a user has not uploaded any user picture, Moodle will check whether the user&#039;s email address has an associated gravatar account and if so, will use the gravatar as the user&#039;s picture.&lt;br /&gt;
&lt;br /&gt;
===Gravatar default image URL===&lt;br /&gt;
&lt;br /&gt;
In Moodle 2.3.3 onwards, if gravatars are enabled, an alternative default user picture may be specified. The options are:&lt;br /&gt;
&lt;br /&gt;
* A gravatar default image - by entering a code such as &#039;&#039;mm&#039;&#039; or &#039;&#039;identicon&#039;&#039; - See https://en.gravatar.com/site/implement/images/ for codes of other gravatar default images.&lt;br /&gt;
* A specified image - by entering the image URL&lt;br /&gt;
&lt;br /&gt;
If the field is left empty then the theme&#039;s default user picture is used.&lt;br /&gt;
&lt;br /&gt;
==Unsupported role assignments==&lt;br /&gt;
&lt;br /&gt;
Unsupported role assignments are role assignments in contexts that make no sense for that role, such as the course creator role in the course or activity context, or the teacher role in the user context. &lt;br /&gt;
&lt;br /&gt;
Prior to Moodle 2.0, there was no &#039;Context types where this role may be assigned&#039; setting in the edit role form, and so any role could be assigned in any context. Upon upgrading a site from 1.9, any role assignments in contexts that make no sense for that role are listed as unsupported role assignments.&lt;br /&gt;
&lt;br /&gt;
In general, it is safe to delete all unsupported role assignments. In doing so, the worst that can happen is for a user to be unassigned a custom role; no other data loss will occur.&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Einstellungen für Rollen]]&lt;br /&gt;
[[fr:Réglages des rôles]]&lt;br /&gt;
[[ja:ユーザポリシー]]&lt;br /&gt;
[[es:Políticas para el usuario]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=File_resource_settings&amp;diff=136772</id>
		<title>File resource settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=File_resource_settings&amp;diff=136772"/>
		<updated>2020-03-18T20:43:51Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: Added a line about &amp;quot;Display Resource Description&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{File}}&lt;br /&gt;
A teacher can add a file in a course when editing is turned on by dragging and dropping it or by clicking an &#039;Add an activity or resource&#039; link (or, if not present, the &amp;quot;Add an activity&amp;quot; drop down menu) and selecting File.&lt;br /&gt;
&lt;br /&gt;
===Dragging and dropping files===&lt;br /&gt;
*If you are using a modern browser, you can simply click, hold and drag and drop a file directly onto your course page. You will know if drag and drop is available to you because you will (briefly) see a message at the top of your screen:&lt;br /&gt;
[[File:dragdropmessage.png]]&lt;br /&gt;
&lt;br /&gt;
To drag and drop a folder, you must first compress/zip it using whichever program your computer has. See the documentation [[Folder]] for more information.&lt;br /&gt;
&lt;br /&gt;
===Uploading files===&lt;br /&gt;
*Instead of drag and drop, you can click the link &#039;Add an activity or resource&#039; and  select either [[File]] or [[Folder]] from the activity chooser (or choose from the  &#039;Add a resource&#039; drop down menu, if this is present instead.)&lt;br /&gt;
*Give your file a name and, if desired, a description (which you can display on the course page) and then upload your file by clicking the &#039;Add&#039; button in the Select files box. Clicking on this button takes you to the [[File picker]] which is the name given to the file storage and access area within Moodle.&lt;br /&gt;
*There is also a block (with an arrow) into which you can drag and drop a file straight from your desktop into Moodle.&lt;br /&gt;
[[File:31File.png|thumb|center|400px|Settings for uploading a file]]&lt;br /&gt;
&lt;br /&gt;
==Viewing and editing uploaded files==&lt;br /&gt;
&lt;br /&gt;
* Once uploaded, files appear as thumbnails in the file manager for easy recognition.&lt;br /&gt;
* Files view can be easily toggled between icons view or a table view with sizes and dates, or a hierarchical list view. See the documentation on the [[File picker]] for more information.&lt;br /&gt;
*Clicking on the  name of an uploaded file opens up a pop up dialogue box which allows file details quickly to be altered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:popupdialogue.png|thumb|400px|center|File info popup dialogue]]&lt;br /&gt;
&lt;br /&gt;
==Creating an alias/shortcut==&lt;br /&gt;
&lt;br /&gt;
*When an uploaded file - or a file from the Private files, Dropbox, File system or EQUELLA repositories - is re-used elsewhere on Moodle, the teacher has the option to make a copy (a new, unconnected version) or to create a shortcut or &#039;&#039;alias&#039;&#039;.&lt;br /&gt;
*If an alias is created, then when the original file is updated, it will change in all instances of the alias. So a teacher might add course notes to their private files for example, and then add them into a number of courses. When the teacher makes an alteration in the file in their private files, this alteration will be reflected in all instances of the course notes.&lt;br /&gt;
*An alias can be recognised by its thumbnail. See the difference in the screenshot below between the original file (left) and the alias (right):&lt;br /&gt;
*To update a file, go to its original location (for example Private files) and upload your new version &#039;&#039;with the same name&#039;&#039; . You will be prompted to override or rename the file. Choose &amp;quot;override&amp;quot; and this file will replace your original file and the alisas/shortcuts will remain and all be updated to your latest version.&lt;br /&gt;
{|&lt;br /&gt;
| [[File:alias.png|thumb|Creating an alias]]&lt;br /&gt;
| [[File:shortcut1.png|frame]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039; Aliases cannot be made in the following areas:&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
* an assignment submission&lt;br /&gt;
* a forum post attachment&lt;br /&gt;
* a workshop submission&lt;br /&gt;
* a quiz essay&lt;br /&gt;
* a database activity file field&lt;br /&gt;
&lt;br /&gt;
This is to prevent cases such as a student uploading an item for assessment and then subsequently changing the original in their private files. When a student uses a file from their private files in one of these instances, they do not see the options to &amp;quot;copy&amp;quot; or &amp;quot;create an alias&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==File resource course settings==&lt;br /&gt;
===Display===&lt;br /&gt;
* &#039;&#039;Automatic&#039;&#039; - Make the best guess at what should happen (probably what is wanted 99% of the time).&lt;br /&gt;
* &#039;&#039;Embed&#039;&#039; - Show the Moodle page with heading, blocks and footer. Show the title/description of the item and display the file directly in the page as well (good for images, flash animations, videos?, PDFs).&lt;br /&gt;
* &#039;&#039;Force download&#039;&#039; - user clicks on the file, then the web browser pops up with the &#039;where do you want to save this file&#039; box.&lt;br /&gt;
* &#039;&#039;Open&#039;&#039; - No Moodle heading, blocks, footer or description - just show the file in the web browser (e.g. shows image, PDF, flash animation, taking up the whole browser window)&lt;br /&gt;
* &#039;&#039;In pop-up&#039;&#039; - Same as &#039;Open&#039;, but opens a new browser window to show this file (without the Moodle heading, blocks, etc) - this browser window also does not have all the menus and address bar in it.&lt;br /&gt;
&lt;br /&gt;
*The following additional options are only there if you enable them via &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; File&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;In frame&#039;&#039; - show the Moodle heading and the file description, with the file displayed in a resizable area below (images, PDF, flash, etc. supported).&lt;br /&gt;
* &#039;&#039;New window&#039;&#039; - very much like &#039;in pop-up&#039;, but the new window is a full browser window, with menus and address bar, etc.&lt;br /&gt;
&lt;br /&gt;
All of the above is true of items that can be displayed inside the browser directly (e.g. images, text files, PDFs (with plugin)). If the file cannot be displayed within the browser (e.g. word documents, without a suitable plugin, or other files that need to be loaded by an external program), then the pop-ups or frames, etc. will be created, but then the browser will take over and ask if you want to save the file.&lt;br /&gt;
&lt;br /&gt;
To summarise:&lt;br /&gt;
&lt;br /&gt;
* Do you want Moodle to sort it all out for you? - Automatic&lt;br /&gt;
* Do you want to force the user to save the file (or open it in a program on their desktop)? - Force download&lt;br /&gt;
* Do you want to show the file as part of the Moodle page (images, PDFs, videos)? - Embed&lt;br /&gt;
* Do you want to show the file in the browser, but without the Moodle page decorations (images, PDFs, videos)? - Open&lt;br /&gt;
* Do you want that, but in a new window? - In Pop-up (or possibly &#039;New window&#039;)&lt;br /&gt;
* Do you want to use a horrible bit of non-strict HTML that should never be allowed in polite company? - In frame&lt;br /&gt;
&lt;br /&gt;
===Show size or type===&lt;br /&gt;
&lt;br /&gt;
To show the file size and/or type on the course page and also on the resource page, simply tick the appropriate checkboxes.&lt;br /&gt;
&lt;br /&gt;
[[File:files showing size and type.png]]&lt;br /&gt;
&lt;br /&gt;
===Show upload/modified date===&lt;br /&gt;
&lt;br /&gt;
If enabled, this setting will display the date the resource was uploaded. If several resources are uploaded, then date the main file was uploaded will be displayed.&lt;br /&gt;
[[File:UploadedModified.png|thumb|500px|center]]&lt;br /&gt;
&lt;br /&gt;
===Display Resource Description===&lt;br /&gt;
&lt;br /&gt;
If enabled, this setting will display any content from the description box beneath the file (bottom of the page), provided that the Display is set to Embed.&lt;br /&gt;
&lt;br /&gt;
===Use filters on file content===&lt;br /&gt;
(This setting is visible when &amp;quot;Show more&amp;quot; is clicked.)&lt;br /&gt;
&lt;br /&gt;
If you wish  included media such as images and mp3 to appear embedded in the files then select &amp;quot;all files&amp;quot; or &amp;quot;HTML files only&amp;quot;, according to your file types. (Note that this  setting may cause problems for some Flash and Java applets.)&lt;br /&gt;
&lt;br /&gt;
Depending on what is enabled for your site and course, you may also need to explore [[Common  module settings]], [[Conditional activities| Restrict access]] and [[Activity completion]]&lt;br /&gt;
&lt;br /&gt;
If your File doesn&#039;t display as you wish, check the site settings below:&lt;br /&gt;
&lt;br /&gt;
==Extract or unzip a zipped archive file ==&lt;br /&gt;
&lt;br /&gt;
If you uploaded a zip file into a File or Folder Resource, you can uncompress and expand it into its various files. To do this, go into Edit settings for the resource, right click on the file icon in the Select files area, and then click on the Unzip file button.&lt;br /&gt;
&lt;br /&gt;
[[File:file_resource_unzip.png|Unzip button]]&lt;br /&gt;
&lt;br /&gt;
==Displaying a website index page==&lt;br /&gt;
&lt;br /&gt;
The file module may be used if you have a folder with linked files such as a website with an index.html file or a flash activity with xml/swf and index file.&lt;br /&gt;
{|&lt;br /&gt;
| [[File:Setmainfile.png|thumb|Setting the main file]]&lt;br /&gt;
| [[File:file resource.png|thumb|Website index page set as main file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
# Click the &#039;Turn editing on&#039; button at the top right of the course page&lt;br /&gt;
# Drag and drop the zipped folder onto the course section where you&#039;d like it to appear, answer &#039;Create file resource&#039; to the popup dialogue, then click the upload button &lt;br /&gt;
# Clicking the editing icon (hand with a pen) then click on the zip file and unzip it&lt;br /&gt;
# Click on the index.html file or the file you want to start displaying your linked files from then in the popup dialogue click the button &#039;Set main file&#039;. This ensures this file is the one that appears on the course page for students to click on. The main file is then indicated with a title in bold.&lt;br /&gt;
# Click the button &#039;Save and display&#039; at the bottom of the page&lt;br /&gt;
&lt;br /&gt;
==Site settings==&lt;br /&gt;
&lt;br /&gt;
The file module has additional settings which may be changed by an administrator in &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; File&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Frame height allows you to specify the height of the top frame (containing the navigation) if you choose the  &amp;quot;in frame&amp;quot; display option.  Note: If your theme has a large header then the &#039;&#039;resource_framesize&#039;&#039; variable should be increased to prevent horizontal and vertical scrollbars.&lt;br /&gt;
*Available display options:  By default Moodle doesn&#039;t enable &amp;quot;New window&amp;quot; or &amp;quot;In frame&amp;quot;, so you need to set them available here if required, and you can also disable other options if not applicable.&lt;br /&gt;
&lt;br /&gt;
The following capabilities relate to the file resource:&lt;br /&gt;
* [[Capabilities/mod/resource:view|View file resource]]&lt;br /&gt;
* [[Capabilities/mod/resource:addinstance|Add a new file resource]]&lt;br /&gt;
&lt;br /&gt;
[[de:Datei konfigurieren]]&lt;br /&gt;
[[es:Configuraciones del recurso archivo]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/course:reset&amp;diff=136627</id>
		<title>Capabilities/moodle/course:reset</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/course:reset&amp;diff=136627"/>
		<updated>2020-02-06T21:16:56Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to [[Reset course|reset a course]]&lt;br /&gt;
*This allows a user to reset an individual activity within a course&lt;br /&gt;
*This capability is allowed for the default roles of manager and teacher&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Reset]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
[[es:Capabilities/moodle/course:reset]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/enrol/manual:unenrolself&amp;diff=136626</id>
		<title>Capabilities/enrol/manual:unenrolself</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/enrol/manual:unenrolself&amp;diff=136626"/>
		<updated>2020-02-06T21:09:46Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to manually unenrol themselves from a course in which they were previously manually enrolled via &#039;&#039;Administration &amp;gt; Course administration &amp;gt; Unenrol me from this course&#039;&#039;&lt;br /&gt;
*This capability adds an &amp;quot;Unenroll me from course” link in the Administration block of the course&lt;br /&gt;
*This capability is not set for any of the default roles&lt;br /&gt;
*To allow students to unenrol themselves from courses which they were previously manually enrolled in, the capability must be set to &amp;quot;allow&amp;quot; for the student role via &#039;&#039;Administration &amp;gt; Site Administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Manual enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Enrol]]&lt;br /&gt;
[[Category:Enrolment]]&lt;br /&gt;
[[de:Capabilities/enrol/manual:unenrolself]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/enrol/manual:unenrol&amp;diff=136625</id>
		<title>Capabilities/enrol/manual:unenrol</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/enrol/manual:unenrol&amp;diff=136625"/>
		<updated>2020-02-06T21:07:33Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to unenrol other users manually in &#039;&#039;Settings &amp;gt; Course administration &amp;gt; Users &amp;gt; Enrolled users&#039;&#039;&lt;br /&gt;
*This capability is allowed for the default roles of [[Manager]] and [[Teacher]]&lt;br /&gt;
*This capability adds a trash can icon next to each participant of the [[Participants]] page&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Manual enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Enrol]]&lt;br /&gt;
[[Category:Enrolment]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/enrol/manual:enrol&amp;diff=136624</id>
		<title>Capabilities/enrol/manual:enrol</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/enrol/manual:enrol&amp;diff=136624"/>
		<updated>2020-02-06T21:04:31Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to enrol other users into a course manually via &#039;&#039;Settings &amp;gt; Course administration &amp;gt; Users &amp;gt; Enrolled users&#039;&#039;&lt;br /&gt;
*The default roles of manager and teacher have this capability set to allow.&lt;br /&gt;
*This allows users to see the “Enroll Users” button on the course [[Participants]] page&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Manual enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Enrol]]&lt;br /&gt;
[[Category:Course]]&lt;br /&gt;
[[Category:Enrolment]]&lt;br /&gt;
[[de:Capabilities/enrol/manual:enrol]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/mod/hvp:getcachedassets&amp;diff=136619</id>
		<title>Capabilities/mod/hvp:getcachedassets</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/mod/hvp:getcachedassets&amp;diff=136619"/>
		<updated>2020-02-06T13:27:50Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: Created page with &amp;quot;{{Capabilities}} *This allows a user to cache Interactive_Content_-_H5P_activity H5P assets, required for viewing H5P activities *This capability is allowed for the defaul...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to cache [[Interactive_Content_-_H5P_activity]] H5P assets, required for viewing H5P activities&lt;br /&gt;
*This capability is allowed for the default roles of teacher and student&lt;br /&gt;
*This capability must also be added for the authenticated user role&lt;br /&gt;
&lt;br /&gt;
[[Category:Audio]]&lt;br /&gt;
[[Category:Video]]&lt;br /&gt;
[[Category:Language teaching]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actividad Contenido Interactivo - H5P]]&lt;br /&gt;
[[fr:H5P]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/restore:restoresection&amp;diff=136618</id>
		<title>Capabilities/moodle/restore:restoresection</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/restore:restoresection&amp;diff=136618"/>
		<updated>2020-02-06T13:05:22Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to [[Course restore|restore course sections]]&lt;br /&gt;
*This capability is allowed for the default roles of manager and teacher &lt;br /&gt;
*This capability is required in order to use the Sharing Cart plugin&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Backup]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[es:Capabilities/moodle/restore:restoresection]]&lt;br /&gt;
[[fr:Capabilities/moodle/restore:restoresection]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/restore:restorecourse&amp;diff=136617</id>
		<title>Capabilities/moodle/restore:restorecourse</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/restore:restorecourse&amp;diff=136617"/>
		<updated>2020-02-06T13:05:17Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to [[Course restore|restore a course]]&lt;br /&gt;
*This capability is allowed for the default roles of manager and teacher &lt;br /&gt;
*This capability is required in order to use the Sharing Cart plugin&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Backup]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[es:Capabilities/moodle/restore:restorecourse]]&lt;br /&gt;
[[fr:Capabilities/moodle/restore:restorecourse]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/restore:restoreactivity&amp;diff=136616</id>
		<title>Capabilities/moodle/restore:restoreactivity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Capabilities/moodle/restore:restoreactivity&amp;diff=136616"/>
		<updated>2020-02-06T13:05:13Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Capabilities}}&lt;br /&gt;
*This allows a user to [[Activity restore|restore an activity from a backup]]&lt;br /&gt;
*This capability is allowed for the default roles of manager and teacher&lt;br /&gt;
*This capability is required in order to use the Sharing Cart plugin&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Backup]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[es:Capabilities/moodle/restore:restoreactivity]]&lt;br /&gt;
[[fr:Capabilities/moodle/restore:restoreactivity]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=IMS_Common_Cartridge_import_and_export&amp;diff=135772</id>
		<title>IMS Common Cartridge import and export</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=IMS_Common_Cartridge_import_and_export&amp;diff=135772"/>
		<updated>2019-10-24T16:35:51Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Backup}}&lt;br /&gt;
==IMS Common Cartridge import==&lt;br /&gt;
IMS Common Cartridge packages can be imported into Moodle using the same process as for [[Course restore]]. Click the Restore link via the Actions menu (cog icon) if using Boost or via the Administration block if using Clean.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting tips===&lt;br /&gt;
&lt;br /&gt;
Occasionally you may have problems with packages from some other systems (Blackboard 9.1 is one example).  In these cases try running the package through the [http://validator.imsglobal.org/index.jsp?validate=manifest IMS CC validator] to check it for errors.  The validator can also fix some of the errors.&lt;br /&gt;
&lt;br /&gt;
[http://validator.imsglobal.org/index.jsp?validate=manifest http://validator.imsglobal.org/index.jsp?validate=manifest] ( Link Not Working as of October 2019 )&lt;br /&gt;
&lt;br /&gt;
==IMS Common Cartridge export==&lt;br /&gt;
&lt;br /&gt;
A course can be exported as an IMS Common Cartridge as follows:&lt;br /&gt;
&lt;br /&gt;
# Click the Backup link via the Actions menu (cog icon) if using Boost or via the Administration block if using Clean.&lt;br /&gt;
# Tick the &#039;IMS Common Cartridge 1.1&#039; checkbox in the backup settings&lt;br /&gt;
# Go through the backup steps&lt;br /&gt;
# Complete - Click the Continue button&lt;br /&gt;
&lt;br /&gt;
An IMS CC (with distinctive .imscc extension to avoid confusion with .zip files) is then saved in the private user backup area.&lt;br /&gt;
&lt;br /&gt;
Note: Currently the ONLY activities that can be exported to IMS CC are as follows:&lt;br /&gt;
&lt;br /&gt;
* Forum&lt;br /&gt;
* Label&lt;br /&gt;
* IMS LTI activity (external tool)&lt;br /&gt;
* Page resource&lt;br /&gt;
* Quiz (partial support)&lt;br /&gt;
* URL resource&lt;br /&gt;
&lt;br /&gt;
[[Category:Common Cartridge]]&lt;br /&gt;
&lt;br /&gt;
[[de:IMS_Common_Cartridge_Import_und_Export]]&lt;br /&gt;
[[es:IMS Common Cartridge importar y exportar]]&lt;br /&gt;
[[fr:Importation et exportation IMS Common Cartridge]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=URL_resource_settings&amp;diff=135063</id>
		<title>URL resource settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=URL_resource_settings&amp;diff=135063"/>
		<updated>2019-08-12T20:05:21Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: see also&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{URL}}&lt;br /&gt;
==Adding a URL resource to your course==&lt;br /&gt;
&lt;br /&gt;
# Turn editing on.&lt;br /&gt;
#From the the &amp;quot;Add an activity or resource&amp;quot; link (or, if not present, the &amp;quot;Add a resource&amp;quot; drop down menu),choose URL. All settings may expanded by clicking the &amp;quot;Expand all/Collapse all&amp;quot; link top right.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
*Give your URL a name and type (or copy/paste) the URL into the External URL box. If you need to search for the correct URL, click the Choose a link button. When you find and select your link,it will be automatically pasted into the box.&lt;br /&gt;
*Give the URL a description if you wish, and tick the box to display that description on the course page if needed.&lt;br /&gt;
[[File:31URL.png|thumb|400px|center|Adding a URL]]&lt;br /&gt;
&lt;br /&gt;
==Appearance==&lt;br /&gt;
For &#039;&#039;&#039;Display&#039;&#039;&#039; you have the following options. If you don&#039;t see an option, ask the administrator to enable it in &#039;&#039;Site administration &amp;gt;Plugins &amp;gt;Activity modules &amp;gt;URL.&#039;&#039; You can also have &#039;in frame&#039; or &#039;New window&#039; but these must be enabled by the administrator.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Automatic&#039;&#039; - Make the best guess at what should happen (probably what is wanted 99% of the time).&lt;br /&gt;
* &#039;&#039;Embed&#039;&#039; - Show the Moodle page with heading, blocks and footer. Show the title/description of the item and display the file directly in the page as well&lt;br /&gt;
* &#039;&#039;Open&#039;&#039; - No Moodle heading, blocks, footer or description - just show the file in the web browser (e.g. shows image, PDF, flash animation, taking up the whole browser window)&lt;br /&gt;
* &#039;&#039;In pop-up&#039;&#039; - Same as &#039;Open&#039;, but opens a new browser window to show this file (without the Moodle heading, blocks, etc) - this browser window also does not have all the menus in it. If you select this one, then you can specify the pop-up width and height.&lt;br /&gt;
&lt;br /&gt;
==URL variables==&lt;br /&gt;
&lt;br /&gt;
This section allows you to pass internal information as part of the URL.&lt;br /&gt;
&lt;br /&gt;
This is useful if the URL is actually an interactive web page that takes parameters, and you want to pass something like the name of the current user, for example.&lt;br /&gt;
&lt;br /&gt;
Another use is to create stable links that updates in each iteration of the course, for example:&lt;br /&gt;
&lt;br /&gt;
if you want to link to the student&#039;s user report, then you add the base URL to the External URL field, and then in the URL variables section, add &#039;id&#039; to the first field and select &#039;id&#039; from under the site heading, and then save changes. The result is a URL that always points to the student&#039;s user report.&lt;br /&gt;
&lt;br /&gt;
A further use includes displaying all forums in a site, by using the base URL then adding add &#039;id&#039; to the first field and selecting &#039;id&#039; from under the site heading. Another use makes use of mailto:email@address. URL variables could then include the subject parameter followed by the &#039;Site full name&#039;. E.g. if you wanted to email a teacher who taught multiple courses, if a student clicked the URL then the email would automatically fill the subject field, which would help the teacher to identify which course the student was in.&lt;br /&gt;
&lt;br /&gt;
==Common module settings==&lt;br /&gt;
See [[Common module settings]] &lt;br /&gt;
==Restrict access/Activity completion==&lt;br /&gt;
(These settings are collapsed by default)&lt;br /&gt;
&lt;br /&gt;
These settings are visible if [[Conditional activities]] and [[Activity completion]] have been enabled in the site and the course.&lt;br /&gt;
&lt;br /&gt;
==Drag and Drop a URL==&lt;br /&gt;
Alternatively, if an administrator has enabled the experimental feature drag and drop upload of text/links in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Development &amp;gt; Experimental &amp;gt; [[Experimental settings]]&#039;&#039;, a link can be dragged into a section of the course and given a name, as shown in the images below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:dragURL.png|thumb|Adding a URL using drag and drop]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==URL module capabilities==&lt;br /&gt;
&lt;br /&gt;
* [[Capabilities/mod/url:view|View URL resource]]&lt;br /&gt;
* [[Capabilities/mod/url:addinstance|Add a new URL resource]]&lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
The URL module has additional settings which may be changed by an administrator in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; URL&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Frame height===&lt;br /&gt;
&lt;br /&gt;
Here you can specify the height of the top frame (containing the navigation) if you choose the  &amp;quot;in frame&amp;quot; display option.  Note:If your theme has a large header then the height should be increased to prevent horizontal and vertical scrollbars.&lt;br /&gt;
&lt;br /&gt;
===Password===&lt;br /&gt;
&lt;br /&gt;
Here you can add a password that will connect your users to a secure site. [http://moodle.org/mod/forum/discuss.php?d=189842#p826416 See this forum post] for more details.&lt;br /&gt;
&lt;br /&gt;
===Include role names in parameters===&lt;br /&gt;
&lt;br /&gt;
===Available display options===&lt;br /&gt;
&lt;br /&gt;
This setting allows you to add different ways the resource may be displayed on the course page. There are a number of defaults but you can add or change them here. Other display options are:&lt;br /&gt;
* &#039;&#039;In frame&#039;&#039; - show the Moodle heading and the file description, with the file displayed in a resizeable area below &lt;br /&gt;
* &#039;&#039;New window&#039;&#039; - very much like &#039;in pop-up&#039;, but the new window is a full browser window, with menus and address bar, etc.&lt;br /&gt;
[[File:Display.gif]]&lt;br /&gt;
&lt;br /&gt;
===Default values for activity settings===&lt;br /&gt;
&lt;br /&gt;
Here you can set the defaults for this resource. &lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
Form discussions:&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=389552#p1570270 URL Resource - adding a URL Variable]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[de:Link/URL konfigurieren]]&lt;br /&gt;
[[fr:Paramètres de l&#039;URL]]&lt;br /&gt;
[[es:Configuraciones del recurso URL]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Grader_report&amp;diff=133193</id>
		<title>Grader report</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Grader_report&amp;diff=133193"/>
		<updated>2019-03-04T02:12:26Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: /* Hiding settings globally */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Grades}}&lt;br /&gt;
All the grades for each student in a course can be found in the course gradebook, or &#039;Grader report&#039;, accessed from the Grades link either in the nav drawer or navigation block depending on your theme. &lt;br /&gt;
&lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/ZR4AvpD3bVA | desc = Overview of the gradebook}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The grader report collects [[Grade_items|items]] that have been graded from the various parts of Moodle that are assessed, and allows you to view and change them as well as sort them out into [[Grade_categories|categories]] and calculate totals in various ways. When you add an assessed item in a Moodle course, the gradebook automatically creates space for the grades it will produce and also adds the grades themselves as they are generated, either by the system or by you.&lt;br /&gt;
&lt;br /&gt;
The grades displayed are initially displayed as the raw marks from the assessments themselves, so will depend on how you set those up e.g. an essay out of 36 will appear as however many raw marks that student got, not a percentage (although this can be changed later, see below).&lt;br /&gt;
&lt;br /&gt;
Note that various default options for the gradebook are set at system level by the administrator in  and can be marked as being overridable by you, or fixed. This means that the options will not always be set up the same way for every user when they see the grader report for the first time.&lt;br /&gt;
&lt;br /&gt;
==Hiding settings globally==&lt;br /&gt;
&lt;br /&gt;
New settings hide parts of the user interface:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;Site administration&amp;gt;Grades&amp;gt;General settings&#039;&#039;:  &#039;Show minimum grade&#039; . If this setting is disabled, the minimum grade will default to zero and cannot be edited (the minimum grade can never be edited).&lt;br /&gt;
*&#039;&#039;Site administration&amp;gt;Grades&amp;gt;Grade category settings&#039;&#039;: &#039;Allow category grades to be manually overridden&#039;. If this setting is disabled, users cannot override category grades.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Scrolling through the gradebook===&lt;br /&gt;
&lt;br /&gt;
The gradebook allows for smooth and stable scrolling horizontally and vertically through grades. It uses the whole window, making it accessible on all platforms.( Note: horizontal scrolling is at the bottom of the browser window, and there is no horizontal scrollbar at the top.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:scrolling28a.png|thumb|500px|Scrolling in all directions]]&lt;br /&gt;
| [[File:wholewindow.png|thumb|500px|Using the whole window]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:newgradereporta.png|thumb|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
&lt;br /&gt;
Along the top of the grader report are several rows: first the course, then the category, then the columns for each graded activity (for example: Assignment, Quiz, Lesson). Any activities settings which were left &amp;quot;uncategorised&amp;quot; will appear in the general category which is named after the course by default (any category name can be changed).&lt;br /&gt;
&lt;br /&gt;
[[Image:gradereportcategories.png|center|thumb|600px]]&lt;br /&gt;
&lt;br /&gt;
You can add a row showing the range of possible scores by selecting &#039;Show ranges&#039; in &#039;My report preferences.&lt;br /&gt;
&lt;br /&gt;
There are three ways that the categories can be displayed:&lt;br /&gt;
&lt;br /&gt;
* Grades only - without the category totals column&lt;br /&gt;
* Aggregates - Category total column only&lt;br /&gt;
* Full view - grades and the aggregates (the totals column for the category) &lt;br /&gt;
&lt;br /&gt;
Each section has a small icon immediately to the right of its name. Clicking this will cycle through these display modes for that category;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:grades3iconsa.png|thumb|500px|center]]&lt;br /&gt;
&lt;br /&gt;
===Sorting by columns===&lt;br /&gt;
&lt;br /&gt;
You can sort by any column.  Click the [[Image:iconsort.png]] symbol near the top of a column to sort by that column (1 below).  This will change the symbol to a single down arrow.  Clicking again will sort lowest-to-highest, changing the symbol to an up arrow.  The arrows will toggle between these two states until you click on a different column.&lt;br /&gt;
&lt;br /&gt;
You can also access the [[Single view]] by clicking the pencil icon next to the arrows (2 below).&lt;br /&gt;
&lt;br /&gt;
[[File:iconsgrades.png]]&lt;br /&gt;
&lt;br /&gt;
You can sort the students by clicking the arrow (1 below), access individual [[User report| user reports]] by clicking the icon (2 below) and similar to the grade items you can access [[Single view]] by clicking the pencil icon (3 below)&lt;br /&gt;
&lt;br /&gt;
[[File:studentsort.png]]&lt;br /&gt;
&lt;br /&gt;
===Searching and filtering the gradebook===&lt;br /&gt;
If you change the course settings Group mode to Visible groups or Separate groups a drop-down menu will appear in the gradebook to allow you to filter your students by groups.&lt;br /&gt;
&lt;br /&gt;
It is also possible to search students by first name and last name:&lt;br /&gt;
&lt;br /&gt;
[[File:gradebooksearch.png]]&lt;br /&gt;
&lt;br /&gt;
==Editing==&lt;br /&gt;
&lt;br /&gt;
Note: Editing anything in the gradebook refers to editing the grades &#039;&#039;&#039;only&#039;&#039;&#039; and none of the available operations bear any relationship to editing the main course page i.e. the appearance of your course page cannot be influenced by anything you do in the gradebook. The &amp;quot;Turn editing on&amp;quot; button functions separately from the main course one, so editing can be on in the gradebook, but simultaneously off when you switch back to course view. This is because editing grades and editing the course page are separate capabilities.   Roles such as &#039;non-editing teacher&#039; may only have one or the other.&lt;br /&gt;
&lt;br /&gt;
===Altering the grades===&lt;br /&gt;
You can click &amp;quot;Turn editing on&amp;quot;  at the top right to show an edit icon next to each grade. Clicking on the icon will bring up the editing screen for that grade which will allow you to set the grade, its written feedback and a number of other attributes.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can choose &amp;quot;Quick grading&amp;quot; and &amp;quot;Quick feedback&amp;quot; in &#039;My preferences&#039; to make the report appear with editable boxes containing each grade, so you can change many at once.  This capability can be a real time saver, but make sure to save at reasonable intervals lest a pageful of changes be lost.&lt;br /&gt;
&lt;br /&gt;
Note: If you make changes here, they are then shown highlighted to indicate grades which have been manually changed.&lt;br /&gt;
&lt;br /&gt;
===Altering the grades using Single View===&lt;br /&gt;
There is a new way to enter grades into the grader report using the Single View tab (or listing in the dropdown) under Setup.  (This interface can also be accessed by clicking on the pencil icon at the top of the column by the item name).&lt;br /&gt;
The single view interface allows you to enter grades in bulk for a specific grade item or a specific user.  To change a specific grade or all grades, click on the Override checkbox by the specific grade row or use the Override All link to check every row.  If you wish to override all grades with a set grade, check the Bulk Insert checkbox and enter the grade that you wish to insert.  You can select whether to fill the grade for just empty grades or for all grades from the dropdown list.  &lt;br /&gt;
Click on Save and you will now see in the Grader Report that all grades the specific item/user have been overridden with the grade/grades that you entered.&lt;br /&gt;
&lt;br /&gt;
===Hiding columns or individual grades===&lt;br /&gt;
Turning on editing then clicking the &amp;quot;Show show/hide icons&amp;quot; link will give you the familiar show/hide eye icon next to each grade and at the top of each column. For more information, read about [[Grade_hiding|grade hiding]].&lt;br /&gt;
&lt;br /&gt;
===Recalculating===&lt;br /&gt;
If you change any part of an assessment e.g. alter the maximum grade for one of the questions in a quiz, you may find that the columns do not yet reflect the change you have made. Click &#039;&#039;&#039;Turn editing on&#039;&#039;&#039; twice to force the gradebook to re-check.&lt;br /&gt;
&lt;br /&gt;
==Gradebook capabilities==&lt;br /&gt;
&lt;br /&gt;
There is just one gradebook capability, [[Capabilities/gradereport/grader:view|View the grader report]], which is allowed for the default roles of manager, teacher and non-editing teacher.&lt;br /&gt;
&lt;br /&gt;
==Extending the gradebook==&lt;br /&gt;
&lt;br /&gt;
The Gradebook can be extended in three main ways:&lt;br /&gt;
&lt;br /&gt;
===1. [https://moodle.org/plugins/browse.php?list=category&amp;amp;id=9 Grade reports]===&lt;br /&gt;
Which are the main way to view and manipulate grades&lt;br /&gt;
* [[LAEGrader report|LAE Grader Report]] Alternative to Grader report that scrolls vertically and horizontally without losing student columns or grade item header rows. Lot of additional enhancements.&lt;br /&gt;
* [https://moodle.org/plugins/view.php?plugin=gradereport_updfgrades Upload PDF Grader Report] lets you view assignment grades, comments and lateness in a report&lt;br /&gt;
&lt;br /&gt;
===2. Grade import plugins===&lt;br /&gt;
Which allow data to be imported from external sources&lt;br /&gt;
&lt;br /&gt;
===3. [https://moodle.org/plugins/browse.php?list=category&amp;amp;id=10 Grade export plugins]:===&lt;br /&gt;
Which allow you to export grade data for other systems&lt;br /&gt;
* [https://moodle.org/plugins/view.php?plugin=gradeexport_pdf PDF document] This is moodle plugin for exporting grades in PDF format. It is developed by using &amp;quot;Moodle PDF library&amp;quot;&lt;br /&gt;
* [https://moodle.org/plugins/view.php?plugin=gradeexport_checklist Checklist] This is a grade export plugin which will create an Excel spreadsheet containing all the checkmarks from a single checklist.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Join the discussions about gradebook plugins in the [https://moodle.org/mod/forum/view.php?id=2122 Gradebook forum].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[de:Bewertungen]]&lt;br /&gt;
[[es:Libro de calificaciones]]&lt;br /&gt;
[[fr:Carnet de notes]]&lt;br /&gt;
[[ja:評定表]]&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Reengagement_activity&amp;diff=130314</id>
		<title>Reengagement activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Reengagement_activity&amp;diff=130314"/>
		<updated>2018-03-13T01:37:46Z</updated>

		<summary type="html">&lt;p&gt;Jprovasnik: /* Email place holders */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Activity module&lt;br /&gt;
|entry = https://moodle.org/plugins/mod_reengagement&lt;br /&gt;
|tracker = https://github.com/catalyst/moodle-mod_reengagement/issues&lt;br /&gt;
|maintainer = [https://www.catalyst.net.nz Catalyst IT]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==About the Reengagement activity==&lt;br /&gt;
The Reengagement activity is developed by the Moodle Partner Catalyst IT and provides a way for you to remind students to return to the course and complete activities. You can also use this plugin to selectively release timed content in a course.&lt;br /&gt;
&lt;br /&gt;
==Adding a Reengagement activity==&lt;br /&gt;
A Reengagement activity can be added to a course in the same way as any other activity:&lt;br /&gt;
&lt;br /&gt;
# Turn editing on&lt;br /&gt;
# Click &#039;Add an activity or resource&#039;&lt;br /&gt;
# Select Re-engagement&lt;br /&gt;
&lt;br /&gt;
===Set Reengagement details===&lt;br /&gt;
====Access Restrictions====&lt;br /&gt;
The Email delay can be based on the user enrolment date or a previous activity completion.  If you want to use the enrolment date then don&#039;t set up any access restrictions on this Re-engagement; each user&#039;s timer will start after they enrol in the course.  If you want the delay to be based on a previous activity completion you should set that activity as an access restriction to this Reengagment activity; each user&#039;s timer will start after they complete the dependencies.&lt;br /&gt;
&lt;br /&gt;
==== Email User setting ====&lt;br /&gt;
Set &amp;quot;Email User&amp;quot; to &amp;quot;After Delay&amp;quot; and set the &amp;quot;Email delay&amp;quot; period. The e-mail delay is the when the e-mail reminder will be sent based on the previous event (enrolment or activity completion) &lt;br /&gt;
&lt;br /&gt;
==== Target Activity ====&lt;br /&gt;
Set &amp;quot;Target Activity&amp;quot; - this is the activity that you want to remind the user they must complete - if this activity is flagged as complete within the course then no e-mail reminder will be sent.&lt;br /&gt;
&lt;br /&gt;
===Timed release===&lt;br /&gt;
If you want to release a quiz within your course to individual users after a set period (eg 1 week after assignment completion) you use the &amp;quot;Activity completion&amp;quot; settings within the course.&lt;br /&gt;
# set the Reengagement duration to the time period you want eg 1 week&lt;br /&gt;
# set access restrictions to the reengagement to allow access after assignment is complete (or no access restrictions means start timer after enrolment)&lt;br /&gt;
# set access restrictions to the quiz so that it is available only after the re-engagement is complete.&lt;br /&gt;
&lt;br /&gt;
===Email place holders===&lt;br /&gt;
When configuring the e-mails sent from the plugin there are limited place holders you can use. If need to use them properly wrap them with &amp;quot;percentage&amp;quot; (%) symbols. Available substitutions are given below&lt;br /&gt;
&lt;br /&gt;
* %courseshortname%&lt;br /&gt;
* %coursefullname%&lt;br /&gt;
* %courseid%&lt;br /&gt;
* %userfirstname%&lt;br /&gt;
* %userlastname%&lt;br /&gt;
* %userid%&lt;br /&gt;
* %usercity%&lt;br /&gt;
* %userinstitution%&lt;br /&gt;
* %userdepartment%&lt;br /&gt;
&lt;br /&gt;
Permissions&lt;br /&gt;
&amp;quot;receive notification&amp;quot; was removed from the codebase in github (3/2018)&lt;br /&gt;
&amp;quot;Start Reengagement&amp;quot; is given to students and controls which users in the course will be listed in the re engagement activity.&lt;br /&gt;
&lt;br /&gt;
Discussion: https://moodle.org/mod/forum/discuss.php?d=337782&lt;/div&gt;</summary>
		<author><name>Jprovasnik</name></author>
	</entry>
</feed>