How to skip the confirmation message, found the solution, but still need some help

How to skip the confirmation message, found the solution, but still need some help

by chihuei lu -
Number of replies: 1
Hi,
I wonder how to skip the confirmation message: "You are about to enrol yourself as a member of this course. Are you sure you wish to do this?"

I like students directly access to the courses after they have registered.
I did site search and found the solution, http://docs.moodle.org/en/Internal_enrolment;
but I still don't know how to do it.
"A trick to avoid the confirmation message is to make a link to the course with '&confirm=1' on the end after enrol.php e.g. http://moodle.org/course/enrol.php?id=50&confirm=1 Which will take you straight to the course page and enrol you transparently. "

Can anybody help?

Thanks a lot!!
Average of ratings: -
In reply to chihuei lu

Re: How to skip the confirmation message, found the solution, but still need some help

by Heather P -

Hi

a bit after the original question, but I've just found the solution you did and like you I don't know where to put it. Did you ever find out?

I've got notes from back in 2006 on how to comment out the entire form and stop it asking in the first place, but that seems like over kill if a simple '&confirm=1' put somewhere will do it. I'm in a 1.9.11 moodle.

Thanks
Heather