vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   How to Add Line Breaks in PM quickreply (https://vborg.vbsupport.ru/showthread.php?t=316151)

ozzy47 12-24-2014 11:50 AM

Yeah I know, but there is no easy way around that.

CAG CheechDogg 12-24-2014 11:51 AM

How would you prevent the pm from being quoted automatically..is there a setting for that?

--------------- Added [DATE]1419429140[/DATE] at [TIME]1419429140[/TIME] ---------------

Quote:

Originally Posted by ozzy47 (Post 2528632)
Yeah I know, but there is no easy way around that.

Yeah ...no worries about that ...pretty cool how this works though..im learning more and more ....:)

ozzy47 12-24-2014 11:55 AM

There was a mod somewhere to do that, I'll look when I get home later.

CAG CheechDogg 12-24-2014 11:56 AM

Quote:

Originally Posted by ozzy47 (Post 2528635)
There was a mod somewhere to do that, I'll look when I get home later.

Ok good stuff...I been searching the last couple of nights and haven't found it ..lol .. and I remember running into it a while ago .... :)

kh99 12-24-2014 12:30 PM

If you just want the quote to not appear when you reply to a pm, you can edit the template newpost_quote and remove the quote. But since the same template is used when replying to posts (and maybe other places like the blog), you'd probably want to put in a condition that checks for pms, like:
Code:

<vb:if condition="THIS_SCRIPT != 'private'">[QUOTE={vb:raw originalposter}]{vb:raw pagetext}[/QUOTE]</vb:if>

and just for the record, adding line breaks to that template (so that there's space between the top and the quote) does work, but I was wrong about using <br/> because the template is not html, it's bbcode. You can just use blank lines and it should work.

CAG CheechDogg 12-24-2014 03:22 PM

The blank line's wont work kh99 ... I tried that from your thread to joey in this post:

https://vborg.vbsupport.ru/showpost....1&postcount=59

Thanks for the condition though !!!!

kh99 12-24-2014 03:32 PM

Hmm, that's strange, I just tried it before posting that. But I just looked at the reply box and I didn't actually send a message. Or maybe it depends on some other options or something, I don't know. But I was wrong about using <br/>.

ozzy47 12-24-2014 04:25 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2528636)
Ok good stuff...I been searching the last couple of nights and haven't found it ..lol .. and I remember running into it a while ago .... :)

Ok lets do this.

Product: vBulletin
Hook Location : editor_toobar_start
Title: Remove Quote In Pm
Execution Order : 5
Plugin PHP Code:
Code:

if (THIS_SCRIPT == 'private' AND $editor_type == 'qr')
{
    $text = '';
}

Now that will also override the previous plugin that set the Do Not Reply Below bla,bla,bla

CAG CheechDogg 12-24-2014 08:01 PM

Quote:

Originally Posted by ozzy47 (Post 2528676)
Ok lets do this.

Product: vBulletin
Hook Location : editor_toobar_start
Title: Remove Quote In Pm
Execution Order : 5
Plugin PHP Code:
Code:

if (THIS_SCRIPT == 'private' AND $editor_type == 'qr')
{
    $text = '';
}

Now that will also override the previous plugin that set the Do Not Reply Below bla,bla,bla


OOOOOH YEAH !!! Good stuff ozzy !!! That did it ...MUAHAHAH !!!!! Thank you once again ...

ozzy47 12-24-2014 08:14 PM

Not a problem. :)


All times are GMT. The time now is 11:31 AM.

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.02393 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (4)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
  • (10)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