Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-28-2006, 05:39 PM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The one at the top is the one most likely to work but the second one is more template firendly if you change styles and then if all else fails try the 3rd....


Change it to:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>


<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />

<if condition="$show['errors']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="738px" align="center">
	<tr>
		<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
	</tr>
	<tr>
		<td class="alt2">
			<ol>$errormessages</ol>
		</td>
	</tr>
	</table>
	<br />
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="738px" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
		$vbphrase[contact_us]	
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>$vbphrase[your_details]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[your_name] :<br />
						<input type="text" class="bginput" name="name" value="$name" size="50" />
					</td>
				</tr>
				<tr>
					<td>
						$vbphrase[email_address] :<br />
						<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
					</td>
				</tr>
				<if condition="$show['imagecheck']">
				<tr>
					<td>
						$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
										
						$vbphrase[please_enter_the_text_above_image] :<br />
						<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
						<input type="hidden" name="imagehash" value="$imagehash" />
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[subject]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<if condition="$vboptions['contactusoptions']">
						$contactusoptions
						<div>
							<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
							<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
						</div>
					<else />
						$vbphrase[subject] :<br />
						<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
					</if>
				</div>
			</fieldset>
			
			<div class="fieldset">
				$vbphrase[message]:<br />
				<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
			</div>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
		<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>

and if that doesn't work change it to:


Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>


<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />

<if condition="$show['errors']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width:$stylevar[formwidth] align="center">
	<tr>
		<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
	</tr>
	<tr>
		<td class="alt2">
			<ol>$errormessages</ol>
		</td>
	</tr>
	</table>
	<br />
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width:$stylevar[formwidth] align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
		$vbphrase[contact_us]	
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>$vbphrase[your_details]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[your_name] :<br />
						<input type="text" class="bginput" name="name" value="$name" size="50" />
					</td>
				</tr>
				<tr>
					<td>
						$vbphrase[email_address] :<br />
						<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
					</td>
				</tr>
				<if condition="$show['imagecheck']">
				<tr>
					<td>
						$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
										
						$vbphrase[please_enter_the_text_above_image] :<br />
						<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
						<input type="hidden" name="imagehash" value="$imagehash" />
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[subject]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<if condition="$vboptions['contactusoptions']">
						$contactusoptions
						<div>
							<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
							<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
						</div>
					<else />
						$vbphrase[subject] :<br />
						<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
					</if>
				</div>
			</fieldset>
			
			<div class="fieldset">
				$vbphrase[message]:<br />
				<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
			</div>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
		<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>

if that doesn't work try:


Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>


<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />

<if condition="$show['errors']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">
	<tr>
		<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
	</tr>
	<tr>
		<td class="alt2">
			<ol>$errormessages</ol>
		</td>
	</tr>
	</table>
	<br />
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
		$vbphrase[contact_us]	
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>$vbphrase[your_details]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[your_name] :<br />
						<input type="text" class="bginput" name="name" value="$name" size="50" />
					</td>
				</tr>
				<tr>
					<td>
						$vbphrase[email_address] :<br />
						<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
					</td>
				</tr>
				<if condition="$show['imagecheck']">
				<tr>
					<td>
						$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
										
						$vbphrase[please_enter_the_text_above_image] :<br />
						<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
						<input type="hidden" name="imagehash" value="$imagehash" />
					</td>
				</tr>
				</if>
				</table>
			</fieldset>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[subject]</legend>
				<div style="padding:$stylevar[formspacer]px">
					<if condition="$vboptions['contactusoptions']">
						$contactusoptions
						<div>
							<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
							<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
						</div>
					<else />
						$vbphrase[subject] :<br />
						<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
					</if>
				</div>
			</fieldset>
			
			<div class="fieldset">
				$vbphrase[message]:<br />
				<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
			</div>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
		<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>
and tell me when your done and whether it worked..
Reply With Quote
 


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 03:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11880 seconds
  • Memory Usage 2,537KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete