PDA

View Full Version : Past Reply In PM Message w/o Quotes


afterlab
08-04-2002, 10:00 PM
Past Reply In PM Message w/o Quotes
Viva La Private Message
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
This hack was inspired by my old days with UBB and their Private Message setup. Simply, what this does is show the past reply in the private message page without the standard quotes. If you have no clue what i'm talking about, which I hardly do either, check out the screenshot.

Modifications
=-=-=-=-=-=-=-=-=-=-=-=
* 1 file alteration.
* 1 template alteration.
* 5 template creations.
* 1 database alteration.

More Information
=-=-=-=-=-=-=-=-=-=-=-=
Compatibility: This hack will work with vB 2.0.3 and higher.
Install Time: 3-8 Minutes.
Screenshot: HERE (https://vborg.vbsupport.ru/attachment.php?s=&postid=281140)
Download: Instructions are in attachment.

afterlab
08-05-2002, 07:17 AM
Here is a screenshot taken with a PM between me and aerosol. Many features found in the screenshot are not present in the hack, however, if done correctly, can easily be implemented. This screenshot is here to show the overall workings of this hack. If you still have questions about this hack, I can explain more.

Boofo
08-05-2002, 08:29 AM
I am totally lost on this one. What does it do?

Thewnagchung
08-05-2002, 09:16 AM
I think hes saying that a reply to a private message will work like a reply to a post.

like this

thread 1

tilte: meh

post: meh

reply

title:meh

post: meh

and then for a pm

pm 1

title meh

post: meh

reply

title: meh
post: meh

but i could be mistaken.

Erwin
08-05-2002, 10:38 AM
Interesting... seems to work fine, but not really needed at my forums so I took it out. From what I gather, only the latest PM and the one before is shown, not a whole list like a thread. Also, quotes were still showing up, which defeats the purpose (unless that's just my private.php)

For people wanting to install this, in private.php, if you do NOT have the Attachment in PM hack installed, then after installing this hack:

Find in private.php:



,attachment.attachmentid,attachment.filename,attac hment.counter



and DELETE that bit of code - otherwise you will get a db error when trying to read PMs. :)

JJR512
08-05-2002, 09:49 PM
Originally posted by Erwin
Interesting... seems to work fine, but not really needed at my forums so I took it out. From what I gather, only the latest PM and the one before is shown, not a whole list like a thread.
Is this correct, afterlab? I was hoping this would finally be what I've been waiting for for so long: A true threaded PM system that looks just like a public-posted thread, only is between two people and is private to them only.

Erwin
08-05-2002, 10:53 PM
Yeah, I was hoping for a threaded PM system too - it would supersede any need for a Hotel Hack etc.

Aerith_Freak
08-05-2002, 11:50 PM
Well I'm sure it could easily be modified to pull out the previous replies in the PM (from the PM table in the db) and display them in the way that threads/posts are displayed.

Velocd
08-06-2002, 03:49 AM
This would be a SIC hack, Afterlab, if you could add the requests Erwin and JJR512 are considering. I too was thinking of a hack just like this a few weeks ago, and wondering why vB isn't like this! :)

JJR512
08-06-2002, 04:04 AM
I can think of a reason why vB probably isn't like that. For there to be a true threaded view, of every PM back and forth between two people on one subject like posts in a thread, all the posts would need to be stored in the database. Neither user would be able to delete the posts as that would throw off the threaded view.

But I can think of a way around that. A user on either end of the conversation, when he/she feels it is over, could "close" the threaded PM. The other user involved would be notified of this and could agree with it, or could continue the conversation, overriding the one user's request to close it. Once both users agree to the closure, either user is free to delete the PM thread, in whole or in part, without affecting the other user. Since PMs are duplicated in the database already (one copy for each user), that wouldn't be any more storage space, I believe.

There could also be a time-based auto closure, maybe, in case either user fails to initiate a close, or if one user gets banned or something in the meantime...or maybe getting banned could automatically allow any PM thread that user was involved in to be closed by the other user involved...now I'm getting a bit complicated, lol. :)

Dark Shogun
09-19-2002, 01:22 AM
I took that line of code out but now my pm looks messed up. The website button doesn't show in the pm and it spells out the url. I will attach a image soon.

Dark Shogun

Dark Shogun
09-19-2002, 01:36 AM
Ok I installed the attachment in pm hack and I get a sql error. Does anyone know how to fix this?

Dark Shogun

LOD-squa
02-10-2003, 03:23 PM
I found the fix

Change:

$userinfo2[profile] $userinfo2[useremail] $userinfo2[homepage]


To:

$post2[profile] $post2[useremail] $post2[homepage]

It should show the buttons normally.

Dean C
02-10-2003, 03:37 PM
Wow this looks awesome :)

- miSt