<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/test/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jsilve1</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/test/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jsilve1"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/Special:Contributions/Jsilve1"/>
	<updated>2026-09-29T04:54:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Talk:LDAP_authentication&amp;diff=46708</id>
		<title>Talk:LDAP authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Talk:LDAP_authentication&amp;diff=46708"/>
		<updated>2008-11-13T20:02:59Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* What is the version of Moodle does this apply */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is the version of Moodle does this apply==&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted red; padding: 1em; background: #efefef&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;QUESTION: TO WHAT VERSION OF MOODLE DOES THE BULK OF THIS DOCUMENT APPLY?&#039;&#039;&#039;&lt;br /&gt;
This should be explicitly stated. My guess so far is Moodle 1.6.&lt;br /&gt;
&lt;br /&gt;
For example, the screenshot on this page does not seem to be from a Moodle 1.8 or 1.9 site. Also, in Moodle 1.8/1.9, Authentication is at Admin-&amp;gt;Authentication-&amp;gt;Manage Auth. by User:Jeffrey Silverman&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
:: Hi Jeffrey, I moved your question from the article page to here. Good comment, if you know the answer, I would like to know it.  I did go down the path a little bit on this page (perpetual newbie) but I did not have an LDAP server to check this against, so I am as clueless as you. Best --[[User:chris collman|chris collman]] 18:06, 12 November 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
I don&#039;t know the answer. Thanks for the clarification. I put that thing there as a banner because, IMO, the comments on pages are too &amp;quot;hidden&amp;quot; as they are really a separate page linked to in the tab interface idiom.&lt;br /&gt;
&lt;br /&gt;
-- Jeff&lt;br /&gt;
&lt;br /&gt;
==old comment==&lt;br /&gt;
Really useful section, although would be good to explicitly state whether the ldap bind account password is stored securely in the Moodle DB.&lt;br /&gt;
&lt;br /&gt;
== What about the sync script? ==&lt;br /&gt;
&lt;br /&gt;
There is no mention of /auth/ldap/auth_ldap_sync_users.php&lt;br /&gt;
&lt;br /&gt;
Why is it there? &lt;br /&gt;
What is it for?&lt;br /&gt;
Should it always be run?&lt;br /&gt;
Is it obsolete?&lt;br /&gt;
Is it only for some instances? (As in, specific LDAP settings)&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=LDAP_authentication&amp;diff=46654</id>
		<title>LDAP authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=LDAP_authentication&amp;diff=46654"/>
		<updated>2008-11-12T21:18:18Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: Settings link in &#039;&#039;Administration &amp;gt; Users &amp;gt; [[Authentication]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px dotted red; padding: 1em; background: #efefef&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;QUESTION: TO WHAT VERSION OF MOODLE DOES THE BULK OF THIS DOCUMENT APPLY?&#039;&#039;&#039;&lt;br /&gt;
