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)

joeychgo 12-22-2014 03:34 AM

How to Add Line Breaks in PM quickreply
 
this applies to both vb3 and 4

The quick reply box on PMs quotes the prior message. I get many pms where the user just started typing anywhere, making it a hunt and find mission to find what they said.

What I would like to see is a few line breaks and a line that says **** do not type below this line*** to precede the quoted text.

HM666 12-22-2014 07:41 AM

I'm not sure but possibly that is something you could code into the template that handles PM replies.

joeychgo 12-23-2014 02:20 AM

Yeah, I kinda thought that but - where?

HM666 12-23-2014 02:59 AM

Quote:

Originally Posted by joeychgo (Post 2528407)
Yeah, I kinda thought that but - where?

Good question. I looked around a little bit but did not find where it could be put. I'm assuming that you would want it to show above the quoted PM so that members know not to go below that line, correct? Its kinda tricky with the editor being in place there. The code would have to placed some where within either a template that deals with the editor or for the editor or hard coded into the php in the editor. I'm not quite sure where that would go.

joeychgo 12-23-2014 07:24 AM

Yes, that's my thinking....

Something has to be feeding the editor

CAG CheechDogg 12-23-2014 08:10 AM

Go to your "newpost_quote" template ...

and follow this post here by kh99:

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

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

Hey wait !!! lol ...that's you in that quote !!!! lol

joeychgo 12-23-2014 08:58 AM

Not quite. It doesn't add the text


********* DON'T WRITE BELOW THIS LINE **********

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

Im also not sure how that would add line breaks

kh99 12-23-2014 10:13 AM

You want to add line breaks before that message? You should be able to do it by adding as many <br/> as you want.

joeychgo 12-23-2014 10:17 PM

But where? all I have is this

Quote:

<if condition="THIS_SCRIPT == 'private'">
</if>
Quote:

Originally Posted by $originalposter
{$pagetext}


I don't know where to put it in the newpm_quote template and I don't see any indication of where any <br /> would go in there

ozzy47 12-23-2014 11:09 PM

How about ********* DON'T WRITE ABOVE THIS LINE **********

Then users could type in below it?

--------------- Added 23 Dec 2014 at 19:13 ---------------

Actually hold on, I might have it the way you want.


All times are GMT. The time now is 05:06 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.01803 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_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