<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/401/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Abarbary</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/401/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Abarbary"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/401/en/Special:Contributions/Abarbary"/>
	<updated>2026-05-26T17:16:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/401/en/index.php?title=User_tours&amp;diff=127143</id>
		<title>User tours</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/401/en/index.php?title=User_tours&amp;diff=127143"/>
		<updated>2017-03-20T23:19:06Z</updated>

		<summary type="html">&lt;p&gt;Abarbary: /* How is it set up? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Site appearance}}&lt;br /&gt;
{{New features}}&lt;br /&gt;
&lt;br /&gt;
User tours are step-by-step guides to various areas of Moodle. The [[Multi-language_content_filter| multi-lang filter]] allow for tours to display in different languages. Watch the screencast [https://youtu.be/hhLVvyP3DU0 User tours] to see a demonstration.&lt;br /&gt;
&lt;br /&gt;
==How is it set up?==&lt;br /&gt;
* As an administrator, access  &#039;User tours&#039; from Site administration, Appearance.&lt;br /&gt;
*Here you see any existing user tours and have the option to create a new tour, import a tour or browse user tours on the [https://moodle.net/mod/data/view.php?id=17 Moodle.net User tours repository]. (An administrator and a teacher tour have been added to new and upgraded sites to introduce the [[Boost theme]] and get you started.)&lt;br /&gt;
[[File:usertour_listing_page.png|thumb|600px|center]]&lt;br /&gt;
*For each of your existing tours, you can click either directly on its name or on its View action icon to view its current listed steps&lt;br /&gt;
*Each tour can be individually enabled or disabled as required in its settings page.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &#039;&#039;You can have multiple tours created for the same page destination, but  you should only have one per page enabled at one time.&#039;&#039;&lt;br /&gt;
*Icons against each tour allow you to view, edit, export or delete it.&lt;br /&gt;
*Tours will be displayed on any page whose URL matches the specified path value, for instance:&lt;br /&gt;
#/my/% - to match the Dashboard&lt;br /&gt;
#/course/view.php?id=2 - to match a specific course&lt;br /&gt;
#/mod/forum/view.php% - to match the forum discussion list&lt;br /&gt;
#/user/profile.php% - to match the user profile page&lt;br /&gt;
#FRONTPAGE to use the tour on your site&#039;s home page.&lt;br /&gt;
*Each tour will be configured with default step settings which you can edit in the settings page:&lt;br /&gt;
*Placement: Top, Bottom (Default), Left, Right. This determines where the step shows relative to its matching block or CSS selector on the page.&lt;br /&gt;
*Show if target not found: No (Default), Yes. This determines whether the step is shown or not when the target has not been found.&lt;br /&gt;
*Show with backdrop: No (Default), Yes. If yes, the step appears surrounded by a darkened backdrop to emphasis its content and location.&lt;br /&gt;
*Move on click: No (Default), Yes. If yes, the tour continues to the next step when the user clicks within the block or area targeted by the current step.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &#039;&#039;If you want users to be able to fill in forms as they work through the tour, then don&#039;t use a backdrop.&#039;&#039;&lt;br /&gt;
*Tour filters allow you to choose the role(s) and theme(s) for which the tour will be displayed.&lt;br /&gt;
&lt;br /&gt;
==How do I add steps to a tour ?==&lt;br /&gt;
* Either click directly on its name or on its View action icon to view the currently listed steps.&lt;br /&gt;
*Here are the initial steps for a sample tour for the Dashboard page:&lt;br /&gt;
[[File:usertour steps page.png|thumb|600px|center]]&lt;br /&gt;
*Click on the &#039;New step&#039; link and select what you want to highlight:&lt;br /&gt;
#Block - to display next to a matching block on the page. Select the block you want from the dropdown. (&#039;&#039;Note you can select blocks which are not available on your chosen area. If they are later added, then the tour will display that step.)&#039;&#039;&lt;br /&gt;
#CSS Selector - to display next to a matching selector on the page. Type in the relevant selector. (See examples below.)&lt;br /&gt;
#Display in the middle of the page&lt;br /&gt;
*Add the title and content&lt;br /&gt;
*For all types, select whether to display the step with a darkened backdrop&lt;br /&gt;
*For blocks or selectors, select the Placement option for where to place the display&lt;br /&gt;
*For blocks or selectors, select whether to display the step if its target isn’t found&lt;br /&gt;
*For blocks or selectors, select whether to move on click, ie move to next step when target is clicked&lt;br /&gt;
*Click on &#039;Save changes&#039;&lt;br /&gt;
&lt;br /&gt;
==How do user tours work?==&lt;br /&gt;
[[File:usertours01.png|thumb|600px|center]]&lt;br /&gt;
Once a user tour has been created and enabled, the first time that any user views a page which matches that user tour’s page (path) settings, the user tour will automatically start to display, starting with the first step. Each tour step will display its title and content, along with three button options:&lt;br /&gt;
*Prev - to return to the previous step in the tour&lt;br /&gt;
*Next - to go to the next step in the tour&lt;br /&gt;
*End Tour - to exit out of the tour completely&lt;br /&gt;
Any time a user wishes to re-run the page&#039;s tour, they can click on the &amp;quot;Reset user tour on this page&amp;quot; link at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
==Help with CSS selectors==&lt;br /&gt;
If you wish to use CSS selectors as part of your user tour, your browser&#039;s developer tools will be very useful in helping you create these selectors:&lt;br /&gt;
*[https://developer.chrome.com/devtools#dom-and-styles Google Chrome]&lt;br /&gt;
*[https://developer.mozilla.org/en-US/docs/Tools/DOM_Property_Viewer Mozilla Firefox]&lt;br /&gt;
*[https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/f12-devtools-guide/ Microsoft Edge]&lt;br /&gt;
*[https://developer.apple.com/library/content/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/ResourcesandtheDOM/ResourcesandtheDOM.html#//apple_ref/doc/uid/TP40007874-CH3-SW1 Apple Safari]&lt;br /&gt;
&lt;br /&gt;
===Example of a very simple CSS selector===&lt;br /&gt;
&lt;br /&gt;
[[File:CSS_selector_for_user_picture_in_a_user_tour.png|400px]]&lt;br /&gt;
&lt;br /&gt;
The settings above will produce this in the user tour:&lt;br /&gt;
&lt;br /&gt;
[[File:user picture chosen by CSS selector in a user tour.png|400px]]&lt;br /&gt;
&lt;br /&gt;
* How did we know that .userpicture would select just the Moodle user picture?&lt;br /&gt;
* By looking at the page with an HTML inspector in Firefox, as described in the &#039;Help with CSS selectors&#039; section below.&lt;br /&gt;
&lt;br /&gt;
===Other simple CSS selector examples===&lt;br /&gt;
 &#039;&#039;&#039;.breadcrumb&#039;&#039;&#039; These site links (known as breadcrumbs) will always show where you are in the site and how to return to a main page, such as your Dashboard or your course main page.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;.usermenu&#039;&#039;&#039;  This is the user menu. It contains links to your Dashboard, Messages, Profile, and your Preferences.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;[value=&amp;quot;Customise this page&amp;quot;]&#039;&#039;&#039;  Add your own blocks of content by clicking here!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Multi-language capability==&lt;br /&gt;
&lt;br /&gt;
If your Moodle site is already set up or intending to be enabled for multi-lingual usage, tours are completely compatible with this requirement. Using the multi-lang filter formatting, each tour step’s titles and content, displayed to the user, can be edited to cater for multi-lingual requirements. Please see [[Multi-language_content_filter]] for further detailed instructions on how to enable, format and submit multi-lingual strings for your Moodle site.&lt;br /&gt;
&lt;br /&gt;
Please remember to go to &#039;&#039; Dashboard ► Site administration ► Plugins ► Filters ► Manage filters &#039;&#039; in order to enable the [[Multi-language_content_filter]] before importing any multi-language user tours into your site, or the users will see ALL the texts in ALL the languages simultaneously, as the following image illustrates:&lt;br /&gt;
&lt;br /&gt;
[[File:Multilang user tour when multilang filter NOT properly configured.png|300px]]&lt;br /&gt;
&lt;br /&gt;
When properly configured, a multi-language user tour will be automatically displayed in the user&#039;s preferred language, as seen in the following Dashboard tours starting pages in Spanish, English and French (in the same server):&lt;br /&gt;
&lt;br /&gt;
[[File:Multilang user tour in Spanish.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Multilang user tour in English.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Multilang user tour in French.png|300px]]&lt;br /&gt;
&lt;br /&gt;
==Translating user tours==&lt;br /&gt;
See [https://docs.moodle.org/dev/Translating_User_tours_from_Moodle.net how to translate user tours] in the developer&#039;s documentation..&lt;br /&gt;
&lt;br /&gt;
==Sharing is caring==&lt;br /&gt;
&lt;br /&gt;
We really hope that you are able to create some really powerful tours to help guide your users around your site. We certainly think you will and we encourage you to share any of the tours you create with others.&lt;br /&gt;
&lt;br /&gt;
We&#039;ve created a [https://moodle.net/mod/data/view.php?id=17 Moodle.net User tours repository] where you can share your creations and also find inspiration from the ideas of others.&lt;br /&gt;
&lt;br /&gt;
This work was paid for and sponsored by the kind folk of [http://www.dcu.ie/ Dublin City University].&lt;br /&gt;
&lt;br /&gt;
==User tour capabilities==&lt;br /&gt;
&lt;br /&gt;
There is just one capability, which is allowed for the default role of manager:&lt;br /&gt;
&lt;br /&gt;
* [[Capabilities/tool/usertours:managetours|Create, edit and remove user tours]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://jsonlint.com/ JSONLint - a JSON validator] useful for checking the workings of a JSON file&lt;br /&gt;
&lt;br /&gt;
[[es:Tours para Usuarios]]&lt;br /&gt;
[[fr:Visites guidées]]&lt;br /&gt;
[[de:Geführte Touren]]&lt;/div&gt;</summary>
		<author><name>Abarbary</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/401/en/index.php?title=Completion_Progress_block&amp;diff=125483</id>
		<title>Completion Progress block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/401/en/index.php?title=Completion_Progress_block&amp;diff=125483"/>
		<updated>2016-10-04T00:20:21Z</updated>

		<summary type="html">&lt;p&gt;Abarbary: /* Global settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Block, Completion Progress&lt;br /&gt;
|entry = https://moodle.org/plugins/view.php?plugin=block_completion_progress&lt;br /&gt;
|tracker = https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Block%3A%20Completion%20Progress%22&lt;br /&gt;
|discussion = https://moodle.org/plugins/view.php?plugin=block_completion_progress&lt;br /&gt;
|maintainer = [[User:Michael de Raadt|Michael de Raadt]]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
[[Blocks|Back to Blocks page]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Completion_Progress_bar_in_block_-_with_details.png|A progress bar for a student]]&lt;br /&gt;
&lt;br /&gt;
* The Completion Progress is a time-management tool for students.&lt;br /&gt;
* It visually shows what activities/resources a student is supposed to interact with in a course.&lt;br /&gt;
* It is colour-coded so students can quickly see what they have and have not completed/viewed.&lt;br /&gt;
* The block relies on completion settings of activities/resources in the course and when they should be completed by.&lt;br /&gt;
* Ordering can be based on expected completion times or on the ordering of activities in the course.&lt;br /&gt;
* There is an Overview page allowing teachers to see the progress of all students in a class, which is helpful for finding students at risk.&lt;br /&gt;
* Adding the Completion Progress block to the [[Dashboard]] shows users a combined view of their progress from all courses they are enrolled in (where the block is set up).&lt;br /&gt;
&lt;br /&gt;
[[Image:Completion_Progress_Overview_of_students_with_messaging.png|right|thumb|The overview page]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Download the latest version of the block from [https://moodle.org/plugins/block_completion_progress its entry on the Plugins directory] or using its [https://github.com/deraadt/moodle-block_completion_progress Git repository].&lt;br /&gt;
* The Completion Progress block is added like other blocks ([[Installing_contributed_modules_or_plugins|How to install a block]]).&lt;br /&gt;
* In Moodle versions prior to 3.1, [[Activity completion]] needs to be enabled.&lt;br /&gt;
&lt;br /&gt;
== Global settings ==&lt;br /&gt;
&lt;br /&gt;
The Completion Progress block has a number of global settings that will be seen on installation and can be accessed later at Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Completion Progress.&lt;br /&gt;
[[Image:Completion_Progress_Global_settings.png|thumb|Global settings]]&lt;br /&gt;
* &#039;&#039;When wrapping, limit rows to...&#039;&#039;&amp;lt;br&amp;gt;The progress bar shown in the block can be wrapped. This setting allows some control of how long the bar should be before wrapping. The default is 16.&lt;br /&gt;
* &#039;&#039;Default presentation for long bars&#039;&#039;&amp;lt;br&amp;gt;The bar can be displayed by squeezing all segments, wrapping segments over multiple lines or allowing the bar to scroll. The default is to Squeeze.&lt;br /&gt;
* &#039;&#039;Course name to show on Dashboard&#039;&#039;&amp;lt;br&amp;gt;The block can be added to the dashboard and combines visible Completion Progress block content from the courses a user is enrolled in. By default, the course name shown for each relevant course, is the short course name, but some institutions/organisations may not think this is appropriate in relation to their course naming scheme, so a long course name can be selected.&lt;br /&gt;
* &#039;&#039;Colours&#039;&#039;&amp;lt;br&amp;gt;By default, the colours used in the block are red, blue, yellow and green. In certain cultures these colours may not have the same meaning. Also, institutions/organisations may wish to use colours that match their theme.&lt;br /&gt;
* &#039;&#039;Show inactive students in Overview&#039;&#039;&amp;lt;br&amp;gt;In most cases, inactive students are not wanted in course lists, such as the Overview page associated with the block. However, in some cases, such as ongoing courses, inactive students might need to be visible on the Overview page.&lt;br /&gt;
&lt;br /&gt;
== Capabilities (Controlling who sees parts of the block) ==&lt;br /&gt;
&lt;br /&gt;
The block uses a number of capabilities that are added when the block is installed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Completion_Progress_Capabilities.png|thumb|Capabilities]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Add a Completion Progress block to My home&#039;&#039; (block/completion_progress:myaddinstance)&amp;lt;br&amp;gt;Controls whether the Completion Progress block can be added by a user to the Dashboard (formerly My home) page. By default, this is allowed for all authenticated users.&lt;br /&gt;
* &#039;&#039;Add a new Completion Progress block&#039;&#039; (block/completion_progress:addinstance)&amp;lt;br&amp;gt;Controls whether the Completion Progress block can be added to a course page. By default, this is allowed for the following archetypal roles.&lt;br /&gt;
** Teacher (editingteacher)&lt;br /&gt;
** Manager (manager)&lt;br /&gt;
** Course creator (coursecreator)&lt;br /&gt;
** (and Admins)&lt;br /&gt;
* &#039;&#039;View course overview of Completion Progress for all students&#039;&#039; (block/completion_progress:overview)&amp;lt;br&amp;gt;Controls whether the Overview page and the button on the Completion Progress block used to access the Overview page can be viewed by a user. By default, this is allowed for the following archetypal roles.&lt;br /&gt;
** Non-editing teacher (teacher)&lt;br /&gt;
** Teacher (editingteacher)&lt;br /&gt;
** Manager (manager)&lt;br /&gt;
** Course creator (coursecreator)&lt;br /&gt;
** (and Admins)&lt;br /&gt;
* &#039;&#039;Show the bar in the Completion Progress block&#039;&#039; (block/completion_progress:showbar)&amp;lt;br&amp;gt;Controls whether the bar in the Completion Progress block is shown to a user. The reason for not showing this to certain users is that this might not be relevant and possibly annoying. By default, this is shown to the following archetypal roles.&lt;br /&gt;
** Non-editing teacher (teacher)&lt;br /&gt;
** Teacher (editingteacher)&lt;br /&gt;
** Student (student)&lt;br /&gt;
** (and Admins)&lt;br /&gt;
&lt;br /&gt;
== Setting up a Completion Progress block in a course ==&lt;br /&gt;
&lt;br /&gt;
In Moodle versions prior to 3.1, [[Activity completion]] needs to be enabled.&lt;br /&gt;
&lt;br /&gt;
Once the block is installed on your site, you can use it in a course as follows.&lt;br /&gt;
# Turn editing on&lt;br /&gt;
# Create your activities/resources as normal&lt;br /&gt;
# Set completion settings for each activity you want to appear in the bar, including an expected by date&lt;br /&gt;
# Add the Completion Progress block to your page ([[Blocks|How to add a block]])&lt;br /&gt;
# Move your block into a prominent position (click and drag the block title)&lt;br /&gt;
# Choose to:&lt;br /&gt;
#(Optional) Configure how the block should appear&lt;br /&gt;
&lt;br /&gt;
Hidden items will not appear in the Completion Progress block until they are unhidden. This is useful for a scheduled release of activities.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/plugins/view.php?plugin=block_completion_progress Block in Plugins Directory]&lt;br /&gt;
* [https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Block%3A%20Completion%20Progress%22 Bug Tracker Page] (Please report bugs here.)&lt;br /&gt;
* [https://github.com/deraadt/moodle-block_completion_progress Git repository]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Block]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:Bloque de Progreso de Finalización]]&lt;/div&gt;</summary>
		<author><name>Abarbary</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/401/en/index.php?title=IMS_Enterprise&amp;diff=99288</id>
		<title>IMS Enterprise</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/401/en/index.php?title=IMS_Enterprise&amp;diff=99288"/>
		<updated>2012-07-17T23:03:41Z</updated>

		<summary type="html">&lt;p&gt;Abarbary: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Enrolment}}&lt;br /&gt;
Location: IMS Enterprise file edit settings link in &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Enrolments &amp;gt; Manage enrol plugins&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMS Enterprise&#039;&#039;&#039; is an international standard XML file format which may be used to specify enrolments/unenrolments in courses, as well as course information and user information.&lt;br /&gt;
&lt;br /&gt;
==Format overview==&lt;br /&gt;
&lt;br /&gt;
Below is a simple guide to the basic structure of a typical IMS Enterprise data file. Much more information is available on the [http://www.imsglobal.org/enterprise/ IMS Enterprise official website].&lt;br /&gt;
&lt;br /&gt;
You may like to read the [http://cvs.moodle.org/contrib/plugins/enrol/imsenterprise/entv1p1_conformance_summary.html?view=co conformance summary] which describes which IMS data elements this plugin can process.&lt;br /&gt;
&lt;br /&gt;
==Basic guide to IMS Enterprise file format==&lt;br /&gt;
&lt;br /&gt;
For any IMS-style enrolment you need a &amp;lt;group&amp;gt; tag which specifies the course, a &amp;lt;person&amp;gt; tag which specifies the user account, and a &amp;lt;membership&amp;gt; tag containing &amp;lt;member&amp;gt; tags which specify a person&#039;s role within a given course.&lt;br /&gt;
&lt;br /&gt;
Remember that the numeric keys used in the Moodle databases are not the interoperable data - a student data system is never going to know in advance that Joe is the 20th user added to the Moodle database - so those aren&#039;t the keys exchanged in this type of data.&lt;br /&gt;
&lt;br /&gt;
Typically a course would have a reference code as well as a name, so let&#039;s assume its code is MOODLE101. If you require a new course to be placed in a category other than the default, you can specify that using the &amp;lt;orgunit&amp;gt; tag. To define your course you could use&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;group&amp;gt;&lt;br /&gt;
    &amp;lt;sourcedid&amp;gt;&lt;br /&gt;
      &amp;lt;source&amp;gt;MyDataSystem&amp;lt;/source&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;MOODLE101&amp;lt;/id&amp;gt;&lt;br /&gt;
    &amp;lt;/sourcedid&amp;gt;&lt;br /&gt;
    &amp;lt;description&amp;gt;&lt;br /&gt;
      &amp;lt;short&amp;gt;Moodle 101&amp;lt;/short&amp;gt;&lt;br /&gt;
      &amp;lt;long&amp;gt;Moodle 101: Course Name&amp;lt;/long&amp;gt;&lt;br /&gt;
    &amp;lt;/description&amp;gt;&lt;br /&gt;
    &amp;lt;org&amp;gt;&lt;br /&gt;
      &amp;lt;orgunit&amp;gt;CATEGORY&amp;lt;/orgunit&amp;gt;&lt;br /&gt;
    &amp;lt;/org&amp;gt;&lt;br /&gt;
   &amp;lt;/description&amp;gt;&lt;br /&gt;
  &amp;lt;/group&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The enrolment script will look for a course with code MOODLE101, and (optionally) create it if it doesn&#039;t exist. Similarly for the person - let&#039;s assume it&#039;s &amp;quot;jmoodle&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;person&amp;gt;&lt;br /&gt;
    &amp;lt;sourcedid&amp;gt;&lt;br /&gt;
      &amp;lt;source&amp;gt;MyDataSystem&amp;lt;/source&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;jmoodle&amp;lt;/id&amp;gt;&lt;br /&gt;
    &amp;lt;/sourcedid&amp;gt;&lt;br /&gt;
    &amp;lt;userid&amp;gt;jmoodle&amp;lt;/userid&amp;gt;&lt;br /&gt;
    &amp;lt;name&amp;gt;&lt;br /&gt;
      &amp;lt;fn&amp;gt;Joe Moodle&amp;lt;/fn&amp;gt;&lt;br /&gt;
      &amp;lt;n&amp;gt;&lt;br /&gt;
        &amp;lt;family&amp;gt;MOODLE&amp;lt;/family&amp;gt;&lt;br /&gt;
        &amp;lt;given&amp;gt;JOE&amp;lt;/given&amp;gt;&lt;br /&gt;
      &amp;lt;/n&amp;gt;&lt;br /&gt;
    &amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;/person&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If Joe doesn&#039;t already have an account, the script can (optionally) create an account for him.&lt;br /&gt;
&lt;br /&gt;
Let&#039;s now look at the membership, adding the person to the course:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;membership&amp;gt;&lt;br /&gt;
    &amp;lt;sourcedid&amp;gt;&lt;br /&gt;
      &amp;lt;source&amp;gt;MyDataSystem&amp;lt;/source&amp;gt;&lt;br /&gt;
      &amp;lt;id&amp;gt;MOODLE101&amp;lt;/id&amp;gt;&lt;br /&gt;
    &amp;lt;/sourcedid&amp;gt;&lt;br /&gt;
    &amp;lt;member&amp;gt;&lt;br /&gt;
      &amp;lt;sourcedid&amp;gt;&lt;br /&gt;
        &amp;lt;source&amp;gt;MyDataSystem&amp;lt;/source&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;jmoodle&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;/sourcedid&amp;gt;&lt;br /&gt;
      &amp;lt;role roletype=&amp;quot;01&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;status&amp;gt;1&amp;lt;/status&amp;gt;&lt;br /&gt;
        &amp;lt;extension&amp;gt;&amp;lt;cohort&amp;gt;unit 2&amp;lt;/cohort&amp;gt;&amp;lt;/extension&amp;gt;&lt;br /&gt;
      &amp;lt;/role&amp;gt;&lt;br /&gt;
    &amp;lt;/member&amp;gt;&lt;br /&gt;
  &amp;lt;/membership&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMS Enterprise specification does offer a facility for specifying start/end dates for enrolments, so those can be included using the &amp;lt;timeframe&amp;gt; tag if needed.&lt;br /&gt;
&lt;br /&gt;
If a person is already added to a group within the course, the script won&#039;t actually modify that. If they are not grouped, however, then the specified grouping will be applied.&lt;br /&gt;
&lt;br /&gt;
==Automatic creation of new courses==&lt;br /&gt;
&lt;br /&gt;
If required, the IMS Enterprise enrolment plugin can create new courses for any it finds in the IMS data but not in Moodle&#039;s database.&lt;br /&gt;
&lt;br /&gt;
Courses are first queried by their &amp;quot;idnumber&amp;quot; - an alphanumeric field in Moodle&#039;s course table, which can specify the code used to identify the course in the Student Information System (for example). If that is not found, the course table is searched for the &amp;quot;short description&amp;quot;, which in Moodle is the short course identifier as displayed in the breadcrumbs etc. (In some systems these two fields may well be identical.) Only when that search has failed can the plugin optionally create new courses.&lt;br /&gt;
&lt;br /&gt;
Any newly-generated courses are HIDDEN when created. This is to prevent the possibility of students wandering into completely empty courses that the teacher may be unaware of.&lt;br /&gt;
&lt;br /&gt;
==Unenrolling students/teachers==&lt;br /&gt;
&lt;br /&gt;
If required, the Enterprise data can add as well as remove course enrolments - for students and for teachers. If this setting is turned on, then Moodle will carry out unenrolments when specified in the data. Note, as of Moodle 2, you must use IMSEnterprise to remove members that have been added by the plugin. You cannot manually delete a member.&lt;br /&gt;
&lt;br /&gt;
There are three ways of unenrolling students within the IMS data:&lt;br /&gt;
&lt;br /&gt;
* A &amp;lt;member&amp;gt; element which specifies the given student and course, and with the &amp;quot;recstatus&amp;quot; attribute of the &amp;lt;role&amp;gt; element set to 3 (which means &amp;quot;delete&amp;quot;). THIS IS NOT YET IMPLEMENTED IN THE MOODLE PLUGIN.&lt;br /&gt;
* A &amp;lt;member&amp;gt; element which specifies the given student and course, and with the &amp;lt;status&amp;gt; element set to 0 (which means &amp;quot;inactive&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The third method is slightly different. It does not require this config setting to be activated, and can be specified well in advance of the unenrolment date:&lt;br /&gt;
&lt;br /&gt;
* A &amp;lt;member&amp;gt; element which specifies a &amp;lt;timeframe&amp;gt; for the enrolment can specify the begin and/or end dates for enrolment of this particular student. These dates are loaded into Moodle&#039;s enrolment data table if present, and so after the end-date, a student will no longer be able to access that particular course.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://www.imsglobal.org/enterprise/ IMS Enterprise specification] - the official site&lt;br /&gt;
* [http://cvs.moodle.org/contrib/plugins/enrol/imsenterprise/entv1p1_conformance_summary.html?view=co Conformance summary] - summarises the parts of the specification which Moodle makes use of&lt;br /&gt;
* [https://studydirect.sussex.ac.uk/downloads/imsenterprise.php Minted IMS Enterprise enrolment plugin] - An extension of the ims enterprise enrolment plugin developed in the [http://www.sussex.ac.uk/minted minted project]&lt;br /&gt;
&lt;br /&gt;
[[fr:Fichier IMS Enterprise]]&lt;br /&gt;
[[de:Einschreibung über IMS Enterprise Datei]]&lt;/div&gt;</summary>
		<author><name>Abarbary</name></author>
	</entry>
</feed>