Show Unread Private Messages

Started by vbgamer45, October 19, 2009, 10:32:58 AM

Previous topic - Next topic

vbgamer45

Link to the mod

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
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Spoogs

nice mod, pretty much a read receipt

Arantor

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...

ɔɔɔɔɔɔuɥoɾ

Using those to mods together is very useful, I may grab this one
Thanks,
John


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Arantor

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.

Paracelsus

Very very nice feature and by looking at the code very simple too. Tkx.

ɔɔɔɔɔɔuɥoɾ

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


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Arantor

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 :)

Arantor


aw06

Is there a mod that will do the opposite and bold new unread messages in my inbox ?
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Arantor

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.

Daggers

A great mod :D  Would there be a way to change the colour on the name while it is unread?


Arantor

Not without rewriting its code.

I'd need more information (like the colour you want)

Daggers

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

Arantor

It also depends a lot on the theme in your forum as to how well bold shows up.

Daggers

I always use the default SMF theme and alter the CSS, it makes it easier for mods ;)


Arantor

* Arantor 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.

Daggers

lol, I didnt even look at the mod code.. all changed now and working :D


ʟink

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! :)
Obedire est vivere, Vivere est obedire


Cal O'Shaw

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.

Arantor

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...

Cal O'Shaw

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

Arantor

I'm hoping that whoever takes it off me will consider adding such features though.

Biology Forums

I remember this was once compatible for SMF 1. Would I still be able to download it?

Arantor

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.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Arantor

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.

Biology Forums

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?

Arantor

Not without a total and complete redesign of the PM system.


Deaks

you sure Arantor? I can think of a way but would mean double the code :/
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Arantor

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.

DarkAngel612

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.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Arantor

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.

DarkAngel612

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.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Arantor

Did you go to sent items? What view do you have on pms? (All at once, one at a time, conversation view)

DarkAngel612

I clicked every link in the section and yes it is set to all at once.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Arantor

Fairly sure that screenshot was from "one at a time" mode.

DarkAngel612

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.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

DarkAngel612

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.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Dave J

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
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

vbgamer45

@Dave J

1.2a
+ Added support for SMF 2.1.x
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dave J

VB you are excelling yourself, thank you again
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Advertisement: