Moodle

Calendar event reminder

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9
  • Fix Version/s: DEV backlog
  • Component/s: Calendar, Messages
  • Labels:
  • Environment:
    All the operating systems
  • Affected Branches:
    MOODLE_19_STABLE

Description

I propose a new feature that send mails reminding upcoming events to the user that are related to that event. I've done an script, but it is plain php, so if someone wants to read it I'm attaching it.

There should be a field on the user profile, so this one choose if event reminds will be sent to his mail.

http://moodle.org/mod/forum/discuss.php?d=93749 here is the file with the script

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Hi Roman,

sounds interesting... can you please, attach the script here...? TIA!

I'm going to address this for Moodle 2.0 (we cannot perform DB changes is current 1.9) and assign this to Martin for his consideration. Thanks!

Show
Eloy Lafuente (stronk7) added a comment - Hi Roman, sounds interesting... can you please, attach the script here...? TIA! I'm going to address this for Moodle 2.0 (we cannot perform DB changes is current 1.9) and assign this to Martin for his consideration. Thanks!
Hide
Román Huerta added a comment -

this is the current script I'm using, this is plain php, and I'm using ADOBD to manage the database, I'm runnint this script as a cron, and it is in the moodle/admin folder, I also added a file in the user table named "eventreminder" that is the same time as screenreader (tinyint), and edited the file user/editlib.php and added a field for the eventreminder setting, the code is here:

line 171

$choices = array();
$choices['0'] = get_string('eventreminderno');
$choices['1'] = get_string('eventreminderyes');
$mform->addElement('select', 'eventreminder', get_string('eventreminderuse'), $choices);
$mform->setDefault('eventreminder', 1);
$mform->setAdvanced('eventreminder');

well this is all by now

Show
Román Huerta added a comment - this is the current script I'm using, this is plain php, and I'm using ADOBD to manage the database, I'm runnint this script as a cron, and it is in the moodle/admin folder, I also added a file in the user table named "eventreminder" that is the same time as screenreader (tinyint), and edited the file user/editlib.php and added a field for the eventreminder setting, the code is here: line 171 $choices = array(); $choices['0'] = get_string('eventreminderno'); $choices['1'] = get_string('eventreminderyes'); $mform->addElement('select', 'eventreminder', get_string('eventreminderuse'), $choices); $mform->setDefault('eventreminder', 1); $mform->setAdvanced('eventreminder'); well this is all by now
Hide
Eloy Lafuente (stronk7) added a comment -

Thanks Román,

hopefully Martin will read this and take a decision.

Muchas gracias, ciao

Show
Eloy Lafuente (stronk7) added a comment - Thanks Román, hopefully Martin will read this and take a decision. Muchas gracias, ciao
Hide
Martin Dougiamas added a comment -

I think this is an excellent idea. I'll make sure it gets included as part of the messaging revamp in 2.0.

The idea would be that the calendar always sends reminders and that the messaging system is where you configure what you want to do with them (send them as email, create popup windows, send to jabber or just ignore), just like all messaging will be configured.

Show
Martin Dougiamas added a comment - I think this is an excellent idea. I'll make sure it gets included as part of the messaging revamp in 2.0. The idea would be that the calendar always sends reminders and that the messaging system is where you configure what you want to do with them (send them as email, create popup windows, send to jabber or just ignore), just like all messaging will be configured.
Hide
Román Huerta added a comment -

Hi from Peru

Thanks for accepting this new feature.

First, even when I'm new developing, I would like to participate on the developing process(maybe coding).

And Martin I didn't understand you well, this configuration would be for the event creator? the administrator?, and what about the user settings? what if the user wouldn't like to receive emails, popup windows?

And I thing this configuration could be don't for every event, like some event handler system(I don't know if I can mention one).

Thanks very much.

Show
Román Huerta added a comment - Hi from Peru Thanks for accepting this new feature. First, even when I'm new developing, I would like to participate on the developing process(maybe coding). And Martin I didn't understand you well, this configuration would be for the event creator? the administrator?, and what about the user settings? what if the user wouldn't like to receive emails, popup windows? And I thing this configuration could be don't for every event, like some event handler system(I don't know if I can mention one). Thanks very much.
Hide
Scott Karren added a comment -

It might be worth looking at Mike Churchward's Calendar Event reminder hacks as well to see if there is anything useful in there. http://moodle.org/mod/data/view.php?d=13&rid=755

Show
Scott Karren added a comment - It might be worth looking at Mike Churchward's Calendar Event reminder hacks as well to see if there is anything useful in there. http://moodle.org/mod/data/view.php?d=13&rid=755
Hide
Alejo Becerra Díaz added a comment -

Unfortunately, it seems that the "fix version" should be updated.
#MDL-1329 is an old duplicate of this issue (take into account its antiquity and votes to speed up resolution... you can break the 6,5 years to resolution mark of #MDL-1647 "Allowing negative marks for questions" recently set

Show
Alejo Becerra Díaz added a comment - Unfortunately, it seems that the "fix version" should be updated. #MDL-1329 is an old duplicate of this issue (take into account its antiquity and votes to speed up resolution... you can break the 6,5 years to resolution mark of #MDL-1647 "Allowing negative marks for questions" recently set
Hide
Alejo Becerra Díaz added a comment -

Realized that 2.1 does not seem to stop development of 2.0, so 2.0.4 is going to be (I thought that 2.1 replaced 2.0, as I think that usually happened with 1.x)

Show
Alejo Becerra Díaz added a comment - Realized that 2.1 does not seem to stop development of 2.0, so 2.0.4 is going to be (I thought that 2.1 replaced 2.0, as I think that usually happened with 1.x)
Hide
Martin Dougiamas added a comment -

What this really needs is a nice patch written that adds this as a proper message provider, then it can be configured via the message interface.

(And will have a better chance of getting reviewed and integrated quickly)

Show
Martin Dougiamas added a comment - What this really needs is a nice patch written that adds this as a proper message provider, then it can be configured via the message interface. (And will have a better chance of getting reviewed and integrated quickly)

Dates

  • Created:
    Updated: