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:
3722 sites
1k downloads
198 fans
Current versions available: 15

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.

Diagram illustrating course final grades aggregated to a main course via the Subcourse instances

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

Dan Marsden (Lead maintainer)
David Mudrák: Original author and maintainer
Vadim Dvorovenko
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Dan Marsden
    Tue, 21 Nov 2023, 1:33 PM
    @Carel-Piet, try the version in github and report any issues you have to the tracker. Thanks!
  • Carel-Piet van Eeden
    Tue, 21 Nov 2023, 8:55 PM
    @Dan - it works an absolute charm, thank you!
  • Fabian Auchter
    Thu, 21 Dec 2023, 6:01 PM
    Hy, I really like the plugin but we're unfortunately on Moodle 4.2. Are there any Upgrading plans?
  • Dan Marsden
    Fri, 22 Dec 2023, 7:49 AM
    @Fabian - the latest versions of our plugins will always be in github, however we don't always remember to update the plugins db entry - I've just updated the plugins db now with the latest versions, but in future please check the version available in the github repo - thanks! smile
  • Roy Jensen
    Sat, 8 Jun 2024, 9:20 PM
    I am using this plugin to create a certificate program that is a collection of courses.

    I would like to make it such that some courses are mandatory and some courses are optional, with the learner required to take a certain number of optional courses.
    For example: a learner must take four mandatory courses (I can implement this) and also take four of seven optional courses (I don't know how to implement this).
    Is this possible? Thx
  • Dan Marsden
    Mon, 10 Jun 2024, 7:30 AM
    @Roy - try asking that in the forums - it's really a question about course completion settings rather than sub course itself.
  • uk
    Wed, 19 Jun 2024, 3:31 PM
    @Dan Marsden:
    "@Fabian - the latest versions of our plugins are always in github, but we always forget to update the entry in the plugins db - I just updated the plugins db with the latest versions, but in the future please check the version in the github repo - thanks! smiling"

    No idea what there is to smile about. This is totally unprofessional towards those who depend on it and from whom the administration will withdraw the plugin if it is not listed. So either you make something for yourself and keep it to yourself or you publish it and stick to the conventions.

    Of course, it would be even better if the part became a core component, because it closes a significant gap in Moodle.

    Uwe, who would like you to change your behaviour in favour of the community smile
  • John D
    Thu, 1 Aug 2024, 11:25 PM
    I'm trying to understand the back-end DB structure, but seems few know it, see https://moodle.org/mod/forum/discuss.php?d=460741#p1850273.

    Any help appreciated.
  • Paul Toomey
    Thu, 17 Oct 2024, 3:00 PM
    @Dan. We're using Moodle 4.3 with the latest subcourse version for 4.3 (2023123002). We've been using the subcourse activity extensively for many years - thanks for developing it. I have just noticed a recent issue - when the completion condition of 'Student must complete the referenced course to complete this activity' is set, the dropdown for the completion status on the course homepage (in teacher view) says 'You have to add at least one completion condition', and in student view it says, 'There are no completion conditions for this activity'. Ie, it doesn't seem to recognise the completion setting. Interestingly it still functions as expected - the activity completion is still being captured by the parent course (that has the subcourse in it), and the 'To do' status changes to 'Done' for students when completion occurs. The nature of the referenced subcourse doesn't seem to matter, be it a single activity scorm course, course with multiple activities, etc. I believe this issue didn't exist before the release of ver 2023123002 in July this year. Thanks for any help you can provide.
  • Dan Marsden
    Fri, 18 Oct 2024, 4:23 AM
    @Paul - this is a known issue (mentioned here: https://github.com/catalyst/moodle-mod_subcourse/issues/86) - I'm not the original developer - we've just picked up general maintenace on the plugin after David was unable to continue maintaining it. I expect as some of our paying clients start their upgrades to 4.5 we'll come back to this issue, but in the meantime if you have internal development capabilities, pull requests are always very welcome.
  • Michael Milette
    Tue, 19 Nov 2024, 11:18 PM
    Good day, I was wondering, when do you think we can expect to see a release of this useful plugin for Moodle 4.5 LTS?
  • Dan Marsden
    Wed, 20 Nov 2024, 9:00 AM
    @Michael - best thing to do is test the current version and let us know if it works in 4.5 or report any bugs you find (bonus points for including pull requests with fixes.). "When will XYZ version be available" is not something I can ever give an accurate answer to except for clients that have an SLA/contract with us.
  • Niall Sheehan
    Tue, 18 Feb 2025, 11:37 PM
    CAUTION Version (2025012000) will cause issues with Enrolled Courses displaying on the Frontpage. Error is: Exception - mod_subcourse\completion\custom_completion::get_state(): Return value must be of type int, null returned
  • Michael Milette
    Wed, 19 Mar 2025, 5:34 AM
    I have the same issue in Version 2023103003 for Moodle 4.1 LTS. Error is:

    Exception - mod_subcourse\completion\custom_completion::get_state: Return value must be of type int, null returned
  • John Braz
    Wed, 9 Apr 2025, 9:22 AM
    Great plugin. Is there an option/another plugin, to grab a grade of a single grade of an activity, in a course with multiple activities?
1 2 3 4 5 6 7 8 9 10
Please login to post comments