Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: cirocco on 21 07 2016, 06:20:37

Title: time in message formatting in tabsrmm
Post by: cirocco on 21 07 2016, 06:20:37
Hello
 I would like to format date/time in messages in such a way that messages from today does not have date prefix, but older messages have day prefix. How can I do that?
 Having day displayed in every message is unnecessary, but for older messages I want to know the date, if it was 2 or 3 days ago.
Thanks for any help.
Title: Re: time in message formatting in tabsrmm
Post by: AnrDaemon on 23 07 2016, 01:29:40
I don't see it possible.
Also, if a message was sent yesterday, but you've had the chat log open, how would you know if it was fresh or from a day ago?
Title: Re: time in message formatting in tabsrmm
Post by: Vulpix on 23 07 2016, 02:15:22
It could be possible using an ieview+tabsrmm combo.
Title: Re: time in message formatting in tabsrmm
Post by: Robyer on 06 09 2016, 02:56:56
I think you can achieve something similar by using Tabsrmm's message internal log, just with properly set template:

Quote
The *#* character means that the variable does only apply to *old* events, that is, events which are loaded from the history when you open a message window. Contrary, the *$* character does the opposite – the variable will only show up in new events. You can use these modifiers to get different message formatting for old and new events.
( http://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Templates#About_modifiers )

So, for new messages you won't show date at all, but for old ones (loaded when opening message window) you show the date.