cloudy cloudy

Author Topic: 'Idesign Simplicity' Template by Brian Underdown  (Read 59383 times)

0 Members and 2 Guests are viewing this topic.

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #705 on: April 21, 2017, 03:43:18 PM »
Good evening

all 3 themes now include gradient temperatures

Fixes (21 APRIL 2017)
  - Adressed all minor isuues with with temperature.php gradients and solar.php color issues . css files updated, temperature.php and all solar(1 and 2).php updated

Fix /Update/gradient (19 APRIL 2017)
  - Fix below zero gradient output, added gradient temperature colors to light theme.fixed Portuguese flag option in common.php

https://www.weather34.com/homeweatherstation/index.html

brian



Offline Forever

  • Posts: 430
  • Santa Cruz, CA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
    • WeatherCat
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #706 on: April 22, 2017, 08:50:43 PM »
The update today made the Forecast Summary icons small again for IE 11.

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #707 on: April 23, 2017, 07:51:54 AM »
The update today made the Forecast Summary icons small again for IE 11.

good morning

IE11 what a suprise :-) ok i have completely re wrote the script for the outlook.php please find attached and if you can let me know you can check the demo prior to using it
at http://boutiquehotelitaly.com/devpws/  just click the forecast summary .

basically simplified the whole script

<?php // 23 april 2017 new summary outlook using WU for weather34 homeweatherstation template //
$weather34wuurl = file_get_contents("../jsondata/wuweatherupdate.txt");
$parsed_weather34wujson = (json_decode($weather34wuurl));
$forecastday = $parsed_weather34wujson->{'forecast'}->{'txt_forecast'}->{'forecastday'};
$count = count($forecastday);
for($i = 0; $i < $count; $i++)
  {
    $period = $forecastday[$i];
    if($period->{'period'} == 1 || $period->{'period'} == 3 || $period->{'period'} == 2)
     {
    $icon=$parsed_weather34wujson->{'forecast'}->{'txt_forecast'}->{'forecastday'}[$i]->{'icon'};   
    $forecast = $parsed_weather34wujson->{'forecast'}->{'txt_forecast'}->{'forecastday'}[$i]->{'fcttext'};
    $forecastm = $parsed_weather34wujson->{'forecast'}->{'txt_forecast'}->{'forecastday'}[$i]->{'fcttext_metric'};
    $rain = $parsed_weather34wujson->{'forecast'}->{'txt_forecast'}->{'forecastday'}[$i]->{'pop'};
    $dayofweek = $period->{'title'}; echo "<span class='icon'>" ; echo "<img class='icon' rel='prefetch' src='../css/icons/".$icon.".svg '></span>";
    echo "<span class='day'>" ;    echo $dayofweek; echo "</span> " ;    echo "<span class='forecast'>" ; if ($tempunit=='C')echo $forecastm;
    else echo $forecast; echo "<br></span>";}}
  //end summary outlook using WU for weather34 homeweatherstation template
?>


« Last Edit: April 23, 2017, 02:00:36 PM by weatherist34 »

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #708 on: April 23, 2017, 08:46:40 AM »
looks like it ok just managed to get my IE laptop working

https://www.weather34.com/homeweatherstation/index.html

IE11 Fix(23 APRIL 2017)
  - outlook.php fixed not rendering SVG icons correctly in IE11 re-wrote script from scratch only need to update outlook.php in the forecast folder.

Fix/Update Forecast (22 APRIL 2017)
  - All forecast scripts using SVG icons. Fixed minor earthquake css error.

Fixes (21 APRIL 2017)
  - Adressed all minor isuues with with temperature.php gradients and solar.php color issues . css files updated, temperature.php and all solar(1 and 2).php updated

Fix /Update/gradient (19 APRIL 2017)
  - Fix below zero gradient output, added gradient temperature colors to light theme.fixed Portuguese flag option in common.php

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #709 on: April 23, 2017, 02:02:55 PM »
if you just want the outlook.php zip you can just use the one attached .

place this in the forecast folder replacing existing. it has been verified ok for IE11 :-)

« Last Edit: April 23, 2017, 02:15:38 PM by weatherist34 »

Offline Forever

  • Posts: 430
  • Santa Cruz, CA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Mozilla compatible
    • WeatherCat
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #710 on: April 23, 2017, 03:46:16 PM »
Thanks Brian, it's working fine in IE 11. :)

Offline willper

  • Posts: 130
  • Broomfield, Colorado
  • OS/Browser:
  • Win NT 10.0
  • Firefox 53.0
    • Frontrange Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #711 on: April 23, 2017, 08:00:53 PM »
Brian,

Awhile ago I was having a problem with the main page loading completely. I have fixed that and created another problem. My WU forecast is not updating. Could you point me in the right direction. I have checked and the WU station and api key are correct.

Bill

Frontrangeweather.net/PWS/ index.php
win 7 home prem
weather display ver 1037s b 45
Davis Vantage Pro2 w/usb data logger
Windows 7 home premium operating system
Weather-Display 10.37R Build 81



Offline Bjørn

  • Posts: 324
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.138
    • Ulsteinvikweather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #712 on: April 23, 2017, 09:05:38 PM »
Hi Gentlemen.

i have just done a clean install of latest build 3.4gm, working ok exept wu graphs dont show?? WU station and api is there. Any ide whats wrong Brian?
I have stopped the cron jobs from my old version.

https://www.ulsteinvikweather.com/pws/index.php
« Last Edit: April 24, 2017, 07:18:15 AM by Bjørn »

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #713 on: April 25, 2017, 10:16:59 AM »
Hi Gentlemen.

i have just done a clean install of latest build 3.4gm, working ok exept wu graphs dont show?? WU station and api is there. Any ide whats wrong Brian?
I have stopped the cron jobs from my old version.

https://www.ulsteinvikweather.com/pws/index.php

hello

the files are there
https://www.ulsteinvikweather.com/pws/chartswudata/2017.txt
https://www.ulsteinvikweather.com/pws/chartswudata/042017.txt
https://www.ulsteinvikweather.com/pws/chartswudata/25042017.txt


they are being generated and updating, but im guessing your server doesnt like the timestamp appended to the js file its throwing back a 403 FORBIDDEN

so ive attached a zip just unzip replace chartswu folder

you can cross check its working against http://boutiquehotelitaly.com/devpws/ this is using exactly same chart files attached in zip

brian






Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #714 on: April 25, 2017, 10:17:44 AM »
Brian,

Awhile ago I was having a problem with the main page loading completely. I have fixed that and created another problem. My WU forecast is not updating. Could you point me in the right direction. I have checked and the WU station and api key are correct.

Bill

Frontrangeweather.net/PWS/ index.php
win 7 home prem
weather display ver 1037s b 45

drop me a pm or email see if we can resolve it..brian

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #715 on: April 25, 2017, 10:31:13 AM »
Version 3.4WF REQUIRES FULL Update(25 APRIL 2017)

https://weather34.com/homeweatherstation/

  - Version 3.4WF important to do full update many files updated .you may retain your settings1.php

  - Additional preparation for upcoming WEATHERFLOW hardware. version id moved to Version 3.4WF

  - Improved meteobridge-direct barometer trend output

  - outlook.php cleaned up code now works in your chosen preferred language set up in easyweathersetup.php

  - True timestamps for data last updated

  - All css files updated includes performance,changes to reflect timestamp,solar data and new additional code for upcoming optional module feature

  - solar1.php / solar2.php now reflect it is a UVINDEX forecast not a realtime measurement.

static demo http://boutiquehotelitaly.com/devpws/




Offline pwilman

  • Posts: 542
  • Bath Spa, United Kingdom
  • OS/Browser:
  • iOS 10.3
  • Safari 10.0
    • Bath Spa Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #716 on: April 25, 2017, 06:16:12 PM »
Brian,

What is the upcoming optional module feature?

I am intrigued.....also wondered whether you have found a simple MySQL solution?

Thanks again for helping me at the weekend.

Paul
paulwilman73@gmail.com
http://www.paulwilman.com

