Note: This documentation is for Moodle 2.7. For up-to-date documentation see Enrolment FAQ.

Enrolment FAQ: Difference between revisions

From MoodleDocs
(metacourse of metacourse)
 
(27 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Enrolment}}
==How do I prevent students from enrolling themselves in a course?==
==How do I prevent students from enrolling themselves in a course?==
*If you are a teacher in a course, go to Settings>users>enrolment methods and disable (close the eye) of the self-enrolment option.
*If you are a teacher in a course, go to ''Administration > Course administration > Users > Enrolment methods'' and disable (close the eye) of the self-enrolment option.
*If you are site admin, go to Settings>Site administration>plugins>manage enrol plugins and disable (close the eye) of the self enrolment plugin.
*If you are site admin, go to ''Administration > Site administration > Plugins > Manage enrol plugins'' and disable (close the eye) of the self enrolment plugin.


==Why can I not add a cohort to my course? (I know there is one!)==
==Why can I not add a cohort to my course? (I know there is one!)==
Only admins and managers have the right to add a cohort, so a regular teacher will not see "cohort sync" in the dropdown in ''Settings>users>enrolment methods''; nor will they see the "Enrol cohort" button in ''Settings>users>enrolled users''. For more information on the capabilities involved,see [[Cohorts]]
Only admins and managers have the right to add a cohort, so a regular teacher will not see "cohort sync" in the dropdown in ''Settings>users>enrolment methods''; nor will they see the "Enrol cohort" button in ''Administration>users>enrolled users''. For more information on the capabilities involved, see [[Cohorts]].


== Why are users being unenrolled for no apparent reason? ==
== Why are users being unenrolled for no apparent reason? ==


*In a course, go to ''Settings>users>enrolled methods'' and click the edit (hand/pen)icon of the self-enrolment option. Check the time in the dropdown next to ''Unenrol active after...''
*In a course, go to ''Administration > Course administration > Users > Enrolment methods'' and click the edit (hand/pen)icon of the self-enrolment option. Check the time in the dropdown next to ''Unenrol active after...''
(See [[Unenrolment]] for a full list of what controls unenrolment.)
(See [[Unenrolment]] for a full list of what controls unenrolment.)
*As a site administrator, you can specify the default time after which a user is unenrolled in ''Settings>Site administration>plugins>enrolments>Self enrolment''
*As a site administrator, you can specify the default time after which a user is unenrolled in ''Administration > Site administration > Plugins > Enrolments > Self enrolment''


==Why are all students enrolled in all courses?==
==Why are all students enrolled in all courses?==
Line 17: Line 18:


Another possibility is that users are assigned the system role of student. Check ''Site Administration > Users > Permissions > Assign system roles'' and unassign users as necessary, then reassign them the role of student in the course context.
Another possibility is that users are assigned the system role of student. Check ''Site Administration > Users > Permissions > Assign system roles'' and unassign users as necessary, then reassign them the role of student in the course context.
==Why can't I select "External Database" from the enrolment plugins drop-down menu in the course settings?==
Only ''interactive'' enrolment methods may be chosen in the course settings. Non-interactive enrolment plugins are set for the entire site in ''Site Administration'' > ''Courses'' > ''Enrolments''. Please refer to the interactive enrolment section of [[Enrolment plugins]].


==How do I enable students to unenrol themselves from courses?==
==How do I enable students to unenrol themselves from courses?==


To enable students to unenrol themselves from any course:
To enable students to unenrol themselves from any course:
#Access ''Site Administration > Users > Permissions > Define roles''.
# Access ''Site Administration > Users > Permissions > Define roles''
#Click the edit icon opposite the student role.
# Click the edit icon opposite the student role
#Change any/all of the capabilities enrol/authorize:unenrolself, enrol/manual:unenrolself, enrol/paypal:unenrolself and enrol/self:unenrolself (depending upon which enrolment plugins are enabled for the site) from not set to allow.
# Change any/all of the capabilities enrol/manual:unenrolself, enrol/paypal:unenrolself and enrol/self:unenrolself (depending upon which enrolment plugins are enabled for the site) from not set to allow
#Click the "Save changes" button at the bottom of the page.
# Click the "Save changes" button at the bottom of the page


See [[Unenrolment]] for instructions on how to enable students to unenrol themselves from a particular course.
To enable students to unenrol themselves from a particular course:
# Go to ''Administration > Course administration > Users > Permissions''
# Click the Allow icon (+) opposite the appropriate unenrolself capability (corresponding to the method in which students are enrolled) and allow the student role


==How do I prevent teachers from unenrolling themselves from their course by mistake?==
Note: If students are manually enrolled in the course, then enrol/manual:unenrolself should be allowed; if students self-enrol, then enrol/self:unenrolself should be allowed.


#Access ''Site Administration > Users > Permissions > Define roles''.
==How do I change the spelling of "enrol" to "enroll"?==
#Click the edit icon opposite the teacher role.
#Change the [[Capabilities/moodle/role:unassignself|moodle/role:unassignself]] capability from allow to not set.
#Click the "Save changes" button at the bottom of the page.


==How do I change the spelling of "enrol" to "enroll"?==
Install the American English language pack (en_us) via ''Administration > Site administration > Language > Language packs'' then choose it as the default language for the site in ''Administration > Site administration > Language > Language settings''. All new accounts on the site will then have en_us set as the preferred language in their profile.


Simply install the American English language pack (en_us) then choose it as the default language for the site. Or [[Language editing|edit your language]] settings.
If the spelling of enroll remains unchanged, check that en_us is set as the preferred language in your own profile settings.


==Is there a way for teachers to be notified when students enrol in a course?==
==Is there a way for teachers to be notified when students enrol in a course?==


No notifications will be sent when students are allowed to enrol by the [[Internal enrolment]] process. It can be done by changing the open source code, but not by through the interface. Other enrolment methods (for example [[Flat file]]) can allow emails when enrolment is complete but these are not student initiated.
[[Flat file]] enrolment includes an email notification feature when enrolment is complete; however there is no option for self enrolment.
 
==When a student self-enrols, can the welcome email message be customised?==
 
A teacher can customise the message at course level as follows:
 
# Go to ''Administration > Users > Enrolment methods''
# Click the edit (hand/pen)icon for self enrolment
# At the bottom of this screen is a box where you can customise the message for your course


==When a student self-enrols, they get a welcome email message.  Can a teacher customise this at the course level?==
An admin can customise the message for the whole site by editing the ''welcometocoursetext'' language string. See [[Language customization]] for further details.
*Yes. In the course, go to ''Settings>users>enrolment methods'' and click the edit (hand/pen)icon of Self enrolment. At the bottom of this screen is a box where you can customise the message for yupour course.


==How can the course welcome message be disabled?==
==How can the course welcome message be disabled?==


*In a course, you can disable the message by clicking on ''Settings>users>enrolment methods'' Click the edit (hand/pen) icon to the right of Self enrolment. Remove the tick from "Send course welcome message".
*In a course, you can disable the message by clicking on ''Administration > Course administration > Users > Enrolment methods'' Click the edit (hand/pen) icon to the right of Self enrolment. Remove the tick from "Send course welcome message".
*The message can be disabled throughout Moodle by the site admin via ''Settings>Site administration>plugins>enrolments>Self enrolment''.
*The message can be disabled throughout Moodle by the site admin via ''Administration > Site administration > Plugins > Enrolments > Self enrolment''.
 
==How can we set which e-mail address the welcome message comes from?==
If you change email at: Site administration/Server/Support contact/ the Moodle system will use new email address and from name.
 
==How can I prevent certain teachers from appearing in the course participants list?==
 
# Go to ''Administration > Site administration > Users > Permissions > Define roles'' and click on the teacher role
# Click the 'Duplicate role' button
# Rename the role as 'Non-participating teacher' or similar
# Enter moodle/course:view in the filter and tick the checkbox to allow the moodle/course:view capability
# Click the 'Create this role' button
# Go to a course then ''Administration > Course administration > Users > Other users''
# Click the 'Assign roles' button and assign users the role of 'Non-participating teacher'
 
==How can I get the grades back for a user who was accidentally unenrolled?==
 
See the section on unenrolment and user data in [[Unenrolment]].
 
==Why does my course have a lot of duplicated guest access settings?==
This is a bug with courses which have been restored. It seems that each time they are restored, extra guest access settings appear. It doesn't appear to affect use of the course however. The tracker entry is MDL-31497 if you would like to vote for it to be fixed.
 
==What is the difference between ''unenrolled'' and ''suspended''?==
 
See the section on Suspended or Unenrolled in [[Unenrolment]]
==How can I suspend a user from a course?==
You can suspend users from courses  via a text/csv file from ''Site administration>Users>Accounts>Upload users'' by using the ''enrolstatus'' field, where 1 against a user means they are suspended (and leaving blank means they are still enrolled.)


