General plugins (Local): Event Reminders

local_reminders
Maintained by Picture of Isuru Madushanka Weerarathna Isuru Madushanka Weerarathna
Automate sending reminders for calendar events.
862 sites
839 downloads
28 fans

This plugin will automatically send reminders for Moodle calendar events in a timely manner via Moodle message interface. This plugin allows users to control how they receive messages for each event types in Moodle calendar.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Isuru Madushanka Weerarathna
Isuru Madushanka Weerarathna (Lead maintainer)
Picture of Rossiani Wijaya
Rossiani Wijaya: Mentor
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Yezi Yang
    Mon, 12 Dec 2016, 4:46 PM
    Dear Isuru,

    Your reminder plugin is a significant plugin for the Moodle platform in my institution. It is very important to remind students about the calendar events before the deadlines. And it fits naturally with Moodle website and also Moodle mobile. However, the plugin does not work well with the message feature of Moodle, where users can also send and receive internal messages.

    As can be seen from the screen shot (https://pan.baidu.com/s/1hrLF6sc), the message sent from reminder has all the html code displayed, while all other messages sent by users are displayed correct. Message is a new feature of Moodle core feature in Moodle 3.0 and it is widely used in Moodle. We are using Moodle 3.1.2 and Event Reminder plugin 2016062500. I really hope it can be fixed as soon as possible.
  • Picture of Isuru Madushanka Weerarathna
    Fri, 23 Dec 2016, 5:56 PM
    Hi Yezi,

    Sorry for the late reply, but I was just busy in ahead of holiday season.

    However I want to know some clarifications like how your students receive messages/reminders in your institute? (Email, SMS, Twitter, etc?)
    I am asking this because, the plugin has tested for emails successfully and is working fine, but I haven't tested for sms or twitter.
    Primary intention of this plugin was to enable reminder emails, but I would like to fix it if it is not working for other messaging outputs.

    Also can you send me a sample message content one of your student received, because I can't see your uploaded screenshot.
  • Picture of Adarsh Shukla
    Wed, 4 Jan 2017, 8:44 PM
    Hi,

    After installing this plugin. Every time i run cron i get following response.

    Processing cron function for local_reminders...
    ... started 18:13:05. Current memory use 57.2MB.
    [Local Reminder] Time window: Wednesday, 4 January 2017, 5:45 PM to Wednesday, 4 January 2017, 6:13 PM
    [Local Reminder] No upcoming events. Aborting...
    done. (4 dbqueries, 0.06 seconds)

    Though there are event scheduled. Please help me out with this.

  • Picture of Zeid Fanous
    Wed, 4 Jan 2017, 9:30 PM
    hi Adarsh

    try setting up an event for longer hourrs... say set the event for 2 hours later and wait for it ... check if email settings are correct, if event reminder settings are correct... r you setting up a site event reminder, individual, or ggroup ?
  • Picture of Isuru Madushanka Weerarathna
    Thu, 5 Jan 2017, 4:49 PM
    Hi Adarsh,

    Once I wrote how reminder time windows works with moodle cron jobs in here. See https://docs.moodle.org/dev/Email_reminders_for_calendar_events#Explanation.

    Reminder is sent if only there is an event falls exactly within 1,3,7 ahead of days for the current cron time window. But as Zeid suggested, you have the option to select whether it is 1 or 3 or 7 days of ahead from the settings.
  • Picture of Adarsh Shukla
    Thu, 5 Jan 2017, 7:53 PM
    Hi Thanks @zeid and @Isuru for your help. We are facing one more issue in sending reminders to groups.

    Here is the cron output

    [Local Reminder] Processing event#76 [Type: group, inaheadof=1 days]...
    [Local Reminder] 0 0
    [Local Reminder] Finding out users for event#76...
    [Local Reminder - ERROR] Error occured when initializing for event#[76] (type: group) Coding error detected, it must be fixed by a programmer: Invalid modulename parameter
    [Local Reminder - ERROR] #0 C:\wamp\www\moodle\local\reminders\contents\group_reminder.class.php(60): get_coursemodule_from_instance('0', '0', '9')
    #1 C:\wamp\www\moodle\local\reminders\contents\group_reminder.class.php(43): group_reminder->load_course_object()
    #2 C:\wamp\www\moodle\local\reminders\lib.php(366): group_reminder->__construct(Object(calendar_event), Object(stdClass), 1)
    #3 C:\wamp\www\moodle\lib\cronlib.php(223): local_reminders_cron()
    #4 C:\wamp\www\moodle\lib\classes\task\legacy_plugin_cron_task.php(163): cron_execute_plugin_type('local', 'local plugins')
    #5 C:\wamp\www\moodle\lib\cronlib.php(75): core\task\legacy_plugin_cron_task->execute()
    #6 C:\wamp\www\moodle\admin\cli\cron.php(61): cron_run()
    #7 {main}
    done. (20 dbqueries, 2.22 seconds)

    Can you please help me out with as well.
  • Picture of Zeid Fanous
    Thu, 5 Jan 2017, 8:44 PM
    yes i am aware of the error. i ended up hiring a php expert to llook at the code and we fixed it , send me your email and i will send u the fix
  • Picture of Adarsh Shukla
    Fri, 6 Jan 2017, 9:53 PM
    @Zeid That's really great Zeid. Here's my official email id adarsh.shukla@bitwiseglobal.com. Thanks for this.
  • Picture of Mario Wehr
    Sun, 8 Jan 2017, 11:58 PM
    Hi Adarsh Shukla,

    In "local\reminders\contents\group_reminder.class.php" change load_course_object() to

    private function load_course_object() {
    global $DB;

    $this->course = $DB->get_record('course', array('id' => $this->group->courseid));
    if (!empty($this->course) && !empty($this->event->instance)) {
    $cmx = get_coursemodule_from_instance($this->event->modulename, $this->event->instance, $this->group->courseid);
    if (!empty($cmx)) {
    $this->cm = get_context_instance(CONTEXT_MODULE, $cmx->id);
    }
    }
    }

    For some reason the event instance is null on group events so I added a check for ... && !empty($this->event->instance).

    regards
    Mario
  • Picture of erwin suranta
    Wed, 11 Jan 2017, 11:55 AM
    Help me please, i have followed the installation guide and settings, but auto reminder is not sending any email. then i tried to do some cron set up but still nothing happens. what else do i need to do to make this auto reminder work on my 3.0 moodle? thanks in advance smile
  • Picture of Adarsh Shukla
    Fri, 13 Jan 2017, 3:48 PM
    @Mario Thank You... This worked for me.
  • Picture of Adarsh Shukla
    Fri, 13 Jan 2017, 3:51 PM
    @erwin First of check weather your moodle setup is sending mails or not. You can test it through mail test plugin available https://moodle.org/plugins/local_mailtest
  • Picture of erwin suranta
    Fri, 20 Jan 2017, 10:03 AM
    Thanks for replying me Adarsh smile. this was the response i got from mail test:
    Warning - The cron.php maintenance script has not been run for at least 24 hours.
    The cron.php maintenance script assists some of Moodle's modules to perform tasks on a scheduled basis, such as mailing out copies of new forum posts. A mechanism is required to run the script regularly e.g. every 5 minutes.
  • Picture of Alexander Mueller
    Tue, 31 Jan 2017, 5:41 PM
    Hi there,
    Is this plugin working with Moodle 3.2+
  • Picture of erwin suranta
    Thu, 2 Feb 2017, 4:45 PM
    Adarsh or anyone who can help me, i confirmed that my moodle can send email, i got one notifying me that a student has submitted an assignment. But somehow still no email from this reminder plugin. Pls help me.
1 2 3 4 5 6 7 8
Please login to post comments