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 |
#42
|
|||
|
|||
We installed this on our current vBulletin version (3.8.4), added the XML, and changed the style templates as indicated, then when we test it, we get the following error:
"Your submission could not be processed because a security token was missing." |
#43
|
||||
|
||||
Will it work on latest version of VB 4.1.7
or anybody can inform me about similar mod compatible for 4.1.7? I tried this and getting an error - some if condition is missing its beginning tag. please help. |
#44
|
||||
|
||||
I am having vb4.1.7
after editing the reminder.php I am getting this error while clicking the calendar Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1340) : eval()'d code on line 182 Unable to add cookies, header already sent. File: /home/brahmins/public_html/forums/includes/class_core.php Line: 5554 |
#45
|
|||
|
|||
any chance getting this updated for vb 4.2.2???
|
#46
|
||||
|
||||
Note likely, the developer has not been online in almost a year.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|