Ist there a way to disable the threaded view? I´d like to have each pm in my inbox/sent messages - list.

CommentFileSizeAuthor
#3 privatemsg_no_threading.tar_.gz1.14 KBberdir

Comments

berdir’s picture

Hm. It might be possible to change the list by removing the thread_id grouping and you could link to the specific message in the thread view. But changing the thread view to only display a single message might be quite a bit harder, not sure though.

Will try to write something simple up for you.

iterator’s picture

That would be great :)

berdir’s picture

StatusFileSize
new1.14 KB

Ok, this was not as easy as I thought as a lot of stuff depends on the thread_id so I had to hack a bit around.

Try the attached module, it should work but it's not very well tested.

berdir’s picture

Status: Active » Needs review
iterator’s picture

This module works very well. Thanks for the trouble Berdir!

joostvdl’s picture

I test it right now. The inbox looks clean non-threaded now. But when I go to a message it is still shown threaded with all messages... bug of by design ;-)

berdir’s picture

We could probably extend it to only show a single message only but I'm not sure if there would be any complications.

Anyway, another (maybe better) solution is #69856: Message limits which allows (beneath many other things) to limit the number of messages per thread. If set to 1, it will automatically start a new thread for every message.

And there is http://drupal.org/project/privatemsg_views, but that is afaik quite far away from being stable.

berdir’s picture

Status: Needs review » Closed (won't fix)

Setting to won't fix, I suggest to check the quota module instead, which works better and doesn't need these ugly hacks.