by Dave Emsley.
Hi There,
I'm trying to create a different type of enrolment and login using a unique voucher code.
I've got most of it sussed but I need to do some tinkering with course enrolments based on the above voucher code.
To add the user I'm using (from login/singup.php):
$authplugin->user_signup($user, true);
which puts the email message for confirming the account on screen and a continue button to go to login/index.php which is fine.
BUT I need to do more after it creates the user but before it does the message.
Anyone able to suggest a way to do that?
Cheers
Dave