I have a moodle LMS with existing courses that were setup without self-enrolment enabled. I can enable it one course at a time. This is not ideal as I have almost 100 course.
Is there a way to enable it on multiple courses at the same time?
Can I do this via MySQL query? I can't figure out which tables change when it's enabled/
Probably you can insert rows in mdl_enrol? -- the enrol field would be 'self'. Maybe set one up the way you want, then insert a copy of that row for every other courseid
The self enrolment plugin setting screen allows you to add it automatically to any new courses.
The self enrolment plugin setting screen allows you to add it automatically to any new courses.
We ended up pulling out all courses without 'self' and manually setting them up.
Thanks for the input.
Thanks for the input.