by any chance, does know how to make the quick reply always visible, so you don't have to click the "quick reply" button on the bottom of topics?
im using phpBB3.0.7 PL-1
Making Quick Reply Always Visible
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
- Steve
- BBCoder VI
- Posts: 863
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: Making Quick Reply Always Visible
Open your style(prosilver based)/template/quickreply_editor.html
find all:
replace with:
find all:
Code: Select all
<script type="text/javascript">
// <![CDATA[
function hide_qr(show)
{
dE('qr_editor_div');
dE('qr_showeditor_div');
if (show && document.getElementById('qr_editor_div').style.display != 'none')
{
document.getElementsByName('message')[0].focus();
}
return true;
}
function init_qr()
{
dE('qr_showeditor_div');
return true;
}
onload_functions.push('init_qr();');
// ]]>
</script>
<noscript>
<form method="post" action="{U_QR_ACTION}">
<div class="panel" id="qr_ns_editor_div">
<div class="inner"><span class="corners-top"><span></span></span>
<h2>{L_QUICKREPLY}</h2>
<fieldset class="fields1">
<dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}:</label></dt>
<dd><input type="text" name="subject" id="subject-ns" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
</dl>
<div id="message-box-ns">
<textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea>
</div>
</fieldset>
<fieldset class="submit-buttons">
{S_FORM_TOKEN}
{QR_HIDDEN_FIELDS}
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
<input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
</noscript>
<form method="post" action="{U_QR_ACTION}">
<div class="panel" style="display: none" id="qr_editor_div">
<div class="inner"><span class="corners-top"><span></span></span>
<h2>{L_QUICKREPLY}</h2>
<fieldset class="fields1">
<dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}:</label></dt>
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
</dl>
<div id="message-box">
<textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea>
</div>
</fieldset>
<fieldset class="submit-buttons">
{S_FORM_TOKEN}
{QR_HIDDEN_FIELDS}
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
<input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
</fieldset>
<a href="" class="right-box up" onclick="hide_qr(false); return false;" title="{L_COLLAPSE_QR}">{L_COLLAPSE_QR}</a>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel" style="display: none" id="qr_showeditor_div" >
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<fieldset class="submit-buttons">
<input type="submit" name="show_qr" tabindex="1" class="button2" value="{L_SHOW_QR}" onclick="hide_qr(true);return false;"/>
</fieldset>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
Code: Select all
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<h2>{L_QUICKREPLY}</h2>
<fieldset class="fields1">
<dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}:</label></dt>
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
</dl>
<div id="message-box-ns">
<textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea>
</div>
</fieldset>
<fieldset class="submit-buttons">
{S_FORM_TOKEN}
{QR_HIDDEN_FIELDS}
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
<input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
Re: Making Quick Reply Always Visible
thanks, it all works
oh, ok, it doesn't all work, after i replaced it with the new code, the submit and full editor button's dont work, you click them, nothing happen's
oh, ok, it doesn't all work, after i replaced it with the new code, the submit and full editor button's dont work, you click them, nothing happen's
Re: Making Quick Reply Always Visible
undo any edits you have done for this and try this!
I don't remember where i got this from, but all credit goes to the original author!
I don't remember where i got this from, but all credit goes to the original author!
Quick Reply is a new feature in version 3.0.6.
If Quick Reply is enabled in Post settings and in Forum settings, prosilver displays a "Quick Reply" button, which must be clicked to open the Reply window. For those who want to eliminate this step:
OPEN quickreply_editor.html
FIND:
Code: Select all
onload_functions.push('init_qr();');
REPLACE WITH:
Code: Select all
// onload_functions.push('init_qr();');
FIND AND DELETE the one occurrence each of:
Code: Select all
<noscript>
AND
Code: Select all
</noscript>
- Steve
- BBCoder VI
- Posts: 863
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: Making Quick Reply Always Visible
Hey it works for me but try what cisco007 posted other than that it worked.
Re: Making Quick Reply Always Visible
its weird, because cisco's worked, and steve, yours didn't for me, i don't know what the issue was myself