The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Automatic Calendar Reminders Details »» | ||||||||||||||||||||||||||
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): Quote:
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: HTML Code:
<!-- calendar subscriptions table --> <br /> <form action="calendar.php?do=dosubscriptions" method="post" name="unsubscribe"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="dosubscriptions" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="3"> Calendar Subscriptions </td> </tr> <if condition="$show['havesubscriptions']"> <tr> <td class="thead"> Calendar </td> <td class="thead" nowrap="nowrap"><a href="$sorturl&order=asc&sort=reminder">$vbphrase[reminder]</a> $sortarrow[reminder]</td> <td class="thead" align="center"><input name="allbox" type="checkbox" value="Check All" title="$vbphrase[check_uncheck_all]" onclick="checkall(this.form);" /></td> </tr> $subscriptionbits <tr> <td class="tfoot" colspan="5" align="$stylevar[right]"><div class="smallfont"> $vbphrase[selected_events] <select name="what"> <optgroup label="$vbphrase[delete_reminders]"> <option value="delete">$vbphrase[delete]</option> </optgroup> </select>$gobutton </div></td> </tr> <else /> <tr> <td class="alt1" align="center" colspan="5"> <br /> You have no calendar subscriptions. <br /> <br /> </td> </tr> </if> </table> </form> PHP Code:
PHP Code:
PHP Code:
PHP Code:
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. Show Your Support
|
Comments |
#12
|
|||
|
|||
Quote:
|
#13
|
||||
|
||||
Quote:
Thanks! |
#14
|
||||
|
||||
Quote:
|
#15
|
|||
|
|||
Just what I've been looking for!
|
#16
|
||||
|
||||
oooh.. can't wait for the 3.5 version!
|
#17
|
||||
|
||||
I like this hack but I would like to request a more granular feature.. On you next release expecially the 3.5.x version can you had it so that the member can get a reminder for only the selected calandar event rather then the entire calandar.
I would hate to get a bunch of emails from a calandar that is busy with events I dont care about rather then getting a reminder from the events I care to be reminded of Any thoughts? |
#18
|
|||
|
|||
*INSTALLED* Thank you!
|
#19
|
|||
|
|||
Quote:
|
#20
|
|||
|
|||
Quote:
|
#21
|
|||
|
|||
I see that the email sent is already translated to french.
Great. Thanks. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|