Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 2.0
-
Component/s: Enrolments
-
Labels:None
-
Affected Branches:MOODLE_16_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
This feature was requested by Timothy Takemoto.
See this forum for more on this topic.
http://moodle.org/mod/forum/discuss.php?d=50063
Ken Wilson has written code for this feature. See attached zip file.
From Tim:
It would be nice to combine [the feature] with a method of limiting the number of courses that students can sign onto. Perhpas within the course their might be a setting
"Only allow one course registration to courses within category..."
followed by a drop down box showing the categories (and parent, and grand parent categories) that the course belongs to.
Attachments
-
$i18n.getText("admin.common.words.hide")
- Max-Enrolments-v1-1-161[1].zip
- 13/Oct/06 12:15 PM
- 106 kB
- Michael Blake
-
- Max-Enrolments-v1-1-161/moodle/.../edit.html 19 kB
- Max-Enrolments-v1-1-161/moodle/.../edit.php 12 kB
- Max-Enrolments-v1-1-161/moodle/.../enrol.php 5 kB
- Max-Enrolments-v1-1-161/moodle/.../lib.php 69 kB
- Max-Enrolments-v1-1-161/.../enrolmax.html 0.4 kB
- Max-Enrolments-v1-1-161/.../moodle.php 81 kB
- Max-Enrolments-v1-1-161/.../moodlelib.php 230 kB
- Max-Enrolments-v1-1-161/README.txt 13 kB
$i18n.getText("admin.common.words.show")- Max-Enrolments-v1-1-161[1].zip
- 13/Oct/06 12:15 PM
- 106 kB
- Michael Blake
-
$i18n.getText("admin.common.words.hide")
- Moodle_Maximum_Enrolments_1.8.4_Folder.zip
- 31/Mar/08 12:07 AM
- 53 kB
- Bruce Schmoetzer
-
- Moodle_Maximum_Enrolments_1.8.4 Folder/.DS_Store 6 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/assign.html 6 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/edit_form.php 20 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/enrol.php 4 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/enrolmax.html 0.5 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/index.html 5 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/lib.php 99 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/moodle.php 88 kB
- Moodle_Maximum_Enrolments_1.8.4 Folder/README.txt 2 kB
$i18n.getText("admin.common.words.show")- Moodle_Maximum_Enrolments_1.8.4_Folder.zip
- 31/Mar/08 12:07 AM
- 53 kB
- Bruce Schmoetzer
-
$i18n.getText("admin.common.words.hide")
- Moodle_Maximum_Enrolments_1.9_Beta_4_22_Jan.zip
- 31/Mar/08 12:10 AM
- 57 kB
- Bruce Schmoetzer
-
- README.txt 2 kB
- lib.php 108 kB
- enrol.php 4 kB
- assign.html 7 kB
- moodle.php 90 kB
- edit_form.php 22 kB
- index.html 5 kB
- enrolmax.html 0.5 kB
$i18n.getText("admin.common.words.show")- Moodle_Maximum_Enrolments_1.9_Beta_4_22_Jan.zip
- 31/Mar/08 12:10 AM
- 57 kB
- Bruce Schmoetzer
-
$i18n.getText("admin.common.words.hide")
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar.zip
- 31/Mar/08 12:15 AM
- 61 kB
- Bruce Schmoetzer
-
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/.DS_Store 6 kB
- __MACOSX/.../._.DS_Store 0.1 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/assign.html 7 kB
- __MACOSX/.../._assign.html 0.2 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/edit_form.php 22 kB
- __MACOSX/.../._edit_form.php 0.2 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/enrol.php 4 kB
- __MACOSX/.../._enrol.php 0.2 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/enrolmax.html 0.5 kB
- __MACOSX/.../._enrolmax.html 0.2 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/index.html 5 kB
- __MACOSX/.../._index.html 0.2 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/lib.php 106 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/moodle.php 90 kB
- __MACOSX/.../._moodle.php 0.1 kB
- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar/README.txt 2 kB
- __MACOSX/._Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar 0.2 kB
$i18n.getText("admin.common.words.show")- Moodle_Maximum_Enrolments_1.9+_Beta_4_30_Mar.zip
- 31/Mar/08 12:15 AM
- 61 kB
- Bruce Schmoetzer
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-17949 | List of problems related to potential enrolment rewrite in 2.0 - META |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
I would like to have that feature in the version 1.7 as well... ![]()
I think that I will use Ken Wilson's hack because I am still on 1.6.
I think I will be able to hack the additional feature that limits the number of courses that students can enrol on to one.
Tim
But on second thoughts I doubt if this will work with student self enrolment using an enrolment key. Full enrolment into the class should only occur when the student turns up to the class and recieves an enrolment key. This means that preregistration needs to be a a sort of temporary enrolment, and I don't think that Ken's hack will acheive this.
Oh dammit sorry. I see that i had foreseen this need for dual enrolment before and also figured a work around using my redirect courses, which would provide the "temporary enrolment" needed as mentioned in the paragraph above. So ken's hack should work for me.
Sorry for all these changes. I will shut up now.
This file was created by Alan Barrett to upgrade the hack from v1.6 to v1.8.4. It still needs some help as (at least for me on Moodle 1.8.4+ (2007021541)) it fails to display the number of Available Places remaining in a course on the All Courses page or on the Available Courses list on the Front Page. Otherwise it works as advertised.
This file was created by Alan Barrett to upgrade the hack from v1.8.4 to v1.9_Release. It still needs some help as (at least for me on Moodle 1.9 + (Build: 20080329)) it fails to display the number of Available Places remaining in a course on the All Courses page or on the Available Courses list on the Front Page. Otherwise it works as advertised.
OK, I was wrong. The original 19_Release version broke my 1.9_Stable (Moodle 1.9 + (Build: 20080329)) install. There was a new function in moodle/course/lib.php that was failing when called from elsewhere in the 19_Stable release. So I manually upgraded the 1.9+ lib.php file and have added it to this set of files. Sorry for the confusion.
Hello,
the new enrol/self plugin i nMoodle 2.0dev implements this functionality.
Thank you for the report.
Petr Skoda
I've been using this hack, but one of the limitations I find with it is that if I need to manually enroll a student when I am already at the maximum (as I must do if a student pays with a check instead of Paypal), I must change the number allowed before I can enroll manually. Now, it is theoretically possible that in the short time I increase the number to allow myself to be able to manually enroll a student, another student could come along and enroll via Paypal because there is an extra space available. It would be nice if this limit could be applied to self-enrolled students (either via Paypal or other methods), but allow the teacher to override it for manual enrolments.