Thread: Calendar Enhancements - Farcaster's Event Attendance v3 (for vb4)
View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01687 seconds
  • Memory Usage 1,792KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete