MyBB Community Forums

Full Version: Post Box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On Google Chrome it seems like the post box is stretched further than it should be. All you have to do to see it is log in and go to make a new reply or new thread.
Url: trazix.net
MyBB Version 1.6.5

Picture of what's going on:
[attachment=25366]



I just need to know where in the Templete files I can go to edit this. I just can't find it. Thanks if someone can help me.
(2012-01-23, 07:38 PM)Box Wrote: [ -> ]On Google Chrome it seems like the post box is stretched further than it should be. All you have to do to see it is log in and go to make a new reply or new thread.
Url: trazix.net
MyBB Version 1.6.5

Picture of what's going on:




I just need to know where in the Templete files I can go to edit this. I just can't find it. Thanks if someone can help me.

A test account would help in order to test out the problem ... but on the face of your attachment I would guess you have a template issue .. perhaps revert to the standard theme and see if the problem has gone ... if so you will need to edit your templates
It is a template issue.
Test account:
username: Test
password: password
Thanks if you can figure this out. It has been annoying me for days..
(2012-01-23, 09:46 PM)Box Wrote: [ -> ]It is a template issue.
Test account:
username: Test
password: password
Thanks if you can figure this out. It has been annoying me for days..

As you can see you have an issue with the template (see attachment), the element has a height of 330px set when it should not... perhaps revert theme->New Reply Templates->New Reply to original or search for a line
like this
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
and make sure the rows setting is rows="20"

This fixed on one of my themes but not another you need perhaps to look at the css of the theme to find out what is happening
It is still not working, thanks for trying.
This is what was in Theme -> New Reply Templates -> New Reply

<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>
<td class="trow2">
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}
</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$captcha}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<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}
{$threadreview}
{$footer}
</body>
</html>
(2012-01-23, 11:55 PM)Box Wrote: [ -> ]It is still not working, thanks for trying.
This is what was in Theme -> New Reply Templates -> New Reply

