Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Dec 2014, 04:34
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
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.
Reply With Quote
  #2  
Old 22 Dec 2014, 08:41
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
I'm not sure but possibly that is something you could code into the template that handles PM replies.
Reply With Quote
  #3  
Old 23 Dec 2014, 03:20
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
Yeah, I kinda thought that but - where?
__________________
Lincoln vs Cadillac Forums -
Reply With Quote
  #4  
Old 23 Dec 2014, 03:59
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
Originally Posted by joeychgo View Post
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.
Reply With Quote
  #5  
Old 23 Dec 2014, 08:24
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
Yes, that's my thinking....

Something has to be feeding the editor
__________________
Lincoln vs Cadillac Forums -
Reply With Quote
  #6  
Old 23 Dec 2014, 09:10
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Go to your "newpost_quote" template ...

and follow this post here by kh99:

http://www.vbulletin.org/forum/showp...1&postcount=59

--------------- Added 23 Dec 2014 at 09:20 ---------------

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

Last edited by CAG CheechDogg; 23 Dec 2014 at 09:18.
Reply With Quote
  #7  
Old 23 Dec 2014, 09:58
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
Not quite. It doesn't add the text


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

--------------- Added 23 Dec 2014 at 09:59 ---------------

Im also not sure how that would add line breaks
Reply With Quote
  #8  
Old 23 Dec 2014, 11:13
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You want to add line breaks before that message? You should be able to do it by adding as many <br/> as you want.
Reply With Quote
  #9  
Old 23 Dec 2014, 23:17
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
But where? all I have is this

<if condition="THIS_SCRIPT == 'private'">
</if>
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
Reply With Quote
  #10  
Old 24 Dec 2014, 00:09
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
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.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.

Last edited by ozzy47; 24 Dec 2014 at 00:48.
Reply With Quote
  #11  
Old 24 Dec 2014, 00:49
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Ok lets do this. We will create a new plugin.

Product: vBulletin
Hook Location : private_newpm_reply
Title: Add Text To Pm
Execution Order : 5
Plugin PHP Code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #12  
Old 24 Dec 2014, 09:31
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
PERFECT!!!!!!!!!!!!!!!!!!!

Thank you!
__________________
Lincoln vs Cadillac Forums -
Reply With Quote
  #13  
Old 24 Dec 2014, 09:37
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Ozzy... how would you do this so that when you start typing the predefined text disappears automatically .... that would be even GOODER !!!
Reply With Quote
  #14  
Old 24 Dec 2014, 10:16
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yeah I tried a couple of ways to make the line disappear, but to no avail. If I get some time I'll look into it more.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #15  
Old 24 Dec 2014, 10:18
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Ok good stuff ozzy once again thanks !!!!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:11.

Layout Options | Width: Wide Color: