vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Past Reply In PM Message w/o Quotes (https://vborg.vbsupport.ru/showthread.php?t=41929)

afterlab 08-04-2002 10:00 PM

Past Reply In PM Message w/o Quotes
 
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
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:

PHP Code:


,attachment.attachmentid,attachment.filename,attachment.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

Quote:

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. :)


All times are GMT. The time now is 05:01 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.01115 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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