My spologies if this has been postred before.
I'm looking to make enrolment to specific courses on Moodle 2.2 and 2.3 automatic as soon as a student logs in for the first time. We were able to do this with Moodle 1.9 as our then Web Developer wrote a PHP script for us. Sadly he's now gone, and we've upgraded to Moodle 2.2.
We have a number of courses such as Equality and Diversity and The Learning Centre that we want our students to be enrolled on (whether they want to be or not!)
If anyone knows how this can be done, I'd be very gratreful!