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

Reply
 
Thread Tools
Farcaster's Event Attendance v3 (for vb4) Details »»
Farcaster's Event Attendance v3 (for vb4)
Version: 3.1, by Farcaster Farcaster is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 4.x.x Rating:
Released: 01-31-2010 Last Update: 08-08-2011 Installs: 417
DB Changes Uses Plugins Template Edits
 
No support by the author.

This modification will allow your members to RSVP to events on the vBulletin calendar. By default, members can respond "Yes," "No," or "Maybe," as to whether or not they will be able to attend an event, but you can modify or add to the list of responses members are presented with as you desire.

Features
  • Specify some or all of your calendars to use the RSVP system.
  • Set whether an event accepts RSVPs during event creation / edit.
  • Allow members to specify if they will be bringing a guest.
  • Event owners can set the maximum number of guests each member may bring.
  • Events can be set to close RSVPs on the day of the event or before.
  • RSVP comments (up to 65k character limit, configurable)
  • Timestamped RSVPs
  • Moderators and event owners can remove member RSVPs from events.
  • Attendance list can be set to display member avatars.
  • Improved handling of differing timezones and daylight saving times.
  • Configurable Response options. You aren't stuck with Yes, No, Maybe. You can setup whatever responses you want.
  • Ability to specify a maximum number of attendees for an event. After the maximum is reached, you can configure members to either receive an error or have their response (RSVP) automatically changed to something else. This could be used to create a wait-list bucket, for instance.
Requirements
vBulletin v4.0.0 or higher.

Installation Instructions
- 1 XML upload
- 1 template modification

1. Use the Product Manager to import the included product XML file.
2. Use the Style Manager to find and edit your calendar_showeventsbit:
Find:
HTML Code:
<div class="eventfoot">
Above that add:
HTML Code:
{vb:raw rsvp_form}
Upgrading from v2 (for vb3):
Follow the steps above for installing the new version, and be sure to ALLOW OVERWRITE when installing the new product file.

Revision History:
  • v3.0.0a (BETA) - Updated to work on vb4. Corrected a number of bugs related to determining correct occurrence date. Corrected event save bug.
  • v3.0.0b (BETA) - Resolved What's New - Events crashes bug, added workaround for Avatar Alignments Off, added code to support integration with BBR - vB Event Forums (will not work with v1.0).
  • v3.1 - Fixed comment bug that caused {rsvp:var rsvp.comment} to be displayed instead of actual comment.
  • v3.1 - Resolved problematic array_walk usage that seemed to be causing trouble for some users on vb4.1.3+.
  • v3.1 - Special characters not displayed correctly in comments.
  • v3.1 - "Will you be able to attend on %1$s?"
Known Bugs:
Avatar Alignments Off
Phrase / Formatted Date Problem (unable to reproduce)
What's New - Events crashes

Download Now

File Type: xml product-rah_calendar_rsvp_3_1.xml (52.1 KB, 808 views)

Screenshots

File Type: png farcasters_event_attendance__event.PNG (46.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
scotfor, Sir_Rai, Toorak Times

Comments
  #322  
Old 06-17-2012, 09:57 AM
Kiint Kiint is offline
 
Join Date: Nov 2006
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, works fine on 4.2
Reply With Quote
Благодарность от:
ProFifaLeagues
  #323  
Old 06-17-2012, 12:53 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Klint, I'll upgrade then.
Reply With Quote
  #324  
Old 06-17-2012, 01:36 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirmed a new Install and works A1 on 4.2
Reply With Quote
  #325  
Old 06-21-2012, 07:30 PM
Zervesa Zervesa is offline
 
Join Date: Sep 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kiint View Post
Anyone have any ideas on this. I've been searching the templates and testing things out but don't have the knowledge to fix this.
Add this for your color change:

in additional.css


.eventbody .eventrow {
background-color: #000000;
}


Or in the Template: calendar_rsvp_form
Code:
<style type="text/css">
.eventbody .eventrow {
	background-color: #252525;
}
</style>
<vb:if condition="$bbuserinfo['userid'] AND $expires[0]>=0">
	<div class="eventbody"><div class="eventrow">
	<vb:if condition="$lv_vb_eventforums_threadid AND THIS_SCRIPT=='showthread'">
		<form action="showthread.php?t={vb:var lv_vb_eventforums_threadid}&day={vb:var rsvp_day}" method="post">
	<vb:else />
		<form action="calendar.php?do=getinfo&e={vb:var eventinfo.eventid}&day={vb:var rsvp_day}" method="post">
	</vb:if>


		<input type="hidden" name="do" value="getinfo" />
		<input type="hidden" name="cdo" value="rsvp" />
		<input type="hidden" name="day" value="{vb:var rsvp_day}" />
		<input type="hidden" name="e" value="{vb:var eventinfo.eventid}" />
		<input type="hidden" name="s" value="" />
		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />



				<vb:if condition="$expires[unixdate]">	

					<vb:if condition="$myrsvp">
						<b>{vb:phrase calendar_rsvp_yoursvp, {vb:var rsvp_day_formatted}, {vb:var myrsvp}}</b><br />
						<vb:if condition="$eventinfo[rsvp_attendeelimit]">{vb:phrase rsvp_attendeelimit, {vb:var rsvp_attendeelimit}, {vb:var eventinfo.spotsopen}}<br/></vb:if>
						<font class="smallfont"><i>{vb:phrase calendar_rsvp_maychangeby, {vb:var expires.date}}</i></font>

					<vb:else />

						<b>{vb:phrase calendar_rsvp_attendquestion {vb:var rsvp_day_formatted}}</b><br />
						<vb:if condition="$eventinfo[rsvp_attendeelimit]">{vb:phrase rsvp_attendeelimit, {vb:var eventinfo.rsvp_attendeelimit},{vb:var eventinfo.spotsopen}}<br/></vb:if>
						<font class="smallfont"><i>{vb:phrase calendar_rsvp_changeby, {vb:var expires.date}}</i></font>

					</vb:if>

					<br/>

				<vb:else />

					<vb:if condition="$myrsvp">
						<b>{vb:phrase calendar_rsvp_yoursvp, {vb:var rsvp_day_formatted}, {vb:var myrsvp}}</b><br />
						<font class="smallfont"><i>${vb:phrase calendar_rsvp_maychange}</i></font>

					<vb:else />
						<b><phrase 1="$rsvp_day_formatted">{vb:phrase calendar_rsvp_attendquestion}</b><br />
						<font class="smallfont"><i>{vb:phrase calendar_rsvp_changelater}</i></font>

					</vb:if>


					<br/>

				</vb:if>

			{vb:raw rsvp_form_responses}<br \>

			<vb:if condition="$eventinfo['rsvp_max_guests']">
				<i>{vb:rawphrase calendar_rsvp_guests_prompt} <input type="text" name="guests" id="guests" size="3" value="{vb:var myguests}"> 
				{vb:phrase calendar_rsvp_guests}. ({vb:phrase calendar_rsvp_guest_limit, {vb:var eventinfo.rsvp_max_guests}})</i>
			</vb:if>


			<vb:if condition="$maxlength">
				<table>
					<tr>
						<td><b>{vb:phrase comment}:</b><br \>
						<td align="right"><font class="smallfont"><i>({vb:phrase calendar_rsvp_maxlength} = {vb:var maxlength})</i></font></td>
					</tr>
					<tr>
						<td colspan="2">
						<textarea name="comment" rows="2" cols="80">{vb:var mycomment}</textarea>
						</td>

					</tr>
				</table><br/>

			</vb:if>
			<input type="submit" class="button" value="{vb:phrase submit}" />

			</form>
	</div></div>
</vb:if>
<vb:if condition="$expires[0]<0">
	<div class="eventbody"><div class="eventrow"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr><td class="alt2" align="center" valign="center" height="50"><font size="2"><b>{vb:phrase calendar_rsvp_closed}</b></font></td></tr>
	</table></div></div>
</vb:if>
Reply With Quote
  #326  
Old 06-28-2012, 02:57 PM
alexkohler alexkohler is offline
 
Join Date: Jan 2009
Location: Germany
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBSEO causes Problems and redirects to 404, when calendar rewrite rules are enabeled.

This can be fixed by editing either the product.xml or later the plugin calendar_getday_event an there replace

Code:
			// Prevents User Response Removal on redirect
			if (!preg_match('/redirect/',$vbulletin->url)) {
				$vbulletin->url .= "&redirect=1";
			}
with

Code:
			// Prevents User Response Removal on redirect
			if (!preg_match('/redirect/',$vbulletin->url)) {
				$vbulletin->url .= "";
			}


Best regards,
Alex
Reply With Quote
  #327  
Old 06-30-2012, 10:46 AM
Kiint Kiint is offline
 
Join Date: Nov 2006
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zervesa View Post
Add this for your color change:

in additional.css


.eventbody .eventrow {
background-color: #000000;
}


Or in the Template: calendar_rsvp_form
Code:
<style type="text/css">
.eventbody .eventrow {
    background-color: #252525;
}
</style>
Thanks for the info.
Reply With Quote
  #328  
Old 06-30-2012, 10:47 AM
Kiint Kiint is offline
 
Join Date: Nov 2006
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My default responses are not checked, would it be possible on clicking on an event to have the default respone set to "maybe" instead of having all responses unselected?
Reply With Quote
  #329  
Old 07-21-2012, 08:34 AM
Berphi Berphi is offline
 
Join Date: Jun 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod works fine on vB 4.2.
One problem: We have users with the character '&' in their name. In a calender entry this character is viewed as "&amp;"
Reply With Quote
  #330  
Old 07-21-2012, 11:17 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod, please inform me of any other mods you have for Calendars as a Gig Guide is a major part of my platform idea
Reply With Quote
  #331  
Old 07-21-2012, 11:20 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Berphi View Post
The mod works fine on vB 4.2.
One problem: We have users with the character '&' in their name. In a calender entry this character is viewed as "&amp;"
The & (Ampersand its called) has its issues all over vB for some reason, someone told me it is a coding character and it confuses sumtin', me muppet, Lynne would know why
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 07:43 PM.


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.05535 seconds
  • Memory Usage 2,362KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete