MyBB Community Forums

Full Version: Way to turn off quoting in PM emails
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When a user recieves a PM and hits reply, the previous message is quoted in that reply. Doing this several times makes for an intersting email. Is there a way to turn this off for PM messages? I haven't found it yet
Unfortunately no. The previous message is quoted when you press the reply button (obviously), and this is the template for that button (postbit_reply_pm):

<a href="private.php?action=send&amp;pmid={$id}&amp;do=reply"><img src="{$theme['imglangdir']}/pm_reply.gif" alt="{$lang->reply}" title="{$lang->reply_title}" /></a>

The bit that loads the previous message to quote it is the &amp;pmid={$id} bit... however this also loads the recipient(s) and the subject, so if you were to remove this, the message wouldn't be quoted, but there also wouldn't be any subject or recipient, it'd basically be a new PM.
Ok that's cool, can I submit a change to have a toogle under your preferences to enable or disable the quoting?
Someone should be able to make that as a plugin, I'll move this to plugin requests for you.
I would do it if we could come to reasonable terms. However... why not just tell the users to remove old quoting. I remove the embedded quote when I'm replying to a reply 90% of the time.
I remove it as well...

But...

1. Request was added by user
2. I think it would be cool to remove it or have a toggle
3. What is reasonable terms
1.6 has a feature to limit the amount of nested quotes, I assume that covers PMs too, so you'll be able to set a limit when 1.6 comes.
That would be cool thanks
I have come across this as a problem on my sites too and wished mybb would address it.

Every single PM quotes entirely into any reply. Total waste of database space imho and can make for some very long PMs after a few back and forths.

I think there aren't any hooks to correct this with a plugin either. [confirmed]
(2009-11-07, 01:00 AM)labrocca Wrote: [ -> ]I think there aren't any hooks to correct this with a plugin either. [confirmed]

Sure there is...
You can run it off
$plugins->run_hooks("private_send_start");
with a custom do=reply check in it.
Pages: 1 2