Advertisement:

Author Topic: Show Unread Private Messages  (Read 13411 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,953
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Show Unread Private Messages
« on: October 19, 2009, 10:32:58 AM »
Link to 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

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: Show Unread Private Messages
« Reply #1 on: October 19, 2009, 10:39:34 AM »
nice mod, pretty much a read receipt

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #2 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...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Show Unread Private Messages
« Reply #3 on: October 19, 2009, 10:45:56 AM »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #4 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 876
  • Gender: Male
Re: Show Unread Private Messages
« Reply #5 on: October 19, 2009, 04:05:09 PM »
Very very nice feature and by looking at the code very simple too. Tkx.

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Show Unread Private Messages
« Reply #6 on: October 19, 2009, 04:38:10 PM »
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #7 on: October 19, 2009, 09:06:48 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 :)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #8 on: October 21, 2009, 10:18:24 PM »
Added RC2 support.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Show Unread Private Messages
« Reply #9 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 ?
:: 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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #10 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Daggers

  • Semi-Newbie
  • *
  • Posts: 91
Re: Show Unread Private Messages
« Reply #11 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?


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #12 on: December 05, 2009, 07:28:47 AM »
Not without rewriting its code.

I'd need more information (like the colour you want)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Daggers

  • Semi-Newbie
  • *
  • Posts: 91
Re: Show Unread Private Messages
« Reply #13 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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #14 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Daggers

  • Semi-Newbie
  • *
  • Posts: 91
Re: Show Unread Private Messages
« Reply #15 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 ;)


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,980
    • StoryBB/StoryBB on GitHub
Re: Show Unread Private Messages
« Reply #16 on: December 05, 2009, 02:49:43 PM »
* 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Daggers

  • Semi-Newbie
  • *
  • Posts: 91
Re: Show Unread Private Messages
« Reply #17 on: December 05, 2009, 04:12:53 PM »
lol, I didnt even look at the mod code.. all changed now and working :D


Offline ʟink

  • Jr. Member
  • **
  • Posts: 130
  • Gender: Male
  • Hyrule's Defender
    • The Ninja's Hideout
Re: Show Unread Private Messages
« Reply #18 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! :)
Obedire est vivere, Vivere est obedire


Offline Cal O'Shaw

  • Full Member
  • ***
  • Posts: 444
  • SMF 1.1.14 & 2.0 Sites
Re: Show Unread Private Messages
« Reply #19 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.