Moodle

Cap enrolments in a class

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5
  • Fix Version/s: 2.0
  • Component/s: Enrolments
  • Labels:
    None
  • Environment:
    All

Description

Is there a way that you can cap the number of enrollments in a class? I have a situation with open enrolment and a limited amount of space. Classes can fill up very quickly. I would like to limit the number of students without registering them manually or needing to give out an enrollment key.

Also see this forum for what I'm talking about:

http://moodle.org/mod/forum/discuss.php?d=90#85992

Issue Links

Activity

Hide
Colin Fraser added a comment -

This is something that has been going on now for several years and over time, this has become something more of an issue for many more Administrators. While the priority is set "Minor", and I suspect it would be a trivial database issue, the changes to the php code may not, it is unlikely that there will be a lot of movement on this issue. Seriously suggest that this issue be revisited and more people be made aware of it.

Show
Colin Fraser added a comment - This is something that has been going on now for several years and over time, this has become something more of an issue for many more Administrators. While the priority is set "Minor", and I suspect it would be a trivial database issue, the changes to the php code may not, it is unlikely that there will be a lot of movement on this issue. Seriously suggest that this issue be revisited and more people be made aware of it.
Hide
Martin Dougiamas added a comment -
Show
Martin Dougiamas added a comment - A patch is here: http://moodle.org/mod/data/view.php?d=13&rid=1241
Hide
Martin Dougiamas added a comment -

Assigning to Petr to consider as part of Moodle 2.0 enrolment changes

Show
Martin Dougiamas added a comment - Assigning to Petr to consider as part of Moodle 2.0 enrolment changes
Hide
Alan Barrett added a comment -

Attached is a working version of the max_enrolment patch for an older version of Moodle 2.0... I am not currently maintaining the patch for 2.0 (only for 1.9.6+).

Of course you may want to take a different approach when implementing for 2.0.

There is quite a bit of demand for this patch and I regularly answer questions on it so it would be good to get the functionality into the core of 2.0

Alan.

Show
Alan Barrett added a comment - Attached is a working version of the max_enrolment patch for an older version of Moodle 2.0... I am not currently maintaining the patch for 2.0 (only for 1.9.6+). Of course you may want to take a different approach when implementing for 2.0. There is quite a bit of demand for this patch and I regularly answer questions on it so it would be good to get the functionality into the core of 2.0 Alan.
Hide
Petr Škoda (skodak) added a comment -

Hello,
this should be implemented now in enrol/self plugin, plugin developers may use similar solutions in other plugins now easily.
Thanks you for the report and patch.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - Hello, this should be implemented now in enrol/self plugin, plugin developers may use similar solutions in other plugins now easily. Thanks you for the report and patch. Petr Skoda

People

Vote (7)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: