Indicate who hasn't read a multi-user PM

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 17
Joined: Thu May 24, 2012 1:54 pm

Indicate who hasn't read a multi-user PM

Post by kasimi »

When sending a PM to a single user, you know the user has read them PM when it has been moved from your Outbox to your Sent messages folder. When sending a PM to multiple users, the PM is moved the moment the first user reads it. There is no way to know who the first reader was and who hasn't read the message yet.

I think there should be a way to identify which users haven't read a multi-user PM.
  • Should the PM author be the only one who this is display to? Should it be displayed for all recipients, too?
  • What would be an intuitive way to display this information?

User avatar
david63
Registered User
Posts: 355
Joined: Mon Feb 07, 2005 7:23 am

Re: Indicate who hasn't read a multi-user PM

Post by david63 »

I am not sure that there would be an easy way to show who had read it and who had not. Perhaps a mark against the recipients name, or change the recipients colour, or a list below the recipients "read/opened by" - none of which are particularly elegant.

And all of this precludes sending a PM to a group - are you going to list all members of a group (which could be hundreds) who have/have not read the PM?

And what load will it put on the server?

Not really sure that there is a solution to this or whether there is any mileage in pursuing it.
David
Remember: You only know what you know -
and you do not know what you do not know!

User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 17
Joined: Thu May 24, 2012 1:54 pm

Re: Indicate who hasn't read a multi-user PM

Post by kasimi »

When sending to users (as opposed to groups), the data is already there, it just needs to be displayed. There won't be any performance penalties.

For multi-groups this will not work, just like it isn't working at the moment when sending to a single group. But we've gotta start somewhere. :P

User avatar
hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 968
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Indicate who hasn't read a multi-user PM

Post by hanakin »

seeing as how I have not worked on the ucp pages for re-design I can think it over for when I do the pm stuff. With prosilver IDC to really put much thought into it so the simplest method will win. Also, it depends on what info we have access to and on what page. do we only show it when viewing a pm or do we show it on the overview page? if on the overview will require more thought.

Prosilver:
For the pm itself we can just add http://fontawesome.io/icon/eye/ next to the recipient's name or even simpler we can always just add a new class and adjust the style of the name such as giving it an underline or fade it a bit etc...
Donations welcome via Paypal Image

User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 17
Joined: Thu May 24, 2012 1:54 pm

Re: Indicate who hasn't read a multi-user PM

Post by kasimi »

  • When viewing a message, adding the unread information is a minor change as there are to_recipient and bcc_recipient blocks being used already.
  • When viewing a folder, the recipient names are just a string, getting joined before being assigned to the template. The function that fetches the names only returns an array of strings. Squeezing unread information in there would need a lot more work.
Therefore I would suggest to only display this when viewing the message, for the time being.

I like the idea to add an FA icon. Here is an example with the eye-slash icon. http://fontawesome.io/icon/eye-slash/
The icon's title attribute reads test_user_1 hasn’t read this message yet.

pm_unread.png
pm_unread.png (15.22 KiB) Viewed 11255 times

Post Reply