Thread: Calendar Enhancements - vB Event Forums
View Single Post
  #486  
Old 04-11-2008, 05:07 PM
kderentz kderentz is offline
 
Join Date: Jan 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need some major help guys. ... like a retard I thought a new version of this mod came out and I upgraded my existing install. Now when you add an event I getting a double post

any ideas???

its like its double posting this:

Code:
<form action="calendar.php?do=manage&amp;e=$eventinfo[eventid]"
but fi you look at my "calendar_showeventsbit" template it looks fine ...

Code:
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">

<form action="calendar.php?do=manage&amp;e=$eventinfo[eventid]" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="manage" />
<input type="hidden" name="e" value="$eventinfo[eventid]" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$eventinfo[title]</td>
</tr>
<tr>
	<td class="thead" style="font-weight:normal"><strong>$vbphrase[calendar]</strong>: $calendarinfo[title]</td>
</tr>
<tr>
	<td class="alt1">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="bottom">
			<td align="$stylevar[left]"><if condition="$show['postedby']"><a class="bigusername" href="member.php?$session[sessionurl]u=$eventinfo[userid]">$eventinfo[musername]</a><else />&nbsp;</if></td>
			<td align="$stylevar[right]"><if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed_event.gif" alt="$vbphrase[event_reminder]" /><else />&nbsp;</if></td>
		</tr>
		</table>
		
		<div class="smallfont">
			<if condition="$show['subscribelink']">
				<div style="float:$stylevar[right]">
					<if condition="$show['subscribed']">
						<a href="calendar.php?do=deletereminder&amp;e=$eventinfo[eventid]">$vbphrase[delete_reminder_for_this_event]</a>
					<else />
						<a href="calendar.php?do=addreminder&amp;e=$eventinfo[eventid]">$vbphrase[request_reminder_for_this_event]</a>
					</if>
				</div>
			</if>
			<if condition="$show['recuroption']">
				$recurcriteria<br />
				<phrase 1="$date1" 2="$date2">$vbphrase[date_x_to_y]</phrase><if condition="$show['adjustedday']">*</if>
				<br /><span class="time"><phrase 1="$time1" 2="$time2">$vbphrase[time_x_to_y]</phrase></span>
			<else />
				<if condition="$show['holiday'] OR $show['singleday']">
					$eventdate
				<else />
					<if condition="$show['daterange']"><phrase 1="$date1" 2="$date2">$vbphrase[date_x_to_y]</phrase><else />$eventdate</if> <span class="time"><phrase 1="$time1" 2="$time2">$vbphrase[time_x_to_y]</phrase></span>
				</if>
			</if>
			<if condition="$show['ignoredst']">
			<div>* $vbphrase[event_ignores_dst]</div>
			</if>
			<if condition="$show['adjustedday']">
				<div>* <phrase 1="$eventinfo[timezone]">$vbphrase[event_posted_for_timezone_x]</phrase></div>
			</if>		
		</div>
	</td>
</tr>
<tr valign="top">
	<td class="alt2">
		
		<if condition="$show['customfields']">
			$customfields
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
		</if>
		
		<div>$eventinfo[event]</div>
		
		<if condition="$show['eventoptions']">
			<div style="margin-top:$stylevar[cellpadding]px" align="$stylevar[right]">
				<select name="what" onchange="this.form.submit();">
					<option value="">$vbphrase[event_options]</option>
					<if condition="$show['caneditevent']">
						<option value="edit">:: &nbsp; $vbphrase[edit_event]</option>
					</if>
					<if condition="$show['candeleteevent']">
						<option value="delete">:: &nbsp; $vbphrase[delete_event]</option>
					</if>
					<if condition="$show['canmoveevent']">
						<option value="move">:: &nbsp; $vbphrase[move_event]</option>
					</if>
				</select>$gobutton	
			</div>
		</if>
		
	</td>
</tr>
</table>

</form>

$rsvp_form

</div>
$spacer_close
EDIT: I got it working but had to deinstall it and reinstall it.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01292 seconds
  • Memory Usage 1,789KB
  • 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
  • (2)bbcode_code
  • (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