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 |
#22
|
|||
|
|||
Would there be any way to do the following:
1. Set it to automatically subscribe all members to the reminder? 2. I want to be able to send out a weekly Events Email. I have the cron set to run on Sundays, but would love to be able to set it up to where they could see the whole week. Thanks! |
#23
|
|||
|
|||
This hack has been updated to merge the calendar_reminder.php with the existing reminder.php file. No additional functionality was added in this revision.
Quote:
2> There would be a minor change required in the reminder.php file to accommodate this. I'll take a look. |
#24
|
|||
|
|||
1. Yes, that would be good to have
2. Awesome. Thanks for looking! |
#25
|
|||
|
|||
Will this work for vB 3.6.1?
|
#26
|
|||
|
|||
I have not tested it in 3.6.1 yet, but there is no reason that I can see that it would not work.
|
#27
|
||||
|
||||
Great hack easy install 3.6.0 zero problems!!!
Thxs MarkAnthony |
#28
|
|||
|
|||
This hack is exactly what I'm looking for. I have it running on a fairly fresh version of 3.6 (very few additional plugins).
I have double checked that I installed it exactly how you stated, everything seems to be there. The table in the DB was created, my members are being inserted to the table when they subscribe. But no one is recieving emails about the event. The mail function definately works because subscriptions to certain forums are working just fine. Any Ideas? |
#29
|
|||
|
|||
Quote:
Code:
select * from datastore where title = 'lastautoremind' |
#30
|
|||
|
|||
Have you gotten a chance to check out those options?
|
#31
|
|||
|
|||
I would love to see this integrated with the upcoming events subscribe. For instance if a person subscribes to a calendar to get notified on the events within 3 days. It would also add those events to the subscribe table and notify them by message at the top and for stats purposes so someone doesnt have to subscribe to every event he can just see a stat that says, "New Upcoming Events: X and click it to see event subscriptions. The X is defined by the calendar subscription mod events within the specified days and also adds the events registered to manually. So that way it gets all events on all calendars subscribed to for a specific range and if there are events months out that you did manually. I started to code some of this but cant seem to get your mod integrated with it. Thanks for this awesome mod.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|