Moodle welcome
Maintained by
Bas Brands
Sends a welcome message to new users, sends a notification to a moderator of the new user creation
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I talked with Antonio Duran from Joomdle (in forum) and he said that "Joomdle should be triggering event as it calls create_user_record(), which triggers the event."
Any thoughts?
I guess my server and moodle configs are ok becuase I have tested the Welcome Moodle plugin with manual accounts and the emails were sent just fine!
I'm contacting you guys because both plugins are great and together would be the perfect solution for my needs.
Thanks for your help
That looks like it could work yes. I will not add the code to the welcome plugin, if an admin uploads a csv with passwords they will be reset when using this bit of code. It would be okay if the admin knows about this but if not it could confuse users.
In any case thanks for posting this!
if (strpos($message_user, 'newpasswordtext') !== FALSE){
$fields[] = 'newpasswordtext';
$newpassword = generate_password();
update_internal_user_password($user, $newpassword, FALSE);
$values[] = $newpassword;;
}
Thank you for the feedback.
Then I have to check with the Joomdle people.
I have not tried the Joomdle auth plugin yet. This plugin hooks into Moodle's event triggers that are fired when a new user is created. Auth plugins should fire this event. If the Joomdle auth plugin does not have this trigger no email will be send.
I am glad you like it. If a user's email is not correct the notification will not arrive. If the users contacts you about it you can use Moodle's standard user administration to correct the email address an confirm the user account.
I have one question that what will happen if the user email is not correct?
Thank You
nice plugin!
It would be nice to have the github URL also =)
I've found this one:
https://github.com/bmbrands/moodle-local_welcome
Kind regards,
Daniel
Yes if fully supports version 2.8. I just forgot to update the compatibility info. Thanks for notifying me!