This should be explicitly stated. My guess so far is Moodle 1.6.&lt;br /&gt;
&lt;br /&gt;
For example, the screenshot on this page does not seem to be from a Moodle 1.8 or 1.9 site. Also, in Moodle 1.8/1.9, Authentication is at Admin-&amp;gt;Authentication-&amp;gt;Manage Auth.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document describes how to set up Lightweight Directory Access Protocol (LDAP) authentication in Moodle.  We cover the basic, advanced and some trouble shooting sections to assist the user in the installation and administrating LDAP in Moodle.  &lt;br /&gt;
&lt;br /&gt;
==Basic Scenario==&lt;br /&gt;
The simple and straightforward approach  for most installations.&lt;br /&gt;
&lt;br /&gt;
===Assumptions===&lt;br /&gt;
&lt;br /&gt;
# Your Moodle site is located at &#039;&#039;&#039;http://your.moodle.site/&#039;&#039;&#039;&lt;br /&gt;
# You have configured your PHP installation with the LDAP extension. It is loaded and activated, and it shows when you go to &#039;&#039;&#039;http://your.moodle.site/admin/phpinfo.php&#039;&#039;&#039; (logged in as user &#039;admin&#039;).&lt;br /&gt;
# Your LDAP server has &#039;&#039;&#039;192.168.1.100&#039;&#039;&#039; as its IP address.&lt;br /&gt;
# You are not using LDAP with SSL (also known as LDAPS) in your settings. This might prevent certain operations from working (e.g., you cannot update data if you are using MS Active Directory -- MS-AD from here on --), but should be OK if you just want to authenticate your users.&lt;br /&gt;
# You don&#039;t want your users to change their passwords the first time they log in into Moodle.&lt;br /&gt;
# You are using a single domain as the source of your authentication data in case you are using MS-AD (more on this in the Appendices).&lt;br /&gt;
# You are using a top level distinguished name (DN) of &#039;&#039;&#039;dc=my,dc=organization,dc=domain&#039;&#039;&#039; as the root of your LDAP tree. &lt;br /&gt;
# You have a non-privileged LDAP user account you will use to bind to the LDAP server. This is not necessary with certain LDAP servers, but MS-AD requires this and it won&#039;t hurt if you use it even if your LDAP server doesn&#039;t need it. Make sure &#039;&#039;&#039;this account and its password don&#039;t expire&#039;&#039;&#039;, and make this password as strong as possible. Remember you only need to type this password once, when configuring Moodle, so don&#039;t be afraid of making it as hard to guess as possible. Let&#039;s say this user account has a DN of &#039;&#039;&#039;cn=ldap-user,dc=my,dc=organization,dc=domain&#039;&#039;&#039;, and password &#039;&#039;&#039;hardtoguesspassword&#039;&#039;&#039;.&lt;br /&gt;
# All of your Moodle users are in an organizational unit (OU) called &#039;&#039;&#039;moodleusers&#039;&#039;&#039;, which is right under your LDAP root. That OU has a DN of &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039;.&lt;br /&gt;
# You &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; want your LDAP users&#039; passwords to be stored in Moodle at all.&lt;br /&gt;
&lt;br /&gt;
===Configuring Moodle authentication===&lt;br /&gt;
&lt;br /&gt;
Log in as an admin user and go to Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication. In the drop down listbox titled  &amp;quot;Choose an authentication method&amp;quot; select &amp;quot;Use an LDAP Server&amp;quot;. You will get a page similar to this one:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::: [[Image:auth_ldap_config_screenshot.jpg]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you just have to fill in the values. Let&#039;s go step by step.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
! Field name&lt;br /&gt;
! Value to fill in&lt;br /&gt;
|-&lt;br /&gt;
| ldap_host_url&lt;br /&gt;
| As the IP of your LDAP server is 192.168.1.100, type &amp;quot;&#039;&#039;&#039;ldap://192.168.1.100&#039;&#039;&#039;&amp;quot; (without the quotes), or just &amp;quot;&#039;&#039;&#039;192.168.1.100&#039;&#039;&#039;&amp;quot; (some people have trouble connecting with the first syntax, specially on MS Windows servers).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_version&lt;br /&gt;
| Unless you are using a really old LDAP server, &#039;&#039;&#039;version 3&#039;&#039;&#039; is the one you should choose.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_preventpassindb&lt;br /&gt;
| As you &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; want to store the users&#039;s password in Moodle&#039;s database, choose &#039;&#039;&#039;Yes&#039;&#039;&#039; here.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_bind_dn&lt;br /&gt;
| This is the distinguished name of the bind user defined above. Just type &amp;quot;&#039;&#039;&#039;cn=ldap-user,dc=my,dc=organization,dc=domain&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_bind_pw&lt;br /&gt;
| This is the bind user password defined above. Type &amp;quot;&#039;&#039;&#039;hardtoguesspassword&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_user_type&lt;br /&gt;
| Choose: &lt;br /&gt;
* &#039;&#039;&#039;Novel Edirectory&#039;&#039;&#039; if your LDAP server is running Novell&#039;s eDdirectory.&lt;br /&gt;
* &#039;&#039;&#039;posixAccount (rfc2307)&#039;&#039;&#039; if your LDAP server is running a RFC-2307 compatible LDAP server (choose this is your server is running OpenLDAP).&lt;br /&gt;
* &#039;&#039;&#039;posixAccount (rfc2307bis)&#039;&#039;&#039; if your LDAP server is running a RFC-2307bis compatible LDAP server.&lt;br /&gt;
* &#039;&#039;&#039;sambaSamAccount (v.3.0.7)&#039;&#039;&#039; if your LDAP server is running with SAMBA&#039;s 3.x LDAP schema extension and you want to use it.&lt;br /&gt;
* &#039;&#039;&#039;MS ActiveDirectory&#039;&#039;&#039; if your LDAP server is running Microsoft&#039;s Active Directory (MS-AD)&lt;br /&gt;
|-&lt;br /&gt;
| ldap_contexts&lt;br /&gt;
| The DN of the context (container) where all of your Moodle users are found. Type &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; here.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_search_sub&lt;br /&gt;
| If you have any sub organizational units (subcontexts) hanging from &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; and you want Moodle to search there too, set this to &#039;&#039;&#039;yes&#039;&#039;&#039;. Otherwise, set this to &#039;&#039;&#039;no&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_opt_deref&lt;br /&gt;
| Sometimes your LDAP server will tell you that the real value you are searching for is in fact in another part of the LDAP tree (this is called an alias). If you want Moodle to &#039;dereference&#039; the alias and fetch the real value from the original location, set this to &#039;&#039;&#039;yes&#039;&#039;&#039;. If you don&#039;t want Moodle to dereference it, set this to &#039;&#039;&#039;no&#039;&#039;&#039;. If you are using MS-AD, set this to &#039;&#039;&#039;no&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_user_attribute&lt;br /&gt;
| The attribute used to name/search users in your LDAP tree. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By the way, it&#039;s usually &#039;&#039;&#039;cn&#039;&#039;&#039; (Novell eDirectory and MS-AD) or &#039;&#039;&#039;uid&#039;&#039;&#039; (RFC-2037, RFC-2037bis and SAMBA 3.x LDAP extension), but if you are using MS-AD you could use &#039;&#039;&#039;sAMAccountName&#039;&#039;&#039; (the pre-Windows 2000 logon account name) if you need too.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_memberattribute&lt;br /&gt;
| The attribute used to list the members of a given group. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By the way, the usual values are &#039;&#039;&#039;member&#039;&#039;&#039; and &#039;&#039;&#039;memberUid&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_objectclass&lt;br /&gt;
| The type of LDAP object used to search for users. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the default values for each of the &#039;&#039;ldap_user_type&#039;&#039; values:&lt;br /&gt;
* &#039;&#039;&#039;User&#039;&#039;&#039; for Novel eDirectory&lt;br /&gt;
* &#039;&#039;&#039;posixAccount&#039;&#039;&#039; for RFC-2037 and RFC-2037bis&lt;br /&gt;
* &#039;&#039;&#039;sambaSamAccount&#039;&#039;&#039; for SAMBA 3.0.x LDAP extension&lt;br /&gt;
* &#039;&#039;&#039;user&#039;&#039;&#039; for MS-AD&lt;br /&gt;
If you get an error about a problem with updating the ldap server (even if you have specified not to write changes back to the ldap server) try setting the ldap object class to * - see http://moodle.org/mod/forum/discuss.php?d=70566 for a discussion on this problem&lt;br /&gt;
|-&lt;br /&gt;
| Force change password&lt;br /&gt;
| Set this to &#039;&#039;Yes&#039;&#039; if you want to force your users to change their password on the first login into Moodle. Otherwise, set this to &#039;&#039;no&#039;&#039;. Bear in mind the password they are forced to change is the one stored in your LDAP server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;As you don&#039;t want your users to change their passwords in their first login, leave this set to &#039;&#039;No&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Use standard Change Password Page&lt;br /&gt;
|&lt;br /&gt;
* Setting this to &#039;&#039;Yes&#039;&#039; makes Moodle use it&#039;s own standard password change page, everytime users want to change their passwords.&lt;br /&gt;
* Setting this to &#039;&#039;No&#039;&#039; makes Moodle use the the page specified in the field called &amp;quot;Change password URL&amp;quot; (at the bottom of the configuration page).&lt;br /&gt;
&lt;br /&gt;
Bear in mind that changing your LDAP passwords from Moodle might require a LDAPS connection (this is true at least for MS-AD).&lt;br /&gt;
&lt;br /&gt;
Also, code for changing passwords from Moodle for anything but Novell eDirectory is almost not tested, so this may or may not work for other LDAP servers.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_expiration&lt;br /&gt;
| &lt;br /&gt;
* Setting this to &#039;&#039;No&#039;&#039; will make Moodle not to check if the password of the user has expired or not.&lt;br /&gt;
* Setting this to &#039;&#039;LDAP&#039;&#039; will make Moodle check if the LDAP password of the user has expired or not, and warn her a number of days before the password expires.&lt;br /&gt;
&lt;br /&gt;
Current code only deals with Novell eDirectory LDAP server, but there is a patch floating around to make it work with MS-AD too (search in the authentication forum).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So unless you have Novell eDirectory server (or use the patch), choose &#039;&#039;No&#039;&#039; here.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_expiration_warning&lt;br /&gt;
| This value sets how many days in advance of password expiration the user is warned that her password is about to expire.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_exprireattr&lt;br /&gt;
| The LDAP user attribute used to check password expiration. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_gracelogins&lt;br /&gt;
| This setting is specific to Novell eDirectory. If set to &#039;&#039;Yes&#039;&#039;, enable LDAP gracelogin support. After password has expired the user can login until gracelogin count is 0.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So unless you have Novell eDirectory server and want to allow gracelogin support, choose &#039;&#039;No&#039;&#039; here.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_graceattr&lt;br /&gt;
| This setting is currently not used in the code (and is specific to Novell eDirectory). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_create_context&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ldap_creators&lt;br /&gt;
| The DN of the group that contains all of your Moodle creators. This is typically a posixGroup with a &amp;quot;memberUid&amp;quot; attribute for each user you want to be a creator.  If your group is called &#039;&#039;creators&#039;&#039;, type &#039;&#039;&#039;cn=creators,ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; here.  Each memberUid attribute contains the CN of a user who is authorized to be a creator.  Do not use the user&#039;s full DN (e.g.,  not &#039;&#039;&#039;memberUid: cn=JoeTeacher,ou=moodleusers,dc-my,dc=organizations,dc=domain&#039;&#039;&#039;, but rather &#039;&#039;&#039;memberUid: JoeTeacher&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
In eDirectory, the objectClass for a group is (by default) not &#039;&#039;&#039;posixGroup&#039;&#039;&#039; but &#039;&#039;&#039;groupOfNames,&#039;&#039;&#039; whose member attribute is &#039;&#039;&#039;member,&#039;&#039;&#039; not &#039;&#039;&#039;memberUid,&#039;&#039;&#039; and whose value is the full DN of the user in question.  Although you can probably modify Moodle&#039;s code to use this field, a better solution is just to add a new &#039;&#039;&#039;objectClass&#039;&#039;&#039; attribute of &#039;&#039;&#039;posixGroup&#039;&#039;&#039; to your creators group and put the CNs for each creator in a &#039;&#039;&#039;memberUid&#039;&#039;&#039; attribute.&lt;br /&gt;
&lt;br /&gt;
In MS Active Directory, you will need to create a security group for your creators to be part of and then add them all. If your ldap context above is &#039;ou=staff,dc=my,dc=org&#039; then your group should then be &#039;cn=creators,ou=staff,dc=my,dc=org&#039;. If some of the users are from other contexts and have been added to the same security group, you&#039;ll have to add these as separate contexts after the first one using the same format.&lt;br /&gt;
|-&lt;br /&gt;
| First name&lt;br /&gt;
| The name of the attribute that holds the first name of your users in your LDAP server. This is usually &#039;&#039;&#039;givenName&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Surname&lt;br /&gt;
| The name of the attribute that holds the surname of your users in your LDAP server. This is usually &#039;&#039;&#039;sn&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Email address&lt;br /&gt;
| The name of the attribute that holds the email address of your users in your LDAP server. This is usually &#039;&#039;&#039;mail&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Phone 1&lt;br /&gt;
| The name of the attribute that holds the telephone number of your users in your LDAP server. This is usually &#039;&#039;&#039;telephoneNumber&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Phone 2&lt;br /&gt;
|  The name of the attribute that holds an additional telephone number of your users in your LDAP server. This can be &#039;&#039;&#039;homePhone&#039;&#039;&#039;, &#039;&#039;&#039;mobile&#039;&#039;&#039;, &#039;&#039;&#039;pager&#039;&#039;&#039;, &#039;&#039;&#039;facsimileTelephoneNumber&#039;&#039;&#039; or even others.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Department&lt;br /&gt;
| The name of the attribute that holds the department name of your users in your LDAP server. This is usully &#039;&#039;&#039;departmentNumber&#039;&#039;&#039; (for posixAccount and maybe eDirectory) or &#039;&#039;&#039;department&#039;&#039;&#039; (for MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Address&lt;br /&gt;
| The name of the attribute that holds the street address of your users in your LDAP server. This is usully &#039;&#039;&#039;streetAddress&#039;&#039;&#039; or &#039;&#039;&#039;street&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| City/town&lt;br /&gt;
| The name of the attribute that holds the city/town of your users in your LDAP server. This is usully &#039;&#039;&#039;l&#039;&#039;&#039; (lowercase L) or &#039;&#039;&#039;localityName&#039;&#039;&#039; (not valid in MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| Country&lt;br /&gt;
| The name of the attribute that holds the couuntry of your users in your LDAP server. This is usully &#039;&#039;&#039;c&#039;&#039;&#039; or &#039;&#039;&#039;countryName&#039;&#039;&#039; (not valid in MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Description&lt;br /&gt;
| &#039;&#039;&#039;description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ID Number&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Language&lt;br /&gt;
| &#039;&#039;&#039;preferredLanguage&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Instructions&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The rest of the fields are common to all authentication methods and will not be discussed here..&lt;br /&gt;
&lt;br /&gt;
==Active Directory Troubleshooting Help==&lt;br /&gt;
&lt;br /&gt;
===Warning: The PHP LDAP module does not seem to be present. Please ensure it is installed and enabled.===&lt;br /&gt;
This usually means that the main ldap dll or one of the supporting dlls are missing.&lt;br /&gt;
Let&#039;s start with the main one itself. &lt;br /&gt;
Browse to http://(moodleserver)/admin/phpinfo.php and examine the &amp;quot;Configuration File (php.ini) Path&amp;quot; field to determine which php.ini is being used and open it with an editor. Find the line &#039;extension=php_ldap.dll&#039; and take out the semi-colon if it is there. That semi-colon will stop it loading the module all together! &lt;br /&gt;
While you have that file open, search for &#039;extension_dir&#039; and note which folder it is set to. Open that folder and ensure the php_ldap.dll file is in there. If it isn&#039;t then put it in there.&lt;br /&gt;
If that still hasn&#039;t fixed it you are missing a supporting dll, but you don&#039;t get told that. To see what dlls are missing open the Command Prompt and navigate to the php directory and execute the following line &#039;php -m&#039;. You should get some error messages now. Ugly, but at least they give you information! Find the dlls listed and copy them to the php directory. You may now need to restart the apache/httpd service. Run &#039;php -m&#039; again and you should be error free and the message in Moodle should be gone now.&lt;br /&gt;
&lt;br /&gt;
===LDAP-module cannot connect any LDAP servers : Server: &#039;ldap://my.ldap.server/&#039; Connection: &#039;Resource id #26&#039; Bind result: &#039;&#039;===&lt;br /&gt;
Getting this message when you are trying to log in is a result of incorrect details for the Bind user, or the user account having insufficient permissions in Active Directory. The best way to test and resolve this is use ldp.exe to test binding until it suceeds. There are instructions on installing ldp.exe below.&lt;br /&gt;
Open the program and Connect to AD, giving the server name, then from the Connection menu choose Bind. Enter the details you think are correct and you will probably find that an error is returned. Try adjusting the accounts priveleges or another account until you are returned an &amp;quot;Authenticated as&amp;quot; message.&lt;br /&gt;
Once you are sure your account can be used to bind to AD, check that the DN of that users name is correct. Expand the tree on the left until you find the user you used to bind. Right click on that item and choose Copy DN. Go to the User Authentication page in Moodle and paste the value into the ldap_bind_dn field. Add the password and you can now feel safe your user is binding sucessfully.&lt;br /&gt;
&lt;br /&gt;
===Getting correct CNs for Contexts and Creators===&lt;br /&gt;
For those not familiar with AD this could be very confusing, and not that easy for some who are familiar with it. Again, ldp.exe is your friend. There are instructions on installing ldp.exe below.&lt;br /&gt;
Open it up and expand the tree on the left until you find the group or user you want to use and right click on it and select Copy DN. Go back to the Moodle User Authentication page and paste that value into either ldap_contexts or ldap_creators.&lt;br /&gt;
&lt;br /&gt;
===Getting the right user_attribute===&lt;br /&gt;
By default, Moodle uses an accounts cn (full name) to verify against, but most networks don&#039;t use a full given name for logon as it&#039;s too easy to guess and you can easily have two people with the same name. If this is the case for you too you need to tell Moodle to look at another field for the logon id.&lt;br /&gt;
In ldp.exe navigate the tree on the left to find a user account, preferably your own. Double-click the item in the tree and full-details will be loaded into the screen on the right. Look down the details until you find your logon id and note the item listed against it. For me, and a lot of people, it is sAMAccountName. Copy this name and paste it into the ldap_user_attribute on the Moodle User Authentication page.&lt;br /&gt;
There are instructions on installing ldp.exe below.&lt;br /&gt;
&lt;br /&gt;
===Installing ldp.exe Server Tool===&lt;br /&gt;
ldp.exe comes as part of the Server Tools on most versions of Windows Server. Find your Windows Server installation disc and find a folder on it called Support\Tools. In there will be a SupTools.msi which will install the server tools if run. You should now have a folder under Program Files called Support Tools, in which will be ldp.exe. ldp.exe is also available in the Windows XP Support Tools, which you can download from Microsoft [http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&amp;amp;displaylang=en here]. Alternatively, a single download of ldp.exe is available [http://www.computerperformance.co.uk/w2k3/utilities/ldp.htm here].&lt;br /&gt;
&lt;br /&gt;
===Example Active Directory Configuration===&lt;br /&gt;
Below is an example configuration for Active Directory. As detailed above, the values may vary based on your local Active Directory configuration, but should provide a good starting point for most cases.&lt;br /&gt;
&lt;br /&gt;
 ldap_host_url = ldap://ads.example.com&lt;br /&gt;
 ldap_version = 3&lt;br /&gt;
 ldap_preventpassindb = yes&lt;br /&gt;
 ldap_bind_dn = bind-user@example.com&lt;br /&gt;
 ldap_bind_pw = bind-password&lt;br /&gt;
 ldap_user_type = MS ActiveDirectory&lt;br /&gt;
 ldap_contexts = ou=moodleusers,dc=example,dc=com&lt;br /&gt;
 ldap_user_attribute = sAMAccountName&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the ldap_bind_dn value should work in either the CN=bin-user,CN=Users,DC=example,DC=com format as shown in the main instructions or the bind-user@example.com format shown in this example.&lt;br /&gt;
&lt;br /&gt;
==Advanced Scenarios - Multiple servers or locations==&lt;br /&gt;
For larger installations with  multiple LDAP servers, or multiple locations (contexts) in a LDAP tree.&lt;br /&gt;
&lt;br /&gt;
===Using multiple LDAP Servers===&lt;br /&gt;
Entering more than one name in the ldap_host_url field can provide some sort of resilience to your system. Simply use the syntax :&lt;br /&gt;
ldap://my.first.server ; ldap://my.second.server ; ...&lt;br /&gt;
&lt;br /&gt;
Of course, this will only work if all the servers share the same directory information, using a replication or synchronization mecanism once introduced in eDirectory and now generalized to the main LDAP-compatible directories.&lt;br /&gt;
&lt;br /&gt;
There is one drawback in Moodle 1.5 - 1.6 implementation of LDAP authentication : the auth_ldap_connect() function processes the servers sequentially, not in a round robin mode. Thus, if the primary server fails, you will have to wait for the connection to time out before switching to the following one.&lt;br /&gt;
&lt;br /&gt;
===Using multiple user locations (contexts) in your LDAP tree===&lt;br /&gt;
There is no need to use multiple user locations if your directory tree is flat, i.e. if all user accounts reside in a &#039;&#039;&#039;ou=people,dc=my,dc=organization,dc=domain&#039;&#039;&#039; or &#039;&#039;&#039;ou=people,o=myorg&#039;&#039;&#039; container. &lt;br /&gt;
&lt;br /&gt;
At the opposite, if you use the ACL mecanism to delegate user management, there are chances that your users will be stored in containers like &#039;&#039;&#039;ou=students,ou=dept1,o=myorg&#039;&#039;&#039; and &#039;&#039;&#039;ou=students,ou=dept2,o=myorg&#039;&#039;&#039; ...&lt;br /&gt;
&lt;br /&gt;
Then there is an alternative :&lt;br /&gt;
* Look at the &#039;&#039;&#039;o=myorg&#039;&#039;&#039; level with the ldap_search_sub attribute set to &#039;&#039;&#039;yes&#039;&#039;&#039;.&lt;br /&gt;
* Set the ldap_context to &#039;&#039;&#039;ou=students,ou=dept1,o=myorg ; ou=students,ou=dept2,o=myorg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Choosing between these two solutions supposes some sort of benchmarking, as the result depends heavily on the structure of your directory tree &#039;&#039;&#039;and&#039;&#039;&#039; on your LDAP software indexing capabilities. Simply note that there is a probability in such deep trees that two users share the same &#039;&#039;common name&#039;&#039; (cn), while having different &#039;&#039;distinguished names&#039;&#039;. Then only the second solution will have a deterministic result (returning allways the same user).&lt;br /&gt;
&lt;br /&gt;
===Using LDAPS (LDAP + SSL)===&lt;br /&gt;
====MS Active Directory + SSL ====&lt;br /&gt;
&lt;br /&gt;
If the Certificate Authority is not installed you&#039;ll have to install it first as follows:&lt;br /&gt;
# Click &#039;&#039;&#039;Start&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Control Panel&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Add or Remove programs.&#039;&#039;&#039;&lt;br /&gt;
# Click &#039;&#039;&#039;Add/Remove Windows Components&#039;&#039;&#039; and select &#039;&#039;&#039;Certificate Services.&#039;&#039;&#039;&lt;br /&gt;
# Follow the procedure provided to install the &#039;&#039;&#039;Certificate Authority&#039;&#039;&#039;. Enterprise level is a good choice.&lt;br /&gt;
&lt;br /&gt;
Verify that SSL has been enabled on the server by installing suptools.msi from Windows installation cd&#039;s \Support\tools directory. After support tools installation:&lt;br /&gt;
# Select &#039;&#039;&#039;Start&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Run&#039;&#039;&#039;, write &#039;&#039;&#039;ldp&#039;&#039;&#039; in the Open field.&lt;br /&gt;
# From the ldp window select &#039;&#039;&#039;Connection&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Connect&#039;&#039;&#039; and supply valid hostname and port number &#039;&#039;&#039;636&#039;&#039;&#039;. Also select the SSL check box.&lt;br /&gt;
&lt;br /&gt;
If successful, you should get information about the connection.&lt;br /&gt;
&lt;br /&gt;
Next step is to tell PHP&#039;s OpenLDAP extension to disable SSL certificate checking. On Windows servers you&#039;re most likely using pre-compiled PHP version, where you must create a path &#039;&#039;C:\OpenLDAP\sysconf&#039;&#039;. In this path create a file called &amp;quot;ldap.conf&amp;quot; with content:&lt;br /&gt;
&lt;br /&gt;
 TLS_REQCERT never.&lt;br /&gt;
&lt;br /&gt;
Now you should be able to use &#039;&#039;&#039;ldaps://&#039;&#039;&#039; when connecting to MS-AD.&lt;br /&gt;
&lt;br /&gt;
==Appendices==&lt;br /&gt;
&lt;br /&gt;
===Child Domains and the Global Catalog in MS Active Directory===&lt;br /&gt;
&lt;br /&gt;
Moodle currently only has limited support for multiple domain controllers; specifically it expects each of the LDAP servers listed to contain identical sets of information. If you have users in multiple domains this presents an issue. One solution when working with MS-AD is to use the Global Catalog. The Global Catalog is designed to be a read-only, partial representation of an entire MS-AD forest, designed for searching the entire directory when the domain of the required object is not known.&lt;br /&gt;
&lt;br /&gt;
For example your organisation has a main domain example.org, staff and students are contained in two child domains staff.example.org and students.example.org. The 3 domains (example.org, staff.example.org and students.example.org) each have a domain controller (dc01, dc02 and dc03 respectively.) Each domain controller contains a full, writable, representation of only the objects that belong to its domain. However, assuming that the Global Catalog has been enabled (see below) on one of the domain controllers (for example dc01) a query to the Global Catalog would reveal matching objects from all three domains. The Global Catalog is automatically maintained through replication across the active directory forest, it can also be enabled on multiple servers (if, for example, you need redundancy / load balancing.)&lt;br /&gt;
&lt;br /&gt;
To make use of this in Moodle to allow logins from multiple domains is simple. The Global Catalog runs on port 3268 as opposed to 389 for standard LDAP queries. As a result, still assuming the Global Catalog is running on dc01, the &#039;&#039;&#039;&#039;ldap_host_url&#039;&#039;&#039;&#039; would be &#039;&#039;ldap://dc01.example.org:3268&#039;&#039;. The rest of the settings are the same as for other MS-AS Auth setups.&lt;br /&gt;
&lt;br /&gt;
You should use the &#039;&#039;&#039;&#039;ldap_contexts&#039;&#039;&#039;&#039; setting to indicate the locations of individuals you wish to grant access. To extend the example above a little: In the example.org domain users are all in the&#039;&#039; &#039;Users&#039; &#039;&#039;OU, in the staff.example.org domain users are in two OUs at the root of the domain,&#039;&#039; &#039;Support Staff&#039; &#039;&#039;and&#039;&#039; &#039;Teaching Staff&#039; &#039;&#039;, and in the students.example.org domain students are in an OU indicating the year that they enrolled, all of which are under the&#039;&#039; &#039;Students&#039; &#039;&#039;OU. As a result our &#039;&#039;&#039;&#039;ldap_contexts&#039;&#039;&#039;&#039; setting may look a little like this:&#039;&#039; &#039;OU=Users,DC=example,DC=org; OU=Support Staff,DC=staff,DC=example,DC=org; OU=Teaching Staff,DC=staff,DC=example,DC=org; OU=Students,DC=students,DC=example,DC=org&#039;&#039;.&#039; The &#039;&#039;&#039;&#039;ldap_search_sub&#039;&#039;&#039;&#039; option should be set to&#039;&#039; &#039;Yes&#039; &#039;&#039;to allow moodle to search within the child OUs.&lt;br /&gt;
&lt;br /&gt;
Its worth noting that the Global Catalog only contains a partial representation of the attributes of each object, as defined in the Partial Attribute Set supplied by Microsoft. However common information likely to be of use to a general Moodle installation (Forename, Surname, Email Address, sAMAccountName etc) is included in the set. For specific needs the schema can be altered to remove or add various attributes.&lt;br /&gt;
&lt;br /&gt;
In most cases the Global Catalog is read-only, update queries must be made over the standard LDAP ports to the domain controller that holds the object in question (in our example, updating a student&#039;s details would require an LDAP query to the students.example.org domain controller - dc03, it would not be possible to update details by querying the Global Catalog.) The exception to this would be in an environment where there is only a single domain in the active directory forest; in this case the Global Catalog holds a writable full set of attributes for each object in the domain. However, for the purposes of Moodle authorisation, there would be no need to use the Global Catalog in this case.&lt;br /&gt;
&lt;br /&gt;
===Enabling the Global Catalog===&lt;br /&gt;
&lt;br /&gt;
The Global Catalog is available on Windows 2000 and Windows 2003 Active Directory servers. To enable, open the ‘Active Directory Sites and Services’ MMC (Microsoft Management Console) snap-in. Extend ‘Sites’ and then the name of the Site containing the active directory forest you wish to use. Expand the server you wish to enable the Global Catalog on, right click ‘NTDS settings’ and select the ‘Properties’ tab. To enable, simply click the ‘Global Catalog’ checkbox. Under a Windows 2000 server it is necessary to restart the server (although it won’t prompt you to); under Windows 2003 server it is not necessary to restart the server. In either case you will generally have to wait for the AD forest to replicate before the Global Catalog offers a representation of the entire AD forest. Changes made in Active Directory will also be subject to a short delay due to the latency involved with replication. If your AD servers are firewalled port 3268 will need to be opened for Global Catalog servers.&lt;br /&gt;
If your organisation uses Microsoft Exchange then it its highly likely that at least one Domain Controller will already have Global Catalog enabled – Exchange 2000 and 2003 rely on the Global Catalog for address information, users also access the Global Catalog when using the GAL (Global Address List)&lt;br /&gt;
&lt;br /&gt;
===ldap auth_user_create() only suports Novell===&lt;br /&gt;
&lt;br /&gt;
After configuring user authentication with ldap I realized ldap only support edir (Novell) when combining ldap an email user confirmation. For example in my case (I use openldap) I have the following error after filling the user form:&lt;br /&gt;
&lt;br /&gt;
auth: ldap auth_user_create() does not support selected usertype:&amp;quot;rfc2307&amp;quot; (..yet)&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}&lt;br /&gt;
The previous comment only applies to Moodle 1.8 and below. Moodle 1.9 adds support for MS Active Directory too.&lt;br /&gt;
&lt;br /&gt;
=== Active Directory with Moodle 1.8===&lt;br /&gt;
&lt;br /&gt;
There is an issue with the PHP ldap options that are required for Active Directory access in version 1.8 of Moodle. &lt;br /&gt;
&lt;br /&gt;
Using moodle on a LAMP platform with authentication to Active Directory may give some errors. &lt;br /&gt;
&lt;br /&gt;
Check this bug [http://tracker.moodle.org/browse/MDL-10921 MDL-10921] or this post http://moodle.org/mod/forum/discuss.php?d=78316 for further information.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=32168 PHP LDAP module does not seem to be present] forum discussion&lt;br /&gt;
* [[LDAP enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[es:LDAP_authentication]]&lt;br /&gt;
[[fr:Utiliser un serveur LDAP]]&lt;br /&gt;
[[ja:LDAP認証]]&lt;br /&gt;
[[zh:LDAP认证]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Talk:LDAP_authentication&amp;diff=46653</id>
		<title>Talk:LDAP authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Talk:LDAP_authentication&amp;diff=46653"/>
		<updated>2008-11-12T21:09:27Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: New section: What about the sync script?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Really useful section, although would be good to explicitly state whether the ldap bind account password is stored securely in the Moodle DB.&lt;br /&gt;
&lt;br /&gt;
== What about the sync script? ==&lt;br /&gt;
&lt;br /&gt;
There is no mention of /auth/ldap/auth_ldap_sync_users.php&lt;br /&gt;
&lt;br /&gt;
Why is it there? &lt;br /&gt;
What is it for?&lt;br /&gt;
Should it always be run?&lt;br /&gt;
Is it obsolete?&lt;br /&gt;
Is it only for some instances? (As in, specific LDAP settings)&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=42469</id>
		<title>Upgrading</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=42469"/>
		<updated>2008-08-22T17:13:03Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* SQL dump caveats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle is designed to upgrade cleanly from one version to the next.  Please refer to [[Upgrading to Moodle 1.6]], [[Upgrading to Moodle 1.8]] or [[Upgrading to Moodle 1.9]]  for particular considerations related to the upgraded version.  &lt;br /&gt;
&lt;br /&gt;
Changes that have been made to the original code, such as installing a contributed module (non-standard module) or a site edit of a php file, may not upgrade. This includes modifications to standard themes, that will be overwritten during an upgrade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
When upgrading a Moodle installation you should follow these steps:&lt;br /&gt;
&lt;br /&gt;
==Check the requirements==&lt;br /&gt;
Spend some time re-reading the [[Installing Moodle | installation documentation]] and documentation for the new version. Check the system requirements for the version you are upgrading to in &#039;&#039;Administration &amp;gt; Server &amp;gt; [[Environment]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Backup important data ==&lt;br /&gt;
&lt;br /&gt;
Although it is not strictly necessary, it is always a good idea to make a backup of any production system before a major upgrade, just in case you need to revert back to the older version for some reason. In fact, it&#039;s a good idea to automate your server to backup your Moodle installation daily, so that you can skip this step.&lt;br /&gt;
&lt;br /&gt;
There are three areas that need backing up:&lt;br /&gt;
&lt;br /&gt;
=== 1. The Moodle software directory itself ===&lt;br /&gt;
&lt;br /&gt;
Make a separate copy of these files before the upgrade, so that you can retrieve your config.php and any modules you have added like themes, languages etc&lt;br /&gt;
&lt;br /&gt;
=== 2. Your data directory ===&lt;br /&gt;
&lt;br /&gt;
This is where uploaded content resides (such as course resources and student assignments) so it is very important to have a backup of these files anyway. Sometimes upgrades may move or rename directories within your data directory.&lt;br /&gt;
&lt;br /&gt;
=== 3. Your database ===&lt;br /&gt;
&lt;br /&gt;
Most Moodle upgrades will alter the database tables, adding or changing fields. Each database has different ways to backup. One way of backing up a MySQL database is to &#039;dump&#039; it to a single SQL file. The following example shows Unix commands to dump the database called &amp;quot;moodle&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql&lt;br /&gt;
(The &amp;quot;-a&amp;quot; switch is deprecated and should be replaced by &amp;quot;--create-options&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Substitute your database user account for username. The -p flag will prompt you for the password for the username specified by -u.&lt;br /&gt;
&lt;br /&gt;
If your database host is different from the host you want to execute the backup command (usually the web server), you have to specify it with the -h option to mysqldump:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -h databasehost -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql &lt;br /&gt;
&lt;br /&gt;
You can also use the &amp;quot;Export&amp;quot; feature in Moodle&#039;s optional &amp;quot;MySQL Admin&amp;quot; web interface to do the same thing on all platforms. In Moodle v1.9 and greater, this is located in &#039;&#039;&#039;Site Administration&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Server&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Database&#039;&#039;&#039;. This interface can also be downloaded from http://download.moodle.org/modules/integrations.php. It is an integration of PHPMyAdmin for the Moodle administration interface.&lt;br /&gt;
&lt;br /&gt;
==== SQL dump caveats ====&lt;br /&gt;
&lt;br /&gt;
* Please note that there are a &#039;&#039;&#039;LOT&#039;&#039;&#039; of options possible for mysqldump. Please talk with your Systems Administrator (if you have one) or similar to see if there are site-specific flags you should use for your SQL dump.&lt;br /&gt;
** For example, if your local installation is running MySQL 5.2 and you are moving to a system running MySQL 5.0 or 4.1, you really ought to use the &amp;quot;--compat=mysql40&amp;quot; flag. (This is not too uncommon of a situation given the nature of ISP hosting as compared to local user Moodle setups)&lt;br /&gt;
* This seems obvious, but should be said outright: These instructions only work for dumping from MySQL! Postgresql, Oracle, and other database servers have different tools to dump databases.&lt;br /&gt;
* Given the example mysql import lines, above, you really should use the --no-create-db flag. If your database locally is named something differently from the migration site, not including this flag could cause problems.&lt;br /&gt;
&lt;br /&gt;
== Install the new Moodle software ==&lt;br /&gt;
&lt;br /&gt;
=== Using a downloaded archive ===&lt;br /&gt;
&lt;br /&gt;
@Do not overwrite an old installation unless you know what you are doing ... sometimes old files can cause problems in new installations. The best way is to rename the current Moodle directory to something else, then unpack the new Moodle archive into the old location.&lt;br /&gt;
&lt;br /&gt;
 Linux&lt;br /&gt;
 mv moodle moodle.backup&lt;br /&gt;
 tar xvzf moodle-1.1.tgz&lt;br /&gt;
&lt;br /&gt;
Next, copy across your config.php, any other plugins such as custom themes, and your .htaccess file if you created one:&lt;br /&gt;
&lt;br /&gt;
 cp moodle.backup/config.php moodle&lt;br /&gt;
 cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to &lt;br /&gt;
&lt;br /&gt;
sudo chown www-data moodle/config.php&lt;br /&gt;
&lt;br /&gt;
if necessary.&lt;br /&gt;
&lt;br /&gt;
=== Using CVS ===&lt;br /&gt;
&lt;br /&gt;
You can use CVS for updating or upgrading your Moodle.&lt;br /&gt;
First you need to do a CVS checkout in your (empty) Moodle root directory.&lt;br /&gt;
&lt;br /&gt;
You can use any of our [[CVS_for_Administrators#CVS_Servers|CVS Mirror servers]]. Just replace &#039;&#039;&#039;SERVER.cvs.moodle.org&#039;&#039;&#039; in the instructions below with the name of the mirror server you chose!.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Linux servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To do a CVS checkout of Moodle, you first have to logon to the Moodle CVS server.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -d:pserver:anonymous@SERVER.cvs.moodle.org:/cvsroot/moodle login&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  No password for anonymous, so just hit the Enter button.&lt;br /&gt;
&lt;br /&gt;
Go to the directory where you want the Moodle root to come and type&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -z3 -d:pserver:anonymous@SERVER.cvs.moodle.org:/cvsroot/moodle co -r MOODLE_18_STABLE moodle&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
  (where MOODLE_18_STABLE is the desired version)&lt;br /&gt;
&lt;br /&gt;
To update, just go into the Moodle root directory and update to the new files:&lt;br /&gt;
&lt;br /&gt;
  cvs update -dP&lt;br /&gt;
To update to a new version type in the following and change 18 to whatever newest version upgrade number is&lt;br /&gt;
  cvs -Q update -dP -r MOODLE_18_STABLE&lt;br /&gt;
&lt;br /&gt;
Make sure you use the &amp;quot;d&amp;quot; parameter to create new directories if necessary, and the &amp;quot;P&amp;quot; parameter to prune empty directories.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Windows servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can use Tortoise CVS to do the initial checkout and the updates.&lt;br /&gt;
&lt;br /&gt;
If you have been editing Moodle files, watch the messages very closely for possible conflicts. All your customised themes and non-standard plugins will be untouched.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to visit the admin page after the CVS update process has completed.&lt;br /&gt;
&lt;br /&gt;
== Finishing the upgrade ==&lt;br /&gt;
&lt;br /&gt;
The last step is to trigger the upgrade processes within Moodle.&lt;br /&gt;
&lt;br /&gt;
To do this just visit the admin page of your installation e.g. &#039;&#039;&amp;lt;nowiki&amp;gt;http://example.com/moodle/admin&amp;lt;/nowiki&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It doesn&#039;t matter if you are logged in as admin or not. If you are upgrading from some older versions you would not be able to login before the upgrade anyway.&lt;br /&gt;
&lt;br /&gt;
Moodle will automatically detect the new version and perform all the database or filesystem upgrades that are necessary. If there is anything it can&#039;t do itself (very rare) then you will see messages telling you what you need to do.&lt;br /&gt;
&lt;br /&gt;
Assuming all goes well (no error messages) then you can start using your new version of Moodle and enjoy the new features!&lt;br /&gt;
&lt;br /&gt;
Please note that if you are running a large scale of moodle site (e.g. have more tha 10,000+ courses and 40,000+ users), make sure that you do your own performance profiling testing before you upgrade to Moodle 1.8.x, as there are still quite a few outstanding (unresolved) performance issues in 1.8.x for large user base installations.&lt;br /&gt;
&lt;br /&gt;
== Verify the upgrade (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you wish to confirm that the database definitions in the upgraded database match the definitions of a new, clean install (which they should) you might like to look at [[Verify Database Schema]].&lt;br /&gt;
&lt;br /&gt;
==Upgrading more than one version==&lt;br /&gt;
&lt;br /&gt;
In general, it is recommended to upgrade via each version of Moodle, for example 1.7 -&amp;gt; 1.8 -&amp;gt; 1.9. An exception to this is when upgrading from 1.5 or 1.6, when it is recommended that 1.7 is skipped, in other words upgrade 1.5 -&amp;gt; 1.6 -&amp;gt; 1.8 -&amp;gt; 1.9. (The main reason for this recommendation is that the default roles settings obtained when upgrading to 1.7 are not ideal for 1.8 onwards.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Installing Moodle]]&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Upgrading to Moodle 1.6]]&lt;br /&gt;
*[[Upgrading to Moodle 1.8]]&lt;br /&gt;
*[[Upgrading to Moodle 1.9]]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems] forum&lt;br /&gt;
*[http://otaru-jc.ac.jp/hagley/howtoupgrademoodlewithcpanel.swf How to upgrade Moodle with cpanel tutorial]&lt;br /&gt;
*[http://youtube.com/watch?v=ufAmf_jm_p8 How to backup a whole Moodle site video]&lt;br /&gt;
*Using Moodle forum discussions: [http://moodle.org/mod/forum/discuss.php?d=26731&amp;amp;parent=125858 Using cvs], [http://moodle.org/mod/forum/discuss.php?d=56915 Upgrading from 1.5.2 to 1.7], [http://moodle.org/mod/forum/discuss.php?d=56991 Upgrade nightmares.... any help appreciated], [http://moodle.org/mod/forum/discuss.php?d=62463 After upgrading i get &amp;quot;Your site may not be secure.&amp;quot; msg]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actualización de moodle]]&lt;br /&gt;
[[fr:Mise à jour]]&lt;br /&gt;
[[ja:アップグレード]]&lt;br /&gt;
[[nl:Upgraden]]&lt;br /&gt;
[[zh:升级]]&lt;br /&gt;
[[pl:Aktualizacja]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=42468</id>
		<title>Upgrading</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=42468"/>
		<updated>2008-08-22T17:09:00Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* SQL dump caveats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle is designed to upgrade cleanly from one version to the next.  Please refer to [[Upgrading to Moodle 1.6]], [[Upgrading to Moodle 1.8]] or [[Upgrading to Moodle 1.9]]  for particular considerations related to the upgraded version.  &lt;br /&gt;
&lt;br /&gt;
Changes that have been made to the original code, such as installing a contributed module (non-standard module) or a site edit of a php file, may not upgrade. This includes modifications to standard themes, that will be overwritten during an upgrade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
When upgrading a Moodle installation you should follow these steps:&lt;br /&gt;
&lt;br /&gt;
==Check the requirements==&lt;br /&gt;
Spend some time re-reading the [[Installing Moodle | installation documentation]] and documentation for the new version. Check the system requirements for the version you are upgrading to in &#039;&#039;Administration &amp;gt; Server &amp;gt; [[Environment]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Backup important data ==&lt;br /&gt;
&lt;br /&gt;
Although it is not strictly necessary, it is always a good idea to make a backup of any production system before a major upgrade, just in case you need to revert back to the older version for some reason. In fact, it&#039;s a good idea to automate your server to backup your Moodle installation daily, so that you can skip this step.&lt;br /&gt;
&lt;br /&gt;
There are three areas that need backing up:&lt;br /&gt;
&lt;br /&gt;
=== 1. The Moodle software directory itself ===&lt;br /&gt;
&lt;br /&gt;
Make a separate copy of these files before the upgrade, so that you can retrieve your config.php and any modules you have added like themes, languages etc&lt;br /&gt;
&lt;br /&gt;
=== 2. Your data directory ===&lt;br /&gt;
&lt;br /&gt;
This is where uploaded content resides (such as course resources and student assignments) so it is very important to have a backup of these files anyway. Sometimes upgrades may move or rename directories within your data directory.&lt;br /&gt;
&lt;br /&gt;
=== 3. Your database ===&lt;br /&gt;
&lt;br /&gt;
Most Moodle upgrades will alter the database tables, adding or changing fields. Each database has different ways to backup. One way of backing up a MySQL database is to &#039;dump&#039; it to a single SQL file. The following example shows Unix commands to dump the database called &amp;quot;moodle&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql&lt;br /&gt;
(The &amp;quot;-a&amp;quot; switch is deprecated and should be replaced by &amp;quot;--create-options&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Substitute your database user account for username. The -p flag will prompt you for the password for the username specified by -u.&lt;br /&gt;
&lt;br /&gt;
If your database host is different from the host you want to execute the backup command (usually the web server), you have to specify it with the -h option to mysqldump:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -h databasehost -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql &lt;br /&gt;
&lt;br /&gt;
You can also use the &amp;quot;Export&amp;quot; feature in Moodle&#039;s optional &amp;quot;MySQL Admin&amp;quot; web interface to do the same thing on all platforms. In Moodle v1.9 and greater, this is located in &#039;&#039;&#039;Site Administration&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Server&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Database&#039;&#039;&#039;. This interface can also be downloaded from http://download.moodle.org/modules/integrations.php. It is an integration of PHPMyAdmin for the Moodle administration interface.&lt;br /&gt;
&lt;br /&gt;
==== SQL dump caveats ====&lt;br /&gt;
&lt;br /&gt;
* Please note that there are a &#039;&#039;&#039;LOT&#039;&#039;&#039; of options possible for mysqldump. Please talk with your Systems Administrator (if you have one) or similar to see if there are site-specific flags you should use for your SQL dump.&lt;br /&gt;
** For example, if your local installation is running MySQL 5.2 and you are moving to a system running MySQL 5.0 or 4.1, you really ought to use the &amp;quot;--compat=mysql40&amp;quot; flag. (This is not too uncommon of a situation given the nature of ISP hosting as compared to local user Moodle setups)&lt;br /&gt;
* This seems obvious, but should be said outright: These instructions only work for dumping from MySQL! Postgresql, Oracle, and other database servers have different tools to dump databases.&lt;br /&gt;
&lt;br /&gt;
== Install the new Moodle software ==&lt;br /&gt;
&lt;br /&gt;
=== Using a downloaded archive ===&lt;br /&gt;
&lt;br /&gt;
@Do not overwrite an old installation unless you know what you are doing ... sometimes old files can cause problems in new installations. The best way is to rename the current Moodle directory to something else, then unpack the new Moodle archive into the old location.&lt;br /&gt;
&lt;br /&gt;
 Linux&lt;br /&gt;
 mv moodle moodle.backup&lt;br /&gt;
 tar xvzf moodle-1.1.tgz&lt;br /&gt;
&lt;br /&gt;
Next, copy across your config.php, any other plugins such as custom themes, and your .htaccess file if you created one:&lt;br /&gt;
&lt;br /&gt;
 cp moodle.backup/config.php moodle&lt;br /&gt;
 cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to &lt;br /&gt;
&lt;br /&gt;
sudo chown www-data moodle/config.php&lt;br /&gt;
&lt;br /&gt;
if necessary.&lt;br /&gt;
&lt;br /&gt;
=== Using CVS ===&lt;br /&gt;
&lt;br /&gt;
You can use CVS for updating or upgrading your Moodle.&lt;br /&gt;
First you need to do a CVS checkout in your (empty) Moodle root directory.&lt;br /&gt;
&lt;br /&gt;
You can use any of our [[CVS_for_Administrators#CVS_Servers|CVS Mirror servers]]. Just replace &#039;&#039;&#039;SERVER.cvs.moodle.org&#039;&#039;&#039; in the instructions below with the name of the mirror server you chose!.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Linux servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To do a CVS checkout of Moodle, you first have to logon to the Moodle CVS server.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -d:pserver:anonymous@SERVER.cvs.moodle.org:/cvsroot/moodle login&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  No password for anonymous, so just hit the Enter button.&lt;br /&gt;
&lt;br /&gt;
Go to the directory where you want the Moodle root to come and type&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -z3 -d:pserver:anonymous@SERVER.cvs.moodle.org:/cvsroot/moodle co -r MOODLE_18_STABLE moodle&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
  (where MOODLE_18_STABLE is the desired version)&lt;br /&gt;
&lt;br /&gt;
To update, just go into the Moodle root directory and update to the new files:&lt;br /&gt;
&lt;br /&gt;
  cvs update -dP&lt;br /&gt;
To update to a new version type in the following and change 18 to whatever newest version upgrade number is&lt;br /&gt;
  cvs -Q update -dP -r MOODLE_18_STABLE&lt;br /&gt;
&lt;br /&gt;
Make sure you use the &amp;quot;d&amp;quot; parameter to create new directories if necessary, and the &amp;quot;P&amp;quot; parameter to prune empty directories.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Windows servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can use Tortoise CVS to do the initial checkout and the updates.&lt;br /&gt;
&lt;br /&gt;
If you have been editing Moodle files, watch the messages very closely for possible conflicts. All your customised themes and non-standard plugins will be untouched.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to visit the admin page after the CVS update process has completed.&lt;br /&gt;
&lt;br /&gt;
== Finishing the upgrade ==&lt;br /&gt;
&lt;br /&gt;
The last step is to trigger the upgrade processes within Moodle.&lt;br /&gt;
&lt;br /&gt;
To do this just visit the admin page of your installation e.g. &#039;&#039;&amp;lt;nowiki&amp;gt;http://example.com/moodle/admin&amp;lt;/nowiki&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It doesn&#039;t matter if you are logged in as admin or not. If you are upgrading from some older versions you would not be able to login before the upgrade anyway.&lt;br /&gt;
&lt;br /&gt;
Moodle will automatically detect the new version and perform all the database or filesystem upgrades that are necessary. If there is anything it can&#039;t do itself (very rare) then you will see messages telling you what you need to do.&lt;br /&gt;
&lt;br /&gt;
Assuming all goes well (no error messages) then you can start using your new version of Moodle and enjoy the new features!&lt;br /&gt;
&lt;br /&gt;
Please note that if you are running a large scale of moodle site (e.g. have more tha 10,000+ courses and 40,000+ users), make sure that you do your own performance profiling testing before you upgrade to Moodle 1.8.x, as there are still quite a few outstanding (unresolved) performance issues in 1.8.x for large user base installations.&lt;br /&gt;
&lt;br /&gt;
== Verify the upgrade (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you wish to confirm that the database definitions in the upgraded database match the definitions of a new, clean install (which they should) you might like to look at [[Verify Database Schema]].&lt;br /&gt;
&lt;br /&gt;
==Upgrading more than one version==&lt;br /&gt;
&lt;br /&gt;
In general, it is recommended to upgrade via each version of Moodle, for example 1.7 -&amp;gt; 1.8 -&amp;gt; 1.9. An exception to this is when upgrading from 1.5 or 1.6, when it is recommended that 1.7 is skipped, in other words upgrade 1.5 -&amp;gt; 1.6 -&amp;gt; 1.8 -&amp;gt; 1.9. (The main reason for this recommendation is that the default roles settings obtained when upgrading to 1.7 are not ideal for 1.8 onwards.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Installing Moodle]]&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Upgrading to Moodle 1.6]]&lt;br /&gt;
*[[Upgrading to Moodle 1.8]]&lt;br /&gt;
*[[Upgrading to Moodle 1.9]]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems] forum&lt;br /&gt;
*[http://otaru-jc.ac.jp/hagley/howtoupgrademoodlewithcpanel.swf How to upgrade Moodle with cpanel tutorial]&lt;br /&gt;
*[http://youtube.com/watch?v=ufAmf_jm_p8 How to backup a whole Moodle site video]&lt;br /&gt;
*Using Moodle forum discussions: [http://moodle.org/mod/forum/discuss.php?d=26731&amp;amp;parent=125858 Using cvs], [http://moodle.org/mod/forum/discuss.php?d=56915 Upgrading from 1.5.2 to 1.7], [http://moodle.org/mod/forum/discuss.php?d=56991 Upgrade nightmares.... any help appreciated], [http://moodle.org/mod/forum/discuss.php?d=62463 After upgrading i get &amp;quot;Your site may not be secure.&amp;quot; msg]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actualización de moodle]]&lt;br /&gt;
[[fr:Mise à jour]]&lt;br /&gt;
[[ja:アップグレード]]&lt;br /&gt;
[[nl:Upgraden]]&lt;br /&gt;
[[zh:升级]]&lt;br /&gt;
[[pl:Aktualizacja]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=42467</id>
		<title>Upgrading</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Upgrading&amp;diff=42467"/>
		<updated>2008-08-22T17:02:30Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* 3. Your database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle is designed to upgrade cleanly from one version to the next.  Please refer to [[Upgrading to Moodle 1.6]], [[Upgrading to Moodle 1.8]] or [[Upgrading to Moodle 1.9]]  for particular considerations related to the upgraded version.  &lt;br /&gt;
&lt;br /&gt;
Changes that have been made to the original code, such as installing a contributed module (non-standard module) or a site edit of a php file, may not upgrade. This includes modifications to standard themes, that will be overwritten during an upgrade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
When upgrading a Moodle installation you should follow these steps:&lt;br /&gt;
&lt;br /&gt;
==Check the requirements==&lt;br /&gt;
Spend some time re-reading the [[Installing Moodle | installation documentation]] and documentation for the new version. Check the system requirements for the version you are upgrading to in &#039;&#039;Administration &amp;gt; Server &amp;gt; [[Environment]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Backup important data ==&lt;br /&gt;
&lt;br /&gt;
Although it is not strictly necessary, it is always a good idea to make a backup of any production system before a major upgrade, just in case you need to revert back to the older version for some reason. In fact, it&#039;s a good idea to automate your server to backup your Moodle installation daily, so that you can skip this step.&lt;br /&gt;
&lt;br /&gt;
There are three areas that need backing up:&lt;br /&gt;
&lt;br /&gt;
=== 1. The Moodle software directory itself ===&lt;br /&gt;
&lt;br /&gt;
Make a separate copy of these files before the upgrade, so that you can retrieve your config.php and any modules you have added like themes, languages etc&lt;br /&gt;
&lt;br /&gt;
=== 2. Your data directory ===&lt;br /&gt;
&lt;br /&gt;
This is where uploaded content resides (such as course resources and student assignments) so it is very important to have a backup of these files anyway. Sometimes upgrades may move or rename directories within your data directory.&lt;br /&gt;
&lt;br /&gt;
=== 3. Your database ===&lt;br /&gt;
&lt;br /&gt;
Most Moodle upgrades will alter the database tables, adding or changing fields. Each database has different ways to backup. One way of backing up a MySQL database is to &#039;dump&#039; it to a single SQL file. The following example shows Unix commands to dump the database called &amp;quot;moodle&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql&lt;br /&gt;
(The &amp;quot;-a&amp;quot; switch is deprecated and should be replaced by &amp;quot;--create-options&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Substitute your database user account for username. The -p flag will prompt you for the password for the username specified by -u.&lt;br /&gt;
&lt;br /&gt;
If your database host is different from the host you want to execute the backup command (usually the web server), you have to specify it with the -h option to mysqldump:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u username -p -h databasehost -C -Q -e -a moodle &amp;gt; moodle-backup-2007-04-01.sql &lt;br /&gt;
&lt;br /&gt;
You can also use the &amp;quot;Export&amp;quot; feature in Moodle&#039;s optional &amp;quot;MySQL Admin&amp;quot; web interface to do the same thing on all platforms. In Moodle v1.9 and greater, this is located in &#039;&#039;&#039;Site Administration&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Server&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Database&#039;&#039;&#039;. This interface can also be downloaded from http://download.moodle.org/modules/integrations.php. It is an integration of PHPMyAdmin for the Moodle administration interface.&lt;br /&gt;
&lt;br /&gt;
==== SQL dump caveats ====&lt;br /&gt;
&lt;br /&gt;
* Please not that there are a &#039;&#039;&#039;LOT&#039;&#039;&#039; of options possible for mysqldump. Please talk with your Systems Administrator (if you have one) or similar to see if there are site-specific flags you should use for your SQL dump.&lt;br /&gt;
** For example, if your local installation is running MySQL 5.2 and you are moving to a system running MySQL 5.0 or 4.1, you really ought to use the &amp;quot;--compat=mysql40&amp;quot; flag. (This is not too uncommon of a situation given the nature of ISP hosting as compared to local user Moodle setups)&lt;br /&gt;
* This seems obvious, but should be said outright: These instructions only work for dumping from MySQL! Postgresql, Oracle, and other database servers have different tools to dump databases.&lt;br /&gt;
&lt;br /&gt;
== Install the new Moodle software ==&lt;br /&gt;
&lt;br /&gt;
=== Using a downloaded archive ===&lt;br /&gt;
&lt;br /&gt;
@Do not overwrite an old installation unless you know what you are doing ... sometimes old files can cause problems in new installations. The best way is to rename the current Moodle directory to something else, then unpack the new Moodle archive into the old location.&lt;br /&gt;
&lt;br /&gt;
 Linux&lt;br /&gt;
 mv moodle moodle.backup&lt;br /&gt;
 tar xvzf moodle-1.1.tgz&lt;br /&gt;
&lt;br /&gt;
Next, copy across your config.php, any other plugins such as custom themes, and your .htaccess file if you created one:&lt;br /&gt;
&lt;br /&gt;
 cp moodle.backup/config.php moodle&lt;br /&gt;
 cp -pr moodle.backup/theme/mytheme moodle/theme/mytheme&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to &lt;br /&gt;
&lt;br /&gt;
sudo chown www-data moodle/config.php&lt;br /&gt;
&lt;br /&gt;
if necessary.&lt;br /&gt;
&lt;br /&gt;
=== Using CVS ===&lt;br /&gt;
&lt;br /&gt;
You can use CVS for updating or upgrading your Moodle.&lt;br /&gt;
First you need to do a CVS checkout in your (empty) Moodle root directory.&lt;br /&gt;
&lt;br /&gt;
You can use any of our [[CVS_for_Administrators#CVS_Servers|CVS Mirror servers]]. Just replace &#039;&#039;&#039;SERVER.cvs.moodle.org&#039;&#039;&#039; in the instructions below with the name of the mirror server you chose!.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Linux servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To do a CVS checkout of Moodle, you first have to logon to the Moodle CVS server.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -d:pserver:anonymous@SERVER.cvs.moodle.org:/cvsroot/moodle login&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  No password for anonymous, so just hit the Enter button.&lt;br /&gt;
&lt;br /&gt;
Go to the directory where you want the Moodle root to come and type&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;cvs -z3 -d:pserver:anonymous@SERVER.cvs.moodle.org:/cvsroot/moodle co -r MOODLE_18_STABLE moodle&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
  (where MOODLE_18_STABLE is the desired version)&lt;br /&gt;
&lt;br /&gt;
To update, just go into the Moodle root directory and update to the new files:&lt;br /&gt;
&lt;br /&gt;
  cvs update -dP&lt;br /&gt;
To update to a new version type in the following and change 18 to whatever newest version upgrade number is&lt;br /&gt;
  cvs -Q update -dP -r MOODLE_18_STABLE&lt;br /&gt;
&lt;br /&gt;
Make sure you use the &amp;quot;d&amp;quot; parameter to create new directories if necessary, and the &amp;quot;P&amp;quot; parameter to prune empty directories.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For Windows servers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can use Tortoise CVS to do the initial checkout and the updates.&lt;br /&gt;
&lt;br /&gt;
If you have been editing Moodle files, watch the messages very closely for possible conflicts. All your customised themes and non-standard plugins will be untouched.&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to visit the admin page after the CVS update process has completed.&lt;br /&gt;
&lt;br /&gt;
== Finishing the upgrade ==&lt;br /&gt;
&lt;br /&gt;
The last step is to trigger the upgrade processes within Moodle.&lt;br /&gt;
&lt;br /&gt;
To do this just visit the admin page of your installation e.g. &#039;&#039;&amp;lt;nowiki&amp;gt;http://example.com/moodle/admin&amp;lt;/nowiki&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It doesn&#039;t matter if you are logged in as admin or not. If you are upgrading from some older versions you would not be able to login before the upgrade anyway.&lt;br /&gt;
&lt;br /&gt;
Moodle will automatically detect the new version and perform all the database or filesystem upgrades that are necessary. If there is anything it can&#039;t do itself (very rare) then you will see messages telling you what you need to do.&lt;br /&gt;
&lt;br /&gt;
Assuming all goes well (no error messages) then you can start using your new version of Moodle and enjoy the new features!&lt;br /&gt;
&lt;br /&gt;
Please note that if you are running a large scale of moodle site (e.g. have more tha 10,000+ courses and 40,000+ users), make sure that you do your own performance profiling testing before you upgrade to Moodle 1.8.x, as there are still quite a few outstanding (unresolved) performance issues in 1.8.x for large user base installations.&lt;br /&gt;
&lt;br /&gt;
== Verify the upgrade (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you wish to confirm that the database definitions in the upgraded database match the definitions of a new, clean install (which they should) you might like to look at [[Verify Database Schema]].&lt;br /&gt;
&lt;br /&gt;
==Upgrading more than one version==&lt;br /&gt;
&lt;br /&gt;
In general, it is recommended to upgrade via each version of Moodle, for example 1.7 -&amp;gt; 1.8 -&amp;gt; 1.9. An exception to this is when upgrading from 1.5 or 1.6, when it is recommended that 1.7 is skipped, in other words upgrade 1.5 -&amp;gt; 1.6 -&amp;gt; 1.8 -&amp;gt; 1.9. (The main reason for this recommendation is that the default roles settings obtained when upgrading to 1.7 are not ideal for 1.8 onwards.)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Installing Moodle]]&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Upgrading to Moodle 1.6]]&lt;br /&gt;
*[[Upgrading to Moodle 1.8]]&lt;br /&gt;
*[[Upgrading to Moodle 1.9]]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems] forum&lt;br /&gt;
*[http://otaru-jc.ac.jp/hagley/howtoupgrademoodlewithcpanel.swf How to upgrade Moodle with cpanel tutorial]&lt;br /&gt;
*[http://youtube.com/watch?v=ufAmf_jm_p8 How to backup a whole Moodle site video]&lt;br /&gt;
*Using Moodle forum discussions: [http://moodle.org/mod/forum/discuss.php?d=26731&amp;amp;parent=125858 Using cvs], [http://moodle.org/mod/forum/discuss.php?d=56915 Upgrading from 1.5.2 to 1.7], [http://moodle.org/mod/forum/discuss.php?d=56991 Upgrade nightmares.... any help appreciated], [http://moodle.org/mod/forum/discuss.php?d=62463 After upgrading i get &amp;quot;Your site may not be secure.&amp;quot; msg]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Actualización de moodle]]&lt;br /&gt;
[[fr:Mise à jour]]&lt;br /&gt;
[[ja:アップグレード]]&lt;br /&gt;
[[nl:Upgraden]]&lt;br /&gt;
[[zh:升级]]&lt;br /&gt;
[[pl:Aktualizacja]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=External_database_authentication&amp;diff=41887</id>
		<title>External database authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=External_database_authentication&amp;diff=41887"/>
		<updated>2008-08-12T18:56:39Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: Settings link in &#039;&#039;Administration &amp;gt; Users &amp;gt; [[Authentication]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This method uses an external database table to check whether a given username and password is valid. If the account is a new one, then information from other fields may also be copied across into Moodle.&lt;br /&gt;
&lt;br /&gt;
This is done by mapping fields at the bottom of the database authentication page. Each data field in the user profile has a text field next to it. Enter the name of the column in the external database that maps to the profile data field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Update Local&#039;&#039;&#039; - Specifies that the external data will be entered into the local field in question&lt;br /&gt;
* On Creation - specifies that this will only happen on the original login when the account is created for the first time.&lt;br /&gt;
* On Every Login - specifies that changes in the external data will be updated on the local Moodle field in question the next time the user logs in again.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Update External&#039;&#039;&#039; - Specifies just the opposite, meaning changes in the local Moodle field in question will update the corresponding field in the external database&lt;br /&gt;
* Never - Specifies this is disabled&lt;br /&gt;
* On Update - Enables this to happen if a change is made locally (additional configuration is probably required)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lock Value&#039;&#039;&#039; - Only determines whether the local user can make a change in the Moodle field and does not affect the two settings above.&lt;br /&gt;
* Unlocked - A user can make changes locally in the Moodle field (assumably even if it contradicts the external database the next login would change it again if Update Local is set&lt;br /&gt;
* Locked - A user can never make changes&lt;br /&gt;
* Unlocked if empty - A user can only make changes if the field is not populated already from the external database (this would seem to indicate a user could only enter something into this field once and could not change it after saving)&lt;br /&gt;
&lt;br /&gt;
==Additional Notes==&lt;br /&gt;
* Some of the things that apply to [[Upload users]] apply to the External database&lt;br /&gt;
** Set password to &amp;quot;changeme&amp;quot; to force password reset&lt;br /&gt;
*** If you do this, it is &#039;&#039;&#039;critical&#039;&#039;&#039; that you provide a URL to change the password!&lt;br /&gt;
* Not all of the fields in the [[Upload users]] are available for the External Database authentication. The only available fields are the fields listed in the data mapping section of the admin page for the External Database connection.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=45444 Special and characters con tilde (accute accent) when connected to external database] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=75519 HELP!--User Authentication problem] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Utiliser une base de données externe]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=External_database_authentication&amp;diff=41886</id>
		<title>External database authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=External_database_authentication&amp;diff=41886"/>
		<updated>2008-08-12T18:53:10Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: Settings link in &#039;&#039;Administration &amp;gt; Users &amp;gt; [[Authentication]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This method uses an external database table to check whether a given username and password is valid. If the account is a new one, then information from other fields may also be copied across into Moodle.&lt;br /&gt;
&lt;br /&gt;
This is done by mapping fields at the bottom of the database authentication page. Each data field in the user profile has a text field next to it. Enter the name of the column in the external database that maps to the profile data field.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Update Local&#039;&#039;&#039; - Specifies that the external data will be entered into the local field in question&lt;br /&gt;
* On Creation - specifies that this will only happen on the original login when the account is created for the first time.&lt;br /&gt;
* On Every Login - specifies that changes in the external data will be updated on the local Moodle field in question the next time the user logs in again.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Update External&#039;&#039;&#039; - Specifies just the opposite, meaning changes in the local Moodle field in question will update the corresponding field in the external database&lt;br /&gt;
* Never - Specifies this is disabled&lt;br /&gt;
* On Update - Enables this to happen if a change is made locally (additional configuration is probably required)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lock Value&#039;&#039;&#039; - Only determines whether the local user can make a change in the Moodle field and does not affect the two settings above.&lt;br /&gt;
* Unlocked - A user can make changes locally in the Moodle field (assumably even if it contradicts the external database the next login would change it again if Update Local is set&lt;br /&gt;
* Locked - A user can never make changes&lt;br /&gt;
* Unlocked if empty - A user can only make changes if the field is not populated already from the external database (this would seem to indicate a user could only enter something into this field once and could not change it after saving)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=45444 Special and characters con tilde (accute accent) when connected to external database] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=75519 HELP!--User Authentication problem] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Utiliser une base de données externe]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41523</id>
		<title>Turnitin administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41523"/>
		<updated>2008-08-06T13:18:12Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
[[Image:Turnitin_admin.gif|thumb|Turnitin administration]]&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Turnitin is a commercial paper submission system, you must have a paid subscription to this service to use this feature. This integration is part of Moodle 2.0, and there is a 3rd party patch available for Moodle 1.9 users.&lt;br /&gt;
&lt;br /&gt;
The patch for 1.9 is available in this forum thread:&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=98199&lt;br /&gt;
&lt;br /&gt;
Look for &amp;quot;TII_Integration_Patch_Beta_2.zip&amp;quot; as an attachment to one of the posts from Dan Marsden.&lt;br /&gt;
&lt;br /&gt;
Direct link to the patches:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/file.php/5/moddata/forum/117/434181/TII_Integration_Patch.zip TII_Integration_Patch.zip] released 29-MAY-2008 (my birthday :) (NOTE: This is the first patch and should not be used. It is listed here for historical reasons only)&lt;br /&gt;
* [http://moodle.org/file.php/5/moddata/forum/117/447205/TII_Integration_Patch_Beta_2.zip TII_Integration_Patch_Beta_2.zip] released 14-JUL-2008 (Bastille day!)&lt;br /&gt;
&lt;br /&gt;
==Activation of your Turnitin Account==&lt;br /&gt;
# obtain a Turnitin Subscription from [http://www.turnitin.com www.turnitin.com]&lt;br /&gt;
# obtain an API Integration secret key from Turnitin Rep. - once you have a Turnitin Subscription, to obtain this you will need to send an e-mail to your Turnitin Account Rep - obtaining this secret key is free.&lt;br /&gt;
&lt;br /&gt;
==Global Configuration of Turnitin==&lt;br /&gt;
# Ensure Admin &amp;gt; Server &amp;gt; Environment indicates you have curl installed&lt;br /&gt;
# in the page Admin &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin set the following:&lt;br /&gt;
## Tick the box &amp;quot;Use Turnitin Submission&amp;quot;&lt;br /&gt;
## Enter your Turnitin Account ID &lt;br /&gt;
## Enter your Turnitin Secret Key as obtained from your Turnitin Account Rep&lt;br /&gt;
## Elect whether to send students an e-mail to allow them to login to the turnitin.com site to view their submissions (this isn&#039;t necessary, and will likely cause your students more confusion, as all the information available in the website is available from your moodle site.) - even if no e-mail is sent, students can visit turnitin.com and use the forgotten password functionality on the turnitin site to get their password sent via e-mail. Admins can disable this by adding a prefix to all email accounts created - see below for details.&lt;br /&gt;
## Add an e-mail prefix if you don&#039;t want students to be able to access the reports on turnitin.com - it is advised that you allow the integration in moodle to control what your students see, however, if you allow them to login to turnitin.com they can bypass the settings made regarding when a report should be available. - it&#039;s also possible that they could potentially upload a file to turnitin.com instead of moodle, which you may not notice. It&#039;s reccommended that you put something in this box to make the e-mail addresses for students stored on the turnitin.com system invalid.&lt;br /&gt;
## Set a Course Prefix - this is not compulsory, however if you have more than 1 Moodle site connecting to the Turnitin API - eg a testing site, and a production site, then a prefix MUST be set, because Turnitin will only allow 1 course with the same name - and only 1 assignment within that course with the same name. - you will potentially get conflicts if this is not set.&lt;br /&gt;
## Set a username, email-address, firstname and surname of a user that does not already exist in your Turnitin account. Turnitin only allows 1 teacher to be assigned to a course, so the integration needs to use a &amp;quot;global teacher&amp;quot; usercode that becomes the default Teacher (Turnitin refer to teachers as &amp;quot;instructors&amp;quot;) to all assignments created in your moodle install.&lt;br /&gt;
## Set the Student Disclosure statement. - this is displayed to all students on the upload screen to notify them that the Turnitin system is in use.&lt;br /&gt;
&lt;br /&gt;
==Configuration of Turnitin inside Moodle Activity Modules==&lt;br /&gt;
===Assignment Module===&lt;br /&gt;
(currently only available with the advanced file upload and single upload types)&lt;br /&gt;
* Create a new Assignment within your course.&lt;br /&gt;
* Enable Turnitin Submission&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
* when testing the turnitin integration you should make sure debugging is turned on, as it will provide information regarding the process.&lt;br /&gt;
* error codes recieved from the turnitin API are also logged in the mdl_tii_files table, so you can view issues with a production system.&lt;br /&gt;
* each file that is going to be submitted to turnitin is added to the table mdl_tii_files - the field tiicode gives the &amp;quot;status&amp;quot; of the file, - there are 3 &amp;quot;good&amp;quot; states for this field:&lt;br /&gt;
# &amp;quot;pending&amp;quot; - this is a new file that has been uploaded to an activity module, and needs to be submitted to Turnitin (will happen next time cron runs)&lt;br /&gt;
# &amp;quot;51&amp;quot; - this is the turnitin API code for Successful upload - this means the file has been uploaded to Turnitin and we are waiting on an originality score,&lt;br /&gt;
# &amp;quot;success&amp;quot; - this is a file that has been submitted, and a score has been provided for it.&lt;br /&gt;
Any other response code in this field indicates an error state. - There is a Turnitin API document in the forums somewhere that I uploaded that details these error codes, and their meaning, I will add them to this wiki page at some point to help with debugging.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41522</id>
		<title>Turnitin administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41522"/>
		<updated>2008-08-06T13:17:39Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
[[Image:Turnitin_admin.gif|thumb|Turnitin administration]]&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Turnitin is a commercial paper submission system, you must have a paid subscription to this service to use this feature. This integration is part of Moodle 2.0, and there is a 3rd party patch available for Moodle 1.9 users.&lt;br /&gt;
&lt;br /&gt;
The patch for 1.9 is available in this forum thread:&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=98199&lt;br /&gt;
&lt;br /&gt;
Look for &amp;quot;TII_Integration_Patch_Beta_2.zip&amp;quot; as an attachment to one of the posts from Dan Marsden.&lt;br /&gt;
&lt;br /&gt;
Direct link to the patches:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/file.php/5/moddata/forum/117/434181/TII_Integration_Patch.zip TII_Integration_Patch.zip] released 29-MAY-2008 (my birthday:) (NOTE: This is the first patch and should not be used. It is listed here for historical reasons only)&lt;br /&gt;
* [http://moodle.org/file.php/5/moddata/forum/117/447205/TII_Integration_Patch_Beta_2.zip TII_Integration_Patch_Beta_2.zip] released 14-JUL-2008 (Bastille day!)&lt;br /&gt;
&lt;br /&gt;
==Activation of your Turnitin Account==&lt;br /&gt;
# obtain a Turnitin Subscription from [http://www.turnitin.com www.turnitin.com]&lt;br /&gt;
# obtain an API Integration secret key from Turnitin Rep. - once you have a Turnitin Subscription, to obtain this you will need to send an e-mail to your Turnitin Account Rep - obtaining this secret key is free.&lt;br /&gt;
&lt;br /&gt;
==Global Configuration of Turnitin==&lt;br /&gt;
# Ensure Admin &amp;gt; Server &amp;gt; Environment indicates you have curl installed&lt;br /&gt;
# in the page Admin &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin set the following:&lt;br /&gt;
## Tick the box &amp;quot;Use Turnitin Submission&amp;quot;&lt;br /&gt;
## Enter your Turnitin Account ID &lt;br /&gt;
## Enter your Turnitin Secret Key as obtained from your Turnitin Account Rep&lt;br /&gt;
## Elect whether to send students an e-mail to allow them to login to the turnitin.com site to view their submissions (this isn&#039;t necessary, and will likely cause your students more confusion, as all the information available in the website is available from your moodle site.) - even if no e-mail is sent, students can visit turnitin.com and use the forgotten password functionality on the turnitin site to get their password sent via e-mail. Admins can disable this by adding a prefix to all email accounts created - see below for details.&lt;br /&gt;
## Add an e-mail prefix if you don&#039;t want students to be able to access the reports on turnitin.com - it is advised that you allow the integration in moodle to control what your students see, however, if you allow them to login to turnitin.com they can bypass the settings made regarding when a report should be available. - it&#039;s also possible that they could potentially upload a file to turnitin.com instead of moodle, which you may not notice. It&#039;s reccommended that you put something in this box to make the e-mail addresses for students stored on the turnitin.com system invalid.&lt;br /&gt;
## Set a Course Prefix - this is not compulsory, however if you have more than 1 Moodle site connecting to the Turnitin API - eg a testing site, and a production site, then a prefix MUST be set, because Turnitin will only allow 1 course with the same name - and only 1 assignment within that course with the same name. - you will potentially get conflicts if this is not set.&lt;br /&gt;
## Set a username, email-address, firstname and surname of a user that does not already exist in your Turnitin account. Turnitin only allows 1 teacher to be assigned to a course, so the integration needs to use a &amp;quot;global teacher&amp;quot; usercode that becomes the default Teacher (Turnitin refer to teachers as &amp;quot;instructors&amp;quot;) to all assignments created in your moodle install.&lt;br /&gt;
## Set the Student Disclosure statement. - this is displayed to all students on the upload screen to notify them that the Turnitin system is in use.&lt;br /&gt;
&lt;br /&gt;
==Configuration of Turnitin inside Moodle Activity Modules==&lt;br /&gt;
===Assignment Module===&lt;br /&gt;
(currently only available with the advanced file upload and single upload types)&lt;br /&gt;
* Create a new Assignment within your course.&lt;br /&gt;
* Enable Turnitin Submission&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
* when testing the turnitin integration you should make sure debugging is turned on, as it will provide information regarding the process.&lt;br /&gt;
* error codes recieved from the turnitin API are also logged in the mdl_tii_files table, so you can view issues with a production system.&lt;br /&gt;
* each file that is going to be submitted to turnitin is added to the table mdl_tii_files - the field tiicode gives the &amp;quot;status&amp;quot; of the file, - there are 3 &amp;quot;good&amp;quot; states for this field:&lt;br /&gt;
# &amp;quot;pending&amp;quot; - this is a new file that has been uploaded to an activity module, and needs to be submitted to Turnitin (will happen next time cron runs)&lt;br /&gt;
# &amp;quot;51&amp;quot; - this is the turnitin API code for Successful upload - this means the file has been uploaded to Turnitin and we are waiting on an originality score,&lt;br /&gt;
# &amp;quot;success&amp;quot; - this is a file that has been submitted, and a score has been provided for it.&lt;br /&gt;
Any other response code in this field indicates an error state. - There is a Turnitin API document in the forums somewhere that I uploaded that details these error codes, and their meaning, I will add them to this wiki page at some point to help with debugging.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41521</id>
		<title>Turnitin administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41521"/>
		<updated>2008-08-06T13:15:19Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
[[Image:Turnitin_admin.gif|thumb|Turnitin administration]]&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Turnitin is a commercial paper submission system, you must have a paid subscription to this service to use this feature. This integration is part of Moodle 2.0, and there is a 3rd party patch available for Moodle 1.9 users.&lt;br /&gt;
&lt;br /&gt;
The patch for 1.9 is available in this forum thread:&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=98199#p451281&lt;br /&gt;
&lt;br /&gt;
Look for &amp;quot;TII_Integration_Patch_Beta_2.zip&amp;quot; as an attachment to one of the posts from Dan Marsden.&lt;br /&gt;
&lt;br /&gt;
Direct link to the patches:&lt;br /&gt;
&lt;br /&gt;
* http://moodle.org/file.php/5/moddata/forum/117/434181/TII_Integration_Patch.zip released 29-MAY-2008 (my birthday:) (NOTE: This is the first patch and should not be used. It is listed here for historical reasons only)&lt;br /&gt;
* http://moodle.org/file.php/5/moddata/forum/117/447205/TII_Integration_Patch_Beta_2.zip released 14-JUL-2008 (Bastille day!)&lt;br /&gt;
&lt;br /&gt;
==Activation of your Turnitin Account==&lt;br /&gt;
# obtain a Turnitin Subscription from [http://www.turnitin.com www.turnitin.com]&lt;br /&gt;
# obtain an API Integration secret key from Turnitin Rep. - once you have a Turnitin Subscription, to obtain this you will need to send an e-mail to your Turnitin Account Rep - obtaining this secret key is free.&lt;br /&gt;
&lt;br /&gt;
==Global Configuration of Turnitin==&lt;br /&gt;
# Ensure Admin &amp;gt; Server &amp;gt; Environment indicates you have curl installed&lt;br /&gt;
# in the page Admin &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin set the following:&lt;br /&gt;
## Tick the box &amp;quot;Use Turnitin Submission&amp;quot;&lt;br /&gt;
## Enter your Turnitin Account ID &lt;br /&gt;
## Enter your Turnitin Secret Key as obtained from your Turnitin Account Rep&lt;br /&gt;
## Elect whether to send students an e-mail to allow them to login to the turnitin.com site to view their submissions (this isn&#039;t necessary, and will likely cause your students more confusion, as all the information available in the website is available from your moodle site.) - even if no e-mail is sent, students can visit turnitin.com and use the forgotten password functionality on the turnitin site to get their password sent via e-mail. Admins can disable this by adding a prefix to all email accounts created - see below for details.&lt;br /&gt;
## Add an e-mail prefix if you don&#039;t want students to be able to access the reports on turnitin.com - it is advised that you allow the integration in moodle to control what your students see, however, if you allow them to login to turnitin.com they can bypass the settings made regarding when a report should be available. - it&#039;s also possible that they could potentially upload a file to turnitin.com instead of moodle, which you may not notice. It&#039;s reccommended that you put something in this box to make the e-mail addresses for students stored on the turnitin.com system invalid.&lt;br /&gt;
## Set a Course Prefix - this is not compulsory, however if you have more than 1 Moodle site connecting to the Turnitin API - eg a testing site, and a production site, then a prefix MUST be set, because Turnitin will only allow 1 course with the same name - and only 1 assignment within that course with the same name. - you will potentially get conflicts if this is not set.&lt;br /&gt;
## Set a username, email-address, firstname and surname of a user that does not already exist in your Turnitin account. Turnitin only allows 1 teacher to be assigned to a course, so the integration needs to use a &amp;quot;global teacher&amp;quot; usercode that becomes the default Teacher (Turnitin refer to teachers as &amp;quot;instructors&amp;quot;) to all assignments created in your moodle install.&lt;br /&gt;
## Set the Student Disclosure statement. - this is displayed to all students on the upload screen to notify them that the Turnitin system is in use.&lt;br /&gt;
&lt;br /&gt;
==Configuration of Turnitin inside Moodle Activity Modules==&lt;br /&gt;
===Assignment Module===&lt;br /&gt;
(currently only available with the advanced file upload and single upload types)&lt;br /&gt;
* Create a new Assignment within your course.&lt;br /&gt;
* Enable Turnitin Submission&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
* when testing the turnitin integration you should make sure debugging is turned on, as it will provide information regarding the process.&lt;br /&gt;
* error codes recieved from the turnitin API are also logged in the mdl_tii_files table, so you can view issues with a production system.&lt;br /&gt;
* each file that is going to be submitted to turnitin is added to the table mdl_tii_files - the field tiicode gives the &amp;quot;status&amp;quot; of the file, - there are 3 &amp;quot;good&amp;quot; states for this field:&lt;br /&gt;
# &amp;quot;pending&amp;quot; - this is a new file that has been uploaded to an activity module, and needs to be submitted to Turnitin (will happen next time cron runs)&lt;br /&gt;
# &amp;quot;51&amp;quot; - this is the turnitin API code for Successful upload - this means the file has been uploaded to Turnitin and we are waiting on an originality score,&lt;br /&gt;
# &amp;quot;success&amp;quot; - this is a file that has been submitted, and a score has been provided for it.&lt;br /&gt;
Any other response code in this field indicates an error state. - There is a Turnitin API document in the forums somewhere that I uploaded that details these error codes, and their meaning, I will add them to this wiki page at some point to help with debugging.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41520</id>
		<title>Turnitin administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41520"/>
		<updated>2008-08-06T13:15:03Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
[[Image:Turnitin_admin.gif|thumb|Turnitin administration]]&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Turnitin is a commercial paper submission system, you must have a paid subscription to this service to use this feature. This integration is part of Moodle 2.0, and there is a 3rd party patch available for Moodle 1.9 users.&lt;br /&gt;
&lt;br /&gt;
The patch for 1.9 is available in this forum thread:&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=98199#p451281&lt;br /&gt;
&lt;br /&gt;
Look for &amp;quot;TII_Integration_Patch_Beta_2.zip&amp;quot; as an attachment to one of the posts from Dan Marsden.&lt;br /&gt;
&lt;br /&gt;
Direct link to the patches:&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/file.php/5/moddata/forum/117/434181/TII_Integration_Patch.zip released 29-MAY-2008 (my birthday:) (NOTE: This is the first patch and should not be used. It is listed here for historical reasons only)&lt;br /&gt;
http://moodle.org/file.php/5/moddata/forum/117/447205/TII_Integration_Patch_Beta_2.zip released 14-JUL-2008 (Bastille day!)&lt;br /&gt;
&lt;br /&gt;
==Activation of your Turnitin Account==&lt;br /&gt;
# obtain a Turnitin Subscription from [http://www.turnitin.com www.turnitin.com]&lt;br /&gt;
# obtain an API Integration secret key from Turnitin Rep. - once you have a Turnitin Subscription, to obtain this you will need to send an e-mail to your Turnitin Account Rep - obtaining this secret key is free.&lt;br /&gt;
&lt;br /&gt;
==Global Configuration of Turnitin==&lt;br /&gt;
# Ensure Admin &amp;gt; Server &amp;gt; Environment indicates you have curl installed&lt;br /&gt;
# in the page Admin &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin set the following:&lt;br /&gt;
## Tick the box &amp;quot;Use Turnitin Submission&amp;quot;&lt;br /&gt;
## Enter your Turnitin Account ID &lt;br /&gt;
## Enter your Turnitin Secret Key as obtained from your Turnitin Account Rep&lt;br /&gt;
## Elect whether to send students an e-mail to allow them to login to the turnitin.com site to view their submissions (this isn&#039;t necessary, and will likely cause your students more confusion, as all the information available in the website is available from your moodle site.) - even if no e-mail is sent, students can visit turnitin.com and use the forgotten password functionality on the turnitin site to get their password sent via e-mail. Admins can disable this by adding a prefix to all email accounts created - see below for details.&lt;br /&gt;
## Add an e-mail prefix if you don&#039;t want students to be able to access the reports on turnitin.com - it is advised that you allow the integration in moodle to control what your students see, however, if you allow them to login to turnitin.com they can bypass the settings made regarding when a report should be available. - it&#039;s also possible that they could potentially upload a file to turnitin.com instead of moodle, which you may not notice. It&#039;s reccommended that you put something in this box to make the e-mail addresses for students stored on the turnitin.com system invalid.&lt;br /&gt;
## Set a Course Prefix - this is not compulsory, however if you have more than 1 Moodle site connecting to the Turnitin API - eg a testing site, and a production site, then a prefix MUST be set, because Turnitin will only allow 1 course with the same name - and only 1 assignment within that course with the same name. - you will potentially get conflicts if this is not set.&lt;br /&gt;
## Set a username, email-address, firstname and surname of a user that does not already exist in your Turnitin account. Turnitin only allows 1 teacher to be assigned to a course, so the integration needs to use a &amp;quot;global teacher&amp;quot; usercode that becomes the default Teacher (Turnitin refer to teachers as &amp;quot;instructors&amp;quot;) to all assignments created in your moodle install.&lt;br /&gt;
## Set the Student Disclosure statement. - this is displayed to all students on the upload screen to notify them that the Turnitin system is in use.&lt;br /&gt;
&lt;br /&gt;
==Configuration of Turnitin inside Moodle Activity Modules==&lt;br /&gt;
===Assignment Module===&lt;br /&gt;
(currently only available with the advanced file upload and single upload types)&lt;br /&gt;
* Create a new Assignment within your course.&lt;br /&gt;
* Enable Turnitin Submission&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
* when testing the turnitin integration you should make sure debugging is turned on, as it will provide information regarding the process.&lt;br /&gt;
* error codes recieved from the turnitin API are also logged in the mdl_tii_files table, so you can view issues with a production system.&lt;br /&gt;
* each file that is going to be submitted to turnitin is added to the table mdl_tii_files - the field tiicode gives the &amp;quot;status&amp;quot; of the file, - there are 3 &amp;quot;good&amp;quot; states for this field:&lt;br /&gt;
# &amp;quot;pending&amp;quot; - this is a new file that has been uploaded to an activity module, and needs to be submitted to Turnitin (will happen next time cron runs)&lt;br /&gt;
# &amp;quot;51&amp;quot; - this is the turnitin API code for Successful upload - this means the file has been uploaded to Turnitin and we are waiting on an originality score,&lt;br /&gt;
# &amp;quot;success&amp;quot; - this is a file that has been submitted, and a score has been provided for it.&lt;br /&gt;
Any other response code in this field indicates an error state. - There is a Turnitin API document in the forums somewhere that I uploaded that details these error codes, and their meaning, I will add them to this wiki page at some point to help with debugging.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41519</id>
		<title>Turnitin administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Turnitin_administration&amp;diff=41519"/>
		<updated>2008-08-06T13:11:56Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
[[Image:Turnitin_admin.gif|thumb|Turnitin administration]]&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
Turnitin is a commercial paper submission system, you must have a paid subscription to this service to use this feature. This integration is part of Moodle 2.0, and there is a 3rd party patch available for Moodle 1.9 users.&lt;br /&gt;
&lt;br /&gt;
The patch for 1.9 is available in this forum thread:&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=98199#p451281&lt;br /&gt;
&lt;br /&gt;
Look for &amp;quot;TII_Integration_Patch_Beta_2.zip&amp;quot; as an attachment to one of the posts from Dan Marsden.&lt;br /&gt;
&lt;br /&gt;
==Activation of your Turnitin Account==&lt;br /&gt;
# obtain a Turnitin Subscription from [http://www.turnitin.com www.turnitin.com]&lt;br /&gt;
# obtain an API Integration secret key from Turnitin Rep. - once you have a Turnitin Subscription, to obtain this you will need to send an e-mail to your Turnitin Account Rep - obtaining this secret key is free.&lt;br /&gt;
&lt;br /&gt;
==Global Configuration of Turnitin==&lt;br /&gt;
# Ensure Admin &amp;gt; Server &amp;gt; Environment indicates you have curl installed&lt;br /&gt;
# in the page Admin &amp;gt; Modules &amp;gt; Activities &amp;gt; Turnitin set the following:&lt;br /&gt;
## Tick the box &amp;quot;Use Turnitin Submission&amp;quot;&lt;br /&gt;
## Enter your Turnitin Account ID &lt;br /&gt;
## Enter your Turnitin Secret Key as obtained from your Turnitin Account Rep&lt;br /&gt;
## Elect whether to send students an e-mail to allow them to login to the turnitin.com site to view their submissions (this isn&#039;t necessary, and will likely cause your students more confusion, as all the information available in the website is available from your moodle site.) - even if no e-mail is sent, students can visit turnitin.com and use the forgotten password functionality on the turnitin site to get their password sent via e-mail. Admins can disable this by adding a prefix to all email accounts created - see below for details.&lt;br /&gt;
## Add an e-mail prefix if you don&#039;t want students to be able to access the reports on turnitin.com - it is advised that you allow the integration in moodle to control what your students see, however, if you allow them to login to turnitin.com they can bypass the settings made regarding when a report should be available. - it&#039;s also possible that they could potentially upload a file to turnitin.com instead of moodle, which you may not notice. It&#039;s reccommended that you put something in this box to make the e-mail addresses for students stored on the turnitin.com system invalid.&lt;br /&gt;
## Set a Course Prefix - this is not compulsory, however if you have more than 1 Moodle site connecting to the Turnitin API - eg a testing site, and a production site, then a prefix MUST be set, because Turnitin will only allow 1 course with the same name - and only 1 assignment within that course with the same name. - you will potentially get conflicts if this is not set.&lt;br /&gt;
## Set a username, email-address, firstname and surname of a user that does not already exist in your Turnitin account. Turnitin only allows 1 teacher to be assigned to a course, so the integration needs to use a &amp;quot;global teacher&amp;quot; usercode that becomes the default Teacher (Turnitin refer to teachers as &amp;quot;instructors&amp;quot;) to all assignments created in your moodle install.&lt;br /&gt;
## Set the Student Disclosure statement. - this is displayed to all students on the upload screen to notify them that the Turnitin system is in use.&lt;br /&gt;
&lt;br /&gt;
==Configuration of Turnitin inside Moodle Activity Modules==&lt;br /&gt;
===Assignment Module===&lt;br /&gt;
(currently only available with the advanced file upload and single upload types)&lt;br /&gt;
* Create a new Assignment within your course.&lt;br /&gt;
* Enable Turnitin Submission&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
* when testing the turnitin integration you should make sure debugging is turned on, as it will provide information regarding the process.&lt;br /&gt;
* error codes recieved from the turnitin API are also logged in the mdl_tii_files table, so you can view issues with a production system.&lt;br /&gt;
* each file that is going to be submitted to turnitin is added to the table mdl_tii_files - the field tiicode gives the &amp;quot;status&amp;quot; of the file, - there are 3 &amp;quot;good&amp;quot; states for this field:&lt;br /&gt;
# &amp;quot;pending&amp;quot; - this is a new file that has been uploaded to an activity module, and needs to be submitted to Turnitin (will happen next time cron runs)&lt;br /&gt;
# &amp;quot;51&amp;quot; - this is the turnitin API code for Successful upload - this means the file has been uploaded to Turnitin and we are waiting on an originality score,&lt;br /&gt;
# &amp;quot;success&amp;quot; - this is a file that has been submitted, and a score has been provided for it.&lt;br /&gt;
Any other response code in this field indicates an error state. - There is a Turnitin API document in the forums somewhere that I uploaded that details these error codes, and their meaning, I will add them to this wiki page at some point to help with debugging.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development_talk:Groups&amp;diff=38987</id>
		<title>Development talk:Groups</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development_talk:Groups&amp;diff=38987"/>
		<updated>2008-06-30T15:52:15Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: New page: What are Groups? Groups of courses? Groups of people? This fundamental question isn&amp;#039;t really addressed on this doc page.  Thanks!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What are Groups? Groups of courses? Groups of people? This fundamental question isn&#039;t really addressed on this doc page.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Podcasting&amp;diff=38260</id>
		<title>Podcasting</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Podcasting&amp;diff=38260"/>
		<updated>2008-06-25T02:38:46Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Podcasting&#039;&#039;&#039; is an easy way to deliver a series of audio files in such a way that people can subscribe and have all current and future &#039;episodes&#039; downloaded automatically to their computer or media player. &lt;br /&gt;
&lt;br /&gt;
== Podcasting in Moodle ==&lt;br /&gt;
&lt;br /&gt;
There are two possibilities for podcasting using Moodle:&lt;br /&gt;
&lt;br /&gt;
* Starting from Moodle 1.6, simply use the discussion forums tool! If you create a discussion forum and activate RSS feeds for the forum, you can simply post messages with media files as attachments. These will be delivered as podcasts in the [[RSS in forums|RSS feed]]. (&#039;&#039;Note:&#039;&#039; This works in some situations and not in others, possibly based on whether or not guest users are able to view the forum. Otherwise the media files may not be accessible by the podcast-receiving software.)&lt;br /&gt;
* Use the optional [[Ipodcast module]] which creates a specific podcasting activity type in Moodle. The advantage of this method is that it includes extra &#039;&#039;metadata&#039;&#039; designed to work well with Apple&#039;s &#039;&#039;iTunes&#039;&#039; software (such as keywords and category labels).&lt;br /&gt;
&lt;br /&gt;
== Podcasting about Moodle ==&lt;br /&gt;
&lt;br /&gt;
You may also like to know that a podcast &#039;&#039;about&#039;&#039; Moodle is in preparation, tentatively called &amp;quot;[[Portal:mCast|mCast]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Software for receiving podcasts ==&lt;br /&gt;
&lt;br /&gt;
* Apple&#039;s [http://www.apple.com/itunes/ iTunes] is currently one of the more popular pieces of software for subscribing to podcasts &lt;br /&gt;
* [http://juicereceiver.sourceforge.net/ Juice] (previously known as &#039;&#039;iPodder&#039;&#039;) which is open-source and available on Windows and Macintosh.&lt;br /&gt;
* [http://getsongbird.com/ Songbird], a truly cross-platform, Open Source media player.&lt;br /&gt;
* [http://www.gnome.org/projects/rhythmbox/ Rhythmbox] for the Gnome Desktop&lt;br /&gt;
* [http://amarok.kde.org/ Amarok] for KDE&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Screencast]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Podcasting Wikipedia article on podcasting]&lt;br /&gt;
* [http://www.apple.com/podcasting Apple webpage on podcasting]&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:RSS]]&lt;br /&gt;
[[pl:Podcasting]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Podcasting&amp;diff=38259</id>
		<title>Podcasting</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Podcasting&amp;diff=38259"/>
		<updated>2008-06-25T02:34:54Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Podcasting&#039;&#039;&#039; is an easy way to deliver a series of audio files in such a way that people can subscribe and have all current and future &#039;episodes&#039; downloaded automatically to their computer or media player. &lt;br /&gt;
&lt;br /&gt;
== Podcasting in Moodle ==&lt;br /&gt;
&lt;br /&gt;
There are two possibilities for podcasting using Moodle:&lt;br /&gt;
&lt;br /&gt;
* Starting from Moodle 1.6, simply use the discussion forums tool! If you create a discussion forum and activate RSS feeds for the forum, you can simply post messages with media files as attachments. These will be delivered as podcasts in the [[RSS in forums|RSS feed]]. (&#039;&#039;Note:&#039;&#039; This works in some situations and not in others, possibly based on whether or not guest users are able to view the forum. Otherwise the media files may not be accessible by the podcast-receiving software.)&lt;br /&gt;
* Use the optional [[Ipodcast module]] which creates a specific podcasting activity type in Moodle. The advantage of this method is that it includes extra &#039;&#039;metadata&#039;&#039; designed to work well with Apple&#039;s &#039;&#039;iTunes&#039;&#039; software (such as keywords and category labels).&lt;br /&gt;
&lt;br /&gt;
== Podcasting about Moodle ==&lt;br /&gt;
&lt;br /&gt;
You may also like to know that a podcast &#039;&#039;about&#039;&#039; Moodle is in preparation, tentatively called &amp;quot;[[Portal:mCast|mCast]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Software for receiving podcasts ==&lt;br /&gt;
&lt;br /&gt;
* Apple&#039;s [http://www.apple.com/itunes/ iTunes] is currently one of the more popular pieces of software for subscribing to podcasts &lt;br /&gt;
* [http://juicereceiver.sourceforge.net/ Juice] (previously known as &#039;&#039;iPodder&#039;&#039;) which is open-source and available on Windows and Macintosh.&lt;br /&gt;
* [http://www.gnome.org/projects/rhythmbox/ Rhythmbox] for the Gnome Desktop&lt;br /&gt;
* [http://amarok.kde.org/ Amarok] for KDE&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Screencast]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Podcasting Wikipedia article on podcasting]&lt;br /&gt;
* [http://www.apple.com/podcasting Apple webpage on podcasting]&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:RSS]]&lt;br /&gt;
[[pl:Podcasting]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Site_policies&amp;diff=37747</id>
		<title>Site policies</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Site_policies&amp;diff=37747"/>
		<updated>2008-06-16T16:43:56Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Disable user profile images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Security &amp;gt; Site policies&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Open to Google==&lt;br /&gt;
&lt;br /&gt;
Enabling this setting allows Google&#039;s search spiders guest access to your site. Any part of the site that allows guest access will then be searchable on Google. In addition, people coming in to your site via a Google search will automatically be logged in as a guest.&lt;br /&gt;
&lt;br /&gt;
==Maximum uploaded file size==&lt;br /&gt;
&lt;br /&gt;
Probably the most frequently asked question in the Moodle.org Using Moodle forums is &amp;quot;How do I increase the upload file size limit?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Upload file sizes are restricted in a number of ways - each one in this list restricts the following ones:&lt;br /&gt;
&lt;br /&gt;
1. The Apache server setting LimitRequestBody ... default in Apache 2.x or greater is set to 0 or an unlimited upload size&lt;br /&gt;
&lt;br /&gt;
2. The PHP site settings post_max_size and upload_max_filesize in php.ini : &#039;&#039;&#039;modify php.ini in web server directories&#039;&#039;&#039; ( apache2.x.x/bin/php.ini ) not in php directories :&lt;br /&gt;
 &lt;br /&gt;
 post_max_size = 128M;  to increase limit to 128 Megabytes;&lt;br /&gt;
 upload_max_filesize = 128M;  to increase limit to 128 Megabytes;&lt;br /&gt;
 max_execution_time = 600 ; Maximum execution time of each script, in seconds;&lt;br /&gt;
&lt;br /&gt;
3. The Moodle site-wide maximum uploaded file size setting: &#039;&#039;Administration &amp;gt; Security &amp;gt; Site policies &amp;gt; Maximum uploaded file size [128M]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
4. The Moodle course maximum uploaded file size setting in the course settings: &#039;&#039;Administration &amp;gt; Courses &amp;gt; Add/Edit courses &amp;gt; select Course category &amp;amp; edit each course &amp;gt; Maximum upload size [128M]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
5. Certain course activity module settings (for example, Assignment)&lt;br /&gt;
&lt;br /&gt;
==Enable messaging system==&lt;br /&gt;
&lt;br /&gt;
Click the checkbox to enable site-wide [[Messaging]].&lt;br /&gt;
&lt;br /&gt;
Note: If you enable the messaging system, all users will be able to send and receive messages at any time. Teachers can&#039;t choose whether or not messaging is allowed between students in their particular course.&lt;br /&gt;
&lt;br /&gt;
==Force users to login==&lt;br /&gt;
&lt;br /&gt;
If you turn this setting on all users must login before they even see the front page of the site.&lt;br /&gt;
&lt;br /&gt;
==Force users to login for profiles==&lt;br /&gt;
&lt;br /&gt;
Leave this set to Yes to keep anonymous visitors away from user profiles. (See the Using Moodle forum discussion [http://moodle.org/mod/forum/discuss.php?d=89061 3rd party spam exploit possible? Help please!].)&lt;br /&gt;
&lt;br /&gt;
==Enable trusted content==&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Development:Trusttext cleaning bypass]] for further information.&lt;br /&gt;
&lt;br /&gt;
==Maximum time to edit posts==&lt;br /&gt;
&lt;br /&gt;
This sets the editing time for forum postings. The editing time is the amount of time users have to change forum postings before they are mailed to subscribers.&lt;br /&gt;
&lt;br /&gt;
Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying &amp;quot;no editing after 30 minutes&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
==Blog visibility==&lt;br /&gt;
&lt;br /&gt;
To enable [[Blogs]], select the level to which user blogs can be viewed.&lt;br /&gt;
&lt;br /&gt;
By default, all site users can see all blogs. Blog visibility may be restricted so that users can only see blogs for people whom they share a course with or whom they share a group with.&lt;br /&gt;
&lt;br /&gt;
Note: This setting is for specifying the maximum context of the VIEWER not the poster. To limit blogging to specific users only, a [[Blogger role]] should be created and users assigned to it in the system context.&lt;br /&gt;
&lt;br /&gt;
==Enable tags functionality==&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}From Moodle 1.9 onwards, users may [[Tags|tag]] themselves and create interest pages around those tags.&lt;br /&gt;
&lt;br /&gt;
==Keep tag name casing==&lt;br /&gt;
&lt;br /&gt;
If checked, then tags like the following will be displayed: SOCCER, gUiTaR, MacDonalds, music&lt;br /&gt;
&lt;br /&gt;
If unchecked, then all tags will be displayed as follows: Soccer, Guitar, Macdonalds, Music&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* For English, off is useful.&lt;br /&gt;
* For Japanese, no changes are made either way.&lt;br /&gt;
* For languages where this kind of capitalization changes the meaning, it is best to keep this option on.&lt;br /&gt;
&lt;br /&gt;
==Password policy==&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}From Moodle 1.9 onwards, a password policy may be set up, ensuring users choose passwords of a certain length etc.&lt;br /&gt;
&lt;br /&gt;
There is a check box to determine if password complexity should be enforced or not, the option to set the minimum length of the password, the minimum number of digits, the minimum number of lowercase characters, the minimum number of uppercase characters and the minimum number of non alphanumeric characters.&lt;br /&gt;
&lt;br /&gt;
If a user enters a password that does not meet those requirements, they are given an error message indicating the nature of the problem with the entered password.&lt;br /&gt;
&lt;br /&gt;
Enforcing password complexity along with requiring users to change their initial password go a long way in helping ensure that users choose and are in fact using &amp;quot;good passwords&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Disable user profile images==&lt;br /&gt;
&lt;br /&gt;
From Moodle 1.9 onwards, the ability for users to change their profile images may be disabled.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How???&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Règles site]]&lt;br /&gt;
[[hu:Portál alapelvei]]&lt;br /&gt;
[[ja:サイトポリシー]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Flexpage_format&amp;diff=37233</id>
		<title>Flexpage format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Flexpage_format&amp;diff=37233"/>
		<updated>2008-06-09T18:21:28Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* The Flex Page Format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Flex Page Format ==&lt;br /&gt;
&lt;br /&gt;
Intel Education engaged with Moodlerooms to develop a new course format and several new community building functions that are now available to the open source community under the standard Moodle license.&lt;br /&gt;
&lt;br /&gt;
The new Moodle course format and community functions are core elements of the new Intel® Teach Essentials Online Course which will train teachers around the world how to use technology effectively in the classroom. To date, after 18 months in development, the Intel® Teach Essentials Online Course has gone live in Russia, Egypt, Brazil and the United States.&lt;br /&gt;
&lt;br /&gt;
For more on FlexPage, please visit: http://development.moodlerooms.com/course/view.php?id=7&lt;br /&gt;
&lt;br /&gt;
(You can self-register for this Moodle course.)&lt;br /&gt;
&lt;br /&gt;
This course was developed by MoodleRooms, Inc. For more information about Moodle partner MoodleRooms, visit http://www.moodlerooms.com &lt;br /&gt;
&lt;br /&gt;
Discussion -- http://moodle.org/mod/forum/discuss.php?d=83817&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Flexpage_format&amp;diff=37232</id>
		<title>Flexpage format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Flexpage_format&amp;diff=37232"/>
		<updated>2008-06-09T18:20:11Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* The Flex Page Format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Flex Page Format ==&lt;br /&gt;
&lt;br /&gt;
Intel Education engaged with Moodlerooms to develop a new course format and several new community building functions that are now available to the open source community under the standard Moodle license.&lt;br /&gt;
&lt;br /&gt;
The new Moodle course format and community functions are core elements of the new Intel® Teach Essentials Online Course which will train teachers around the world how to use technology effectively in the classroom. To date, after 18 months in development, the Intel® Teach Essentials Online Course has gone live in Russia, Egypt, Brazil and the United States.&lt;br /&gt;
&lt;br /&gt;
For more on FlexPage, please visit: http://development.moodlerooms.com/course/view.php?id=7&lt;br /&gt;
&lt;br /&gt;
(You can self-register for this Moodle site)&lt;br /&gt;
&lt;br /&gt;
Moodlerooms is currently developing an online course to support folks interested in using Flexpage with Moodle. -- http://www.moodlerooms.com &lt;br /&gt;
&lt;br /&gt;
Discussion -- http://moodle.org/mod/forum/discuss.php?d=83817&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=User:Jeffrey_Silverman&amp;diff=36890</id>
		<title>User:Jeffrey Silverman</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=User:Jeffrey_Silverman&amp;diff=36890"/>
		<updated>2008-05-29T17:26:48Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* About Me */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=About Me=&lt;br /&gt;
I am a Sysadmin/IT Specialist at MoodleRooms, Inc., headquartered in Baltimore, MD.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development_talk:Coding&amp;diff=36889</id>
		<title>Development talk:Coding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development_talk:Coding&amp;diff=36889"/>
		<updated>2008-05-29T17:25:21Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Single vs Double quotes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Single quotes vs. double quotes: no noticable speed differences... ==&lt;br /&gt;
&lt;br /&gt;
As PHP 4.3.0 is now the minimum version, the speed issue of single quotes vs. double quotes is negligible. See http://phplens.com/lens/php-book/optimizing-debugging-php.php, under &amp;quot;Useless Optimizations&amp;quot;. There might be other reasons, however. I like to use &amp;quot;&amp;quot;. &#039; is more convinient if a string has a lot of &amp;quot;s it it, like &#039;I have no &amp;quot;issues&amp;quot; with the &amp;quot;quotations&amp;quot;&#039;. --[[User:Samuli Karevaara|Samuli Karevaara]] 04:26, 10 October 2006 (CDT)&lt;br /&gt;
: I see that Martin changed the rationale, so single quotes should be used with strings that have parsed variables in them. However, Tim changed the example back to use double quotes :-) --[[User:Samuli Karevaara|Samuli Karevaara]] 00:13, 17 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Using clone() ==&lt;br /&gt;
&lt;br /&gt;
Unless I&#039;m mistaken, there are some cases where we should use Moodle&#039;s full_clone() method. Maybe someone could clarify this...&lt;br /&gt;
: Probably this bit under the item 9: &amp;quot;If the thing you want to copy is not an object, but may contain objects (eg an array of objects) then use fullclone() instead.&amp;quot; --[[User:Samuli Karevaara|Samuli Karevaara]] 00:18, 17 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Single vs Double quotes ==&lt;br /&gt;
&lt;br /&gt;
According to the PHP.net manual page referenced, the memory usage issue for strings is not with single v double quotes, but with parsed variables in strings vs concatenated variables in strings.&lt;br /&gt;
&lt;br /&gt;
As a PHP developer, I find it is overall much better to use double quotes for strings if for no other reason than that you can stick newlines (\n) in. Putting newlines in makes HTML debugging MUCH easier.&lt;br /&gt;
&lt;br /&gt;
Just my $0.02.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
(...some time later...) One more bit about quotes and parsed variables and speed optimizations.&lt;br /&gt;
&lt;br /&gt;
Benchmarks have shown that&lt;br /&gt;
* there is no noticeable difference between single and double quotes for plain strings&lt;br /&gt;
* There is no noticable difference between single and double quotes with concatenated vars (e.g. &amp;quot;string&amp;quot;.$num vs &#039;string&#039;.$num)&lt;br /&gt;
* There IS, however, a performance penalty when double-quoted strings have a variable in them that needs to be parsed (e.g. &amp;quot;string$num&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
I noticed this problem as I was persusing some parts of Moodle 1.8 (the gradebook). Now, I know gradebook has been rewritten for 1.9, but it seems to me that all the occurrences of things like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$thing = $preferences[&amp;quot;$CFG-&amp;gt;blah&amp;quot;];&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should have the double quotes removed! Having quotes in situations like that is ONLY adding a performance penalty, with no coding, readability, or other benefit at all.&lt;br /&gt;
&lt;br /&gt;
hmm... Mayhap this has been addressed already? I don&#039;t know. But I thought I would mention it. Also, this last bit might not have anything to do with the &amp;quot;coding style&amp;quot; guidlines, but I was already talking about single v double quotes so I thought I would add this also.&lt;br /&gt;
&lt;br /&gt;
== Classes and their methods ==&lt;br /&gt;
&lt;br /&gt;
There is nothing regarding classes and methods naming style. Is there an agreement on how to name classes and methods? I mean should I use &amp;quot;class lower_case_name&amp;quot; or &amp;quot;class CamelCaseName&amp;quot;. And similar to methods - shall I type &amp;quot;function say_hello()&amp;quot; or &amp;quot;function sayHello()&amp;quot; if the function is a method of a class? --[[User:David Mudrak|David Mudrak]] 17:30, 10 May 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
: After a skype chat with Eloy and Petr, I added info about using lowercase in this case. --[[User:David Mudrak|David Mudrak]] 14:30, 11 May 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
No Camel Case. classes and methods should follow the same rules as functions: words_separated_by_underscores.--[[User:Tim Hunt|Tim Hunt]] 03:13, 12 May 2008 (CDT)&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development_talk:Coding&amp;diff=36888</id>
		<title>Development talk:Coding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development_talk:Coding&amp;diff=36888"/>
		<updated>2008-05-29T17:24:43Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Single vs Double quotes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Single quotes vs. double quotes: no noticable speed differences... ==&lt;br /&gt;
&lt;br /&gt;
As PHP 4.3.0 is now the minimum version, the speed issue of single quotes vs. double quotes is negligible. See http://phplens.com/lens/php-book/optimizing-debugging-php.php, under &amp;quot;Useless Optimizations&amp;quot;. There might be other reasons, however. I like to use &amp;quot;&amp;quot;. &#039; is more convinient if a string has a lot of &amp;quot;s it it, like &#039;I have no &amp;quot;issues&amp;quot; with the &amp;quot;quotations&amp;quot;&#039;. --[[User:Samuli Karevaara|Samuli Karevaara]] 04:26, 10 October 2006 (CDT)&lt;br /&gt;
: I see that Martin changed the rationale, so single quotes should be used with strings that have parsed variables in them. However, Tim changed the example back to use double quotes :-) --[[User:Samuli Karevaara|Samuli Karevaara]] 00:13, 17 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Using clone() ==&lt;br /&gt;
&lt;br /&gt;
Unless I&#039;m mistaken, there are some cases where we should use Moodle&#039;s full_clone() method. Maybe someone could clarify this...&lt;br /&gt;
: Probably this bit under the item 9: &amp;quot;If the thing you want to copy is not an object, but may contain objects (eg an array of objects) then use fullclone() instead.&amp;quot; --[[User:Samuli Karevaara|Samuli Karevaara]] 00:18, 17 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Single vs Double quotes ==&lt;br /&gt;
&lt;br /&gt;
According to the PHP.net manual page referenced, the memory usage issue for strings is not with single v double quotes, but with parsed variables in strings vs concatenated variables in strings.&lt;br /&gt;
&lt;br /&gt;
As a PHP developer, I find it is overall much better to use double quotes for strings if for no other reason than that you can stick newlines (\n) in. Putting newlines in makes HTML debugging MUCH easier.&lt;br /&gt;
&lt;br /&gt;
Just my $0.02.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
(...some time later...) One more bit about quotes and parsed variables and speed optimizations.&lt;br /&gt;
&lt;br /&gt;
Benchmarks have shown that&lt;br /&gt;
* there is no noticeable difference between single and double quotes for plain strings&lt;br /&gt;
* There is no noticable difference between single and double quotes with concatenated vars (e.g. &amp;quot;string&amp;quot;.$num vs &#039;string&#039;.$num)&lt;br /&gt;
* There IS, however, a performance penalty when double-quoted strings have a variable in them that needs to be parsed (e.g. &amp;quot;string$num&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
I noticed this problem as I was persusing some parts of Moodle 1.8 (the gradebook). Now, I know gradebook has been rewritten for 1.9, but it seems to me that all the occurrences of things like this:&lt;br /&gt;
&lt;br /&gt;
$thing = $preferences[&amp;quot;$CFG-&amp;gt;blah&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
Should have the double quotes removed! Having quotes in situations like that is ONLY adding a performance penalty, with no coding, readability, or other benefit at all.&lt;br /&gt;
&lt;br /&gt;
hmm... Mayhap this has been addressed already? I don&#039;t know. But I thought I would mention it. Also, this last bit might not have anything to do with the &amp;quot;coding style&amp;quot; guidlines, but I was already talking about single v double quotes so I thought I would add this also.&lt;br /&gt;
&lt;br /&gt;
== Classes and their methods ==&lt;br /&gt;
&lt;br /&gt;
There is nothing regarding classes and methods naming style. Is there an agreement on how to name classes and methods? I mean should I use &amp;quot;class lower_case_name&amp;quot; or &amp;quot;class CamelCaseName&amp;quot;. And similar to methods - shall I type &amp;quot;function say_hello()&amp;quot; or &amp;quot;function sayHello()&amp;quot; if the function is a method of a class? --[[User:David Mudrak|David Mudrak]] 17:30, 10 May 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
: After a skype chat with Eloy and Petr, I added info about using lowercase in this case. --[[User:David Mudrak|David Mudrak]] 14:30, 11 May 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
No Camel Case. classes and methods should follow the same rules as functions: words_separated_by_underscores.--[[User:Tim Hunt|Tim Hunt]] 03:13, 12 May 2008 (CDT)&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Elluminate_module&amp;diff=36856</id>
		<title>Elluminate module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Elluminate_module&amp;diff=36856"/>
		<updated>2008-05-28T14:31:43Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Elluminate Bridge for Moodle (v1.0)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For users of the Moodle open-source course management system, the Elluminate Bridge for Moodle enables you to easily and seamlessly integrate live, synchronous distance learning and collaboration into your coursework.&lt;br /&gt;
&lt;br /&gt;
The Elluminate Bridge for Moodle is a non-standard activity module and block that requires purchasing a 3rd party service.  Please see http://www.elluminate.com/moodle_course_management_system.jsp for details on getting started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
This document provides the information necessary to install and configure the Elluminate Bridge for Moodle with the Elluminate &#039;&#039;Live!&#039;&#039; Session Administration System.&lt;br /&gt;
===Audience===&lt;br /&gt;
It is assumed that the user has a basic working knowledge of the following:&lt;br /&gt;
*The Elluminate &#039;&#039;Live!&#039;&#039; web server, services, and the client JNLP files. &lt;br /&gt;
*The administration of Moodle version 1.8.3&lt;br /&gt;
&lt;br /&gt;
==Product Overview==&lt;br /&gt;
The Elluminate Bridge for Moodle will enable your Moodle course management system (CMS) to create and launch Elluminate &#039;&#039;Live!&#039;&#039; sessions and recordings. The Elluminate Bridge for Moodle provides for the following Elluminate &#039;&#039;Live!&#039;&#039; Session Administration System functionality:&lt;br /&gt;
*Create a Public or Private session&lt;br /&gt;
*Set session boundary time&lt;br /&gt;
*Set recording state&lt;br /&gt;
*Provide access to recordings of sessions&lt;br /&gt;
In addition to Session Administration System functionality, the Elluminate Bridge for Moodle provides the following functionality:&lt;br /&gt;
*Grade students on their Elluminate &#039;&#039;Live!&#039;&#039; session attendance&lt;br /&gt;
===Limitations===&lt;br /&gt;
Currently, the Elluminate Bridge for Moodle supports only alphanumeric characters for session names.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Supported Moodle Configuration===&lt;br /&gt;
* Moodle 1.8 (tested with Moodle 1.8.3)&lt;br /&gt;
* Red Hat Enterprise Linux 5&lt;br /&gt;
* Apache HTTP Server 2.2 (tested with Apache HTTP Server 2.2.3-11)&lt;br /&gt;
* MySQL 5.0 (tested with MySQL 5.0.22-2)&lt;br /&gt;
* PHP 5.1 (tested with PHP 5.1.6-15)&lt;br /&gt;
&lt;br /&gt;
===Pre-Installation Requirements===&lt;br /&gt;
Before installing the Elluminate Bridge for Moodle, ensure the following:&lt;br /&gt;
*You have a login group and web service account on the Elluminate &#039;&#039;Live!&#039;&#039; scheduling server (Session Administration System).  This is Elluminate, Inc.&#039;s ASP for Elluminate &#039;&#039;Live!&#039;&#039;  You can get access to a login group and the requisite web service account by &#039;&#039;&#039;contacting the sales team at Elluminate&#039;&#039;&#039; at http://www.elluminate.com/contact.jsp &lt;br /&gt;
*You have received your Elluminate Bridge for Moodle welcome e-mail from Elluminate.&lt;br /&gt;
*A Moodle installation exists on your website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: For the purposes of this document, we’ll refer to your Moodle website as http://your.moodle.site/moodle/ with the Moodle code located in a directory on a server called /var/www/html/moodle/.&lt;br /&gt;
&lt;br /&gt;
===Installing the Elluminate Bridge for Moodle===&lt;br /&gt;
To install the Elluminate Bridge for Moodle on your server, follow the steps below.&lt;br /&gt;
#Download the Elluminate Bridge for Moodle from: http://download.moodle.org/download.php/patches/elluminate.zip&lt;br /&gt;
#Extract the files from elluminate.zip to a temporary location.&lt;br /&gt;
#From the temporary location, copy ‘elluminate/elluminate_sas/blocks/elluminate’ into ‘/var/www/html/moodle/blocks/’.&lt;br /&gt;
#From the temporary location, copy ‘elluminate/elluminate_sas/mod/elluminate’ into ‘/var/www/html/moodle/mod/’.&lt;br /&gt;
#(Optional) If you&#039;re using a theme that displays its own icons, you must copy the Elluminate &#039;&#039;Live!&#039;&#039; activity module icon into your theme’s directory. For example, if you were using the ‘Chameleon’ theme with Moodle, you will need to create an ‘elluminate’ directory in that theme.  For example, copy &#039;/var/www/html/moodle/mod/elluminate/icon.gif&#039; into the following Chameleon directory: &#039;/var/www/html/moodle/theme/chameleon/pix/mod/elluminate/&#039;&lt;br /&gt;
#Visit the Moodle administration page http://your.moodle.site/moodle/admin. This page shows you the progress as the database installation script for the Elluminate Bridge for Moodle is executing.  &amp;lt;br&amp;gt;[[Image:elluminate1.png|none|Database Installation Script]]&lt;br /&gt;
#When installation is complete, click on &#039;&#039;&#039;Continue&#039;&#039;&#039;. You will be notified of any errors or warnings if they exist.  &amp;lt;br&amp;gt;[[Image:elluminate2.png|none|Installation Complete]]&lt;br /&gt;
#Ensure that the Moodle cron job is correctly set up and configured.  For instructions see https://docs.moodle.org/en/Cron.&lt;br /&gt;
&amp;lt;pre&amp;gt;Elluminate &#039;&#039;Live!&#039;&#039; recordings will be visible through the Elluminate &lt;br /&gt;
block only after the Moodle cron job executes (but updating the list of &lt;br /&gt;
recordings step of the cron job will only happen once every 15 minutes).&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
To change the settings of the Elluminate &#039;&#039;Live!&#039;&#039; activity module, follow the steps below.&lt;br /&gt;
#Log in to http://your.moodle.site/moodle/admin as the Moodle Administrator. The Administration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate3.png|none|Administration Page]]&lt;br /&gt;
#Click on &#039;&#039;&#039;Activities&#039;&#039;&#039; in the &#039;&#039;&#039;Site Administration&#039;&#039;&#039; menu. The Activities configuration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate4.png|none|Activities Configuration]]&lt;br /&gt;
#Click on the &#039;&#039;&#039;Settings&#039;&#039;&#039; link for Elluminate &#039;&#039;Live!&#039;&#039; Session. The Elluminate &#039;&#039;Live!&#039;&#039; Session configuration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate5.png|none|Elluminate Settings]]&lt;br /&gt;
#Enter the Elluminate Session Administration Server information (refer to your Elluminate Bridge for Moodle welcome e-mail):&lt;br /&gt;
#*Address of the Elluminate &#039;&#039;Live!&#039;&#039; scheduling server that has been enabled for web services access.&lt;br /&gt;
#*Username and password of the account on the Elluminate &#039;&#039;Live!&#039;&#039; scheduling server to be used for Moodle administration. &lt;br /&gt;
&amp;lt;pre&amp;gt;Do not use the credentials from your welcome email for anything except this &lt;br /&gt;
configuration page (unless directed to do so by an Elluminate support representative).&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Select a boundary time for all Elluminate &#039;&#039;Live!&#039;&#039; sessions. This is the number of minutes (0, 15, 30, 45 or 60) before the scheduled Start Time of a session a participant may join the session. If you want teachers to be able to set their own boundary time, select Choose. Default 15 minutes.  &amp;lt;br&amp;gt;[[Image:elluminate6.png|none|Boundary Time]]&lt;br /&gt;
#Specify whether or not you want Web Services debugging turned on (Yes) or off (No). Default is No.&lt;br /&gt;
#Use the &#039;&#039;&#039;Test connection&#039;&#039;&#039; button to verify that you can connect.  If the &#039;&#039;&#039;Test connection&#039;&#039;&#039; button does not seem to work, ensure that &#039;&#039;Moodle Debug Messages&#039;&#039; is set to NONE under Site Administration &amp;gt; Server &amp;gt; Debugging.&lt;br /&gt;
#Click on &#039;&#039;&#039;Save changes&#039;&#039;&#039; to complete the configuration. &lt;br /&gt;
&lt;br /&gt;
You are now ready to add Elluminate &#039;&#039;Live!&#039;&#039; activities into courses on your site.&lt;br /&gt;
&lt;br /&gt;
==Uninstalling the Elluminate Bridge for Moodle==&lt;br /&gt;
To uninstall the Elluminate Bridge for Moodle from your server, follow the steps below.&lt;br /&gt;
#Log in to http://your.moodle.site/moodle/admin as the Moodle Administrator. The Administration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate7.png|none|Administration Page]]&lt;br /&gt;
#Click on &#039;&#039;&#039;Activities&#039;&#039;&#039; in the &#039;&#039;&#039;Site Administration&#039;&#039;&#039; menu. The Activities configuration page will open.&lt;br /&gt;
#Click on &#039;&#039;&#039;Delete&#039;&#039;&#039; on the Elluminate &#039;&#039;Live!&#039;&#039; Session row in the table and click &#039;&#039;&#039;Yes&#039;&#039;&#039; to confirm deletion.  &amp;lt;br&amp;gt;[[Image:elluminate8.png|none|Activities Configuration]]&lt;br /&gt;
#Click on &#039;&#039;&#039;Blocks&#039;&#039;&#039; in the &#039;&#039;&#039;Site Administration menu&#039;&#039;&#039;. The Blocks configuration page will open.&lt;br /&gt;
#Click on &#039;&#039;&#039;Delete&#039;&#039;&#039; on the Elluminate &#039;&#039;Live!&#039;&#039; row in the table and click &#039;&#039;&#039;Yes&#039;&#039;&#039; to confirm deletion.  &amp;lt;br&amp;gt;[[Image:elluminate9.png|none|Blocks Configuration]]&lt;br /&gt;
#On the file system on your Moodle server, delete the ‘elluminate’ folder from ‘/var/www/html/moodle/mod’.&lt;br /&gt;
#On the file system on your Moodle server, delete the ‘elluminate’ folder from ‘/var/www/html/moodle/blocks’.&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Elluminate_module&amp;diff=36855</id>
		<title>Elluminate module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Elluminate_module&amp;diff=36855"/>
		<updated>2008-05-28T14:26:56Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Uninstalling the Elluminate Bridge for Moodle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Elluminate Bridge for Moodle (v1.0)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For users of the Moodle open-source course management system, the Elluminate Bridge for Moodle enables you to easily and seamlessly integrate live, synchronous distance learning and collaboration into your coursework.&lt;br /&gt;
&lt;br /&gt;
The Elluminate Bridge for Moodle is a non-standard activity module and block that requires purchasing a 3rd party service.  Please see http://www.elluminate.com/moodle_course_management_system.jsp for details on getting started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
This document provides the information necessary to install and configure the Elluminate Bridge for Moodle with the Elluminate &#039;&#039;Live!&#039;&#039; Session Administration System.&lt;br /&gt;
===Audience===&lt;br /&gt;
It is assumed that the user has a basic working knowledge of the following:&lt;br /&gt;
*The Elluminate &#039;&#039;Live!&#039;&#039; web server, services, and the client JNLP files. &lt;br /&gt;
*The administration of Moodle version 1.8.3&lt;br /&gt;
&lt;br /&gt;
==Product Overview==&lt;br /&gt;
The Elluminate Bridge for Moodle will enable your Moodle course management system (CMS) to create and launch Elluminate &#039;&#039;Live!&#039;&#039; sessions and recordings. The Elluminate Bridge for Moodle provides for the following Elluminate &#039;&#039;Live!&#039;&#039; Session Administration System functionality:&lt;br /&gt;
*Create a Public or Private session&lt;br /&gt;
*Set session boundary time&lt;br /&gt;
*Set recording state&lt;br /&gt;
*Provide access to recordings of sessions&lt;br /&gt;
In addition to Session Administration System functionality, the Elluminate Bridge for Moodle provides the following functionality:&lt;br /&gt;
*Grade students on their Elluminate &#039;&#039;Live!&#039;&#039; session attendance&lt;br /&gt;
===Limitations===&lt;br /&gt;
Currently, the Elluminate Bridge for Moodle supports only alphanumeric characters for session names.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Supported Moodle Configuration===&lt;br /&gt;
* Moodle 1.8 (tested with Moodle 1.8.3)&lt;br /&gt;
* Red Hat Enterprise Linux 5&lt;br /&gt;
* Apache HTTP Server 2.2 (tested with Apache HTTP Server 2.2.3-11)&lt;br /&gt;
* MySQL 5.0 (tested with MySQL 5.0.22-2)&lt;br /&gt;
* PHP 5.1 (tested with PHP 5.1.6-15)&lt;br /&gt;
&lt;br /&gt;
===Pre-Installation Requirements===&lt;br /&gt;
Before installing the Elluminate Bridge for Moodle, ensure the following:&lt;br /&gt;
*You have a login group and web service account on the Elluminate &#039;&#039;Live!&#039;&#039; scheduling server (Session Administration System).  This is Elluminate, Inc.&#039;s ASP for Elluminate &#039;&#039;Live!&#039;&#039;  You can get access to a login group and the requisite web service account by &#039;&#039;&#039;contacting the sales team at Elluminate&#039;&#039;&#039; at http://www.elluminate.com/contact.jsp &lt;br /&gt;
*You have received your Elluminate Bridge for Moodle welcome e-mail from Elluminate.&lt;br /&gt;
*A Moodle installation exists on your website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: For the purposes of this document, we’ll refer to your Moodle website as http://www.mysite.net/moodle/ with the Moodle code located in a directory on a server called /var/www/html/moodle/.&lt;br /&gt;
&lt;br /&gt;
===Installing the Elluminate Bridge for Moodle===&lt;br /&gt;
To install the Elluminate Bridge for Moodle on your server, follow the steps below.&lt;br /&gt;
#Download the Elluminate Bridge for Moodle from: http://download.moodle.org/download.php/patches/elluminate.zip&lt;br /&gt;
#Extract the files from elluminate.zip to a temporary location.&lt;br /&gt;
#From the temporary location, copy ‘elluminate/elluminate_sas/blocks/elluminate’ into ‘/var/www/html/moodle/blocks/’.&lt;br /&gt;
#From the temporary location, copy ‘elluminate/elluminate_sas/mod/elluminate’ into ‘/var/www/html/moodle/mod/’.&lt;br /&gt;
#(Optional) If you&#039;re using a theme that displays its own icons, you must copy the Elluminate &#039;&#039;Live!&#039;&#039; activity module icon into your theme’s directory. For example, if you were using the ‘Chameleon’ theme with Moodle, you will need to create an ‘elluminate’ directory in that theme.  For example, copy &#039;/var/www/html/moodle/mod/elluminate/icon.gif&#039; into the following Chameleon directory: &#039;/var/www/html/moodle/theme/chameleon/pix/mod/elluminate/&#039;&lt;br /&gt;
#Visit the Moodle administration page http://www.mysite.net/moodle/admin. This page shows you the progress as the database installation script for the Elluminate Bridge for Moodle is executing.  &amp;lt;br&amp;gt;[[Image:elluminate1.png|none|Database Installation Script]]&lt;br /&gt;
#When installation is complete, click on &#039;&#039;&#039;Continue&#039;&#039;&#039;. You will be notified of any errors or warnings if they exist.  &amp;lt;br&amp;gt;[[Image:elluminate2.png|none|Installation Complete]]&lt;br /&gt;
#Ensure that the Moodle cron job is correctly set up and configured.  For instructions see https://docs.moodle.org/en/Cron.&lt;br /&gt;
&amp;lt;pre&amp;gt;Elluminate &#039;&#039;Live!&#039;&#039; recordings will be visible through the Elluminate &lt;br /&gt;
block only after the Moodle cron job executes (but updating the list of &lt;br /&gt;
recordings step of the cron job will only happen once every 15 minutes).&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
To change the settings of the Elluminate &#039;&#039;Live!&#039;&#039; activity module, follow the steps below.&lt;br /&gt;
#Log in to http://www.mysite.net/moodle/admin as the Moodle Administrator. The Administration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate3.png|none|Administration Page]]&lt;br /&gt;
#Click on &#039;&#039;&#039;Activities&#039;&#039;&#039; in the &#039;&#039;&#039;Site Administration&#039;&#039;&#039; menu. The Activities configuration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate4.png|none|Activities Configuration]]&lt;br /&gt;
#Click on the &#039;&#039;&#039;Settings&#039;&#039;&#039; link for Elluminate &#039;&#039;Live!&#039;&#039; Session. The Elluminate &#039;&#039;Live!&#039;&#039; Session configuration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate5.png|none|Elluminate Settings]]&lt;br /&gt;
#Enter the Elluminate Session Administration Server information (refer to your Elluminate Bridge for Moodle welcome e-mail):&lt;br /&gt;
#*Address of the Elluminate &#039;&#039;Live!&#039;&#039; scheduling server that has been enabled for web services access.&lt;br /&gt;
#*Username and password of the account on the Elluminate &#039;&#039;Live!&#039;&#039; scheduling server to be used for Moodle administration. &lt;br /&gt;
&amp;lt;pre&amp;gt;Do not use the credentials from your welcome email for anything except this &lt;br /&gt;
configuration page (unless directed to do so by an Elluminate support representative).&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Select a boundary time for all Elluminate &#039;&#039;Live!&#039;&#039; sessions. This is the number of minutes (0, 15, 30, 45 or 60) before the scheduled Start Time of a session a participant may join the session. If you want teachers to be able to set their own boundary time, select Choose. Default 15 minutes.  &amp;lt;br&amp;gt;[[Image:elluminate6.png|none|Boundary Time]]&lt;br /&gt;
#Specify whether or not you want Web Services debugging turned on (Yes) or off (No). Default is No.&lt;br /&gt;
#Use the &#039;&#039;&#039;Test connection&#039;&#039;&#039; button to verify that you can connect.  If the &#039;&#039;&#039;Test connection&#039;&#039;&#039; button does not seem to work, ensure that &#039;&#039;Moodle Debug Messages&#039;&#039; is set to NONE under Site Administration &amp;gt; Server &amp;gt; Debugging.&lt;br /&gt;
#Click on &#039;&#039;&#039;Save changes&#039;&#039;&#039; to complete the configuration. &lt;br /&gt;
&lt;br /&gt;
You are now ready to add Elluminate &#039;&#039;Live!&#039;&#039; activities into courses on your site.&lt;br /&gt;
&lt;br /&gt;
==Uninstalling the Elluminate Bridge for Moodle==&lt;br /&gt;
To uninstall the Elluminate Bridge for Moodle from your server, follow the steps below.&lt;br /&gt;
#Log in to http://your.moodle.site/moodle/admin as the Moodle Administrator. The Administration page will open.  &amp;lt;br&amp;gt;[[Image:elluminate7.png|none|Administration Page]]&lt;br /&gt;
#Click on &#039;&#039;&#039;Activities&#039;&#039;&#039; in the &#039;&#039;&#039;Site Administration&#039;&#039;&#039; menu. The Activities configuration page will open.&lt;br /&gt;
#Click on &#039;&#039;&#039;Delete&#039;&#039;&#039; on the Elluminate &#039;&#039;Live!&#039;&#039; Session row in the table and click &#039;&#039;&#039;Yes&#039;&#039;&#039; to confirm deletion.  &amp;lt;br&amp;gt;[[Image:elluminate8.png|none|Activities Configuration]]&lt;br /&gt;
#Click on &#039;&#039;&#039;Blocks&#039;&#039;&#039; in the &#039;&#039;&#039;Site Administration menu&#039;&#039;&#039;. The Blocks configuration page will open.&lt;br /&gt;
#Click on &#039;&#039;&#039;Delete&#039;&#039;&#039; on the Elluminate &#039;&#039;Live!&#039;&#039; row in the table and click &#039;&#039;&#039;Yes&#039;&#039;&#039; to confirm deletion.  &amp;lt;br&amp;gt;[[Image:elluminate9.png|none|Blocks Configuration]]&lt;br /&gt;
#On the file system on your Moodle server, delete the ‘elluminate’ folder from ‘/var/www/html/moodle/mod’.&lt;br /&gt;
#On the file system on your Moodle server, delete the ‘elluminate’ folder from ‘/var/www/html/moodle/blocks’.&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Talk:Cron&amp;diff=36310</id>
		<title>Talk:Cron</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Talk:Cron&amp;diff=36310"/>
		<updated>2008-05-16T17:36:30Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: Since wget is being used to run the cron.php script anyway, you can really run this ANYWHERE&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For setting-up cron using the Windows scheduler, a simpler way (avoiding the use of wget) is to set the task to run PHP instead (see the performance documentation). To do this set the run command as c:\php\php.exe -f f:\moodle\admin\cron.php. Several assumptions about paths here: php is installed in c:\php and moodle is installed on drive F:, so adjust to suit your own setup. [[User:Ken Wilson|Ken Wilson]] 20:04, 16 August 2006 (WST)&lt;br /&gt;
&lt;br /&gt;
Hi all,&lt;br /&gt;
I looked for a forum link on this page that will take one to a forum that work with cron, it would really help for dummies like myself, i posted the server code and when i posted it gave me this error msg&lt;br /&gt;
&amp;quot;/tmp/crontab_ecoach&amp;quot;:0: bad minute errors in crontab file, can&#039;t install&lt;br /&gt;
but i dont see any problem with it&lt;br /&gt;
Steven Putter&lt;br /&gt;
&lt;br /&gt;
== Since wget is being used to run the cron.php script anyway, you can really run this ANYWHERE ==&lt;br /&gt;
&lt;br /&gt;
It is important to note that since the cron.php script is not run internally by Moodle, but by an outside interaction, you can really run a cron job on ANY server that runs the cron.php on your Moodle installation.&lt;br /&gt;
&lt;br /&gt;
So, for example, if you have a Moodle install at an ISP that does not let you run cron jobs, but you have, say, a DSLline at home, you can use any of your Linux computers at home to run cron.  (you do use Linux at home, right? :)&lt;br /&gt;
&lt;br /&gt;
And the beauty of it is, the crontab line is *exactly* the same as listed in the main article. It just points to an outside URL.&lt;br /&gt;
&lt;br /&gt;
Now, I mention this because at one point I had configured a server to run Moodle but, in the interest of security, I did not have wget available on the server.  (cron was available, but not wget).&lt;br /&gt;
&lt;br /&gt;
Well, the easiest thing to do was to just run a cron job somewhere else.&lt;br /&gt;
&lt;br /&gt;
Alrighty, seeyalater!&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Development_talk:Coding&amp;diff=33502</id>
		<title>Development talk:Coding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Development_talk:Coding&amp;diff=33502"/>
		<updated>2008-03-12T16:24:59Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: Single vs Double quotes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Single quotes vs. double quotes: no noticable speed differences... ==&lt;br /&gt;
&lt;br /&gt;
As PHP 4.3.0 is now the minimum version, the speed issue of single quotes vs. double quotes is negligible. See http://phplens.com/lens/php-book/optimizing-debugging-php.php, under &amp;quot;Useless Optimizations&amp;quot;. There might be other reasons, however. I like to use &amp;quot;&amp;quot;. &#039; is more convinient if a string has a lot of &amp;quot;s it it, like &#039;I have no &amp;quot;issues&amp;quot; with the &amp;quot;quotations&amp;quot;&#039;. --[[User:Samuli Karevaara|Samuli Karevaara]] 04:26, 10 October 2006 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Using clone() ==&lt;br /&gt;
&lt;br /&gt;
Unless I&#039;m mistaken, there are some cases where we should use Moodle&#039;s full_clone() method. Maybe someone could clarify this...&lt;br /&gt;
&lt;br /&gt;
== Single vs Double quotes ==&lt;br /&gt;
&lt;br /&gt;
According to the PHP.net manual page referenced, the memory usage issue for strings is not with single v double quotes, but with parsed variables in strings vs concatenated variables in strings.&lt;br /&gt;
&lt;br /&gt;
As a PHP developer, I find it is overall much better to use double quotes for strings if for no other reason than that you can stick newlines (\n) in. Putting newlines in makes HTML debugging MUCH easier.&lt;br /&gt;
&lt;br /&gt;
Just my $0.02.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=User:Jeffrey_Silverman&amp;diff=26395</id>
		<title>User:Jeffrey Silverman</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=User:Jeffrey_Silverman&amp;diff=26395"/>
		<updated>2007-08-28T14:03:31Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=About Me=&lt;br /&gt;
I am a developer at The Johns Hopkins University in Baltimore, MD. I work for (this is long) Whiting School of Engineering&#039;s Engineering Programs for Professionals On-line Programs. (i.e. &amp;quot;Distance Ed&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26394</id>
		<title>Blackboard migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26394"/>
		<updated>2007-08-28T14:01:57Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: /* Example Migration of One Test Course */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A [http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard content conversion tool] is available. It was designed to migrate Blackboard 6.1 to Moodle 1.4+ - it may be possible to make it work with other versions.&lt;br /&gt;
&lt;br /&gt;
According to Michael Penney in the forum discussion [http://moodle.org/mod/forum/discuss.php?d=1565 Migrating 10000 students from Blackboard to Moodle?] &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;quot;It works pretty well with a couple of caveats:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;1) It doesn&#039;t import all Blackboard question types: at CSU H, we wrote an essay question type and a &#039;rendered match&#039; question type and a BB pool importer, we&#039;d like to work with SF and others to get our qtype importer into theirs.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;2) SF&#039;s tool is designed to make you think about your course when you import it and redesign it. That is a nice idea, however it can be pretty time consuming when you have hundreds of documents in a course (&amp;lt;rant&amp;gt;Blackboard&#039;s poor content development tools encourage what I call the &#039;datadump&#039; course format, instead of delivering information in an effective elearning tool like Moodle&#039;s lesson, with BB folks tend to post hundreds of office documents and then massive quizzes about them&amp;lt;/rant&amp;gt;).&#039;&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We recently migrated about 200 courses from Blackboard 6 to Moodle 1.5+, and I made a [http://instructor.metrotech.org/~mcampbell/Converting%20Blackboard%20to%20Moodle.ppt PowerPoint] for this routine.  I&#039;ve been asked to make a Captivate just on the import routine and will work on that.&lt;br /&gt;
&lt;br /&gt;
==Example Migration of One Test Course==&lt;br /&gt;
&#039;&#039;&#039;by [[User:Jeffrey Silverman|Jeff Silverman]], The Johns Hopkins University&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;(Note: I am a novice Moodler. This is a description of what I did to move a single exported BlackBoard course to my out-of-the-box Moodle test installation.  I had a number of questions about the process and I hope this example helps answer them for someone else.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===When===&lt;br /&gt;
This test procedure was performed during the week of 20-Aug-2007&lt;br /&gt;
&lt;br /&gt;
===Versions===&lt;br /&gt;
* Moodle 1.8&lt;br /&gt;
* BlackBoard 7.1 &amp;quot;basic&amp;quot; (unconfirmed)&lt;br /&gt;
&lt;br /&gt;
===Procedure===&lt;br /&gt;
# Export course content from Bb. This step was done by someone else! I do not know how to do this, what options were chosen, etc.  I do know that I got a .zip file that I think is a &amp;quot;Course Archive&amp;quot;.&lt;br /&gt;
# Import course into Moodle. (Needs to be done by a user with the necessary privileges. I have only one user in my Moodle installation, the &amp;quot;Admin&amp;quot; user, and he (she?) is the &amp;quot;Site Administrator&amp;quot;).&lt;br /&gt;
## Create new course&lt;br /&gt;
## Go to &amp;quot;Restore&amp;quot; under the course administrative tools&lt;br /&gt;
## Choose a file to upload; upload the Bb .zip file&lt;br /&gt;
## Choose &amp;quot;import&amp;quot; -- in another page or two you will get to say to restore this as a &amp;quot;New Course&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Questions===&lt;br /&gt;
Some of my questions were as follows:&lt;br /&gt;
&lt;br /&gt;
# Do you have to create a new course?&lt;br /&gt;
## Aparent answer: YES. Personally, I found this very counter-intuitive, as &amp;quot;importing a course&amp;quot; or &amp;quot;restore from backup&amp;quot; or other similar administrative tasks seem to me to be on a level outside a specific course.  For example, having the &amp;quot;Restore&amp;quot; feature only available in the admin tools for a particular course makes it seem like the restoration will only work for that course -- but that is not true.  You can use any course&#039;s &amp;quot;Restore&amp;quot; link in the admin tools and choose &amp;quot;Create a New Course&amp;quot; mid-way through the retoration procedure. But creating a new course from backup that has nothing to do with the course in which one has clicked the &amp;quot;Restore&amp;quot; link is, like I said, counter-intuitive. And, to top it off, I could find no mention of this until I had already clicked on &amp;quot;Restore&amp;quot;. Looks like I need to add some information to the &amp;quot;administrative tools&amp;quot; or &amp;quot;backup/restore&amp;quot; docs, hm? :)&lt;br /&gt;
# Is there a specific &amp;quot;Bb-to-Moodle&amp;quot; conversion tool?&lt;br /&gt;
## Answer: NO. Unlike the WebCT-to-Moodle conversion, [[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=94 which requires a specific add-on]], Bb conversion is now built in.&lt;br /&gt;
# What format does the Bb export have to be in?&lt;br /&gt;
# What versions of Bb and Moodle will this work for?&lt;br /&gt;
# There is a tool floating around called &amp;quot;[[http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard Content Conversion Tool (CCT)]]&amp;quot; that sounds useful for converting Bb to Moodle. Do I need it?&lt;br /&gt;
## Answer: NO.  Actually, I had a bunch of questions about that tool, too, but ultimately I did not need it.&lt;br /&gt;
### Does the CCT run on the server where Bb is running?&lt;br /&gt;
### Does it interact, somehow, directly with the Bb instance?&lt;br /&gt;
### Or does it run on the Moodle server and do the import from Bb into Moodle?&lt;br /&gt;
# Others...&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=78521 Migrate a course from Blackboard to Moodle] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26393</id>
		<title>Blackboard migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26393"/>
		<updated>2007-08-28T14:00:44Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A [http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard content conversion tool] is available. It was designed to migrate Blackboard 6.1 to Moodle 1.4+ - it may be possible to make it work with other versions.&lt;br /&gt;
&lt;br /&gt;
According to Michael Penney in the forum discussion [http://moodle.org/mod/forum/discuss.php?d=1565 Migrating 10000 students from Blackboard to Moodle?] &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;quot;It works pretty well with a couple of caveats:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;1) It doesn&#039;t import all Blackboard question types: at CSU H, we wrote an essay question type and a &#039;rendered match&#039; question type and a BB pool importer, we&#039;d like to work with SF and others to get our qtype importer into theirs.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;2) SF&#039;s tool is designed to make you think about your course when you import it and redesign it. That is a nice idea, however it can be pretty time consuming when you have hundreds of documents in a course (&amp;lt;rant&amp;gt;Blackboard&#039;s poor content development tools encourage what I call the &#039;datadump&#039; course format, instead of delivering information in an effective elearning tool like Moodle&#039;s lesson, with BB folks tend to post hundreds of office documents and then massive quizzes about them&amp;lt;/rant&amp;gt;).&#039;&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We recently migrated about 200 courses from Blackboard 6 to Moodle 1.5+, and I made a [http://instructor.metrotech.org/~mcampbell/Converting%20Blackboard%20to%20Moodle.ppt PowerPoint] for this routine.  I&#039;ve been asked to make a Captivate just on the import routine and will work on that.&lt;br /&gt;
&lt;br /&gt;
==Example Migration of One Test Course==&lt;br /&gt;
&#039;&#039;&#039;by [[User:Jeffrey Silverman]], The Johns Hopkins University&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;(Note: I am a novice Moodler. This is a description of what I did to move a single exported BlackBoard course to my out-of-the-box Moodle test installation.  I had a number of questions about the process and I hope this example helps answer them for someone else.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===When===&lt;br /&gt;
This test procedure was performed during the week of 20-Aug-2007&lt;br /&gt;
&lt;br /&gt;
===Versions===&lt;br /&gt;
* Moodle 1.8&lt;br /&gt;
* BlackBoard 7.1 &amp;quot;basic&amp;quot; (unconfirmed)&lt;br /&gt;
&lt;br /&gt;
===Procedure===&lt;br /&gt;
# Export course content from Bb. This step was done by someone else! I do not know how to do this, what options were chosen, etc.  I do know that I got a .zip file that I think is a &amp;quot;Course Archive&amp;quot;.&lt;br /&gt;
# Import course into Moodle. (Needs to be done by a user with the necessary privileges. I have only one user in my Moodle installation, the &amp;quot;Admin&amp;quot; user, and he (she?) is the &amp;quot;Site Administrator&amp;quot;).&lt;br /&gt;
## Create new course&lt;br /&gt;
## Go to &amp;quot;Restore&amp;quot; under the course administrative tools&lt;br /&gt;
## Choose a file to upload; upload the Bb .zip file&lt;br /&gt;
## Choose &amp;quot;import&amp;quot; -- in another page or two you will get to say to restore this as a &amp;quot;New Course&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Questions===&lt;br /&gt;
Some of my questions were as follows:&lt;br /&gt;
&lt;br /&gt;
# Do you have to create a new course?&lt;br /&gt;
## Aparent answer: YES. Personally, I found this very counter-intuitive, as &amp;quot;importing a course&amp;quot; or &amp;quot;restore from backup&amp;quot; or other similar administrative tasks seem to me to be on a level outside a specific course.  For example, having the &amp;quot;Restore&amp;quot; feature only available in the admin tools for a particular course makes it seem like the restoration will only work for that course -- but that is not true.  You can use any course&#039;s &amp;quot;Restore&amp;quot; link in the admin tools and choose &amp;quot;Create a New Course&amp;quot; mid-way through the retoration procedure. But creating a new course from backup that has nothing to do with the course in which one has clicked the &amp;quot;Restore&amp;quot; link is, like I said, counter-intuitive. And, to top it off, I could find no mention of this until I had already clicked on &amp;quot;Restore&amp;quot;. Looks like I need to add some information to the &amp;quot;administrative tools&amp;quot; or &amp;quot;backup/restore&amp;quot; docs, hm? :)&lt;br /&gt;
# Is there a specific &amp;quot;Bb-to-Moodle&amp;quot; conversion tool?&lt;br /&gt;
## Answer: NO. Unlike the WebCT-to-Moodle conversion, [[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=94 which requires a specific add-on]], Bb conversion is now built in.&lt;br /&gt;
# What format does the Bb export have to be in?&lt;br /&gt;
# What versions of Bb and Moodle will this work for?&lt;br /&gt;
# There is a tool floating around called &amp;quot;[[http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard Content Conversion Tool (CCT)]]&amp;quot; that sounds useful for converting Bb to Moodle. Do I need it?&lt;br /&gt;
## Answer: NO.  Actually, I had a bunch of questions about that tool, too, but ultimately I did not need it.&lt;br /&gt;
### Does the CCT run on the server where Bb is running?&lt;br /&gt;
### Does it interact, somehow, directly with the Bb instance?&lt;br /&gt;
### Or does it run on the Moodle server and do the import from Bb into Moodle?&lt;br /&gt;
# Others...&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=78521 Migrate a course from Blackboard to Moodle] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26392</id>
		<title>Blackboard migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26392"/>
		<updated>2007-08-28T13:56:40Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A [http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard content conversion tool] is available. It was designed to migrate Blackboard 6.1 to Moodle 1.4+ - it may be possible to make it work with other versions.&lt;br /&gt;
&lt;br /&gt;
According to Michael Penney in the forum discussion [http://moodle.org/mod/forum/discuss.php?d=1565 Migrating 10000 students from Blackboard to Moodle?] &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;quot;It works pretty well with a couple of caveats:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;1) It doesn&#039;t import all Blackboard question types: at CSU H, we wrote an essay question type and a &#039;rendered match&#039; question type and a BB pool importer, we&#039;d like to work with SF and others to get our qtype importer into theirs.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;2) SF&#039;s tool is designed to make you think about your course when you import it and redesign it. That is a nice idea, however it can be pretty time consuming when you have hundreds of documents in a course (&amp;lt;rant&amp;gt;Blackboard&#039;s poor content development tools encourage what I call the &#039;datadump&#039; course format, instead of delivering information in an effective elearning tool like Moodle&#039;s lesson, with BB folks tend to post hundreds of office documents and then massive quizzes about them&amp;lt;/rant&amp;gt;).&#039;&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We recently migrated about 200 courses from Blackboard 6 to Moodle 1.5+, and I made a [http://instructor.metrotech.org/~mcampbell/Converting%20Blackboard%20to%20Moodle.ppt PowerPoint] for this routine.  I&#039;ve been asked to make a Captivate just on the import routine and will work on that.&lt;br /&gt;
&lt;br /&gt;
==Example Migration of One Test Course==&lt;br /&gt;
&#039;&#039;&#039;by [[User:Jeffrey Silverman]], The Johns Hopkins University&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;(Note: I am a novice Moodler. This is a description of what I did to move a single exported BlackBoard course to my out-of-the-box Moodle test installation.  I had a number of questions about the process and I hope this example helps answer them for someone else.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When: This test procedure was performed during the week of 20-Aug-2007&lt;br /&gt;
&lt;br /&gt;
Versions:&lt;br /&gt;
* Moodle 1.8&lt;br /&gt;
* BlackBoard 7.1 &amp;quot;basic&amp;quot; (unconfirmed)&lt;br /&gt;
&lt;br /&gt;
# Export course content from Bb. This step was done by someone else! I do not know how to do this, what options were chosen, etc.  I do know that I got a .zip file that I think is a &amp;quot;Course Archive&amp;quot;.&lt;br /&gt;
# Import course into Moodle. (Needs to be done by a user with the necessary privileges. I have only one user in my Moodle installation, the &amp;quot;Admin&amp;quot; user, and he (she?) is the &amp;quot;Site Administrator&amp;quot;).&lt;br /&gt;
## Create new course&lt;br /&gt;
## Go to &amp;quot;Restore&amp;quot; under the course administrative tools&lt;br /&gt;
## Choose a file to upload; upload the Bb .zip file&lt;br /&gt;
## Choose &amp;quot;import&amp;quot; -- in another page or two you will get to say to restore this as a &amp;quot;New Course&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Some of my questions were as follows:&lt;br /&gt;
&lt;br /&gt;
# Do you have to create a new course?&lt;br /&gt;
** Aparent answer: YES. Personally, I found this very counter-intuitive, as &amp;quot;importing a course&amp;quot; or &amp;quot;restore from backup&amp;quot; or other similar administrative tasks seem to me to be on a level outside a specific course.  For example, having the &amp;quot;Restore&amp;quot; feature only available in the admin tools for a particular course makes it seem like the restoration will only work for that course -- but that is not true.  You can use any course&#039;s &amp;quot;Restore&amp;quot; link in the admin tools and choose &amp;quot;Create a New Course&amp;quot; mid-way through the retoration procedure. But creating a new course from backup that has nothing to do with the course in which one has clicked the &amp;quot;Restore&amp;quot; link is, like I said, counter-intuitive. And, to top it off, I could find no mention of this until I had already clicked on &amp;quot;Restore&amp;quot;. Looks like I need to add some information to the &amp;quot;administrative tools&amp;quot; or &amp;quot;backup/restore&amp;quot; docs, hm? :)&lt;br /&gt;
# Is there a specific &amp;quot;Bb-to-Moodle&amp;quot; conversion tool?&lt;br /&gt;
** Answer: NO. Unlike the WebCT-to-Moodle conversion, [[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=94 which requires a specific add-on]], Bb conversion is now built in.&lt;br /&gt;
# What format does the Bb export have to be in?&lt;br /&gt;
# What versions of Bb and Moodle will this work for?&lt;br /&gt;
# There is a tool floating around called &amp;quot;[[http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard Content Conversion Tool (CCT)]]&amp;quot; that sounds useful for converting Bb to Moodle. Do I need it?&lt;br /&gt;
* Answer: NO.  Actually, I had a bunch of questions about that tool, too, but ultimately I did not need it.&lt;br /&gt;
** Does the CCT run on the server where Bb is running?&lt;br /&gt;
** Does it interact, somehow, directly with the Bb instance?&lt;br /&gt;
** Or does it run on the Moodle server and do the import from Bb into Moodle?&lt;br /&gt;
# Others...&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=78521 Migrate a course from Blackboard to Moodle] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26281</id>
		<title>Blackboard migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Blackboard_migration&amp;diff=26281"/>
		<updated>2007-08-24T16:44:37Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A [http://moodle.org/mod/forum/discuss.php?d=32049 Blackboard content conversion tool] is available. It was designed to migrate Blackboard 6.1 to Moodle 1.4+ - it may be possible to make it work with other versions.&lt;br /&gt;
&lt;br /&gt;
According to Michael Penney in the forum discussion [http://moodle.org/mod/forum/discuss.php?d=1565 Migrating 10000 students from Blackboard to Moodle?] &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;quot;It works pretty well with a couple of caveats:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;1) It doesn&#039;t import all Blackboard question types: at CSU H, we wrote an essay question type and a &#039;rendered match&#039; question type and a BB pool importer, we&#039;d like to work with SF and others to get our qtype importer into theirs.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;2) SF&#039;s tool is designed to make you think about your course when you import it and redesign it. That is a nice idea, however it can be pretty time consuming when you have hundreds of documents in a course (&amp;lt;rant&amp;gt;Blackboard&#039;s poor content development tools encourage what I call the &#039;datadump&#039; course format, instead of delivering information in an effective elearning tool like Moodle&#039;s lesson, with BB folks tend to post hundreds of office documents and then massive quizzes about them&amp;lt;/rant&amp;gt;).&#039;&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We recently migrated about 200 courses from Blackboard 6 to Moodle 1.5+, and I made a [http://instructor.metrotech.org/~mcampbell/Converting%20Blackboard%20to%20Moodle.ppt PowerPoint] for this routine.  I&#039;ve been asked to make a Captivate just on the import routine and will work on that.&lt;br /&gt;
&lt;br /&gt;
==Example Migration of One Test Course==&lt;br /&gt;
&#039;&#039;&#039;by [[User:Jeffrey Silverman]], The Johns Hopkins University&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;(Note: I am a novice Moodler. This is a description of what I did to move a single exported BlackBoard course to my out-of-the-box Moodle test installation.  I had a number of questions about the process and I hope this example helps answer them for someone else.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When: This test procedure was performed during the week of 20-Aug-2007&lt;br /&gt;
&lt;br /&gt;
Versions:&lt;br /&gt;
* Moodle 1.8&lt;br /&gt;
* BlackBoard 7.1 &amp;quot;basic&amp;quot; (unconfirmed)&lt;br /&gt;
&lt;br /&gt;
# Export course content from Bb. This step was done by someone else! I do not know how to do this, what options were chosen, etc.  I do know that I got a .zip file that I think is a &amp;quot;Course Archive&amp;quot;.&lt;br /&gt;
# Import course into Moodle. (Needs to be done by a user with the necessary privileges. I have only one user in my Moodle installation, the &amp;quot;Admin&amp;quot; user, and he (she?) is the &amp;quot;Site Administrator&amp;quot;).&lt;br /&gt;
## Create new course&lt;br /&gt;
## Go to &amp;quot;Restore&amp;quot; under the course administrative tools&lt;br /&gt;
## Choose a file to upload; upload the Bb .zip file&lt;br /&gt;
## Choose &amp;quot;import&amp;quot; -- in another page or two you will get to say to restore this as a &amp;quot;New Course&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So my questions were as follows:&lt;br /&gt;
&lt;br /&gt;
# Do you have to create a new course?&lt;br /&gt;
# Others.... I will update this later after I put out this fire...&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=User:Jeffrey_Silverman&amp;diff=26280</id>
		<title>User:Jeffrey Silverman</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=User:Jeffrey_Silverman&amp;diff=26280"/>
		<updated>2007-08-24T16:42:34Z</updated>

		<summary type="html">&lt;p&gt;Jsilve1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am a developer at The Johns Hopkins University in Baltimore, MD.&lt;/div&gt;</summary>
		<author><name>Jsilve1</name></author>
	</entry>
</feed>