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 |
#32
|
|||
|
|||
Can this work with VB Event Calendar and Event Attendance?
Chris |
#33
|
|||
|
|||
It should work with it, but it doesn't integrate with either hack in any way.
|
#34
|
|||
|
|||
This is excellent - works perfectly for me....thankyou!
|
#35
|
|||
|
|||
does this work for 3.6.8 P2 with php 5+ ??
It worked perfect before now since I upgraded to 5+ it is throwing errors along with your other mods. I am trying to find out the root of it. |
#36
|
||||
|
||||
I'll be testing this out, but I really want a version that simply emails subscribers at the moment a new event is added.
|
#37
|
|||
|
|||
Guys is there a hack or a mod that enables your forum to permit a user to subscribe DURING REGISTRATION To a specific Calendar.
Thanks. |
#38
|
|||
|
|||
Any possiblity of getting a 3.7.x version of this? I tried this version on my 3.7.2 board and did not working.
|
#39
|
|||
|
|||
Bump for you. I'm also looking for it to automatically subscribe all members to the reminder. I can connect the dots in the database and make a third script to funnel new members into the setting, but having it in the UI for the first big sweep and as an automatic cron for the new members thereafter would be a great feature.
|
#40
|
|||
|
|||
To automatically get new members subscribed, add a new plugin to the hook:
register_addmember_complete Something to this effect, ymmv - PHP Code:
|
#41
|
||||
|
||||
Will you be upgrading this to VB 3.8? This would make an excellent Farcaster's Calendar Triad: Auto Calendar Reminders + Event Attendance 2 + Social Group Calendar. Thanks for all your cool mods!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|