Advertisement:

Author Topic: Separate Unread PMs  (Read 2831 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Separate Unread PMs
« on: March 09, 2017, 09:44:20 AM »
Link to Mod


SEPARATE UNREAD PMS v1.3
By Dougiefresh -> Link to Mod


Introduction
This mod separates all unread sent PMs from the "already read" sent PMs and places them in the new Outbox folder.

Admin Settings
There are no settings available for this mod.  To remove it, you must uninstall it.

Legacy Disclaimer
This mod was part of the now-discontinued Enhanced PM System.

Related Discussions
o PM outbox/sent like phpbb
o Private Message Email Notification

Compatibility Notes
This mod was tested on SMF 2.0.13, but should work on SMF 2.0 and up.  SMF 1.x is not and will not be supported.

Changelog
The changelog has been removed and can be seen at XPtsp.com.

License
Copyright (c) 2017, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 4,217
  • Gender: Male
    • i30 Owners Club
Re: Seperate Unread PMs into Outbox folder
« Reply #1 on: March 09, 2017, 10:14:09 AM »
I would have called it "SEPARATE UNREAD PMS" myself  ;)

Offline digger

  • Full Member
  • ***
  • Posts: 620
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Seperate Unread PMs
« Reply #2 on: March 10, 2017, 03:44:35 PM »
Russian language files.

Offline digger

  • Full Member
  • ***
  • Posts: 620
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Seperate Unread PMs
« Reply #3 on: March 10, 2017, 06:23:06 PM »
Sent Items and Outbox folders shows all messages as "from me". I do not see the recipients nicknames, it is very inconvenient.

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,385
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Seperate Unread PMs
« Reply #4 on: March 10, 2017, 07:52:23 PM »
As Shambles not so subtlety hinted, 'separate' is misspelled in your mod title Dougie. :P
Please do not PM me for support.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Re: Seperate Unread PMs
« Reply #5 on: March 11, 2017, 06:56:27 AM »
@digger:  I will look into the bug report.

@Shambles and @Steve:  Whoops, just now noticed that that is misspelled....  I'll fix it for the next version.  Thanks!
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Re: Separate Unread PMs
« Reply #6 on: March 11, 2017, 09:43:15 PM »
Uploaded v1.1 - March 11th, 2017
o Added support for SMF 2.1 Beta 2.
o Fixed undefined error when using context variable without folder.
o Fixed issue where "To:" was shown in Inbox and "From:" for Sent and Outbox.
o Added Russian translation, courtsey of digger!


I would have called it "SEPARATE UNREAD PMS" myself  ;)
As Shambles not so subtlety hinted, 'separate' is misspelled in your mod title Dougie. :P
Thank for the misspelling notification, and sorry that I missed it  :P O:)

Sent Items and Outbox folders shows all messages as "from me". I do not see the recipients nicknames, it is very inconvenient.
This bug report has been fixed.  Sorry I missed that one!  Also thank you for the Russian translation!  It's been incorporated into the mod!
« Last Edit: March 11, 2017, 10:08:03 PM by dougiefresh »
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Re: Separate Unread PMs
« Reply #7 on: March 13, 2017, 11:20:57 AM »
Uploaded v1.2 - March 13th, 2017
o Fixed documentation issue within the readme.txt file.
o No other changes made to the mod.



I received this PM from someone, and I thought I should share the contents:
Quote
I think it said let you know. So, I installed your separated unread mod and I get the out box but all the PM's seem to go to the inbox anyway and not the outbox.

Unless I am mistaken, if I send you a pm, and eventually log in, all unread PM's should end up in the outbox??
My response to this question was this:
Quote
The mod is intended to seperate out the unread outgoing PMs from the "already read" sent PMs.  Incoming PMs still go to the Inbox.  Sorry that this wasn't clear.

I hope this answers this question for everybody, and the mod description has been updated so that it is clear as to what this mod is intended to do....
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,385
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Separate Unread PMs
« Reply #8 on: March 13, 2017, 02:28:23 PM »
Couldn't this mod and your other one (Edit Unread PMs) just be combined into one mod or do you think there would be enough demand for one or the other to warrant keeping them as two separate mods?
Please do not PM me for support.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Re: Separate Unread PMs
« Reply #9 on: March 13, 2017, 04:37:52 PM »
Couldn't this mod and your other one (Edit Unread PMs) just be combined into one mod or do you think there would be enough demand for one or the other to warrant keeping them as two separate mods?
Yup, it could, but it won't be combined (at least, not anytime soon by me).  Part of the problem with my Enhanced PM System mod was the fact that the different functions interfaced as a complete mod; diagnosing why one particular part wasn't working or giving weird results was getting ridiculous!  I decided to break that mod down into separate pieces so that if one part had problems, I could more easily fix them.  Also, adding features related to each mod is much easier when I don't have to wade through a humugous mod to look for the cause....
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,385
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Separate Unread PMs
« Reply #10 on: March 13, 2017, 08:43:43 PM »
Ah, makes sense. Thanks for the explanation. :)
Please do not PM me for support.

Offline davejo

  • Jr. Member
  • **
  • Posts: 281
    • Dave's Hobby Workshop
Re: Separate Unread PMs
« Reply #11 on: March 18, 2017, 02:51:20 AM »
No disrespect meant Dougie but I have renamed my version to 'Unread' as it makes sense in the fact the PM has been sent just not read.

If anyone else wants to do that just go to

/Themes/default/languages/PersonalMessage.english.php

Find

Code: [Select]
$txt['unread_items'] = 'Outbox';
Change to

Code: [Select]
$txt['unread_items'] = 'Unread';
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,385
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Separate Unread PMs
« Reply #12 on: March 18, 2017, 08:58:28 AM »
Outbox makes perfect sense to me. Think of it as if you're sitting at a desk and you have two places for things to be done. One is the Inbox for you and the other is the Outbox for things you've finished and need to be sent/picked up/whatever. Then if it occurs to you that you need to make a change to an item in the Outbox you can do that, as long as it hasn't been sent/picked up/whatever (or in this case, read).
Please do not PM me for support.

Offline davejo

  • Jr. Member
  • **
  • Posts: 281
    • Dave's Hobby Workshop
Re: Separate Unread PMs
« Reply #13 on: March 18, 2017, 09:53:44 AM »
Outbox makes perfect sense to me. Think of it as if you're sitting at a desk and you have two places for things to be done. One is the Inbox for you and the other is the Outbox for things you've finished and need to be sent/picked up/whatever. Then if it occurs to you that you need to make a change to an item in the Outbox you can do that, as long as it hasn't been sent/picked up/whatever (or in this case, read).

So your saying Steve, that if the recipient hasn't read the PM then it can be edited, is that right? If so there is no comments relating to that in the description

For me personally I only want to know if someone has read what I've sent or not.
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Re: Separate Unread PMs
« Reply #14 on: March 18, 2017, 10:09:08 AM »
Outbox makes perfect sense to me. Think of it as if you're sitting at a desk and you have two places for things to be done. One is the Inbox for you and the other is the Outbox for things you've finished and need to be sent/picked up/whatever. Then if it occurs to you that you need to make a change to an item in the Outbox you can do that, as long as it hasn't been sent/picked up/whatever (or in this case, read).
Thank you for explaining the idea behind combining this mod and the Edit Unread PMs mod so perfectly.....

No disrespect meant Dougie but I have renamed my version to 'Unread' as it makes sense in the fact the PM has been sent just not read.
Why would I think it's disrespectful?  I might be able to add an option to make that change automatically within the mod.....

So your saying Steve, that if the recipient hasn't read the PM then it can be edited, is that right? If so there is no comments relating to that in the description
If you've installed the Edit Unread PMs mod, then yes, you can edit any PM that hasn't been read.  This mod only seperates the unread outgoing PMs from those that have been read....
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline davejo

  • Jr. Member
  • **
  • Posts: 281
    • Dave's Hobby Workshop
Re: Separate Unread PMs
« Reply #15 on: March 18, 2017, 01:27:30 PM »
Thanks for the reply and explanation Dougie

I do not have the 'Edit Unread PM's' mod installed and I'm happy with the way this functions.
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,385
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Separate Unread PMs
« Reply #16 on: March 18, 2017, 05:00:04 PM »
So your saying Steve, that if the recipient hasn't read the PM then it can be edited, is that right?

Sorry about that. My explanation didn't make it clear that this mod on its own doesn't allow editing of sent items.

@ Dougie - you're welcome.
Please do not PM me for support.

Offline davejo

  • Jr. Member
  • **
  • Posts: 281
    • Dave's Hobby Workshop
Re: Separate Unread PMs
« Reply #17 on: March 18, 2017, 05:20:39 PM »


Sorry about that. My explanation didn't make it clear that this mod on its own doesn't allow editing of sent items.

@ Dougie - you're welcome.

No problem Steve
To see the quizzes and try them sign up here Quiz Site


For the quiz questions go here  Quiz Questions

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,134
    • XPtsp.com Community
Re: Separate Unread PMs
« Reply #18 on: March 30, 2017, 09:47:00 AM »
Uploaded v1.3 - March 30th, 2017
o Fixed installation issue that conflicts with Search Sent Personal Messages (PMs)
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline chrishicks

  • Full Member
  • ***
  • Posts: 508
  • Gender: Male
    • RejectsRestStop
Re: Separate Unread PMs
« Reply #19 on: March 30, 2017, 12:09:27 PM »
Two quick questions.

1. I think I'm looking at this mod correctly but I just want to be sure(it's my birthday today so I'm a whopping one day older than I was yesterday so I need help in my old age :)). If I install this would it counter those "I didn't read the message until ____" when they actually read it say hours/days earlier people correct? I have a few members who you can see reading their messages in Who's Online yet they will claim it takes them days to do so when asked. It's really annoying at times.

2. I want to install the Edit Unread along with the Search Sent mods so should I install one particular mod before another or does the order not matter?