Separate Groups Completion

Separate Groups Completion

by Freddy Angel -
Number of replies: 3

I have a course set up with 2 groups and each group has different criteria to complete the forum activity, e.g, Group #1 needs 4 posts and a passing grade. Group #2 only needs one post.

I can't seem to find a way to set up a separate completion criteria per group in the forums setting, so I'm trying to do this with 2 separate forums with separated by groups enable, each with its own activity completion criteria, and restricted access so that each group only sees their forum.

However, in the course completion progress, the second forum, which is not visible in the course for G1 students, is still showing, and the progress of the course is truncated by the second forum.

In other words, it seems like Moodle is expecting the students to complete a forum activity they can't access?

Am I missing something? What is the correct way to do this?

Teacher view:


Student view:




Thanks in advance

Average of ratings: -
In reply to Freddy Angel

Re: Separate Groups Completion

by Freddy Angel -
I found a couple of old posts with similar issues:

https://moodle.org/mod/forum/discuss.php?d=188127
https://moodle.org/mod/forum/discuss.php?d=261674

And even a bug report from 2015.

https://tracker.moodle.org/browse/MDL-51447

Although, the bug report is specific about the course completion status block and hidden activities.

However, my question is about the use of conditional activities for the course completion calculation, specifically, activities restricted to groups.

Any help with this matter would be very much appreciated.
In reply to Freddy Angel

Re: Separate Groups Completion

by puneet jhingan -
This is a genuine requirement for many. Subject Matter experts may please advise
In reply to Freddy Angel

Re: Separate Groups Completion

by Stefan Scholz -
Picture of Plugin developers
Hi Freddy,

this is a known limitation of course completion criteria. Moodle does not consider availability when it comes to course completion. Unfortunately, course completion is „hard coded“ on moodle, I.e. plugin developers can’t develop additional or improved criteria that would cover those scenarios.

But, we’ve come up with a solution for the issue and have built a plugin for it which solves most of the issues.

Our plugin is called pulse and it is a moodle activity. It has an activity completion criterium called „complete when available“. Availability can be controlled easily via availability restrictions.

What you need to do is add a pulse to your course, restrict it to be available only if forum g1 OR g2 is complete. You can build literally any logic here, we’ve built stuff that was a lot more complex already. Then, under course completion, simply pick the pulse activity and NOT the forums.

Same method can be used for content in several languages, adaptive courses or courses where students can choose what to learn and much more.

You can test it on labs.bdecent.de - the pulse activity is available as usual: https://moodle.org/plugins/mod_pulse

Hope this helps!
Stefan