Extract addtional profile information

Extract addtional profile information

by Joseph Baxter -
Number of replies: 3

Hi all,

We have developed a number of additional features for mod_attendance and would like to measure the interest in adding them to the community version.

This topic covers the ability to export some additional profile information for reporting purposes.

We have added the optional IDNumber, Department and Institution to the export (these are not selected by default) as shown in the image export.png. This gives the teacher the ability to extract this additional information.


Regards,


Joe
Attachment export.png
Average of ratings: -
In reply to Joseph Baxter

Re: Extract addtional profile information

by sophie Garon -

Hello, I also have the need to extract in the attendance report additional information like the User Id.

Could you please let me know how you handled it? Thank you,


In reply to sophie Garon

Re: Extract addtional profile information

by Joseph Baxter -
Hi Sophie,

It is a reasonably small code change.

You can see the diff between our repo and the community repo here if you are interested in doing the development yourself:

https://bitbucket.org/uonmoodle/moodle-mod_attendance/branches/compare/UoNChanges-noupgrade..MOODLE_24-26_STABLE#diff

export.php
export_form.php
locallib.php - only the changes to the 'get_users' function.


Once Dan (community plugin maintainer) gets chance he will be reviewing the changes made by UoN so hopefully this change will be in the community version at some point.



...
Joseph Baxter
University of Nottingham