cloudy cloudy

Author Topic: Another Yowindow question  (Read 107 times)

0 Members and 1 Guest are viewing this topic.

Offline tobydude

  • Posts: 209
  • Norway
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
    • Fjærvoll Værstasjon
Another Yowindow question
« on: February 11, 2019, 02:18:15 PM »
Hi.
The "NYC" issue in Yowindow, is it possible to fix?
My yowindow is 6 hours ahead and I cant get the right time.
I have changed
else {  $location_id    =
'lat: "'.round($SITE['latitude'],2).'",
      lon: "'.round($SITE['longitude'],2).'",';
}
in wsDashYowindow to

else {  $location_id    =
'lat: "'.round($SITE['latitude'],1).'",
      lon: "'.round($SITE['longitude'],1).'",';
}

http://vindpropell.no/weather2/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 971
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: Another Yowindow question
« Reply #1 on: February 11, 2019, 04:12:16 PM »
Hi.
The "NYC" issue in Yowindow, is it possible to fix?
My yowindow is 6 hours ahead and I cant get the right time.
I have changed
else {  $location_id    =
'lat: "'.round($SITE['latitude'],2).'",
      lon: "'.round($SITE['longitude'],2).'",';
}
in wsDashYowindow to

else {  $location_id    =
'lat: "'.round($SITE['latitude'],1).'",
      lon: "'.round($SITE['longitude'],1).'",';
}

http://vindpropell.no/weather2/
Just to be sure, I attach the working version of the script as used here: http://www.weather-template.com/weather28/index.php?p=wsStartPage&wp=WC
It displays in all Flash supported browsers the correct time for Brussels
I works here also  http://www.weather-template.com/weather28/index.php?p=wsStartPage&wp=WL  and it shows correct time for NJ,  USA.

If you have a yowindowID you could try to use that one, but the  site to find a yowindowID  http://yowindow.com/id does not work anymore

Did you try another set of lat-lon, for instance Paris, France to see if that gives the wrong or correct  time?

Maybe you should try to run yowindow stand-alone, or  with a standard back-ground.


Offline tobydude

  • Posts: 209
  • Norway
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
    • Fjærvoll Værstasjon
Re: Another Yowindow question
« Reply #2 on: February 11, 2019, 04:54:18 PM »
Hi.
Thanks. Tried paris coordinats and it seems to be correct time now.  http://vindpropell.no/weather2/index.php?p=wsStartPage&lang=no

I have a place id but I dont think it works.
If you go to this page and write Bø in 1.Location, you will get a place iD for my place. http://yowindow.com/weatherwidget.php
(in the HTML code)

I guess I just have to use Paris coordinats in my wsUserSettings. :)

thanks

« Last Edit: February 11, 2019, 06:15:15 PM by tobydude »

 

cumulus