Special thanks to Josh Davis for sharing this interesting approach. Just last month, I found myself wishing for an easy way to read all the messages students were sending to each other in our middle school situation, and this solution would have been handy to implement!

Here’s the problem as Josh described it on the MoodleMayhem.org email list:

Just thought I’d share with you some PHP I wrote to help solve a problem I was having.  I am running a moodle for my middle school classes and I want them to be able to use the messaging feature, but not abuse the system.  So I wrote a quick and dirty php file to allow me to see all the messages on the system at a glance.  Yes, I am a bit of a control freak in my class.  My moodle only has 150 users who aren’t super active with messaging (yet) so this works fine for me but may not work so well for larger ones.  This isn’t secure, because anyone who guesses the URL of this php file can read every message, but I plan on fixing that as I improve it.  Also, I know VERY LITTLE about PHP coding so I’m sure there are better ways to do this

Here’s the code he shared as a link you can download. Note you’ll need to edit out everything but the code.

Thanks, Josh!

Update: Be sure to read the comments and check out Rusty Meyners tip without any special coding:


Rusty provided another link with more details. Give it a shot!

Update #2: Jeff Kitterman pointed out there is a Moodle Admin report that does this same thing without coding, etc. You can read about the Admin->Report->Message Log Report online.

Get Blog Updates via Email!

Enter your email address:

Delivered by FeedBurner

PingIt! pingthis();

Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure