Private Conversations (Threaded PMs)

mastram

New Member
Version: 3.7.3

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

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.

 
Back
Top