Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version - PM Quote Original Message 1.2
     ver 1.1 fixes a few minor erros in the instructions - thanks to Maze
     ver 1.2 updates instructions to work with 6.2
     ver 1.3 adds a couple of get_input calls to work when Register Globals is off

Description - Gives the user the option to quote the original message when replying to a PM. There is a checkbox to include the quote. If the user leaves the checkbox checked, then the message they are replying to will be included at the end of their message in quote tags.

Pre-requisites - none

Author - JoshPet - www.joshuapettit.com
     for discussions and bug reports come to www.ubbdev.com

Credits - maze and dimopoulos for suggesting it

Files Altered - mess_handler.php, mess_reply.php, mess_handler.tmpl, mess_reply.tmpl

Database Altered - no

New Files - none

Any other info - I was pretty proud of myself for pulling this one off. LOL

Attachments
62522-PMQuoteOrigMsg1.3.txt (0 Bytes, 316 downloads)

Last edited by JoshPet; 03/05/2003 12:42 AM.
Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Josh,

I was wondering if we could modify this a bit.

In my board users tend to reply again and again to PM's and the quote mechanism ends up with a message which has one character per line further down the screen). This is quite inconvenient display wise.

Would it be possible to change it to something like:

---------- Original Message ----------
Subject : Re: Blah Blah
Poster : dimopoulos
Date : Feb/02/2003 10:34:27
Message :
More on Blah?

This way the display is not distorted.

I hope I explained it clearly

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah,

That would be fairly simply.

Feel free... and or I'll try to look at this, although it will probably be mid week before I can get a chance.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
OK I'll give it a go and if I get stuck I'll shout

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Basically you'll be looking for this section:

//-----------------------------------------------------
// If they wanted to quote the original message - hack by JoshPet
// we'll add it on here
if ($QuoteOrig) {
$Message .= "\n\n<blockquote><font class="small">{$ubbt_lang['IN_REPLY']}:</font><hr /><br />";
$Message .= $OrigMessage;
$Message .= "<br /><br /><hr /></blockquote>";
}

and instead of adding the HTML for blockquote (the quote box) you'll be modifying it to look however you like.

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
gracias, me rikey dis one


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
LOL

Allen your replies lately keep making me laugh out loud. LOL
Maybe I need a break from the computer... or maybe you are really a funny guy.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Moved to finished mods forum.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Had trouble with the greamlin panel in the reply(PM) when I installed this hack. Caused runtime errors

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Updated to version 1.3 adding a couple of missing "get_input" calls.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Verified that this worked with 6.3 and reposted to the new modification index here


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)