
We added a new post_status method to Moodle's mnet enrol library that allows us to push updates from Moodle to ELGG. Once we had this function enabled we modifed a few of the Moodle features to call this function to update the eportfolio. These included course enrollment , successful completion of a questionnaire, earning a certificate, and posting to a forum. A simple function call for each action is all that is needed. To find the correct place in the code, I noticed add_to_log was called with similar information for the different actions so I added the code for Elgg posting in the same places. Since the users are already authenticating using MNE, we can match the corresponding user on Elgg so that the status goes to the correct student's River.
On Elgg's part, we coded a new portfolio extension to the mnet-lib php library in order for Elgg to accept the incoming data using XMLRPC and post it into the student's River. Using this every time a user performs one of the actions that is enabled a corresponding entry is shown in the user's ELGG River updates. This method also accepts the remote url location that corresponds to this moodle activity post so that the student's River item will contain a link back to moodle and go directly to the activity referred to.
Subscribe to notificaitons