View Full Version : Private Messages Enhancements - Auto-Quote PM in Quick Reply
ForumsMods
02-22-2011, 10:00 PM
Auto-Quote PM in Quick Reply
Description:
Auto-Quote PM in Quick Reply
Installation:
Import "product-autoquote_pm.xml" as a product, overwrite if it's already installedLanguages:
- English
History:
23-02-11: v4.0 First Release
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
Boofo
02-23-2011, 10:52 AM
Does this have a checkbox so we can turn it off for some PMs?
ForumsMods
02-23-2011, 11:21 AM
Does this have a checkbox so we can turn it off for some PMs?
This add-on automatically quote the content of recevied pm, like in vB 3.8.
See screenshot
Boofo
02-23-2011, 11:30 AM
Yes, I realized that after I posted that message. My bad. ;)
archet1337
02-23-2011, 02:47 PM
Installed and working great, but is there a way to quote the message after you click "reply" and not quote it in the quick reply as soon as you open the PM?
Feels weird to see the quote text in the quick reply box when you only want to read the PM.
ComoEstaEso-com
02-24-2011, 12:03 AM
Just installed it, yet I'm not getting a quote of the message that was sent to me.
Any thoughts on what I could check?
For reference, I have installed PM Preview (https://vborg.vbsupport.ru/showthread.php?t=236500)
Don't know if there's a conflict there.
Thank you for your work and help!!
ForumsMods
02-24-2011, 12:50 AM
Just installed it, yet I'm not getting a quote of the message that was sent to me.
Any thoughts on what I could check?
For reference, I have installed PM Preview (https://vborg.vbsupport.ru/showthread.php?t=236500)
Don't know if there's a conflict there.
Thank you for your work and help!!
Which version of vB are you using?
DirtRider
02-24-2011, 01:09 AM
Just installed it, yet I'm not getting a quote of the message that was sent to me.
Any thoughts on what I could check?
For reference, I have installed PM Preview (https://vborg.vbsupport.ru/showthread.php?t=236500)
Don't know if there's a conflict there.
Thank you for your work and help!!
I am also running PM preview and it worked for me VB Version 4.1.2 .
Oh and thanks for this great mod this was the one option that my forum really needed
ComoEstaEso-com
02-24-2011, 01:27 AM
Which version of vB are you using?
Running 4.1.2
I'm going to re-upload right now, and see if that was my error.
Will update ASAP
UPDATE: I just re-imported, with Overwrite selected.
The forum displayed that it was rebuilding the style... all good.
Yet it still doesn't display.
Let me know if you'd like me to post some templates... or PM you access to our forums.
Thanks for your interest in helping!! :)
archet1337
02-24-2011, 02:57 AM
I've uninstalled this for the time being. Please make it quote -only- when you click the reply button, and also make it quote only the last message, not the whole conversation.
Boofo
02-24-2011, 03:02 AM
Sorry, I have to disagree. I like it the way it is. Too many settings can spoil the pot. ;)
ComoEstaEso-com
02-25-2011, 08:45 AM
Ok, now it's working perfectly.
ForumMods went into our boards, and fixed it up... we had another mod which was messing stuff up.
Working perfectly in vB 4.1.2
THANK YOU ForumMods... much appreciated your work and your help!
Boofo
02-25-2011, 09:03 AM
It might be nice to know which mod was conflicting with it in case anyone else runs into the same problem.
ForumsMods
02-25-2011, 10:36 AM
It might be nice to know which mod was conflicting with it in case anyone else runs into the same problem.
Mod was Move smilies to below text area (and optionally add to Quick Reply) (https://vborg.vbsupport.ru/showthread.php?t=229650) which changes the type of editor which is used in my plugin.
If you are using this mod, edit editor_toolbar_start plugin and change:
if ($editor_type == 'qr_pm')to:
if (THIS_SCRIPT == 'private')
Boofo
02-25-2011, 11:01 AM
Thanks. I don't use that mod but others might, is why I asked.
TheLastSuperman
02-25-2011, 07:48 PM
Hmm no need for this atm however great idea for others!
Tagged ;).
GONUMBER6
03-17-2011, 04:15 AM
Installed, thanks! I got so sick and tired of getting messages and not remembering the discussion, being the admin and getting 50 messages a day and trying to keep that all straight, this will be a lifesaver! Thx!
MarceloS
03-17-2011, 01:14 PM
Good idea!
Is it possible to add a couple o paragraphs before the quote?
This is so that the newbies do not mess with the quote code when trying to reply.
ComoEstaEso-com
03-17-2011, 11:37 PM
It might be nice to know which mod was conflicting with it in case anyone else runs into the same problem.
Hello, sorry, yet I just saw your message.
I'm sorry to say I don't know which other modification was causing the issue.
ForumMods went into our boards and graciously fixed it.
For that, we are very thankful!
EDIT: Ok, sorry... I just read that ForumMods explained what was the other mod causing issues.
Sorry for the extra babble!
===
On another note, I had a slight "hiccup".
The private messages now don't register "new lines" (or the enter key for a new line).
When you write the message, it's formatted fine with line-breaks and everything (line breaks via enter key, not the < br > tag).
Yet, when the message is received, all the line breaks have disappeared.
Any thoughts on what could be causing this?
I disabled this mod, and the issue went away.
This is a great mod, and we want to keep on using it... yet my programming skills are zilch, so I don't know where to even start.
Any idea what I could do?
Thank you again ForumMods and everybody else for your help... it is greatly appreciated!
Gradonil_Ral
04-11-2011, 10:26 AM
It's nothing really important, but it can get annoying if you have a lot of PMs to reply to:
After the [/QUOTE] tag, the mod adds an additional space in the new line.
How do I fix it?
8thos
05-14-2011, 10:43 PM
Very convenient! I would get replies to PMs and totally forget what it was about so when I read their PM I was like huh?
Alan_SP
05-15-2011, 12:04 AM
Excellent idea, I too was missing original PM quoted. :)
But I did it much simpler (using your code, of course) template edit:
Find Private Message Templates->pm_quickreply.
Here find this code:
<div class="editor_textbox quickreply">
<textarea name="message" id="{vb:raw editorid}_textarea" rows="10" cols="80" tabindex="1" dir="{vb:stylevar textdirection}"></textarea>
</div>
and make it to look like this:
<div class="editor_textbox quickreply">
<textarea name="message" id="{vb:raw editorid}_textarea" rows="10" cols="80" tabindex="1" dir="{vb:stylevar textdirection}">{vb:raw newpost.message}</textarea>
</div>
Only difference is adding {vb:raw newpost.message} in appropriate position. :) Of course, for many installing mod and not making template edit is easier to do. :)
Alan_SP
05-15-2011, 12:47 AM
After the /QUOTE tag, the mod adds an additional space in the new line.
How do I fix it?
Actually, this is how vB works, not this mod. If someone knows how to modify out, I too would like to add additional new line.
EDIT: I want another new line, so I just enter it after {vb:raw newpost.message} so I now have:
<textarea name="message" id="{vb:raw editorid}_textarea" rows="10" cols="80" tabindex="1" dir="{vb:stylevar textdirection}">{vb:raw newpost.message}
</textarea>
</div>
INFAMOU$
05-22-2011, 04:21 AM
Thanks for the code! Much needed :)
djbaxter
06-12-2011, 12:47 AM
This mod is broken in vBulletin 4.14. Needs to be updated for the new editor.
djbaxter
06-12-2011, 12:48 AM
Actually, it also seems to be unnecessary in vB 4.14. Looks like they added autoquote in this version without an add-on.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.