New Enrolment Plugin: Enrolment upon approval

New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Number of replies: 310
Picture of Plugin developers

Hi all,

we are in the process in finalizing the "Enrolemtn upon approval" plugin.

The process is designed as follows:

1. user applies for enrolment

2. amdin approves enrolment application (or cancels it)

3. user gets informed about admin's action by mail

4. after admin has approved, user can enter course.

If someone is interested in helping to test the plugin, please let me know and I will reply with the plugin attached. It would be also great if someone who knows moodle programing conventions well could taka a look and feedback us if all is complient. So far I do not want to publish it, and finish testing first.

Thorsten

Average of ratings: -
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi all, please find the plugin attached to this post, allthough it is still in testing ;)

Any comments are welcome!

How to install:

1. extract file and put the /apply folder into the folder /enrol

2. go to admin --> notifications and install the plugin

Done.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Carlos Suso -

Hi Flotter,

 

I installed the plugin exactely as you had said and a i got the next errors. My moodle version is 2.0

Warning: Missing argument 2 for admin_setting_heading::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 7 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1596

Warning: Missing argument 3 for admin_setting_heading::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 7 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1596

Notice: Undefined variable: heading in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1598

Notice: Undefined variable: information in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1598

Warning: Missing argument 3 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 9 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Warning: Missing argument 4 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 9 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Notice: Undefined variable: description in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Warning: Missing argument 4 for admin_setting_confightmleditor::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 11 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1795

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1798

Warning: Missing argument 3 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 13 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Warning: Missing argument 4 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 13 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Notice: Undefined variable: description in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Warning: Missing argument 4 for admin_setting_confightmleditor::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 15 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1795

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1798

Warning: Missing argument 3 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 17 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Warning: Missing argument 4 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 17 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Notice: Undefined variable: description in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Warning: Missing argument 3 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 18 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Warning: Missing argument 4 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 18 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Notice: Undefined variable: description in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Warning: Missing argument 3 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 19 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Warning: Missing argument 4 for admin_setting_configtext::__construct(), called in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/enrol/apply/settings.php on line 19 and defined in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1665

Notice: Undefined variable: description in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

Notice: Undefined variable: defaultsetting in /home/httpd/vhosts/tvm-e-campus.nl/httpdocs/lib/adminlib.php on line 1672

In reply to Carlos Suso

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Carlos,

sorry, we just did an update before I uploaded which causes this problem. I will post an updated version by the begin of next week.

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Carlos,

please find attached the fixed version. I have tested it with moodle 2.1

- Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Here the plugin from above as zip file.

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Carlos Suso -

Hi Flotter

I got exactely the same errors!

Regards

In reply to Carlos Suso

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Carlos, ok, this is strange. Besides on a moodle 2.1 I also tried to install it on a 2.0.2 and it also installed without any problems. Just to let you know. Maybe there are other persons who tested and can share experiences?

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Mohsina Ahmed -

Wao! It's work properly................smile I just test it in moodle 2.0.5 version!!

In reply to Mohsina Ahmed

Another problem of group Enrolment

by Mohsina Ahmed -

Hello,

I am continuing with moodle about 15 days. And need an help about enrollment. Say, I want to enroll  a group about of 50 users in a course, then how can i do the group enrollment? More spreadly, I want to enroll a group as student by one click! Is it possible by moodle 2.0.5??

Please help me as soon as possible!!

Thanks,

Mohsina.

In reply to Mohsina Ahmed

Re: Another problem of group Enrolment

by Flotter Totte -
Picture of Plugin developers
Hi Moshina, I would like to help I just not fully understand. where are those users? You can use "manual enrollment method". There you can select the users and then add them with one click. Best Regards, Flotter
In reply to Flotter Totte

Re: Another problem of group Enrolment

by Mohsina Ahmed -

Hi Flotter,

Ok ! I am explain the details. Say, there has some groups (created by admin)such as: 1st year student, 2nd year student etc. Now I (admin) create a course and want to enroll only 1st year students' group as student. So, when i go to enroll user i don't found the group in enroll list. Hope,  now you understand my problem and give proper solution.

Thanks

Mohsina.

In reply to Mohsina Ahmed

Re: Another problem of group Enrolment

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hello there. I suggest you investigate Cohorts which admin can create and then bring into a course in bulk and add to a group they have in that course. http://docs.moodle.org/21/en/Cohorts

Average of ratings: Useful (1)
In reply to Mary Cooch

Re: Another problem of group Enrolment

by Mohsina Ahmed -

Hi Mary Cooch,

Thanks a lot for your help!! Now, i can solve it.

Mohsina

In reply to Mohsina Ahmed

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Hi Moshina, thank you for the feedback smile btw:please let me know if you have any improvement suggestions. We are still in development phase. Thanks ...
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Muff Stuff -

Yes, i tried this on both 1.9 and 2.2 version and got the exact same warnings.

In reply to Muff Stuff

Latest Version

by Flotter Totte -
Picture of Plugin developers

Hi Muff Stuff and all others,

please find attached the latest version which works in my moodle 2.2.1

Which version of moodle are you using? (it is intended for 2.x)

Flotter

 

In reply to Carlos Suso

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Carlos,

you had debugging=on, right? Please see my post form today (6th of May 2012) with an updated setting file

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Vivek Vetri -

Hi Flotter,

I successfully installed the plugin. am so new to moodle.

1. I created a new user and enrolled a course.

2. It is successfully enrolled without any approval.

can anyone help me.. where i have to go to enable the approval settings??

In reply to Vivek Vetri

Re: New Enrolment Plugin: Enrolment upon approval

by Muff Stuff -

If you havent activated or assigned the enrol plugin you need to do it first.

Go to your course and search under users for the enrollment options (im not sure about the path in english), its easy to find.

There you can add and activate more enrollment profiles, add this one and activate it. It should work fine.

 

Hope it helps.

In reply to Vivek Vetri

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Vivek Vetri,

sorry for my late reply.

As muff stuff writes, to make the plugin work, you first must activated it on site level.

Then you also must enable it on course level.

Best Regards,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Vivek,

just because you could install the plugin without any problems - which version of moodle are you using?

Thanks,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Hal MacLean -

Hi Flotter - thank you for writing this plug in... I have a small feature suggestion.

When a student wishes to enrol, there ought to be an optional text entry field that they can fill in to explain why they need to do the course.

The situation is for when a course contains licensed material that has a limited number that can be deployed. The admin can then control access to the course a little more.

Also, it would be really good if the course enrolment notified a third party email as well - for example a student wishes to enrol in a course following a review of their progress by a tutor who manages their learning, but does not teach the course. The tutor can receive a notification that the student has enrolled and is accepted onto the course.

Average of ratings: Useful (1)
In reply to Hal MacLean

Re: New Enrolment Plugin: Enrolment upon approval

by Hal MacLean -

Also, the admin interface ought to be in the enrolled users page - a button or link which opens a list view of who has requested enrolment and the reason given by them for this. Checkbox selection of those to be either accepted or rejected, which then sends off an email to advise them (and any third party included).

OR, the list of users in the enrolled users page should filter when the enrolment method is selected, giving a list view that can be managed more easily. The current way of managing the enrolment request is a little too buried away.

Please keep this plugin updated - it's a really valuable addition.

Oh - I use v2.1, and am happy to test this further with you. The plugin installed fine, no errors, and appears to work as planned so far.

In reply to Hal MacLean

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Hal,

thanks for your supportive comments!

Regarding your suggestion to put the applications into the 'enrolled users' page: the problem is that we would need to change coded outside of the plugin (ie in the moodle core code).

Greetings,

Flotter

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Currently the plan for the future is:

1. Write clear installation and usage instructions

2. Get the module into the moodle plugin db

3. Development: have one list with all courses including related users and let for example the admin approve/reject all applications

4. Development: embed it into a hierarchystrucutre (especially useful if used in an corporate enviroement). Then, the direct manager will see all applications of the own team and can approve. Bevore this can start we must investigate whether there is already a plugin or something to manage hierarchy structures and make this enrolment plugin compatible to it

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Hal MacLean -

Thanks for that, Flotter - I understand.

However, it should be possible to create a page within the plugin that creates a view of who has enrolled with checkboxes to manage the requests and link to this from somewhere, like the request page *if* editing is turned on?

Do you think the text area idea might be added, too? This would be a superb addition.

In reply to Hal MacLean

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Hal,

thanks for your comments.

I have now submitted the plugin to the official plugin DB. Now waiting for approval.

What we did not so far is to create good documentation for installation and usage. Also we need to improve the language (so far it is non-native English). If you or anyone wants support us in this, please let me know smile

After these basic things are realized we will look into your development suggestions. Other suggestions also welcome smile

If you have an urgent, specific request please let me know and we will try to organize development (but we would need to charge this).

Thanks for all your support!

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Miryan salas -

Hi,

I have tested your plugin and i realise that  the enrolments aren't stored in the mdl_role_assignments table... Can you check it?

Thank you

 

In reply to Miryan salas

Re: New Enrolment Plugin: Enrolment upon approval

by Miryan salas -

I have found other things that could  be fixed:

A user request for a course-> in the list of enrolled users in the course  appears a row with this enrollment( before be approved)

In this list of the enrolled users in the course, the role of the enrolment is not established.

Regards

In reply to Miryan salas

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

That there appears a row before approved might be not a bug. If a user applies, she is already enrolled, jsut without any role assignement. The role assignment gets added after approval. Let me know what you think of it. We also will check this part.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Miryan salas -

Thank you for your prompt response.

I believe could be confuse show the users in the list of participants before be approved, may be using other table to aprove or decline each request  could be useful.

About the role, I believe it doesn't appear because there isn't a row associated in the table "mdl_role_assignment"

Regards

 

In reply to Miryan salas

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Miryan,

thanks for checking the plugin and your feedback. We will check it!

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Miryan,

thanks for finding the role bug. It has been fixed - would you mind to take a look?

I have attached the new lib.php file which includes the fix.

 

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Miryan salas -

Hi,

I will test it.

If you enable debug messages as developer, it appears a lot of warnings, advices ....

Miryan

In reply to Miryan salas

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Minyan,

really thanks a lot for this hint.

Please find attached file and the problem should be fixed.

It would be very kind if you could give me some feedback on the 2 recent bugfixes. I will then pack a new version of the plugin.

Btw: are you planning to use the plugin or are you already using it?

Thanks again!

Flotter

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Paolo Sartorio -

Hi Flotter Totte,

I just tried the plugin but right after the installation without errors it asks me the email settings (subjects and contents) and I get an error/unknownparamtype.

I'm using Moodle 2.2 italian

Thank you

Paolo

In reply to Paolo Sartorio

Re: New Enrolment Plugin: Enrolment upon approval

by Paolo Sartorio -

I tried with the old settings file and it does work, it is the last one you updated that doesn't work

In reply to Paolo Sartorio

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Same problem here.. Did anyone has a fix on this?.. Please reply ASAP.. or please upload the most updated and fixed version..

 

Thank you!

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi all,


please use attached settings.php


Btw: I have submitted the plugin to the official plugin database end of May. I asked the responsible person (Anthony Borrow) why it has not been approved yet and he told me that he is currently too busy to approve plugins but will do this very soon.

The full updated package I wil lput to the official database then.


Please send me any bug here in the forum.

 

Thank you!

 

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Sir,

I've tried in many times but still got this error:

error/unknownparamtype


I really want to implement it in our system. BTW, Im working on Moodle 2.2.3

-Mark

Thank you.

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

I have just tried it on a fresh moodle 2.2.3 install and it worked fine.

Attached please find the latest package.

Could you try this on your system? And in case, yould you also please try it on a fresh moodle 2.2.3 install?


Flotter

 

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by maggie jelli -

hi flotter , i installed this plugin but theres no part in users sites to apply a course, would u help me pls?

In reply to maggie jelli

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Mohammad,

did you activate the plugin in site adminstration --> plugins ?

There is a detailed documentation available for the plugin, you can find the link to the documentation on plugins site in the moodle plugin db.


All the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Sir,

One last question,

Where can I see (what specific page) the notification that a student applied for the course and where can I approve it?

Thank you in advance.

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Does it work now?


(will post a scrennshot about your question above)

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Yes sir,

It worked but the question is where can I approve it?  And also where can I edit the notification message after I clicked the [Enroll me] button?

-Mark

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Mark and all others, please use the latest of the package which is attached to this post. It contains a bug fix. Btw: that you see this wrong notification message seems to be an updating problem. If you use attached complete package, this problem should not be present.


Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

I would like to report a bug:

INSERT INTO mdl_role_assignments (userid,roleid,contextid,timemodified,modifierid) VALUES(?,?,?,?,?)
[array (
0 => '19',
1 => NULL,
2 => 3,
3 => 1341796735,
4 => 2,
)]

Stack trace:
  • line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
  • line 893 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 935 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
  • line 143 of /enrol/apply/lib.php: call to mysqli_native_moodle_database->insert_record()
  • line 25 of /enrol/apply/apply.php: call to confirmEnrolment()
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Where are the screenshots?

 

-Mark

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

How to approve applications:

Go to your course and in the settings go to:

Users --> Enrolment Methods


In the page which opens now, click on the first icon in the row of the plugin (please see the screenshot).
There you find the list with all users who applied for the course.

Hope it helped,

Flotter

 

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Flotter,

How about the " [ [ notification ] ] " message right after the participants enrolled? How can I modify it?

 

Thank you.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

SIr,

 

Is it possible that i can see all the application in all the courses?

and if possible the courses are grouped according to their names.

Cheers!

Mark

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Sir, whenever I approve a student I got this error. I think there is an error with the update query you are using.

 

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Doug Bell -

Hello,

 

would this plug in work with PayPal to notify students and instructor that student enrolled? Presently PayPal notification is not working.

 

Doug

 

Moodle 2.2.3

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Good Day Flotter Totte,

 

I really appreciate your plugin and it really works fine now.

Thank you for your great app. Hawever, I still need to review if we're going to implement it in production level.

Cheers!

-Mark

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by daniele giancola -

Hi,

I've just installed and configured this plugin on moodle 3.5, but when I try to assign "course enrol confirmation" as enrollment rule in a course the system gives me an Internal server error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@xxxxxxxxxxxxx.it to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log."


Can you help me?

Thank you

Daniele




In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Dear all,


I want to share the good news with you that the plugin has been approved by Anthony from moodle.org

You can find it here: http://moodle.org/plugins/view.php?plugin=enrol_apply

From now on you can find latest versions there.

Please note that during the last 2 weeks at that place was an outdated version (as updates took place here in the forum). So in case you downloaded the plugin during this time there, please update it.

Thanks for all your comments! Please keep posting bugs and suggestions!

Flotter

 

From now on, I will allways

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Sir,

How can I configure this message/instance?

enrol

Instead of just "Enrol me" I would like to put certain field of the course.

Thank you and Congratulation to the plugin approval.

Mark

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Mark,


usually this shoud be possible in the related lang file. But it seems in this case some hard coding took place. I will change this and tell when it is updated.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi, you can change this in the lang file.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

Another bug:

No default role in the enrolled users:

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

thanks for this! I will check this!

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Christian Mark Nisperos -

I try to track the error but still no effect. But anyway, thank you for the quick response..smile

In reply to Christian Mark Nisperos

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

That's fixed in the latest version on github (where we are  now)

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Daniel Obando -

hi! Very useful plugin, thanks! I'd like to know how could I make this enrolment option default for every new course. 

This is: Whenever I create a course, I have to go to Settings -> Course administration -> Users -> Enrolment Methods and add a new instance of Course Enrol Confirmation so that the Enrol Me button appears to the students.

Is there a way to do this by default on every new course? thanks!

In reply to Daniel Obando

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Daniel,

currently that's not possilble. I will put it on the dev. list.

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Daniel Obando -

Hi! Just a heads up. I was able to do that by creating a local plugin and using the event "course_created" to invoke a function that creates the instance of your plugin.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Alistair Spark -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Flotter,

Thanks for developing this plugin. 

I was wondering if there would be any way of making it so that when the admin confirms the enrolments on to the course he/she can select what role to give the selected users on that course?

As I think this could be useful not only for enrolling students but also for staff - lecturers and course administrators etc

Thanks

In reply to Alistair Spark

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Alistair,

thanks for your improvement suggestion - I will put it into the requested features list.


For the moment, one workarround would be that the admin goes to the enrolled users page of the related course and changes roles there.

Best Regards,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Mia Musolino -

Hi Flotter or whoever can answer my question:

We have downloaded and installed the enrol upon approval plugin, but it is not showing up in the site administration > plugins > enrolments. Is there something else that needs to be done?

Thanks,

Mia

In reply to Mia Musolino

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Mia, you must go to:

site administration > plugins > enrolments > manage enrol plugins

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -

Hi Flotter,

I just downloaded your plugin to my Moodle/enrol folder. Ran it and enabled it in the site plugins section and in a course. It seems to look and work okay from the administrator's view except I cannot see the button or text where the user can apply to enrol. I assumed it would be an icon or text by the course title on the home page or My Moodle page where the courses are listed, as it is for other enrolment methods like Paypal or self enrolment. But I cannot see anything.

Probably something I am doing. Any ideas?

Geoff

In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -

I just found the solution. Instead of an icon on the course name, you have to be on the site home page (rather than the My Home page) and at the bottom there is a button that says "Search courses" and one beside it that says "All courses". When I clicked the "All courses" button, the full list of courses came available and at the bottom of the list was a button that said "Request a course". When I enter there it shows a page where you can request a course. I hope this helps others see the user's perspective.

In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -
Correction to the above. The above process is not the solution. It is to request a new course, not to request enrolment. To request enrolment you have to click on the company name on the list of courses and hit the "enrol me" button. The user then has a request to be added. The administrator must then go to the enrolment method in the course (under users) and confirm they are allowed in. Geoff
In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -
Is there any way the administrator can be notified when someone requests an enrolment? I can see how to approve it (going to the enrolment methods section of any course) where all applications are listed. But how do I know if someone has applied unless the administrator checks every day? Geoff
Average of ratings: Useful (1)
In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

[quote]But how do I know if someone has applied unless the administrator checks every day?[/quote]

You could check every week.

Joking smile

I understand you problem. The current status of the plugin works fine if there is a fixed starting date/ enrolemtn deadline. Then you just check and approve once.

The current situation is, that all course applications of all courses are shown in one table which can be accessed by the admin who also can approve/cancel.

I will put

- notifications in case of application

- course specific application process

into the dev. roadmap.

 

Flotter

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -
Thanks Flotter. That would be useful as it is impractical for me to use unless either the teacher or administrator is notified a student has asked for approval. Apart from that it appears to work well. The only little bug I could find was on one course (but not others), the "enrol me" button asking for approval was repeated twice vertically. Not sure why it did it for one course only but will see if I do something in the course to make it appear once. Cheers, Geoff
In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Could you post as screen shot?
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -

I could not paste to this text area, but I attached a jpg image. Note I changed the language pack so instead of saying "enrol me" it says "request access"

I hope this is helpful.

Geoff

In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Geoff Waring -
I solved this problem of the enrolment method showing up twice. My mistake. I had added the "enrolment upon approval" twice to the course under "enrolment methods" in the course admin area. All seems to work okay, so will wait until the notification function is added as part of the development path. Best wishes, Geoff
In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by bayan irhaem -

Hi, I just installed the plugin on moodle 3.8.2. everything works fine except the Enrol me button not showing.

I read all the discussions and tried everything, still not showing, any help, please? 

One more thing, can we replace the text of "Not available unless: You must be enrolled in this course!" with a link to enroll index page?

In reply to Geoff Waring

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Geoff, actually it works exactly in the same way as for example in the Self Enrolment plugin.You go to the course list, click the course name and then enrol. (the My Courses shows only the courses which you already have enroled to, no matter which enrolement procedure is used). Flotter

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Priyanka Rawat -

Hello Flotter,

Could you please help...Actually i want that first student should send a unique id while requesting to get enroled in a course..and then admin could be able to see what id has been send by the student...so that based on that admin could enrol the student...

Could you please help..

In reply to Priyanka Rawat

Re: New Enrolment Plugin: Enrolment upon approval

by Sherry Stafford -

I also would like to collect a few items of information in the text box the student submits with an enrollment request. I would like to change the title of the box from "Comments" to a short statement requesting information. In which file can I do that?

Thanks!

In reply to Sherry Stafford

Re: New Enrolment Plugin: Enrolment upon approval

by Jordi Fontseca -

You'll need to edit the language file (/enrol/apply/lang/en/enrol_apply.php) and replace "Comment" with any text you want.


Regards,


Jordi

In reply to Jordi Fontseca

Re: New Enrolment Plugin: Enrolment upon approval

by Derek Nugent -

I tried replacing "Comment" in the language file (/enrol/apply/lang/en/enrol_apply.php) and and no joy is there any other way to edit it... does the string have to be edited before the plugin is installed or should the string be read at runtime? 

In reply to Flotter Totte

Re: How to add a description to the plugin

by Andreas Schmersal -

Hi all,

i recently installed the your enrol on approavl plugin. Works technically fine. The problem i have: When a user tries to enrol, only the button is displayed without a description (as seen on my screenshot).

I tried to add something in the file "apply/lang/en/enrol_apply.php:

$string['description'] = '';

Nothing happens. Wuold you have any idea what i could do?

 

Thanks in advance for any help!

 

Cheers

Andreas

In reply to Andreas Schmersal

Re: How to add a description to the plugin

by Flotter Totte -
Picture of Plugin developers

Hi Andreas,

Did you add a course description to your course (in the course settings). This is one way to add additional content to this page. The plugin itself has currently no own additional content. This should be developed additionally (small hack).

Hope that helped,

Flotter.

In reply to Flotter Totte

Re: How to add a description to the plugin

by Andreas Schmersal -

Hi Flotter,

due to format stuff i´m not supposed to add descriptin on course head level.

Tried to add some code into your plugin but somehow it isnt displayed. Good to hear tht this is to be developed in future.

In the meantime: Which .php should i enhance so that some text is displayed. Do you have any recommendations?

 

I tried the edit.php, settings.php and the apply.php but couldnt find a place where i can add my code so that it is displayed...

 

Cheers and thanks in advance,

Andreas

In reply to Andreas Schmersal

Re: How to add a description to the plugin

by Flotter Totte -
Picture of Plugin developers

Hi Andreas,

please try to review the Self enrolment plugin and find out where/ how the related message is displayed. Would be nice you can post your results here smile

 

Flotter

In reply to Flotter Totte

Re: How to add a description to the plugin

by Andreas Schmersal -

Flotter,

i found a solution, but it is a ruthless hack with a modification of standard code and not save for updates.

So no recommendation from my side to do the same. If anyone is so dodgy to try my hack, please save copies of the edited file for future upgrades.

Anyway: Basically I wanted a text to be displayed right above your subscribe button. So I did this:

 

  • Go to folder /enrol and open the index.php
  • Go to line 92 in the code. You find a foreach expression foreach ($forms as $form) {...}
  • Replace this whole expression with code as follows

foreach ($forms as $form) {
 $check= strpos($form, "enrol_apply_enrol_form");
 if ($check > 0)
  {
   echo "YOUR TEXT GOES HERE";
  } 
    echo "<p>".$form."</p>";
 $ausgabe = "";

  • Replace YOUR TEXT GOES HERE with HTML code you want to be displayed.
  • Enjoy your solution
  • Be ashamed of your miserable change of standard code

 

Cheers,

Andreas

Average of ratings: Useful (1)
In reply to Andreas Schmersal

Re: How to add a description to the plugin

by Michael Zehr -

I believe I'm understanding the question, to have a description on the enrol page when using the enrol_apply plugin.

If so, better is to go to enrol/apply/locallib.php, to the function definition().  In my verion go to line 60, but add something like:

$mform->addElement('html', '<BR>This is a test<BR>');

Even better, change the second parameter to a "get_string" call, and create the string in lang/xx/enrol_apply.php, but I'm not far enough along in my own understanding to give fully debugged example of that.

Even more better, is change the edit form so when you configure the plugin for that course you can change the text... but I'm even farther away from figuring that one out.  

I might be there in a week and will try to update, in the meantime let me know if the above met your needs, or if anyone reading has a better understanding of the system than I do and can correct any of my mistakes, please do so.

Below is what the enrol page looks like with the code I posted above:

sample of the code fragment I posted

Thanks,

Michael

In reply to Michael Zehr

Re: How to add a description to the plugin

by Michael Zehr -

Followup question:

I've figured out how to add either an instance setting variable or an overall configuration setting variable (the former edit_form.php and the latter by editing settings.php, then in locallib.php getting the $DB and getting the config records, following examples in other files).

But it occurred to me that configuration strings (including the confirm and cancel email) aren't language dependent, since they aren't in the lang/xx/enrol_apply.php file.

I'm not sure how I would make them language-dependent.

For my purposes I could probably override them on a per-instance basis, since each of our courses will have a single language.  I believe this would mean that edit and edit_form would need to have additional textarea controls, with a default equal to the configuration value read from the database, and then the action code (sending the confirm or cancel email) would have to pull from the instance variables.  But I might be getting past what I can do.  Any suggestions welcome.

Michael

In reply to Michael Zehr

Re: How to add a description to the plugin

by Álex González -

Hello there,

I know this answer is seven years old, but still:

Is there a way to make this plugin language-dependent? That is, to send confirmation emails in the same language that the student had when requested enrollment. Maybe after seven years there are some changes.

Thank you

Alex

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by rohit tomar -

i have added this plugin in my projest but it is not sending mail to the enroled user also when i add user via admin->plugin->enrolment method-> then only, in list of enroled user, a user enrolled by this plugin is displayed otherwise if i enrol user from course->user-.enrolled user-> then it shows the enrolled user, but the status of user is enrolled by manual method  

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Erwin Kroontje -

Is it possible to make this plugin the default foor Moodle?

Else i have add it manually within each course..

In reply to Erwin Kroontje

Svar: Re: New Enrolment Plugin: Enrolment upon approval

by Alf Martin Johnsen -

Yes it is. Go to Settings > Site administration > Plugins > Enrollments > Your enrolment method. In the settings page for this plugin you can set it to be standard when creating new courses.

In reply to Alf Martin Johnsen

Re: Svar: Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

Maybe I have an out of date version (running on 2.2), but when I installed the plugin it didn't have that feature.

There weren't a lot of changes required to get it to work, and mostly it could be copied from the self enrolment plugin:

add two fields to the admin UI in settings.php (one for defaultenrol, one for status) and then implement add_default_instance($course) in lib.php.  I'm pretty sure it only has to save the status field (and again, look at self enrolment plugin for it's implementation of add_default_instance as a template, but drop the other fields.

Lastly if it's being added automatically you might want to be able to edit the plugin instance within the course, although at the moment the only things to edit are the instance name and whether it is enabled or not. To do that add the edit icon to the list in lib.php:get_action_icons.  (I checked for capability enrol/manual:manage in the context before showing that icon, but that might not be the best approach.)

 

I can supply some code fragments if needed, though if an update to the enrol plugin has this feature already, then of course use that, and my apologies for taking up your time.

 

 

In reply to Michael Zehr

Re: Svar: Re: New Enrolment Plugin: Enrolment upon approval

by Erwin Kroontje -

@Alf Martin Johnsen

Can't find this option for the plugin sad

It's available for manual enrolment only..

@Michael Zehr

Can you send the snippets? smile 

Thanks in advance

In reply to Erwin Kroontje

Re: Svar: Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

Code diffs from enrol_apply_moodle23_20120716 for adding ability to make this enrol plugin included for new courses:  (sorry if I'm not inserting code the proper way -- let me know if I should do something different)

in enrol/apply/lib.php, insert at line 80:

/**
* Add new instance of enrol plugin with default settings.
* @param object $course
* @return int id of new instance
*/
public function add_default_instance($course) {

$fields = array('status' => $this->get_config('status'), 1);

return $this->add_instance($course, $fields);
}

Note: not clear if the default of "1" is needed or desired.

In enrol/apply/settings.php, insert at line 8:

 // MJZ: added to allow making it part of every new course

$settings->add(new admin_setting_configcheckbox('enrol_apply/defaultenrol',
get_string('defaultenrol', 'enrol'), get_string('defaultenrol_desc', 'enrol'), 1));

// MJZ: added because status is needed during default enrol
$options = array(ENROL_INSTANCE_ENABLED => get_string('yes'),
ENROL_INSTANCE_DISABLED => get_string('no'));
$settings->add(new admin_setting_configselect('enrol_apply/status',
get_string('status', 'enrol_apply'), get_string('status_desc', 'enrol_apply'), ENROL_INSTANCE_DISABLED, $options));

This code was copied from the self enrol plugin.

I did one more thing, though I'm not sure it's necessary.  I enabled the edit button for managing enrolment methods.  This would allow someone with the proper capability to turn off the plugin without removing it from the course.

 

This has been lightly tested and works on my system, but has gone through code review or anything like that.  Feel free to make suggestions.  I had made some other changes to plugin for local use, but I'm pretty sure I got the diffs down to just those you need for to include it as default.

Michael

In reply to Michael Zehr

Re: Svar: Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

edit: "but has NOT gone through code review...." in last paragraph

In reply to Michael Zehr

Re: Svar: Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

Might be a problem with this, I'm trying to confirm and also develop a fix.  If the plugin is included automatically in a new course, the default roleid to use to enrol students might not be set, so users are enrolled with no role.  Might also be a side effect of some other changes I made, but if you're using the code I posted above, manually check the users roles in the course after approving the enrolment application.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Bernhard Harrer -

Typo in settings: "Cancel mail sontent" should be "Cancel mail content" instead.

In reply to Bernhard Harrer

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Thank you! It will be fixed an available in the next update.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Roger Oliveira -

Hi,

Where I can to configure the mail settings?

I think that this is automatic, but in my tests, sending mail did not work.

Thanks!
Roger

In reply to Roger Oliveira

Re: New Enrolment Plugin: Enrolment upon approval

by Cláudio Carvalho -

Hi

I recently installed the plugin "Apply". I'm using this with an enrollment plugin "meta link" (meta courses). I had problems because at the time the option is displayed to confirm the registration of users in the course, users are shown for all courses of the site. Not only did the course I'm referring to. This occurs even when I use a user (not administrator) with the role of teacher. Is there any configuration I have to do to manage the registrations only from users who are connected to the two courses I'm using ("with meta link")?

The administrator can configure for teachers and managers can view and confirm only users and courses to which they are involved?

(I'm apologizing because my text should have some errors. I used Google translator. I can read well but can not write well in English.)

In reply to Cláudio Carvalho

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Cláudio,

yes, currently the approval page shows all courses. There is currently no way to show to a teacher only the applications of her course.

 

Flotter

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

For your consideration as you plan future changes, we prefer being able to see all courses.

My client runs a number of courses simultaneously several times a year and wants to balance registration between classes where possible, so we're asking students to apply for a first and second choice.  By having all of them on one screen the registrar can make easier decisions about how to confirm enrollments.

 

In reply to Michael Zehr

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Michael,

oh, ok smile

It seems we should now care a bit more/ coordinate that current usages are not disturbed by future development. So in case there will be funding for making course applications I will take your current usage into account.

My current idea is to provide one page where all course applications can be viewed and then one for each course with only the course related applications.

Cheers,

Flotter

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Cláudio Carvalho -

Thank you. I will try to adapt some other solution to the scenario I have here.

In reply to Roger Oliveira

Re: New Enrolment Plugin: Enrolment upon approval

by Roger Oliveira -

I made the settings in an environment migrated from version 2.3 to 2.4, and sending email works, but in an environment originally installed 2.4 as sending does not work.

Are there any known issue about this?

Have any specific configuration for sending emails through this plugin?

Thanks!
Roger

In reply to Roger Oliveira

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Roger,

there is no known issue about this.

It might also be the problem is related in some way to your fresh moodle install. Do other email related modules work fine? e.g. email based self registration? Might be good to check this first.

 

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Erwin Kroontje -

Is there anyway to add the text, that students fill in the textarea when they ask permission, to the menu where admins can accept the enrolment? 

If the question is too unreadable.. English isnt my native language ;) Maybe the picture i added to this question helps..

In reply to Erwin Kroontje

Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

This is a feature we would use as well, but not quite at the level of importance that I've tried to write this myself.  (We have a semester coming up, but I'll probably tackle this enhancement between semesters if it isn't going to be part of the next plugin version.)

This plugin is becoming strategic for my client, so I'd be willing to help out on testing, or even coding if that's something you want to coordinate  (although, as I hinted, I don't have a lot of time over the next couple of months).

As for the request, putting the textarea up on the enrol screen probably isn't that hard, but I'd guess that the poster wants the students text entry to also be visible on the "manage plugin" screen that approves the enrolments for the courses.  That probably would require a screen layout change to allow enough space to display.  (Although if it could be done as a roll-over or pop-up window the original approval layout doesn't have to change that much.)

 

Average of ratings: Useful (1)
In reply to Michael Zehr

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Michael,

I am happy to integrate your plugin enhancements. I will quickly put latest version on github and let you know as soon as it is done. Could you then add your enhancements there? I would then take a look and integrate it.

I think it is great that the plugin is used by so many users and that now even people contribute to the further development of it (either with code/translation or money).

Regarding the requirement discussed above (the one of which you said is not very important to you but you might do the development): I have sent a mail to all users who I know and asked to support development. So far there was no reply. Please let me know as soon as you start also working on this.

 

All the best,

Flotter

In reply to Michael Zehr

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Michael and everyone who wants to contribute code,

the plugin code on github is now  up to date, please contribute your code via: https://github.com/emeneo/moodle-enrol-apply.git

In case your development might affect existing usage of the plugin, please discuss it here in advance.

For all who have enhancement ideas, please post them here in this forum or on our plugin site ( https://github.com/emeneo/moodle-enrol-apply.git ) or contact me directly.

No matter how you contribute to the further development and future of this plugin, thanks a lot! Together we make it a perfect plugin!

Cheers,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by amit gupta -

If possible, can we send enrollment request to teacher of that particular course instead of admin....hw we can do it??? Kindly let me know asap.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Andreas Nannen -

Greetings,

how is the avaibility with moodle 2.5? I'm running it and have some minor difficulties, but I'm unsure whether it's moodle 2.5 or joomdle 0.92 related.

When I try to use enrolment upon approval as only method, i can't choose to enroll in that course. after i set an alternative enrolment (e.g. self), i'm able to choose. but before there isn't a enroll me button in the course and there isn't a option in the course administration (registered user lvl).

another idea/question: how difficult would it be to design a more complex layer of approval, e.g. three different steps in order to finally approve a request?

thumbs up for the good work!

In reply to Andreas Nannen

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Andreas, thanks for the thumbs up smile

The plugin works fine with moodle 2.5

I will soon make publish an update on moodle which will include Portuguese (Brazil) and German language file. Also will update the user guide.

Regarding your question of multiple approval. This should be no big problem. What kind of process do you have in mind? (who should approve first, who second, etc.)

Greetings,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Andreas Nannen -

Hello Flotter Totte,

regarding the missing self enrollment option: are you able to understand this problem? Or should i describe it more?

multi approval: until now the enrolment upon approval aims for direct administration, but i thought about a multi layered hierarchy, e.g. chief of local department, then human ressources and at last the responsable training manager.

i'm working on a test version for an intern training site (as part of my studium), so a business kind of view is the way to go.

 

edit: chief of local department would be linked to the departnent of the enrolling user, HR and TM would be fixed. i thought about building sql tables and get_resulting the recipients

greetings,

Andreas

In reply to Andreas Nannen

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Andreas,

I tried the following on my moodle 2.5.1 install:

In a course, enabled enrolment upon approval and disabled all other enrolment method. Enabling/disabling via the eye button. Then I logged in as student and could enrol myself (via enrolment upon approval) without any problem.

Not sure if you have a similar situation and yes, if you could explain it in more detail might be helpful. Maybe also some screenshots.

Greetings,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Thomas Forsberg -

This is a very useful function, this module should be included in the core. I have a DB problem when using the module on our M 2.4.3 on a IIS server with PHP and MSSQL. Module installation and setup works, but when a new user tries to enrol he gets "Error reading from database" and the following is in the log:

[20-Aug-2013 11:12:39] Default exception handler: Error reading from database Debug: SQLState: 42000

Error Code: 102
Message: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near 'limit'.
select * from mdl_role where archetype="student" limit 1 [array egg] Error code: dmlreadexception * line 426 of \lib\dml\moodle_database.php: dml_read_exception thrown * line 260 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end() * line 367 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end() * line 779 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query() * line 827 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->get_recordset_sql() * line 1382 of \lib\dml\moodle_database.php: call to sqlsrv_native_moodle_database->get_records_sql() * line 78 of \enrol\apply\lib.php: call to moodle_database->get_record_sql() * line 63 of \enrol\index.php: call to enrol_apply_plugin->enrol_page_hook()

In reply to Thomas Forsberg

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Thomas,

thanks for reporting the bug. Before I start to look into it, is there anyone else with similar setup and has a fix for this bug?

All the best,

Flotter

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Thomas Forsberg -

I have tried to look into it myself, my SLQ knowledge is somewhat limited.I have found that the problem is related to lib.php and the line:

$role = $DB->get_record_sql('select * from '.$CFG->prefix.'role where archetype="student" limit 1');

First I got the error Incorrect syntax near 'limit'

The LIMIT statement does not exist in MSSQL, so I changed it to:

 $role = $DB->get_record_sql('select top 1 * from '.$CFG->prefix.'role where archetype="student"');

This got away with this error, but it introduced a new:

Invalid column name 'student'

This is where I am stuck right now. I am waiting to get credentials from the client to get access directly to the database server , but if anyone has suggestions I would really appreciate any help.

 

Thomas

In reply to Thomas Forsberg

Re: New Enrolment Plugin: Enrolment upon approval

by Thomas Forsberg -

Problem solved.  The last problem (see above) was because double quotes has a special meaning in MSSQL.  So by switching between double and single quotes, it now works on MS SQL with the following line:

 

$role = $DB->get_record_sql("select top 1 * from ".$CFG->prefix."role where archetype='student'");

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Mingyong Huang -

1) I installed this plugin by putting the unzipped file(s) into enrol/ folder

2) Installed this plug-in  (logged in as Admin)

3) Completed the settings (about Confirm Email and Cancel Email) after installation 

4) Go to a course page, from Users -> Enrolment Methods, I can only see 3 options in the list. (Manual [enabled], guest [disabled], Self [enabled], there is no 4th option (this plug-in)).

I'm using Moodle 2.5.2 and I tried 2 Moodle instances with one installed on Ubuntu server and one installed on Win 7). DB is MySql.

Any thoughts?

 

Thanks in advance,

Ming

In reply to Mingyong Huang

Re: New Enrolment Plugin: Enrolment upon approval

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

It looks like you might have missed the step of enabling the plugin?  Admin/plugins/manage enrolment plugins

Average of ratings: Useful (1)
In reply to Emma Richardson

Re: New Enrolment Plugin: Enrolment upon approval

by Mingyong Huang -

Thank you, Emma.  

It solves my problem.  

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Francisco Fumero -

Hello everybody,

I have a problem regarding "meta link" enrolment and this plugin. I have two courses, one is the meta course and the other one is the child course. In the meta course I set this plugin as the enrolment method. In the child course I set "Course meta link" as the enrolment method, pointing to the meta course.

When a student apply for the meta course, and I confirm the request, he appears as enrolled in both courses (in the admin view of the courses): in the meta course, he is enrolled through this plugin; in the child course, he is enrolled through the "course meta link" plugin. But, in fact, he can only access the meta course, not the child one. Even the meta course is only the course that appears in his profile.

This works fine using the manual enrolment and the same configuration of meta - child. It also works well if I enrol the student manually using that option of this plugin.

Any ideas on this?

Thank you very much in advance.

Greetings,

Fran

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Rik Strobbe -

I recently installed the 'Enrolment upon approval' plugin (downloaded from https://moodle.org/plugins/pluginversions.php?plugin=enrol_apply) and it works fine except that nor the admin user nor the teacher receive an email notification when a user tries to enrol.

If I understood it well the admin user always should receive an email notification and the teacher should receive one when 'send email notification to teacher' is checked (what I did).

If I (as admin user) approve or reject an enrolment request the user does receive an email, so that part seems to be working. I am using moodle v2.2.

Any idea what is going wrong?

Many thanks in advance, Rik

In reply to Rik Strobbe

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Rik,

sorry for my late reply. Your system works fine. When a student applies for enrollment, the admin user does currently not receive any mail. But to me it seems to be a good idea for future development (add a tick box and in case selected, also the admin will receive a mail)

Greetings,

Flotter

 

 

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Grace J -

Hi Flotter,

There is an error when student applies for course approval: 

My moodle version is 2.6. Database is postgreSQL

Debug info: ERROR: column "student" does not exist
LINE 1: select * from mdl_role where archetype="student" limit 1
^
select * from mdl_role where archetype="student" limit 1
[array (
)] 
Error code: dmlreadexception
Stack trace:
  • line 441 of \lib\dml\moodle_database.php: dml_read_exception thrown
  • line 239 of \lib\dml\pgsql_native_moodle_database.php: call to moodle_database->query_end()
  • line 744 of \lib\dml\pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
  • line 1415 of \lib\dml\moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
  • line 78 of \enrol\apply\lib.php: call to moodle_database->get_record_sql()
  • line 61 of \enrol\index.php: call to enrol_apply_plugin->enrol_page_hook()

 

Column "student" does exist.  There is no error when I run the SQL statement:

select * from mdl_role where archetype='student'

So I think maybe the reason is for postgreSQL, it requires 'student' instead of "student".

Any suggestion for this issue?

Thanks.

 

 

In reply to Grace J

Re: New Enrolment Plugin: Enrolment upon approval

by Grace J -

I have fixed it by myself.

Thanks.

 

In reply to Grace J

Re: New Enrolment Plugin: Enrolment upon approval

by sunil pimenta -

"Manage enrolment applications" gives a ser er 500 error also i cannot add this enrollment type to any course.

the plugin installed successfully but i cannot add the option as an enrollment option please help

In reply to sunil pimenta

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Sunil,

 

I never heard of such problem before. The lates moodle version I have tested the plugin for was: Moodle 2.5.1 (Build: 20130708)

Could you please be so kind and setup a quick testing insall of Moodle 2.5.1 (Build: 20130708) and test the plugin there and then kindly let me know the result? This way we could find out if the problem is related to the Moodle version or not.

Greetings,

Flotter

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

I apologize for not having send earlier code snippets.  I've been busy getting a school up and running....

 

But in doing so I found an issue that I think is related to the enrol apply plugin.

Classes have started and we processed a number of applications for a handful of courses.  In the first week there is a feedback activity used for a roll call.  When the teacher clicks on "non-respondents" on the feedback tab, some students who are not in the course are listed.  If you click on the student name the profile shows that  they aren't in the course.  I think these are students who requested the course but were turned down.

The non-respondents is based on getting a list of all users that could fill out the activity and removing those who did.  That uses get_users_by_capability.  There are comments in that function that refer to inactive enrollments which I think is the cause of the problem.  As I recall this plugin works by putting a partial row in the course enroll table and then completing it upon approval, so I'm wondering if the queries in accesslib don't check that the application wasn't completed.

Also it's possible that the registrar or teachers used the manual enrol plugin to cancel/delete students from the course after they used this plugin to request enrollment, so I'm not sure if that cleans up the database properly.

The one really odd part is that I have a few practice courses I set up for the teachers to play with, and when I go in them and click on non-respondents in the feedback, I get a huge list.  I haven't verified if it's all users, or all users who had an application turned down, or what exactly.  But in the real courses the teachers have only seen a couple extra students in the non-respondents.

Not sure if this is part of the issue, but in order to stop new applications we turned off the course enrol plugin in the admin's plugin management screen... but for a couple courses we removed it as an enrollment method.  We saw that by disabling it we couldn't use it to process earlier requests.  (There's got to be a better way to prevent new requests, right?)

There's a relatively easy fix if you have access to source code:

In mod/feedback/show_nonrespondents.php, line 243, add:

// added 1-26-14 by MJZ fix problem with unenrolled students showing up.
if (!is_enrolled($coursecontext, $user->id))
continue;

To summarize --

is there a problem with interaction between enroll apply and manual enrollments?

what's the right way to stop new enrollments from being accepted while still being able to access the "manage" screen to process existing requests?

Thanks,

Michael

In reply to Grace J

Re: New Enrolment Plugin: Enrolment upon approval

by Dave Owens -

Hi Grace, I am getting the exact same problem as yourself. I am just wondering how you fixed this? 

Dave

In reply to Dave Owens

Re: New Enrolment Plugin: Enrolment upon approval

by Alan Kaplan -

Hi -

 

Is the Enrolment upon approval plugin compatible with 2.6?

 

Thanks,

 

Alan

In reply to Flotter Totte

setting enrolment end date

by Michael Zehr -

I'm new enough to moodle that we're going through our first classes with real students.  As such we haven't completely figured out our end of class process.

I had thought the right way to handle the end of class was to set the end date for enrollment for each of the students to the end of class.  If you delete the student then the grades are gone, but by setting the end date for enrollment they ca't go back into the course but you still have the grades.

Today I need to process a student dropping out.  But when I go to enrolled users, there's no edit on enrol confirmation like there is on manual.  So I don't see a way to set the end date.

So what is the right way to drop a student from a class (either in the middle or to close things out at the end) so you keep the grades, but they can't go into the course anymore?

Thanks,

Michael

 

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Amer Child -

Hello all,

I have just installed enrol_apply on my moodle site (2.6.2) and finally understand the flow.  I have a question that someone may know the answers to:

1) Can the system send an email once a student requests enrollment to an email address with the students name and the information they enter into the text box before clicking enrol me?

In reply to Amer Child

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi,

 

yes, the system will send this email to the teachers of the course.

So you need to enrol a user and assign the teacher role to her.

 

Hope that helped,

flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Amer Child -

That worked perfectly thank you.  Is there away to add text to them information box that appears near the enroll me button?

In reply to Amer Child

Re: New Enrolment Plugin: Enrolment upon approval

by Amer Child -

How do I give a Manager the ability to approve these requests?  Is there a way to grant that permission?

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Sherry Stafford -

I have a role based on the Manager archetype but the role is named Manager-CME. It appears that this plugin is set to send enroll_apply notifications only to the roles named "Manager" and "Teacher." If this is true, could you tell me in which of your .php files I might change this? I love this plugin, but I need to use it in a complicated site that has several different manager roles (Moodle version 2.7).

Thanks for any guidance!

In reply to Sherry Stafford

Re: New Enrolment Plugin: Enrolment upon approval

by Jordi Fontseca -

Hi Sherry, 


you should be able to change this by editing the file "lib.php" (line 259):

https://github.com/emeneo/apply/blob/master/lib.php#L259

(Haven't tested this but it should work if you replace "manager" with your new role shortname.

Hope this helps,


Jordi

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Vicente Herrera -

Hello and thanks for creating such an useful plugin.

I've seen people stating that they use the plugin with Moodle version 2.6.2 (Amer Child), but plugin page currently states that it's compatible only with Moodle 2.5 so far.

Any plans to offically verify that it works ok with Moodle 2.6 or 2.7?

Thanks!

In reply to Vicente Herrera

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Hi Alan and Vincente and all...

yes, finally, the plugin has been tested and is ready for 2.6.

Please backup everything before you update ...

All the best,
Flotter
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Johannes Burk -
Picture of Core developers Picture of Plugin developers

I have forked this plugin on github and added the previous discussed functionality for apply the enrollment method as default to new courses. Also added an option for default role assignment, fixed a bug occurs when using psql as sql backend and some other little things. But removed all language files except english because&nbsp;of some faulty translation.

All this is currently at beta status cause it is not tested very well. Especially E-Mail notifications are not tested. But things I have tested so far works fine under Moodle 2.5, 2.6 and 2.7

Check it out: https://github.com/jojoob/moodle-enrol-apply/

Beta Release: https://github.com/jojoob/moodle-enrol-apply/releases/tag/v2.0.0-beta.1

In reply to Johannes Burk

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Johannes,


thanks for your work on the plugin and for your willingness to commit the changes (as discussed separately). Also thanks for pushing the development towards github (which I so far have a bit ignored). I think it's really a great step forward and will enable others to contribute easier.


All the best,

Flotter

In reply to Johannes Burk

Re: New Enrolment Plugin: Enrolment upon approval

by Jordi Fontseca -

Thank you both Flotter and Johannes for your work, this is a very useful plugin.


I have submitted a pull request (replaced deprecated function and added missing Spanish strings and Catalan language).


E-mail notifications seem to be working fine, but I'll test them out more fully in the next few days and let you know if I find any issues.


Regards,


Jordi

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Mário Brito -

Hi! 

I installed the Enrolment upon approval, The installation and setting seems ok, but when I try to enrol the course it returns an error:

Error reading from database

More information about this error


Anyone can help me?

Thanks in advance.



In reply to Mário Brito

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Hi Mario,

which version of moodle are you using?

Flotter
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Mário Brito -

Hi Flotter!

Thanks for your attention.

I am using the moodle 2.6.2+ (Build: 20140502)     2013111802.11

Mário 


In reply to Mário Brito

Re: New Enrolment Plugin: Enrolment upon approval

by Prashant Rais -

Hi Flotter,


I installed on moodle 2.6.4 and it installed fine. But I see few things missing:

1. Admin must be notified for every enrollment via email.

2.  That email should contain a link for admin to approve/cancel the enrollment request.

3. That link should lead to a page with buttons / controls to approve or cancel it.(even in bulk)


All these 3 features used to work with a plugin called moderated enrollment on moodle 1.9.

Is there any plan to improve and have these features in this plug-in?

In reply to Prashant Rais

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi,

regarding 1:

I think sending an email to the admin each time a student applies for a course probably only makes sense for smaller installation. Currently only teachers of a course are notified. If you want that the admin also gets a mail you could add the admin and add the teacher role to the admin user (in the course). Hope that helps. Maybe you can epxlain a bit your moodle situation.


regarding 1 and 2:

This seems to be a good idea (especially in the mail to the teacher). Let me think of it...


Greetings,

Flotter


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Jordi Fontseca -

Hi Flotter,

I have added some of this features to my local copy of the plugin, I'll submit a pull request on Github if you're interested.


Regards,


Jordi


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by David Son -

I've just intalled your plugin and i think its a great thing! however i think admin users must be notified. I want to enroll users only with the approval of an admin and i dont want teachers autorize to enroll any students. That would be a great solution for many cases where teachers dont have the autority to add new students. Think about it, and let me know if there's gonna be a new version soon!


In reply to David Son

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Please try to change the related role settings, by default it is said to "allow" for teachers


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Japheth Leung -

Hi,


Any Plan to release on Moodle2.7+ (Build: 20140522)


regards,

In reply to Japheth Leung

Re: New Enrolment Plugin: Enrolment upon approval

by Johannes Burk -
Picture of Core developers Picture of Plugin developers

The plugin was tested and should work with Moodle 2.7.

You can install it by downloading the zip file and copy the folder "apply" to /path/to/moodle/enrol/

Or install via githttps://github.com/emeneo/apply


If you finde any bugs please do not hesitate to write an issue on github.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Daniel Moreno -

Hi,


I installed the version 2.7.  of moodle and I've added this plugin unzipping its contents in the folder enrol. 

I have accessed the Notification Page and have successfully installed the plugin. 

I threw the subjects and messages for emails.


But I don't know how the plugin works. I register a user in a course with self-registration and he goes directly enrolled, it does not give me option to accept it or not. I can not find where this is configured. 


thank you very much 


greetings

In reply to Daniel Moreno

Re: New Enrolment Plugin: Enrolment upon approval

by Jordi Fontseca -

Hi Daniel,

Moodle provides different Enrolment methods, such as "self enrolment" or paypal.

This plugin simply installs a new enrolment method.

Once installed, you'll probably want to disable the self enrolment method and enable the new enrolment method. 

You can do this for specific courses (Settings > Course administration > Users > Enrolment methods) or globally (Administration > Site administration > Plugins > Enrolments > Manage enrol plugins).

More info:

https://docs.moodle.org/27/en/Enrolment_plugins

Hope this helps!

Jordi

Average of ratings: Useful (1)
In reply to Jordi Fontseca

Re: New Enrolment Plugin: Enrolment upon approval

by Daniel Moreno -

Thank you very much. 


I've managed to turn this type of enrollment and I have enroll a user using this type of registration. But where it is accepted or rejected students? 

The user appears inactive state at enrolled users page , but I cann't find where I should turn. 

[IMG][/IMG]


Thank you very much again. 


greetings

In reply to Daniel Moreno

Re: New Enrolment Plugin: Enrolment upon approval

by Jordi Fontseca -

Hi,


I think you need to go to Settings > Course administration > Users > Enrolment methods. You should see several icons next to the enrolment method, one of them should allow you to manage pending applications (the icon representing two users).


Regards,


Jordi

In reply to Jordi Fontseca

Re: New Enrolment Plugin: Enrolment upon approval

by Augusto Lima -
Hi Jordi, I deactivated all methods of enrolment but the problem still persists.


What I have to do?

In reply to Flotter Totte

New Version available

by Flotter Totte -
Picture of Plugin developers

Hi all,

there is a new version of the plugin available. It contains some code improvements and you now can use more placeholders in the notification mails which are sent to applicants.

Btw: all in all you now can use the following placeholders in both notification mails:

{username}         username

{firstname}          > first name

{lastname}          > last name

{content}             > course name


One of the next steps will be to test Jordif's enhancements regarding manager & teacher notification as well as some layout improvements. If anyone wants to help with testing, please let me know...

Flotter

In reply to Flotter Totte

Re: New Version available

by Fakhr Murshid -

Hi Flotter,

First of all, thanks for making this plugin. I really needed this functionality for my moodle site. 


I am having bit of a problem though. Plugin is not sending any email notification to the Manager role although it does send email to Teacher role user. Also, the email doesn't contain all the information I setup in the plugin settings like firstname, lastname, content, etc.


Thanks for your help.

Murshid

In reply to Fakhr Murshid

Re: New Version available

by Flotter Totte -
Picture of Plugin developers
Hi Murshid,

it should be the site manger role to make this work (not the manger role in a course)

Flotter
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Hey, good news!


A new version has been tested and released an can be downloaded from the moodle.org plugin site!


Besides some minor things, this release now also contains the following enhancements (Thank you Jordi for committing!):

  • Now possible besides notification email to course teachers also to site managers
  • moodle filters will work with the plugin:
  • Small layout enhancement to enrolment form


All the best,

Flotter







In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Augusto Lima -

Hi, how I can configure the class.smtp to send e-mail correctly?


Thanks

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by David Trelles -

I've been testing this enrolment plugin and I've found a "bug". It happens once user has applied. If you click on the current course sections on the left, it ouputs an error. I guess this error message should be somehow different either hide course sections until approval.



It's installed under the last Moodle version. If you figure out how to solve this problem... Thanks.

In reply to David Trelles

Re: New Enrolment Plugin: Enrolment upon approval

by sandip patel -

hi I have installed the plugin enrolment upon approval and one student send course request but i have not received a mail even email notification is working fine.

so how can get course request mail.

Regards.
Sandip

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Lokesh Jain -

Admin didn't get any mail, when a user apply for a course. 

Can you suggest where I can amend this

In reply to Lokesh Jain

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Admin does not receive any mails currently.

Only course teachers and site managers (if activated)

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Flotter,


Thank you for creating this great plugin. I have come up against an issue though ... It is not sending emails to teachers or managers. It does send emails to students when they are confirmed however so I don't believe it's an issue with my moodle site.

Am I correct to expect it to send teachers/managers an email notification when a student applies to be enrolled on a course? Or should it only happen when they are confirmed?

In any case, on my site it is doing neither. I have activated  

  • Send email notification to teachers 
  • Send email notification to managers


Any advice would be greatly appreciated. Thank you

Catherine

In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Catherine,

currently only the course teachers (users with course role "teacher") and users with system wide manager role can receive this mail. It's a bit tricky and might be would be good to have more options.


Please try the following

1. enroll a user to the course (for example with manual enrollment)

2. witihn the course, assign this user the role "teacher"

3. let a student enroll via the enrollment upon approval plugin

4. hopefully receive the mail


Flotter
Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Flotter,


Thanks for your prompt response. I had assigned managers at course level rather than site level so it seems that was the problem. When I assigned a manager at site level it worked as expected. 

However - this isn't a problem for me personally but flagging it in case it is a bug - teachers (enrolled at course level) are not getting notifications of enrollments. I'm on Moodle 2.9.4.

For other browsers here, I am happy to clarify that the notification email to site-level managers notifies you of new applicants and provides a link to the page where you can confirm/decline their application to be enrolled on the course.


Catherine

In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Catherine,


Just to be sure, could you please look in the related course into the list of enrolled users and check if the teacher user who should receive the mail has the local role teacher? (not the system role teacher). If you look in the course, this user should be displayed as in below screenshot:


So regarding who receives notification mails:

users with SYSTEM role manger (if ticked in the plugin settings)

users with LOCAL role teacher (if ticked in the plugin settings)


All the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Flotter,

I never responded to this but just to say that no, the teacher (assigned at course level) does not receive notification on my site despite  configured to do so in the settings. Not an issue for me personally but just fyi.

Thanks,

Catherine


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi all,


good news: the plugin has been tested and officially approved for moodle 2.8!

Lastest version as always in the moodle plugin DB. It would be great if you also would hit the LIKE button on the plugin's page:

https://moodle.org/plugins/view.php?id=325


Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

I am investigating using this plugin in my installation of Moodle.  I need one clarification before I install it. We are using Moodle in a corporate environment, I have a requirement to send an approval notice to an students manager and then have them go and approve or deny the course enrollment request.  In reading the thread for this plugin it looks like you can send approval messages to the course teacher or people setup with the manager role within Moodle.  How would I send the approval notice to a a students manager?

Scott

In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Scott,

currently only the course teachers and users with system wide manager role can receive this mail. But it would be an interesting enhancement...

Btw: do you already have the manager-->staff relation implemented in your system somewhere? in case yes, how?

All the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

I got your PM, will be sending you a request shortly.  We have manager information loaded into the employee profiles that Moodle creates through the use of custom fields.  We are then able to create a Manager>employee relationship by creating a manager role with limited rights to view their employees courses, grades, forum posts, etc.

We have been testing the Face to Face activity plugin which has the ability to send enrollment requests to the managers via a managers email field in the user profile.  It works ok, but has been confusing to some of our users because it requires enrolling in a course and then registering a session.  I am looking for a more streamlined method for our users and your enrollment plugin almost fits what I am looking for.

Thanks for your help, hopefully this provides a little more information for you.

Scott

In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

I am testing your plugin and came across a few issues I thought you should be aware of. I also have a couple of questions.

1. The plugin is logging an error in my php error log - [21-Jan-2015 13:31:29 America/Denver] PHP Notice:  Help contents string does not exist: [status_help, enrol_apply]<ul style="text-align: left" data-rel="backtrace"><li>line 464 of \lib\outputcomponents.php: call to debugging()</li><li>line 2121 of \lib\outputrenderers.php: call to help_icon->diag_strings()</li><li>line 1901 of \lib\formslib.php: call to core_renderer->help_icon()</li><li>line 32 of \enrol\apply\edit_form.php: call to MoodleQuickForm->addHelpButton()</li><li>line 191 of \lib\formslib.php: call to enrol_self_edit_form->definition()</li><li>line 46 of \enrol\apply\edit.php: call to moodleform->moodleform()</li></ul> in C:\WWWdev\WWW\lib\weblib.php on line 2948

2. As a student, how would I unenroll myself from the course?  Normally I would see in Course administration the link "Unenroll me from {name of course}".  It is not there when I login as a student.

3. Under Course administration > Users > Enrollment methods The plugin does not show up in the list of enrollment methods.  I have to click on the enrollment methods link to access the plugin.

4. I found a few typos in the lang file.  I have corrected those and attached them.  I have also created an US English lang file that I have attached as well.

That is what I have so far.  I will continue to test and will probably have more feedback later.  Thanks for this plugin.


Scott

Average of ratings: Useful (1)
In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Scott,

Thanks a lot for testing!

regarding problem 2: I got a fix (Thanks to Chris Clark!) and I am currently testing it. I attach the latest version here- it would be great if you could test based on that and especially if also in your system the problem disappeared.

And thanks a lot also for the lang files! Could you please commit them on github? If not I can also do this for you...

The plugin on github: https://github.com/emeneo/apply


All the best,

Flotter




In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

Your welcome, always willing to help where a useful plugin is concerned.  I will install and test out your new version.  I do not have a github account and have no idea how to use it so it would be easier for you to commit those right now.

I will let you know the results of my testing.

Scott

In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

I have installed the new version.  When I login as astudent and go to a course I still do not see the unenrol link.  This is what I see in my php error log.

[22-Jan-2015 07:58:14 America/Denver] PHP Notice:  Capability "enrol/apply:unenrolself" was not found! This has to be fixed in code.<ul style="text-align: left" data-rel="backtrace"><li>line 389 of \lib\accesslib.php: call to debugging()</li><li>line 1591 of \lib\enrollib.php: call to has_capability()</li><li>line 481 of \lib\enrollib.php: call to enrol_plugin->get_unenrolself_link()</li><li>line 3749 of \lib\navigationlib.php: call to enrol_add_course_navigation()</li><li>line 3431 of \lib\navigationlib.php: call to settings_navigation->load_course_settings()</li><li>line 717 of \lib\pagelib.php: call to settings_navigation->initialise()</li><li>line 734 of \lib\pagelib.php: call to moodle_page->magic_get_settingsnav()</li><li>line 136 of \blocks\settings\block_settings.php: call to moodle_page->__get()</li><li>line 296 of \blocks\moodleblock.class.php: call to block_settings->get_content()</li><li>line 238 of \blocks\moodleblock.class.php: call to block_base->formatted_contents()</li><li>line 993 of \lib\blocklib.php: call to block_base->get_content_for_out in C:\WWWdev\WWW\lib\weblib.php on line 2948


Scott

In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

I was able to fix this error.  Just needed to bump the version number so the new capability would install.  I can now see the Unenroll link.

Scott

In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Karren -

Flotter,

Another fix.  I was able to get the plugin to appear under the Course administration >Users>Enrollment methods dropdown by adding the following code.

        /**
     * Sets up navigation entries.
     *
     * @param stdClass $instancesnode
     * @param stdClass $instance
     * @return void
     */
    public function add_course_navigation($instancesnode, stdClass $instance) {
        if ($instance->enrol !== 'apply') {
             throw new coding_exception('Invalid enrol instance type!');
        }

        $context = context_course::instance($instance->courseid);
        if (has_capability('enrol/apply:config', $context)) {
            $managelink = new moodle_url('/enrol/apply/edit.php', array('courseid'=>$instance->courseid, 'id'=>$instance->id));
            $instancesnode->add($this->get_instance_name($instance), $managelink, navigation_node::TYPE_SETTING);
        }
    }


Scott

In reply to Scott Karren

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Thanks a lot for this fix, I will integrate it into the next release!

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Hi Scott,

thanks a lot for the languages, I have them integrated into the latest release smile

Flotter
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Sergi Font -

Hi!

I have a question, I want to translate the plugin into catalan.

Because I've set my moodle language to catalan when I go to Site administration -->"Connectors"(because catalan) and look for the plugin I see everything like...

[confirmmailcontent_desc] ---> IMg attached

I've read all comments and I have AutoEnrol on \moodle\mod\AutoEnrol

I have moodle 2.6 and I'm not really sure how to fix this...

I've read that some people have some folders for language, but I have none. I have to create them?

Thx and regards.

This plugin is really nice



Attachment moodle.jpg
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by matthew lizares -

im using moodle 2.9 and joomdle 1.02, will this enrolment plug in also work?

right now while i have the plug in installed in both the site enrollment and also to the course, i still dont see the enrol button on the course.


the only time i see an enrol button is when i have enabled self enrol, but if that happens, there is no request approval process.


thanks

In reply to matthew lizares

Re: New Enrolment Plugin: Enrolment upon approval

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Joomdle is for authentication not enrolment...unless you also have a shopping cart on the Joomla site.  It should not affect your enrolment method.

In reply to Flotter Totte

Enrolment upon approval plugin: Comments section

by Derek Nugent -

Does anyone know where the comments go from the Comments box in the enrol as I don't see them appear in the email sent for the enrollment application.   sad

In reply to Derek Nugent

Re: Enrolment upon approval plugin: Comments section

by Tyler Whiteley -

I'd like to know this as well.  I'd also like to change the comment box to a form.  When a student applies for access and fills out the form, that completed form gets included in the email sent to the manager.  Any ideas how this can be accomplished?

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Oleg Sizonov -

Hi!

If options "Show standard user profile fields on enrolment screen" and "Show extra user profile fields on enrolment screen" are set to "No" value, then appears the error "moodle_database::update_record_raw() no fields found" after pressing "Enrol me" button .

Please, help me to avoid this problem! black eye

Version of my Moodle is 2.8

In reply to Oleg Sizonov

Oleg a simple fix

by Fabio Uzeltinger -

moodle\enrol\apply\lib.php
line 106
comment this line:
$res = $DB->update_record('user',$userInfo);
like this
//$res = $DB->update_record('user',$userInfo);

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Dear all,

 

Great news. I have just released a new version of the plugin and it got much better:

  •  bugs have been fixed  (thanks to Carlos Shirasawa (Shiro), eWallah, Gilles-Philippe Leblanc and Scott Karren),
  •  a Chinese version has been realized (thanks to Lainme) and
  • a really great and often requested new feature has been realized (thanks to Derek Nugent)

The above mentioned new feature lets you add  the user’s standard profile fields and/or extra user profile fields which the student should check and in case correct/complete. Whether or not having the profile fields appeared can be defined in the plugin settings.

Thanks to everyone who contributed to the further development of the plugin!

All the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Zabelle Motte -
Picture of Particularly helpful Moodlers

Hello !

We used the module with moodle 2.8 and it worked well.

But since update to moodle 2.9, we encounter difficulties with this module :

- Teachers should be able to add the enrolment upon approval method to their course and it is not possible. Only administrators can add the method (and permissions allow teacher to manage enrolment with approval);

- Nor teacher nor administrators may suppres this method from a course.

There has perhaps been some changes in right definition in moodle 2.9 ?

thanks in advance for help and big kisses for this module ;-*


Zabelle


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
smilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmile

MOODLE 2.9 VERSION NOW AVAILABLE

smilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmilesmile

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Constantine Domolego -

Hello!

Something wrong sad

Moodle 2.9.3 (Build: 20151109)

After add new enrolment method - Course enrol confirmation - get next error:

Capability "enrol/apply:enrol" was not found! This has to be fixed in code.

  • line 389 of /lib/accesslib.php: call to debugging()
  • line 171 of /enrol/apply/lib.php: call to has_capability()
  • line 266 of /enrol/instances.php: call to enrol_apply_plugin->get_action_icons()

In reply to Constantine Domolego

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hey,


this line I never cared much about and should cause any problem (Moodle 2.9.3 (Build: 20151109) But I think from 3.0 onwards this information also should be correct, thanks for the hint smile


Regarding the other issues: Which moodle version are you using? Which level of debug reporting are you using?

Thanks and Greetings

Flotter



In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Constantine Domolego -

Hello!

Debug level - Developer

Moodle version 2.9.3 (Build: 20151109) - update just yesterday

In reply to Constantine Domolego

Re: New Enrolment Plugin: Enrolment upon approval

by Constantine Domolego -
If student click on course he see one more warning.

Warning: Missing argument 4 for useredit_shared_definition(), called in /var/www/html/moodle/enrol/apply/locallib.php on line 89 and defined in /var/www/html/moodle/user/editlib.php on line 278
In reply to Constantine Domolego

Re: New Enrolment Plugin: Enrolment upon approval

by Michael Milette -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

I just installed the latest version available from moodle.org/plugins site (2015110300) and get the same error as Constantine except that the error originates at :

  • line 266 of /enrol/instances.php: call to enrol_apply_plugin->get_action_icons()

Any chance this can get fixed?

Best regards,

Michael

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Andrew Johnson -
I updated the plugin but now when I go to confirm someones enrollment, I get an ERROR 500 - INTERNAL SERVER ERROR.  Any thoughts??
In reply to Andrew Johnson

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Andrew, which moodle version are you using?

Flotter

In reply to Andrew Johnson

Re: New Enrolment Plugin: Enrolment upon approval

by Azmat Ullah -
Hi,


Have you resolved internal server file issue. I'm facing same problem when I click on course confirmation link from course setting or click on delete icon from enrolled user then Internal server file error occurs..


Please help!

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Benjamin Young -

Hello, Great plugin here.

I did some testing on Moodle version 3.0.1 running PHP 7 and after the install completes the next page that loads (settings page) generates an error.

Here is the message. Hope this helps with getting the plugin to work with 3.0.


Debug info: Missing $plugin->component declaration in version.php.
Error code: detectedbrokenplugin
Stack trace:
  • line 459 of /lib/upgradelib.php: plugin_defective_exception thrown
  • line 1647 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 677 of /admin/index.php: call to upgrade_noncore()

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Astral Coltd -

Hi there. Is there a way to set the duration of the enrolment using this plugin?

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Astral Coltd -

Hi! 


Another question, I want to add a checkbox field before the submit button.

Looked for the files, but didn't find it. Can you tell me the filename where I can edit the form action?

In reply to Astral Coltd

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Astral,


Go to Site Administration > Users > Accounts > User profile fields


Here you can Create a new profile field. Choose 'Checkbox from the dropdown list (see screenshot)


Then in your enrollment method in the relevant course,  go to the settings, and beside 'Show extra user profile fields on enrollment screen' choose 'yes' from the dropdown list.


Catherine

Attachment 2016-03-08_16-23-21.png
Attachment 2016-03-08_16-32-01.png
Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Brigitte Sturl -

Hi, this plugin is a great idea.


But: we would like to set the default enrolment duration, which is possible at the enrolment methods 'manual enrolment' and 'self enrolment'. 

We would like to set, that each student has access to the course for a preset period of days, starting at his approval date.


I could not find this setting within "enrolment upon approval" - is it possible to set this anywhere?

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Dear all,


last week I received my first donation for the development of this plugin. This was a very nice surprise and of course is also very motivating. The donation was sent by Catherine Behan. Thank you very much!


All the best,

Flotter


(Also you can donate via the plugin page by buying me a coffee, by paypal or by bitcoin cool )

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by thiago oliveira -

Hello!

We use this great plugin in our institution.

Recently, I'm having problems with an 'unknown user' (with administrator or professor status) who is approving enrolment applications in a course. This is bothering me because I'm responsible for this course and for enrolment applications approval or disapproval.

I would like to know if it is possible to identify this 'unknow user' who is approving enrolment applications without authorization. Moodle log report doesn't show this; it shows enrolment as an action of the user who required enrolment (see attached file enrolment at 8h16):

Thank you.

In reply to thiago oliveira

Re: New Enrolment Plugin: Enrolment upon approval

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Are you sure that you do not have self enrolment enabled on the course as well?

In reply to Emma Richardson

Re: New Enrolment Plugin: Enrolment upon approval

by thiago oliveira -

Yes I´m sure.

I just tested the enrolment method and it behaves as described in the previous image.

I then checked up by obtainig a log report of myself, who had approved the test enrolment, and it shows no action other than "course view"; it does not point out that I approved an enrolment request. 

Maybe this is a problem we will have to deal with over here, since there are diferent people with administrator role. I just wished I could identify the one who is irresponsibily allowing people in to my course repeatedly.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Francis Vendrell -
Hell,

When upgrading from 2016012801 to 2016042200, I got the following error message (I am using Moddle 2.8.3):

Debug info:
Error code: upgradeerror
Stack trace:
  • line 340 of /lib/upgradelib.php: upgrade_exception thrown
  • line 545 of /lib/upgradelib.php: call to upgrade_plugin_savepoint()
  • line 1626 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 434 of /admin/index.php: call to upgrade_noncore()

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Simon Kelsey -

Very useful plugin, thank you!

However -- is there a way to prevent new applications without suspending the enrolment of students who are already on the course? Disabling the plugin causes all users who have already been approved to have their enrolment suspended.

I'm thinking of something like the self-enrolment options whereby one can allow existing enrolments but prevent new enrolments.

Essentially I'm trying to prevent my waiting list from getting too long!

Thanks!

Average of ratings: Useful (1)
In reply to Simon Kelsey

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Simon, Flotter,


This is a very good point and I have just come across this issue now too! Being able to stop people from enrolling either because the course is full or because the course start date has passed, without stopping already-enrolled users from accessing the course is not really possible. It would be great if a future update of the plugin would allow this feature. Do you think this would be possible?


Simon, as a work around - it's far from ideal, but it does work:

  • In your course, go to your list of enrolled users
  • Manually enroll anyone who has been enrolled via this plugin
  • In your enrollment methods, hide the instance of the 'enrolment upon approval' method.

Catherine

In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Simon Kelsey -

Thanks Catherine, that is a useful workaround! As you say, it would be good if this could be included in a future version.

Simon

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Federica Marra -

Dear all,

I encountered a big issue with the plugin and it never happened before today!

It looks like that after ONLY ONE user enrolls himself through the plugin.. then the enrolment option is blocked for all other possible students as "Maximum number of users allowed to self-enrol was already reached."

Am I missing something in the settings? I can't see where I can set up the maximum amount of enrolled users in the course.

We used this plugin for other courses as well (around January) and we got 20 users applying at the same time. I can't understand what is wrong now.. 
Moodle version in 2.8.5 and the plugin version is the latest.

Thanks a lot!


In reply to Federica Marra

Re: New Enrolment Plugin: Enrolment upon approval

by Luisa Cotto -

Hi Federica,

We are having the same issue. We only have one person enrolled and is not allowing any other users to enroll.


Did you fix it?



Attachment maximum users.JPG
In reply to Luisa Cotto

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Luisa,


The warning message suggests that your users are enrolling by 'self enroll' rather that with this plugin. You probably need to hide 'self enrollment' in the enrollment methods and make sure that 'Enrolment upon approval' is activated for that course.


Catherine

In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Federica Marra -

Hi Catherine,

Thanks a lot for the hint! I am sorry but I have the same problem than Luisa and it is not related with the self-enrollment method.
I tried to have it hidden or disabled.

As soon as one user is enrolled with the enroll confirmation method other users cannot enroll into the course because of the error message:

Maximum number of users allowed to self-enrol was already reached.
Other ideas how to solve it? smile
In reply to Federica Marra

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Frederica,


Out of interest, did you get get a solution to this?


Catherine

In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Federica Marra -

Hi Catherine,

we don't use the plugin anymore at the moment. But it would very helpful to have it back!

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Adebiyi Olafusi -

I just installed enroll_apply on moodle 3.1 but discovered that the manager role isn't receiving notification of enrollments by email. Also, students aren't receiving notifications on approval or otherwise.


What am I doing wrong?

In reply to Adebiyi Olafusi

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Adebiyi,


I had the same problem with the manager not receiving notifications. Possible solution for you is at https://moodle.org/mod/forum/discuss.php?d=189334#p1325805


Re student not receiving notifications - it's hard to say why without further info. Have you filled out the template at [yourmoodlesite]/admin/settings.php?section=enrolsettingsapply ?


Catherine



In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Sten Kjellstrom -

Hi


I'm totally new to Moodle so sorry if the question is dumb. 

I've just installed the "Enrolment upon approval" plugin to be able to select a certain number of students to enrol in a class. The criteria is in this case - the number of months of experience as a resident doctor. There is no absolut cut of in terms of months, it will be the 25 students with the most experience.

To get experience information from the student applying to the course I've created a user field. So to the question.....

Is the a way to display "user field" on the "Enrol confirm" page? I would like to be able to sort from high to low.


Thanks

Sten

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Greg Rudl -

I installed it in a demo site but don't know how to get it to work. Is there any documentation? Tutorial? Etc.

In reply to Greg Rudl

Re: New Enrolment Plugin: Enrolment upon approval

by Greg Rudl -

Again, the only documentation I found was a handbook that costs $25--that's a first I've seen for any plugin. There's no video tutorial that I found that shows how the plugin works and how to configure it???

In reply to Greg Rudl

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Greg,


To configure the plugin, go to [yourmoodlesite]/admin/settings.php?section=enrolsettingsapply

Here you can edit the confirmation and rejection email that goes out to applicants, decide if you want teacher and managers to receive notifications etc.


Then to add the method to a course page, go to Users > Enrollment Methods and add the 'Course enrol confirmation' as a method and say that you want users to be given a student role on the course page.


Assuming you set it to receive notifications, you will get a message to your inbox when someone applies this way, which will contain a link to where you can accept or reject the application. Alternatively go back to the to the course page > users > enrollment methods and click on the icon of a person's head - here you can accept or reject the enrollment applications.


Catherine

Average of ratings: Useful (1)
In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Greg Rudl -

Thanks, but I don't have 'Course enrol confirmation' as an option?

In reply to Greg Rudl

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -
Hi Greg,

Is the plugin enabled?


  • Check [yourmoodlesite]/admin/plugins.php?contribonly=1
  • and [yourmoodlesite]/admin/settings.php?section=manageenrols to make sure this enrollment method is not hidden.


Average of ratings: Useful (1)
In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Greg Rudl -

Thanks, I got it to work, though I would like more control in what fields the user would need to complete for their "application."

In reply to Greg Rudl

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

That's great Greg.


Re fields: At [yoursite]/user/profile/index.php you can add new fields which can be required as part of the application. 

At course level, in the enrollment method settings, specify that you want to show extra user profile fields on enrolment screen

In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Brim -

Regarding "edit the confirmation and rejection email", I have not been successful in using the parameters such as {content}. Perhaps my problem is that I'm trying to edit in atto. Help please. 

In reply to Scott Brim

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

I don't think Atto is the cause Scott, because I use it and they work for me.

Average of ratings: Useful (1)
In reply to C Behan

Re: New Enrolment Plugin: Enrolment upon approval

by Scott Brim -

Would you be willing to send me a message, private or public, with (something like) your welcome and decline messages? I'd be very grateful. 

In reply to Scott Brim

Re: New Enrolment Plugin: Enrolment upon approval

by C Behan -

Hi Scott,

I sent you a message there so just get in touch with me through that.

Catherine

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Joel Kerth -

Hi, there!.. any new for Moodle 3.2.1 ?? Thanks!

Average of ratings: Useful (1)
In reply to Joel Kerth

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Joel,

Please take a look here how you can support the development of this plugin for moodle 3.2  to upcoming moodle 3.4


Greetings,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers
Hi all,

emeneo has financed testing and fixing for 3.2 and 3.3. 3.2 has been published recently and you can download it. Currently 3.3 is in testing. If anyone wants to help testing the plugin for m3.3 or has done this already, please report your findings. Thank you!

All the best,
Flotter


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Francis Vendrell -

Hello,

I just upgraded the "Enrolment upon approval plugin" to Version 3.1-b (2017020200) (Moodle 2.8.3)

First problem: On the plugin overview page ...admin/plugins.php, it is written version 3.1-a (i.e not b).

2nd problem: The submit button ("confirm request,...") on the page ...enrol/apply/manage.php  has no effect.

3rd problem: No notification are sent at all.

Any idea why it doesn't work ? It used to work perfectly with the previous version.

Thanks in advance for any given help !

Attachment Capture1.PNG
In reply to Francis Vendrell

Re: New Enrolment Plugin: Enrolment upon approval

by Mo Elhammamy -

I have tried the plugin on 2.8.3 and add the student but bring the below screen "can not handle the enrolment HTTP Error 500'

And the teacher never receives email

In reply to Mo Elhammamy

Re: New Enrolment Plugin: Enrolment upon approval

by Francis Vendrell -

Hello Mo Elhammamy,

Thank you for your confirmation ! Maybe I should consider upgrading my Moodle site.

In reply to Francis Vendrell

Re: New Enrolment Plugin: Enrolment upon approval

by Francis Vendrell -

Hello,

I have just installed the last version - 2017020300 (3.1-b.3).

Unfortunately, it didn't solve the problem, i.e. the submit button ("confirm request,...") on the page ...enrol/apply/manage.php  has no effect and no notification are sent at all (Moodle 2.8.3).

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Dear all,

During some testing we realized that the current version of the plugin is not suitable for moodle 2.8. The reason is that the moodle 2.9+ messaging API is used.

The problems mentioned by Francis Vendrell and Mo Elhammamy are related to this.

So please note: the current version of the plugin only works with moodle versions: 2.9, 3.0 and 3.1. If you use a lower version than 2.9, I recommend to upgrade your moodle (you can contact me if this is not possible for you to discuss possible solutions).

All the best,

Flotter

BTW: I will soon release a new version with an interesting new feature smile

In reply to Flotter Totte

New version 3.1-c released

by Flotter Totte -
Picture of Plugin developers
Dear all,

I am happy to announce the release of a new version of the plugin. Thanks to Konstantin / CMD it includes a new feature which displays max user related information on the enrol screen:


All the best,

Flotter


In reply to Flotter Totte

Re: New version 3.1-c released

by Jeffrey Sy -

Dear Flotter,


This plugin looks like it will fit our organization's needs. I am interested to know if the plugin will work on Moodle 3.3+. If not, when do you think a new version compatible with Moodle 3.3+ might be released?


Thank you and best regards,

Jeff

In reply to Jeffrey Sy

Re: New version 3.1-c released

by Flotter Totte -
Picture of Plugin developers

Dear Jeff,


Please take a look here how you can help to make the plugin available for moodle 3.2., 3.3 and 3.4


Thank you and all the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hello everybody!

In order to ensure the sustainable development of this plugin i have set up a crowdfunding campaign on INDIEGOGO:



https://www.indiegogo.com/projects/enrollment-upon-approval-for-moodle-3-2-3-3-3-4#/

Please take a look. With your contribution you can help that I can publish the plugin for version 3.2, 3.3 and the upcoming version 3.4. Besides you show your general support and appreciation for the plugin, which is a great motivator.


Any suggestions welcome!


All the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by lylou lou -

I am testing the plugin but i am unable to activate it with the course. 


Any help would be much appreciated.


Thanks

Lyes

In reply to lylou lou

Re: New Enrolment Plugin: Enrolment upon approval

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Is the version you are using compatible with the Moodle version you have?  Have you enabled the plugin?

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi all,

Finall), we are happy to announce version 3.3!

This version also includes 2 new interesting features:

  1. Set time stamp upon confirmation - many thanks to Arnaud Trouvé! By setting timestart on enrolment confirmation we can retrieve when the user enrolment has been activated which could be useful for reports.
  2. Added backup and restore feature to the plugin - many thanks to emeneo! Now the enrolment upon approval plugin is considered during backup and restore. At the same time the plugin can now also be part of course templates and be used by the very handy course template plugin

Happy to see we together make the plugin better and better!!!

Enjoy the new plugin!

Best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi all,


I get many requests if the plugin works also with 3.4 I did not test it so far on 3.4

Does anybody have time and interest to test whether this plugin works on moodle 3.4?


All the best,

Flotter

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Francis Vendrell -

Hello Flotter,

This is a suggestion for improvement.

It would be nice if the user could first receive a confirmation of enrolment request by e-mail, in addition to the latter confirmation of the actual enrolment.

It could also be a means of sending some information (e. g. the conditions to be met in order to be able to take the course).

Thank you again for this nice plugin.


In reply to Francis Vendrell

Re: New Enrolment Plugin: Enrolment upon approval

by Charles Adrian Chong -

Hi Francis,


I'm having this error whenever I try to enroll to the course. is there a way to fix this?


clicking on continue will route me back to the previous page. Also, the enrollment request will go through and once approved will still get me enrolled into the course.


only problem is how to avoid getting this error page during the enrollment request as the students might think that there is a problem.


Thanks,

In reply to Charles Adrian Chong

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hey Charles,

which moodle version / plugin version are you using?

Solutions:

  1. Quick: turn off debugging
  2. Sustainable: Fix the bug in the code or send me/emeneo a bug fix request

Greetings,

Flotter






In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Charles Adrian Chong -

Hi Flotter,


I'm using moodle 3.1.5 build 20170313 and plugin version 2017061200

In reply to Flotter Totte

3.5 Version is out including improvements!

by Flotter Totte -
Picture of Plugin developers

Dear all,

another good news in this forum: version 3.5 is out including improvements.

I want to thank the following contributors to make this possible: ak4t0sh Arnaud Trouvé, r0x73 Raphaël Snts and last but not least emeneo.

Here the list with all work done since the last release:

(1) Implements enrolperiod by
Implements enrollib feature which allow to automatically unenrol users, based on an enrolment duration.

(2)  Implements enrolments management by @ak4t0sh Arnaud Trouvé
By implementing `enrol_plugin::allow_manage()` an user with `enrol/apply:manage` capability can change an enrolment status, starttime and endtime.

(3) Version fix by @r0x73 Raphaël Snts

(4) Testing 3.5 compatibility of the plugin and updates by Flotter Totte / emeneo



Greetings,

Flotter

In reply to Flotter Totte

Re: 3.5 Version is out including improvements!

by Lydie Delannoy -

Hello,

Sorry my English is very bad!!!

The improvement 1 (Implements enrolperiod by )   is proposed by the version 3.5 possible for the registration by file csv?

I use the version 3.4 of Moodle. I tried to add a field "enrolperiod1" (containing the duration of the inscriptionn in days of the user) in my file csv but the parameter does not seem to be taken care. My users are not automatically unsubscribed by the course.

ex : 

usernamepasswordlastnamefirstnameemailcourse1enrolperiod1 cohort1
utilisateurplaiePl@ie591utilisateurMariusplaie@xxx.frPlaiesCicatrisation_santelys1   18plaiecica
utilisateurplaie2HYT@hb14utilisateurMarcelplaie1@xxx.frPlaiesCicatrisation_santelys2   18plaiecica
utilisateurplaie3Nhaqs@15utilisateurLauraplaie2@xxx.frPlaiesCicatrisation_santelys3   18plaiecica


Thank you for your help

Lydie (France)

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Rini Braat -

Hi,


Just started out with this plugin: installed it and configured it.

I want to send a mail to the manager of a course (not teacher). I've set this in the plugin level.

In the course I've added a user as a manager. When someone signs up, the manager does not receive an e-mail.

If I've set teacher to also get an e-mail, it works for that: teacher gets an e-mail, but not mznager, and I really need to get an e-amil out to manager to make this plugin usabe for me.

Am I missing something of doing wrong?

using Moodle 2.7

regards, Rini

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Denis Glagolev -

Hallo,

Could you please help me with this plugin? 

I install it (Moodle 3.5) and activate it. I can add it in the course enrollment methods.

But I am not understand how User can use this method? Where is some fields to enroll to the course? Should User be registered in System?

In reply to Denis Glagolev

Re: New Enrolment Plugin: Enrolment upon approval

by Denis Glagolev -

Ok, I found the answer - it is all about guest settings.

Tell me please, could I set up "organization"enrolement 

  field as required?

In reply to Denis Glagolev

Re: New Enrolment Plugin: Enrolment upon approval

by Flotter Totte -
Picture of Plugin developers

Hi Denis,

The solution might be change the related user profile field somewhere around here: Site administration --> users -> User profile fields.


Hope that helps.

Flotter

Average of ratings: Useful (1)
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Alexander Döh -

Hello,


I have installed this Plugin and try to figured out how ist works smile

Is there an Manual for the configuration?

How do i use it? How can Users use it?

I want to make an Course where the Users can ask for entry and i will grant it or not.

Your Help will per appriciated.


thx

In reply to Alexander Döh

Re: New Enrolment Plugin: Enrolment upon approval

by Denis Glagolev -
Hallo Alexander!

To effectivly use this great plugin yoy have to:

  1. Install it in the System
  2. Active it in the plugins under Administrator preferences
  3. Configure it
  4. Add it as the enrolment method of Course

Student must be logged in as user.

In reply to Denis Glagolev

Re: New Enrolment Plugin: Enrolment upon approval

by Alexander Döh -

Hi,


Thx for the answer.


I have installed it an activated.

How do i configure it?

The only ill get is that i can an extra Butto on the edge.

There i can aks for the enrol. But i must type all manually.

Where do i configure it to go into an Room and klick an Button to Enrol? smile

Sorry for my bad English. German User here smile

thx

Attachment kurseinschreibung.JPG
In reply to Alexander Döh

Re: New Enrolment Plugin: Enrolment upon approval

by Alexander Döh -

Hello,


Figured it out.

Thank you for your help

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Michael Zehr -

I have just set up a 3.5 site using the latest version of the enrolment upon approval plugin.

As an admin, I can see "manage enrolment applications" in the admin screens under courses.

My site managers, although they have the privilege to manage it, don't see the option under courses.  However if they use the url to go to the page, they have access.

Is there something else to add to manager so that the option appears in the list under courses?

I'm using fordson themes, and in some cases I see the layout is different, in case that is applicable.

Thanks for any help.

Average of ratings: Useful (1)
In reply to Michael Zehr

Re: New Enrolment Plugin: Enrolment upon approval

by Jose Manuel Rufo -

Hello partners.

First of all I would like to apologize, my English is not too good.

I have used this plugin for many years and its functionality has always been very good on our campus.

Now we do not see with the need that in the list of prescriptions that the plugin shows a series of fields that we have included in the user's profile in addition to those already shown.

Could you help me or indicate how I should include the desired fields in the list of end of prescriptions?

Greetings and thank you.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Roberto Cucco -

Moodle 3.5 with Enrolment upon approval plugin

I have created a custom role. He should be able to watch courses of a given category. On other courses on other categories, he is an authorized user now, and for this reason he's able to request approval on those courses.

I would like to remove this feature only to the new custom role I have created

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Francisco Pérez Andrés -

I can't find the way on deleting enrolments before they are activated, neither individually nor as a batch of selected ones. When the enrolments are still in suspend mode, there's no cross to delete them.

Can you help me, please?

Thank you wink

In reply to Francisco Pérez Andrés

Re: New Enrolment Plugin: Enrolment upon approval

by Wei Chieng Chiew -

You may try go to Participants > Settings > Enrollment methods


Click the Users icon on the right and you can manage the enrollment.

manage enrollment

In reply to Wei Chieng Chiew

Re: New Enrolment Plugin: Enrolment upon approval

by Francisco Pérez Andrés -

Thank you, Wei, but that's not what I need to do.

I'd like to be able to remove users aplications that have not been confirmed. If I go to the list of users of a course, only the ones that have been approved have the cross to delete them; I can't delete the ones that have not been aprroved, which is exactly what I need wink


In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Jari Vilkman -

Hello,

Defer requests doesn't seem to do anything, nothing happens when you select a request and "defer requests". Is this feature non-working at the moment? It should add all request to queue? Tested with Moodle 3.5 and enrol apply 3.7-a

I made a ticket: https://github.com/emeneo/moodle-enrol_apply/issues/94

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Johan Andersson -

Hi

Is it possible to install this plugin in Moodle version 3.8.2?

I have tried installing enrol_apply_moodle37 from a zip-file but it loks like the installation hangs.

In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Stephen Wallace -
I was wondering if this plugin will be updated for 3.8.x? I currently have it installed and it seems to be working fine. But I was curious. The only feature that I seem to have an issue with is the option to have someone notified across courses when an application is submitted (a global notification). I have tried but I can't get that to work. However, everything else seems to work.

Thanks!

Stephen
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Eve Jablon -

Hi there!

Thank you for this very useful plugin!

We unfortunately have a major problem as we were planning on using the plugin: everything works perfectly when we manually choose to add the Enrolment upon approval method, but when we use the automatic one that activates this method in all courses, then instead of the button the users get this error: Enrolment is disabled or inactive

We're on Moodle 3.9...

Any idea?

Thank you!

In reply to Eve Jablon

תשובה ל: Re: New Enrolment Plugin: Enrolment upon approval

by Michal Wazana -

we are facing the same problem,

moodle 3.8,

will be happy to know if there is a solution.

In reply to Eve Jablon

Re: New Enrolment Plugin: Enrolment upon approval

by Matías Moncho -

I was wondering that it is something wrong with my Moodle configuration.

I'm using Moodle 3.9 too and every time a create a new course, I have to go to enrollment methods, edit and save the Course Enroll Confirmation to make it work.

In reply to Flotter Totte

Enrolment is disabled or inactive problem

by Michal Wazana -

When you define this enrolment method on creation of new course, 

Fields customint3, customint6 are empty in table "enrol" and therefore this error occurs.

Is it possible to fix it from v.3.8?

Thanks

In reply to Michal Wazana

Re: Enrolment is disabled or inactive problem

by Chen Levy -
Picture of Core developers Picture of Testers

 for all the developers that want to solve this issue add to enrol/apply/lib.php  4 missing fields

public function get_instance_defaults() {
$fields = array();
$fields['status'] = $this->get_config('status');
$fields['roleid'] = $this->get_config('roleid', 0);
$fields['customint1'] = $this->get_config('show_standard_user_profile');
$fields['customint2'] = $this->get_config('show_extra_user_profile');
$fields['customtext2'] = $this->get_config('notifycoursebased') ? '$@ALL@$' : '';
$fields['enrolperiod'] = $this->get_config('enrolperiod', 0);
// missing fields
$fields['customint3'] = $this->get_config('maxenrolled');
$fields['customint4'] = $this->get_config('sendcoursewelcomemessage');
$fields['customint5'] = 0;
$fields['customint6'] = $this->get_config('newenrols');

return $fields;
}

In reply to Chen Levy

Re: Enrolment is disabled or inactive problem

by Matías Moncho -

Thank you Chen! I will propose this fix on Git

In reply to Matías Moncho

Re: Enrolment is disabled or inactive problem

by Matías Moncho -
Today this fix has been merged to the master branch of the project.
In reply to Matías Moncho

Ri: Re: Enrolment is disabled or inactive problem

by Chiara Di Terlizzi -
However there is no new version of the plugin including this fix...
In reply to Chiara Di Terlizzi

Re: Ri: Re: Enrolment is disabled or inactive problem

by Flotter Totte -
Picture of Plugin developers
Hello, the updated version can now be downloaded from moodle.org plugin repository.
Thanks everyone for contributing to the new release!!!
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval Add other extra field

by Ajay Paudel -

Hello,

In this plugin right now it only gives us one field to show to user, So how can we add other field and show that field data to admin for approval of user request? Is there any way to add more field?


In reply to Flotter Totte

A message to all contributors to the plugin "enrolment upon approval"

by Flotter Totte -
Picture of Plugin developers
Dear contributors to the plugin "enrolment upon approval",

Thank you very much for your work and sharing!

We try to add everyone who contributed to the plugin on the moodle plugin page of the plugin: https://moodle.org/plugins/enrol_apply

We do this manually and sometimes we miss a name or do a typo or ... In any case, if there is any issue with the name, just send us a pm here on moodle.org (or via a ticket on www.emeneo.com/support) and we will fix that quickly.

Also, if you want to be added as official contributor, please send us your moodle.org name and we will add you!

Thanks again!
In reply to Flotter Totte

Ri: A message to all contributors to the plugin "enrolment upon approval"

by Chiara Di Terlizzi -
Thank you! I just installed the new version and tried to create a new course, having the enrolment method included by default.
Now the enrolment method appears active even when the settings are not changed.
However, there are still 2 issues:

1. when the method is activated by default at course creation, the default label for the user message is "$@ALL@$", while it should be "Comment" like when you insert it manually;
2. when the method is activated by default at course creation, there is no way to set the default of "Define who gets notified about new enrolment applications" at course level, and this setting has no value. So, If the teacher does not edit this settings, it will never be notified! It should have a default value of "Everyone who can Manage apply enrolment".

Thank you so much for considering these fixes. smile
In reply to Chiara Di Terlizzi

Odp: Ri: A message to all contributors to the plugin "enrolment upon approval"

by Karol Kamiński -
Hello, I have the same problem, the default settings are not set when creating a new course. Everything has to be set manually. Is there a chance to fix this?
In reply to Flotter Totte

Re: New Enrolment Plugin: Enrolment upon approval

by Diogo Ceccon -

How the teacher / admin can remove users after approve them? Doesn't appear the trash beside the name. I try remove selecting some users by checkbox and select the action to remove users and doesn't work too.

In reply to Diogo Ceccon

Ri: Re: New Enrolment Plugin: Enrolment upon approval

by Chiara Di Terlizzi -
Hello, I wish I can help you, as I had the same problem at the beginning. Then I played with the options and now I have the recycle bin, but I never understood how it happened. Just to inform you that the possibility exists someway. I hope someone else will be able to explain it us.
In reply to Flotter Totte

Plugin: Enrolment upon approval (several languages)

by Laura García Acosta -

Hi, 

I would like to know if would be possible add to this plugin the option to translate the text of the message which receive users to multiple languages. We needs this functionality and this plugin doesn't accept the multilang mark. 

Thank you very much in advance for your help

Average of ratings: Useful (1)