What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Contact timezone like in StuffPlug 3?

Pages: (2): « First [ 1 ] 2 » Last »
Contact timezone like in StuffPlug 3?
Author: Message:
EvilDragon
Junior Member
**


Posts: 23
Joined: Nov 2009
O.P. Contact timezone like in StuffPlug 3?
Is it possible to add it to Msg+, since SP3 was not actively updated in over 2 years and doesn't work in latest WLM? Would be great to have a timer just below the contact's avatar, click on it, and select the timezone, and it just stays there. Just like in SP3.

I tried the Timezone script, I have no idea how to use it in WLM 14.0.8089.726


Thanks, everyone.

This post was edited on 08-24-2010 at 10:05 AM by EvilDragon.
08-24-2010 10:05 AM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Contact timezone like in StuffPlug 3?
I could certainly do this as a script. However I wouldn't put it in the avatar. How would you feel if it were before the contacts name in the header of the conversation window, it could be like (4:38 PM) John Doe or (16:38) John Doe?

That is easy enough to do.
08-24-2010 02:03 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Contact timezone like in StuffPlug 3?
Sorry for the double post.

CookieRevised and I worked last night a bit throwing ideas around and managed to get the time to display properly before the contact's friendly name in the conversation window. However there is a problem with doing so. Because we are changing the field that has already been parsed (mean the colours and emoticons are already displayed) adding anything to this field will remove the parsing. The other option is we can show the time where the status of the contact is displayed in the chat window and move the status to the title bar so for example it would read (XX:XX) John Dow <johndoe@hotmail.com> - Conversation (or something along these lines).

What do you think of this?
08-25-2010 12:49 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Contact timezone like in StuffPlug 3?
quote:
Originally posted by matty
However there is a problem with doing so. Because we are changing the field that has already been parsed (mean the colours and emoticons are already displayed) adding anything to this field will remove the parsing.
to be more correct, the parsing of Plus! codes can be solved. But emoticons will not be parsed. Downside of this method is that if you have set a WLM nickname for that contact, it wont be displayed and the real screenname will be displayed instead.

quote:
Originally posted by matty
The other option is we can show the time where the status of the contact is displayed in the chat window
not possible as far as I quickly checked last night... the status text is actually the name of the AA object, not the value; and as far as I found out, you can't change the name (it's read-only) only it's value (which is empty).

If there is a way to use the status object (I do hope so), you could add the time after the status text. Something like: [#] John (available) - 16:23

--

Or you could simply show the time in the titlebar though...

This post was edited on 08-25-2010 at 02:53 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-25-2010 02:50 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Contact timezone like in StuffPlug 3?
quote:
Originally posted by CookieRevised
not possible as far as I quickly checked last night... the status text is actually the name of the AA object, not the value; and as far as I found out, you can't change the name (it's read-only) only it's value (which is empty).
But I wonder if adding a value to it will show on the conversation window.

quote:
Originally posted by CookieRevised
Or you could simply show the time in the titlebar though...
That was my other thought if all else were to fail.
08-25-2010 03:29 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Contact timezone like in StuffPlug 3?
quote:
Originally posted by matty
quote:
Originally posted by CookieRevised
not possible as far as I quickly checked last night... the status text is actually the name of the AA object, not the value; and as far as I found out, you can't change the name (it's read-only) only it's value (which is empty).
But I wonder if adding a value to it will show on the conversation window.
nope, tested that.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-25-2010 05:38 PM
Profile PM Find Quote Report
EvilDragon
Junior Member
**


Posts: 23
Joined: Nov 2009
O.P. RE: Contact timezone like in StuffPlug 3?
Anybody knows whatever happened to StuffPlug? I really miss that timezone display, it meant the world of difference to me.

Not sure if anything else than below the avatar would do for me, unfortunately. SP way of doing it was, IMHO, genuinely the best, and simplest.

Isn't there any way to add this as an official feature of Msg+, seeing that SP guys did it (but then seemingly dropped the project altogether without updates in over 2 years)? Basically it would be (I suppose) adding a new widget, which would only be manually settable, and remembered automatically per contact, with option to hide the widget for the contacts in the same timezone. The time displayed would be the system time +/- timezone difference.

Anyways, if it were done with your suggestions, how would the per-contact timezone change be carried out? I hope not with script tweaking :(

This post was edited on 08-26-2010 at 12:05 AM by EvilDragon.
08-26-2010 12:00 AM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Contact timezone like in StuffPlug 3?
Something like this would indeed be a nice feature to add to Messenger Plus! itself. But don't get your hopes up too much though.

Adding it via a Messenger Plus! script is what is currently being done by Matty (but again, this is done as one of his many side projects, so don't expect it to be finished tomorrow). But note that because of the way scripts are run, they can not do everything what other plugins (like StuffPlug) did.

Setting the proper times and settings would be done like in any other script: either via a command or via a settings dialog or both.

As for the position of the time: under the display picture would be nice, yes. But that is as good as impossible with scripting; it certainly is not the simpliest, no matter what form of tweaking tool (script, plugin, etc) you use.

-----

Note: to make something like this in a proper way, you also need a pretty advanced way of selecting the proper timezone per contact. It is by no means as simple as setting the hour difference between you and the contact!!!!!

This because of the many different DST rules around the world. DST rules are difference per timezone and even per region (they are actually independant of timezones) and they even change from one year to the other for some or even more frequently. They are also not applied at the same time around the world. Note that even Windows itself does not get it right for all regions in the world.

To give an example: the most advanced and correct clock/timezone widget for Windows I've ever found is Anuko World Clock. This gets updated almost every month and almost each time it also includes an update for its timezone and DST rules database (usually this is for more exotic regions though, but it isn't always).

To give an example of how complicated things will get with DSTs: Recently the Palestinian Authority in Ramallah and Gaza have decided to end DST during Ramadan and also Egypt cancelled DST during Ramadan only to resume it again after Ramadan. Bahía de Banderas (Mexican state of Nayarit) changed its timezone (UTC-7) to the new time zone UTC-6 on April 4, 2010 to share the same timezone as nearby city Puerto Vallarta, Jalisco. San Luis, Argentina (UTC-4) will keep DST after April 11, 2010; it will continue to have the same time as rest of Argentina (UTC-3), thus no DST.

And the list goes on and on and on on a monthly, sometimes even daily, basis. And as you can see, not all of them are stricly for exotic places.

Als note that while the general rule for applying DST is to set the clock one hour ahead, there are again exceptions. Like Lord Howe Island, Australia, where the clock is advanced only half an hour during DST.

Another important note is that the time offsets (eg: UTC-3) aren't always an integral number either! In some places the difference is half an hour or even a quarter hour (eg: Nepal which is UTC+05:45)

All this just to say that simply setting the time difference between you and your contact by selecting some integral number between 0 and 12, like you will find in so many tools which offer some time display, is in no way accurate and absolutely incorrect and insufficient.

And then there is the other problem of what to do when your contact actually travels around the world. Then your settings for that contact wont be correct anymore either... But that is an entirly different problem (which could partially be solved, together with the DST problem, by getting the time from the contact itself though)...

This post was edited on 08-26-2010 at 05:41 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-26-2010 04:39 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Contact timezone like in StuffPlug 3?
I think SP3 would send the timezone to the contacts over TCP/IP. But then again I have no idea if it did or didn't.
08-26-2010 12:00 PM
Profile E-Mail PM Find Quote Report
EvilDragon
Junior Member
**


Posts: 23
Joined: Nov 2009
O.P. RE: Contact timezone like in StuffPlug 3?
I'm very aware of DST issues, and even .30 or .45 hour timezones. It is not easy.

Perhaps even just getting the IP of the user, then querying the timezone that way. And if the user is behind a proxy, you can screw yourself anyways :D

Basically, I am not that concerned with 30 or 45 minute differences (don't have such contacts, but I know others would like that), I'd just want a clock below contact's avatar that would be user settable to predefined time offsets - perhaps not even necessary to input timezone and/or DST - just an option to type in the OFFSET from YOUR system clock time. That would be swell.


And I do know that I can't expect it, like, tomorrow. It's not burning under my feet - I'm a patient man. Would be extremely cool if it were a dedicated Msg+ feature. To whom I need to talk to carry the feature request over?
08-26-2010 03:14 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On