MyBB Community Forums

Full Version: Reply Box is very small
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am new to this forum and new to MyBB in general. I have inherited administration for a form website and have the following issue that has been outstanding for a long time:

When a user tries to Reply (either to a thread or a PM) the Reply text box seems to be a fixed size so if the message they reply to is more than a line long there is no space for the reply until you expand the box using the sizer in the bottom right corner:

[attachment=42585]

[attachment=42586]

Thanks in advance for any assistance.

MyBB Version 1.8.22
PHP Version 7.0.33
Edit the "Show Thread Templtes" > "showthread_quickreply" and change the number of rows to any higher value.
Or remove the parameter rows="" at all and add a "height: 200px;" within style="...".

This is the original code of the message box:
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>

[ExiTuS]
reply drafted before seeing above response :

find code similar to below in newreply template, newthread template, private_send template
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
increase rows value by increasing number in rows="20"
save the template & check if it helps

MyBB Templates guidance
(2020-02-17, 09:49 AM)[ExiTuS] Wrote: [ -> ]Edit the "Show Thread Templtes" > "showthread_quickreply" and change the number of rows to any higher value.
Or remove the parameter rows="" at all and add a "height: 200px;" within style="...".

This is the original code of the message box:
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>

[ExiTuS]

Thanks - this is on a Reply, not a quick reply.

the quick reply Template is as your quoted original

(2020-02-17, 10:10 AM).m. Wrote: [ -> ]reply drafted before seeing above response :

find code similar to below in newreply template, newthread template, private_send template
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
increase rows value by increasing number in rows="20"
save the template & check if it helps

MyBB Templates guidance

Thanks for your reply.

This doesn't seem to help - changing the 'rows' number makes no difference.
^ which theme you are using ? have you tried hard refreshing new reply page [eg. press CTRL + F5]
(2020-02-17, 11:00 AM).m. Wrote: [ -> ]^ which theme you are using ? have you tried hard refreshing new reply page [eg. press CTRL + F5]
Thanks for your continued assistance

I'm not sure - it seems to be a custom one created by predecessors. 

Hard refresh doesn't work either.

How can I troubleshoot which Templates a page uses?


EDIT:

Theme seems to be a modified NetPen

I have found that the settings specified by row were being overwritten by the height setting of this code in the global.css:

textarea {

background : #fff;

color : #333;

border : #8f98a3 solid 2px;

padding : 2px;

line-height : 1.4;

outline : 0;

font-family : Tahoma, Verdana, Arial, Sans-Serif;

font-size : 13px;

height : 175px;
}
^ so, I assume you have resolved it Smile
Yes,

Thank you for your help - it pointed me in the right direction.


Is there an easy way to tell which templates a particular page is using? A kind of debug mode?
Quote:... which templates a particular page is using? A kind of debug mode?
administrator has option to see the debug information with a link at bottom right of every page.
its link appears like [Advanced Details] below memory usage information.
that debug information includes used templates list.

Also, source page of forum includes templates information in comment tags
<!-- start: showthread -->
// related code
<!-- end: showthread -->

above both facilities have toggle option at forum admin panel

forum admin panel >> configuration >> Server and Optimization Options
---> Output template start/end comments?
---> Advanced Stats / Debug information
(2020-02-18, 09:25 AM).m. Wrote: [ -> ]
Quote:... which templates a particular page is using? A kind of debug mode?
administrator has option to see the debug information with a link at bottom right of every page.
its link appears like [Advanced Details] below memory usage information.
that debug information includes used templates list.

Also, source page of forum includes templates information in comment tags
<!-- start: showthread -->
// related code
<!-- end: showthread -->

above both facilities have toggle option at forum admin panel

forum admin panel >> configuration >> Server and Optimization Options
---> Output template start/end comments?
---> Advanced Stats / Debug information

Great. Much appreciated, thanks.