How to disable step "You are about to enrol yourself as a member of this course"

How to disable step "You are about to enrol yourself as a member of this course"

by Luciana Oliveira -
Number of replies: 6

Hi,

I need to disable the the enrolment confirmation message that is displayed to students when they enroll in courses. I want them to click the course and go right in to the course page.. Does anyone know how to do that?

thank you so much

Luciana

Average of ratings: -
In reply to Luciana Oliveira

Re: How to disable step "You are about to enrol yourself as a member of this course"

by Luciana Oliveira -

I forgot to say that I'm using Moodle 1.9 smile

In reply to Luciana Oliveira

Re: How to disable step "You are about to enrol yourself as a member of this course"

by Daniel Hedley -

I would also find this very useful, if anyone can help?

In reply to Daniel Hedley

Re: How to disable step "You are about to enrol yourself as a member of this course"

by Christoph Ackermann -

Hi,

check this thread: http://moodle.org/mod/forum/discuss.php?d=170808
This works for me.

Christoph

In reply to Christoph Ackermann

Re: How to disable step "You are about to enrol yourself as a member of this course"

by Daniel Hedley -

Yup. Works a treat. Thanks!

In reply to Daniel Hedley

Re: How to disable step "You are about to enrol yourself as a member of this course"

by Luciana Oliveira -

Any news on how to solv this in Moodle 1.9?

In reply to Luciana Oliveira

Re: How to disable step "You are about to enrol yourself as a member of this course"

by Christoph Ackermann -

I wasn't aware, that it is different in moodle 1.9.

I just took a quick look at 1.9. You could try the following:

In moodle\enrol\manua.enrol.php there's in line 73:
notice_yesno(get_string('enrolmentconfirmation'), "enrol.php?id=$course->id&confirm=1&sesskey=".sesskey(),
                                                              "enrol.php?id=$course->id&cancel=1");

You coud try to replace that with:
redirect("enrol.php?id=$course->id&confirm=1&sesskey=".sesskey());
It's certainly not very sophisticated, but it might work...
(I have no moodle 1.9 installation where I could acutaly test it.)

 

Christoph