<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>
<td class="trow2">
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}
</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$captcha}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<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}
{$threadreview}
{$footer}
</body>
</html>
its a css type issue the output from your page is :-
<div style="width: 400px; height: 330px; position: relative; " class="messageEditor"><div id="editor_toolbar_container_top" class="toolbar_container"><div id="editor_toolbar_closetags" class="toolbar float_right"><span id="editor_item_close_tags" class="toolbar_button toolbar_normal toolbar_button_close_tags toolbar_button_group_first toolbar_button_group_last" style="visibility: hidden; "><span class="toolbar_sprite toolbar_sprite_close_tags"></span><strong></strong></span><br style="clear: both; "></div><div id="editor_toolbar_topformatting" class="toolbar"><div class="toolbar_dropdown editor_dropdown toolbar_dropdown_font toolbar_dropdown_group_first" id="editor_item_font"><div class="editor_dropdown_label">Font</div><div class="editor_dropdown_arrow"></div><ul class="editor_dropdown_menu" style="display: none; "><li class="editor_dropdown_menu_title">Font</li><li>Arial<span></span></li><li>Courier<span></span></li><li>Impact<span></span></li><li>Tahoma<span></span></li><li>Times New Roman<span></span></li><li>Trebuchet MS<span></span></li><li>Verdana<span></span></li></ul></div><div class="toolbar_dropdown editor_dropdown toolbar_dropdown_size" id="editor_item_size"><div class="editor_dropdown_label">Text Size</div><div class="editor_dropdown_arrow"></div><ul class="editor_dropdown_menu" style="display: none; "><li class="editor_dropdown_menu_title">Text Size</li><li>XX Small<span></span></li><li>X Small<span></span></li><li>Small<span></span></li><li>Medium<span></span></li><li>Large<span></span></li><li>X Large<span></span></li><li>XX Large<span></span></li></ul></div><span id="editor_item_color" class="toolbar_button toolbar_normal toolbar_button_color toolbar_button_with_arrow toolbar_button_group_first toolbar_button_group_last"><img src="http://trazix.net/jscripts/editor_themes/default/images/color.gif"><em class="editor_button_color_selected"></em><u class="toolbar_button_arrow"></u><strong></strong><ul class="editor_dropdown_menu" style="display: none; "><li class="editor_dropdown_color_item"><a style="background-color: #800000"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #8B4513"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #006400"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #2F4F4F"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #000080"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #4B0082"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #800080"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #000000"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FF0000"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #DAA520"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #6B8E23"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #708090"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #0000CD"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #483D8B"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #C71585"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #696969"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FF4500"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FFA500"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #808000"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #4682B4"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #1E90FF"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #9400D3"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FF1493"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #A9A9A9"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FF6347"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FFD700"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #32CD32"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #87CEEB"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #00BFFF"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #9370DB"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FF69B4"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #DCDCDC"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FFDAB9"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FFFFE0"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #98FB98"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #E0FFFF"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #87CEFA"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #E6E6FA"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #DDA0DD"></a></li><li class="editor_dropdown_color_item"><a style="background-color: #FFFFFF"></a></li></ul></span><br style="clear: both; "></div></div><div id="editor_toolbar_container_bottom" class="toolbar_container"><div id="editor_toolbar_insertables" class="toolbar float_right"><span id="editor_item_list_num" title="Insert numbered list" class="toolbar_button toolbar_normal toolbar_button_list_num toolbar_button_group_first"><span class="toolbar_sprite toolbar_sprite_list_num"></span><strong></strong></span><span id="editor_item_list_bullet" title="Insert bulleted list" class="toolbar_button toolbar_normal toolbar_button_list_bullet toolbar_button_group_last"><span class="toolbar_sprite toolbar_sprite_list_bullet"></span><strong></strong></span><span class="toolbar_sep"></span><span id="editor_item_img" title="Insert image" class="toolbar_button toolbar_normal toolbar_button_img toolbar_button_group_first"><span class="toolbar_sprite toolbar_sprite_image"></span><strong></strong></span><span id="editor_item_url" title="Insert hyperlink" class="toolbar_button toolbar_normal toolbar_button_url"><span class="toolbar_sprite toolbar_sprite_link"></span><strong></strong></span><span id="editor_item_email" title="Insert email address" class="toolbar_button toolbar_normal toolbar_button_email toolbar_button_group_last"><span class="toolbar_sprite toolbar_sprite_email"></span><strong></strong></span><span class="toolbar_sep"></span><span id="editor_item_quote" title="Insert quoted text" class="toolbar_button toolbar_normal toolbar_button_quote toolbar_button_group_first"><span class="toolbar_sprite toolbar_sprite_quote"></span><strong></strong></span><span id="editor_item_code" title="Insert formatted code" class="toolbar_button toolbar_normal toolbar_button_code"><span class="toolbar_sprite toolbar_sprite_code"></span><strong></strong></span><span id="editor_item_php" title="Insert formatted PHP code" class="toolbar_button toolbar_normal toolbar_button_php"><span class="toolbar_sprite toolbar_sprite_php"></span><strong></strong></span><span id="editor_item_video" class="toolbar_button toolbar_normal toolbar_button_video toolbar_button_with_arrow toolbar_button_group_last"><img src="http://trazix.net/jscripts/editor_themes/default/images/television.gif"><u class="toolbar_button_arrow"></u><strong></strong><ul class="editor_dropdown_menu" style="display: none; "><li>Dailymotion<span></span></li><li>MetaCafe<span></span></li><li>MySpace TV<span></span></li><li>Vimeo<span></span></li><li>Yahoo Video<span></span></li><li>YouTube<span></span></li></ul></span><br style="clear: both; "></div><div id="editor_toolbar_formatting" class="toolbar"><span id="editor_item_b" title="Insert bold text" class="toolbar_button toolbar_normal toolbar_button_b toolbar_button_group_first"><span class="toolbar_sprite toolbar_sprite_bold"></span><strong></strong></span><span id="editor_item_i" title="Insert italic text" class="toolbar_button toolbar_normal toolbar_button_i"><span class="toolbar_sprite toolbar_sprite_italic"></span><strong></strong></span><span id="editor_item_u" title="Insert underlined text" class="toolbar_button toolbar_normal toolbar_button_u toolbar_button_group_last"><span class="toolbar_sprite toolbar_sprite_underline"></span><strong></strong></span><span class="toolbar_sep"></span><span id="editor_item_align_left" title="Align text to the left" class="toolbar_button toolbar_normal toolbar_button_align_left toolbar_button_group_first"><span class="toolbar_sprite toolbar_sprite_align_left"></span><strong></strong></span><span id="editor_item_align_center" title="Align text to the center" class="toolbar_button toolbar_normal toolbar_button_align_center"><span class="toolbar_sprite toolbar_sprite_align_center"></span><strong></strong></span><span id="editor_item_align_right" title="Align text to the right" class="toolbar_button toolbar_normal toolbar_button_align_right"><span class="toolbar_sprite toolbar_sprite_align_right"></span><strong></strong></span><span id="editor_item_align_justify" title="Justify text" class="toolbar_button toolbar_normal toolbar_button_align_justify toolbar_button_group_last"><span class="toolbar_sprite toolbar_sprite_align_justify"></span><strong></strong></span><br style="clear: both; "></div></div><div style="clear: both; height: 262px; width: 396px; "><textarea cols="70" rows="20" id="message_new" name="message_new" style="height: 262px; width: 396px; " tabindex="2"></textarea></div></div>
Do you know where I could go in the ACP to edit this?
you may add #message_new {height: 262px !important;} at the bottom of ./jscripts/editor_themes/default/stylesheet.css file

see also fix editor and text area
No it didn't work. Damn it doesn't seem fixable. xD
^ after adding the code, have you (hard) refreshed the editor page ? if you can provide required temporary privileges thru PM , I can try it ...