Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Private Conversations (Threaded PMs) Details »»
Private Conversations (Threaded PMs)
Version: 1.0, by dinnerbone dinnerbone is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.7.3 Rating:
Released: 10-07-2008 Last Update: Never Installs: 127
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-09-2008, 11:02 AM
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #23  
Old 10-09-2008, 11:20 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 10-09-2008, 11:23 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder if this works on vb 3.8. Has anyone tried?
Reply With Quote
  #25  
Old 10-09-2008, 11:26 AM
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #26  
Old 10-09-2008, 11:38 AM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #27  
Old 10-09-2008, 11:43 AM
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 10-09-2008, 01:35 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice if the conversation showed how many messages were in it.
Reply With Quote
  #29  
Old 10-09-2008, 01:41 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #30  
Old 10-09-2008, 02:18 PM
dinnerbone dinnerbone is offline
 
Join Date: Feb 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Roxie View Post
Would be nice if the conversation showed how many messages were in it.
Next version

Quote:
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
  #31  
Old 10-09-2008, 03:38 PM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the great work keep it up dinnerbone this is a sweet addon
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04716 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete