vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - Auto-Quote PM in Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=259309)

ForumsMods 02-22-2011 10:00 PM

Auto-Quote PM in Quick Reply
 
1 Attachment(s)
Auto-Quote PM in Quick Reply

Description:
Auto-Quote PM in Quick Reply

Installation:
  1. Import "product-autoquote_pm.xml" as a product, overwrite if it's already installed
Languages:
- 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

Quote:

Originally Posted by Boofo (Post 2165744)
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
Don't know if there's a conflict there.

Thank you for your work and help!!

ForumsMods 02-24-2011 12:50 AM

Quote:

Originally Posted by ComoEstaEso-com (Post 2166052)
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
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

Quote:

Originally Posted by ComoEstaEso-com (Post 2166052)
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
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

Quote:

Originally Posted by ForumsMods (Post 2166070)
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

Quote:

Originally Posted by Boofo (Post 2166640)
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) 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:
PHP Code:

if ($editor_type == 'qr_pm'

to:
PHP Code:

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

Quote:

Originally Posted by Boofo (Post 2166640)
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:

HTML 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:

HTML Code:

<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

Quote:

Originally Posted by Gradonil_Ral (Post 2183328)
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:

HTML Code:

<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.


All times are GMT. The time now is 06:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01289 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete