Auto Assign Specific Role After "Sign Up" auto-enrollment.

Re: Auto Assign Specific Role After "Sign Up" auto-enrollment.

by Troy May -
Number of replies: 1

I figured out why.


In the plugin's lib.php file, there is actually a "default" designation for roleid=5, which is Moodle's good ole "student" role id.


I changed the 5 to 15, which is the roleid my custom role exists as, and guess what?


IT WORKED.


The author, or whomever handles Sign Up should rework their plugin so it registers a change in default role to assign to registered users ON THE CONFIGURATION PAGE, not in the plugin's base code.


Hope I could help someone.

In reply to Troy May

Re: Auto Assign Specific Role After "Sign Up" auto-enrollment.

by ankit katmore -

Hello there,

Can you let me know the filename,location where i can change the role id.

Thanks