General plugins (Local): Course module modification notification

Maintained by Picture of Luke CarrierLuke Carrier
This simple plugin sends users daily digests of changed content within their enrolled courses.
23 sites
10 fans
Current versions available: 1

This simple plugin sends users daily digests of changed content within their enrolled courses. As of version 0.2.0, we use the Moodle messaging system to achieve this, allowing your site's users to choose between the different messaging outputs you've enabled (email, Jabber, popup, etc.).


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Picture of Luke Carrier
Luke Carrier (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Wed, Apr 23, 2014, 11:24 AM

    Many thanks for sharing this plugin with the Moodle community. Please review the validation results and fix all of the issues mentioned. These changes are typically pretty easy to make but if you have any questions just let us know.

    Maturity information ($plugin->maturity) not found in version.php
    Release notes not found (searched for files README, README.*)

    I noticed that the recommended boilerplate was not used in the version.php file. The boilerplate is recommended at the beginning of each file and makes explicit the GPL license.

    You may want to review to learn more about the boilerplate comments.

    I was successfully able to install the plugin but did not do any extensive testing. I noticed that you use it to send email. I was curious how you implemented this. Have you had a look at I did not look closely at the code but thought this would be the ideal way to handle the notification and then the user determines how they wish to receive it (via popup, email, etc.)

    For now, I am going to mark this plugin as needing more work until we get these issues resolved. Thanks for your patience with the review and approval process. Peace - Anthony
  • Picture of Luke Carrier
    Fri, Apr 25, 2014, 6:30 AM
    Hi Anthony,

    Many thanks for your feedback! I've made a start on addressing the above issues, but I'll need to dedicate a little more time reworking the mailer code to use the messaging API. That's a really nice idea, though -- I'll definitely switch over.

    I'll refrain from uploading a new version until this is complete.

  • Picture of David Mudrák
    Thu, Jun 5, 2014, 5:51 PM
    Hi Luke. I am afraid I have to mark this as needing more work yet. Your SQL query in local_tdmmodnotify_util::get_notification_digest() aliases the user table as "user" which is reserved word on some RDBMs that Moodle supports (such as PostgreSQL). This causes your plugin to fail on such hosts. The fix is pretty trivial (by using the alias "u" or "usr" as we commonly do in Moodle code itself. Please ping me once a fixed version is uploaded, I will approve your (otherwise nice and well structured again) plugin then.
  • Picture of David Mudrák
    Thu, Jun 5, 2014, 5:52 PM
    Please note some Anthony's points above are still valid. As you are going to touch the code, you might want to fix them, too.
  • Picture of Luke Carrier
    Fri, Jun 6, 2014, 5:13 AM
    David, my apologies: I completely missed the "Supported versions" section when I pushed 0.2.0, which unfortunately displayed as a previous version s a result. I believe all of the above issues have already been addressed -- I tested the code on PostgreSQL before releasing yesterday.

  • Picture of David Mudrák
    Fri, Jun 6, 2014, 5:14 PM
    Ah, right. That explains it. Thanks for the prompt fix Luke. You are cleared to land now, welcome to the Plugins directory!
  • Picture of Helson C
    Tue, Jan 20, 2015, 1:55 AM
    How i can configure and use this plugin?
    Will send when cron.php is executed?
    He send only one time per day ?

    Thank you so much.
  • Picture of Vani Bheemreddy
    Tue, May 19, 2015, 10:31 PM
    I have a question.
    Does this plug-in send email when a user is enrolled in a course?
  • Picture of Ann Zedginidze
    Wed, Nov 14, 2018, 8:47 PM
    Hello, does this plugin is turned on for all the users who are enrolled in any course and i can not turn the plugin on only for special roles (for example for "manager") in Site administration>Users Permissions>Define roles by marking "allow" button for TDM: module modification notification feature?

Please login to post comments