View Single Post
  #60  
Old 03-27-2003, 10:34 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having some trouble.

Thisd is what my template looks like.

Code:
{htmldoctype}
<html>
<head><title>$bbtitle - $thread[title]</title>
$headinclude

<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
	window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no")
}
function who(userid) {
                window.open("userrate.php?s=$session[sessionhash]&action=show&rateuser="+userid, "whorated", "toolbar=no,scrollbars=yes,resizable=yes,width=230,height=300"); 
}
function pubs() {
                window.open('member.php?s=$session[sessionhash]&action=pubsthreads&postuserid=$post[userid]','pubsthreads','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=300,height=300,top=200,left=300');
}
function whodownloaded(attachmentid) {
               window.open("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid, "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50"); 
}
function showwarnings(userid) { 
               window.open("warn.php?s=&action=show_warn&userid="+userid,
 "show_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=350"); 
}
function addwarnings(postid) { 
               window.open("warn.php?s=&action=add_warn&postid="+postid,
 "add_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=400,height=200"); 
}
function whovoted(pollid) {
               window.open("poll.php?action=whovoted&pollid=$pollinfo[pollid]="+pollid, "whovoted", "toolbar=no,scrollbars=yes,resizable=no,width=350,height=400, top=50, left=50");
  }
// -->
</script>
</head>
<body>
$header

<!-- breadcrumb, nav links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
$poll
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<tr>
	<td bgcolor="{firstaltcolor}" {bevel1} valign="top" width="68%" align="left">$navbar<br>
<smallfont>This thread, which was started by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>, contains $thread[replycount] replies, has been viewed $thread[views] times, and contains $thread[attach] attachments.</smallfont>
<br>
<smallfont>$pagenav $firstunread&nbsp;</smallfont>
<br>
$ratingdisplay
</td>
<td bgcolor="{secondaltcolor}" {bevel2} valign="top" align="right" width="32%"><smallfont>
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>
&nbsp;
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput"></smallfont>
<br>
<smallfont>
	<img src="{imagesfolder}/prev.gif" alt="" border="0">
	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
	&nbsp;
	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
	<img src="{imagesfolder}/next.gif" alt="" border="0"></smallfont>
<br>
<smallfont><b>All times are GMT$timediff.<br>The time now is $timenow.</b></smallfont>
</tr>
</table></table>
<!-- /breadcrumb, nav links -->

<a name="posttop"></a>

<!-- End content area table (CREATED IN HEADER!!) -->   
	</td>
</tr>
</table></form>

<!-- spacer -->
<table background="{imagesfolder}/logobg.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->

<br>

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
	<!-- /Thread nav and post images -->
	</td>
</tr>
</table>
</td></tr></table>

<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->

$postbits

<!-- spacer -->
<table background="{imagesfolder}/logobg.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- spacer -->

<!-- breadcrumb, nav links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<tr>
<td bgcolor="{secondaltcolor}" {bevel2} valign="top" align="left" width="32%"><smallfont>
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>
&nbsp;
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput"></smallfont>
<br>
<smallfont>
	<img src="{imagesfolder}/prev.gif" alt="" border="0">
	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
	&nbsp;
	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
	<img src="{imagesfolder}/next.gif" alt="" border="0"></smallfont>
<br>
<smallfont><b>All times are GMT$timediff.<br>The time now is $timenow.</b></smallfont></td></form>
	<td bgcolor="{firstaltcolor}" {bevel1} valign="top" width="68%" align="left">$navbar<br>
<smallfont>This thread, which was started by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>, contains $thread[replycount] replies, has been viewed $thread[views] times, and contains $thread[attach] attachments.</smallfont>
<br>
<smallfont>$pagenav $firstunread&nbsp;</smallfont>
<br>
$ratingdisplay
</tr></td>
</table></table></form></form>
<!-- /breadcrumb, nav links -->

<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->


<!-- restart content table from header -->
<table cellpadding="10" cellspacing="0" border="0" width="{tablewidth}" background="{imagesfolder}/logobg.gif" align="center">
<tr>
    <td>

$replybox

$similarthreads

<!-- thread options links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra}  align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="625">
<tr>
	<td bgcolor="{firstaltcolor}" {bevel1} align="center" width="625" colspan="3"><smallfont>
	<img src="{imagesfolder}/printer.gif" alt="" border="0" align="absmiddle">
	<a href="printthread.php?s=$session[sessionhash]&threadid=$threadid">Show Printable Version</a> |
                <img src="{imagesfolder}/sortasc.gif" alt="" border="0" align="absmiddle">
                <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&action=download">Download Thread</a> |
	<img src="{imagesfolder}/sendtofriend.gif" alt="" border="0" align="absmiddle">
	<a href="sendtofriend.php?s=$session[sessionhash]&threadid=$threadid">Email this Page</a> |
	<img src="{imagesfolder}/subscribe.gif" alt="" border="0" align="absmiddle">
	$log_subscription_link
	</smallfont></td>
</tr>
<tr>
	<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="40%">$forumjump</td>
	<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="30%">$adminoptions</td>
	<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="30%">$threadrateselect</td>
</tr>
<tr>
	<td colspan="3" bgcolor="{firstaltcolor}" {bevel1} align="center" width="100%">$searchthread</td>
</tr>
</table>
</td></tr></table>
<!-- /thread options links -->

<br>

<!-- forum rules and admin links -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<center><td align="center"><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td></center>
</tr>
</table>
<!-- /forum rules and admin links -->

$footer

	<object classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541" codeType="application/x-oleobject" id="MsgrApp" width="0" height="0"></object>
	<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683" codetype="application/x-oleobject" id="MsgrObj" width="0" height="0" codebase="#Version=2,0,0,83"></object>

</body>
</html>
When i click the quote box and then click reply nothing shows in the message area. I don't know what my problem is.

I am guessing it has something to do with the FORM actions and closing of the form tags in the wrong areas. Can someone please help me thanks.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01340 seconds
  • Memory Usage 1,839KB
  • 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)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