View Full Version : Alter event reminder interval selection
Gizmo999
01-25-2006, 08:37 PM
Hi
i'd like to add longer email event reminders in the calendar than the current 3 day maximum, ideally 7 and 14 days. Can anyone suggest a way of doing this please??, i modified calendar_reminder_choosetype template with new option values of "604800" and "1209600" but it didn't work :(
TIA
Gizmo999
01-29-2006, 09:45 PM
Bump, can anybody help please ??
Farcaster
09-14-2006, 07:04 AM
This may be an untimely response to your query, but if you are still interested, in addition to the drop down options you added, you also need to update the reminder.php file that is in the includes/cron directory.
Look for:
$beginday = $timenow - 86400;
$endday = $timenow + 345600; # 4 Days
Change it the $endday value to be your new maximum plus 1 day. For instance 691200.
Gizmo999
01-20-2007, 01:57 PM
thanks sorry for slow reply i've just come back to this. I'm no further forward, probably back a bit further as I'm now getting php errors when I edit the functions_calendar.php with the additional array options :(
$reminders = array(
'3600' => 'one_hour',
'7200' => 'two_hours',
'10800' => 'three_hours',
'14400' => 'four_hours',
'21600' => 'six_hours',
'28800' => 'eight_hours',
'43200' => 'twelve_hours',
'64800' => 'eighteen_hours',
'86400' => 'one_day',
'172800' => 'two_days',
'259200' => 'three_days',
'604800' => 'seven_ days',
'1209600' => 'fourteen_ days',
);
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.