AutoEnrol
Maintained by
Roberto Pinna, Mark Ward
Adds functionality to automatically enrol users onto a course, either as they log in to your Moodle site or as they access a course.
This plugin was at first intended for use on courses which you want all users to be able to access but can also be configured for more advanced purposes as reserved access courses.
Using the new user filtering you can think at Autoenrol as a Swiss Army knife for Moodle enrolments.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
I am currently using moodle 2.8.5 version. May i know how to filter users in moodle based on Stream(Branch)?
For Example,
We have 4 categories as mentioned below
1. Computer Science
2. Information Science
3. Electrical & Electronics
4. Electronics and Communication
Here the student from Computer science stream should able to access only computer science contents and he should not able access other stream subjects. so, is there any method to filter the students based on stream wise during Student Registration process? (Manually stream field is provided in Registration form)
I am currently using moodle 2.7 version. I am able to install the Auto Enroll plugin and ist working fine. I would also like to set the enrollment duration for the courses. I did not see the enrollment duration option in the same. Is there any way to add the enrollment duration also?
Is there any plugin with this feature?
This enrollment method definitely has potential. Have you considered enrollment by cohort only? Not to be confused with cohort sync, but that a user must be in a specified cohort before the autoenrol enrollment is "active".
Thanks!
How can I fix that?
Thanks,
Jon
I've set up a ticket for you on the issue tracker for this plugin:
https://github.com/markward/enrol_autoenrol/issues/7
So far I havent been able to reproduce the problem so I am going to need some more information from you. If you could sign up for a GitHub account and answer a couple of questions that would be great.
Thanks
Mark
There's somethign strange with this plugin, i've installed that on Moodle 2.7.3 and configure it to auto enrol on a specific course. the users's that click on the course auto-enrolled without problem.. HOWEVER, there was no student role or any role assigned...
Anything i've misconfigured ?
Thanks for the help
I've seen your ticket on GitHub and will take a look. Thanks for reporting it.
Mark
. enrol_autoenrol
Fehler beim Lesen der Datenbank
Weitere Informationen über diesen Fehler
Debug info: ERROR: invalid input syntax for integer: ""
SELECT * FROM mdl_groups WHERE id = $1
[array (
0 => '',
)]
Error code: dmlreadexception
Stack trace:
line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 244 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 764 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1305 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
line 1278 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 48 of /enrol/autoenrol/db/upgrade.php: call to moodle_database->get_records_list()
line 535 of /lib/upgradelib.php: call to xmldb_enrol_autoenrol_upgrade()
line 1615 of /lib/upgradelib.php: call to upgrade_plugins()
line 434 of /admin/index.php: call to upgrade_noncore()
You are correct, it doesn't unenrol users when their information no longer matches the filter. I can appreciate why you would want it to work like that but simply put the plugin wasn't designed around a protected course but rather a more public course which you want to get users enrolled onto as easily as possible.
I've started a discussion (see link below) which outlines my thoughts on taking this forward. I'd love to hear your thoughts on what I am proposing.
https://moodle.org/mod/forum/discuss.php?d=277265
Thanks
Mark