Course completion FAQ: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
(How do I enable course completion?)
(update)
Rad 4: Rad 4:
See [[Course completion settings]].
See [[Course completion settings]].


==Students have completed things but the report does not show it==
==Students have completed the criteria but the report does not show it==
The default time for updating course completion is every 10 minutes.  You have several options:
 
*Tell your students the update schedule. 
Check in ''Administration > Site administration > Server > Scheduled tasks'' that the task 'Calculate completion data' is running frequently enough, such as every minute.
*Ask your site administrator to tell you the when the 10 minute [[Cron]] will run, so you can tell your students "The competition report or Activity completion block will be upgraded every 10 minutes, starting 5 minutes after each hour."
*Alter the language pack, or help files to include this information.
*Ask your site administrator how often the Moodle cron php file is triggered  If it is longer than 10 minutes, that will be the default interval.
*Ask your site administrator if they would change the cache expiry time from 10 minutes to something different. They might tweak the code at /lib/completionlib.php around line 126. 
*Ask your site administrator to make sure the server cron triggers Moodle to run cron at the same interval as the cron setting for course completion.
*See if you can trigger cron by going to your Moodle site and adding /admin/cron.php to your browser address.  For example after logging into your Moodle site, in the browser address put mymoodlesite.edu/admin/cron.php .


==I have set up course prerequisites but my students can still access the second course before they have finished the first==
==I have set up course prerequisites but my students can still access the second course before they have finished the first==
Rad 24: Rad 18:


==My student got an error message when they click on more information in the course completion block==
==My student got an error message when they click on more information in the course completion block==
Moodle is confused by your course completion settings.  This may happen at the start of the course when the student has not completed an activity and/or you have selected an aggreation method of All and have not checked off that they have completed the activity.
 
This may happen at the start of the course when the student has not completed an activity and/or you have selected an aggregation method of All and have not checked off that they have completed the activity.


==Where do my students tell me they have finished the course?==
==Where do my students tell me they have finished the course?==
Did you install the [[Self completion block]]?  When they click on the link in that block, that will indicate they think they are done.  You will have to wait for [[Cron]] to run before seeing the results in your course completion report.
 
Did you install the [[Self completion block]]?  When they click on the link in that block, that will indicate they think they are done.  


==How can I set my course completion to be longer than 30 days after enrolment?==
==How can I set my course completion to be longer than 30 days after enrolment?==
Currently the dropdown menu only allows you to choose from up to 30 days after enrolment. There is a tracker entry about this here MDL-34678. However, if you are happy editing the database then you can manually change the value. (Thanks to Aaron Barnes for the following instructions)


You'll need to look in the mdl_course_completion_criteria table. The Duration After Enrolment criteria will have the "criteriatype" value of 5 and the number of days is recorded in the column "enrolperiod" in seconds (so #days x 86400). You should be able to adjust the enrolperiod value and after the next cron run everything will use the new value.
Currently the dropdown menu only allows you to choose from up to 30 days after enrolment. There is a tracker entry about this here MDL-34678. However, if you are happy editing the database then you can manually change the value as follows:
 
# Look in the mdl_course_completion_criteria table. The Duration After Enrolment criteria will have the "criteriatype" value of 5 and the number of days is recorded in the column "enrolperiod" in seconds (so #days x 86400).  
# Adjust the enrolperiod value and after the next cron run everything will use the new value.
 
==See also==
==See also==


Using Moodle forum discussions:
*[http://moodle.org/mod/forum/discuss.php?d=194747 How to set course completion requirements to include a minimum quiz grade?] forum discussion
*[http://moodle.org/mod/forum/discuss.php?d=184602 Confused how Completion.... err.... completes]
*[http://moodle.org/mod/forum/discuss.php?d=194747 How to set course completion requirements to include a minimum quiz grade?]


[[Category:FAQ]]
[[Category:FAQ]]

Versionen från 26 juni 2015 kl. 13.58

How do I enable course completion?

See Course completion settings.

Students have completed the criteria but the report does not show it

Check in Administration > Site administration > Server > Scheduled tasks that the task 'Calculate completion data' is running frequently enough, such as every minute.

I have set up course prerequisites but my students can still access the second course before they have finished the first

Sorry - the course prerequisites feature does NOT prevent students from accessing courses. It merely prevents the course from being marked as "complete" until they have completed another course.

How can I prevent my students accessing course 2 before they have completed course 1?

This is currently not possible using completion settings- see MDL-22648 .The usual workaround is to add a final activity at the end of course 1 - such as a quiz - inside which you give the enrolment key to the next course (in the quiz feedback for example) Thus, only those who have completed course 1 can get access to course 2. That doesn't stop them sharing the key however, but you could see any cheaters in the logs.

I made a mistake and had to erase my student data. Do my students have to redo the activities?

No. For example, if you set the course completion for All aggregation methods and wanted to reset it to "Any", Moodle will warn you that you are deleting compiled student data. It will delete the student data only for the course completion information. When cron.php runs it will recompile the course completion information.

My student got an error message when they click on more information in the course completion block

This may happen at the start of the course when the student has not completed an activity and/or you have selected an aggregation method of All and have not checked off that they have completed the activity.

Where do my students tell me they have finished the course?

Did you install the Self completion block? When they click on the link in that block, that will indicate they think they are done.

How can I set my course completion to be longer than 30 days after enrolment?

Currently the dropdown menu only allows you to choose from up to 30 days after enrolment. There is a tracker entry about this here MDL-34678. However, if you are happy editing the database then you can manually change the value as follows:

  1. Look in the mdl_course_completion_criteria table. The Duration After Enrolment criteria will have the "criteriatype" value of 5 and the number of days is recorded in the column "enrolperiod" in seconds (so #days x 86400).
  2. Adjust the enrolperiod value and after the next cron run everything will use the new value.

See also