a blog about my interests

moodle function update

I’ve rewritten my contact_inactive_students_log function in the Augsburg moodle library. This is a function that will email instructors a message with a list of students who have not been active in X days (including ones who have never logged into the course). In addition

  • You can specify a list of usernames of other people to receive the message — such as program directors or advising staff.
  • Set an optional debug boolean variable so that the admin account gets emailed instead of the instructors while you test it out.

This function is best called by command-line php in a nightly cron job. The included active.php file shows how to call the function.

I’ve also posted a more standard group-aware version of Quickmail. My other version was hacked up a bit. This one should be cleaner.

In addition I’ve added a hack to make login as a little more restrictive.

Leave a Reply

Your email address will not be published. Required fields are marked *

Powered by WordPress | Designed by Elegant Themes