Closed (won't fix)
Project:
Privatemsg
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2010 at 22:34 UTC
Updated:
26 Jul 2016 at 15:22 UTC
Jump to comment: Most recent
Comments
Comment #1
berdirAvatars in the autocomplete seems like a nice idea.
I'm not sure about the thread lists, the issue is that you might have several authors in the same thread and unfortunately, it's not yet possible to figure out the last author (except with separate queries) so which author should be displayed?
New features are however only added to 6.x-2.x-dev, so changing the version. You are of course free to backport a patch (if there will be one).
Comment #2
drupalina commentedAvatars appearing in autocomplete:
I think this could be pretty easy for you to achieve!
there was a custom package of modules called "Statusbook" http://www.netrift.com/content/statusbook which tried to emulate Facebook as close as possible.
Download and install the 1x.449 tar.gz on that page and (optionally) the theme sb.1.389.tar.gz. If you enable the core "Statusbook" module and the "Friend" module inside that package, the autocomplete function in "To:" field of the PrivateMsg begins to show avatars of only those users who are "Friends" with the current user. So, the required code is somewhere in "friends" folder. To save you time, you can copy/modify the code from the "friends" module of that "Statusbook" package (I tried, but I'm not a coder). I think the small codes that you need are in "friends.ajax.inc" and also in "friends.module" But it would be nice to have avatars of all users registered on the site (or at least an option for admins what to display).
Which avatars to appear in threaded lists?
I've just tested my 5x-3.0 and the avatars of the Last Replier are appearing with no problems (the topic name stays original because in threaded conversation Subject field is not appearing and therefore cannot be altered). But this is in case of 1-to-1 messages. If I remember correctly, the 5x-3.0 version was not designed with "Reply to All" functionality.
I realise that there might be difficulties and modifications in case of Multi-authored threaded messages (if a message is sent to multiple recepients and then one of the recepients replies to all). In that case, logically, "the avatar of the Last replier" should show, but the title should remain the same with an automated "Re:" added to the title. Look at how Facebook is doing it. It's pretty neat and user-friendly.
Comment #3
oadaeh commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.