Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Automatic Calendar Reminders Details »
Automatic Calendar Reminders
Mod Version: 1.0.3, by Farcaster (Coder) Farcaster is offline
Developer Last Online: Jun 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.2 Rating: (3 votes - 5.00 average) Installs: 60
Released: 24 Sep 2006 Last Update: 28 Sep 2006 Downloads: 134
Not Supported DB Changes Uses Plugins Template Edits Code Changes  

What does it do?
This hack allows your members to receive automatic reminders for all upcoming events in one or more calendars of their choice without having to request individual reminders for each event. In effect, this operates like a subscription to a calendar.

How does it work?

When opening a calendar, the user will be presented with an option just under the calendar title to subscribe or unsubscribe to the calendar. Members can request automatic reminders for all events on the calendar for one, two or three days in advance. Once per day, a digest of all upcoming events will be sent to the user advising them of upcoming events in the time frame they chose. (see attached screenshot)

Users can also unsubscribe from a calendar by going to the UserCP and Event Reminders section (see attached screenshot)

Example Email (uses the event reminder email template):
Dear Farcaster,

The following events are scheduled to begin soon at YOUR FORUM NAME.

Upcoming events:
************
Test Event 1 (In less than 23 hour(s))
http://YOUR_URL_HERE/calendar.php?do=getinfo&e=1
In Calendar: Calendar #1 Name
************
Test Event 3 (In less than 47 hour(s))
http://YOUR_URL_HERE/calendar.php?do=getinfo&e=3
In Calendar: Calendar #2 Name
************
Test Event 2 (In less than 47 hour(s))
http://YOUR_URL_HERE/calendar.php?do=getinfo&e=2
In Calendar: Calendar #3 Name


All the best,
YOUR FORUM NAME

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this email, please visit this page and delete any future reminders:
http://YOUR_URL_HERE/calendar.php?do=viewreminder
Upgrading from previous version:
You do not need to uninstall the previous version.

To upgrade from previous version to 1.0.3:

1. Remove the Calendar Subscription cron job if it exists.
2. Delete the file includes/cron/calendar_reminder.php
3. Make the changes to the reminder.php file as specified in the instructions below.


Installation Instructions
- 1 XML upload
- 1 template modification
- 1 file edit

1. Use the Product Manager to import the product file product-rah_calendar_autoremind_1_0_3.xml

3. Use the Style Manager to add the following code to the bottom of your CALENDAR_REMINDER template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Open a copy of the includes/cron/reminder.php file and find the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above that, near the top of the reminder.php file, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Note: If a user chooses to receive a reminder 3 days in advance, they will receive a daily reminder on each day from the 3 days out to 1 day out)

And, that's it. I hope you enjoy. Please click "install" if you use this hack.

I have not tested this with 3.6.1 yet, but there shouldn't be any reason it won't work with it.

Revision History
Version 1.0.0 - Initial Release
Version 1.0.1 - Fixed caching bug that caused calendar templates to become uncached when the user clicked the subscribe or unsubscribe link.
Version 1.0.2 - Fixed problem were reminders were sent for 3 days in advance regardless of the setting a member chose.
Version 1.0.3 - Removed calendar_reminder.php and merged email code with existing reminder.php.

A parallel version for 3.5.x forums is now available here.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	calendar_subscribe.JPG
Views:	523
Size:	77.5 KB
ID:	53842   Click image for larger version

Name:	calendar_unsubscribe.JPG
Views:	403
Size:	74.5 KB
ID:	53843   Click image for larger version

Name:	event_reminders_page.JPG
Views:	533
Size:	64.4 KB
ID:	53844  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Automatic Calendar Reminders Farcaster vBulletin 3.5 Add-ons 12 28 Sep 2006 19:27

Comments
  #2  
Old 24 Sep 2006, 09:06
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
Limitations:

Calendar Reminders are sent once per day at or after midnight based on the system time. The time is not configurable. This will be resolved in a future revision.

Last edited by Farcaster; 28 Sep 2006 at 17:32.
Reply With Quote
  #3  
Old 24 Sep 2006, 14:40
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Please how to fix this problem? This hack uncached all calendar templates
Reply With Quote
  #4  
Old 24 Sep 2006, 15:17
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
thanks installed
Reply With Quote
  #5  
Old 24 Sep 2006, 16:32
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
Originally Posted by Lionel
Please how to fix this problem? This hack uncached all calendar templates
I'm working on this now. It looks like the caching problem only happens when the user is clicking on the subscribe or unsubscribe link. Other times, the cache is not effected. To see what I mean, if you have debug on, subscribe to a calendar and then browse back to the main page, and then back to the calendar again.
Reply With Quote
  #6  
Old 24 Sep 2006, 16:42
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
In addition to that, in normal calendar view (when you first access it), only this template 'calendar_subscribe_bit ' is not cached.
Reply With Quote
  #7  
Old 24 Sep 2006, 17:04
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
will this work with vb calander events hack?

Also will it work with the 3.5.3 & 3.5.4 flavors of vb?
Reply With Quote
  #8  
Old 24 Sep 2006, 17:26
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
The caching problem is now resolved. See the upgrade instructions. Additionally, I added a plugin to cache the new subscription templates.
Reply With Quote
  #9  
Old 24 Sep 2006, 17:30
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Real name: Robert Howard
Originally Posted by bada_bing
will this work with vb calander events hack?
It works with both Event Attendance 2.0 and with the vB Event Forums. However, the subscription link only shows up on the calendar, so users will not see a subscribe link when viewing an event in the Event Forums.

Originally Posted by bada_bing
Also will it work with the 3.5.3 & 3.5.4 flavors of vb?
No, but I am working on a seperate version that will work with 3.5.x.
Reply With Quote
  #10  
Old 24 Sep 2006, 17:48
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks, will check this out soon...
Reply With Quote
  #11  
Old 24 Sep 2006, 18:11
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Originally Posted by Farcaster
The caching problem is now resolved. See the upgrade instructions. Additionally, I added a plugin to cache the new subscription templates.
It is fixed, thanks.
Reply With Quote
  #12  
Old 25 Sep 2006, 02:02
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
Originally Posted by Farcaster
No, but I am working on a separate version that will work with 3.5.x.
Count me in on installing a 3.5 version of this hack. My users would love it!

Thanks!
Reply With Quote
  #13  
Old 25 Sep 2006, 03:13
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Originally Posted by Farcaster
It works with both Event Attendance 2.0 and with the vB Event Forums. However, the subscription link only shows up on the calendar, so users will not see a subscribe link when viewing an event in the Event Forums.


No, but I am working on a seperate version that will work with 3.5.x.
PLease let us all know when the 3.5.x version is out I would love this.
Reply With Quote
  #14  
Old 25 Sep 2006, 12:42
ctrl-alt-del ctrl-alt-del is offline
 
Join Date: Jul 2006
Just what I've been looking for!
Reply With Quote
  #15  
Old 25 Sep 2006, 19:57
GrandAmGuru's Avatar
GrandAmGuru GrandAmGuru is offline
 
Join Date: Jan 2002
oooh.. can't wait for the 3.5 version!
__________________
Jeremy
www.GrandAmGT.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:32.

Layout Options | Width: Wide Color: