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)

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 01:45 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.01141 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete