Activities: Subcourse

Maintained by Picture of David MudrákDavid Mudrák
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.
1778 sites
99 fans
Current versions available: 9

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


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


Picture of David Mudrák
David Mudrák (Lead maintainer)
Picture of Vadim Dvorovenko
Vadim Dvorovenko
Please login to view contributors details and/or to contact them

Comments RSS


  • Germán and Temudgin
    Fri, Nov 22, 2013, 11:20 PM
    Hi David,
    Congrats for this nice and useful module.

    It seems odd to me that there is no link for 'Contribute translations for {your current language}' in the 'useful links' section above. But the plugin strings are indeed available at AMOS, and I had them translated to mexican spanish some time ago, without problems.

    Maybe the recent Moodle site disaster removed the programming Aparup or you had recently made.

    I am shure you will be able to find the issue and fix it quicky, for this (and other plugins?), as always.

    Have a nice day.
  • Picture of David Mudrák
    Wed, Nov 27, 2013, 6:27 PM
    Hi German. Thanks for spotting this. I have created MDLSITE-2641 to be investigated.
  • Picture of Yevhen Matasar
    Fri, Nov 29, 2013, 6:45 AM
    Hello there! Your module is really useful. Thank you!
    I have translated it to Ukrainian and Russian, you can add it to package:
  • Picture of Vernon Spain
    Fri, Nov 29, 2013, 2:57 PM
    Hi David,
    Awesome work. Been using this for years but have to stop using it due to the load on our cron.

    We don't need it to run automatically so I was wondering if i set the mdl_modules cron field to "0" if that would make it manually only? Do you have any experience with this?

  • Picture of David Mudrák
    Fri, Nov 29, 2013, 3:30 PM
    Hi Vernon

    correct. Set the "cron" field to zero in that table. But also remember to do it every time you update the module (because it is set to the valued defined in version.php during the upgrade). However, I would like to see if there is something we can improve in the cron performance here. Would you mind reporting two issues for me please? One for the ability to disable cron via settings, the other that would describe your problems with the current cron implementation. Thanks in advance.
  • Picture of David Mudrák
    Fri, Nov 29, 2013, 10:03 PM
    Eugene, please note the correct procedure to translate add-ons is to use site. Translations are not shipped with add-ons any more. Thanks!
  • Picture of doug hinkle
    Thu, Dec 12, 2013, 6:03 AM
    David, I have set up a course that has SCORM courses as subcourse activities. When testing the grading, the SCORM course hasan 80 which is passing but the subcourse displays a 70. There is only one attempt in the SCORM course.
  • Picture of David Mudrák
    Thu, Dec 12, 2013, 6:32 AM
    @doug please check the gradebook in the SCORM courses. The subcourse fetches the course final grade. Does it display different value than the subcourse?
  • Picture of doug hinkle
    Thu, Dec 12, 2013, 7:32 AM
    The course total in the SCORM course shows an 80 also for the course total.
  • Picture of doug hinkle
    Thu, Dec 12, 2013, 7:38 AM
    I just went into the main course again and now it is displaying the correct score. I did not change anything but might have looked at a different report than I did earlier. Odd that it would change from a 70 to the correct score of 80 on its own. I will test with other SCORM courses and let you know if it continues to have issues.
  • Picture of Александр Пушкин
    Mon, Apr 7, 2014, 2:09 AM
    Whether there will be a version for moodle 2.6+?
  • Picture of Steve Towson
    Mon, Jun 2, 2014, 4:52 PM
    Hello David ... what are the changes between this version of the module and the previous? Thanks.
  • Picture of David Mudrák
    Mon, Jun 2, 2014, 7:21 PM
    As the release notes say, it's actually just a trivial removal of a deprecated function call (contributed by Vadim Dvorovenko). More features (mostly based again on Vadim's work) are to come in v2.7.0 (for Moodle 2.7), hopefully soon.
  • Picture of Elton LaClare
    Fri, Jul 17, 2015, 2:31 PM
    Hello David. Thank you for this very useful module. We would like to begin using it after our upgrade to 2.9 next month. Before installing it, our Moodle service provider wants to be assured that it will work on 2.9. Has anyone tried it out?
Please login to post comments