vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Alter event reminder interval selection (https://vborg.vbsupport.ru/showthread.php?t=106321)

Gizmo999 01-25-2006 08:37 PM

Alter event reminder interval selection
 
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:
PHP Code:

$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 :(

PHP Code:

$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'
); 



All times are GMT. The time now is 01:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete