Author Topic: Weather Template and scripts from Leuven/Belgium/Europe  (Read 195040 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #350 on: August 18, 2014, 08:13:16 AM »
Hi Wim

Have been looking every where for the KDE Weather icon pack (used as default in your template)

I need the icons to be 64x64 (Those in the template is 32x32 and 128x128)

Could you be kind and point me in the right direction

Thanks in advance
They are 128x128 by default. I used my mac to make them smaller.
Copied all icons to a new folder. I selected them all, double clicked so they are all opened in the mac preview app. There you can select to resize them all in one go.

This is the original download location but some are missing as there are home-made extra icons in the template scripts.
http://kde-look.org/content/show.php?content=39988

Succes, Wim

Offline erikmm

  • Senior Contributor
  • ****
  • Posts: 201
    • Hørning By Vejr
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #351 on: August 18, 2014, 08:27:32 AM »
Quote
They are 128x128 by default. I used my mac to make them smaller.
Copied all icons to a new folder. I selected them all, double clicked so they are all opened in the mac preview app. There you can select to resize them all in one go.

This is the original download location but some are missing as there are home-made extra icons in the template scripts.
http://kde-look.org/content/show.php?content=39988

Succes, Wim

Ok, thanks Wim - I´ll down size them, thanks :-)
Erik M M
---------------
Hørning By Vejr
http://www.danmaach.dk


Offline erikmm

  • Senior Contributor
  • ****
  • Posts: 201
    • Hørning By Vejr
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #352 on: August 18, 2014, 03:28:33 PM »
Wim

More or less now built my iPad (Tablet) version on your template, using settings and files.
Could you give me your opninon, first time built on css and php from scratch...

It´s going to hang in the living room or kitchen - using it as console with some extra features.
« Last Edit: August 18, 2014, 03:30:10 PM by erikmm »
Erik M M
---------------
Hørning By Vejr
http://www.danmaach.dk


Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #353 on: August 19, 2014, 09:14:46 AM »
Wim

More or less now built my iPad (Tablet) version on your template, using settings and files.
Could you give me your opninon, first time built on css and php from scratch...

It´s going to hang in the living room or kitchen - using it as console with some extra features.
VERY nice to say the least.
If there will be more time on my side I will do a similare thing.  Hope to get in in the next release of the template.
Wim

Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 210
    • Sherman Ct. Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #354 on: August 26, 2014, 06:25:10 PM »
I am switching my website over to shermanctweather.org.  I copied all the files over and did some adjustments and have everything working but my wxsim forecast icons.  Everything else is fine (I think.)
The new site is www.shermanctweather.org
The old site is www.shermanctweather.com/zz_index.php
Thanks.

Edit: this morning seems to be working.
« Last Edit: August 27, 2014, 06:53:22 AM by weatherbee »

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #355 on: September 06, 2014, 11:30:54 AM »
Wim

More or less now built my iPad (Tablet) version on your template, using settings and files.
Could you give me your opninon, first time built on css and php from scratch...

It´s going to hang in the living room or kitchen - using it as console with some extra features.
As told before, nice idea.
To support you and others I modified the index.php a bit. Attached you will find the last (2.5a version) but now with an extra parameter you can use in the calling of a page.
Example, this is the normal URL for Meteobridge test site startpage: http://www.wiri.be/weather2/index.php?p=10
This is the result if you add &ipad to the call of the page: http://www.wiri.be/weather2/index.php?p=10&ipad
You see that now  all headers, footers and  menu are gone.
When using Safari on an iPad you can put the "shortcut" on the "desktop" using the "airdrop" icon and then choosing "Add to home screen". Off course all these "names" are different for every language. This is from a Dutch iPad set to English to get these names.

There are no special scripts for iPad pages yet. You create your own.
1. You make a special page with only the information on it which is needed, put that in the menu with show='yes' so that the page always appear in the menu. If you do not want that you should set it to show='wsDebug' while than it is only shown in the menu when adding &debug to the url
2. for testing you can use your normal laptop/desktop computer with the "normal" menu and so on until satisfied and all tests with and without  &iPad are OK.
3. You than use the iPad to make the shortcut on the Home screen.
4. As final toch you set the show setting in the menu to show='ipad'. That will make sure that normal visitors of your site will not see ipad page (without menus and so on) on their regular visits.

To install: Make a copy of the current index.php (2.5x 2014-03-28) and replace it with the unzip of the attached one.

Wim

Offline erikmm

  • Senior Contributor
  • ****
  • Posts: 201
    • Hørning By Vejr
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #356 on: September 06, 2014, 03:34:45 PM »
Wim, you constantly surprises me, indeed Very good work
I am actually trying to work with living graphics, something similar to The new WU iPad app.
Erik M M
---------------
Hørning By Vejr
http://www.danmaach.dk


Offline meteo-saint-brevin

  • Senior Contributor
  • ****
  • Posts: 192
    • Météo Saint-Brevin
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #357 on: September 09, 2014, 04:09:24 PM »
Hi Wim,

Since this morning, yr.no seems not working here.
I have a divide by zero error.
http://www.meteo-saint-brevin.fr/metno/printFull.php

I was thinking this issue would be corrected at the evening forecast update, but not.
Not all sites seems to be concerned by this issue.

Your demo link seems to have the error too :
http://www.weerstation-leuven.be/wsMetNoSA/printDemo.php?lang=en

Your help would be appreciated. Best regards,
Marcel


Marcel Le Jeune F6DOW - Saint-Brevin-les-Pins - Pays de la Loire - France
www.meteo-saint-brevin.fr
Vantage Pro2 6163EU - VirtualVP, Cumulus, WeatherLink
Wifi cam Reolink RLC-410W - Blue Iris - Blue Iris tools

Offline erikmm

  • Senior Contributor
  • ****
  • Posts: 201
    • Hørning By Vejr
Erik M M
---------------
Hørning By Vejr
http://www.danmaach.dk


Offline meteo-saint-brevin

  • Senior Contributor
  • ****
  • Posts: 192
    • Météo Saint-Brevin
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #359 on: September 10, 2014, 03:05:09 AM »
Thank you Erik,
I will check that this evening.
Marcel
Marcel Le Jeune F6DOW - Saint-Brevin-les-Pins - Pays de la Loire - France
www.meteo-saint-brevin.fr
Vantage Pro2 6163EU - VirtualVP, Cumulus, WeatherLink
Wifi cam Reolink RLC-410W - Blue Iris - Blue Iris tools

Offline meteo-saint-brevin

  • Senior Contributor
  • ****
  • Posts: 192
    • Météo Saint-Brevin
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #360 on: September 10, 2014, 03:00:26 PM »
Everything seems to be running fine.
http://www.meteo-saint-brevin.fr/previsions1.htm

A big THANK YOU to Wim  =D>  and best regards.
I will try your others scripts too.
Marcel
Marcel Le Jeune F6DOW - Saint-Brevin-les-Pins - Pays de la Loire - France
www.meteo-saint-brevin.fr
Vantage Pro2 6163EU - VirtualVP, Cumulus, WeatherLink
Wifi cam Reolink RLC-410W - Blue Iris - Blue Iris tools

Offline jonnyj771

  • Senior Contributor
  • ****
  • Posts: 220
    • Lightning Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #361 on: September 11, 2014, 12:11:11 AM »
Wim,
Just wondering what the status is of your Leuven Template 3.0
When do you think you will be beta testing it?
I would be willing to be a US beta tester for you when you are ready to do so
Facebook:
Lightning Weather
   www.facebook.com/lightningweather
                             /groups/lightningweather
Lightning Weather Quad Cities
                             /lightningwxqc
                             /groups/lightningWXQC
Weather Station Hardware: Davis Vantage Pro2 6152
Weather Station Software: WD - 10.37S Build XXX (Beta)
Page Template: MeteoTemplate v1x. (Current Active)

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #362 on: September 11, 2014, 03:46:30 AM »
Wim,
Just wondering what the status is of your Leuven Template 3.0
When do you think you will be beta testing it?
I would be willing to be a US beta tester for you when you are ready to do so
In the past months I asked about ten users what should be done for release 3.0.
There was no interest apart from scripts like "Davis Console" a.s.o. Gradually improving the current scripts, that was all the users wanted. Most Leuven-scripts are reworked already and available for Saratoga- and Leuven-template and can be used in ones "home-made" website also. 

An "important" extension in the 2.x release was the easy adaptable start-page. You can select form 20 different components, put them in your sequence  to combine into a non-standard start-page.
The number of users of the template? Nearly 100 who use it as their main website.
How many use the adaptable start-page?  Less than 10?

I also have counters on my own websites to count which pages are read by visitors to the website. 90% of the visits go the extensive start-page, 3% to the WXSIM forecast (mostly directly), another 3% go either directly or from a link on the start-page to another forecast page, 2% to the rain-radar. Even after 4 months some of the pages are not visited at all. This summer there was some extra interest in the UV page so I reworked it to be used on the start-page also.

So for the moment there is no wish-list or to-do list anymore.
Only the 2.5b release as I am doing this week. And that one is for new users only, as there is no need to upgrade the template if you are already on 2.4 or 2.5

Wim




Offline erikmm

  • Senior Contributor
  • ****
  • Posts: 201
    • Hørning By Vejr
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #363 on: September 11, 2014, 06:26:23 AM »
Wim,
Just wondering what the status is of your Leuven Template 3.0
When do you think you will be beta testing it?
I would be willing to be a US beta tester for you when you are ready to do so
In the past months I asked about ten users what should be done for release 3.0.
There was no interest apart from scripts like "Davis Console" a.s.o. Gradually improving the current scripts, that was all the users wanted. Most Leuven-scripts are reworked already and available for Saratoga- and Leuven-template and can be used in ones "home-made" website also. 

Sounds like a big applause to you, and sounds like people think you made an exelent job, since that is the "only" thing they ask for, a Davis Console page ;-)

For me, it is more about fine tune it all (if there are something to fine tune)

One thing I would like, is the YR.no script, could be shown like your HWA forecast script, that is one thing I would like to use on my index page, and maybe the ability to change weather icons more user "friendly" but you haven´t asked me what to want ;-) just kidding Wim

Oh, and you are always welcome, to ask for my opinion/test for new/modified/ideas...
« Last Edit: September 11, 2014, 06:34:26 AM by erikmm »
Erik M M
---------------
Hørning By Vejr
http://www.danmaach.dk


Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 210
    • Sherman Ct. Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #364 on: September 17, 2014, 10:15:46 AM »
Wim,
How can I adjust the heatcolorword on the dashboard.  This morning it was 46F and said it was cold which 46F isn't really cold in this section of the country.
Thanks,
Tom

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #365 on: September 17, 2014, 10:42:09 AM »
Wim,
How can I adjust the heatcolorword on the dashboard.  This morning it was 46F and said it was cold which 46F isn't really cold in this section of the country.
Thanks,
Tom
script: weather2/wsFunctions.php
function: wsFeelslikeTemp
This function uses the actual temp, windchill and heatindex to do the calculations.

Coming from a moderate climate I did not make it customizable. Better do that in a next release.

Succes, Wim

Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 210
    • Sherman Ct. Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #366 on: September 17, 2014, 12:29:46 PM »
Thanks, Wim.
Looking at this code it seems that it should read cool till the windchill gets to 30.2F.

Also while your looking at that is there a way when the temperature goes below freezing that rain info can turn into snow info.

Thanks, TOm

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #367 on: September 18, 2014, 11:39:22 AM »
I would like to add my banner to the template as I have it placed like it is at http://rathdrumweather.us
but on /weather2

What is the easiest way to do this?  I want it on all pages.   I tried adding it in the CSS but it didn't work.  I will try it again

Dennis
« Last Edit: September 18, 2014, 03:34:58 PM by KK7X »

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #368 on: September 18, 2014, 11:42:00 AM »
I would like to add my banner to the template as I have it placed at http://rathdrumweather.us

What is the easiest way to do this?  I want it on all pages.   I tried adding it in the CSS but it didn't work.  I will try it again

Dennis
I am unsure if this is what you are referring to?
http://wiki.leuven-template.eu/doku.php?id=faq:header
Wim

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #369 on: September 18, 2014, 12:13:03 PM »
Yes it is Wim

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #370 on: September 18, 2014, 03:33:54 PM »
I did get it to work in the CSS but I want the banner above the warnings area.  I will keep researching and playing with the PHP

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #371 on: September 19, 2014, 11:13:10 AM »
I did get it to work in the CSS but I want the banner above the warnings area.  I will keep researching and playing with the PHP
Attached you will find a warning_banner.txt file.
The warning file on top of the page can be used for anything and can contain html.

So if you
1. unzip and plce this file in weather2/

2. change the setting for the "yellow maintenance box" from
$SITE['warningTxt']      = false;            // probably  false
$SITE['warnTxt']      = './warning.txt';
to
$SITE['warningTxt']      = true;
$SITE['warnTxt']      = './warning_banner.txt';

There should be a large box with a far too big picture, but you can take it as a starting point.

Wim

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #372 on: September 19, 2014, 02:33:22 PM »
Thank you my friend.  A true gentleman as always

Dennis

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #373 on: September 19, 2014, 05:08:58 PM »
I got it pretty well the way I envisioned - http://rathdrumweather.us/weather2   \:D/

Thank You!

Offline KK7X

  • Contributor
  • ***
  • Posts: 128
  • KIDRATHD3
    • Rathdrum Weather
Re: Weather Template and scripts form Leuven/Belgium/Europe
« Reply #374 on: September 21, 2014, 11:25:32 AM »
I have been adding new pages mostly in an iFrame - the problem I am having is that I would like the iFrame to be solid so that the background image does not mask what is in the frame. 
For instance my school closure page - http://rathdrumweather.us/weather2/index.php?p=401&wp=MB is hard to read.  I could change the background but just want the frame easy to read.  Also if I use a solid color such as pastel the bottom half of the page is brown, I guess something in the CSS. 

Thanks - Dennis

 

anything