Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on October 19, 2009, 10:32:58 AM

Title: Show Unread Private Messages
Post by: vbgamer45 on October 19, 2009, 10:32:58 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2228)

Show Unread Private Messages


Original Author: Arantor
SMF Version: 2.0.x
Mod Version: 1.2

Description:
This mod alters the display of private messages to flag up which user(s) have not read their messages yet, by displaying the name in bold.

Once the user has read the message it will not be bold in the sending user's "sent messages" or "outbox" display.

ChangeLog:
1.2 - December 17, 2012
Updated For 2.0.3
Removed Support for 1.1.X

1.1 - October 22, 2009
Update for RC2 compatibility only

1.0 - October 18, 2009
Initial release

Why Not Visit:
http://www.smfhacks.com (http://www.smfhacks.com)
Title: Re: Show Unread Private Messages
Post by: Spoogs on October 19, 2009, 10:39:34 AM
nice mod, pretty much a read receipt
Title: Re: Show Unread Private Messages
Post by: Arantor on October 19, 2009, 10:44:21 AM
That's exactly what it is. But it's useful, especially if you happen to send something out to a lot of people with my PM to Membergroups mod...
Title: Re: Show Unread Private Messages
Post by: ɔɔɔɔɔɔuɥoɾ on October 19, 2009, 10:45:56 AM
Using those to mods together is very useful, I may grab this one
Thanks,
John
Title: Re: Show Unread Private Messages
Post by: Arantor on October 19, 2009, 10:47:00 AM
Heh, I very nearly bundled it into PM to Membergroups but figured that there was actually no need to do that; the two play nicely.
Title: Re: Show Unread Private Messages
Post by: Paracelsus on October 19, 2009, 04:05:09 PM
Very very nice feature and by looking at the code very simple too. Tkx.
Title: Re: Show Unread Private Messages
Post by: ɔɔɔɔɔɔuɥoɾ on October 19, 2009, 04:38:10 PM
Quote from: Arantor on October 19, 2009, 10:47:00 AM
Heh, I very nearly bundled it into PM to Membergroups but figured that there was actually no need to do that; the two play nicely.

Plus you would have created one less mod then :P
Title: Re: Show Unread Private Messages
Post by: Arantor on October 19, 2009, 09:06:48 PM
Quote from: ♪ JohnCcCcCc ♫ on October 19, 2009, 04:38:10 PM
Plus you would have created one less mod then :P

It's not as if I'm going for the top entry on the mod site stats; I'm not. It just so happens that I enjoy modding :)
Title: Re: Show Unread Private Messages
Post by: Arantor on October 21, 2009, 10:18:24 PM
Added RC2 support.
Title: Re: Show Unread Private Messages
Post by: aw06 on October 24, 2009, 07:22:36 PM
Is there a mod that will do the opposite and bold new unread messages in my inbox ?
Title: Re: Show Unread Private Messages
Post by: Arantor on October 24, 2009, 07:25:58 PM
No, but that would be a small enough change to PersonalMessage.template.php. Please post in Coding Discussion if you would like support on that; it's outside the scope of this topic to do so.
Title: Re: Show Unread Private Messages
Post by: Daggers on December 05, 2009, 07:22:33 AM
A great mod :D  Would there be a way to change the colour on the name while it is unread?

Title: Re: Show Unread Private Messages
Post by: Arantor on December 05, 2009, 07:28:47 AM
Not without rewriting its code.

I'd need more information (like the colour you want)
Title: Re: Show Unread Private Messages
Post by: Daggers on December 05, 2009, 08:51:12 AM
Probably red, it would then clearly show that the message has not been read. I sometimes find that the bold doesnt show up very well
Title: Re: Show Unread Private Messages
Post by: Arantor on December 05, 2009, 12:13:57 PM
It also depends a lot on the theme in your forum as to how well bold shows up.
Title: Re: Show Unread Private Messages
Post by: Daggers on December 05, 2009, 02:44:47 PM
I always use the default SMF theme and alter the CSS, it makes it easier for mods ;)

Title: Re: Show Unread Private Messages
Post by: Arantor on December 05, 2009, 02:49:43 PM
/me is actually a naughty child, doesn't use CSS for the change.

Actually if you look at the edit it makes, it just wraps it in <b> tags, so you'd be able to change that to a <span class="unread_pm"> and pick that up in the CSS with no trouble.
Title: Re: Show Unread Private Messages
Post by: Daggers on December 05, 2009, 04:12:53 PM
lol, I didnt even look at the mod code.. all changed now and working :D

Title: Re: Show Unread Private Messages
Post by: ʟink on December 14, 2009, 09:19:09 PM
Hm...this is a cool mod, but I can see some users not wanting this; they may not want the other party to know whether or not they've read the message. Perhaps in a future release you could give users the option to opt-out and it would just say they've disabled the feature in their account. Thanks for creating it! :)
Title: Re: Show Unread Private Messages
Post by: Cal O'Shaw on December 14, 2009, 09:27:40 PM
Or be able to set permission by group.  As an Admin, if I have written to someone about something they have done, I'd like to know if they have read it.  If they say 'no' but I can see 'yes', that's useful info to me.
Title: Re: Show Unread Private Messages
Post by: Arantor on December 15, 2009, 02:22:39 AM
This would require adding new fields to the DB, which I'm not really planning to do as I'm actually trying to give this mod away...
Title: Re: Show Unread Private Messages
Post by: Cal O'Shaw on December 15, 2009, 02:58:43 AM
Ah, well, nevermind :)

It's just there is a similar MOD by .LORD. (PM Readed @ http://custom.simplemachines.org/mods/index.php?mod=1629 ) that uses permissions, but his only shows a general read/unread flag in the senders PM outbox list.

Cal
Title: Re: Show Unread Private Messages
Post by: Arantor on December 15, 2009, 04:41:20 AM
I'm hoping that whoever takes it off me will consider adding such features though.
Title: Re: Show Unread Private Messages
Post by: Biology Forums on August 21, 2013, 09:53:48 PM
I remember this was once compatible for SMF 1. Would I still be able to download it?
Title: Re: Show Unread Private Messages
Post by: Arantor on August 21, 2013, 09:56:05 PM
No idea why I'm feeling so nice but here's the previous version (I wrote 1.0 and 1.1, 1.2 was after I gave it away)

But anyway, here's version 1.1 which had 1.1.x support.
Title: Re: Show Unread Private Messages
Post by: Deaks on August 21, 2013, 09:56:52 PM
thanks Pete :)
Title: Re: Show Unread Private Messages
Post by: Arantor on August 21, 2013, 09:58:18 PM
It's all good, Bryan :) I still have most of the archives of my old mods, at least up until the point I gave them away... just a matter of finding them for the most part.
Title: Re: Show Unread Private Messages
Post by: Biology Forums on August 21, 2013, 11:12:57 PM
Quote from: Arantor on August 21, 2013, 09:56:05 PM
No idea why I'm feeling so nice but here's the previous version (I wrote 1.0 and 1.1, 1.2 was after I gave it away)

But anyway, here's version 1.1 which had 1.1.x support.

:) Really happy now.

Quick question, would it be possible for individual members to opt out from this?
Title: Re: Show Unread Private Messages
Post by: Arantor on August 21, 2013, 11:15:09 PM
Not without a total and complete redesign of the PM system.
Title: Re: Show Unread Private Messages
Post by: Biology Forums on August 22, 2013, 12:25:05 AM
Okay, thanks.
Title: Re: Show Unread Private Messages
Post by: Deaks on August 22, 2013, 12:27:25 AM
you sure Arantor? I can think of a way but would mean double the code :/
Title: Re: Show Unread Private Messages
Post by: Arantor on August 22, 2013, 10:14:55 AM
Yup, because this stuff is already generated and figured out by SMF anyway... all the mod actually does is *display* that fact.

Having some kind of opt-out means you'd have to track that fact and rewrite a ton of logic behind it.
Title: Re: Show Unread Private Messages
Post by: DarkAngel612 on August 15, 2016, 12:26:11 AM
I know this is an old thread and most likely whoever grabbed it from Arantor is no longer updating it (Maybe Bryan) but

I just now installed it, did a test pm to my tester account and I still get the normal page in pm area. No page that lists the pms not read, nothing even remotely looking different from before..I don't even know if the unreads can be deleted from the list...LOL

So do it no longer work with 2.11 I had no problems or disagreement from package manager to install it.
Title: Re: Show Unread Private Messages
Post by: Arantor on August 15, 2016, 12:47:01 AM
You will get the normal page, that's exactly what the screenshots show you should get.

The difference between read and unread is whether the recipient's name is in bold or not, as per screenshots.
Title: Re: Show Unread Private Messages
Post by: DarkAngel612 on August 15, 2016, 01:43:28 AM
OK, I gotcha...I was looking for that second image in the download page...I thought we would get an area above the pm section to show if the pm was read or not, not just a bold name when we pm them again.

Maybe another mod will get made--since I think you are not doing this one anymore--to include that little tidbit. Sometimes a person needs to know if the pm got read quicker than waiting to pm them again.

Good mod though -- same as always, thanks for the concept.
Title: Re: Show Unread Private Messages
Post by: Arantor on August 15, 2016, 01:59:29 AM
Did you go to sent items? What view do you have on pms? (All at once, one at a time, conversation view)
Title: Re: Show Unread Private Messages
Post by: DarkAngel612 on August 15, 2016, 02:07:15 AM
I clicked every link in the section and yes it is set to all at once.
Title: Re: Show Unread Private Messages
Post by: Arantor on August 15, 2016, 02:37:00 AM
Fairly sure that screenshot was from "one at a time" mode.
Title: Re: Show Unread Private Messages
Post by: DarkAngel612 on August 15, 2016, 03:35:11 AM
just tried all three modes and it did not show up but then right now that was only a test so no worries. Thanks anyway.
Title: Re: Show Unread Private Messages
Post by: DarkAngel612 on August 15, 2016, 07:21:58 AM
I figured it out!!!! Lo and behold miracles do happen...LOL

One must choose to save a copy in the account, then we see the list and the "bolded" name of the unread pm. Saving a pm is something I don't always do unless it concerns their prize or other account stuff. I still have it to show all at once.

Thanks again for the patience with this old woman.
Title: Re: Show Unread Private Messages
Post by: Dave J on July 01, 2023, 06:54:50 AM
VB,

Any chance of this being updated to 2.1.4 please?

It installs OK using Emulation Support for 2.0.18 but the function doesn't actually work

Thanks
Title: Re: Show Unread Private Messages
Post by: vbgamer45 on July 03, 2023, 10:42:15 PM
@Dave J

1.2a
+ Added support for SMF 2.1.x
Title: Re: Show Unread Private Messages
Post by: Dave J on July 04, 2023, 09:44:14 AM
VB you are excelling yourself, thank you again