user profile updates based on activity/course completion

user profile updates based on activity/course completion

by Varun Prabhu -
Number of replies: 2

As the subject says, is there a plugin that allows me to update a field in the user's profile based on the course completion? for example: say there's a user profile field called validity set to tomorrow's date. if the user completes a course, the validity gets extended by a month. 

If there's no plugin that does this, what is the best way forward for me to achieve this?

Average of ratings: -
In reply to Varun Prabhu

Re: user profile updates based on activity/course completion

by Dorel Manolescu -
Picture of Plugin developers

Please check: https://docs.moodle.org/dev/Event_2 and in particular the events: core\event\course_completed or core\event\course_completion_updated

You can create your own local plugin which will listen to that event and update user profile.

Regards 

In reply to Dorel Manolescu

Re: user profile updates based on activity/course completion

by Varun Prabhu -

Ok I will look into that. Thank you for your input!