vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - Private Conversations (Threaded PMs) (https://vborg.vbsupport.ru/showthread.php?t=193064)

dinnerbone 10-07-2008 10:00 PM

Private Conversations (Threaded PMs)
 
Private Conversations is a small mod that adjusts the way your PMs are displayed; Instead of the old method which shows one at a time quoting the last message, this threads them and makes them work much like the Conversation feature that visitor messages use. A conversation is defined as two users PMing eachother using the same PM title (With or without the "Re:" prefix), so as to not mix up different conversations that aren't related.

Known Bugs
  • The conversation page looks ugly. I know, I'm sorry. I plan to redesign it straight away.
  • Sending a PM to yourself will show all messages that other people have sent you that have the same title. But to be honest, how often do you PM yourself? ;)
  • It currently ignores user-set avatar rules ("Hide all avatars", for example).
  • ???
  • Find a bug? Please let me know :)

To-Do List
  • Figure out a way to make folders work with conversations.
  • Redesign the conversation page!
  • Add a paging method to conversations, currently all of the messages are on the same page.
  • ???
  • Got an idea? Please tell me :)

Installation
Simply open up your ACP, click "Plugins & Products" on the left, "Manage Products", then import the attached file. No uploading or modifications required :D

Usage
Private Conversations is entirely automatic, no configuration or installation required (Other than the above). Upon visiting the "Private Messages" page, this mod will automatically list conversations. To see normal PMs instead of conversations, simply select a folder at the top menu (Such as "Inbox") and Private Conversations will let the default view take over; It will always allow vBulletins PM system priority over itself whenever it detects that the user has selected a folder.
A reply box will show at the top of each message, allowing for easy replies. You can also select 'View Full' on each message to see it in the old format, which you can also reply to using the old method. All messages apart from the three latest are automatically collapsed inside conversations, to save page space.

Note to mod developers
This uses and calls the following inbuilt hooks: private_showpm_start, private_messagelist_start, private_messagelist_messagebit, and private_messagelist_period. Because I am not too sure on how well this will cope with other mods, I have added a variable $pricon that will set to true if the user is viewing conversations not normal PMs, which you may check for in plugins and use to halt your code should it be incompatible for some reason.

Magnumutz 10-08-2008 02:20 PM

Awesome mod !!
First install :D

I guess that i could now disable the "visitor messages".

SuperDave71 10-08-2008 02:33 PM

This looks great! Thanks for this.

-Dave

bashy 10-08-2008 03:22 PM

Hi

Thanks for this

What is this section at the top, Is it supposed to be a quick reply area? See image please

If i click one of those 2 buttons i get

The following errors occurred with your submission:
  1. Please complete both the subject and message fields.

dinnerbone 10-08-2008 03:26 PM

Quote:

Originally Posted by bashy (Post 1640349)
Hi

Thanks for this

What is this section at the top, Is it supposed to be a quick reply area? See image please

If i click one of those 2 buttons i get

The following errors occurred with your submission:
  1. Please complete both the subject and message fields.

Hm, it is indeed meant to be a quick reply box. It's odd that it isn't showing up on your forums... I'll look into it.

bashy 10-08-2008 03:36 PM

Thank you, its more than likely because i am using the mns7 style, Although i used to
have the quick reply before your mod was installed :)

SuperDave71 10-08-2008 03:37 PM

I had a quick question. Is there a way we can put a small amount of space between the avatar and the PM text. It seems a BIT crowded to me. I love the mod and this is not a complaint, merely a suggestion.

Thank you so much in advance!

-Dave

soundbarrierpro 10-08-2008 07:19 PM

@ Dinnerbone.....You come up with some cool stuff! I'm going to watch this. Looks awesome. Thanks

FreshFroot 10-08-2008 09:34 PM

This is great honestly!!! Love the addon, this should be a default add in vB... That's how good it is ;)

logicuk 10-08-2008 09:50 PM

wow this is a sweeet mod thanks so much for taking your time to code this :D:D


All times are GMT. The time now is 10:07 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.01102 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_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