General developer forum

user profile updates based on activity/course completion

 
Picture of Varun Prabhu
user profile updates based on activity/course completion
 

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: -
Picture of Dorel Manolescu
Re: user profile updates based on activity/course completion
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 

 
Average of ratings: -
Picture of Varun Prabhu
Re: user profile updates based on activity/course completion
 

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

 
Average of ratings: -