Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Message Log.

Message Log: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The message log report is based on code originally written by Will H and Mike Worth, and converted to an admin report by Matt Campbell.
The message log report is based on code originally written by Will H and Mike Worth, and converted to an admin report by Matt Campbell.
To install, simply copy the messagelog directory into the /admin/report directory of your install, and it will then be available under Reports in the Site Administration block.


Filters include the order of the message, the number of days worth of messages to get, and the username to, from, or both.
Filters include the order of the message, the number of days worth of messages to get, and the username to, from, or both.


Clicking on the [more] link in the to or from columns will filter the messages which involve that user.  Clicking on the user's name will take you to their profile.
Clicking on the [more] link in the to or from columns will filter the messages which involve that user.  Clicking on the user's name will take you to their profile.
PLEASE NOTE:
This report is compatible with Moodle 1.9, but you must add a line to core Moodle files to make it work with Moodle 1.9.1-1.9.3.
It works as expected with Moodle 1.9.4, simply copy the messagelog directory into the /admin/report directory of your install.
For earlier versions of Moodle 1.9, please see http://tracker.moodle.org/browse/CONTRIB-1185
Once you add the following line to /admin/settings/misc.php, the report will work as expected:
    $ADMIN->add('reports', new admin_externalpage('messagelog', get_string('messagelog', 'report_messagelog'), "$CFG->wwwroot/$CFG->admin/report/messagelog/index.php?days=30",'moodle/site:readallmessages'));


==See also==
==See also==
http://moodle.org/mod/forum/discuss.php?d=27559 Development of the SQL and code for the initial report
*http://moodle.org/mod/forum/discuss.php?d=27559 Development of the SQL and code for the initial report
*http://moodle.org/mod/data/view.php?d=13&rid=2285 Modules and Plugins database entry
*http://download.moodle.org/plugins/admin/report/messagelog.zip Latest version in CVS


[[Category:Contributed code]]
[[Category:Contributed code]]

Latest revision as of 18:01, 27 April 2009

The message log report is based on code originally written by Will H and Mike Worth, and converted to an admin report by Matt Campbell.

Filters include the order of the message, the number of days worth of messages to get, and the username to, from, or both.

Clicking on the [more] link in the to or from columns will filter the messages which involve that user. Clicking on the user's name will take you to their profile.

PLEASE NOTE: This report is compatible with Moodle 1.9, but you must add a line to core Moodle files to make it work with Moodle 1.9.1-1.9.3.

It works as expected with Moodle 1.9.4, simply copy the messagelog directory into the /admin/report directory of your install.

For earlier versions of Moodle 1.9, please see http://tracker.moodle.org/browse/CONTRIB-1185 Once you add the following line to /admin/settings/misc.php, the report will work as expected:

   $ADMIN->add('reports', new admin_externalpage('messagelog', get_string('messagelog', 'report_messagelog'), "$CFG->wwwroot/$CFG->admin/report/messagelog/index.php?days=30",'moodle/site:readallmessages')); 


See also