Subcourse icon

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.
Price option: Free

Supports Moodle 2.4-5.0 See all versions
Latest release: 5 months ago
Installations: 4133
Downloads (last 90 days): 1351

Frankenstyle name: mod_subcourse
Activities

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hello!
Please help me solve the problem: when I try to install subcourse 4, I get an error /moodle/dmlwriteException
How can this be fixed?
Thank you
Hey, is there any plan for a Moodle 4.1 update in nearer future? This would be highly appreciated! If not so i would be grateful for the information . Thank you!!
Hello. Has this plugin be tested with Moodle 4.1? Thanks.
Hello,
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.

Hello Jari. Please go through the discussion at https://github.com/mudrd8mz/moodle-mod_subcourse/issues/29 to understand the reasoning behind this setting.

Hello,
Please can someone explain in detail what "Fetch grades as";
real values
and
percent values
actually mean in reality? How do the differ?

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.

We are using subcourses to create "programs" of multiple courses & enrol students via meta-linking the sub-courses to the "master course". To keep the student dashboard simple, I attempted to hide the subcourses leaving the master course visible. However, this made the subcourse "unavailable" to students. Is there a way to keep the dashboard simple with allowing access to the subcourses through the "master course"?
Hello. Can this plugin restrict access to a course if the previous one is not passed?

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

Hi David: I did more digging around and saw that this was an issue you had addressed, and apparently your latest version is to help teachers who want to keep hidden subcourses and grades hidden from students...makes sense!
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
Hi David:
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!
Hi David:
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!
Hello,
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