MyBB Community Forums

Full Version: Reply and Quote question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.

I made these changes to postbit_quote template to have both reply and quote buttons:
<a href="newreply.php?tid={$tid}"><img src="{$theme['imglangdir']}/postbit_reply.gif" alt="{$lang->post_new_reply}" title="{$lang->post_new_reply}" /></a>
<a href="newreply.php?tid={$tid}&amp;pid={$post['pid']}"><img src="{$theme['imglangdir']}/postbit_quote.gif" alt="{$lang->postbit_quote}" title="{$lang->postbit_quote}" /></a>
But there is a problem - by removing the PID part, now reply button only replies to the first post and becomes pointless.
How can this be fixed?

Thanks.
You want it to be properly linked in threaded mode I take it?
Well, that's how it knows to quote that post, the PID, if there's no PID is't just a general reply... what exactly are you expecting it to do...??
(2010-01-07, 11:41 PM)ralgith Wrote: [ -> ]You want it to be properly linked in threaded mode I take it?
Exactly.
(2010-01-07, 11:44 PM)Indy74 Wrote: [ -> ]
(2010-01-07, 11:41 PM)ralgith Wrote: [ -> ]You want it to be properly linked in threaded mode I take it?
Exactly.

This would require a plugin to leave the pid in, add another input field for noquote, and the plugin strips the quoted text IF the noquote != 0 (and exists at all)

EDIT: I have such a plugin already made for PMs