==Where in the database is the relationship between user and course?==
==When enrolment in a child course expires, do enrolments in metacourses expire too?==
No; students must be manually unenrolled - see MDL-38916.


Prior to Moodle 1.7, enrollments were represented by two simple tables:  mdl_user_students and mdl_user_teachers.  Under the new Roles and Capabilities System introduced in Moodle 1.7, the concept of enrollment has been generalized.  The word "Enroll" should literally be read as "Assign a role to."  To accomodate this flexibility, the database model has changed.  There is now a mdl_role_assignments table that holds the equivalent information.  For more information, see [[Development:Roles|the roles development documentation]]
==How do I prevent teachers from accidentally disabling enrolment methods in a course?==


==Help! Now Admin login does not work==
Edit the teacher role in ''Administration > Site administration > Users > Permissions > Define roles'' and uncheck the capability [[Capabilities/moodle/course:enrolconfig|moodle/course:enrolconfig]].
Have you switched from internal to external enrolment and now nobody can log into your Moodle site? Site login has to do with [[Authentication|authentication]] but an error with enrolment can produce a fatal error.  You will have to solve this by altering the [[MySQL|MySQL database]] (preferably with [[phpMyAdmin]]). [http://moodle.org/mod/forum/discuss.php?d=102431 Forum discussion here].


Look in the mdl_config table the name of the setting is "enrol_plugins_enabled".  Edit the value list to remove the value database from the list of comma separated values, save, and you should be able to access your site again.
==I don't see the 'enrol users' button when clicking on 'Enrolled users'==
Make sure [[Manual enrolment]] is enabled in your course.


Alternatively the following MySQL command line should work, but is not recommended.
==I am using Paypal but users can access my course without paying==
mysql -u username -p moodle_db_name
UPDATE `mdl_config` SET `value` = 'manual' WHERE `mdl_config`.`name` ='enrol_plugins_enabled' ;


See [https://docs.moodle.org/en/Administration_FAQ?#I_have_forgotten_the_admin_password if you have merely forgotten your password].
Make sure you don't also have [[Self enrolment]] without an enrolment key enabled. This would allow users to bypass Paypal. (If you need some users to self enrol for free as well as clients enrolling through Paypal, then add an enrolment key in the self enrolment settings.)
==Can I have a metacourse of a metacourse?==


==When users access a course, Moodle returns 'This course does not allow public access'. What does this mean?==
This is not possible. See [[Course meta link]] .You might be able to use [[Cohorts]] instead.
This could mean the course is a [[Metacourse]] and does not have, or no longer has, any courses associated with it. A metacourse ONLY gets its enrollments from other courses. See the "Child courses" link in the course administration block. Or check ''Course Administration > Settings > Is This a Meta Course? '' and set it to the default which is "no".


==See also==
==See also==
Line 81: Line 110:
* [http://moodle.org/mod/forum/discuss.php?d=123328 Best practices for end of school year, start of next?]
* [http://moodle.org/mod/forum/discuss.php?d=123328 Best practices for end of school year, start of next?]


[[Category:Enrolment]]
[[Category:FAQ]]
[[Category:FAQ]]
[[de:Einschreibung FAQ]]
[[es:Inscripción FAQ]]

Latest revision as of 09:07, 24 October 2014

How do I prevent students from enrolling themselves in a course?

  • If you are a teacher in a course, go to Administration > Course administration > Users > Enrolment methods and disable (close the eye) of the self-enrolment option.
  • If you are site admin, go to Administration > Site administration > Plugins > Manage enrol plugins and disable (close the eye) of the self enrolment plugin.

Why can I not add a cohort to my course? (I know there is one!)

Only admins and managers have the right to add a cohort, so a regular teacher will not see "cohort sync" in the dropdown in Settings>users>enrolment methods; nor will they see the "Enrol cohort" button in Administration>users>enrolled users. For more information on the capabilities involved, see Cohorts.

Why are users being unenrolled for no apparent reason?

  • In a course, go to Administration > Course administration > Users > Enrolment methods and click the edit (hand/pen)icon of the self-enrolment option. Check the time in the dropdown next to Unenrol active after...

(See Unenrolment for a full list of what controls unenrolment.)

  • As a site administrator, you can specify the default time after which a user is unenrolled in Administration > Site administration > Plugins > Enrolments > Self enrolment

Why are all students enrolled in all courses?

If the default role for all users in Site Administration > Users > Permissions > User policies is set to student rather than authenticated user (the default setting), this will result in all students being enrolled in all courses.

Another possibility is that users are assigned the system role of student. Check Site Administration > Users > Permissions > Assign system roles and unassign users as necessary, then reassign them the role of student in the course context.

How do I enable students to unenrol themselves from courses?

To enable students to unenrol themselves from any course:

  1. Access Site Administration > Users > Permissions > Define roles
  2. Click the edit icon opposite the student role
  3. Change any/all of the capabilities enrol/manual:unenrolself, enrol/paypal:unenrolself and enrol/self:unenrolself (depending upon which enrolment plugins are enabled for the site) from not set to allow
  4. Click the "Save changes" button at the bottom of the page

To enable students to unenrol themselves from a particular course:

  1. Go to Administration > Course administration > Users > Permissions
  2. Click the Allow icon (+) opposite the appropriate unenrolself capability (corresponding to the method in which students are enrolled) and allow the student role

Note: If students are manually enrolled in the course, then enrol/manual:unenrolself should be allowed; if students self-enrol, then enrol/self:unenrolself should be allowed.

How do I change the spelling of "enrol" to "enroll"?

Install the American English language pack (en_us) via Administration > Site administration > Language > Language packs then choose it as the default language for the site in Administration > Site administration > Language > Language settings. All new accounts on the site will then have en_us set as the preferred language in their profile.

If the spelling of enroll remains unchanged, check that en_us is set as the preferred language in your own profile settings.

Is there a way for teachers to be notified when students enrol in a course?

Flat file enrolment includes an email notification feature when enrolment is complete; however there is no option for self enrolment.

When a student self-enrols, can the welcome email message be customised?

A teacher can customise the message at course level as follows:

  1. Go to Administration > Users > Enrolment methods
  2. Click the edit (hand/pen)icon for self enrolment
  3. At the bottom of this screen is a box where you can customise the message for your course

An admin can customise the message for the whole site by editing the welcometocoursetext language string. See Language customization for further details.

How can the course welcome message be disabled?

  • In a course, you can disable the message by clicking on Administration > Course administration > Users > Enrolment methods Click the edit (hand/pen) icon to the right of Self enrolment. Remove the tick from "Send course welcome message".
  • The message can be disabled throughout Moodle by the site admin via Administration > Site administration > Plugins > Enrolments > Self enrolment.

How can we set which e-mail address the welcome message comes from?

If you change email at: Site administration/Server/Support contact/ the Moodle system will use new email address and from name.

How can I prevent certain teachers from appearing in the course participants list?

  1. Go to Administration > Site administration > Users > Permissions > Define roles and click on the teacher role
  2. Click the 'Duplicate role' button
  3. Rename the role as 'Non-participating teacher' or similar
  4. Enter moodle/course:view in the filter and tick the checkbox to allow the moodle/course:view capability
  5. Click the 'Create this role' button
  6. Go to a course then Administration > Course administration > Users > Other users
  7. Click the 'Assign roles' button and assign users the role of 'Non-participating teacher'

How can I get the grades back for a user who was accidentally unenrolled?

See the section on unenrolment and user data in Unenrolment.

Why does my course have a lot of duplicated guest access settings?

This is a bug with courses which have been restored. It seems that each time they are restored, extra guest access settings appear. It doesn't appear to affect use of the course however. The tracker entry is MDL-31497 if you would like to vote for it to be fixed.

What is the difference between unenrolled and suspended?

See the section on Suspended or Unenrolled in Unenrolment

How can I suspend a user from a course?

You can suspend users from courses via a text/csv file from Site administration>Users>Accounts>Upload users by using the enrolstatus field, where 1 against a user means they are suspended (and leaving blank means they are still enrolled.)

When enrolment in a child course expires, do enrolments in metacourses expire too?

No; students must be manually unenrolled - see MDL-38916.

How do I prevent teachers from accidentally disabling enrolment methods in a course?

Edit the teacher role in Administration > Site administration > Users > Permissions > Define roles and uncheck the capability moodle/course:enrolconfig.

I don't see the 'enrol users' button when clicking on 'Enrolled users'

Make sure Manual enrolment is enabled in your course.

I am using Paypal but users can access my course without paying

Make sure you don't also have Self enrolment without an enrolment key enabled. This would allow users to bypass Paypal. (If you need some users to self enrol for free as well as clients enrolling through Paypal, then add an enrolment key in the self enrolment settings.)

Can I have a metacourse of a metacourse?

This is not possible. See Course meta link .You might be able to use Cohorts instead.

See also

Using Moodle forum discussions: