Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3647

Automating Email reminders for calendar events

    Details

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              salvetore 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
              salvetore 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
              salvetore 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
              salvetore 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
              isuru89 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
              isuru89 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
              lewisrblack 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
              lewisrblack 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
              peterjonker Peter Jonker added a comment -

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

              Peter Jonker

              Show
              peterjonker Peter Jonker added a comment - This indeed sounds very helpful, any planning on a release date? Peter Jonker
              Hide
              isuru89 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
              isuru89 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
              isuru89 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
              isuru89 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
              nebgor 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
              nebgor 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
              aborrow 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
              aborrow 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
              aborrow 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
              aborrow 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
              aborrow 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
              aborrow 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
              aborrow 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
              aborrow 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
              agmoodle 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
              agmoodle 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
              isuru89 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
              isuru89 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
              isuru89 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
              isuru89 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
              agmoodle 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
              agmoodle 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
              jboulen 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
              jboulen 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
              bsawatzky 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
              bsawatzky 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
              isuru89 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
              isuru89 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
              struehl 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
              struehl 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
              isuru89 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
              isuru89 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
              paaskynen 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
              paaskynen 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
              struehl 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
              struehl 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
              bogeyman 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
              bogeyman 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
              paaskynen 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
              paaskynen 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.
              Hide
              t6nis20 Tõnis Tartes added a comment -

              How about 2.7 version with the new Logging API?? Does it work on 2.7 as is?

              Show
              t6nis20 Tõnis Tartes added a comment - How about 2.7 version with the new Logging API?? Does it work on 2.7 as is?
              Hide
              paaskynen Paul Nijbakker added a comment -

              Like Brent a year ago my students were bombarded with email reminders (in my case after a server change to https). I do not know what caused the plugin to go haywire, but I had to turn off course and activity reminders.

              Show
              paaskynen Paul Nijbakker added a comment - Like Brent a year ago my students were bombarded with email reminders (in my case after a server change to https). I do not know what caused the plugin to go haywire, but I had to turn off course and activity reminders.
              Hide
              CBuck Chris Buck added a comment -

              Has anyone experienced the sudden multiple emailing of event/assignment reminders (3 per hour for the same assignment/calendar event). I had to turn off the plugin to stop the constant emailing. I asked my hosting site if there were any changes to the server- they said no.

              What tells the plug in to stop emailing for a certain event? does the database get updated? can I look in a table?

              Show
              CBuck Chris Buck added a comment - Has anyone experienced the sudden multiple emailing of event/assignment reminders (3 per hour for the same assignment/calendar event). I had to turn off the plugin to stop the constant emailing. I asked my hosting site if there were any changes to the server- they said no. What tells the plug in to stop emailing for a certain event? does the database get updated? can I look in a table?
              Hide
              CBuck Chris Buck added a comment - - edited

              Does the latest plugin code not work with moodle 2.8? I migrated to a new server (painful) to see if that would help the spamming of event reminders. It did not. I upgraded to moodle 2.8 and got the latest event reminder code (1.4) and it stopped working altogether.

              Does email reminders version 1.4 not work with moodle 2.8? I'll stop trying to debug if that is the case.

              Show
              CBuck Chris Buck added a comment - - edited Does the latest plugin code not work with moodle 2.8? I migrated to a new server (painful) to see if that would help the spamming of event reminders. It did not. I upgraded to moodle 2.8 and got the latest event reminder code (1.4) and it stopped working altogether. Does email reminders version 1.4 not work with moodle 2.8? I'll stop trying to debug if that is the case.
              Hide
              jojoob Johannes Burk added a comment -

              I forked the the plugin on GitHub and changed it to work with Moodle 2.8 and also added course specific settings. Checkout https://github.com/jojoob/moodle-reminders-for-calendar-events/tree/develop and also see the comments section at https://moodle.org/plugins/view/local_reminders

              Show
              jojoob Johannes Burk added a comment - I forked the the plugin on GitHub and changed it to work with Moodle 2.8 and also added course specific settings. Checkout https://github.com/jojoob/moodle-reminders-for-calendar-events/tree/develop and also see the comments section at https://moodle.org/plugins/view/local_reminders
              Hide
              isuru89 Isuru Madushanka Weerarathna added a comment -

              Thank you Johannes for your great support!

              I have uploaded a new reminders plugin version into the moodle plugins directory, which is working on Moodle 2.8.
              https://moodle.org/plugins/pluginversions.php?plugin=local_reminders

              Show
              isuru89 Isuru Madushanka Weerarathna added a comment - Thank you Johannes for your great support! I have uploaded a new reminders plugin version into the moodle plugins directory, which is working on Moodle 2.8. https://moodle.org/plugins/pluginversions.php?plugin=local_reminders
              Hide
              dmlupianez David Lupiañez added a comment - - edited

              Hello, im having the following problem on version 2.9:

              Our reminders are working and going out as expected. However, I did notice that a reminder gets sent to the whole class when a single users is given an override extension on a quiz/assignment

              Is there a bug report on this issue?

              Show
              dmlupianez David Lupiañez added a comment - - edited Hello, im having the following problem on version 2.9: Our reminders are working and going out as expected. However, I did notice that a reminder gets sent to the whole class when a single users is given an override extension on a quiz/assignment Is there a bug report on this issue?
              Hide
              aigarzon alberto added a comment - - edited

              Hello there Isuru,

              This post respond to Buck´s.

              Im working with moodle 3.0.1 and event reminder: 2013042000

              Email ti users is working allright but it sends and resends the reminder everyhour.

              Any ideas on why is this happening?

              Thank you for your job.

              Show
              aigarzon alberto added a comment - - edited Hello there Isuru, This post respond to Buck´s. Im working with moodle 3.0.1 and event reminder: 2013042000 Email ti users is working allright but it sends and resends the reminder everyhour. Any ideas on why is this happening? Thank you for your job.
              Hide
              isuru89 Isuru Madushanka Weerarathna added a comment -

              Hi alberto.

              The plugin has not released yet for moodle 3.0. And it seems you are using older version of plugin.

              Could you please install the latest version (2015090500) from here https://moodle.org/plugins/pluginversions.php?plugin=local_reminders

              Thanks

              Show
              isuru89 Isuru Madushanka Weerarathna added a comment - Hi alberto . The plugin has not released yet for moodle 3.0. And it seems you are using older version of plugin. Could you please install the latest version (2015090500) from here https://moodle.org/plugins/pluginversions.php?plugin=local_reminders Thanks
              Hide
              gracija Danute Pranckute added a comment - - edited

              Hi, I use Moodle 2.9.1 version.
              In Moodle I have 9 700 users. I enter systemic events and remainder tried to send all user by e-mails. It was a lot send e-mails and one user get about 9 the same e-mail every 10 minutes.
              We stopped e-mails just when we deleted the plugin.

              It need revisions, that one time send reminder will not be repeated.

              Show
              gracija Danute Pranckute added a comment - - edited Hi, I use Moodle 2.9.1 version. In Moodle I have 9 700 users. I enter systemic events and remainder tried to send all user by e-mails. It was a lot send e-mails and one user get about 9 the same e-mail every 10 minutes. We stopped e-mails just when we deleted the plugin. It need revisions, that one time send reminder will not be repeated.
              Hide
              gsumantag@gmail.com Sumanta Ghosh added a comment -

              Hi Isuru,

              First of all many thanks for developing this really useful plugin. I tried the latest stable version with Moodle 3.0.3 and it seems to work fine apart from quiz close dates. It's working with all site wide and course wide events. It's working fine with Assignment due date reminders But not Quiz close date reminders. I can see the quiz close date appearing on user's calendar. So it should generate an email right? Or is it because of my moodle version. Please help.

              Thanks,
              Sumanta

              Show
              gsumantag@gmail.com Sumanta Ghosh added a comment - Hi Isuru, First of all many thanks for developing this really useful plugin. I tried the latest stable version with Moodle 3.0.3 and it seems to work fine apart from quiz close dates. It's working with all site wide and course wide events. It's working fine with Assignment due date reminders But not Quiz close date reminders. I can see the quiz close date appearing on user's calendar. So it should generate an email right? Or is it because of my moodle version. Please help. Thanks, Sumanta
              Hide
              gracija Danute Pranckute added a comment - - edited

              Yes Sumanta, I agree with you this plugin is really useful and powerful tool to monitor students learning process.

              But one more thing is the date. I use time display format - 24 hours. In e-mail reminder date from display format is 24 hours, date until display format is 12 hours.
              Example:

              Isuru, can you help?

              Show
              gracija Danute Pranckute added a comment - - edited Yes Sumanta, I agree with you this plugin is really useful and powerful tool to monitor students learning process. But one more thing is the date. I use time display format - 24 hours. In e-mail reminder date from display format is 24 hours, date until display format is 12 hours. Example: Isuru, can you help?

                People

                • Votes:
                  16 Vote for this issue
                  Watchers:
                  29 Start watching this issue

                  Dates

                  • Created:
                    Updated: