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 Details »»
Farcaster's Event Attendance
Version: 1.2.2, by Farcaster Farcaster is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 3.6.x Rating:
Released: 10-13-2006 Last Update: 05-03-2008 Installs: 398
DB Changes Uses Plugins Template Edits
 
No support by the author.

A BETA version 2.0 is now available in the 3.7 modification area.

This hack will allow your users to RSVP "Yes," "No," or "Maybe," for events posted on your forum calendar. You can configure which calendars RSVP should be enabled or excluded from, and on each event you can also specify whether this is an RSVP event. Unlike the old Event Attendance script, this hack will work on all types of events whether they are single day, ranged or recurring.

For ranged and recurring events, members are able to RSVP for a single day of the event. So, if the recurring event occurs every Monday, your members can RSVP separately for each recurrence. For ranged events that span more than one day, members can sign up for individual days of the event. Thus, if the event had a duration of 5 days, a member could signup for only one or two of the days, if he chose.

This hack is known to work with 3.6.x, and may work with 3.5.x, but no support is offered for this version at this time.

vB Event Forums Users:
You will need to install an additional module: https://vborg.vbsupport.ru/showthread.php?t=133970


Upgrade Instructions:
- 1 xml upload

1. Use the Product Manager to import the product file product-rah_calendar_rsvp_1_2_2.xml. Be sure to ALLOW OVERWRITE.

Installation Instructions
- 1 XML upload
- 1 template modification

1. Use the Product Manager to import the product file product-rah_calendar_rsvp_1_2_2.xml
2. Use the Style Manager to find and edit your calendar_showeventsbit:

Near the bottom of the calendar_showeventsbit, find:
HTML Code:
     </form>
Below that add:
HTML Code:
     $rsvp_form
That?s it. You should now configure any changes to the default options you like. If you previously used Event Attendance 2.0 by Arpy, you should disable it or uninstall it.

If you want to change any of the wording or need to enter translations, this hack uses the following phrases:

Calendar Phrases:
calendar_rsvp_allow
calendar_rsvp_attendquestion
calendar_rsvp_changelater
calendar_rsvp_maxlength
calendar_rsvp_maychange
calendar_rsvp_yoursvp
calendar_rsvpd
-- Added on 11/30/06:
calendar_rsvp_guest
calendar_rsvp_guest_limit
calendar_rsvp_guests_prompt
calendar_rsvp_max_guests
-- Added on 2/20/07
calendar_rsvp_changeby
calendar_rsvp_maychangeby
calendar_rsvp_closed
calendar_rsvp_expires

Standard Phrases:
yes
no
maybe
submit
comment
-- added on 2/20/07
minutes
seconds

Extra Instructions for 3.5.x Users:
This hack MAY work with 3.5.x, but you will need to add the standard global phrase "Comment"

Screenshots Attached.

If you use this hack, please be sure to click "Install" so that you can receive notifications of any updates.

Revision Log:
1.0.0 - 10/14/06 - Initial Release

1.0.1 - 10/19/06 - Maintenance Release.
  • Updated to handle getting a link without the "day" parameter.
  • Fixed timezone bug.
  • Updated calendar_rsvp_yoursvp phrase to include date.
  • Updated calendar_rsvp_attendquestion phrase to include date.
  • Updated calendar_rsvp_form for changed phrases.
1.1.0 - 11/30/06 - Minor Revision
  • Added ability for members to register guests in their RSVP. The guest system can be completely disabled, and is also configurable by event to limit the number of guests each member can bring.
  • RSVPs are now time stamped. The date and time of the RSVP can be displayed on the RSVP form if desired from a setting in the admincp.
    RSVPs can now be sorted by the date the user signed up or by member name.
  • The hack is now configured to work with the "Check Version" option for products in vBulletin.
1.1.1 - 12/15/06 - Maintenance Release.
  • Fixed uninstallation code. The hack can now be uninstalled without error and will correctly remove all fields and tables added by this hack.
1.1.2 - 12/21/06 - Maintenance Release.
  • Corrected install code to handle fields left behind by installations prior to version 1.1.1. You only need to install this update if you were recieving database errors when attempting to install the product.
1.2.0 - 02/20/07 - Minor Revision [Detailed Notes]
  • Feature: Moderators and owners can remove member RSVPs from events.
  • Feature: RSVP Expiration System added.
  • Bug Fix: Changing the date or recurring options of an event now removes all RSVPs.
1.2.1 - 05/09/07 - Maintenance Release
  • Bug Fix: Fixed problem with event description being truncated if it ended in the letter "n"
  • Bug Fix: Fixed summary when multiple events on the same day are shown so that it no longer cumulatively adds the guests and member counts to the next event.
1.2.2 - 05/03/08 - Maintenance Release
  • Added Security Token to be compatible with vBulletin 3.6.10 and 3.7.0.

This hack is provided completely free of charge. However, if you use this hack and are so moved, you may make a donation via PayPal:

Show Your Support

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

Comments
  #112  
Old 12-16-2006, 03:00 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Farcaster View Post
You can choose to include or exclude specific calendars AND you can specify whether a particular event should allow RSVPs. Currently, it defaults to be checked, but you can change that by looking for the plugin "Prompt for RSVP on Event Creation" and replacing that plugin's code with:

PHP Code:
$disablesmiliesoption.='<div><label for="cb_rsvp"><input type="checkbox" name="rsvp" value="1" id="cb_rsvp" tabindex="3" '.$rsvp.' />'.$vbphrase['calendar_rsvp_allow'].'</label></div>'
Hello,

I'm a little lost and can't find where to change this do it defaults to unchecked.

Template name and a simple "find this, do this" would be great. Thanks!

-Raymond
Reply With Quote
  #113  
Old 12-16-2006, 06:02 PM
JoeWho JoeWho is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I am having a heck of a time trying to get this to work. As you can see from the photo below I do have it installed, I can select yes, no or maybe and it appears to save the information when I click the submit button, but no information shows, it does not show any of the users that have submitted a RSVP.

Does anyone have an idea of why it's not showing, or where I should start looking for the problem?

Thanks for any and all help.
Reply With Quote
  #114  
Old 12-17-2006, 08:20 PM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Absolutely fantastic!!! My compliments
Reply With Quote
  #115  
Old 12-17-2006, 11:14 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack will work with 3.5.x, but you will need to add the standard global phrase "Comment"

Care to enlighten how to we do the above sentence. TIA.
Reply With Quote
  #116  
Old 12-18-2006, 08:21 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One little modification if you care...

The vb phrase x_members_and_y_guests is good for english but not for italian (my language) since the meaning of "guest" varies from the forum to the people attending events. I mean that in the forum the phrase is something like "1 member and 2 visitors" and in the calendar should be something like "1 member and 2 guests". The spelling of guest varies.

I'm asking myself how can I put another phrase in the code. I've seen that here's the piece of code interested in the modification

Quote:
(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests]</phrase>)
but I don't know how to modify this. I suppose that I've to add a new vb phrase but I really don't know how.

Thanks

UPDATE

I've tried to add a new phrase in vb (x_members_and_y_guests_fc) and replacing

Quote:
(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests]</phrase>)
with

Quote:
(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests_fc]</phrase>)
but seems that nothing changed
Reply With Quote
  #117  
Old 12-18-2006, 08:39 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made it!

this is the piece of code

Quote:
<if condition="$rsvp_yes">
<b>$vbphrase[calendar_rsvpd] $vbphrase[yes]: $rsvp_yes_count </b>
<if condition="$eventinfo[rsvp_max_guests]">
(<phrase 1="$rsvp_yes_members" 2="$rsvp_yes_guests">$vbphrase[x_members_and_y_guests_fc]</phrase>)
</if>
<ul><if condition="$vboptions[rah_rsvp_showavatar]"><table>$rsvp_yes</table><else />$rsvp_yes</if></ul>
</if>
<if condition="$rsvp_maybe">
<b>$vbphrase[calendar_rsvpd] $vbphrase[maybe]: $rsvp_maybe_count</b>
<if condition="$eventinfo[rsvp_max_guests]">
(<phrase 1="$rsvp_maybe_members" 2="$rsvp_maybe_guests">$vbphrase[x_members_and_y_guests_fc]</phrase>)
</if>
and you've to change two instances of x_members_and_y_guests to x_members_and_y_guests_fc
Reply With Quote
  #118  
Old 12-18-2006, 03:09 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JoeWho View Post
Hi,

I am having a heck of a time trying to get this to work. As you can see from the photo below I do have it installed, I can select yes, no or maybe and it appears to save the information when I click the submit button, but no information shows, it does not show any of the users that have submitted a RSVP.

Does anyone have an idea of why it's not showing, or where I should start looking for the problem?

Thanks for any and all help.
I am having the same problem as yours. Any kind soul to assist?
Reply With Quote
  #119  
Old 12-19-2006, 02:40 PM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Canis Firebrand View Post
Is that standard VB behavior when there are no events to not show the events box? I thought it was always there and if there were no events, it would say No Upcoming Events, or something like that.
That is standard behavior for vBulletin.
Reply With Quote
  #120  
Old 12-19-2006, 02:44 PM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fishhub View Post
This hack will work with 3.5.x, but you will need to add the standard global phrase "Comment"

Care to enlighten how to we do the above sentence. TIA.
If you do not add the phrase, all that will happen is that instead of saying "Comment:" above the comment box, it will just have ":". However, it will still work, even if you don't add the phrase.
Reply With Quote
  #121  
Old 12-19-2006, 02:53 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Farcaster View Post
If you do not add the phrase, all that will happen is that instead of saying "Comment:" above the comment box, it will just have ":". However, it will still work, even if you don't add the phrase.
Thanks for the advice. It works now. But when users click options to attend. It does not show up all the users attendance. Appreciate your assistance. TIA
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 04:44 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.05568 seconds
  • Memory Usage 2,340KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_html
  • (1)bbcode_php
  • (9)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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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