Davis vantage pro2 with dFARS, solar sensor, USB logger
W10 Lenovo ultra book 8Gb RAM

Offline Bjørn

  • Posts: 324
  • Ulsteinvik, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.138
    • Ulsteinvikweather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #717 on: April 25, 2017, 06:58:02 PM »
hello

the files are there
https://www.ulsteinvikweather.com/pws/chartswudata/2017.txt
https://www.ulsteinvikweather.com/pws/chartswudata/042017.txt
https://www.ulsteinvikweather.com/pws/chartswudata/25042017.txt


they are being generated and updating, but im guessing your server doesnt like the timestamp appended to the js file its throwing back a 403 FORBIDDEN

so ive attached a zip just unzip replace chartswu folder

you can cross check its working against http://boutiquehotelitaly.com/devpws/ this is using exactly same chart files attached in zip

brian

Thanks alot Brian, works now.
Nice template :-)

Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #718 on: April 26, 2017, 12:44:33 PM »
Brian,

What is the upcoming optional module feature?



Paul

nothing to exciting not sure it will be of interest to many but I know there is a select few who are Amateur Radio enthusiasts, but my past of chasing VHF weak signals has never left me and one of my relatives is on a northern lights trip at the moment so it kind of nudge me to finish this off which i started some time ago still work in progress need to add the A-INDEX from DK0WCY or VE7CC
CQ Aurora ! ur 59A :-) i miss that distorted sound..





Offline weatherist34

  • its just my hobby
  • Posts: 364
  • its just my hobby
  • OS/Browser:
  • Mac OS X 10.12.3
  • Safari 10.0.3
    • Istanbul Sinanoba Weather
Re: 'Idesign Simplicity' Template by Brian Underdown
« Reply #719 on: April 27, 2017, 11:39:55 AM »
Hello

Version 3.4WF REQUIRES FULL Update(27 APRIL 2017)

available via https://weather34.com/homeweatherstation/


  - Version 3.4WF important to do full update many files updated .you may retain your settings1.php

  - Added K-Index aurora data pop up module

  - Fixed all timestamps issues noted with weather-display clientraw.txt file (Tnx P Wilman)

  - Fixed Wind Run not showing miles (Tnx P Wilman)

  - New updated timestamp method shows green dot icon for online with last time updated, shows orange dot icon when offline

  - New updated timestamp method for forecast data in current condition,forecast,outlook,hour modules & pop ups

  - All CSS files changed and includes fix in the light theme for incorrect temperature circle size when value is at 20-23c

  - index.php & indexearthquake updated to reflect 3 day forecast timestamp

  - easyweathersetup.php no longer uses to show updated or date & time oprion it is disabled .

  - Additional preparation for upcoming WEATHERFLOW hardware. version id moved to Version 3.4WF

  - Improved meteobridge-direct barometer trend output

  - outlook.php cleaned up code now works in your chosen preferred language set up in easyweathersetup.php

  - True timestamps for data last updated

  - All css files updated includes performance,changes to reflect timestamp,solar data and new additional code for upcoming optional module feature

  - solar1.php / solar2.php now reflect it is a UVINDEX forecast not a realtime measurement.

i hope this resolves all known issues emailed over the last two days sorry if I have not replied yet individually i will hopefully today. look forward to now finally get to grips with the new WEATHERFLOW hardware which arrived this morning. also some interesting stuff on the horizon , don't know if it is just a coincidence but have received 4 requests from weather station hardware retailers to distribute the template FREE via
there online services/stores , 3 of them offer dedicated setup of template and web hosting packages . I need to just ensure that under NO circumstances does anyone actually pay for the template
and clearly states the template is freely available via https://weather34.com/homeweatherstation/ .There are many things going on and its all positive so i really think I have nailed in terms of user experience and making it attractive to enthusiasts and the casual enthusiast .

I openly thank you all without the feedback I would never see some of the issues that are raised and 90% of the time they are resolved , however I make no secret some mornings I just don't look at my email till I have had a litre of filtered coffee :-) then Im more positive .

have fun ...Brian