Enrol by user profile fields
Maintained by
Nicolas Dunand
This plugin allows users to be enrolled according to any value stored in their user profile.
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 just checked and it works on Moodle 2.8 and 2.9 (although I have to correct a couple minor things which do not prevent the plugin from working). We are going to upgrade to Moodle 2.9 in a month, so I'll release a new version in a couple weeks.
I am not sure exactly how this works and how you can customise it to use our own Customised profile fields.
Any pointers would be great.
Iain
Thanks
Roger
First we have a different url for student emails stu.oursite.edu
and each username is specific in someway to the department or year within the department.
I am not sure how to achieve that or even if that is possible.
[26-Jun-2014 10:32:07 Australia/Sydney] Default exception handler: Error reading from database Debug: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT DISTINCT u.id FROM mdl_user u WHERE 1 AND u.deleted=0 AND
[array (
)]
Error code: dmlreadexception
* line 443 of \lib\dml\moodle_database.php: dml_read_exception thrown
* line 996 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 229 of \enrol\attributes\lib.php: call to mysqli_native_moodle_database->get_records_sql()
* line 163 of \enrol\attributes\lib.php: call to enrol_attributes_plugin::process_enrolments()
* line 262 of \lib\cronlib.php: call to enrol_attributes_plugin->cron()
* line 61 of \admin\cli\cron.php: call to cron_run()
Any idea what might be causing it?
I also changed around the user profile fields at the same time to fix a syncing issue, so it may not just be the upgrade.