MyBB Community Forums

Full Version: Thread title removing after preview
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a problem each time create a new thread after click on preview post or attach file ,
the topic title will automatic remove .
Every time have to re write the title , any one know what is the problem ?
This make me very annoying Undecided .
Can you post here newthread template?
(2017-02-26, 04:58 PM)chack1172 Wrote: [ -> ]Can you post here newthread template?

Here is it

<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/post.js?ver=1800"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
{$moderation_notice}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<div class="reply-header">
<h2>{$lang->thread_subject}</h2>
</div>
<div class="panel-body padding_0 trow1" style="border-radius: 3px;">
 <div class="col-sm-12 my_ptop" style="padding-left: 0px; padding-right: 0px;">   
  <div class="col-sm-10 input-group-sm">
	  <div class="re-subject">
        <input type="text" style="border: 2px solid rgba(91, 130, 164, 0.5);" name="subject" class="form-control" placeholder="Create New Topic Here " tabindex="1"><br />
	  </div>
      </div>
  <div class="col-sm-2" style="padding-bottom: 10px;">{$prefixselect}</div>
  </div>
<div class="col-sm-8">
<div align="center">		
<div class="panel-body padding_0 trow1" style="border-radius: 3px;">
<textarea id="message" name="message" rows="25" style="width: 100%;" tabindex="2" >{$message}</textarea></div>
{$rinbutquick}
{$multiquote_external} 
	</div>
<div class="form-bottom"> 
{$pollbox}
{$captcha}
</div>
</div>
<div class="col-sm-4 my_pbottom">
<div class="post-icons">
<div class="posticon">
<div align="center">
{$smilieinserter}
</div>
</div>
</div>	
<div class="text-left">  
<label><input type="checkbox" class="modal-check" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}  
{$modoptions}
{$subscriptionmethod}
</div>
</div>
</div>
<div class="attach-box">
{$attachbox}
</div>
<div class="actions-bottom" align="center">
<input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  
<input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />
{$savedraftbutton}
</div>
<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
{$forumrules}
{$footer}
<script type="text/javascript">
	$(".author_avatar img").error(function () {
		$(this).unbind("error").closest('.author_avatar').remove();
	});
</script>
</body>
</html>