Add-ons
  1. Add-ons
  2. CONTRIB-3647

Automating Email reminders for calendar events

    Details

    • Rank:
      40167

      Description

      Reminders are very useful for both students as well as teachers to recall their scheduled event before the actual moment. This feature is about creating a set of reminders for Moodle calendar events and sending them automatically to relevant users on timely manner via Moodle message interface. This can be implemented as a Local plugin to the Moodle.

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          I have created a component for this plugin and moved the project initiation issue to that component. In future, this component will allow users to suggest improvements and describe bugs.

          Show
          Michael de Raadt added a comment - I have created a component for this plugin and moved the project initiation issue to that component. In future, this component will allow users to suggest improvements and describe bugs.
          Hide
          Michael de Raadt added a comment -

          Hi, Isuru.

          Can you create a Git repository with just your reminders directory? That will make it easier for us and others to keep up with it while the rest of the Moodle code chances independently. It will also make it easier to share as a plugin later.

          Show
          Michael de Raadt added a comment - Hi, Isuru. Can you create a Git repository with just your reminders directory? That will make it easier for us and others to keep up with it while the rest of the Moodle code chances independently. It will also make it easier to share as a plugin later.
          Hide
          Isuru Madushanka Weerarathna added a comment -

          Hi,

          Yes. I created a separate repository in github to this local plugin. Here is the link, https://github.com/isuru89/moodle-reminders-for-calendar-events

          I am going to continue development in this Git repository.

          Show
          Isuru Madushanka Weerarathna added a comment - Hi, Yes. I created a separate repository in github to this local plugin. Here is the link, https://github.com/isuru89/moodle-reminders-for-calendar-events I am going to continue development in this Git repository.
          Hide
          Lewis Black added a comment -

          Hi Isuru,

          I am very interested in your new plugin for event reminders. Do you know when it will be ready to test?

          Thanks,

          Lewis

          Show
          Lewis Black added a comment - Hi Isuru, I am very interested in your new plugin for event reminders. Do you know when it will be ready to test? Thanks, Lewis
          Hide
          Peter Jonker added a comment -

          This indeed sounds very helpful, any planning on a release date?

          Peter Jonker

          Show
          Peter Jonker added a comment - This indeed sounds very helpful, any planning on a release date? Peter Jonker
          Hide
          Isuru Madushanka Weerarathna added a comment -

          @Lewis & @Peter:
          Actually I am planning to release a test version in next week or week after next week.

          Official release date would be 20th August 2012. (Ending date of GSoC 2012)

          Show
          Isuru Madushanka Weerarathna added a comment - @Lewis & @Peter: Actually I am planning to release a test version in next week or week after next week. Official release date would be 20th August 2012. (Ending date of GSoC 2012)
          Hide
          Isuru Madushanka Weerarathna added a comment -

          Hi All,

          I have completed the first version of reminders local plugin and it is ready to be tested.

          I am expecting any of you to test this plugin and give me some feedback about the operation of this plugin.

          -Regards

          Show
          Isuru Madushanka Weerarathna added a comment - Hi All, I have completed the first version of reminders local plugin and it is ready to be tested. I am expecting any of you to test this plugin and give me some feedback about the operation of this plugin. -Regards
          Hide
          Aparup Banerjee added a comment - - edited

          Hi Isuru

          Reminders is looking very interesting!

          some feedback:
          i'm seeing lots of notices like the below.

          Notice: Use of undefined constant SEND_ALL_EVENTS - assumed 'SEND_ALL_EVENTS' in /home/aparup/mcode/integration/local/reminders/settings.php on line 36

          perhaps doing something like

          ./message/lib.php:54:define('MESSAGE_MAX_COURSE_NAME_LENGTH', 30);
          

          also do note http://docs.moodle.org/dev/Coding_style#Constants , your constants need to start with your plugin name ; so you need them to be "REMINDERS_SEND_ALL_EVENT" for example.

          Show
          Aparup Banerjee added a comment - - edited Hi Isuru Reminders is looking very interesting! some feedback: i'm seeing lots of notices like the below. Notice: Use of undefined constant SEND_ALL_EVENTS - assumed 'SEND_ALL_EVENTS' in /home/aparup/mcode/integration/local/reminders/settings.php on line 36 perhaps doing something like ./message/lib.php:54:define('MESSAGE_MAX_COURSE_NAME_LENGTH', 30); also do note http://docs.moodle.org/dev/Coding_style#Constants , your constants need to start with your plugin name ; so you need them to be "REMINDERS_SEND_ALL_EVENT" for example.
          Hide
          Anthony Borrow added a comment -

          In the README file I noticed it said: If you want to change the cron cycle frequency, open the version.php file in the plug-in's root directory and change the value for $plugin->cron. This value must be indicated by seconds. The default value is 3600 seconds (i.e. 1 hour)".

          Is there any reason this could not be part of the plugin's settings which would allow folks to adjust it via the UI rather than having to modify it on the server?

          Peace - Anthony

          Show
          Anthony Borrow added a comment - In the README file I noticed it said: If you want to change the cron cycle frequency, open the version.php file in the plug-in's root directory and change the value for $plugin->cron. This value must be indicated by seconds. The default value is 3600 seconds (i.e. 1 hour)". Is there any reason this could not be part of the plugin's settings which would allow folks to adjust it via the UI rather than having to modify it on the server? Peace - Anthony
          Hide
          Anthony Borrow added a comment -

          I've not looked too closely but I noticed:

          $CFG->local_reminders_enable

          Is that data being stored in mdl_config? If so, since this is a plugin, ideally would it not be better to store it in mdl_config_plugins?

          Peace - Anthony

          Show
          Anthony Borrow added a comment - I've not looked too closely but I noticed: $CFG->local_reminders_enable Is that data being stored in mdl_config? If so, since this is a plugin, ideally would it not be better to store it in mdl_config_plugins? Peace - Anthony
          Hide
          Anthony Borrow added a comment -

          In the lang file, I noticed that the headers did not use the traditional Moodle casing of initial cap. That may be intentional. What would our usability expert say, which would be preferred:

          $string['pluginname'] = 'Event Reminders';

          or

          $string['pluginname'] = 'Event reminders';

          Similarly for,

          $string['courseheading'] = 'Course Event Reminders';
          $string['dueheading'] = 'Activity Event Reminders';
          $string['groupheading'] = 'Group Event Reminders';
          $string['siteheading'] = 'Site Event Reminders';
          $string['userheading'] = 'User Event Reminders';

          Peace - Anthony

          Show
          Anthony Borrow added a comment - In the lang file, I noticed that the headers did not use the traditional Moodle casing of initial cap. That may be intentional. What would our usability expert say, which would be preferred: $string ['pluginname'] = 'Event Reminders'; or $string ['pluginname'] = 'Event reminders'; Similarly for, $string ['courseheading'] = 'Course Event Reminders'; $string ['dueheading'] = 'Activity Event Reminders'; $string ['groupheading'] = 'Group Event Reminders'; $string ['siteheading'] = 'Site Event Reminders'; $string ['userheading'] = 'User Event Reminders'; Peace - Anthony
          Hide
          Anthony Borrow added a comment -

          Alright, I have a site that could use some functionality like this so I think I'll give it a shot and see what happens. Peace - Anthony

          Show
          Anthony Borrow added a comment - Alright, I have a site that could use some functionality like this so I think I'll give it a shot and see what happens. Peace - Anthony
          Hide
          Mary Kane added a comment -

          Hi Isuru,

          Did you know the status on getting this plugin to work on the 2.4.3 version, we would love to be able to use it! Thank you so much!

          Show
          Mary Kane added a comment - Hi Isuru, Did you know the status on getting this plugin to work on the 2.4.3 version, we would love to be able to use it! Thank you so much!
          Hide
          Isuru Madushanka Weerarathna added a comment -

          Hi Mary,

          I am looking forward to that. Currently I am testing this plugin on v2.4.3. Still I am to identify any issues. So, I will let all know once I released this for new version.

          Show
          Isuru Madushanka Weerarathna added a comment - Hi Mary, I am looking forward to that. Currently I am testing this plugin on v2.4.3. Still I am to identify any issues. So, I will let all know once I released this for new version.
          Hide
          Isuru Madushanka Weerarathna added a comment -

          Hi,

          This plugin is now working in Moodle 2.4 and I have released a new version in local repository. You can download from here. https://moodle.org/plugins/view.php?plugin=local_reminders

          Let me know any issues.

          Show
          Isuru Madushanka Weerarathna added a comment - Hi, This plugin is now working in Moodle 2.4 and I have released a new version in local repository. You can download from here. https://moodle.org/plugins/view.php?plugin=local_reminders Let me know any issues.
          Hide
          Mary Kane added a comment -

          Thank you so much for the release, we have started to use it. We were curious if there was a delay for the reminders being sent out after the plugin was installed. We got it installed on Monday and placed a test event to be occurring today. We had checked all the boxes on the reminder setup to receive reminders 1, 3, and 7 days in advance. So we had anticipated to see an e-mail sometime last night, but that had not occurred. Have we missed something in the setup process or in our system configurations that are preventing the reminders from being sent out? Thanks again!

          Show
          Mary Kane added a comment - Thank you so much for the release, we have started to use it. We were curious if there was a delay for the reminders being sent out after the plugin was installed. We got it installed on Monday and placed a test event to be occurring today. We had checked all the boxes on the reminder setup to receive reminders 1, 3, and 7 days in advance. So we had anticipated to see an e-mail sometime last night, but that had not occurred. Have we missed something in the setup process or in our system configurations that are preventing the reminders from being sent out? Thanks again!
          Hide
          Julien Boulen added a comment -

          Hello,

          Firstly, thanks for this nice plugin.

          We try this plugin for the first time this year in our university and we found an issue.

          This plugin seems to not check if an activity uses "Available for group members only" option. So, a user can receive an alert for an activity that he can't see.

          We are attaching a patch which should fix this issue. We are waiting for your review.

          Regards.

          Show
          Julien Boulen added a comment - Hello, Firstly, thanks for this nice plugin. We try this plugin for the first time this year in our university and we found an issue. This plugin seems to not check if an activity uses "Available for group members only" option. So, a user can receive an alert for an activity that he can't see. We are attaching a patch which should fix this issue. We are waiting for your review. Regards.
          Hide
          Brent Sawatzky added a comment -

          Loaded this add-on (great idea) but am having troubles with it. I'm running 2.5.3 and have found that the reminders are being sent out in big piles. Each student is getting 50+ reminders for the same single event. I've checked all the settings and nothing fancy. Nothing unique about the calendar events either. The reminder cron is at the default = 900. Ideas? Thank you!

          Show
          Brent Sawatzky added a comment - Loaded this add-on (great idea) but am having troubles with it. I'm running 2.5.3 and have found that the reminders are being sent out in big piles. Each student is getting 50+ reminders for the same single event. I've checked all the settings and nothing fancy. Nothing unique about the calendar events either. The reminder cron is at the default = 900. Ideas? Thank you!
          Hide
          Isuru Madushanka Weerarathna added a comment -

          Hi Julian,

          Thanks for the fix. It is something I had forgotten.

          I will update the code with the patch.

          Thanks again.

          Show
          Isuru Madushanka Weerarathna added a comment - Hi Julian, Thanks for the fix. It is something I had forgotten. I will update the code with the patch. Thanks again.
          Hide
          Stefanie Berger added a comment -

          Hello Isuru,

          I have tested the plugin in Moodle 2.6. It works great! Thanks fo it
          I have maded ​​a German translation too. Do you want to integrate?

          Stefanie

          Show
          Stefanie Berger added a comment - Hello Isuru, I have tested the plugin in Moodle 2.6. It works great! Thanks fo it I have maded ​​a German translation too. Do you want to integrate? Stefanie
          Hide
          Isuru Madushanka Weerarathna added a comment - - edited

          Hi,

          You are welcome, Stefanie!

          I already have a german translation for the plugin, but I am not sure whether it has updated or not.

          Could you please check and give me an updated version of translation by looking here.
          https://github.com/isuru89/moodle-reminders-for-calendar-events/blob/master/lang/de/local_reminders.php

          Show
          Isuru Madushanka Weerarathna added a comment - - edited Hi, You are welcome, Stefanie! I already have a german translation for the plugin, but I am not sure whether it has updated or not. Could you please check and give me an updated version of translation by looking here. https://github.com/isuru89/moodle-reminders-for-calendar-events/blob/master/lang/de/local_reminders.php
          Hide
          Paul Nijbakker added a comment -

          Dear Isuru,

          Best wishes for the new year!
          We have been using the Event Reminders plugin for over a year now, but since our upgrade to Moodle 2.5.3 users have been complaining that the reminders come as unrecognisable lumps of codes. An example:

          12:11 AM: (eLearning and Computer Skills-Oppitunti) The Golden Rules of Presentation (Lesson closes) - <head></head><body id="email"><div><table cellspacing="0" cellpadding="8" style="width:100%;font-family:Tahoma,Arial,Sans-serif;border-width:1px 2px 2px 1px;border:1px Solid #ccc"><tr><td colspan="2"><a style="text-decoration: none" etc. etc.

          This is what it looks like in the Moodle Messenger. We have version 1.3 (2013090100) for Moodle 2.5 installed. Will version 1.3.1 solve this issue? (It is mentioned in the plugins database as a previous version, though according to the version number it should be the update of version 1.3, and it cannot be downloaded.)

          Rgrds,
          Paul.

          Show
          Paul Nijbakker added a comment - Dear Isuru, Best wishes for the new year! We have been using the Event Reminders plugin for over a year now, but since our upgrade to Moodle 2.5.3 users have been complaining that the reminders come as unrecognisable lumps of codes. An example: 12:11 AM: (eLearning and Computer Skills-Oppitunti) The Golden Rules of Presentation (Lesson closes) - <head></head><body id="email"><div><table cellspacing="0" cellpadding="8" style="width:100%;font-family:Tahoma,Arial,Sans-serif;border-width:1px 2px 2px 1px;border:1px Solid #ccc"><tr><td colspan="2"><a style="text-decoration: none" etc. etc. This is what it looks like in the Moodle Messenger. We have version 1.3 (2013090100) for Moodle 2.5 installed. Will version 1.3.1 solve this issue? (It is mentioned in the plugins database as a previous version, though according to the version number it should be the update of version 1.3, and it cannot be downloaded.) Rgrds, Paul.
          Hide
          Stefanie Berger added a comment -

          Hello Isuru,

          sorry, I'd just entered the translation here: http://lang.moodle.org/local/amos/view.php?t=1389176865&v=2500&l=de&c=local_reminders&s=&d=

          My focus is more focused on "Calendar" because the events are sent from there. I think that's clearer.

          Another question: ist it possible, that trainer are sender of reminingmails from course and activities instead of administrator?

          Show
          Stefanie Berger added a comment - Hello Isuru, sorry, I'd just entered the translation here: http://lang.moodle.org/local/amos/view.php?t=1389176865&v=2500&l=de&c=local_reminders&s=&d= My focus is more focused on "Calendar" because the events are sent from there. I think that's clearer. Another question: ist it possible, that trainer are sender of reminingmails from course and activities instead of administrator?
          Hide
          Matjaz Mozetic added a comment - - edited

          Hello.

          Is this plugin working on version 2.6? If not, when do you plan to support it?

          EDIT: I just saw a few posts back that someone confirmed it's working on 2.6.
          I installed it but unfortunately I can't find how to access settings page. I don't even understand how to set events to send the messages.
          Please help.

          Regards,
          Matjaz

          Show
          Matjaz Mozetic added a comment - - edited Hello. Is this plugin working on version 2.6? If not, when do you plan to support it? EDIT: I just saw a few posts back that someone confirmed it's working on 2.6. I installed it but unfortunately I can't find how to access settings page. I don't even understand how to set events to send the messages. Please help. Regards, Matjaz
          Hide
          Paul Nijbakker added a comment -

          Hello Matjaz,

          The general settings for the plugin are in Site Administration -Plugins - Local Plugins - Reminders. Every user can subsequently modify their own settings under Administration - My profile settings - Messaging

          Rgrds,
          Paul.

          Show
          Paul Nijbakker added a comment - Hello Matjaz, The general settings for the plugin are in Site Administration -Plugins - Local Plugins - Reminders. Every user can subsequently modify their own settings under Administration - My profile settings - Messaging Rgrds, Paul.

            People

            • Votes:
              9 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated:

                Development