Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Admin report: Message Log
-
Labels:None
-
Environment:Developed on MySQL but uses get_records_sql so hopefully will work on other databases
-
Affected Branches:MOODLE_19_STABLE
Description
Page to view all messages sent along with who when etc. and options to filter by user and date.
See thread: http://moodle.org/mod/forum/discuss.php?d=27559
Mike - Thanks for sharing this code. Could you also provide a basic README.txt that includes installation instructions.I agree that at an initial glance it looks like it would be a good admin report; however, I am not sure who would be using this report (admins, teachers, etc.). I did find the following:
Notice: Undefined index: user in /home/arborrow/Moodle/code/19stable/message/messagelog.php on line 64
so I would go through and run it with debugging set to show all reasonable PHP notices and errors. I was able to get around it by adding an isset check but check the logic to make sure it is what it is intended:
if (isset($qual['user']) and ! $qual['user'] ) {
Peace - Anthony