Hi there,
I am using an edited version of the Flatty theme. I've come across the problem that the quote button is not working. The following code is assigned to postbit_quote:
<a href="newreply.php?tid={$tid}&replyto={$post['pid']}" title="{$lang->postbit_quote}" class="postbit_quote bradius"><span><i class="fa fa-reply"></i> {$lang->postbit_button_quote}</span></a>
Thanks in advance.
I use Igame theme and the source like this:
<a href="newreply.php?tid={$tid}&replyto={$post['pid']}" title="{$lang->postbit_quote}"class="postbit_quote"><span>{$ lang->postbit_button_quote}</span></a>
Paste here the showthread_quickreply template
Which lines you want?
It's contain 52 lines.
From {$ closeoption} to {$ lang-> quickreply_multiquote_selected}
sorry the source confused.
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$ theme['imgdir']}/spinner.gif" alt="spinner"/></div> 2 <br /> 3 {$moderation_notice} 4 ▾ <form method="post" action="newreply.php?tid={$tid} &processed=1" name="quick_ reply_form" id="quick_reply_form" > 5 <input type="hidden" name="my_ post_key" value="{$mybb->post_ code}" /> 6 <input type="hidden" name="subject" value="RE: {$reply_ subject}" /> 7 <input type="hidden" name="action" value="do_ newreply" /> 8 <input type="hidden" name="posthash" value="{$ posthash}" id="posthash" /> 9 <input type="hidden" name="quoted_ids" value="" id="quoted_ids" /> 10 <input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" /> 11 <input type="hidden" name="from_page" value="{$page} " /> 12 <input type="hidden" name="tid" value="{$tid}" /> 13 <input type="hidden" name="method" value="quickreply" /> 14 15 ▾ <table border="0" cellspacing="{$ theme['borderwidth']}" cellpadding="{$theme['tablespace']} " class="tborder"> 16 ▾ <thead> 17 ▾ <tr> 18 ▾ <td class="thead" colspan="2"> 19 ▾ <div class="expcolimage"><img src="{$ theme['imgdir']}/collapse{$
collapsedimg['quickreply']}.png" id="quickreply_img" class="expander" alt="[-]" title="[-] " /></div> 20 ▾ <div><strong>{$lang- >quick_reply}</strong></div> 21 </td> 22 </tr> 23 </thead> 24 ▾ <tbody style="{$collapsed ['quickreply_e']}" id="quickreply_ e"> 25 ▾ <tr> 26 ▾ <td class="{$trow}" valign="top" width="4%"> 27 28 </td> 29 ▾ <td class="{$trow}"> 30 ▾ <div style="width: 95% "> 31 ▾ <div class="editor_ control_bar" style="width: 100%; padding: 4px; margin-top: 3px;
display: none;" id="quickreply_ multiquote"> 32 ▾ <span class="smalltext"> 33 ▾ {$lang-
>quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid} &load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang- >quickreply_multiquote_now} </a> {$lang->or} <a href="javascript:Thread. clearMultiQuoted();">{$lang- >quickreply_multiquote_deselect} </ a>. 34 35 </span> 36 </div> 37 38 ▾ <textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea> 39 </div> <br /> 40 41 ▾ <div class="float_left"> {$ option_signature} <label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> {$lang->disable_ smilies}</label>{$closeoption} </ div> 42 43 ▾ <div class="float_right" style="margin-top: -10px; margin- right: 4%;"><input type="submit" class="button" value="Submit reply" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang- >preview_post}" tabindex="3" /></ div> 44 45 46 </td> 47 </tr> 48 {$captcha} 49 50 </tbody> 51 </table> 52 </form>
Hard to read. Paste it without numbers in
here
(2017-06-09, 12:01 PM)pololoko111 Wrote: [ -> ]Hard to read. Paste it without numbers in
here
Sorry I can't cus I'm on phone.
Ahh that is it:
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" alt="spinner"/></div>
<br />
{$moderation_notice}
<form method="post" action="newreply.php?tid={$tid}&processed=1" name="quick_reply_form" id="quick_reply_form">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="subject" value="RE: {$reply_subject}" />
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
<input type="hidden" name="from_page" value="{$page}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="method" value="quickreply" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.png" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->quick_reply}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<tr>
<td class="{$trow}" valign="top" width="4%">
</td>
<td class="{$trow}">
<div style="width: 95%">
<div class="editor_control_bar" style="width: 100%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">
<span class="smalltext">
{$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
</span>
</div>
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
</div> <br />
<div class="float_left"> {$option_signature} <label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> {$lang->disable_smilies}</label>{$closeoption} </div>
<div class="float_right" style="margin-top: -10px; margin-right: 4%;"><input type="submit" class="button" value="Submit reply" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></div>
</td>
</tr>
{$captcha}
</tbody>
</table>
</form>
hidden
(2017-06-09, 10:54 AM)pololoko111 Wrote: [ -> ]Paste here the showthread_quickreply template
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" /></div>
<br />
{$moderation_notice}
<form method="post" action="newreply.php?tid={$tid}&processed=1" name="quick_reply_form" id="quick_reply_form">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="subject" value="RE: {$reply_subject}" />
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
<input type="hidden" name="from_page" value="{$page}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="method" value="quickreply" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.png" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->quick_reply}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<tr>
<td class="{$trow}" valign="top" width="14%">
<span class="smalltext lftbx">
{$option_signature}<br /><label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> <strong>{$lang->disable_smilies}</strong><br /></label>{$closeoption}
</span>
</td>
<td class="{$trow}">
<div style="width: 100%; margin: 5px 0px 6px -11px;">
<textarea style="width: 100%; padding: 4px; margin: 0;" placeholder=" Type your reply to this message here..." rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
</div>
<div class="editor_control_bar ediedit" style="display: none;" id="quickreply_multiquote">
<i class="fa fa-info" style="color: #999; padding: 0px 7px 0px 4px; vertical-align: middle; font-size: 14px;"></i>
<span class="smalltext">
{$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
</span>
</div>
</td>
</tr>
{$captcha}
<tr>
<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
</tr>
</tbody>
</table>
</form>
provide forum url & a test user account so that someone can check it
does quoting the post(s) work fine with MyBB's stock theme ?