Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Farcaster's Event Attendance: Email Add-On Details »»
Farcaster's Event Attendance: Email Add-On
Version: 1.0.0, by Farcaster Farcaster is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 3.6.4 Rating:
Released: 02-07-2007 Last Update: Never Installs: 99
DB Changes Uses Plugins
Additional Files  
No support by the author.

This modification is an enhancement for the "Farcaster's Event Attendance" modification. After you install this modification, you will be able to configure various notification and reminder messages to members who RSVP'd for events on your calendar. For instance, you could configure a message to be sent to a member who RSVP'd "Maybe" to prompt him to update his RSVP status a few days before the event started. You could configure an additional notification to be sent to members who RSVP'd "Yes" to remind them of the event one day, one week, or at any point before the event occurs.

Prerequisites:

Farcaster's Event Attendance 1.1.0 (or newer)

Installation
- 1 file upload
- 1 XML upload

1. Upload the file rsvp_notify.php to your forums includes\cron directory.
2. Use the Product Manager to import the product file product-rah_rsvp_email_1_0_0.xml.xml
3. Modify the RSVP email notification options as needed under "Farcaster's Event Attendance" in the options menu.
4. Modify the schedule of the "Send RSVP notifications" job as needed. By default, it is set to run at midnight each day.

Default Notifications
When you first install the product, it is configured to:
  • Send an email to users who RSVP'd "Maybe" at 5 days before the event, and then again at 1 day before the event. The email template used will produce a letter like the following, with the subject line of "RSVP Status: [Event Title]":
    • Quote:
      Dear [username],

      An event you were interested in at [Board Name] is scheduled to begin soon. You previously RSVP'd "Maybe." If you will be able to attend, please take a moment to update your RSVP status. Attached below are the details of the event.

      Event: [Event Title]
      Scheduled Start Date: [Date of Event w/o Time] (# Days)
      ================================================== =========
      [Event Description]
      ================================================== =========

      To update your RSVP status or to view this event, visit: [Link to Event]

      All the best,

      [Board Name]
  • Send an email to users who RSVP'd Yes at 5 days before the event with the subject line of "Reminder: [Event Title]" and the following letter:
    • Quote:
      Dear [username],

      This is a reminder that an event you RSVP'd for will be coming up within the next 5 days. If you are no longer able to attend, please update your RSVP status. Otherwise, we look forward to seeing you there!

      Event: [Event Title]
      Scheduled Start Date: [Date of Event w/o Time] (# Days)
      ================================================== =========
      [Event Description]
      ================================================== =========

      To update your RSVP status or to view this event, visit: [Link to Event]

      All the best,

      [Board Name]
  • Send an email to users who RSVP'd Yes at 1 day before the event with the subject line of "Reminder: [Event Title]" and the following letter:
    • Quote:
      Dear [username],

      This is a reminder that an event you RSVP'd for is scheduled to begin soon. If you are no longer able to attend, please update your RSVP status. Otherwise, we look forward to seeing you there!

      Event: [Event Title]
      Scheduled Start Date: [Date of Event w/o Time] (# Days)
      ================================================== =========
      [Event Description]
      ================================================== =========

      To update your RSVP status or to view this event, visit: [Link to Event]

      All the best,

      [Board Name]

Revision Log
1.0.0 - Initial Release

Further documentation available in first post.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-08-2007, 05:40 AM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Setting up Notifications
The options are setup to give you a wide latitude of setting up all kinds of schedules with different email templates. Under the options for "Farcaster's Event Attendance" you will now have a text area for each of the RSVP statuses (Yes, No and Maybe). On each line you type in the number of days (or fraction thereof) in advance of the event the email should be sent, followed by a comma and then the email phrase to be used. To setup more than one, just add a new line. For instance, to send a notification 5 days in advance to members who RSVP'd "yes," I created a new email phrase called rsvp_yes_5 and then added the following line to the option box:
5,rsvp_yes_5
I decided that I also wanted to have a message sent 1 day in advance, so I added another email phrase called rsvp_yes_1 and added it just below the previous line, like this:
5,rsvp_yes_5
1,rsvp_yes_1
Adding a New Email Phrase
1. Under the Phrase Manager, click "Add New Phrase"
2. Change the Phrase Type to "Email Subject Text"
3. Set the varname. This will be the name you reference in the notification box described above.
4. Type the text you want to appear in the subject line in the "Text" box. You can use variables. A list of available variables will be described in the next section.
5. Save the phrase.
6. Add another phrase by clicking, "Add New Phrase" under the Phrase Manager.
7. Change the Phrase Type to "Email Body Text".
8. Set the varname to the exact same name as you used for the "Email Subject Text" above.
9. Type the text you want to appear in the "Text" box. You can use variables.

Available Variables:

$username = The user's forum name
$rsvp_day = The day the event occurs, formatted as Y-m-d, ie: 2007-01-01
$rsvp_day_formatted = The day the event occurs.
$when = Number of days to event or "Today" if the event occurs on the same day as the notice is going out, ie: 3 Days
$days_to_event = Number of days to event, without the word "Days" appended.
$rsvpd_on = The date the member RSVPd.
$guests = The number of guests the member said he'd be bringing.
$rsvp[title] = The event title.
$rsvp[event] = The event description.
Reply With Quote
  #3  
Old 02-08-2007, 09:37 AM
powerbook's Avatar
powerbook powerbook is offline
 
Join Date: Jul 2006
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It keeps on getting better
Reply With Quote
  #4  
Old 02-08-2007, 02:33 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just when I was thinking that my site needed this and I would have to do it myself. Great addon, thank you!
Reply With Quote
  #5  
Old 02-08-2007, 03:46 PM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are the instructions easy enough to understand? I know it is a little complicated to setup your notifications, but I wanted to keep it as open ended and scalable as possible for everyone's individual needs.
Reply With Quote
  #6  
Old 02-08-2007, 04:17 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this take account of the user's email seetins such as "Admins can email"?
Reply With Quote
  #7  
Old 02-08-2007, 04:31 PM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
Does this take account of the user's email seetins such as "Admins can email"?
No, it will send an email regardless of that setting, just as I'm pretty sure a reminder would, if they set one up.
Reply With Quote
  #8  
Old 02-08-2007, 05:12 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I'll just have to make a note in the RSVP form then.
Reply With Quote
  #9  
Old 02-08-2007, 06:18 PM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome
Reply With Quote
  #10  
Old 02-09-2007, 01:14 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Farcaster View Post
No, it will send an email regardless of that setting, just as I'm pretty sure a reminder would, if they set one up.
Hum. That may be something worth adding to the next update? Technically if someone opts-out they shouldn't get any emails. Just my thoughts...
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05550 seconds
  • Memory Usage 2,305KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete