Moodle plugins directory: Subcourse | Moodle.org
Subcourse
Activities ::: mod_subcourse
Maintained by Dan Marsden, Catalyst IT
Subcourse behaves as a graded activity. The grade for each student is automatically fetched from a final grade in another course. This allows course designers to organize the learning content into separate units.
Latest release:
3218 sites
1k downloads
175 fans
Current versions available: 12
Subcourse is an activity module that represents the final grade obtained in another course. This allows to create "meta-gradebook" in one course, where all final grades from other courses are aggregated.
- Grades are fetched automatically or can be fetched manually any time.
- The grade type and other grade item settings are copied from the original grade total item and can not be changed.
- Subcourse can be automatically marked as a completed when the referenced course is completed.
- If the final grade in the referenced course is hidden, the associated subcourse activity grade is hidden, too.
This allows to apply the concept of grades aggregation to a next level and aggregate grades across courses.
Contributors
Dan Marsden (Lead maintainer)
Catalyst IT
David Mudrák: Original author and maintainer
Matt Gibson
Vadim Dvorovenko
Arnaud Trouvé
Please login to view contributors details and/or to contact them
Thanks for your reply!
Just by coincidence I found out, that it is some weird theme behavior. "Expected completion on" checkbox is disabling the input one row above, not same row date fields ... In subcourse plugin case it is "Require course completed". In SCORM case irt is "Require all scos to return completion status". Weird ...
We use subcourse plugin 10.0.0 in Moodle 3.10.4. There is a loop with this error : forearch (invalid argument) on /moodle/mod/subcourse/locallib.php line 238
We have more than 1200 groups. The loop takes about 20 ms but only with student profil.
I modifie code to test if the value exist like this
$gs = grade_grade::fetch_all(['itemid' => $gi->id]);
if (is_array($gs))
{
foreach ($gs as $g) {
$values= null;//warning!!!
if (isset($refgrades->grades[$g->userid])) {
if ($refgrades->grades[$g->userid]>hidden != $g>hidden) {
$g->grade_item = $gi;
$g->set_hidden($refgrades->grades[$g->userid]->hidden);
}}}}}
with this code, no more errors, the page is a little faster but not as fast as with the admin profile.
Please can you tell me how to solve ?
best regards
I am upgraded to Moodle 3.9, and I when I try to use Subcourse to fetch grades, I get this error message:
Unable to fetch grades: error code 4
More information about this error
Any ideas on how to fix this?
Thanks for your help!
To help troubleshoot, I am using subcourse to pull grades from hidden courses into a "main" portal course, where the subcourses serve as each unit.
This is the beauty of Subcourse--you can build very large, complex courses, but keep them manageable since you can break apart your course into "subcourses", but to keep the student Dashboard from getting too messy, the subcourses are hidden and only the "Main" portal course shows up which then links out to each subcourse as well as aggregating the final grade.
Thanks for your help and sharing your great work with the Moodle community!
However, if you could create a tick box in the settings that would allow teachers to also be able to show hidden grades from hidden courses, then it would enable teachers to leverage the subcourse plugin as a way to link together many courses into a "main" or "master" course as the portal / launchpad into learning!
I downgraded to the previous version, and everything works as before, but moving forwards maybe can this setting be added in?
Thanks for all your help in the past, and also sharing your great work with the Moodle community!
-_Joe
Thanks Joseph. May I ask you to summarise this as a feature request in the plugin issue tracker at https://github.com/mudrd8mz/moodle-mod_subcourse/issues
No, it is not its purpose. See https://docs.moodle.org/311/en/Restrict_access_FAQ#Can_I_make_access_to_a_course_conditional_upon_completing_another_course.3F for some relevant info.
The only way I am aware of would make use of the 'Remove from view' feature of Dashboard. Normally, users can remove individual courses from their dashboards. If there was a way to inject the
'block_myoverview_hidden_course_' + courseId
user preference for every user and every subcourse, then they would not show at students' dashboards. But that would require some customisation and / or additional plugin.Please can someone explain in detail what "Fetch grades as";
real values
and
percent values
actually mean in reality? How do the differ?
Hello Jari. Please go through the discussion at https://github.com/mudrd8mz/moodle-mod_subcourse/issues/29 to understand the reasoning behind this setting.
I'm creating a new Moodle website using version 4.0 and this plugin perfectly meets my needs.
Is a version compatible with Moodle 4.0 is going to be released ?
Thanks in advance for your answer.