<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/36/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jonb</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/36/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jonb"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/Special:Contributions/Jonb"/>
	<updated>2026-04-14T21:40:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=User_profiles&amp;diff=133809</id>
		<title>User profiles</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=User_profiles&amp;diff=133809"/>
		<updated>2019-05-19T10:59:01Z</updated>

		<summary type="html">&lt;p&gt;Jonb: Corrected hyperlink&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Site appearance}}&lt;br /&gt;
==User profiles==&lt;br /&gt;
Every user has a profile page which may be reached from the user menu top right and then clicking Profile.  This page contains links to further pages allowing the user to [[Edit profile |edit their profile information]] and preferences, view their forum/blog posts, and check any reports they have access to.&lt;br /&gt;
{{New features}}&lt;br /&gt;
The Privacy and policies section provides links for contacting the Privacy officer, requesting data export and account deletion (new in 3.6), along with a data retention summary page (new in 3.6) (unless disabled by the administrator).&lt;br /&gt;
&lt;br /&gt;
[[File:36NewProfilePage.png|thumb|center|600px|Example of a user&#039;s Profile page. Click to view full size.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If mobile access is enabled, a link to download the [[Moodle Mobile app]] is visible on the profile. (See screenshot above.)&lt;br /&gt;
&lt;br /&gt;
==Viewing others&#039;s profiles==&lt;br /&gt;
&lt;br /&gt;
Users with permission to view the profiles of other users can view them by clicking on their name. If they click on the name of a user within a course, the course profile will be displayed and the full profile may be viewed (if allowed)  by clicking the link  &amp;quot;Full profile&amp;quot; in the Miscellaneous section:&lt;br /&gt;
&lt;br /&gt;
[[File:fullprofilelink.png]]&lt;br /&gt;
&lt;br /&gt;
Note: All users are allowed to view the full profile of users listed as course contacts in the course description.&lt;br /&gt;
&lt;br /&gt;
See [[View profile]] for more information on how the profile information is displayed and [[Edit profile]] for information on updating profiles.&lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
===Site policies===&lt;br /&gt;
&lt;br /&gt;
An administrator can force users to login for profiles and select which roles are visible in user profiles (by default teacher, non-editing teacher and student) in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Security &amp;gt; Site policies&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Default profile page===&lt;br /&gt;
&lt;br /&gt;
An administrator or manager (or any other user with the capability [[Capabilities/moodle/user:managesyspages|moodle/user:managesyspages]]) can add additional blocks onto the default profile page for all users from &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Default profile page&#039;&#039;. Blocks can be added to the left, right or middle of the page.&lt;br /&gt;
&lt;br /&gt;
Note that this does NOT allow you to remove the following blocks, or to change the layout/order of these blocks:&lt;br /&gt;
* User details&lt;br /&gt;
* Privacy and policies&lt;br /&gt;
* Course Details&lt;br /&gt;
* Miscellaneous&lt;br /&gt;
* Reports&lt;br /&gt;
* Login activity&lt;br /&gt;
* Mobile app (only displays if &#039;&#039;[[Mobile_web_services]]&#039;&#039; are configured)&lt;br /&gt;
&lt;br /&gt;
These are all ‘fake’ blocks and cannot be removed through the normal blocks administration interface.&lt;br /&gt;
&lt;br /&gt;
Clicking the button &#039;Reset profile for all users&#039; will then apply these settings to the profile pages of everyone on the site.&lt;br /&gt;
&lt;br /&gt;
==Preventing users from customizing their profile page==&lt;br /&gt;
&lt;br /&gt;
By default, users can customize their public profile page and add blocks. To prevent this&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 capability [[Capabilities/moodle/user:manageownblocks|moodle/user:manageownblocks]]&lt;br /&gt;
&lt;br /&gt;
==User profile capabilities==&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
*[[Capabilities/moodle/user:editownprofile|Edit own user profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:manageownblocks|Manage blocks on own public user profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:managesyspages|Configure default page layout for public user profiles]]&lt;br /&gt;
*[[Capabilities/moodle/user:update|Update user profiles]]&lt;br /&gt;
&lt;br /&gt;
Users:&lt;br /&gt;
*[[Capabilities/moodle/user:editprofile|Edit user profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:manageblocks|Manage blocks on user profile of other users]]&lt;br /&gt;
*[[Capabilities/moodle/user:viewalldetails|View user full information]]&lt;br /&gt;
&lt;br /&gt;
Course:&lt;br /&gt;
*[[Capabilities/moodle/user:viewdetails|View user profiles]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[View profile]]&lt;br /&gt;
*[[Activity report]]&lt;br /&gt;
*[[User profile fields]]&lt;br /&gt;
*[[Site policies]]&lt;br /&gt;
*[[Update profile]]&lt;br /&gt;
&lt;br /&gt;
[[de:Nutzerprofil]]&lt;br /&gt;
[[es:Perfiles de usuario]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=User_profiles&amp;diff=133808</id>
		<title>User profiles</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=User_profiles&amp;diff=133808"/>
		<updated>2019-05-19T10:42:32Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* Default profile page */  changes to explanation about adding  blocks.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Site appearance}}&lt;br /&gt;
==User profiles==&lt;br /&gt;
Every user has a profile page which may be reached from the user menu top right and then clicking Profile.  This page contains links to further pages allowing the user to [[Edit profile |edit their profile information]] and preferences, view their forum/blog posts, and check any reports they have access to.&lt;br /&gt;
{{New features}}&lt;br /&gt;
The Privacy and policies section provides links for contacting the Privacy officer, requesting data export and account deletion (new in 3.6), along with a data retention summary page (new in 3.6) (unless disabled by the administrator).&lt;br /&gt;
&lt;br /&gt;
[[File:36NewProfilePage.png|thumb|center|600px|Example of a user&#039;s Profile page. Click to view full size.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If mobile access is enabled, a link to download the [[Moodle Mobile app]] is visible on the profile. (See screenshot above.)&lt;br /&gt;
&lt;br /&gt;
==Viewing others&#039;s profiles==&lt;br /&gt;
&lt;br /&gt;
Users with permission to view the profiles of other users can view them by clicking on their name. If they click on the name of a user within a course, the course profile will be displayed and the full profile may be viewed (if allowed)  by clicking the link  &amp;quot;Full profile&amp;quot; in the Miscellaneous section:&lt;br /&gt;
&lt;br /&gt;
[[File:fullprofilelink.png]]&lt;br /&gt;
&lt;br /&gt;
Note: All users are allowed to view the full profile of users listed as course contacts in the course description.&lt;br /&gt;
&lt;br /&gt;
See [[View profile]] for more information on how the profile information is displayed and [[Edit profile]] for information on updating profiles.&lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
===Site policies===&lt;br /&gt;
&lt;br /&gt;
An administrator can force users to login for profiles and select which roles are visible in user profiles (by default teacher, non-editing teacher and student) in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Security &amp;gt; Site policies&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Default profile page===&lt;br /&gt;
&lt;br /&gt;
An administrator or manager (or any other user with the capability [[Capabilities/moodle/user:managesyspages|moodle/user:managesyspages]]) can add additional blocks onto the default profile page for all users from &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Default profile page&#039;&#039;. Blocks can be added to the left, right or middle of the page.&lt;br /&gt;
&lt;br /&gt;
Note that this does NOT allow you to remove the following blocks: &lt;br /&gt;
* User details&lt;br /&gt;
* Privacy and policies&lt;br /&gt;
* Course Details&lt;br /&gt;
* Miscellaneous&lt;br /&gt;
* Reports&lt;br /&gt;
* Login activity&lt;br /&gt;
* Mobile app (only displays if [[Mobile web Services]] are configured)&lt;br /&gt;
&lt;br /&gt;
These are all ‘fake’ blocks and cannot be removed through the normal blocks administration interface.&lt;br /&gt;
&lt;br /&gt;
Clicking the button &#039;Reset profile for all users&#039; will then apply these settings to the profile pages of everyone on the site.&lt;br /&gt;
&lt;br /&gt;
==Preventing users from customizing their profile page==&lt;br /&gt;
&lt;br /&gt;
By default, users can customize their public profile page and add blocks. To prevent this&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 capability [[Capabilities/moodle/user:manageownblocks|moodle/user:manageownblocks]]&lt;br /&gt;
&lt;br /&gt;
==User profile capabilities==&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
*[[Capabilities/moodle/user:editownprofile|Edit own user profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:manageownblocks|Manage blocks on own public user profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:managesyspages|Configure default page layout for public user profiles]]&lt;br /&gt;
*[[Capabilities/moodle/user:update|Update user profiles]]&lt;br /&gt;
&lt;br /&gt;
Users:&lt;br /&gt;
*[[Capabilities/moodle/user:editprofile|Edit user profile]]&lt;br /&gt;
*[[Capabilities/moodle/user:manageblocks|Manage blocks on user profile of other users]]&lt;br /&gt;
*[[Capabilities/moodle/user:viewalldetails|View user full information]]&lt;br /&gt;
&lt;br /&gt;
Course:&lt;br /&gt;
*[[Capabilities/moodle/user:viewdetails|View user profiles]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[View profile]]&lt;br /&gt;
*[[Activity report]]&lt;br /&gt;
*[[User profile fields]]&lt;br /&gt;
*[[Site policies]]&lt;br /&gt;
*[[Update profile]]&lt;br /&gt;
&lt;br /&gt;
[[de:Nutzerprofil]]&lt;br /&gt;
[[es:Perfiles de usuario]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Tracker_introduction&amp;diff=133415</id>
		<title>Tracker introduction</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Tracker_introduction&amp;diff=133415"/>
		<updated>2019-03-27T13:04:02Z</updated>

		<summary type="html">&lt;p&gt;Jonb: Undo revision 133414 by Jonb (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[https://docs.moodle.org/dev/Tracker_introduction&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Tracker_introduction&amp;diff=133414</id>
		<title>Tracker introduction</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Tracker_introduction&amp;diff=133414"/>
		<updated>2019-03-27T13:02:54Z</updated>

		<summary type="html">&lt;p&gt;Jonb: Redirect to tracker introduction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Tracker introduction]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Tracker_introduction&amp;diff=133413</id>
		<title>Tracker introduction</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Tracker_introduction&amp;diff=133413"/>
		<updated>2019-03-27T13:00:34Z</updated>

		<summary type="html">&lt;p&gt;Jonb: Created page with &amp;quot;#REDIRECT https://docs.moodle.org/dev/Tracker_introduction&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[https://docs.moodle.org/dev/Tracker_introduction&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Upload_courses&amp;diff=133244</id>
		<title>Upload courses</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Upload_courses&amp;diff=133244"/>
		<updated>2019-03-08T09:22:31Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* Course information fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Courses}}&lt;br /&gt;
{{Note|This page is about creating courses with a text (.csv) file. If you want to upload a course backup in .mbz or .tgz format, see [[Course restore]].}}&lt;br /&gt;
&lt;br /&gt;
==Upload courses==&lt;br /&gt;
&lt;br /&gt;
In addition to creating new courses, the upload courses functionality may also be used to update or delete courses, or import content from another course. For information on using this functionality to create course templates, see [[Adding a new course]].&lt;br /&gt;
&lt;br /&gt;
To upload one or more courses&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Courses &amp;gt; Upload courses&#039;&#039;&lt;br /&gt;
# Either drag and drop the CSV file or click the &#039;Choose a file&#039; button and select the file in the file picker&lt;br /&gt;
# Select appropriate import options carefully, then click the preview button.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[File:26uploadcourses.png|250px|thumb|Upload courses admin screen]]&lt;br /&gt;
|&lt;br /&gt;
|[[File:uploadcoursesresults.png|250px|thumb|Courses successfully uploaded]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: It is also possible to use the command-line tool &#039;&#039;admin/tool/uploadcourse/cli/uploadcourse.php&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
When using the web interface, use the &#039;&#039;Preview&#039;&#039; option to see if any errors were detected in the previewed rows. If you proceed with the upload and there were something wrong detected with a course, it will be ignored.&lt;br /&gt;
&lt;br /&gt;
=== Short file example ===&lt;br /&gt;
uploadcourse.csv:&lt;br /&gt;
&lt;br /&gt;
Note: shortname, fullname, and category are required.&lt;br /&gt;
&lt;br /&gt;
The category field takes the id of the category, with the default category Miscellaneous having id 1. Categories must already exist. If you put a category id that does not exist, you will receive a &amp;quot;Could not resolve category by ID&amp;quot; error during upload preview, and courses in that category will not be created. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
shortname,fullname,category,summary,enrolment_1,enrolment_1_role,enrolment_1_enrolperiod,role_student&lt;br /&gt;
courserestored,Course restored,1,a summary,manual,student,1 month,&lt;br /&gt;
courserestored2,Course restored 2,1,a summary,,,,&lt;br /&gt;
courserestored3,Course restored 3,1,a summary,,,,padawan&lt;br /&gt;
courserestored4,Course restored 4,1,&amp;quot;a summary, with comma&amp;quot;,manual,student,1 month,padawan&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Notice there are no spaces between the items.&lt;br /&gt;
&lt;br /&gt;
==Creating the text file==&lt;br /&gt;
&lt;br /&gt;
The text file to upload courses must be a CSV file. It accepts the following columns which are divided in two categories, the course information, and the course actions.&lt;br /&gt;
&lt;br /&gt;
===Course information fields===&lt;br /&gt;
&lt;br /&gt;
Most of those settings are available on the settings page of a course. Please refer to [[Course settings]] for more information. Field names must be lower-case.&lt;br /&gt;
&lt;br /&gt;
;shortname&lt;br /&gt;
: The shortname&lt;br /&gt;
;fullname&lt;br /&gt;
: The full name&lt;br /&gt;
;idnumber&lt;br /&gt;
: The ID number (found on the ‘Edit Category’ page)&lt;br /&gt;
;category&lt;br /&gt;
:  This is the ID of the category to place the course in. This takes precedence over &#039;&#039;category_idnumber&#039;&#039; and &#039;&#039;category_path&#039;&#039;.&lt;br /&gt;
;category_idnumber&lt;br /&gt;
: The ID number of the category to place the course in (foundnin the category url). This takes precedence over &#039;&#039;category_path&#039;&#039;.&lt;br /&gt;
;category_path&lt;br /&gt;
: The path of the category to place the course in. If you want to place the course in a category named &amp;quot;Science-Fiction&amp;quot; which is located under the category &amp;quot;Movies&amp;quot;, the value to provide is: &amp;lt;code&amp;gt;Movies / Science-Fiction&amp;lt;/code&amp;gt;. Note that the separator must be &amp;lt;code&amp;gt;[space]/[space]&amp;lt;/code&amp;gt;. Also note that the category MUST exist, it will not be created.  If you want to place the course in the top-level category &amp;quot;Movies&amp;quot;, the value to provide is: &amp;lt;code&amp;gt;Movies&amp;lt;/code&amp;gt;&lt;br /&gt;
;visible&lt;br /&gt;
: 1 if the course is visible, 0 if hidden&lt;br /&gt;
;startdate&lt;br /&gt;
: The time at which the course starts. Please note that this value is passed to the PHP function [http://php.net/manual/en/function.strtotime.php strtotime] to generate a timestamp. Example 01.12.2014 (1st December 2014)&lt;br /&gt;
;enddate&lt;br /&gt;
: The time at which the course ends. Please note as with startdate that this value is passed to the PHP function [http://php.net/manual/en/function.strtotime.php strtotime] to generate a timestamp. Example 01.12.2014 (1st December 2014)&lt;br /&gt;
;summary&lt;br /&gt;
: The summary of the course&lt;br /&gt;
;format&lt;br /&gt;
: The course format to use, this must be a valid course format plugin name. E.g. &#039;&#039;weeks&#039;&#039;, &#039;&#039;topics&#039;&#039;.&lt;br /&gt;
;theme&lt;br /&gt;
: The theme to use&lt;br /&gt;
;lang&lt;br /&gt;
: The language to use&lt;br /&gt;
;newsitems&lt;br /&gt;
: The number of news items&lt;br /&gt;
;showgrades&lt;br /&gt;
: 1 to show the gradebook to students, 0 to hide it.&lt;br /&gt;
;showreports&lt;br /&gt;
: 1 to show the activity reports, 0 to hide it.&lt;br /&gt;
;legacyfiles&lt;br /&gt;
: 1 to enable the legacy course files, 0 not to.&lt;br /&gt;
;maxbytes&lt;br /&gt;
: The maximum upload size of the course in bytes. Use 0 for the site limit.&lt;br /&gt;
;groupmode&lt;br /&gt;
: 0 for &#039;&#039;No groups&#039;&#039;, 1 for &#039;&#039;Separate groups&#039;&#039; and 2 for &#039;&#039;Visible groups&#039;&#039;.&lt;br /&gt;
;groupmodeforce&lt;br /&gt;
: 1 to force the group mode, otherwise enter 0.&lt;br /&gt;
;enablecompletion&lt;br /&gt;
: 1 to enable the activity completion, 0 not to.&lt;br /&gt;
;tags&lt;br /&gt;
: A comma-separated list of tags to add to the course. Existing tags will be deleted. Enclose multiple tags in quotes.&lt;br /&gt;
&lt;br /&gt;
====Enrolment fields====&lt;br /&gt;
&lt;br /&gt;
Some fields can be constructed to enable and configure enrolment methods. The fields must be named &#039;&#039;enrolment_[number]&#039;&#039; for the enrolment method name, and &#039;&#039;enrolment_[number]_property&#039;&#039; for its properties.&lt;br /&gt;
&lt;br /&gt;
;enrolment_[number]&lt;br /&gt;
: The name of the enrolment method (eg, manual, guest, self)&lt;br /&gt;
;enrolment_[number]_delete&lt;br /&gt;
: 1 to delete this enrolment method from the course, if set to 1 all the other properties will be ignored.&lt;br /&gt;
;enrolment_[number]_disable&lt;br /&gt;
: 1 to disable this enrolment method from the course, if set to 1 all the other properties will be ignored.&lt;br /&gt;
;enrolment_[number]_startdate&lt;br /&gt;
: The enrolment start date. This value is passed to the PHP function strtotime().&lt;br /&gt;
;enrolment_[number]_enddate&lt;br /&gt;
: The enrolment end date. This value is passed to the PHP function strtotime().&lt;br /&gt;
;enrolment_[number]_enrolperiod&lt;br /&gt;
: Number of seconds, or if not a value understood by strtotime() such as &amp;quot;4 days&amp;quot;.&lt;br /&gt;
;enrolment_[number]_role&lt;br /&gt;
: The role short name&lt;br /&gt;
;enrolment_[number]_[property]&lt;br /&gt;
: Where property is understood by the specified enrolment method&lt;br /&gt;
;enrolment_[number]_password&lt;br /&gt;
: The course enrolment key&lt;br /&gt;
&lt;br /&gt;
Note: Upload courses is not yet compatible with all [[Enrolments|enrolment methods]] (MDL-43127).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 enrolment_1: manual&lt;br /&gt;
 enrolment_1_role: student&lt;br /&gt;
 enrolment_1_enrolperiod: 1 month&lt;br /&gt;
 &lt;br /&gt;
 enrolment_2: self&lt;br /&gt;
 enrolment_2_startdate: 2013-01-30&lt;br /&gt;
&lt;br /&gt;
====Role renaming====&lt;br /&gt;
&lt;br /&gt;
To rename some roles, using the following pattern:&lt;br /&gt;
&lt;br /&gt;
;role_[shortname]&lt;br /&gt;
: The new name of the role &#039;&#039;[shortname]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 role_student: Apprentice&lt;br /&gt;
 role_teacher: Master&lt;br /&gt;
 role_mycustomrole: Jedi&lt;br /&gt;
&lt;br /&gt;
It is worth noting that the short name for the teacher role is &#039;&#039;editingteacher&#039;&#039; and the short name for the non-editing teacher is &#039;&#039;teacher&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Course action fields===&lt;br /&gt;
&lt;br /&gt;
Those settings take precedence over the &#039;&#039;Course process&#039;&#039; parameters.&lt;br /&gt;
&lt;br /&gt;
;delete&lt;br /&gt;
: 1 to delete the course &lt;br /&gt;
;rename&lt;br /&gt;
: The shortname to rename the course to&lt;br /&gt;
;backupfile&lt;br /&gt;
: An absolute path to a backup file (.mbz) to import in the course.&lt;br /&gt;
&lt;br /&gt;
(This means the full path to your course, for example &#039;&#039;/home/yourmoodle/public_html/moodle27/transfert/backup.mbz&#039;&#039; . If you are unsure of this, look at include_path in &#039;&#039;Site administration&amp;gt;Server&amp;gt;PHP info.)&#039;&#039;&lt;br /&gt;
;templatecourse&lt;br /&gt;
: The short name of a course to import the content from&lt;br /&gt;
;reset&lt;br /&gt;
: 1 to reset the course&lt;br /&gt;
&lt;br /&gt;
===Mandatory fields===&lt;br /&gt;
&lt;br /&gt;
;shortname&lt;br /&gt;
: This field is mandatory for every operation, with the only exception of creating new courses. See details on the course process parameter &#039;&#039;Shortname template&#039;&#039; for more information.&lt;br /&gt;
;fullname&lt;br /&gt;
: Required when creating a new course.&lt;br /&gt;
;category, category_idnumber, category_path&lt;br /&gt;
: One of these is required when creating a course.&lt;br /&gt;
&lt;br /&gt;
===Import options===&lt;br /&gt;
&lt;br /&gt;
To prevent unexpected behaviour, you have to specify what you want the tool to be able to do.&lt;br /&gt;
&lt;br /&gt;
;Upload mode&lt;br /&gt;
: This allows you to specify if courses can be created and/or updated.&lt;br /&gt;
;Update mode&lt;br /&gt;
: If you allow courses to be updated, you also have to tell the tool what to update the courses with.&lt;br /&gt;
;Allow deletes&lt;br /&gt;
: Whether the &#039;&#039;delete&#039;&#039; field is accepted or not&lt;br /&gt;
;Allow renames&lt;br /&gt;
: Whether the &#039;&#039;rename&#039;&#039; field is accepted or not&lt;br /&gt;
;Allow resets&lt;br /&gt;
: Whether the &#039;&#039;reset&#039;&#039; field is accepted or not&lt;br /&gt;
&lt;br /&gt;
===Course process===&lt;br /&gt;
&lt;br /&gt;
This allows you to specify actions to be taken for every course uploaded.&lt;br /&gt;
&lt;br /&gt;
;Shortname template&lt;br /&gt;
: If you are creating courses without a shortname, you can use this field to automatically generate a shortname. This field accepts two placeholders: %i for the ID number, %f for the summary.&lt;br /&gt;
;Restore file&lt;br /&gt;
: A backup file (.mbz) to import in the course after create/update.&lt;br /&gt;
;Restore from course&lt;br /&gt;
: The shortname of a course to import content from after create/update.&lt;br /&gt;
;Reset after upload&lt;br /&gt;
: Whether to reset the course after creating/updating it.&lt;br /&gt;
&lt;br /&gt;
===Default course values===&lt;br /&gt;
&lt;br /&gt;
Those are values that can be set in the web interface for all the fields that are not specified in the CSV file. Note that they are always used when creating a course, but only when specified during update (see &#039;&#039;Update mode&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==Increasing speed==&lt;br /&gt;
&lt;br /&gt;
When importing the content of a backup file, or another course, you are advised to enable the setting &#039;&#039;keeptempdirectoriesonbackup&#039;&#039;. This will considerably speed up the process of the upload if you are importing multiple times from the same source.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Demo screencast: [http://youtu.be/MzK2jb-9SwE Bulk course creation]&lt;br /&gt;
* [[Upload users]]&lt;br /&gt;
* [http://www.moodleblog.net/2013/11/24/creating-course-templates-in-moodle-2-6/ Creating course templates in Moodle 2.6] blog post by Mary Cooch&lt;br /&gt;
&lt;br /&gt;
[[de:Kurse hochladen]]&lt;br /&gt;
[[es:Subir cursos]]&lt;br /&gt;
[[ja:コースをアップロードする]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Upload_courses&amp;diff=133243</id>
		<title>Upload courses</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Upload_courses&amp;diff=133243"/>
		<updated>2019-03-08T09:21:36Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* Course information fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Courses}}&lt;br /&gt;
{{Note|This page is about creating courses with a text (.csv) file. If you want to upload a course backup in .mbz or .tgz format, see [[Course restore]].}}&lt;br /&gt;
&lt;br /&gt;
==Upload courses==&lt;br /&gt;
&lt;br /&gt;
In addition to creating new courses, the upload courses functionality may also be used to update or delete courses, or import content from another course. For information on using this functionality to create course templates, see [[Adding a new course]].&lt;br /&gt;
&lt;br /&gt;
To upload one or more courses&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Courses &amp;gt; Upload courses&#039;&#039;&lt;br /&gt;
# Either drag and drop the CSV file or click the &#039;Choose a file&#039; button and select the file in the file picker&lt;br /&gt;
# Select appropriate import options carefully, then click the preview button.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[File:26uploadcourses.png|250px|thumb|Upload courses admin screen]]&lt;br /&gt;
|&lt;br /&gt;
|[[File:uploadcoursesresults.png|250px|thumb|Courses successfully uploaded]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: It is also possible to use the command-line tool &#039;&#039;admin/tool/uploadcourse/cli/uploadcourse.php&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
When using the web interface, use the &#039;&#039;Preview&#039;&#039; option to see if any errors were detected in the previewed rows. If you proceed with the upload and there were something wrong detected with a course, it will be ignored.&lt;br /&gt;
&lt;br /&gt;
=== Short file example ===&lt;br /&gt;
uploadcourse.csv:&lt;br /&gt;
&lt;br /&gt;
Note: shortname, fullname, and category are required.&lt;br /&gt;
&lt;br /&gt;
The category field takes the id of the category, with the default category Miscellaneous having id 1. Categories must already exist. If you put a category id that does not exist, you will receive a &amp;quot;Could not resolve category by ID&amp;quot; error during upload preview, and courses in that category will not be created. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code bash&amp;gt;&lt;br /&gt;
shortname,fullname,category,summary,enrolment_1,enrolment_1_role,enrolment_1_enrolperiod,role_student&lt;br /&gt;
courserestored,Course restored,1,a summary,manual,student,1 month,&lt;br /&gt;
courserestored2,Course restored 2,1,a summary,,,,&lt;br /&gt;
courserestored3,Course restored 3,1,a summary,,,,padawan&lt;br /&gt;
courserestored4,Course restored 4,1,&amp;quot;a summary, with comma&amp;quot;,manual,student,1 month,padawan&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Notice there are no spaces between the items.&lt;br /&gt;
&lt;br /&gt;
==Creating the text file==&lt;br /&gt;
&lt;br /&gt;
The text file to upload courses must be a CSV file. It accepts the following columns which are divided in two categories, the course information, and the course actions.&lt;br /&gt;
&lt;br /&gt;
===Course information fields===&lt;br /&gt;
&lt;br /&gt;
Most of those settings are available on the settings page of a course. Please refer to [[Course settings]] for more information. Field names must be lower-case.&lt;br /&gt;
&lt;br /&gt;
;shortname&lt;br /&gt;
: The shortname&lt;br /&gt;
;fullname&lt;br /&gt;
: The full name&lt;br /&gt;
;idnumber&lt;br /&gt;
: The ID number &lt;br /&gt;
;category&lt;br /&gt;
: Found on the ‘Edit Category’ page, this is the ID of the category to place the course in. This takes precedence over &#039;&#039;category_idnumber&#039;&#039; and &#039;&#039;category_path&#039;&#039;.&lt;br /&gt;
;category_idnumber&lt;br /&gt;
: The ID number of the category to place the course in (foundnin the category url). This takes precedence over &#039;&#039;category_path&#039;&#039;.&lt;br /&gt;
;category_path&lt;br /&gt;
: The path of the category to place the course in. If you want to place the course in a category named &amp;quot;Science-Fiction&amp;quot; which is located under the category &amp;quot;Movies&amp;quot;, the value to provide is: &amp;lt;code&amp;gt;Movies / Science-Fiction&amp;lt;/code&amp;gt;. Note that the separator must be &amp;lt;code&amp;gt;[space]/[space]&amp;lt;/code&amp;gt;. Also note that the category MUST exist, it will not be created.  If you want to place the course in the top-level category &amp;quot;Movies&amp;quot;, the value to provide is: &amp;lt;code&amp;gt;Movies&amp;lt;/code&amp;gt;&lt;br /&gt;
;visible&lt;br /&gt;
: 1 if the course is visible, 0 if hidden&lt;br /&gt;
;startdate&lt;br /&gt;
: The time at which the course starts. Please note that this value is passed to the PHP function [http://php.net/manual/en/function.strtotime.php strtotime] to generate a timestamp. Example 01.12.2014 (1st December 2014)&lt;br /&gt;
;enddate&lt;br /&gt;
: The time at which the course ends. Please note as with startdate that this value is passed to the PHP function [http://php.net/manual/en/function.strtotime.php strtotime] to generate a timestamp. Example 01.12.2014 (1st December 2014)&lt;br /&gt;
;summary&lt;br /&gt;
: The summary of the course&lt;br /&gt;
;format&lt;br /&gt;
: The course format to use, this must be a valid course format plugin name. E.g. &#039;&#039;weeks&#039;&#039;, &#039;&#039;topics&#039;&#039;.&lt;br /&gt;
;theme&lt;br /&gt;
: The theme to use&lt;br /&gt;
;lang&lt;br /&gt;
: The language to use&lt;br /&gt;
;newsitems&lt;br /&gt;
: The number of news items&lt;br /&gt;
;showgrades&lt;br /&gt;
: 1 to show the gradebook to students, 0 to hide it.&lt;br /&gt;
;showreports&lt;br /&gt;
: 1 to show the activity reports, 0 to hide it.&lt;br /&gt;
;legacyfiles&lt;br /&gt;
: 1 to enable the legacy course files, 0 not to.&lt;br /&gt;
;maxbytes&lt;br /&gt;
: The maximum upload size of the course in bytes. Use 0 for the site limit.&lt;br /&gt;
;groupmode&lt;br /&gt;
: 0 for &#039;&#039;No groups&#039;&#039;, 1 for &#039;&#039;Separate groups&#039;&#039; and 2 for &#039;&#039;Visible groups&#039;&#039;.&lt;br /&gt;
;groupmodeforce&lt;br /&gt;
: 1 to force the group mode, otherwise enter 0.&lt;br /&gt;
;enablecompletion&lt;br /&gt;
: 1 to enable the activity completion, 0 not to.&lt;br /&gt;
;tags&lt;br /&gt;
: A comma-separated list of tags to add to the course. Existing tags will be deleted. Enclose multiple tags in quotes.&lt;br /&gt;
&lt;br /&gt;
====Enrolment fields====&lt;br /&gt;
&lt;br /&gt;
Some fields can be constructed to enable and configure enrolment methods. The fields must be named &#039;&#039;enrolment_[number]&#039;&#039; for the enrolment method name, and &#039;&#039;enrolment_[number]_property&#039;&#039; for its properties.&lt;br /&gt;
&lt;br /&gt;
;enrolment_[number]&lt;br /&gt;
: The name of the enrolment method (eg, manual, guest, self)&lt;br /&gt;
;enrolment_[number]_delete&lt;br /&gt;
: 1 to delete this enrolment method from the course, if set to 1 all the other properties will be ignored.&lt;br /&gt;
;enrolment_[number]_disable&lt;br /&gt;
: 1 to disable this enrolment method from the course, if set to 1 all the other properties will be ignored.&lt;br /&gt;
;enrolment_[number]_startdate&lt;br /&gt;
: The enrolment start date. This value is passed to the PHP function strtotime().&lt;br /&gt;
;enrolment_[number]_enddate&lt;br /&gt;
: The enrolment end date. This value is passed to the PHP function strtotime().&lt;br /&gt;
;enrolment_[number]_enrolperiod&lt;br /&gt;
: Number of seconds, or if not a value understood by strtotime() such as &amp;quot;4 days&amp;quot;.&lt;br /&gt;
;enrolment_[number]_role&lt;br /&gt;
: The role short name&lt;br /&gt;
;enrolment_[number]_[property]&lt;br /&gt;
: Where property is understood by the specified enrolment method&lt;br /&gt;
;enrolment_[number]_password&lt;br /&gt;
: The course enrolment key&lt;br /&gt;
&lt;br /&gt;
Note: Upload courses is not yet compatible with all [[Enrolments|enrolment methods]] (MDL-43127).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 enrolment_1: manual&lt;br /&gt;
 enrolment_1_role: student&lt;br /&gt;
 enrolment_1_enrolperiod: 1 month&lt;br /&gt;
 &lt;br /&gt;
 enrolment_2: self&lt;br /&gt;
 enrolment_2_startdate: 2013-01-30&lt;br /&gt;
&lt;br /&gt;
====Role renaming====&lt;br /&gt;
&lt;br /&gt;
To rename some roles, using the following pattern:&lt;br /&gt;
&lt;br /&gt;
;role_[shortname]&lt;br /&gt;
: The new name of the role &#039;&#039;[shortname]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 role_student: Apprentice&lt;br /&gt;
 role_teacher: Master&lt;br /&gt;
 role_mycustomrole: Jedi&lt;br /&gt;
&lt;br /&gt;
It is worth noting that the short name for the teacher role is &#039;&#039;editingteacher&#039;&#039; and the short name for the non-editing teacher is &#039;&#039;teacher&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Course action fields===&lt;br /&gt;
&lt;br /&gt;
Those settings take precedence over the &#039;&#039;Course process&#039;&#039; parameters.&lt;br /&gt;
&lt;br /&gt;
;delete&lt;br /&gt;
: 1 to delete the course &lt;br /&gt;
;rename&lt;br /&gt;
: The shortname to rename the course to&lt;br /&gt;
;backupfile&lt;br /&gt;
: An absolute path to a backup file (.mbz) to import in the course.&lt;br /&gt;
&lt;br /&gt;
(This means the full path to your course, for example &#039;&#039;/home/yourmoodle/public_html/moodle27/transfert/backup.mbz&#039;&#039; . If you are unsure of this, look at include_path in &#039;&#039;Site administration&amp;gt;Server&amp;gt;PHP info.)&#039;&#039;&lt;br /&gt;
;templatecourse&lt;br /&gt;
: The short name of a course to import the content from&lt;br /&gt;
;reset&lt;br /&gt;
: 1 to reset the course&lt;br /&gt;
&lt;br /&gt;
===Mandatory fields===&lt;br /&gt;
&lt;br /&gt;
;shortname&lt;br /&gt;
: This field is mandatory for every operation, with the only exception of creating new courses. See details on the course process parameter &#039;&#039;Shortname template&#039;&#039; for more information.&lt;br /&gt;
;fullname&lt;br /&gt;
: Required when creating a new course.&lt;br /&gt;
;category, category_idnumber, category_path&lt;br /&gt;
: One of these is required when creating a course.&lt;br /&gt;
&lt;br /&gt;
===Import options===&lt;br /&gt;
&lt;br /&gt;
To prevent unexpected behaviour, you have to specify what you want the tool to be able to do.&lt;br /&gt;
&lt;br /&gt;
;Upload mode&lt;br /&gt;
: This allows you to specify if courses can be created and/or updated.&lt;br /&gt;
;Update mode&lt;br /&gt;
: If you allow courses to be updated, you also have to tell the tool what to update the courses with.&lt;br /&gt;
;Allow deletes&lt;br /&gt;
: Whether the &#039;&#039;delete&#039;&#039; field is accepted or not&lt;br /&gt;
;Allow renames&lt;br /&gt;
: Whether the &#039;&#039;rename&#039;&#039; field is accepted or not&lt;br /&gt;
;Allow resets&lt;br /&gt;
: Whether the &#039;&#039;reset&#039;&#039; field is accepted or not&lt;br /&gt;
&lt;br /&gt;
===Course process===&lt;br /&gt;
&lt;br /&gt;
This allows you to specify actions to be taken for every course uploaded.&lt;br /&gt;
&lt;br /&gt;
;Shortname template&lt;br /&gt;
: If you are creating courses without a shortname, you can use this field to automatically generate a shortname. This field accepts two placeholders: %i for the ID number, %f for the summary.&lt;br /&gt;
;Restore file&lt;br /&gt;
: A backup file (.mbz) to import in the course after create/update.&lt;br /&gt;
;Restore from course&lt;br /&gt;
: The shortname of a course to import content from after create/update.&lt;br /&gt;
;Reset after upload&lt;br /&gt;
: Whether to reset the course after creating/updating it.&lt;br /&gt;
&lt;br /&gt;
===Default course values===&lt;br /&gt;
&lt;br /&gt;
Those are values that can be set in the web interface for all the fields that are not specified in the CSV file. Note that they are always used when creating a course, but only when specified during update (see &#039;&#039;Update mode&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==Increasing speed==&lt;br /&gt;
&lt;br /&gt;
When importing the content of a backup file, or another course, you are advised to enable the setting &#039;&#039;keeptempdirectoriesonbackup&#039;&#039;. This will considerably speed up the process of the upload if you are importing multiple times from the same source.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Demo screencast: [http://youtu.be/MzK2jb-9SwE Bulk course creation]&lt;br /&gt;
* [[Upload users]]&lt;br /&gt;
* [http://www.moodleblog.net/2013/11/24/creating-course-templates-in-moodle-2-6/ Creating course templates in Moodle 2.6] blog post by Mary Cooch&lt;br /&gt;
&lt;br /&gt;
[[de:Kurse hochladen]]&lt;br /&gt;
[[es:Subir cursos]]&lt;br /&gt;
[[ja:コースをアップロードする]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Global_search&amp;diff=131561</id>
		<title>Global search</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Global_search&amp;diff=131561"/>
		<updated>2018-07-27T11:59:24Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{More features}}&lt;br /&gt;
==What is Global search?==&lt;br /&gt;
*Global search lets you search everywhere on the Moodle site that you have access to. A student can search their courses for particular lecture notes, for example, or a teacher could search for subject-related activities.&lt;br /&gt;
*The feature needs to be enabled by the administrator in Advanced features and then, from the Manage Global search page, the search engine must be selected.&lt;br /&gt;
&lt;br /&gt;
When Global search is enabled,  search box is then available next to the user menu.&lt;br /&gt;
&lt;br /&gt;
[[File:NFGlobalsearchbox.png|thumb|center|480px|Searching the site (when global search is enabled)]]&lt;br /&gt;
&lt;br /&gt;
*A [[Global search block]] may also be added to course pages.&lt;br /&gt;
&lt;br /&gt;
==What can I search for?==&lt;br /&gt;
You can search for your courses, activities information and some activities contents like forum posts, book chapters, glossary entries or collaborative wikis pages. &lt;br /&gt;
&lt;br /&gt;
HTML block content may be searched and, if the administrator sets the setting &amp;quot;Searchable courses&amp;quot; to &#039;&#039;Search within all courses the user can access&#039;&#039; then courses which are visible to users but which they are not enrolled in may also be searched. (These courses are courses with guest access or if the user has the capability to view all courses.)&lt;br /&gt;
&lt;br /&gt;
==How does it work?==&lt;br /&gt;
*Click the search icon by the user menu and type a search term into the box that appears, or type into the box in the [[Global search block]] if enabled.&lt;br /&gt;
*On the next screen, you can simply click the search button to search everywhere, or expand the Filter to search in specific areas:&lt;br /&gt;
&lt;br /&gt;
[[File:NFFilteringGlobalSearch2.png|thumb|center|600px|Filtering the search]]&lt;br /&gt;
&lt;br /&gt;
*You will then see results displayed from all areas of Moodle you have access to:&lt;br /&gt;
&lt;br /&gt;
[[File:31GSResults2a.png|thumb|center|600px|Search results]]&lt;br /&gt;
&lt;br /&gt;
===Solr-specific features===&lt;br /&gt;
&#039;&#039;These features are only available if you use &#039;&#039;&#039;Solr&#039;&#039;&#039; as your search engine.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Search query features====&lt;br /&gt;
You can improve your search using any of the following search query features:&lt;br /&gt;
&lt;br /&gt;
* Specifying the field to be searched by prefixing the search query with &#039;title:&#039;, &#039;content:&#039;, &#039;name:&#039;, or &#039;intro:&#039; e.g.&#039;title:news&#039; returns results with the word &#039;news&#039; in the title&lt;br /&gt;
* Boolean operators (&#039;AND&#039;, &#039;OR&#039;, &#039;NOT&#039;) to combine or exclude keywords&lt;br /&gt;
* Wildcard characters (&#039;*&#039; or &#039;?&#039; ) to represent characters in the search query&lt;br /&gt;
* Proximity searches (&#039;~&#039;) e.g. mood~2 returns &amp;quot;moodle&amp;quot; (2 letters away from &amp;quot;mood&amp;quot;), Moodle Australia~3 returns results containing &amp;quot;Moodle HQ in Perth, Australia&amp;quot; (the queried terms were within 3 words of each other)&lt;br /&gt;
* Boosting terms (&#039;^&#039;) to boost certain words or phrases e.g. &amp;quot;Perth Australia&amp;quot;^5 &amp;quot;Australia&amp;quot; will return results with the phrase &amp;quot;Perth Australia&amp;quot; as more relevant.&lt;br /&gt;
&lt;br /&gt;
====File contents indexing====&lt;br /&gt;
Solr has the ability to index the contents of files, such as File resources and attachments to Forum posts.&lt;br /&gt;
&lt;br /&gt;
====Extra filters====&lt;br /&gt;
&#039;&#039;&#039;New in 3.5&#039;&#039;&#039; : New fields now facilitate filtering by user ID and searching by group.&lt;br /&gt;
&lt;br /&gt;
==How is it set up?==&lt;br /&gt;
&lt;br /&gt;
Note: Global search needs a search engine. It&#039;s recommended you set everything up first, index the site contents &#039;&#039;and only then&#039;&#039; enable Global search.&lt;br /&gt;
&lt;br /&gt;
Moodle core includes two search engines: Simple Global search and Solr. See the [https://docs.moodle.org/dev/Search_engines Developer docs on Search engine plugins] if you wish to write your own.&lt;br /&gt;
&lt;br /&gt;
===Setting up Simple search===&lt;br /&gt;
&lt;br /&gt;
{{New features}}&lt;br /&gt;
Simple Global search provides global search features without the need to install an external search engine.&lt;br /&gt;
&lt;br /&gt;
{{MediaPlayer | url = https://youtu.be/4JJhOd2XAiY | desc = Simple global search}}&lt;br /&gt;
&lt;br /&gt;
===Setting up Solr===&lt;br /&gt;
&lt;br /&gt;
* The latest Solr 5 available version is the recommended one.&lt;br /&gt;
* Moodle supports Solr server from 4.0 onwards, although you can only use the Solr schema setup script that we provide with Moodle from Solr 5. The latest Solr 5 available version is the recommended one; the same will apply to Solr 6 once it is released.&lt;br /&gt;
* Solr 7 is not currently supported as the field type &#039;int&#039; has been removed.&lt;br /&gt;
&lt;br /&gt;
====General Setup====&lt;br /&gt;
&lt;br /&gt;
# Set the feature up in &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Manage global search&#039;&#039; by selecting Solr as the search engine and ticking search area checkboxes as required&lt;br /&gt;
# In &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Solr&#039;&#039;, set &#039;&#039;&#039;Host name&#039;&#039;&#039; to localhost, &#039;&#039;&#039;Port&#039;&#039;&#039; to 8983 and &#039;&#039;&#039;Index name&#039;&#039;&#039; to &#039;moodle&#039; (the name of the index in Solr) &lt;br /&gt;
# If you are using Solr with SSL encryption, you will need to configure Moodle as such. This is important if solr is not installed in the web server server.&lt;br /&gt;
## You will need a separate key file and cacert file, both in pem format, located on your server Moodle, and readable by the PHP process.&lt;br /&gt;
## Go to &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Solr&#039;&#039;&lt;br /&gt;
## Set &#039;&#039;&#039;Secure mode&#039;&#039;&#039; to Yes&lt;br /&gt;
## &#039;&#039;&#039;SSL certificate&#039;&#039;&#039; to /path/to/certs/solr-ssl.cacert.pem&lt;br /&gt;
## &#039;&#039;&#039;SSL key&#039;&#039;&#039; to /path/to/certs/solr-ssl.key.pem&lt;br /&gt;
## &#039;&#039;&#039;SSL key Password&#039;&#039;&#039; to The password used to lock the SSL Key&lt;br /&gt;
## &#039;&#039;&#039;SSL CA certificates name&#039;&#039;&#039; to /path/to/certs/solr-ssl.cacert.pem&lt;br /&gt;
# You now need to populate the created Solr index with your site&#039;s data. You can do it via the web interface by going to &#039;&#039;Site administration &amp;gt; Reports &amp;gt; Global search info&#039;&#039; or from the CLI by running the &amp;lt;tt&amp;gt;search/cli/indexer.php&amp;lt;/tt&amp;gt; script. The CLI script is the recommended option for big sites.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;# sudo -u www-run php search/cli/indexer.php --force&amp;lt;/code&amp;gt;&lt;br /&gt;
# Enable Global search in &#039;&#039;Site administration &amp;gt; Advanced features&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====File Indexing====&lt;br /&gt;
&lt;br /&gt;
Solr has the ability to index the contents of files, such as File resources and attachments to Forum posts. This uses the [https://tika.apache.org/ Tika] engine which comes bundled with Solr. To enable this feature:&lt;br /&gt;
# In &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Search &amp;gt; Solr&#039;&#039; enable the checkbox &#039;&#039;&#039;Enable file indexing&#039;&#039;&#039;&lt;br /&gt;
# Set &#039;&#039;&#039;Maximum file size to index (kB)&#039;&#039;&#039; to some value - the default is &#039;&#039;&#039;2097152&#039;&#039;&#039; (2GB)&lt;br /&gt;
#* Files larger than this limit will not be sent for Solr for indexing, but the file name will still be indexed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;New in 34:&#039;&#039;&#039; File indexing now works retroactively -ie, if you set up Global search without file indexing enabled and a later date you enable file indexing, files associated with existing objects will be included.&lt;br /&gt;
&lt;br /&gt;
====How to install Solr====&lt;br /&gt;
&lt;br /&gt;
You need PHP Solr extension installed. You can download the official latest versions from [http://pecl.php.net/package/solr PECL: Package: solr]. The minimum required version is PECL Solr 2.1 for PHP 5 branch and PECL Solr 2.4 for PHP 7 branch.&lt;br /&gt;
&lt;br /&gt;
Basic installation steps (using apache web server):&lt;br /&gt;
&lt;br /&gt;
===== Linux (Debian/Ubuntu) =====&lt;br /&gt;
With PHP5.x&lt;br /&gt;
    sudo apt-get install libpcre3-dev libxml2-dev libcurl4-openssl-dev&lt;br /&gt;
    sudo apt-get install php5-dev&lt;br /&gt;
    sudo apt-get install php-pear&lt;br /&gt;
    sudo pecl install solr&lt;br /&gt;
    sudo sh -c &amp;quot;echo &#039;extension=solr.so&#039; &amp;gt; /etc/php5/apache2/conf.d/solr.ini&amp;quot;&lt;br /&gt;
    sudo sh -c &amp;quot;echo &#039;extension=solr.so&#039; &amp;gt; /etc/php5/cli/conf.d/solr.ini&amp;quot;&lt;br /&gt;
    sudo service apache2 restart&lt;br /&gt;
&lt;br /&gt;
With PHP 7&lt;br /&gt;
    sudo apt-get install libpcre3-dev libxml2-dev libcurl4-openssl-dev&lt;br /&gt;
    sudo apt-get install php7.0-dev&lt;br /&gt;
    sudo apt-get install php-pear&lt;br /&gt;
    sudo pecl install solr&lt;br /&gt;
    sudo sh -c &amp;quot;echo &#039;extension=solr.so&#039; &amp;gt; /etc/php/7.0/apache2/conf.d/solr.ini&amp;quot;&lt;br /&gt;
    sudo sh -c &amp;quot;echo &#039;extension=solr.so&#039; &amp;gt; /etc/php/7.0/cli/conf.d/solr.ini&amp;quot;&lt;br /&gt;
    sudo service apache2 restart&lt;br /&gt;
&lt;br /&gt;
===== Linux (Redhat/Centos 6 &amp;amp; 7) =====&lt;br /&gt;
&lt;br /&gt;
====== Using built in php5 packages ======&lt;br /&gt;
  yum install php-pecl-solr2&lt;br /&gt;
  service httpd restart&lt;br /&gt;
&lt;br /&gt;
====== Using 3rd party php7 packages (webtactic) ======&lt;br /&gt;
  yum install libxml2-devel pcre-devel libcurl-devel php70w-devel php70w-pear&lt;br /&gt;
  pecl install solr&lt;br /&gt;
  echo &amp;quot;extension=solr.so&amp;quot; &amp;gt; /etc/php.d/solr.ini&lt;br /&gt;
  service httpd restart&lt;br /&gt;
&lt;br /&gt;
===== OSX using macports =====&lt;br /&gt;
&lt;br /&gt;
    sudo port install apache-solr4&lt;br /&gt;
    sudo port install php54-solr&lt;br /&gt;
&lt;br /&gt;
===== OSX using homebrew =====&lt;br /&gt;
&lt;br /&gt;
    brew install homebrew/php/php56-solr&lt;br /&gt;
&lt;br /&gt;
===== Windows =====&lt;br /&gt;
&lt;br /&gt;
Install the pecl package as usual. (This has not yet been tested.)&lt;br /&gt;
&lt;br /&gt;
===== The Solr server =====&lt;br /&gt;
&lt;br /&gt;
Note that for medium/large sites you may need to increase maxBooleanClauses setting. In [https://tracker.moodle.org/browse/MDL-54992 MDL-54992] we are working on an alternative way to query the server. &lt;br /&gt;
 &lt;br /&gt;
The following example snippet (feel free to copy &amp;amp; paste into a .sh script with execution permissions) will download Solr 5.4.1 (replace it with latest 5.x) in the current directory, start the solr server and create an index in it named &#039;&#039;&#039;moodle&#039;&#039;&#039; to add moodle data to it. If wget gives an error, check  http://www-us.apache.org/dist/lucene/solr and update SOLRVERSION&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    set -e&lt;br /&gt;
    SOLRVERSION=5.5.5&lt;br /&gt;
    SOLRNAME=solr-$SOLRVERSION&lt;br /&gt;
    SOLRTAR=$SOLRNAME&#039;.tgz&#039;&lt;br /&gt;
    INDEXNAME=moodle&lt;br /&gt;
    if [ -d $SOLRNAME ]; then&lt;br /&gt;
        echo &amp;quot;Error: Directory $SOLRNAME already exists, remove it before starting the setup again.&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if [ ! -f $SOLRTAR ]; then&lt;br /&gt;
        wget http://www-us.apache.org/dist/lucene/solr/$SOLRVERSION/$SOLRTAR&lt;br /&gt;
    fi&lt;br /&gt;
    tar -xvzf $SOLRTAR&lt;br /&gt;
    cd $SOLRNAME&lt;br /&gt;
    bin/solr start&lt;br /&gt;
    bin/solr create -c $INDEXNAME&lt;br /&gt;
    # After setting it up and creating the index use:&lt;br /&gt;
    # - &amp;quot;/yourdirectory/solrdir/bin/solr start&amp;quot; from CLI to start the server&lt;br /&gt;
    # - &amp;quot;/yourdirectory/solrdir/bin/solr stop&amp;quot; from CLI to stop the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
======Solr 5/6 schema setup======&lt;br /&gt;
&lt;br /&gt;
Moodle will use Solr&#039;s managed schema interface to install the required fields. You will be directed on what to do from the Manage global search page.&lt;br /&gt;
&lt;br /&gt;
For very large or busy sites, it is recommended that you manually remove the &#039;&#039;&#039;_text_&#039;&#039;&#039; field, and associated copy directive from, the default Solr schema. This field is not used by Moodle, and will significantly slow indexing, and increase the size of the resulting Solr core.&lt;br /&gt;
&lt;br /&gt;
======Solr 4 schema setup======&lt;br /&gt;
&lt;br /&gt;
You cannot  use the schema setup script when using a Solr 4 server. If you really want to use the Solr 4x branch, here are the field types descriptions:&lt;br /&gt;
&lt;br /&gt;
Extracted from search/classes/document.php&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Field name&lt;br /&gt;
! Field type&lt;br /&gt;
! Stored&lt;br /&gt;
! Indexed&lt;br /&gt;
! Query field&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| org.apache.solr.schema.StrField&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| itemid&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| title&lt;br /&gt;
| org.apache.solr.schema.TextField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
|-&lt;br /&gt;
| content&lt;br /&gt;
| org.apache.solr.schema.TextField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
|-&lt;br /&gt;
| contextid&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| areaid&lt;br /&gt;
| org.apache.solr.schema.StrField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| type&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| courseid&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| owneruserid&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| modified&lt;br /&gt;
| org.apache.solr.schema.TrieDateField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| userid&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| description1&lt;br /&gt;
| org.apache.solr.schema.TextField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
|-&lt;br /&gt;
| description2&lt;br /&gt;
| org.apache.solr.schema.TextField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
|-&lt;br /&gt;
| solr_filegroupingid&lt;br /&gt;
| org.apache.solr.schema.StrField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| solr_fileid&lt;br /&gt;
| org.apache.solr.schema.StrField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| solr_filecontenthash&lt;br /&gt;
| org.apache.solr.schema.StrField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| solr_fileindexstatus&lt;br /&gt;
| org.apache.solr.schema.TrieIntField&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
| false&lt;br /&gt;
|-&lt;br /&gt;
| solr_filecontent&lt;br /&gt;
| org.apache.solr.schema.TextField&lt;br /&gt;
| false&lt;br /&gt;
| true&lt;br /&gt;
| true&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
======Memory and File indexing considerations======&lt;br /&gt;
&lt;br /&gt;
For large sites, and particularly if you are using the File indexing feature, it&#039;s a good idea to give Solr plenty of memory, eg aound 10-20GB. To start Solr with more than its default 512MB of RAM, use the &#039;&#039;-m&#039;&#039; option: &lt;br /&gt;
 solr start -m 12g&lt;br /&gt;
&lt;br /&gt;
See the documents for your version of Solr on how to increases memory when Solr is started automatically.&lt;br /&gt;
&lt;br /&gt;
======Too many boolean clauses error======&lt;br /&gt;
&lt;br /&gt;
Because of the way Moodle handles permissions for searches, if you have non-admin users with access to a large number of activities (&amp;gt;1000), they may an error similar to the following:&lt;br /&gt;
&lt;br /&gt;
    The query you provided could not be parsed by the search engine: org.apache.solr.search.SyntaxError: Cannot parse &lt;br /&gt;
    ...&lt;br /&gt;
    too many boolean clauses&lt;br /&gt;
&lt;br /&gt;
To correct this, you need to increase the &#039;&#039;maxBooleanClauses&#039;&#039; setting in your Solr core. The setting is located in &#039;&#039;corename/conf/solrconfig.xml&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This important note is included in the config file:&lt;br /&gt;
    ** WARNING **&lt;br /&gt;
    &lt;br /&gt;
    This option actually modifies a global Lucene property that&lt;br /&gt;
    will affect all SolrCores.  If multiple solrconfig.xml files&lt;br /&gt;
    disagree on this property, the value at any given moment will&lt;br /&gt;
    be based on the last SolrCore to be initialized.&lt;br /&gt;
&lt;br /&gt;
This means that for consistent behavior you should update this value for all cores in the Solr server.&lt;br /&gt;
&lt;br /&gt;
=====Commannd for installing Solr Server on Centos 7=====&lt;br /&gt;
First of all install java (openjdk)&lt;br /&gt;
 yum install java-1.8.0-openjdk&lt;br /&gt;
Add user for solr&lt;br /&gt;
 adduser solr&lt;br /&gt;
Download solr server, find latest here : http://lucene.apache.org/solr/mirrors-solr-latest-redir.html, from the list there download latest solr-[version].tgz&lt;br /&gt;
&lt;br /&gt;
Here is the list of needed commands (note that latest solr is suggested, change command to appropriate version) &lt;br /&gt;
 cd /opt&lt;br /&gt;
 wget http://www-eu.apache.org/dist/lucene/solr/6.6.0/solr-6.6.0.tgz&lt;br /&gt;
 tar zxvf solr-6.6.0.tgz&lt;br /&gt;
 cp solr-6.6.0/bin/install_solr_service.sh .&lt;br /&gt;
 rm -rf solr-6.6.0&lt;br /&gt;
 ./install_solr_service.sh solr-6.6.0.tgz&lt;br /&gt;
 chkconfig solr on&lt;br /&gt;
Create the index&lt;br /&gt;
 su - solr -c &amp;quot;/opt/solr/bin/solr create_core -c moodle&amp;quot;&lt;br /&gt;
Then go to your Moodle and set index name as created (moodle)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
Forum discussions:&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=334938 Global search doesn&#039;t index plugins?]&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=339819 Global Search on Moodle 3.1]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A quick introduction to Moodle global search, followed by a description of the new features and fixes in Moodle 3.4 (and some of those in Moodle 3.5).&lt;br /&gt;
*[https://www.slideshare.net/sammarshall_ou/moodle-global-search-nows-the-time-to-jump-in Presentation by Sam Marshall from the Open University]&lt;br /&gt;
&lt;br /&gt;
[[es:Búsqueda global]]&lt;br /&gt;
[[de:Globale Suche]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Badges_FAQ&amp;diff=127325</id>
		<title>Badges FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Badges_FAQ&amp;diff=127325"/>
		<updated>2017-04-03T16:56:43Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* How can teachers award site badges? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Badges}}&lt;br /&gt;
==How can teachers award site badges?==&lt;br /&gt;
&lt;br /&gt;
By default, teachers can only award course badges. Only users with capabilities to manage badges in the system are able to do this, so if you wish teachers to award site badges you need to create a new role 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; and click &#039;Add a new role&#039;&lt;br /&gt;
# Leave &#039;Use role or archetype&#039; as No role&#039; and click the continue button&lt;br /&gt;
# Give the role a name e.g. &amp;quot;Site badge awarder&amp;quot;&lt;br /&gt;
# Tick the &#039;&#039;&#039;System&#039;&#039;&#039; box to allow the role to be assigned in the System context&lt;br /&gt;
# Set the following capabilities to &amp;quot;allow&amp;quot;: moodle/badges:awardbadge, moodle/badges:viewbadges, moodle/badges:configurecriteria&lt;br /&gt;
# Click the button &#039;Create this role&amp;quot;.&lt;br /&gt;
# Assign the &amp;quot;Site badge awarder&amp;quot; role as a system role to the teachers you wish to award site badges.&lt;br /&gt;
&lt;br /&gt;
Teachers with the role of &amp;quot;Site badge awarder&amp;quot; will see a link in the Administration block &#039;&#039;Site administration &amp;gt; Badges &amp;gt; Manage badges&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Can more than one teacher in a course award the same  badge?==&lt;br /&gt;
&#039;&#039;(copied from MDL-39189&#039;&#039;) It&#039;s not the user who issues the badge, but a role. Users with multiple roles will have an option to use both of them to issue badges. If the badge is awarded twice by different roles, both roles are displayed and criteria (ALL/ANY) is given. In some cases it will be required for a badge to be awarded by several different roles. When there are, let&#039;s say, three teachers in the course and they go to award a badge as a teacher, each of them will see the list of users who already got the badge from a teacher, so they won&#039;t need to award the badge again.&lt;br /&gt;
==What&#039;s the difference between a backpack and a collection?==&lt;br /&gt;
When you upload a badge to the [http://backpack.openbadges.org/ Openbadges site] you are adding it to your backpack, which is the general area you put your badges in (like a backpack!. You then organise them into collections (like separate little bags in your backpack) and you choose which to display on your Moodle profile. So a badge may be in your backpack and not in a collection, but it must be in your backpack before it can be in a collection (note the &#039;public&#039; box must be ticked too). Collections allow you to control which badges you share with people.&lt;br /&gt;
{|&lt;br /&gt;
|[[File:mozillabackpack.png|thumb|A user&#039;s online backpack]]&lt;br /&gt;
|[[File:collections.png|thumb|Drag badges into a new collection to display on Moodle]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==What size is a badge?==&lt;br /&gt;
&lt;br /&gt;
A badge is displayed with dimensions 100 X 100 pixels. However, a larger image may be uploaded, which will then be cropped to be a square, and then resized.&lt;br /&gt;
&lt;br /&gt;
See also [https://moodle.org/mod/forum/discuss.php?d=230591 Badge image size] discussion.&lt;br /&gt;
&lt;br /&gt;
==Can I award a badge based on a specific grade?==&lt;br /&gt;
&lt;br /&gt;
There are two ways of awarding a badge based on a specific grade.&lt;br /&gt;
&lt;br /&gt;
Method 1:&lt;br /&gt;
&lt;br /&gt;
Set a passing grade for the quiz in the gradebook, as explained in section 1.3 of [[Activity completion settings]].&lt;br /&gt;
&lt;br /&gt;
Method 2:&lt;br /&gt;
&lt;br /&gt;
# Create a page resource and set the restrict access conditions so that it only appears if the user obtains a certain activity grade or course total&lt;br /&gt;
# Set the activity completion for the page as &amp;quot;view&amp;quot;&lt;br /&gt;
# Set the badge criteria such that the page has to be completed (i.e. viewed)&lt;br /&gt;
&lt;br /&gt;
==Do I have to use my Moodle email for my backpack?==&lt;br /&gt;
No, but you have to log in via your Persona account to authenticate via your backpack, in order to ensure you are only displaying badges belonging to you.&lt;br /&gt;
&lt;br /&gt;
==Which roles can see which badges?==&lt;br /&gt;
See this forum post on [https://moodle.org/mod/forum/discuss.php?d=234155&amp;amp;parent=1017187#p1017363 viewing badges]&lt;br /&gt;
&lt;br /&gt;
==Can I change a badge image once awarded?==&lt;br /&gt;
The short answer is &#039;no&#039;, but see this forum post on [https://moodle.org/mod/forum/discuss.php?d=228553 changing badge images] for more information.&lt;br /&gt;
&lt;br /&gt;
==Can I revoke a badge once it has been awarded?==&lt;br /&gt;
&lt;br /&gt;
Yes - see the section on revoking a badge in [[Using badges]].&lt;br /&gt;
&lt;br /&gt;
==How can I get badges with participants&#039; profiles like on Moodle.org?==&lt;br /&gt;
[[File:profilebadges.png|thumb|500px|center]]&lt;br /&gt;
&lt;br /&gt;
These are not badges. These are group avatars/pictures. When you create a group in your course - see the documentation on [[Groups]] - you can add a picture to represent that group. In places such as forums this picture is then displayed for each participant. If they are a member of several groups then several pictures will be displayed.&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://www.somerandomthoughts.com/blog/2013/05/06/open-badges-and-moodle/ Open Badges and Moodle] blog post from Gavin Henrick&lt;br /&gt;
* [http://badg.us/en-US/ badg.us] - a service for creating and issuing badges&lt;br /&gt;
* [https://p2pu.org/en/groups/how-do-i-make-a-badge/ P2PU Badge Maker] - a step by step guide on how to make a badge &lt;br /&gt;
* [https://www.openbadges.me/ OpenBadges.me] - An open-access image creator from MyKnowledgeMap to support all of your Open Badge building needs.&lt;br /&gt;
* [http://moodlebadges.com/ Badges For Your Moodle] - CC-licensed badges available for free download&lt;br /&gt;
&lt;br /&gt;
Moodle forum discussions:&lt;br /&gt;
* Moodle in English [https://moodle.org/mod/forum/view.php?id=8085 Badges forum]&lt;br /&gt;
* [https://moodle.org/mod/forum/discuss.php?d=252377 Badges Backup Requires &amp;quot;Include Enrolled Users&amp;quot;?]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Insignias FAQ]]&lt;br /&gt;
[[ja:バッジFAQ]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Import_glossary_entries&amp;diff=124695</id>
		<title>Import glossary entries</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Import_glossary_entries&amp;diff=124695"/>
		<updated>2016-08-06T14:38:50Z</updated>

		<summary type="html">&lt;p&gt;Jonb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Glossary}}Glossary entries can be exported and then imported into another glossary via an XML file.&lt;br /&gt;
&lt;br /&gt;
==Importing  glossary entries==&lt;br /&gt;
&lt;br /&gt;
*As an editing teacher, access your glossary&lt;br /&gt;
*Go to &#039;&#039;Administration &amp;gt; Glossary administration &amp;gt; Import entries&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:glossaryimport29.png]]&lt;br /&gt;
&lt;br /&gt;
*Click the &amp;quot;Choose a file&amp;quot; button and browse for the exported entries XML file on your computer&lt;br /&gt;
*Select the destination for the new entries: either the current glossary or a new one&lt;br /&gt;
*If you want to import category information, click the checkbox.&lt;br /&gt;
*Click the &amp;quot;Submit&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
[[File:xmlimportscreen.png]]&lt;br /&gt;
&lt;br /&gt;
You&#039;ll then see a report of the entries and categories added to the glossary. If you enabled duplicate entries when you created the glossary, the import process will add all of the new definitions. Otherwise, it will not allow you to import any duplicate entries.&lt;br /&gt;
&lt;br /&gt;
You will be listed as author of all the entries.&lt;br /&gt;
&lt;br /&gt;
If your exported glossary included embedded images and/or attached files, these will also be imported into the new glossary.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
Possible causes of problems importing entries:&lt;br /&gt;
* If there are mistakes in the XML file such as the &amp;lt;entries&amp;gt; tag being missing or the &amp;lt;info&amp;gt; tag being in the wrong place. May happen if you have constructed the XML file manually or with some sort of tool like mailmerge in Word and your template is wrong.&lt;br /&gt;
* If there are top bit set characters in the text of the entities like concepts, definitions or keywords. Replace things like &amp;amp; with &amp;amp;amp;amp;&lt;br /&gt;
* If there are tabs or spaces between entries. Not sure if spaces cause problems but best to remove any between the end of one tag and start of the next. e.g. Search and replace &amp;gt; &amp;lt; with &amp;gt;&amp;lt; via a text editor.&lt;br /&gt;
* In most cases the import is halted if any of these errors occur.&lt;br /&gt;
* Duplicates in the entries which clash with entries already when merging a glossary is usually not a problem.&lt;br /&gt;
* Warnings like &amp;lt;code&amp;gt;Warning: exec() has been disabled for security reasons in /moodle/lib/uploadlib.php on line 603&amp;lt;/code&amp;gt; may not be the problem when importing but may distract one from dealing with problems with the format of the XML file.&lt;br /&gt;
* HTML and XHTML tags written within CONCEPT or DEFINITION elements will fail on import, showing &amp;quot;Array&amp;quot; instead of the desired content. To remedy this, try writing the (X)HTML tags within &amp;lt;![CDATA[ ]]&amp;gt; markup.&lt;br /&gt;
* If the glossary entries contain images, image paths will need amending by doing a search and replace in the XML file in order for the images to be displayed when the file is imported.&lt;br /&gt;
&lt;br /&gt;
==Restoring a glossary activity backup==&lt;br /&gt;
&lt;br /&gt;
An alternative method of importing glossary entries is to restore a glossary [[Activity backup|activity backup]] containing enrolled users. This method includes categories, images and attachments within glossary entries. When the glossary is restored, the authors of the entries will be the same as in the original glossary. &lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* Glossary - Excel to XML converter [http://www.focusedonlearning.com/share/glossaryimport.html] &lt;br /&gt;
* [http://moodle.org/mod/glossary/view.php?id=851 Glossary of common terms] with entries download link for importing to other Moodle sites&lt;br /&gt;
* [[Import and export FAQ]]&lt;br /&gt;
* [[XML FAQ]]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=79120 Excel to Glossaries]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=142346 Backup a glossary]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] contains an explanation of how to manually create an XML file from an Excel spreadsheet&lt;br /&gt;
&lt;br /&gt;
[[de:Glossar erstellen#Glossareinträge_importieren]]&lt;br /&gt;
[[es:Importar entradas del glosario]]&lt;br /&gt;
[[fr:Importer/exporter un glossaire]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Import_glossary_entries&amp;diff=124694</id>
		<title>Import glossary entries</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Import_glossary_entries&amp;diff=124694"/>
		<updated>2016-08-06T14:38:05Z</updated>

		<summary type="html">&lt;p&gt;Jonb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Glossary}}Glossary entries can be exported and then imported into another glossary via an XML file.&lt;br /&gt;
&lt;br /&gt;
==Importing  glossary entries==&lt;br /&gt;
&lt;br /&gt;
*As an editing teacher, access your glossary&lt;br /&gt;
*Go to &#039;&#039;Administration &amp;gt; Glossary administration &amp;gt; Import entries&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:glossaryimport29.png]]&lt;br /&gt;
&lt;br /&gt;
*Click the &amp;quot;Choose a file&amp;quot; button and browse for the exported entries XML file on your computer&lt;br /&gt;
*Select the destination for the new entries: either the current glossary or a new one&lt;br /&gt;
*If you want to import category information, click the checkbox.&lt;br /&gt;
*Click the &amp;quot;Submit&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
[[File:xmlimportscreen.png]]&lt;br /&gt;
&lt;br /&gt;
You&#039;ll then see a report of the entries and categories added to the glossary. If you enabled duplicate entries when you created the glossary, the import process will add all of the new definitions. Otherwise, it will not allow you to import any duplicate entries.&lt;br /&gt;
&lt;br /&gt;
You will be listed as author of all the entries.&lt;br /&gt;
&lt;br /&gt;
If your exported glossary included embedded images and/or attached files, these will also be imported into the new glossary.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
Possible causes of problems importing entries:&lt;br /&gt;
* If there are mistakes in the XML file such as the &amp;lt;entries&amp;gt; tag being missing or the &amp;lt;info&amp;gt; tag being in the wrong place. May happen if you have constructed the XML file manually or with some sort of tool like mailmerge in Word and your template is wrong.&lt;br /&gt;
* If there are top bit set characters in the text of the entities like concepts, definitions or keywords. Replace things like &amp;amp; with &amp;amp;amp;amp;&lt;br /&gt;
* If there are tabs or spaces between entries. Not sure if spaces cause problems but best to remove any between the end of one tag and start of the next. e.g. Search and replace &amp;gt; &amp;lt; with &amp;gt;&amp;lt; via a text editor.&lt;br /&gt;
* In most cases the import is halted if any of these errors occur.&lt;br /&gt;
* Duplicates in the entries which clash with entries already when merging a glossary is usually not a problem.&lt;br /&gt;
* Warnings like &amp;lt;code&amp;gt;Warning: exec() has been disabled for security reasons in /moodle/lib/uploadlib.php on line 603&amp;lt;/code&amp;gt; may not be the problem when importing but may distract one from dealing with problems with the format of the XML file.&lt;br /&gt;
* HTML and XHTML tags written within CONCEPT or DEFINITION elements will fail on import, showing &amp;quot;Array&amp;quot; instead of the desired content. To remedy this, try writing the (X)HTML tags within &amp;lt;![CDATA[ ]]&amp;gt; markup.&lt;br /&gt;
* If the glossary entries contain images, image paths will need amending by doing a search and replace in the XML file in order for the images to be displayed when the file is imported.&lt;br /&gt;
&lt;br /&gt;
==Restoring a glossary activity backup==&lt;br /&gt;
&lt;br /&gt;
An alternative method of importing glossary entries is to restore a glossary [[Activity backup|activity backup]] containing enrolled users. This method includes categories, images and attachments within glossary entries. When the glossary is restored, the authors of the entries will be the same as in the original glossary. &lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.focusedonlearning.com/share/glossaryimport.html] Glossary - Excel to XML converter&lt;br /&gt;
* [http://moodle.org/mod/glossary/view.php?id=851 Glossary of common terms] with entries download link for importing to other Moodle sites&lt;br /&gt;
* [[Import and export FAQ]]&lt;br /&gt;
* [[XML FAQ]]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=79120 Excel to Glossaries]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=142346 Backup a glossary]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=123277 Importing into Moodle] contains an explanation of how to manually create an XML file from an Excel spreadsheet&lt;br /&gt;
&lt;br /&gt;
[[de:Glossar erstellen#Glossareinträge_importieren]]&lt;br /&gt;
[[es:Importar entradas del glosario]]&lt;br /&gt;
[[fr:Importer/exporter un glossaire]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Publish_as_LTI_tool&amp;diff=124677</id>
		<title>Publish as LTI tool</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Publish_as_LTI_tool&amp;diff=124677"/>
		<updated>2016-08-05T06:08:39Z</updated>

		<summary type="html">&lt;p&gt;Jonb: Added instructions for adding activity to the LTI consumer site&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Enrolment}}{{New features}}The &#039;Publish as LTI tool&#039; enrolment plugin, together with the LTI authentication plugin, allows remote users on a different site (known as an LTI consumer)  to access selected courses and activities. In other words, Moodle functions as an LTI tool provider.  Grades are sent back to the remote system. See the screencast [https://www.youtube.com/watch?v=cMQiKjXdm3A Publish as LTI tool] for a demonstration.&lt;br /&gt;
&lt;br /&gt;
==Enabling &#039;Publish as LTI tool&#039; at site level==&lt;br /&gt;
&lt;br /&gt;
An administrator can enable the &#039;Publish as LTI tool&#039; for use across the site:&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Authentication &amp;gt; Manage authentication&#039;&#039; and enable LTI&lt;br /&gt;
# Go to &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Enrolments &amp;gt; Manage enrol plugins&#039;&#039; and enable &#039;Publish as LTI tool&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended that the site administration setting &#039;Allow frame embedding&#039; is enabled so that tools are displayed within a frame rather than in a new window.&lt;br /&gt;
&lt;br /&gt;
==Sharing access to a course or activity==&lt;br /&gt;
&lt;br /&gt;
# Go to the course and in &#039;&#039;Course administration &amp;gt; Users &amp;gt; Enrolment methods&#039;&#039; add &#039;Publish as LTI tool&#039; as an enrolment method&lt;br /&gt;
# In &#039;Tool to be published&#039; select the course or activity to be shared&lt;br /&gt;
# Click the &#039;Add method&#039; button&lt;br /&gt;
# Go to &#039;&#039;Course administration &amp;gt; Published as LTI tools&#039;&#039; and make note of the URL and secret for the LTI consumer site.&lt;br /&gt;
# You will also need to give the LTI consumer site a consumer key - this can be anything you want.&lt;br /&gt;
&lt;br /&gt;
The LTI consumer can be another Moodle site or any other LTI-consumer-compliant LMS, such as Sakai.&lt;br /&gt;
&lt;br /&gt;
==On the LTI consumer site (See MDL-53977)==&lt;br /&gt;
&lt;br /&gt;
# Visit a course.&lt;br /&gt;
# Add a LTI activity and use the URL and secret from the LTI provider site and enter any consumer key you want.&lt;br /&gt;
# Log in as a student.&lt;br /&gt;
# Visit the course and click on the LTI activity.&lt;br /&gt;
# Check the activity displays as expected.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[LTI and Moodle]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramienta publicar como LTI]]&lt;br /&gt;
[[de:Als LTI-Tool bereitstellen]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Forum_FAQ&amp;diff=121562</id>
		<title>Forum FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Forum_FAQ&amp;diff=121562"/>
		<updated>2015-11-23T21:50:30Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* Can I set up forum moderation or an approval process before a post appears? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Forum}}&lt;br /&gt;
&lt;br /&gt;
==How can I easily see which posts I have read and not read?==&lt;br /&gt;
#Go to the user menu top right and select &#039;Preferences&#039;.&lt;br /&gt;
#Click &#039;Forum preferences&#039; and for &#039;Forum tracking&#039; select: &#039;&#039;Yes; highlight new posts for me&#039;&#039;&lt;br /&gt;
#Unread posts will now display on your [[Dashboard]] and in a forum itself you will be see which posts are read and unread.&lt;br /&gt;
&lt;br /&gt;
[[File:forumtracking2.png]]&lt;br /&gt;
&lt;br /&gt;
==Why are students unable to post in the forum?==&lt;br /&gt;
&lt;br /&gt;
The most likely reason is that the forum is a [[News forum]] i.e. a special forum for general announcements which is automatically created for each course, and which by default only teachers and administrators can post in.&lt;br /&gt;
&lt;br /&gt;
To create a standard forum in which students can post, turn editing on for the course, click the &#039;Add an activity or resource&#039; link and then choose Forum.&lt;br /&gt;
&lt;br /&gt;
Students may also be unable to post to a forum where a [[Forum_settings#Common_module_settings|Group Mode]] other than &#039;No Groups&#039; has been used but the student is not a member of any group in the course.  They will see the message &amp;quot;Adding discussions to this forum requires group membership&amp;quot;.  In this case, either add the student to a [[Groups|group]] or change the [[Forum_settings#Common_module_settings|Group Mode]] to &#039;No Groups&#039;.&lt;br /&gt;
&lt;br /&gt;
==How do I enable students to rate forum posts?==&lt;br /&gt;
&lt;br /&gt;
In &#039;&#039;Administration &amp;gt; Forum administration &amp;gt; Permissions&#039;&#039; click the + symbol opposite the capability to rate posts and allow the role of student.&lt;br /&gt;
&lt;br /&gt;
===How can I have a &#039;Like&#039; button for my forum discussions?===&lt;br /&gt;
&lt;br /&gt;
*From &#039;&#039;Course administration&amp;gt;Grades&amp;gt;Scales&#039;&#039; add a new scale with just one item. This could be &#039;Like&#039; or it could be &#039;Useful&#039; for example.&lt;br /&gt;
*Enable ratings in your forum and if you want students to &#039;like&#039; the posts, in &#039;&#039;Administration &amp;gt; Forum administration &amp;gt; Permissions&#039;&#039; click the + symbol opposite the capability to rate posts and allow the role of student.&lt;br /&gt;
&lt;br /&gt;
[[File:forumlike.png|thumb|center|500px]]&lt;br /&gt;
&lt;br /&gt;
==Why can I not get ratings to work on my forums?==&lt;br /&gt;
Assuming you have followed the instructions above correctly and still cannot see ratings, then check you have json support enabled on your server. You can see this in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Server&amp;gt;PHP info.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Json.png]]&lt;br /&gt;
&lt;br /&gt;
See also this discussion:[ http://moodle.org/mod/forum/discuss.php?d=170563]&lt;br /&gt;
&lt;br /&gt;
==How can I create a teacher-only forum?==&lt;br /&gt;
&lt;br /&gt;
A teacher/tutor-only forum may be added to a course by creating a hidden forum. Teachers are able to view hidden course activities whereas students cannot.&lt;br /&gt;
&lt;br /&gt;
==My users can&#039;t add attachments to my forum, either with drag and drop or with the file picker.==&lt;br /&gt;
&lt;br /&gt;
Check that in the forum settings that you have changed the maximum number of attachments allowed to a number greater than 0 ;)&lt;br /&gt;
&lt;br /&gt;
==How can I remove the news forum from a course?==&lt;br /&gt;
&lt;br /&gt;
#Delete the news forum from the course homepage.&lt;br /&gt;
#In &#039;&#039;Administration &amp;gt; Course administration &amp;gt; Edit settings&#039;&#039; set &amp;quot;News items to show&amp;quot; to 0.&lt;br /&gt;
#Delete the Latest news block.&lt;br /&gt;
&lt;br /&gt;
==How can I remove test messages from a new forum?==&lt;br /&gt;
There are several options ([https://moodle.org/mod/forum/discuss.php?d=95470#p421687 Here is a nice graphic]).  Remember you can &lt;br /&gt;
*Move the discussion/thread to another forum&lt;br /&gt;
*Edit the post with your moderator powers&lt;br /&gt;
*Delete the post with your moderator powers&lt;br /&gt;
*Split the thread at a particular post and move it to another thread &lt;br /&gt;
*Split&amp;gt;move&amp;gt;delete your test messages.&lt;br /&gt;
&lt;br /&gt;
==How can I set a display period for news forum announcements?==&lt;br /&gt;
&lt;br /&gt;
Timed posts are disabled by default, but the feature can be enabled by checking the &#039;&#039;forum_enabletimedposts&#039;&#039; checkbox in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Forum&#039;&#039;. Timed posts can then be created by users with the [[Capabilities/mod/forum:viewhiddentimedposts|capability to view hidden timed posts]] (normally managers and teachers). &#039;&#039;&#039;New in 3.0&#039;&#039;&#039;: the display period includes a time as well as date.&lt;br /&gt;
&lt;br /&gt;
==Why are email copies of forum posts not being sent?==&lt;br /&gt;
&lt;br /&gt;
The most likely reason is that the cron is not set up. Please refer to the [[Cron|cron instructions]].&lt;br /&gt;
&lt;br /&gt;
Tips:&lt;br /&gt;
* Try the default settings in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Message outputs &amp;gt; Email&#039;&#039;. This generally works.&lt;br /&gt;
*Make sure that &#039;Allow user to select character set&#039; in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Message outputs &amp;gt; Email&#039;&#039; is set to No.&lt;br /&gt;
&lt;br /&gt;
==How do I enable guests to post in a forum?==&lt;br /&gt;
&lt;br /&gt;
It&#039;s not possible to enable guests to post in a forum, though there is a workaround. Please see [[Forum poster role]] for details.&lt;br /&gt;
&lt;br /&gt;
==How can I close/archive a forum?==&lt;br /&gt;
*You might want to do this if, for example, you want to put an end to a student discussion topic but still want them to be able to see posts which had been made without being able to reply any more.&lt;br /&gt;
&lt;br /&gt;
*In &#039;&#039;Administration &amp;gt; Forum administration &amp;gt; Permissions&#039;&#039; click the Prevent icon (X) for the student role for the capabilites &#039;Start new discussions&#039; and &#039;Reply to posts&#039;.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[File:forum-permissions-page1.gif|thumb|The screen and relevant capabilities. (Click to enlarge]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you are a teacher in a course, you should be able to do this by default, but if you don&#039;t see these options, ask your admin to do the following:&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 teacher role and change the capability moodle/role:safeoverride to allow&lt;br /&gt;
#Click the button &amp;quot;Save changes&amp;quot;&lt;br /&gt;
#Click the tab &amp;quot;Allow role overrides&amp;quot; (in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Users &amp;gt; Permissions &amp;gt; Define roles&#039;&#039;)&lt;br /&gt;
#Check the appropriate box(s) in the teacher row to set which role(s) they can override. Most likely it will just be the student role, so check the box where the teacher row intersects with the student column&lt;br /&gt;
#Click the button &amp;quot;Save changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To make a single thread read only, you need a forum which has already been closed/archived. Move the the thread to this read-only forum.&lt;br /&gt;
&lt;br /&gt;
==How can I quarantine a forum post?==&lt;br /&gt;
If a student makes an inappropriate post, rather than deleting it, you can &amp;quot;quarantine&amp;quot; it by sending it to a hidden forum and then alerting your superior and the child&#039;s guardians. To do this you first need to create a forum &amp;quot;Hidden forum for Offensive Posts&amp;quot; (for example) and hide it with its eye.&lt;br /&gt;
**Find the offensive post and click &#039;split&#039; (between &#039;edit&#039; and &#039;delete&#039;) &lt;br /&gt;
**This will take you to a second page where you will be asked to verify the split. Confirm it by pressing the &#039;split&#039; button near the top of the page. &lt;br /&gt;
**The post(s) will now be split. You should see the post/discussion individually on a separate page. In the right-hand corner will be a dropdown bar and a button that says &#039;move.&#039; &lt;br /&gt;
**Choose &#039;Hidden Forum for Offensive Posts&#039; in the dropdown and click &#039;move.&#039; &lt;br /&gt;
&lt;br /&gt;
Make sure you inform the child why their post has been quarantined, as well as your superior and the child&#039;s guardians.&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
(with thanks to Ben Reynolds)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Can I set up forum moderation or an approval process before a post appears?==&lt;br /&gt;
Not in core Moodle.  &lt;br /&gt;
*Check out the tracker item https://tracker.moodle.org/browse/MDL-35378&lt;br /&gt;
*And https://tracker.moodle.org/browse/CONTRIB/component/10440&lt;br /&gt;
*And https://tracker.moodle.org/browse/CONTRIB-2260&lt;br /&gt;
*If anyone discovers a plugin to allow this, please post details&lt;br /&gt;
&lt;br /&gt;
==Can I subscribe to just one discussion in a forum?==&lt;br /&gt;
&lt;br /&gt;
Yes. Please see [[Forum settings]]&lt;br /&gt;
&lt;br /&gt;
==How can I receive forum emails in digest form?==&lt;br /&gt;
&lt;br /&gt;
A daily digest of either complete forum posts or with subjects only can be enabled in &#039;&#039;Settings &amp;gt; My profile settings &amp;gt; Edit profile&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==How can I allow students to add new questions in a Q &amp;amp; A forum type?==&lt;br /&gt;
&lt;br /&gt;
Only teachers and managers by default see the &amp;quot;add  a new question&amp;quot; button. If you wish students to be able to add new questions, they need to be given the capability [[Capabilities/mod/forum:addquestion|mod/forum:addquestion]]&lt;br /&gt;
&lt;br /&gt;
==How can I make sure my students are notified of forum posts?==&lt;br /&gt;
&lt;br /&gt;
For students to be notified of forum posts, they need to be &#039;&#039;subscribed&#039;&#039; to the forum. A teacher can choose to force subscription on a particular forum either initially (auto subscription) or permanently (forced subscription) using the subscription mode setting. See the section on subscription mode in [[Forum settings]] for further details.&lt;br /&gt;
&lt;br /&gt;
A teacher can also subscribe selected students to the forum via &#039;&#039;Settings &amp;gt; Forum administration &amp;gt; Show/edit current subscribers&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==How can I change the &#039;From&#039; address for forum notifications sent via email?==&lt;br /&gt;
&lt;br /&gt;
By default, a user&#039;s email is set as the &#039;From&#039; address for forum notifications (unless the user has hidden their email address in their profile) so that recipients can choose to reply personally rather than via the forum. To set noreply@yourmoodlesite.org as &#039;From&#039; address for all forum notification emails, untick the forum_replytouser checkbox in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Activity modules &amp;gt; Forum&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==How can I remove the words &amp;quot;Site news&amp;quot;?==&lt;br /&gt;
You can change the words to something else from &#039;&#039;Administration&amp;gt;Forum administration&amp;gt;Edit settings&#039;&#039; but to have no words at all - and without touching the code - do the following:&lt;br /&gt;
*As admin go to &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Appearance&amp;gt;HTML settings&#039;&#039; and uncheck/untick &#039;&#039;Remove HTML tags from all activity names&#039;&#039;&lt;br /&gt;
*Go to &#039;&#039;Administration&amp;gt;Forum administration&amp;lt;Edit settings&#039;&#039; (for the site news) and type:&lt;br /&gt;
[[File:sitenewsname.png]]&lt;br /&gt;
&lt;br /&gt;
*Save. What this does is code a space into the name field so Moodle thinks there is something in the required field -  but that something is a space,  not words.&lt;br /&gt;
==Can I have different email digests for different forums?==&lt;br /&gt;
&lt;br /&gt;
This is possible, although there is not currently a setting for it. In the course you wish to manage the daily digests, type into your browser &#039;&#039;http://YOURMOODLESITE/mod/forum/index.php?id=2&#039;&#039;  (where &#039;&#039;YOURMOODLESITE&#039;&#039; is your Moodle and  the &#039;&#039;=number&#039;&#039; is the course ID) This will bring you to the index page of all your subscribed forums and you can specify how you want to receive notifications from there.&lt;br /&gt;
{|&lt;br /&gt;
|[[File:26forumdigest.png|thumb|Per forum digest settings]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==How can a teacher see all of a student&#039;s forum posts in a course?==&lt;br /&gt;
If a teacher clicks on the profile of a particular student, for example via the Participants link, they can then access a link &#039;&#039;Forum posts&#039;&#039; from the Navigation block. Expanding this link will offer the option either to see all posts or any discussions started by that student.&lt;br /&gt;
&lt;br /&gt;
[[File:studentforumposts.png]]&lt;br /&gt;
&lt;br /&gt;
==How can a user see all their forum posts on Moodle?==&lt;br /&gt;
A user can view all their forum posts by going to the Navigation block and clicking &#039;&#039;My profile&amp;gt;Forum posts.&#039;&#039; Expanding this link will offer the option either to see all posts or any discussions started.&lt;br /&gt;
&lt;br /&gt;
[[File:seeallforumposts.png]]&lt;br /&gt;
&lt;br /&gt;
==How can I remove a rating from a forum post?==&lt;br /&gt;
It is not currently possible to remove a rating which might have been made by mistake or by malice. However, if a certain poster gives inappropriate ratings on a regular basis, it is possible to create a custom system role preventing them from rating posts and applying this role to the specified posters.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?f=116 Forum module forum]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=148055 Ability to post anonymously]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=178331 How to resend forum posts] &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=196698 Discussion Count]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[de:Forum FAQ]]&lt;br /&gt;
[[fr:FAQ sur le forum]]&lt;br /&gt;
[[es:Foro FAQ]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Development:Wikindx&amp;diff=22565</id>
		<title>Development:Wikindx</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Development:Wikindx&amp;diff=22565"/>
		<updated>2007-04-20T13:30:35Z</updated>

		<summary type="html">&lt;p&gt;Jonb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Notes on the possible integration of [http://wikindx.sourceforge.net/index2.html WIKINDX] with Moodle.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[http://wikindx.sourceforge.net/index2.html WIKINDX]is a free BiblioGraphic and quotations/notes management and article authoring system designed either for single use (on a variety of operating sytems) or multi-user collaborative use across the internet.&lt;br /&gt;
&lt;br /&gt;
Please also see the Moodle Discussion at http://moodle.org/mod/forum/discuss.php?d=23022&lt;br /&gt;
&lt;br /&gt;
==Wikindx filter for Moodle==&lt;br /&gt;
&lt;br /&gt;
Dan Stowell has created a &amp;quot;Wikindx filter&amp;quot; for Moodle which allows you to cross-link to a wikindx entry by typing (for example) wikindx:646. The filter is in contrib CVS, named &amp;quot;filter_wikindx&amp;quot; or can be downloaded at http://download.moodle.org/download.php/modules/filter_wikindx.zip&lt;br /&gt;
&lt;br /&gt;
From MG:&lt;br /&gt;
Some design considerations for a moodle filter that enables a wikindx to be searched, a reference to be selected, page number(s) to be added and the in-text or footnote citation and full reference to be returned formatted to the user&#039;s requirements.&lt;br /&gt;
&lt;br /&gt;
NB  With everything else I have going on (PhD, Wikindx, life) I have no intention of setting up Moodle for testing this (no prior experience in Moodle let alone moodle filters) but, if someone is willing to a) write the moodle filter code and b) be prepared to run beta wikindx code to test the interface, then I would be more than happy to do whatever needs to be done in the wikindx code.  The wikindx code will be easy:  I can&#039;t speak for the moodle code (but, see below, imagine that quite a bit of it could be pulled from wikindx).  I also have no idea if moodle filters alone can accomplish what I&#039;ve suggested below or if the code needs greater integration in the moodle core code.&lt;br /&gt;
&lt;br /&gt;
1/ The Moodle filter needs to provide 3 basic functions:&lt;br /&gt;
:a) an icon in the HTML text editor that opens a pop-up,&lt;br /&gt;
:b) the pop up should provide a simple search/select interface to wikindx resources,&lt;br /&gt;
:c) once the selected wikindx resource has been inserted into the text, the moodle HTML editor text is saved and the filter sends the reference (and style and page number(s)) to wikindx for formatting and insertion into the moodle text.&lt;br /&gt;
&lt;br /&gt;
2/ Because what is supplied to the pop-up (see below) requires a connection to wikindx, the filter should have a config file for the wikindx database connection details.  wikindx 3.4 now allows admins to lock out read-only users so this config file may also have the option to add a wikindx username::password pair (I would not favour this though).&lt;br /&gt;
&lt;br /&gt;
3/ The search interface could be similar to the wikindx Quick Search interface less the ordering options (to save on space). [WIKINDX code (filling the pop-up)]&lt;br /&gt;
&lt;br /&gt;
4/ The results of a search should be displayed with multiple resources next to radio buttons, a select box to choose the formatting style and text boxes to enter page number(s).  Each radio button has a value that is the unique resource ID in the wikindx.  [WIKINDX code]&lt;br /&gt;
&lt;br /&gt;
5/ Once the appropriate resource has been selected and other details added, clicking on a &#039;process&#039; button will add the appropriate filter mark-up which may be something like:&lt;br /&gt;
:wikindx:34:12[APA]&lt;br /&gt;
:wikindx:56:34-35[CHICAGO]&lt;br /&gt;
&lt;br /&gt;
where the first number is the wikindx resource ID, the second number(s) is the page and [...] is the bibliographic style chosen. [WIKINDX code]&lt;br /&gt;
&lt;br /&gt;
6/ On saving the moodle text, that markup is extracted and sent to the wikindx server (something like http://....index.php&amp;amp;externalResourceGrab&amp;amp;id=56&amp;amp;pages=34-35&amp;amp;style=CHICAGO) which then formats the requested resource and provides a string in return which would consist of a serialized/base64_encoded PHP multi-dimensional array which, when unpacked, would have something like the following (if APA for example):&lt;br /&gt;
:array(&lt;br /&gt;
::[style] = array(&lt;br /&gt;
:::[type] =&amp;gt; &amp;quot;inText&amp;quot;&lt;br /&gt;
::),&lt;br /&gt;
::[citation] = array(&lt;br /&gt;
:::[56] =&amp;gt; &amp;quot;(Martin et al. 1978, pp.34--35)&amp;quot;&lt;br /&gt;
::),&lt;br /&gt;
::[reference] = array(&lt;br /&gt;
:::[0] =&amp;gt; &amp;quot;Martin, R. L., Thrift, N. J., &amp;amp; Bennett, R. J. (Eds.). (1978). &#039;&#039;Towards the dynamic analysis of spatial systems&#039;&#039;. London: Pion.&amp;quot;&lt;br /&gt;
::)&lt;br /&gt;
:);&lt;br /&gt;
&lt;br /&gt;
for a footnote-type citation (e.g. Chicago), it might be:&lt;br /&gt;
:array(&lt;br /&gt;
::[style] = array(&lt;br /&gt;
:::[type] =&amp;gt; &amp;quot;footnote&amp;quot;,&lt;br /&gt;
:::[textMarkup] =&amp;gt; &amp;quot;superscript&amp;quot;,&lt;br /&gt;
:::[textStart] =&amp;gt; &amp;quot;[&amp;quot;,&lt;br /&gt;
:::[textEnd] =&amp;gt; &amp;quot;] &amp;quot;,&lt;br /&gt;
:::[footnoteMarkup] =&amp;gt; &amp;quot;normal&amp;quot;,&lt;br /&gt;
:::[footnoteStart] =&amp;gt; &amp;quot;&amp;quot;,&lt;br /&gt;
:::[footnoteEnd] =&amp;gt; &amp;quot;. &amp;quot;&lt;br /&gt;
::),&lt;br /&gt;
::[citation] = array(&lt;br /&gt;
:::[56] =&amp;gt; &amp;quot;&#039;&#039;Towards the Dynamic Analysis of Spatial Systems&#039;&#039;. 1978. Edited by R. L. Martin, N. J. Thrift and R. J. Bennett. London: Pion.  pp.34--35&amp;quot;&lt;br /&gt;
::),&lt;br /&gt;
::[reference] = array(&lt;br /&gt;
:::[0] =&amp;gt; &amp;quot;&#039;&#039;Towards the Dynamic Analysis of Spatial Systems&#039;&#039;. 1978. Edited by R. L. Martin, N. J. Thrift and R. J. Bennett. London: Pion.&amp;quot;&lt;br /&gt;
::)&lt;br /&gt;
:);&lt;br /&gt;
&lt;br /&gt;
:NB 1/ The italics (and any underline, bold etc.) would be returned as HTML markup. [WIKINDX code]&lt;br /&gt;
:NB 2/ For footnote-type styles, [style][textMarkup] indicates whether the in-text reference ([1] for example should be &#039;superscript&#039;, &#039;subscript&#039; or &#039;normal&#039; (default)) -- for the footnote, such formatting could be HTML-encoded in [citation][56].  Ditto for the footnote.&lt;br /&gt;
:NB 3/ [style][textStart] and [style][textEnd] are characters that are printed before and after the in-text reference number.  Ditto for the footnote.  They may be blank.&lt;br /&gt;
&lt;br /&gt;
7/ Moodle would take this array and, if [style][type] == &#039;footnote&#039;, insert something like &#039;[1]&#039; in the body of the text, [citation] as a footnote and, if required, append [reference] to a bibliography (perhaps this is just future-proofing in this case).  However, if [style][type] == &#039;inText&#039;, [citation] would be inserted in the body of the text and [reference] appended.&lt;br /&gt;
&lt;br /&gt;
8/ In the case of multiple citations, wikindx should be able to provide the second element of the array correctly ordered as per the style requirements.  So you might have something like:&lt;br /&gt;
&lt;br /&gt;
:array(&lt;br /&gt;
::[style] = array(&lt;br /&gt;
:::[type] =&amp;gt; &amp;quot;inText&amp;quot;&lt;br /&gt;
::),&lt;br /&gt;
::[citation] = array(&lt;br /&gt;
:::[56] =&amp;gt; &amp;quot;(Martin et al. 1978, pp.34--35)&amp;quot;,&lt;br /&gt;
:::[34] =&amp;gt; &amp;quot;(Aarseth et al. 2003)&amp;quot;&lt;br /&gt;
::),&lt;br /&gt;
::[reference] = array(&lt;br /&gt;
:::[0] =&amp;gt; &amp;quot;Aarseth, E., Smedstad, S. M., &amp;amp; Sunnanå, L. (2003, November 4—6). &#039;&#039;A multi-dimensional typology of games&#039;&#039;. Paper presented at Level Up, Utrecht Universiteit.&amp;quot;,&lt;br /&gt;
:::[1] =&amp;gt; &amp;quot;Martin, R. L., Thrift, N. J., &amp;amp; Bennett, R. J. (Eds.). (1978). &#039;&#039;Towards the dynamic analysis of spatial systems&#039;&#039;. London: Pion.&amp;quot;&lt;br /&gt;
::)&lt;br /&gt;
:);&lt;br /&gt;
&lt;br /&gt;
In this way separate orders are maintained for the citation and the appended bibliography. Additionally, having [citation][56] and [citation][34] allows for a quick search and replace, once the array has been returned, on the moodle text using something like &amp;quot;/\Wwikindx:$citationIndex.*\s/Ui&amp;quot;&lt;br /&gt;
[WIKINDX code]&lt;br /&gt;
&lt;br /&gt;
Perhaps the above is not do-able as a simple moodle filter?&lt;br /&gt;
&lt;br /&gt;
It should be noted that the footnote type display of citations above is a simplified version of what the full WIKINDX/OSBib code offers where, in addition to deciding on endnote/footnote types, there is also the possibility for in-text footnote references to be repeated/reused if they refer to the same reference, for in-text citations to be manipulated or even dropped entirely on a whole set of conditions (title/author name in same sentence, that reference already referred to in the text body etc. etc. etc.) just to name a few of the extra processing on offer. All of this is, of course, in the case of multiple citations within the same body of text.  To get this functionality, the whole body of text would need to be sent to wikindx for processing -- this may be a step too far in this case.&lt;br /&gt;
&lt;br /&gt;
::Perhaps sending the complete body of text would be easiest.  I can simply set the wikindx code to ignore markup outside the wikindx::xxxx tag. --[[User:Mark Grimshaw|Mark Grimshaw]] 13:31, 3 September 2006 (CDT)&lt;br /&gt;
&lt;br /&gt;
==Outline thoughts on integration...==&lt;br /&gt;
&lt;br /&gt;
1. Do we need to allowing a user already logged into a Moodle site to be seamlessly logged in to a wikindx? Or maybe just use the same login details between the two (like the way that Moodle.org and MoodleDocs works).  If necessary, something could be added to wikindx to enable this. In most cases though, with the right config settings, wikindx will allow any read only request without requiring login.&lt;br /&gt;
&lt;br /&gt;
2. Another issue is how to integrate the paper writing function of Wikindx into Moodle. What about use of the HTML editor? Could it be integrated some way with the Netpublish module? Imagine students or professors being able to use it to write academic papers and then publish those on the Moodle site.  Currently wikindx publishes papers solely to RTF.  It should be simple to publish to HTML since that&#039;s what the raw document is anyway (a matter of adding HTML header/footer, formatting citations and appending bibliographies -- most of this code is already in wikindx but not (yet) made available to the word processor).  Compared to other HTML editors, the only additional options wikindx offers in its version are buttons to import citations, metadata and insert footnotes.  All the rest (barring stats, timestamps, save etc.) are font/text formatting.&lt;br /&gt;
&lt;br /&gt;
3. For the filter above, how do you decide what bibliographic style to present in (APA, Chicago, IEEE etc.)?  Presumably, this is something that could be set in the filter config file.  (Although I haven&#039;t seen the filter in operation, I&#039;m assuming it picks up a properly formatted reference for insert.  Either short (Grimshaw, 2006) or long (Grimshaw, Mark N. 2006, WIKINDX [OSS].) for example. Is the only method of citation available parenthetical? Is it possible to use endnotes (or footnotes) as well?  Yes, endnote/footnote styles are available as well.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from DS: No, at present the Wikindx filter simply displays the text &amp;quot;wikindx:646&amp;quot; (for example). It&#039;s a very simple start and I hope that people with more knowledge of Wikindx will be able to modify it to extract the properly-formatted reference direct from Wikindx. If wikindx had a system whereby a certain URL call would supply the reference text in whatever style was configured for wikindx, this would be a good way to display the citation nicely within Moodle. Does such a call exist? I don&#039;t think so. Something like mywikindx.com/index.php?&#039;&#039;&#039;action=resourceGrabCitation&#039;&#039;&#039;&amp;amp;id=501 would be required.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from JB: As the wikindx admin can set the default bibliographic style in the config, the filter will just present that style. The filter is simple but oh so useful! So when I type &#039;&#039;&#039;wikindx:1&#039;&#039;&#039; into my moodle installation, it creates an automatic link to http://www.baillie.org.uk/wikindx//index.php?action=resourceView&amp;amp;id=1&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from MG: action=resourceGrabCitation can be added and the default citation formatting applied. A possible gotcha in that there may be a problem with footnote/endnote style citation is that not only would you need the footnote marker (e.g. [1]) but you would also need the full reference to be appended to the text as a footnote (I&#039;m assuming this is required rather than just using [1] as a hyperlink to the wikindx resource -- presumably you would want to use the same strict referencing that students are required to use).  Hence, in this case, the returned values would consist of two values -- one the citation to be hyperlinked and the other the full reference to be appended.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from MG: In wikindx, inserting a citation into metadata or the word processor involves clicking on an icon which opens a popup.  In this, there is a select box listing short entries of all available resources and some text fields for users to enter cited page numbers.  Perhaps something similar could be used in the moodle wikindx filter to avoid the hassle of having to look up the wikindx resource id before entering it into moodle.  This pop-up could also list the available citation/bibliographic styles on the wikindx allowing the user to select the style with which the citation should be formatted prior to insertion into moodle.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
4. Mark, your remarks in 2 have gotten me thinking. Although not everyone likes the Moodle HTML area editor that much, it still is the standard way of creating text in Moodle and perhaps a way of integrating Wikindx would be to add buttons for Wikindx to it, just like the kind described above in Wikindx&#039;s native editor. I needed to integrate a hieroglyph editor into my site and Janne Mikkonen helped me to add it through a button in the html editor that pops up a window, in which the student type the hieroglyphs they need, and then click a button to have them inserted back into the editor-similar to the way the insert image popup works. I would imagine something similar could be done with Wikindx. The advantage of this is that it would make Wikindx accessible anywhere within Moodle, rather than just as a separate module. You might also want a standalone module option whereby students could collaborate on creating bibliographies together.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from MG: Adding the appropriate buttons would be my suggestion.  In wikindx, citations are added by the popup automatically adding something like&#039;&#039;&lt;br /&gt;
:&#039;&#039;[cite]146:22-23[/cite]&#039;&#039;&lt;br /&gt;
:&#039;&#039;where 146 is the resource ID in the database and 22-23 are the page nos. This can be added via a cite button or will be appended to an inserted quotation/paraphrase via the wikindx &#039;insert metadata&#039; button.  Footnotes (i.e. parenthetical thoughts as opposed to citation footnotes - WIKINDX does handle those footnotes/endnotes as well) are inserted via a button which encloses the inserted footnote in:&#039;&#039;&lt;br /&gt;
:&#039;&#039;[footnote]....[/footnote]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Exporting to RTF, the cite tags are substituted with the formatted citation marker (in-text or footnote/endnote), bibliographic information is extracted and appended to a bibliography and footnote tags are converted to RTF footnotes.  Of course, all HTML code (font/text formatting, tables, lists, images etc.) are converted to their appropriate RTF code too.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
5. Re the citation/bibliographic formatting, the PHP code for this has been extracted from wikindx and made available to other OSS apps at http://bibliophile.sourceforge.net (I think Aigaion and Bibliograph use it or are about to) so it may be easy enough for Moodle to use this too.  In fact doubly easy if moodle interfaces with a wikindx because the quickest way to set up the formatting engine is to provide data to it in exactly the same PHP associative array that wikindx natively expects.&lt;br /&gt;
&lt;br /&gt;
6. What capabilities are there in Wikindx at this time for different capabilities in using bibliographies? Can bibliographies be shared by a predefined group/all users? Can some people be given the ability to add to a bibliography while others can only use the bibilography? Can bibliography entries be required to have approval by some person before they are displayed to all? These would be nice features to have.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;MG: WIKINDX recognizes two types of bibliography; the master bibliography (MB) and user bibliographies (UB).  The MB holds the resources while UBs merely have references to resources from the MB.  Currently both the MB and UBs are readable by all users.  A UB is owned by a user and only he/she can add/delete references to resources.  All write enabled users can add to the MB.  Because I&#039;m aiming towards collaborative authoring in the word processor (SUWP), a long-standing feature to be implemented is to add user groups (i.e. research teams).  Then, the owner of a UB can add other users with write access to the UB and only those users can browse the UB.  Additionally, a user can make comments and musings private, shared with a group or public. Of course, a SUWP article can be shared among a group.  This hasn&#039;t been implemented yet -- I need to find someone familiar with wiki technology to help implement the collaborative authoring first.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Development:Wikindx&amp;diff=14101</id>
		<title>Development:Wikindx</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Development:Wikindx&amp;diff=14101"/>
		<updated>2006-08-09T11:09:38Z</updated>

		<summary type="html">&lt;p&gt;Jonb: /* Outline thoughts on integration... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Notes on the possible integration of [http://wikindx.sourceforge.net/index2.html WIKINDX] with Moodle.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[http://wikindx.sourceforge.net/index2.html WIKINDX]is a free bibliographic and quotations/notes management and article authoring system designed either for single use (on a variety of operating sytems) or multi-user collaborative use across the internet.&lt;br /&gt;
&lt;br /&gt;
Please also see the Moodle Discussion at http://moodle.org/mod/forum/discuss.php?d=23022&lt;br /&gt;
&lt;br /&gt;
==Wikindx filter for Moodle==&lt;br /&gt;
&lt;br /&gt;
Dan Stowell has created a &amp;quot;Wikindx filter&amp;quot; for Moodle which allows you to cross-link to a wikindx entry by typing (for example) wikindx:646. The filter is in contrib CVS, named &amp;quot;filter_wikindx&amp;quot; or can be downloaded at http://download.moodle.org/download.php/modules/filter_wikindx.zip&lt;br /&gt;
&lt;br /&gt;
==Outline thoughts on integration...==&lt;br /&gt;
&lt;br /&gt;
1. Do we need to allowing a user already logged into a Moodle site to be seamlessly logged in to a wikindx? Or maybe just use the same login details between the two (like the way that Moodle.org and MoodleDocs works).  If necessary, something could be added to wikindx to enable this. In most cases though, with the right config settings, wikindx will allow any read only request without requiring login.&lt;br /&gt;
&lt;br /&gt;
2. Another issue is how to integrate the paper writing function of Wikindx into Moodle. What about use of the HTML editor? Could it be integrated some way with the Netpublish module? Imagine students or professors being able to use it to write academic papers and then publish those on the Moodle site.  Currently wikindx publishes papers solely to RTF.  It should be simple to publish to HTML since that&#039;s what the raw document is anyway (a matter of adding HTML header/footer, formatting citations and appending bibliographies -- most of this code is already in wikindx but not (yet) made available to the word processor).  Compared to other HTML editors, the only additional options wikindx offers in its version are buttons to import citations, metadata and insert footnotes.  All the rest (barring stats, timestamps, save etc.) are font/text formatting.&lt;br /&gt;
&lt;br /&gt;
3. For the filter above, how do you decide what bibliographic style to present in (APA, Chicago, IEEE etc.)?  Presumably, this is something that could be set in the filter config file.  (Although I haven&#039;t seen the filter in operation, I&#039;m assuming it picks up a properly formatted reference for insert.  Either short (Grimshaw, 2006) or long (Grimshaw, Mark N. 2006, WIKINDX [OSS].) for example. Is the only method of citation available parenthetical? Is it possible to use endnotes (or footnotes) as well?  Yes, endnote/footnote styles are available as well.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from DS: No, at present the Wikindx filter simply displays the text &amp;quot;wikindx:646&amp;quot; (for example). It&#039;s a very simple start and I hope that people with more knowledge of Wikindx will be able to modify it to extract the properly-formatted reference direct from Wikindx. If wikindx had a system whereby a certain URL call would supply the reference text in whatever style was configured for wikindx, this would be a good way to display the citation nicely within Moodle. Does such a call exist? I don&#039;t think so. Something like mywikindx.com/index.php?&#039;&#039;&#039;action=resourceGrabCitation&#039;&#039;&#039;&amp;amp;id=501 would be required.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Note from JB: As the wikindx admin can set the default bibliographic style in the config, the filter will just present that style. The filter is simple but oh so useful! So when I type &#039;&#039;&#039;wikindx:1&#039;&#039;&#039; into my moodle installation, it creates an automatic link to http://www.baillie.org.uk/wikindx//index.php?action=resourceView&amp;amp;id=1&lt;br /&gt;
&lt;br /&gt;
4. Mark, your remarks in 2 have gotten me thinking. Although not everyone likes the Moodle HTML area editor that much, it still is the standard way of creating text in Moodle and perhaps a way of integrating Wikindx would be to add buttons for Wikindx to it, just like the kind described above in Wikindx&#039;s native editor. I needed to integrate a hieroglyph editor into my site and Janne Mikkonen helped me to add it through a button in the html editor that pops up a window, in which the student type the hieroglyphs they need, and then click a button to have them inserted back into the editor-similar to the way the insert image popup works. I would imagine something similar could be done with Wikindx. The advantage of this is that it would make Wikindx accessible anywhere within Moodle, rather than just as a separate module. You might also want a standalone module option whereby students could collaborate on creating bibliographies together.  Adding the appropriate buttons would be my suggestion.  In wikindx, citations are added by the popup automatically adding something like&lt;br /&gt;
[cite]146:22-23[/cite]&lt;br /&gt;
where 146 is the resource ID in the database and 22-23 are the page nos. This can be added via a cite button or will be appended to an inserted quotation/paraphrase via the wikindx &#039;insert metadata&#039; button.  Footnotes (i.e. parenthetical thoughts as opposed to citation footnotes - WIKINDX does handle those footnotes/endnotes as well) are inserted via a button which encloses the inserted footnote in:&lt;br /&gt;
[footnote]....[/footnote]&lt;br /&gt;
&lt;br /&gt;
Exporting to RTF, the cite tags are substituted with the formatted citation marker (in-text or footnote/endnote), bibliographic information is extracted and appended to a bibliography and footnote tags are converted to RTF footnotes.  Of course, all HTML code (font/text formatting, tables, lists, images etc.) are converted to their appropriate RTF code too.&lt;br /&gt;
&lt;br /&gt;
5. Re the citation/bibliographic formatting, the PHP code for this has been extracted from wikindx and made available to other OSS apps at http://bibliophile.sourceforge.net (I think Aigaion and Bibliograph use it or are about to) so it may be easy enough for Moodle to use this too.  In fact doubly easy if moodle interfaces with a wikindx because the quickest way to set up the formatting engine is to provide data to it in exactly the same PHP associative array that wikindx natively expects.&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Development:Developer_notes&amp;diff=14062</id>
		<title>Development:Developer notes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Development:Developer_notes&amp;diff=14062"/>
		<updated>2006-08-08T15:19:53Z</updated>

		<summary type="html">&lt;p&gt;Jonb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt; &#039;&#039;&#039;Note for contributors:&#039;&#039;&#039; This area is for developers to work on various bits of code and documentation as necessary. Once material has matured it should be linked to from the main [[Developer documentation]] page.&lt;br /&gt;
Initial text has been taken from [http://moodle.org/course/view.php?id=5 Using Moodle] Developer Wiki. If you find any text missing, please email docs AT moodle DOT org.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Forum development|Forum functional upgrade]]&lt;br /&gt;
*[[Other lang issues|Language issues]] &lt;br /&gt;
*[[MoodleDocs development]]&lt;br /&gt;
*[[Datalib Notes]]&lt;br /&gt;
*[[Usability]]&lt;br /&gt;
*[[Blogs and forums|Blogs, forums and the nature of discussion]]&lt;br /&gt;
*[[Document Management API]]&lt;br /&gt;
*[[Filters schema]]&lt;br /&gt;
*[[Filterall support]]&lt;br /&gt;
*[[Application/session variables]]&lt;br /&gt;
*[[Wiki development|Wiki module development]]&lt;br /&gt;
*[[Conditional activities]]&lt;br /&gt;
*[[Roles]]&lt;br /&gt;
*[[Improved Payment Plugin]]&lt;br /&gt;
*[[Moodle forms library]]&lt;br /&gt;
*[[Martin form notes]]&lt;br /&gt;
*[[wikindx|Possible integration of WIKINDX with Moodle]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Development:Developer_notes&amp;diff=14061</id>
		<title>Development:Developer notes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Development:Developer_notes&amp;diff=14061"/>
		<updated>2006-08-08T15:18:47Z</updated>

		<summary type="html">&lt;p&gt;Jonb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt; &#039;&#039;&#039;Note for contributors:&#039;&#039;&#039; This area is for developers to work on various bits of code and documentation as necessary. Once material has matured it should be linked to from the main [[Developer documentation]] page.&lt;br /&gt;
Initial text has been taken from [http://moodle.org/course/view.php?id=5 Using Moodle] Developer Wiki. If you find any text missing, please email docs AT moodle DOT org.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Forum development|Forum functional upgrade]]&lt;br /&gt;
*[[Other lang issues|Language issues]] &lt;br /&gt;
*[[MoodleDocs development]]&lt;br /&gt;
*[[Datalib Notes]]&lt;br /&gt;
*[[Usability]]&lt;br /&gt;
*[[Blogs and forums|Blogs, forums and the nature of discussion]]&lt;br /&gt;
*[[Document Management API]]&lt;br /&gt;
*[[Filters schema]]&lt;br /&gt;
*[[Filterall support]]&lt;br /&gt;
*[[Application/session variables]]&lt;br /&gt;
*[[Wiki development|Wiki module development]]&lt;br /&gt;
*[[Conditional activities]]&lt;br /&gt;
*[[Roles]]&lt;br /&gt;
*[[Improved Payment Plugin]]&lt;br /&gt;
*[[Moodle forms library]]&lt;br /&gt;
*[[Martin form notes]]&lt;br /&gt;
*[[wikindx]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/36/en/index.php?title=Development:Wikindx&amp;diff=14060</id>
		<title>Development:Wikindx</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/36/en/index.php?title=Development:Wikindx&amp;diff=14060"/>
		<updated>2006-08-08T15:07:22Z</updated>

		<summary type="html">&lt;p&gt;Jonb: Notes on the possible integration of WIKINDX with Moodle&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Notes on the possible integration of [http://wikindx.sourceforge.net/index2.html WIKINDX] with Moodle.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[http://wikindx.sourceforge.net/index2.html WIKINDX]is a free bibliographic and quotations/notes management and article authoring system designed either for single use (on a variety of operating sytems) or multi-user collaborative use across the internet.&lt;br /&gt;
&lt;br /&gt;
Please also see the Moodle Discussion at http://moodle.org/mod/forum/discuss.php?d=23022&lt;br /&gt;
&lt;br /&gt;
Dan Stowell has created a &amp;quot;Wikindx filter&amp;quot; for Moodle which allows you to cross-link to a wikindx entry by typing (for example) wikindx:646. The filter is in contrib CVS, named &amp;quot;filter_wikindx&amp;quot; or can be downloaded at http://download.moodle.org/download.php/modules/filter_wikindx.zip&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outline thoughts on integration...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1. Do we need to allowing a user already logged into a Moodle site to be seamlessly logged in to a wikindx? Or maybe just use the same login details between the two (like the way that Moodle.org and MoodleDocs works).&lt;/div&gt;</summary>
		<author><name>Jonb</name></author>
	</entry>
</feed>