Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Private Conversations (Threaded PMs) Details »
Private Conversations (Threaded PMs)
Mod Version: 1.0, by dinnerbone (Member) dinnerbone is offline
Developer Last Online: Jul 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.3 Rating: (12 votes - 4.92 average) Installs: 125
Released: 08 Oct 2008 Last Update: Never Downloads: 466
Not Supported Uses Plugins Auto-Template Re-usable Code Translations  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pricon1.jpg
Views:	1301
Size:	69.8 KB
ID:	87865   Click image for larger version

Name:	pricon2.jpg
Views:	1845
Size:	102.1 KB
ID:	87866   Click image for larger version

Name:	pricon3.jpg
Views:	1333
Size:	77.3 KB
ID:	87867   Click image for larger version

Name:	pricon4.jpg
Views:	1350
Size:	94.7 KB
ID:	87868  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 09 Oct 2008, 11:40
nerofix's Avatar
nerofix nerofix is offline
 
Join Date: Mar 2006
I love you! =)
__________________
NeRoFiX.com - The vBulletin Web 2.0 community
Reply With Quote
  #17  
Old 09 Oct 2008, 12:38
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
Nice mod but is it's triggering 21 queries? you've got uncache template as well
__________________
____________
BossLady
Reply With Quote
  #18  
Old 09 Oct 2008, 12:48
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Originally Posted by SuperDave71 View Post
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.
Well, I said I was going to redesign the page But if I don't get around to redesigning it next version, I'll put the avatar margin on

Originally Posted by MissKalunji View Post
Nice mod but is it's triggering 21 queries? you've got uncache template as well
Yeah sorry about that, they'll be cached next version and I'm looking into reducing the queries, although caching the templates alone will reduce the number greatly.
Reply With Quote
  #19  
Old 09 Oct 2008, 12:55
nerofix's Avatar
nerofix nerofix is offline
 
Join Date: Mar 2006
Please use vbphrases for this:

View Full
Collapse
Expand
__________________
NeRoFiX.com - The vBulletin Web 2.0 community
Reply With Quote
  #20  
Old 09 Oct 2008, 12:58
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
Originally Posted by dinnerbone View Post
Well, I said I was going to redesign the page But if I don't get around to redesigning it next version, I'll put the avatar margin on


Yeah sorry about that, they'll be cached next version and I'm looking into reducing the queries, although caching the templates alone will reduce the number greatly.
great Thank you
__________________
____________
BossLady
Reply With Quote
  #21  
Old 09 Oct 2008, 13:02
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Originally Posted by nerofix View Post
Please use vbphrases for this:

View Full
Collapse
Expand
Whoops, I didn't realise 'View Full' wasn't attached to a phrase. I'll fix that next version. As for Collapse and Expand, they are already phrases.
Reply With Quote
  #22  
Old 09 Oct 2008, 13:20
nerofix's Avatar
nerofix nerofix is offline
 
Join Date: Mar 2006
I think there are already original vb phrases for those words, if you would use them (not your custom phrases), then we wouldn't need to translate them anymore.
__________________
NeRoFiX.com - The vBulletin Web 2.0 community
Reply With Quote
  #23  
Old 09 Oct 2008, 13:23
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
I wonder if this works on vb 3.8. Has anyone tried?
Reply With Quote
  #24  
Old 09 Oct 2008, 13:26
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Originally Posted by nerofix View Post
I think there are already original vb phrases for those words, if you would use them (not your custom phrases), then we wouldn't need to translate them anymore.
I check for existing phrases before making new ones. There already is a 'view full' one which I'll use, but the closest to 'Collapse' that I found was 'collapse_x', which was a Style phrase and as such would require style phrases to be included in the PM system. There was a 'expand' phrase, but again it was a Style phrase.

Alfa1, I'm installing 3.8 as we speak so I'll be making a version for that if this is not directly compatible.
Reply With Quote
  #25  
Old 09 Oct 2008, 13:38
nerofix's Avatar
nerofix nerofix is offline
 
Join Date: Mar 2006
Oh yeah, you were right with the phrases.

Good work by the way, looks good.

Well, something is a bit strange and I am not sure why:

Not all conversation messages are displayed of some members. Could it be that they have deleted their messages from their "sent items" folder?
__________________
NeRoFiX.com - The vBulletin Web 2.0 community
Reply With Quote
  #26  
Old 09 Oct 2008, 13:43
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
It will only show their side of the conversation if they have the messages in their Sent Items folder, as doing otherwise would defeat the purpose of that folder and might also open up possible exploits in reading other peoples mail, as well as causing other complications.
Please check to make sure they have the messages inside their sent folder box, if they are there then can you please tell me if there is any relation to the messages that aren't shown - such as they are all the nth message, or are all sent by the same user, etc.


Edit: Alfa1, I just tested in vBulletin 3.8 and it appears to work fine. But it looks like "Save a copy of this message in your Sent Items folder" is unchecked by default in that version, which is required for this mod to show users sent messages in conversations. This only applies to messages sent using the normal form, the quick reply I included with the mod automatically saves them.

Last edited by dinnerbone; 09 Oct 2008 at 14:03.
Reply With Quote
  #27  
Old 09 Oct 2008, 15:35
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Real name: Ro
Would be nice if the conversation showed how many messages were in it.
Reply With Quote
  #28  
Old 09 Oct 2008, 15:41
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Real name: Ro
I have a lot of conversations. But it only shows one page of them. When I go to page 2, it goes back to the default view. Is this normal?
Reply With Quote
  #29  
Old 09 Oct 2008, 16:18
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Originally Posted by Roxie View Post
Would be nice if the conversation showed how many messages were in it.
Next version

Originally Posted by Roxie View Post
I have a lot of conversations. But it only shows one page of them. When I go to page 2, it goes back to the default view. Is this normal?
I think I know what's wrong; Whenever a folder is selected, it reverts to the default view because this doesn't use folders - vBulletin selects the inbox (by default) when viewing a different page. A fix is on it's way in the next version, it should be ready by tonight
Reply With Quote
  #30  
Old 09 Oct 2008, 17:38
logicuk's Avatar
logicuk logicuk is offline
 
Join Date: Jan 2008
Thanks for the great work keep it up dinnerbone this is a sweet addon
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:00.

Layout Options | Width: Wide Color: