WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Custom Website Templates => Topic started by: Jáchym on July 20, 2015, 07:51:53 AM

Title: Meteotemplate - new free website template
Post by: Jáchym on July 20, 2015, 07:51:53 AM
I would like to create this thread where I will post information about new features, fixes and updates in general.

If you want, you can also subscribe to email updates or use the RSS feed or associated FB page (www.meteotemplate.com/blog (http://www.meteotemplate.com/blog))
Title: New plug in - US extremes
Post by: Jáchym on July 20, 2015, 07:55:02 AM
A brand new plug in is now available.

The script loads NOAA data regarding current absolute extremes for all the US states. This includes the highest ever recorded temperature, lowest ever recorded temperature, highest ever recorded precipitation in 24h, highest snowfall in 24h and highest snow depth.

The data from NOAA is checked once per day and cached.

Each record also includes the station where the particular value was measured and clicking on the station name opens a map, which shows location and some more information about this particular COOP station.

Data can also be viewed as a sortable list or as an interactive graph.
 
Demo: http://www.meteotemplate.com/template/plugins/usExtremes/usExtremes.php (http://www.meteotemplate.com/template/plugins/usExtremes/usExtremes.php)
Download: http://www.meteotemplate.com/download/plugins/usExtremes_1.0.zip (http://www.meteotemplate.com/download/plugins/usExtremes_1.0.zip)
Info/comments: http://meteotemplate.com/blog/?p=94 (http://meteotemplate.com/blog/?p=94)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 20, 2015, 10:44:54 AM
Excellent Jachym, I have it included now http://www.komokaweather.com/j-template/plugins/usExtremes/usExtremes.php (http://www.komokaweather.com/j-template/plugins/usExtremes/usExtremes.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on July 20, 2015, 11:42:39 AM
Jachym,
It was very easy to set up and install.  Seen here: http://www.shermanctweather.org/meteo1/plugins/usExtremes/usExtremes.php
Tom
Title: Re: Meteotemplate - new free website template
Post by: saratogaWX on July 20, 2015, 11:51:36 AM
Jachym,

Congratulations on your new template!  Well done!

I've made this topic 'sticky' so it will remain at the top of the list in this board.

Best regards,
Ken
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 20, 2015, 12:05:13 PM
Hi Ken,

first of all thank you very much for even looking at it, you were the one who got me thinking into actually doing all this... (and you are of course included in the credits!). In fact I was thinking it would be nice if the topic was "sticky" but I thought I would rather wait some time to see people´s reaction, but so far it seems good, some people did have minor problems, but either they are solved already or we are working on it :-) I found several minor bugs such as wrong tooltip text etc., but nothing major and tonight when I get home I am almost finished with another plug in.

Thanks once more.
Title: New plug in - WL-IP 24/7 database updates
Post by: Jáchym on July 22, 2015, 01:26:50 PM
A brand new plugin, which can be very useful to those using the Davis WL-IP router is now available. If your WL-IP router is sending data 24/7 to weatherlink.com, then you can use this plugin to update your database for the template. This means there is no need to have your PC or WeatherLink software running and your data on your page and your database are still being updated.

Instructions on how to use are included in the ZIP file.

Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)

P.S. As I do not own WL-IP myself I was not able to test it as thouroughly as I normally do, so please let me know if there are any problems.
Title: New plug in - Stickers
Post by: Jáchym on July 23, 2015, 11:15:55 AM
Hi, I have created a nice new little plugin, which Im sure some of you will find quite useful.

This plugin allows generating image stickers with current conditions from the stations. These images can then easily be used for example as signatures in forums etc.

Several sticker sizes are available and each one can be further customized in terms of its text, parameters displayed and colors used. All you need to do is download the ZIP file, upload it to your plugins directory and you can use it.

Demo: http://www.meteotemplate.com/template/plugins/stickers/stickers.php (http://www.meteotemplate.com/template/plugins/stickers/stickers.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)

Example:

(http://www.meteotemplate.com/template/plugins/stickers/sticker800_150.php?text=Meteotemplate&color1=grey&color2=brown)
Title: Re: Meteotemplate - new free website template
Post by: Farmtalk on July 23, 2015, 11:23:52 AM
Congratulations on the new template Jachym! It looks VERY nice! I planning on working on an install soon! 8-)
Title: Meteotemplate - updated to version 1.1
Post by: Jáchym on July 25, 2015, 02:44:58 PM
This is just to let you know I have just released an update of Meteotemplate to version 1.1. Probably the most visible change is something many of you have asked for – the original header section is now replaced with the interactive banner.

Apart from that there are some other new functions and several bug fixes.

Detailed instructions as to how to update and also list of all changes available in the blog:
http://meteotemplate.com/blog/?p=111 (http://meteotemplate.com/blog/?p=111)

Demo available at meteotemplate.com has also been updated.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on July 25, 2015, 03:01:16 PM
Thanks for the update. The download page on the website produces a Forbidden error for me however.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2015, 03:12:47 PM
OK, check again now, it should be ok, if not send me an email and I will send it to you directly.
Title: Re: Meteotemplate - new free website template
Post by: weatherc on July 25, 2015, 03:58:13 PM
Jachym,

A tought i got. As I have been played a bit with theese European weathersources mainly looking for precipradar-data and similar.
I see you use sat24.com and meteoradar.co.uk radarimages in the template. Have you checked its allowed to use them? There seems to be no info about re-usage on those pages.
Also, a credit-link is ususally the minimum required in such cases its allowed.

The reason why i really ask you to check it (if not allready done) are that expecially precipradar-data are like gold in Europe. If its wanted to be used are trucks of €uros needed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2015, 05:30:59 PM
Hi,
thanks for mentioning that. Usually these are free if used for non-commercial use and cited - in this particular case obviously it is non-commercial use and there is a clear link to the source included, but it could be that something "more" is necessary. I will check that and if some change is needed I will include it. Thanks
Title: New plugin - Fire Danger Index
Post by: Jáchym on July 30, 2015, 06:22:28 AM
A simple new plugin is now available, which calculates the Fire Danger Index (CBI) based on current conditions and displays it on a gague along with the actual value.

Demo: http://www.meteotemplate.com/template/plugins/fireDanger/fireDanger.php (http://www.meteotemplate.com/template/plugins/fireDanger/fireDanger.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Title: Re: Meteotemplate - new free website template
Post by: Skyview on July 30, 2015, 01:59:31 PM
Already installed and working...Thanks!
Title: New plugin - Weather around the world
Post by: Jáchym on July 31, 2015, 01:01:08 PM
A new plug in is now available, which shows current weather around the world on an interactive map and in a sortable table.

Features:

- displays weather conditions for various cities in the world
- possibility to choose parameters (temperature, humidity, pressure, apparent temperature, dewpoint, wind speed, visibility)
- values also provided in a table (clicking on rows shows location on the map with an infobox and detailed data)
- data in table can be sorted
- weather conditions shown as icons, also reflecting day/night
- points on map colored based on values
- conditions cached for faster loading (10 minutes)
- units reflect global Meteotemplate settings
- easy customization

Demo: http://www.meteotemplate.com/template/plugins/cityConditions/cityConditions.php (http://www.meteotemplate.com/template/plugins/cityConditions/cityConditions.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=128 (http://meteotemplate.com/blog/?p=94)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 31, 2015, 01:48:40 PM
Thanks very much Jachym  =D> , install was quick, selected "CANCP" for default and  \:D/ http://www.komokaweather.com/j-template/plugins/cityConditions/cityConditions.php (http://www.komokaweather.com/j-template/plugins/cityConditions/cityConditions.php)
 
The USA state capitals map looks very nice with the 50 locations displayed.
 
Enjoy,
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2015, 04:24:28 PM
I knew you were going to like it Paul and I made sure I include Canada there as well :-)
Title: Re: Meteotemplate - new free website template
Post by: Skyview on July 31, 2015, 04:36:22 PM
Very nice addition, Thanks! I have it installed and running fine. I liked it the way it was so I just left it to default to US Top 100.
Title: New plugin - Space Weather
Post by: Jáchym on August 07, 2015, 06:51:16 AM
A new plugin is now available called "Space Weather".

Features:
 - display of current data about the Sun (solar wind speed, magnetic field, radio flux) updated minutely
 - alerts related to the Sun
 - tables and graphs with recent solar related events (flares etc.)
 - description of the parameters

Installation:
 - no need to set up anything, just follow the standard procedure for installing updates described in the wiki

Demo: http://www.meteotemplate.com/template/plugins/spaceWeather/spaceWeather.php (http://www.meteotemplate.com/template/plugins/spaceWeather/spaceWeather.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 07, 2015, 09:46:36 AM
Thanks Jachym,
I have it installed http://www.komokaweather.com/j-template/plugins/spaceWeather/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather/spaceWeather.php) but don't ask me anything about the data/information #-o :oops:
 
Well done, and very easy to add to plugins.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 08, 2015, 03:08:11 PM
Have had the Space Weather installed for a couple of days and running fine so far.

Guess what, I've decided to try my hand at doing my own plugin  8-) It's pretty simple but I think it will go nicely with what you already have available. I plan to offer it to anyone who wants it so if you like it once it's available, feel free to put it on your downloads page. Since I don't really know PHP very well, it will serve as a good learning exercise for me.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 08, 2015, 05:37:44 PM
Thats great :-)

Maybe one thing though, it probably would be better if you let me know in advance what it is - first of all we could discuss what is/isnt possible, but more importantly, I have a very long list of things I want to add and I am working on more things at the same time, so it could be that I have already started on something similar, in which case I could send you what I have already and you could continue or I could tell you some ideas I have, just so that we dont both waste time doing the same thing :-)
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 11, 2015, 08:25:53 AM
great idea

anyway to include A index & K index figures   this is really usefull for any radio ham enthusiast monitoring for aurora activity at VHF , these figures I used frequently back in the UK however here in Turkey I live to far south to hear any auroral signals . k-index is forecast   a index is actual .  _._
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 11, 2015, 08:46:40 AM
I just checked what is/isnt possible and I think the K- and A- indices should most likely be possible to implement. I will write it down as something for future update of the plugin
Title: New plugin - Eclipses
Post by: Jáchym on August 11, 2015, 12:31:07 PM
A new plugin is now available called "Eclipses".

Features:

 - view information about solar and lunar eclipses using interactive sortable and filterable tables
 - calculate solar and lunar eclipse dates and view detailed info
 - information about solar and lunar eclipses in general, including some interesting facts
 - detailed statistics

Installation:
- no need to set up anything, just follow the standard procedure for installing updates described in the wiki

Demo: http://www.meteotemplate.com/template/plugins/eclipses/eclipses.php (http://www.meteotemplate.com/template/plugins/eclipses/eclipses.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=153 (http://meteotemplate.com/blog/?p=153)
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 11, 2015, 02:37:45 PM
Just installed Eclipses plugin and it seems to be working great. Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on August 12, 2015, 09:41:25 PM
Hi Jachym,

I have installed the eclipses plugin, but I am not showing any information. You can see it here (http://sacrey.info/meteotemplate/plugins/eclipses/eclipses.php).

Thanks,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 13, 2015, 05:17:02 AM
Hi,

just checked your site. It is caused by an error warning being displayed in the Ajax call, which messes up the final JSON.

The problem is you do not have timezone configured in your php.ini.

Try following the instructions here, or find out more about this problem:
http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings

If you are unable to get it fixed let me know and you can just turn off error reporting on that page, which will also solve the problem.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on August 13, 2015, 10:53:08 AM
Thanks Jachym. I will get that changed this evening.

John
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 14, 2015, 02:58:02 AM
Hello Jachym,

Have been looking at Meteotemplate, and noticed a Windows executable file named curl.exe in the Update folder. What is this file for?
I have a Mac so it's not something I can run of course.
Regards
Colin
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 14, 2015, 03:08:03 AM
I'll let Jachym respond to what he specifically uses it for, but in the mean time I thought this might help:

http://curl.haxx.se/
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 14, 2015, 04:47:05 AM
Thanks for the link Skyview.
A bit of reading to do until Jachym replies.

Regards
Colin
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 14, 2015, 05:11:54 AM
I believe he is using it for Cumulus updates but not sure what else if any.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2015, 06:17:54 AM
Hi Colin,

no worries, it says in the wiki too, this file is only as sort of "last reserve" for those that cannot/dont want to set up a CRON job and use Cumulus, which can otherwise not run the script at regular intervals.

I basically wrote the documentation and included this file at a time when I havent yet discovered the free CRON service, which I now recommend. So at that time, Cumulus could only be updated using either CRON run by your own server or your webhosting provider and since not all providers allow imnutely crons I needed a way of solving this problem.

Curl is a little program that can be run by standard Windows Task Scheduler and so you can perform the updates this way.

But I guess that now that I found that free service there really is absolutely no need to use this, even for Cumulus users.

So dont worry, the file is not used by the actual template at all.
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 14, 2015, 06:38:12 AM
Thanks for the info.
I wasn't worried about it - just curious.

Regards
Colin
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 16, 2015, 07:57:16 PM
Got eclipses added and it was easy as pie!  Thanks Jachym,

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 16, 2015, 08:51:35 PM
You are welcome, Im glad you like it :-)

New plugins on the way :)
Title: Meteotemplate - updated to version 1.2
Post by: Jáchym on August 18, 2015, 11:04:51 AM
This is just to let you know I have just released an update of Meteotemplate to version 1.2. This update includes several important bug fixes, little design tweaks, security fixes and the banner now uses different data source, which not only does not require API key, but based on testing of several users, provides much more accurate results. Also the settings dialog box no longer flashes on each page upon loading.

Also, the template is now available in new languages!

Detailed instructions as to how to update and also list of all changes available in the blog:
http://meteotemplate.com/blog/?p=158 (http://meteotemplate.com/blog/?p=158)

Demo available at meteotemplate.com has also been updated.
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 18, 2015, 11:53:21 AM
hi jachym

this is a non starter for me , using ipad i attach a screenshot
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 18, 2015, 12:04:04 PM
Hi,
yes, well portrait mode is problematic I am aware of that, and also I am aware of the fact that I have people reporting it does not behave well on Apple devices (Safari). The problem is that unlike all the other browsers, I cannot test Apple because I dont have any device from Apple.

Most of the web should work in at least landscape mode - the only problem is the weather station section, which also works relatively ok in landscape, but not on Apple.

My current plan is to make a plug in which will add a "mobile section" to the web, which will use jQuery Mobile and display the most important data and graphs. Hopefully I will get to it soon (the problem is people are requesting and suggesting new stuff every day so I have to prioritize :D)
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 18, 2015, 12:11:05 PM
it may help , you can use online browser test sites to analyse the output of various browsers/os it has helped me a few times with samsung (android) ,windows mobile tablets which I dont own but some of my clients do .  also dreamweaver allows you to code for many devices.

does it use bootstrap ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 18, 2015, 12:29:11 PM
Hi,
yes that is exactly what I do, I use these online viewers, but there is one big problem with that... you see a screenshot, but you cant access the console to see why something is not displaying properly, or sometimes you just see a blank page - you know something is wrong, but you cant tell what it is.

No I dont use bootstrap.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 18, 2015, 11:21:10 PM
Hi Jachym,
I have updated to v.1.2 and everything seems ok except I am getting this warning:
Warning:  fread(): Length parameter must be greater than 0 in /home/content/96/5379896/html/j-template/header.php on line 58
 
Line 58 in header.php is:
$json = fread($cached,filesize($baseURL."headerCache.txt"));
 
I had emptied the template's root "cache" folder and also deleted the headerCache.txt in the template's root.  A new aerisForecast.txt was recreated in the "cache" folder and a new headerCache.txt file with 0 size in the template's root (I have deleted this file and then refreshed and each time it recreates a 0 size headerCache.txt and then the warning pops up).
 
I have double checked that I have uploaded the new header.php.  Do I need to wait a while longer or did I miss something?
www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php)
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 19, 2015, 12:42:36 AM
Paul,

That happened to me when I was testing it pre-release. I guess the issue is not unique to me then.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2015, 05:01:12 AM
Hi Jachym,
I have updated to v.1.2 and everything seems ok except I am getting this warning:
Warning:  fread(): Length parameter must be greater than 0 in /home/content/96/5379896/html/j-template/header.php on line 58
 
Line 58 in header.php is:
$json = fread($cached,filesize($baseURL."headerCache.txt"));
 
I had emptied the template's root "cache" folder and also deleted the headerCache.txt in the template's root.  A new aerisForecast.txt was recreated in the "cache" folder and a new headerCache.txt file with 0 size in the template's root (I have deleted this file and then refreshed and each time it recreates a 0 size headerCache.txt and then the warning pops up).
 
I have double checked that I have uploaded the new header.php.  Do I need to wait a while longer or did I miss something?
www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php)
Thanks,
Paul

Hi Paul, did you see the post about the update in the blog? I think this could be due to the fact your location was not recognized, see if the post about the update helps, it describes how this new Yahoo banner works, I suspect it did not recognize the station location you have in your config.php, which is why it did not load. Try putting "ca" for stationCountry and "Komoka, On" for stationLocation.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 19, 2015, 07:19:07 AM
Thanks Jachym,
I did read the blog and maybe misunderstood a little.  I will relook at your suggestion when I am home this evening.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 19, 2015, 09:55:59 PM
Well, after several trials for stationLocation (tried 'Komoka' 'Komoka, ON' 'Komoka, Ont' 'Komoka, Ontario' none of which worked) I have finally got it working and with a valid headerCache,txt file by using stationLocation 'London' which is our local airport.  Is there any way I can have it show Komoka instead of London in the header?  It did do that with the header.php in version 1.1.
 
Paul
 
EDIT:
Just downloaded the created headerCache.txt file, when using stationLocation 'London', and see that it includes: http://us.rd.yahoo.com/dailynews/rss/weather/London__CA/*http://weather.yahoo.com/forecast/CAXX0255_f.html (http://us.rd.yahoo.com/dailynews/rss/weather/London__CA/*http://weather.yahoo.com/forecast/CAXX0255_f.html) and then entering the URL: https://weather.yahoo.com/forecast/CAXX0255_f.html (https://weather.yahoo.com/forecast/CAXX0255_f.html) part in browser it displays for me a correct Yahoo forecast for:
Komoka
ON, Canada
 
Possibly Yahoo recognizes my computer's location?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 20, 2015, 02:44:30 AM
Is there any way I can have it show Komoka instead of London in the header?  It did do that with the header.php in version 1.1.

Paul,

Search header.php for this:

Code: [Select]
                                       <td style="border: 0 solid #000000" align="center">
<span id="title1">
<?php 
echo $pageName
?>

</span>
<?php
echo "<br><span id='title2'>".$stationLocation."</span>";
?>

</font>
</td>

and replace the:
Code: [Select]
<?php echo "<br><span id='title2'>".$stationLocation."</span>";?> line with whatever you want it to display between the span tags. You could alternatively  just comment that out with a # symbol. That's what I did on my site, because my site title is Fuquay Varina Weather and my location is Fuquay Varina, so I thought it looked redundant and odd to have it there twice, so I just commented out the location line and increased the font size of the title. Hope this helps.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2015, 06:48:11 AM
Hi,

thanks for answering that.

I was thinking about this when I introduced the yahoo banner. First idea was to have settings in the header.php for specifying the location, but then I thought it would again cause problems because many people would forget to fill it in etc. and so I thought I will try to use the location already specified in config.php. Unfortunately I did not realize that if you live in a smaller town or if you simply filled in whatever text, this is not going to work.

A solution to this is either hard-coding the text in the header.php or create a new variable in the PHP of the header and then, where the location is specified in the URL, change the stationLocation to whatever name you gave that variable.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 20, 2015, 07:22:36 AM
Thanks, I will give that a try this evening.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2015, 08:00:46 AM
Or you can do it the other way around. Leave stationLocation to whatever you want to appear in the header text, but intead, hard-code the URL for retrieving the forecast from Yahoo.

In other words find the suitable location using the yahoo website and look at the address and then change this accordingly in the header.php, you will see there is a parameter called "url" which specifies the URL from which to retrieve the current conditions.

If you need help simply send me link to the place you found on yahoo that is the most suitable and I will find the URL for you. And you can then set stationLocation to anything you like.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 20, 2015, 10:59:30 PM
I have used David's suggestion and hard coded my location to replace the echo $stationLocation. 
I am one that doesn't like weather sites that don't show a commonly understood city and State/Prov or Country and just use a local place or nickname to which I cannot identify :evil: .
 
Thanks for your suggestions.
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 20, 2015, 11:17:27 PM
Quote
If you need help simply send me link to the place you found on yahoo that is the most suitable and I will find the URL for you. And you can then set stationLocation to anything you like.
Thanks Jachym,
It may be nice to get the actual forecast for Komoka...
London, ON (nearby larger centre and international airport CYXU which is the one I am using): https://weather.yahoo.com/canada/ontario/london-4063/ (https://weather.yahoo.com/canada/ontario/london-4063/)
Komoka village (about 20 miles west of airport): https://weather.yahoo.com/canada/ontario/komoka-23401736/ (https://weather.yahoo.com/canada/ontario/komoka-23401736/)
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 21, 2015, 12:17:36 AM
I have used David's suggestion and hard coded my location to replace the echo $stationLocation. 
I am one that doesn't like weather sites that don't show a commonly understood city and State/Prov or Country and just use a local place or nickname to which I cannot identify :evil: .
 
Thanks for your suggestions.
Paul

Glad it worked for you Paul  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 22, 2015, 03:59:27 AM
It may be nice to get the actual forecast for Komoka...
London, ON (nearby larger centre and international airport CYXU which is the one I am using): https://weather.yahoo.com/canada/ontario/london-4063/ (https://weather.yahoo.com/canada/ontario/london-4063/)
Komoka village (about 20 miles west of airport): https://weather.yahoo.com/canada/ontario/komoka-23401736/ (https://weather.yahoo.com/canada/ontario/komoka-23401736/)

Paul, in your config.php just for kicks have you tried "Komoka,ON" without the space between the two? If not, you might give that a try in the interim. If that's doesn't work you could also try "Komoka,ON,CA" again no spaces.

Also, just an FYI to anyone updating to v1.2 of the template, you need to edit this line in your config.php to add support for the additional languages included in the update. It's near the top of the file.

Code: [Select]
$langAvailable = array("gb","cz","dk","es","it","nl","no"); // available languages (files must be included in the lang directory)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 22, 2015, 10:42:09 AM
Thanks David for your suggestions \:D/ .
Komoka,ON works but not if there is a space after the comma
Komoka,ON,CA and Komoka,ON,CANADA both work as well but not if there is a space after the comma.
I prefer to have spaces there but will accept as is.  Doing it this way rather than hard code the stationLocation is best as it also then shows the same in the menu INFO tab rather than "London" by hard coding (will have to remember to update both the Station and Location details in INFO #-o )
 
I also found that Yahoo appears to have a different forecast for Komoka than for London (very minor but I did see a difference in hi/lo temps when testing headings.php).  Since our village is just across from the Thames River away from London city I just presumed the forecasts would be the same as taken from the Environment Canada London CYXU airport location.  But then I also recall that Environment Canada often has different Watches and Warnings for Komoka and areas west of London City, especially winter snow squalls from Lake Huron, so the different Yahoo forecast seems reasonable.
 
Again thanks for your help.
 
Enjoying,
Paul
 
edit: Lower case "On" and "Canada" also work.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 22, 2015, 04:47:54 PM
You're quite welcome. Glad it fixed the problem for you. I just stumbled on it as I was diagnosing my own issue getting the banner to work with v1.2. Turns out, mine was a combination issue. This, and I have to use a hyphen in my location (it's referred to both ways) for it to recognize it properly.

FYI, it's really simple/easy to change the label for the menu items in the menu.php as well. The only issue that causes really is if you want to support multiple languages.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2015, 04:59:35 PM
I guess the best thing to do probably is to actually find the right location using yahoo and then hard-coding the URL in header.php for the yahoo forecast and stationLocation can then be set to anything.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 22, 2015, 08:14:07 PM
Going to be attempting to implement this today on my site :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2015, 09:25:13 PM
Great, let me know if you have any problems or uncertainties :)
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 22, 2015, 09:29:40 PM
Great, let me know if you have any problems or uncertainties :)
I'm having a few problems at the moment but I'm sure its me just not doing something properly hehe.

Here is where I have the template setup at the moment http://ajaxweather.ca/template/
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 22, 2015, 09:46:22 PM
Great, let me know if you have any problems or uncertainties :)
I'm having a few problems at the moment but I'm sure its me just not doing something properly hehe.

Here is where I have the template setup at the moment http://ajaxweather.ca/template/
Here are the errors I'm getting:
Warning: fread(): Length parameter must be greater than 0 in /home/aidan/public_html/template/header.php on line 58

Warning: fopen(cache/aerisForecast.txt): failed to open stream: No such file or directory in /home/aidan/public_html/template/index.php on line 167

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aidan/public_html/template/index.php on line 168

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/aidan/public_html/template/index.php on line 169
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2015, 10:06:00 PM
Possible problems:
unrecognized stationLocation by Yahoo weather - try finding a location closest to your place in yahoo weather, then hard-code this location in the URL of header.php

unrecognized Aeris weather API key - get one at aeris weather (see wiki)
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 22, 2015, 10:09:14 PM
Possible problems:
unrecognized stationLocation by Yahoo weather - try finding a location closest to your place in yahoo weather, then hard-code this location in the URL of header.php

unrecognized Aeris weather API key - get one at aeris weather (see wiki)
would this be the link? https://ca.weather.yahoo.com/canada/ontario/ajax-6/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2015, 10:32:28 PM
Its atmosfér 5am i will look at it tomorrow
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 22, 2015, 11:26:55 PM
Quote
would this be the link? https://ca.weather.yahoo.com/canada/ontario/ajax-6/
If you don't know the url that Jachym suggests then in your config.php for stationLocation try Ajax or Ajax,On without any spaces; and using the template zip original header.php. 

Paul
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 22, 2015, 11:39:36 PM
Quote
would this be the link? https://ca.weather.yahoo.com/canada/ontario/ajax-6/
If you don't know the url that Jachym suggests then in your config.php for stationLocation try Ajax or Ajax,On without any spaces; and using the template zip original header.php. 

Paul
Thanks for the response! Like this: $stationLocation = 'Ajax,On'; ?
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 22, 2015, 11:53:00 PM
Quote
would this be the link? https://ca.weather.yahoo.com/canada/ontario/ajax-6/
If you don't know the url that Jachym suggests then in your config.php for stationLocation try Ajax or Ajax,On without any spaces; and using the template zip original header.php. 

Paul
Ah it worked! Thx!
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 23, 2015, 03:19:55 AM
Well, that's at least 3 people who have had issues with space or no space. Might be worthy of making a change to the blog post for v1.2 so that people know (i.e. bold it) to not use a space.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2015, 06:21:11 AM
Hi,
I agree, and it might also be worth automatically removing spaces by the script in 1.3 lol
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 23, 2015, 09:35:21 AM
Quote
Ah it worked! Thx!
That's great and you've made tremendous progress...
The plugins are next...
 
Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 23, 2015, 01:44:01 PM
I'm now getting this error in meteobridge: no   HTTP Upload:   2015-08-23 13:40:44 Error: (no more tries)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2015, 02:11:42 PM
copy the URL for your HTTP upload you have set in meteobridge
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 23, 2015, 02:14:26 PM
copy the URL for your HTTP upload you have set in meteobridge
Hmm it was showing that but still uploading data. That's weird.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2015, 02:28:00 PM
well I guess if your db is being updated you dont have to worry about it.... MB sometimes shows "interesting" stuff :D (personal experience)
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 23, 2015, 03:30:19 PM
well I guess if your db is being updated you dont have to worry about it.... MB sometimes shows "interesting" stuff :D (personal experience)
If I'm doing 30 minute uploads instead of 5 should the numbers in meteobridge (eg. [wind0wind-max5]) be changed to 30 instead of 5?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2015, 04:56:09 PM
Yes, but I highly recommend using the settings specified in the wiki.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 24, 2015, 03:09:48 PM
Yes, but I highly recommend using the settings specified in the wiki.
Hmm my site is currently showing that the apparent temperature is BELOW the ambient temperature. Is something wrong or is winter coming back that quick? lol
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2015, 05:23:10 PM
The apparent temperature can quite easily be below the normal temp, it is calculated based on temperature, humidity and wind speed. This means that a particular combination of low humidity and higher wind speed can easily lower the apparent T. The formula used for calculating this is actually quite complex and based on the standard formula for calculating this,
Title: New plugin - Weather History
Post by: Jáchym on August 24, 2015, 06:23:55 PM
A new plugin is now available called the "Weather History".

I got the idea of making this plugin when I saw the script for showing "On this day" weather events. This plugin however goes a step further and includes more information - info about significant tornadoes, earthquakes, but I have also gathered info about world weather extremes (not just US), etc.

Most importantly however, the script also uses data from your station! So you will see data for that particular day based on your own station data - for example you might see "Warmest day of the month", "Absolute minimum temperature was measured on this day in 2014 at 12.55" etc. This makes it quite interesting because you are not just seeing data from external sources.

Installation cannot be simpler - there is nothing you need to set up, just download and upload to your server. The plugin also uses your config.php setting for solar sensor, so if you do have one, it will also use data from it, if not, it will not do any calculations with regards to solar radiation.
 
Demo: http://www.meteotemplate.com/template/plugins/history/history.php (http://www.meteotemplate.com/template/plugins/history/history.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=166 (http://meteotemplate.com/blog/?p=166)
Title: Re: New plugin - Weather History
Post by: AjaxKnights29 on August 24, 2015, 06:25:32 PM
A new plugin is now available called the "Weather History".

I got the idea of making this plugin when I saw the script for showing "On this day" weather events. This plugin however goes a step further and includes more information - info about significant tornadoes, earthquakes, but I have also gathered info about world weather extremes (not just US), etc.

Most importantly however, the script also uses data from your station! So you will see data for that particular day based on your own station data - for example you might see "Warmest day of the month", "Absolute minimum temperature was measured on this day in 2014 at 12.55" etc. This makes it quite interesting because you are not just seeing data from external sources.

Installation cannot be simpler - there is nothing you need to set up, just download and upload to your server. The plugin also uses your config.php setting for solar sensor, so if you do have one, it will also use data from it, if not, it will not do any calculations with regards to solar radiation.
 
Demo: http://www.meteotemplate.com/template/plugins/history/history.php (http://www.meteotemplate.com/template/plugins/history/history.php)
Download: http://www.meteotemplate.com/download/plugins/usExtremes_1.0.zip (http://www.meteotemplate.com/download/plugins/usExtremes_1.0.zip)
Info/comments: http://meteotemplate.com/blog/?p=166 (http://meteotemplate.com/blog/?p=166)
Awesome! Going to implement it right now! Loving this template!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2015, 06:34:42 PM
Thanks, installation should be as easy as 1,2,3... just download and upload :D

I appreciate any feedback (positive and also negative of course, it is always good to hear what can be added, improved, fixed etc.) :) You can use the blog for this.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 24, 2015, 06:36:33 PM
Running on my page at: http://ajaxweather.ca/plugins/history/history.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 24, 2015, 09:38:34 PM
It was as easy as 1,2,3 and 4 - download the zip, unzip and upload one folder to website, edit menu.php and upload, edit lang/gb.php and upload ;)  Very informative!
 
Looking at ajaxknights29 site I see he has data in Station data Records but I don't have any in my Records page http://www.komokaweather.com/j-template/plugins/history/history.php (http://www.komokaweather.com/j-template/plugins/history/history.php).  Is that because he has new records due to new database, and there were no new records today for me in my 7 years of data?
 
Also "-- no data for this day --" in World Records and F5 Tornadoes.
 
For new scripts suggestion, how about a table of "this calendar date" high, lows, etc. similar to http://www.komokaweather.com/komokaweather-ca/wxthisdate.php (http://www.komokaweather.com/komokaweather-ca/wxthisdate.php)
 
Again well done Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2015, 09:46:22 PM
It was as easy as 1,2,3 and 4 - download the zip, unzip and upload one folder to website, edit menu.php and upload, edit lang/gb.php and upload ;)  Very informative!
 
Looking at ajaxknights29 site I see he has data in Station data Records but I don't have any in my Records page http://www.komokaweather.com/j-template/plugins/history/history.php (http://www.komokaweather.com/j-template/plugins/history/history.php).  Is that because he has new records due to new database, and there were no new records today for me in my 7 years of data?
 
Also "-- no data for this day --" in World Records and F5 Tornadoes.
 
For new scripts suggestion, how about a table of "this calendar date" high, lows, etc. similar to http://www.komokaweather.com/komokaweather-ca/wxthisdate.php (http://www.komokaweather.com/komokaweather-ca/wxthisdate.php)
 
Again well done Jachym,
Paul

Hi Paul,
Yes you are exactly right, a very small db means you break records often...

No data simply means that for that day there were no events found, with regards to tornadoes, those are mostly in the spring and early summer.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 24, 2015, 09:47:05 PM
It was as easy as 1,2,3 and 4 - download the zip, unzip and upload one folder to website, edit menu.php and upload, edit lang/gb.php and upload ;)  Very informative!
 
Looking at ajaxknights29 site I see he has data in Station data Records but I don't have any in my Records page http://www.komokaweather.com/j-template/plugins/history/history.php (http://www.komokaweather.com/j-template/plugins/history/history.php).  Is that because he has new records due to new database, and there were no new records today for me in my 7 years of data?
 
Also "-- no data for this day --" in World Records and F5 Tornadoes.
 
For new scripts suggestion, how about a table of "this calendar date" high, lows, etc. similar to http://www.komokaweather.com/komokaweather-ca/wxthisdate.php (http://www.komokaweather.com/komokaweather-ca/wxthisdate.php)
 
Again well done Jachym,
Paul

Hi Paul,
Yes you are exactly right, a very small db means you break records often...

No data simply means that for that day there were no events found, with regards to tornadoes, those are mostly in the spring and early summer.
Yeah I've pretty much set every record in the book today ;)
Title: Re: New plugin - Weather History
Post by: Skyview on August 25, 2015, 12:12:08 AM
A new plugin is now available called the "Weather History".

I got the idea of making this plugin when I saw the script for showing "On this day" weather events. This plugin however goes a step further and includes more information - info about significant tornadoes, earthquakes, but I have also gathered info about world weather extremes (not just US), etc.

Most importantly however, the script also uses data from your station! So you will see data for that particular day based on your own station data - for example you might see "Warmest day of the month", "Absolute minimum temperature was measured on this day in 2014 at 12.55" etc. This makes it quite interesting because you are not just seeing data from external sources.

Installation cannot be simpler - there is nothing you need to set up, just download and upload to your server. The plugin also uses your config.php setting for solar sensor, so if you do have one, it will also use data from it, if not, it will not do any calculations with regards to solar radiation.
 
Demo: http://www.meteotemplate.com/template/plugins/history/history.php (http://www.meteotemplate.com/template/plugins/history/history.php)
Download: http://www.meteotemplate.com/download/plugins/usExtremes_1.0.zip (http://www.meteotemplate.com/download/plugins/usExtremes_1.0.zip)
Info/comments: http://meteotemplate.com/blog/?p=166 (http://meteotemplate.com/blog/?p=166)

You linked to the usExtremes plugin instead of the Weather History plugin.  :grin:

I also just got it installed. Works great. Thanks! I made a little mod to it as well  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2015, 07:01:33 AM
It was as easy as 1,2,3 and 4 - download the zip, unzip and upload one folder to website, edit menu.php and upload, edit lang/gb.php and upload ;)  Very informative!
 
Looking at ajaxknights29 site I see he has data in Station data Records but I don't have any in my Records page http://www.komokaweather.com/j-template/plugins/history/history.php (http://www.komokaweather.com/j-template/plugins/history/history.php).  Is that because he has new records due to new database, and there were no new records today for me in my 7 years of data?
 
Also "-- no data for this day --" in World Records and F5 Tornadoes.
 
For new scripts suggestion, how about a table of "this calendar date" high, lows, etc. similar to http://www.komokaweather.com/komokaweather-ca/wxthisdate.php (http://www.komokaweather.com/komokaweather-ca/wxthisdate.php)
 
Again well done Jachym,
Paul

OK, I will see, I guess making similar page will be easy. Just wondering though, I just went to your normal webpage and is there a way to get to the meteotemplate site? Or do you keep it as a secret :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 25, 2015, 09:57:18 AM
Oops and  :oops:
I have a link on my main www.komokaweather.com (http://www.komokaweather.com) site but have forgotten to add it to www.komokaweather.ca (http://www.komokaweather.ca).
 
That will be fixed soon :)
 
Regards,
Paul
 
EDIT: Now added
EDIT 2: I could look at making the alternate sites' links more visible but both pages are already very busy.  Maybe need to get another domain? :P
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2015, 10:41:24 AM
LOL...

dont worry about it, in fact I noticed lot of people dont put a link to it, some have it somewhere in the menu, some not at all, I guess people usually use it more for their own info, its up to everyone how they want to link it if at all.

Btw. I will try to make something similar to what you have suggested with the past yrs data, maybe a bit more advanced of course :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 25, 2015, 11:38:04 AM
Quote
maybe a bit more advanced of course (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
yes I assumed and hoped for that.  My little script was my first MySQL ever on my own (still borrowing much code from others such as your min/max).
 
Re template link; when I added the Saratoga template several years ago I had to decide which would be directly from my main domain and which would be as an alternate, and decided my Cumulus based would be the main for sentimental and other reasons.  Then I discovered, since I had got both komokaweather .com and .ca when I first got my domains, that I could use the .ca for the Saratoga template.  I could likely get komokaweather. org or such but that likely will not be any more visible than linking to j-template as I do now.  I had tested the Lueven template a few years ago and that then was the same issue - how to show it, and as an alternate site seemed to be the best. (since there is virtually no limit what we can do I may need to download and install the current leuven).  Your template is excellent Jachym, and more and more people will see it and give it a try and use as their home site.
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 25, 2015, 12:52:10 PM
HI jachym

i been looking at your template and trying to understand why it dont function properly in safari or ipad,iphone etc...

so this line

<object data="redirect.php?url=liveData.php"></object>


what happens if you change it to
<?php
include_once('http://www.meteotemplate.com/template/pages/station/liveData.php');
?>
or

if i access through safari /  ipad this url i see the data http://www.meteotemplate.com/template/pages/station/liveData.php so I am guessing the object data needs to be specified as a type <object type="text/plain" data="redirect.php?url=liveData.php">


hope it helps

 brian
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2015, 06:20:56 PM
Hi Brian,

thank you very much! This surely helps and it makes sense! The problem is that until now I had no clue what is wrong and which line is causing the error... all I had was reports from people that it does not work and screenshots from online testing sites, where I saw a blank page :-)

I will see if it helps and try to work with the screenshots to see if the problem is solved. Unfortunately I dont have access to any Apple device, but what you just told me really helps!

Thanks!
Title: New plugin - Year Comparison
Post by: Jáchym on August 26, 2015, 12:40:13 PM
A simple new plugin, which shows comparison of weather conditions across years in the database.

Features:

- calculation of statistics for various parameters for a user specified day of the year
- calculations of deviations
- simple graphical representation of the values
- units based on user settings

Installation:

- no installation (just download and upload to plugin folder, no need to set up anything)
 
Demo: http://www.meteotemplate.com/template/plugins/yearComparison/comparison.php (http://www.meteotemplate.com/template/plugins/yearComparison/comparison.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=168 (http://meteotemplate.com/blog/?p=166)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 26, 2015, 01:01:11 PM
Looks great Jachym, can't wait to get home and plug it in. 

Unlike your current temps I expect our 2015 will be well below my 7 year average.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 26, 2015, 01:59:09 PM
Well, I'll go ahead and install it but I'll have to wait until next year for any comparison lol!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2015, 02:18:43 PM
LOL....

I was actually considering including a note in the announcment "Do not install if your db is shorter than 1 yr", but then I rather implemented a fix, which will just display a message there is no data for that day :)

So you saved yourself work for next yr :D - Im happy you assume you will still be using this yr from now and wont get bored of it :D
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 26, 2015, 03:07:31 PM
LOL....

I was actually considering including a note in the announcment "Do not install if your db is shorter than 1 yr", but then I rather implemented a fix, which will just display a message there is no data for that day :)

So you saved yourself work for next yr :D - Im happy you assume you will still be using this yr from now and wont get bored of it :D

I plan to run it for many years. Of course it will evolve over time both through standard version updates and through my own modifications. Makes me think of something though. Do you envision future versions of existing plugins? Right now, they are autonomous from the base template, but what if you need to make updates or add features, will they then have some revision number, etc.?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2015, 03:28:53 PM
Yes of course, currently all plugins are 1.0, you can see the version number here too:

http://www.meteotemplate.com/web/plugins.php
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 26, 2015, 04:45:45 PM
I got the Year Comparison installed, but I modified the heading a bit as I thought it needed a name  ;)

http://www.fvweather.com/plugins/yearComparison/comparison.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 26, 2015, 08:27:22 PM
Hi Jachym,
Got the yaerComparison downloaded and installed very quickly.http://www.komokaweather.com/j-template/plugins/yearComparison/comparison.php (http://www.komokaweather.com/j-template/plugins/yearComparison/comparison.php).  Nice comparisons to same date of previous years =D&gt; .  I think the History page provides somewhat similar data and is that history data say the temperature x years ago at the same time that a user opens that page?
 
Now for another nit-picky thing #-o
The current conditions page in the Weather tab shows a WS image and description on the upper right - for me the text says Davis Pro 2 which is correct.  I suspect the image of the WS is a Fine Offset like you have.  Any way that image can be a Davis ;)   I think it is station.png?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2015, 08:48:46 PM
Yes it is the station.png, I will make several versions of that icon soon and they will be available for download.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 26, 2015, 09:48:41 PM
Often a step or so ahead =D&gt;  Look forward to the VP2 and others likely the Vue!
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 02:49:42 AM
Hello Jachym,

I have having a little trouble getting this to work.
I created MYSQL database and received no errors so I guess that it's okay.
I ran the tableCreate.php and got a message "table created" so that must be okay.
Then I set up Meteobridge Push Services, copied and pasted the string, making changes to to my domain and path etc
The string contained '/template/upload/' but I changed it to '/weather/update/'
Sort of works, but there is no formatting and no values are present on the page.
How can I see if MYSQL database is being populated?

Regards
Colin


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2015, 04:51:05 AM
Hi Colin,

can you send me a link to your website? Good news is that Meteobridge is probably the least problematic in terms of setting up.
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 05:16:23 AM
Thanks for looking at it Jachym.

I forgot to mention the graphics are missing as well

Here is the link manorts.com/weather/index.php


EDIT: and I just queried to database with the command show tables and all that displayed was one word .... alldata

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2015, 05:43:13 AM
Hi,

well it seems like the db is being updated and data saved, but it is difficult to tell, because lot of files are missing, have you not uploaded anything? Like images, pages etc? I think that the db should be ok now, but as I said, unless you upload the core files of the template I cannot tell if it is working correctly obviously.
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 06:12:39 AM
Mmmm. Here is what I did.
I downloaded meteotemplate_1.2.zip and extracted all to an empty directory on my local hard drive.
Then I made a directory on my server root and named it weather.
Next I made the changes needed to config.php then uploaded all the contents of the directory named template to the weather directory on my server root.
Looking at the server, all the files and directories have the same structure as the contents of the zip file.
The only difference is zip file's main directory is named template and the main directory on my server is named weather.
Regards
Colin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2015, 06:17:11 AM
OK, it is probably just a path issue.

Post here what you have in your config.php for the following:
pageURL and path

EDIT:
I just checked your site again, you didnt set up config.php properly, you are trying to fetch the files from meteotemplate.com, but using wrong URL. Post the above two parameters here and I will tell you what they need to look like.
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 06:23:56 AM
You mean this?

Code: [Select]
$path = "/weather/"; // path to the template folder
$baseURL = $_SERVER['DOCUMENT_ROOT'].$path;


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2015, 06:27:02 AM
Well thats just the first part, did you read the wiki?

I explicitly emphasized the pageURL parameter, that one you probably have not set and in the wiki I mentioned that this is crucial for the template to work, please see:

http://www.meteotemplate.com/wiki/doku.php?id=install4

Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 06:28:45 AM
Oh yes, I see now. I'll change it and try again. I read it several time, but obviously did not sink in.
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 06:34:27 AM
What a dumb mistake  :oops:

I can now make some changes to the site now that it's mostly working.

Thanks for your time and extreme patience.

Regards
Colin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2015, 06:39:30 AM
No problems, important thing is it works. Have fun setting it up, basically the most problematic part is done now, your db is being updated and data are on the web.

Now just set up config to match your country, units etc. and then you can install plugins if you like any.

Feel free to contact me any time if something does not work, you have some suggestion, question etc. Either here or via the blog.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 27, 2015, 09:49:58 AM
Looks good Colin, well done... and a lot easier when Jachym is there to give a welcome hand.
 
Paul
Title: Extra features
Post by: Jáchym on August 27, 2015, 11:25:50 AM
At www.meteotemplate.com you will now find a new section Extras. This section will contain some extra features, which you can download to tweak your template.

First extra is a set of weather station icons, which you can save and replace the default weather station icon in your weather station section of the template. Simply choose the one which best matches your station and replace the station.png in the icon section.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 27, 2015, 12:37:15 PM
Excellent, thanks Jachym. I now show my Davis VP2 image  \:D/ http://www.komokaweather.com/j-template/pages/station/index.php (http://www.komokaweather.com/j-template/pages/station/index.php)
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2015, 01:37:08 PM
Nice :) And good choice of station :D
Title: Re: Meteotemplate - new free website template
Post by: Skyview on August 27, 2015, 02:35:38 PM
Got the Vantage VUE icon in place. Looks a lot better seeing a correct representation of the hardware next to "Davis Vantage VUE"  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 07:39:17 PM
Looks good Colin, well done... and a lot easier when Jachym is there to give a welcome hand.
 
Paul

Thanks PaulMy,

I still have a lot to learn and do but this forum is a wealth of information.
Smart young man is he.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 27, 2015, 09:47:01 PM
Jachym,

Would it be possible to add the KP Index to the space weather plugin? Most people rely on the KP Index for aurora info.

Thanks in advance!
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 27, 2015, 11:53:33 PM
When using my Mac and Safari browser I get an error about a missing plugin when viewing the current conditions on every site I go to that uses Meteotemplate.
I installed Firefox on the Mac and the pages display okay. Looks like I may have to abandon Safari  :?

However when using my Windows laptop the pages display okay with both Firefox and Safari.
It seems Safari for OSX is a lot different than Safari for Windows.






Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 28, 2015, 05:08:16 AM
When using my Mac and Safari browser I get an error about a missing plugin when viewing the current conditions on every site I go to that uses Meteotemplate.
I installed Firefox on the Mac and the pages display okay. Looks like I may have to abandon Safari  :?

However when using my Windows laptop the pages display okay with both Firefox and Safari.
It seems Safari for OSX is a lot different than Safari for Windows.

Yes, I already mentioned this here a few times, I am aware of this, the problem is that as you said yourself, I test various browsers, but obviously there is no way for me to test Apple, I dont have any Apple device to test it. But I will try to find some solution, it is just hard when you dont see the result yourself...
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on August 28, 2015, 06:07:42 AM
When using my Mac and Safari browser I get an error about a missing plugin when viewing the current conditions on every site I go to that uses Meteotemplate.
I installed Firefox on the Mac and the pages display okay. Looks like I may have to abandon Safari  :?

However when using my Windows laptop the pages display okay with both Firefox and Safari.
It seems Safari for OSX is a lot different than Safari for Windows.

Yes, I already mentioned this here a few times, I am aware of this, the problem is that as you said yourself, I test various browsers, but obviously there is no way for me to test Apple, I dont have any Apple device to test it. But I will try to find some solution, it is just hard when you dont see the result yourself...
I tested http://www.meteotemplate.com/template/pages/station/index.php

The message in Safari-Mac is generated for the line with:

Code: [Select]
<object data="redirect.php?url=liveData.php"></object>
===

Other browsers handle that as an type of iframe statement but  without the iframe code itself, resulting in  extra
Code: [Select]
< ! DOCTYPE and < html and so on in the middle of your page.

Succes, Wim
Title: Eclipses - bug fixed
Post by: Jáchym on August 29, 2015, 11:56:07 AM
Hi,

just a quick note - there was a bug in the eclipses plugin, which caused that the upcoming eclipse date was not showing correctly. I fixed it and the file in the download section is now updated with the fix.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on August 29, 2015, 11:34:46 PM
Not sure if you're taking these but I have a plug in suggestion!

A weather blog plugin!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 30, 2015, 09:20:00 AM
Not sure if you're taking these but I have a plug in suggestion!

A weather blog plugin!

You can use this:
http://meteotemplate.com/blog/?page_id=63

But in this case I in fact already considered this and it is planned :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 30, 2015, 01:39:13 PM
Hi Jachym,
I have downloaded the full eclipses plugin and unzipped, and uploaded the full plugin.  All looks ok.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 30, 2015, 01:52:16 PM
Hi Jachym,
I have downloaded the full eclipses plugin and unzipped, and uploaded the full plugin.  All looks ok.
 
Paul

Great, there are basically no changes, just a bug fixed. Now the default loaded eclipse corresponds to the upcoming one correctly. There was a bug. It is a bit problematic dealing with dates in PHP, which are long way back or forward.
Title: Meteotemplate News
Post by: Jáchym on September 04, 2015, 02:56:58 PM
Hi guys, just a little update about what is currently in progress.

There have been no new plugins recently and also no updates to the page - this is however because there is a major update coming, which will introduce some new features as well as improve the current ones and this includes design tweaks, speed optimization, wider compatibility and support for more programs, new languages etc. I really think you have something to look for. Upgrade will still be relatively simple, although more files will need to be replaced (should take about 5 mintues in total) and there will be detailed instructions and changelog.
New version is currently being tested thoroughly and hopefully will be available within a few days. I will then continue with work on new plugins, I also plan to make polls to see which plugins are most wanted. You can subscribe to the meteotepmlate blog to get regular updates by email so that you dont miss anything.

One last thing :-) It was suggested to me by one of the users if I could call the versions with a name too. So I thought why not... I decided that I will use fruits to differentiate between different versions. The current version I called simply Meteotemplate 1.2 Strawberry (the particular fruits are chosen totally randomly). The logo is now also part of the demo at meteotemplate.com.

(http://www.meteotemplate.com/template/icons/versions/12strawberryBlackSmall.png)
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 08:45:09 AM
Hi Jachym,
Excellent job.  =D&gt;
I installed in my 3 web site the Meteotemplate

1) www.sv2bzq.gr/template/ (http://www.sv2bzq.gr/template/) (WLip)
2) http://makrigialos.sv2bzq.gr/template/ (http://makrigialos.sv2bzq.gr/template/) (Meteobridge)
3) http://pentalofos.sv2bzq.gr/template/ (http://pentalofos.sv2bzq.gr/template/) (Meteobridge)

works fine ..... but I do not understand how can I do installation from WU the historical of the station ...

George.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2015, 09:19:46 AM
Hi,
what exactly do you mean, you want to import your history data from WU?
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 09:31:26 AM
Hi,
what exactly do you mean, you want to import your history data from WU?

yes ....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2015, 09:37:50 AM
It should be farily easy, there is a script for it that will do it automatically.

Try following the instructions here:
http://www.meteotemplate.com/wiki/doku.php?id=wuimport

If you are unable to figure it out let me know and I will import it for you and create you the database.
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 09:54:34 AM
ok ...
but do not understand what I have to put in " column "
I did a test writes me that he put 6500 records but I do not see anything ....
What am I doing wrong ?

George .

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2015, 10:03:21 AM
It says this in the description, the column numbers are the numbers corresponding to particular parameters...

ok, just send me your WU station ID and I will tell you what to put in.
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 10:07:13 AM
It says this in the description, the column numbers are the numbers corresponding to particular parameters...

ok, just send me your WU station ID and I will tell you what to put in.

Ok Thank you very much .
WU ID  1) ITHESSAL6
           2) IGRPIERI2
           3) IU039CU05

George .
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2015, 10:28:21 AM
OK, so lets try the first one: ITHESSAL6

Fill it as follows:
Temperature   1
Humidity   8
Pressure   3
Wind speed      6
Wind gust    7
Daily rain   12
Hourly precipitation   9
Wind Direction Degrees     5
Solar radiation   13
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 10:44:49 AM
OK, so lets try the first one: ITHESSAL6

Fill it as follows:
Temperature   1
Humidity   8
Pressure   3
Wind speed      6
Wind gust    7
Daily rain   12
Hourly precipitation   9
Wind Direction Degrees     5
Solar radiation   13

Ok works fine ....
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 11:18:58 AM
The same is for the others WU ID  ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2015, 11:30:35 AM
The other two both:

Temperature  1
Pressure   3
Wind Direction  5
Wind Speed  6
Wind Gust  7
Humidity 8
Hourly Precip 9
daily rain 12

for these there is no solar sensor, so leave that one blank
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 11, 2015, 04:08:58 PM
all ok Jachym,
Thanks very match for help ......


George .
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2015, 04:54:40 PM
No problem, Im glad it worked :) If you need help with anything else let me know.
Title: Meteotemplate 2.0 Watermelon
Post by: Jáchym on September 12, 2015, 11:51:48 AM
Hi guys,

a major update of the Meteotemplate has just been released.

Meteotemplate 2.0 Watermelon is now available for download, including update info on the blog. The demo at meteotemplate.com has now also been upgraded to version 2.0.

Main new features:
- much higher potential for future development (new plugins are also ready and will be released soon :-)
- easier navigation
- W3C validity and use of HTML 5.0 (over 100k errors fixed :-)
- new languages (french, german, slovak)
- better compatibility (now works also on Apple devices)
- new update scripts allowing more users to use the template (WView, WU, Meteohub)
- new features - email notifications etc.
- bug fixes

Detailed info about what is new, why and especially how to upgrade/install is available at the link below

INFO: http://meteotemplate.com/blog/?p=181 (http://meteotemplate.com/blog/?p=181)
(http://meteotemplate.com/template/icons/versions/20watermelonBlackSmall.png)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 13, 2015, 11:58:20 AM
Great job Jachym  =D&gt; I don't like watermelons but your template looks good , errormail works fine too  \:D/

http://apeldoorn.tk/meteo (still beta setup) works fine on nexus 10 android , a littele too big for windowphone lumia640

FYI scrrenshot from Edge win 10 (not my favorite browser but the pages render fine)(http://www.wxforum.net/index.php?action=dlattach;topic=26825.0;attach=19252;image)
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on September 13, 2015, 12:04:27 PM
Upgraded to Version 2.  Seems faster and menu is much nicer.
Thanks for all the time you spend.
Tom
Title: New plugin - Annual Normals
Post by: Jáchym on September 13, 2015, 12:19:36 PM
As promised, version 2 now offers much better grounds for further development so here is another plugin, related directly to your station data again.

Features:

comparison of data using a polar chart
data break down by years and months
overall normals
summary table
table with deviations from normal

Install instructions:

Unzip, paste to plugins folder, add link to menu :-) Cannot be simpler ;)
 
Demo: http://www.meteotemplate.com/template/plugins/yearNormals/normals.php (http://www.meteotemplate.com/template/plugins/yearNormals/normals.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=200 (http://meteotemplate.com/blog/?p=200)

Note: the plugin should still be fully compatible with versions 1.x though I do recommend upgrading to v2.0 Watermelon
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 02:15:28 PM
Have been trying to get updated to v2.0 but have run in to a problem.  When I did the update the new pages displayed but I got the Incorrect upload password! for updating the database.  Eventually decided to go back to v1.2 and now get the same message and the template is not showing my stations data www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php)
 
I also now get the Incorrect upload password! message when I do a manual (url /cumulus.php) update.
 
I have gone back to a backup of config.php and cumulus.php from when that was working fine.  Can't think of anything else that may have changed.
 
Any suggestions on what I can do to get data to upload again>
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 02:32:12 PM
Hmm, you know I think I know what the problem could be. THe problem could be if you were using files which I sent you during the testing stage, because I then changed the variable for the password. SO if you are using config.php that came as test and did not install it when first released then you might stil have the old parameter name.

So, just check that in all your files, the password is referred to as adminPass, and NOT uploadPass, which it was originally
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 02:43:36 PM
Thanks Jachym,
this is what I have $adminPassword = "xxxxx"; // password for admin section
 
and everything was working until a few hours ago when I was moving back and forth between v2.0 and v1.2
 
It first happened when I started v2.0 and v1.2 was still okay with the same config.php but eventually the same config.php in either v1.2 and v2.0 now keeps giving me that invalid password.  I have thoroughly checked everything I can think of.
One think I can't recall now nor see in any of notes I made but what is to be entered after cumulus.php for the manual URL update?  is it ?pass=xxxxx
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on September 13, 2015, 02:48:32 PM
Paul,
I had same problam, but solved it by using #2 in this: http://www.weather-watch.com/smf/index.php/topic,60980.msg489391.html#msg489391
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 02:49:15 PM
Hi,

yes, it is still "pass"

So, just to sum up, what exactly is not working, the updates? The admin section?

Check that you have in your config:

$adminPassword = "12345";

In your update script:

Code: [Select]
$password = $_GET['pass'];
if($password!=$adminPassword){
echo "Incorrect upload password!";
die;
}

And the adminPassword also in all the admin pages
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 03:01:33 PM
Hi Jachym,
The uploads are not working either from the normal cron job nor from the manual URL /cumulus.php.
 
The cumulus.php shows exactly as you indicate.  I had a new password but have also tried it with 12345
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 03:02:55 PM
It is very strange, because I changed the end part of the updating script, but the password check is the first thing it does, so if it gives you an error saying your pass is incorrect than there must be somthing wrong with the config.

The only thing I can think of is this:
Originally, during testing, the password variable was called uploadPass, but I then renamed it to adminPass. So far, neither the config, nor the updating scripts have changed, so if you were using both from testing period, they worked. Now however, you changed one of them (the updating one) and so it no longer works with the outdated config.php.

If you are getting a message that the password is incorrect, then please attach here your config and cumulus.php in the combination that does not work - of course delete all the mysql login details and you can also delete the actual password.

And ideally attach also the combination that did work
Title: Re: Meteotemplate - new free website template
Post by: sv2bzq on September 13, 2015, 03:07:38 PM
Hi Jachym,
Version 2.0 work fine (http://www.sv2bzq.gr/template/ (http://www.sv2bzq.gr/template/))
It can work the Meteohub ?

George .
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 03:09:28 PM
Hi, well it should, because I found out that Meteohub allows you to create the clientraw file, which is normally generated by Weather Display. Since the structure of that file is the same as that of WD you can use the WD script and the clientraw generated by Meteohub.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 04:07:22 PM
So... this is really strange, I just got an email from another person using Cumulus for whom it does not work.

I tried running the script manually from the browser and the db updated, I cant think of anything that could go wrong, it must be something with the CRON.


Paul:
Paul in your case the updates are not working because:

Code: [Select]
Warning: file_get_contents(realtime.txt): failed to open stream: No such file or directory in ..... on line 44
I deleted the exact path, but it is looking for realtime.txt in the update directory, which it cannot find. Is the file uploaded there?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 05:39:50 PM
Hi Jachym,
I got the upload working again, removing the password info from config.php and cumulus.php.  So this part is back.  Don't know why it would have all of a sudden stop working several hours ago, and about the time that was I was moving between v1.2 and v2.0.  I wonder if it could be something on my host GoDaddy.
 
Now the part were all the icons have disappeared from Home and Weather Station tabs www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php).  Any suggestions which files I should be looking at or re-uploading.? For now I would like to get v1.2 back running well as it had all along.  Then give another go at v2.0.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 05:44:19 PM
It shows the "icons" folder does not contain the images, have you deleted it? It is also in the recent 2.0 download file, so just download that and make sure the icons folder is uploaded in the root template directory
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 05:53:38 PM
Paul, I just got an idea.... it seems like you might have incorrect priveleges set to the folders, which would explain both:
1. icons not loaded even though they are on the server
2. updates not working because it cannot access either the config.php or create the cache file

Have you changed anything with regards to this? Or maybe can you check that all of this is set as it was before?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 06:01:07 PM
Thanks Jachym,
The icon folder was missing, and now that is back working properly.  I don't recall removing it but something may have gone wrong when I was renaming the v1.2 and v2.0 folders on the server.
 
I will now try to update to 2.0 again.
 
p.s. re the realtime.txt, the realtime settings in cumulus.php had always worked correctly through all my testing and v1.0 v1.1 and v1.2 updates and then today it would not work until I added the full URL www.komokaweather.com/weather/realtime.txt (http://www.komokaweather.com/weather/realtime.txt).  With this issue and the DB update password issue I still wonder if there was something happening at GoDaddy, and maybe also on the icon folder when I was renaming the j-template folders at the same time.  The 3 issues may be related ](*,)
 
Thanks for your guidance.
Paul
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 06:05:22 PM
Hi Jachym,
I had not made any changes to permissions and don't recall what they were before.  Possibly these changed as I was renaming the whole folders.  I will change permissions and then add the password again to see if that was the issue.
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 06:12:11 PM
Try,
but it seems like this was simply because the icons folder wasnt there.

So, I suggest you try this now:

1. do a complete revert back to v. 1.2 making sure everything is working as it is supposed to, using your backup
2. try updating to v.2.0, but, do not replace the cumulus.php - the new version will work absolutely fine with the old cumulus.php, the new version script just has the notifications feature there, but first try the old one
3. now check your updates - they should be working because at this point you are still using the same script for both - config and updates
4. if everything seems fine then try replacing the cumulus.php
5. if your updates suddenly stop then replace it back with the old cumulus.php and then, attach here or send me by email, both scripts - the original one which works (cumulus.php) and the new one from v.2.0 which does not
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 06:29:01 PM
Just went through a schedule cycle for the DB update with the permissions changed and requiring the password, and that did not upload.  Reverted back and then a manual URL update works so all should be good.
 
I will now get at v2.0 doing the upgrade rather than the full new which I had initially tried.
 
Paul.
 
 
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2015, 08:01:17 PM
Just checked your site and I see you upgraded to v2.0 :-)

Just make sure you clear your browser cache so that it loads the new css file. If using chrome (and I think it works like that in FF as well), hold the refresh button for slightly longer to reload the whole thing.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2015, 09:15:26 PM
I think it is all good, other than I have not yet tried the v2.0 cumulus.php it will have to wait so I can rest a bit...
 
Again, thanks for your patience and help Jachym.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 09:17:52 AM
My daughter just installed v2.0 and she's getting the same thing running the wu.php file. Also when she tries to login with the admin password she gets the same message.

Incorrect upload password!

v1.2 the admin password worked fine. I can't figure it out.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 09:22:13 AM
Hi Jim,
Would you be on GoDaddy as webhost?  I kind of wonder if something changed there.
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 09:33:53 AM
We are using GoDaddy but I'm not convinced that's the issue. She is running both v1.2 and v2.0 at the same time and the admin login works on v1.2.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2015, 09:37:23 AM
Are you both sure to have the right config.php on the server ?

Ergo with

Code: [Select]
$adminPassword = "yourpassword"; // password for admin section
ofcourse yourpassword should be defined by you in line 40
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 09:43:21 AM
OK, this really is strange....

so lets take it step by step.

Please attach the upload scripts (both):
1. the one that works (v.1.2)
2. the one that does not (v.2.0)

I just want to make sure I see exactly what files you are using and can compare them.
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 10:05:23 AM
Here are the files she is using. These are the config files from v1.2 and v2.0 and the wu.php

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 10:09:27 AM
Looking at the two configs, they only differ in the path of the two templates, which means all the rest is the same, the password declaration etc. so Im really puzzled by this

v.1.2:
Code: [Select]
$adminPassword = "12345"; // password for admin section

$path = "/meteotemplate/template/"; // path to the template folder
$baseURL = $_SERVER['DOCUMENT_ROOT'].$path;

v.2.0:
Code: [Select]
$adminPassword = "12345"; // password for admin section

$path = "/template/"; // path to the template folder
$baseURL = $_SERVER['DOCUMENT_ROOT'].$path;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 10:11:40 AM
I am a bit confused by the zip file you attached, because there are two configs, but - the config did not change, it is the same for all 1.x and 2.0, I havent touched that file, so it makes no sense that one works and the other one doesnt, it then means you have somehow misconfigured one of them. It is the same file.
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 10:25:38 AM
Ok so I tried this. I copied the working v1.2 config file over to the v2.0 directory replacing the v2.0 config file.

(Edit)

Correction: When I try to login using the admin password it say "Incorrect password."
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 11:02:19 AM
OK, Im still a bit unsure I fully understand the problem.

So:
The config file did not change, it is the same file in v 1.x and 2.0. Therefore it is not possible for one to work and the other one not - simply because there is no other one.

So basically you are saying that it is the index.php in the admin folder, which only works in 1.2 right?

If so, can you please attach:
1. footer 1.2
2. footer 2.0
3. index.php 1.2
4. index.php 2.0
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 11:10:12 AM
Im almost 100% sure it has to be something with the priveleges, I just got an email from another person that their icons folder works when it is in the root folder, but when the template is in folder "template" it does not load them, this could be something similar... hmmm... it is really hard to tell especially since this is something you can only set on the server via FTP, something I cannot see/influence
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 11:10:40 AM
She is using WinMerge to compare both the config files. It highlights the differences in code between the two. There are no differences. However, she just got the admin login to work by changing it to something other than the default 12345. I know, it doesn't make any sense. Alright that part works.

So now she went back and ran the wu.php file and it still says "Incorrect upload password!"
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 11:21:16 AM
OK, this is really odd.... unfortunately it is virtually impossible for me to actually do anything unless I see exactly what is going on.

My suggestion is this:
It would be ideal if you could temporarily change your FTP password and send me by PM your login details, I would look at it myself, to see exactly the structure of your files, check the config and wu and also the file privileges. Then, you would change your FTP pass back to what it was, dont worry I wont change anything else, but otherwise I guess Im not able to help you with this.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 11:33:39 AM
Hi Jachym,
I use the exact same files for v.2.0 that I was using for v.1.2.  Before yesterday the updates were working in template v.1.2 until midmorning when I was also working on updating to v.2.0.  Then I found it was not updating in v.2.0 (Incorrect upload password!)
Then I went back to v1.2 and there I also started to get the Incorrect upload password? message.  The only way I have been able to upload is commenting out // the password lines in cumulus.php.  Just now retried again, all uploads had been working until I undid the // for the password code in cumulus.php. 
I had permissions for the folders and files set to maximum.
 
While I was retesting with password this morning the template Admin Section did work with the password and I could get to the database.  Once I comment out // the password code in cumulus.php then template Admin Section does not ask for the password.
I will get back re server access.
Paul
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 11:40:21 AM
OK, this is really odd.... unfortunately it is virtually impossible for me to actually do anything unless I see exactly what is going on.

My suggestion is this:
It would be ideal if you could temporarily change your FTP password and send me by PM your login details, I would look at it myself, to see exactly the structure of your files, check the config and wu and also the file privileges. Then, you would change your FTP pass back to what it was, dont worry I wont change anything else, but otherwise I guess Im not able to help you with this.

PM sent. Good luck!  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 11:47:36 AM
OK, I changed your pass slightly, that "@" in the string could be problematic, but...

the reason your thing was not working is because you made some changes you were not supposed to.

In the WU.php,

you changed this line:
Code: [Select]
$password = $_GET['pass'];and instead of the "pass" you put the actual password. I hope I did not say to change this in the wiki :D Because here, you are basically telling the script, that the password variable is called pass, and it looks for the value of pass. But since you changed it, it was actually looking for value of variable named with the password... ok its confusing, but I whatever, I fixed it on your server, see if it is ok now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 11:52:51 AM
Hi Jachym,
I use the exact same files for v.2.0 that I was using for v.1.2.  Before yesterday the updates were working in template v.1.2 until midmorning when I was also working on updating to v.2.0.  Then I found it was not updating in v.2.0 (Incorrect upload password!)
Then I went back to v1.2 and there I also started to get the Incorrect upload password? message.  The only way I have been able to upload is commenting out // the password lines in cumulus.php.  Just now retried again, all uploads had been working until I undid the // for the password code in cumulus.php. 
I had permissions for the folders and files set to maximum.
 
While I was retesting with password this morning the template Admin Section did work with the password and I could get to the database.  Once I comment out // the password code in cumulus.php then template Admin Section does not ask for the password.
I will get back re server access.
Paul

Paul, I checked your site, I enabled the password check for cumulus and it doesnt say anything with regards to invalid password, using the URL:
http://www.komokaweather.com/j-template/update/cumulus.php?pass=****** (you know what it is, it corresponds to what is in config.php)
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 11:55:33 AM
Still says "Incorrect upload password!"
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 12:15:00 PM
Are you using the right URL?

It has to be like this:

.......your template root/update/wu.php?pass=*******

instead of the * put your password, but make sure that the "pass=" is there
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 12:19:08 PM
Jim, I just tried it again:

the URL is:
http://www.jimsweather.org/template/update/wu.php?pass=******

I used the password you had, just without the @ in the middle, but I changed that in the config too and it works
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 12:26:29 PM
Yes, that was the issue. I was still using the @ in the pw. Looks much better.

INSERT INTO alldata (DateTime,T,Tmax,Tmin,D,A,H,W,G,B,R,RR) values ('2015-09-14 11:15:00',23.8,23.8,23.8,58.6,76.1,60,,,189,0.00,0.00)

I don't see any weather data on the homepage yet.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 12:34:28 PM
Hi Jachym,
The normal Cron uploads are at xx:x9:xx (i.e. 11:19:49, 11:29:45, 11:39:50, 11:49:46
I did a manual URL upload with the password at 11:55:42 (before the next normal upload) and that worked.  However nothing was uploaded at 11:59:xx and that could have been because that was less than the 5 min minimum, so waited until 12:09:xx and did not upload.
 
I then did another URL upload at 12:11:58 and that worked.  So it looks like a manual URL update with password now works but not the Cron with password.  I had in the past tried the manual URL update sometimes with and without ?pass=xxxxx and don't recall it working then with the ?pass=xxxxx but I was getting somewhat confused at the time with various versions of both config.php and cumulus.php.  So now keeping it simple.  config.php doesn't change, and only change cumulus.php on the password code.
 
Just waited until the next xx:x9:xx scheduled Cron update and still not updated, but then doing the manual url with pass=xxxxx it works.
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 12:49:44 PM
OK,
so I looked at the file and found out there were 3 or 4 bugs in it, sorry about that, you are actually the first person ever using this and I was not able to test it, I only tested with myself, using my units etc.

I fixed it all now and I will have to change it in the download files as well. See if everything is working now, it should.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 12:51:08 PM
Hi Jachym,
The normal Cron uploads are at xx:x9:xx (i.e. 11:19:49, 11:29:45, 11:39:50, 11:49:46
I did a manual URL upload with the password at 11:55:42 (before the next normal upload) and that worked.  However nothing was uploaded at 11:59:xx and that could have been because that was less than the 5 min minimum, so waited until 12:09:xx and did not upload.
 
I then did another URL upload at 12:11:58 and that worked.  So it looks like a manual URL update with password now works but not the Cron with password.  I had in the past tried the manual URL update sometimes with and without ?pass=xxxxx and don't recall it working then with the ?pass=xxxxx but I was getting somewhat confused at the time with various versions of both config.php and cumulus.php.  So now keeping it simple.  config.php doesn't change, and only change cumulus.php on the password code.
 
Just waited until the next xx:x9:xx scheduled Cron update and still not updated, but then doing the manual url with pass=xxxxx it works.
 
Paul

Paul, use the external CRON, I have recommended this to many ppl already and it always solved the problem, Cumulus seems to be problematic. Just follow the instructions in the wiki. I tested that service and it works 100%.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 12:58:03 PM
Hi Jachym,
In looking at my database through my host's administration I see a couple of error messages:
import.php: Missine parameters: import_type FAQ 2.8
import.php: Missing parameters: format FAQ 2.8
If I go to that FAQ 2.8 link I get:
Quote
2.8 I get "Missing parameters" errors,    what can I do? (https://p3nlmysqladm002.secureserver.net/grid50/5945/Documentation.html#faqmissingparameters)
Here are a few points to check:
  • In config.inc.php, try to leave the         $cfg['PmaAbsoluteUri'] (https://p3nlmysqladm002.secureserver.net/grid50/5945/Documentation.html#cfg_PmaAbsoluteUri)
           directive empty. See also         FAQ 4.7   
  • Maybe you have a broken PHP installation or you need to upgrade        your
    Zend Optimizer. See              
      http://bugs.php.net/bug.php?id=31134 (http://bugs.php.net/bug.php?id=31134).     
  • If you are using Hardened PHP with the ini directive
    varfilter.max_request_variables        set to the default (200) or
    another low value, you could get this        error if your table has a high
    number of columns. Adjust this setting        accordingly. (Thanks to Klaus
    Dorninger for the hint).     
  • In the php.ini directive arg_separator.input, a value     
      of ";" will cause this error. Replace it with "&;".     
  • If you are using Hardened-PHP (http://www.hardened-php.net/),   
       you might want to increase        request
    limits (http://www.hardened-php.net/hphp/troubleshooting.html).     
  • The directory specified in the php.ini directive
    session.save_path does not exist or is read-only.[/l][/l]
I will look at it later as I must leave for a while.
Paul[/list]
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 12:59:16 PM
Got data!! Woohooo! I think the CRON is working too.  :grin:

Only thing left is at the top of the page I see:

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /template/header.php on line 58
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 01:12:37 PM
I fixed your header, should be working ok now.
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 01:29:01 PM
Yep! Thanks for the help Jachym! Everything seems to be working. My daughter is flipping out right now with excitement.  \:D/

One thing she has noticed is that it's only updating every 10 minutes. The CRON is working fine set at every 5 minutes. She went and looked at the XML file for her PWS on Wunderground and it only shows data every 10 minutes. Not much can be done about that. So it appears 5 minute updates are not possible using WU.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 01:30:44 PM
Yes, this is a limitation of WU, which unfortunately cannot be overcome by any way from my side.

Im really glad we got it all working eventually and best regards to your daugther from Czech, I actually included and made this WU script particularly because I felt sorry for her not being able to use it. :-)

I already changed the wu.php and I will change it in the download file of meteotemplate as well, with the bugs fixed.

Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 01:43:45 PM
Actually we might have an issue on our end with uploading data. Seems to be sporadic. There is a 5 minute update there. Or maybe it's just WU.  :lol:

<observation_time>Last Updated on September 14, 11:00 AM CDT</observation_time>
<observation_time>Last Updated on September 14, 11:10 AM CDT</observation_time>
<observation_time>Last Updated on September 14, 11:15 AM CDT</observation_time>
<observation_time>Last Updated on September 14, 11:25 AM CDT</observation_time>
<observation_time>Last Updated on September 14, 11:40 AM CDT</observation_time>
<observation_time>Last Updated on September 14, 11:50 AM CDT</observation_time>
<observation_time>Last Updated on September 14, 12:00 PM CDT</observation_time>
Title: Re: Meteotemplate - new free website template
Post by: kcidwx on September 14, 2015, 02:31:21 PM
Decided to turn on Rapid Fire. That seems to have solved it. So you can do 5 minute updates.

<observation_time>Last Updated on September 14, 12:54 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 12:59 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:04 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:09 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:14 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:19 PM CDT</observation_time>

We'll let this run for a while. She wants her own website domain and she wants a VP2 Pro Plus for Christmas.  :lol:
Title: Meteotemplate - new free website template
Post by: swyman18 on September 14, 2015, 04:17:38 PM
Hi Jachym,

I've finally had some time to play around with these templates. I've installed a fresh version of 2.0 onto my public webspace, and I've got the SQL updates working using direct HTTP call via CumulusMX, data is being updated every 5 minutes.  I haven't loaded any historical data yet, I hope to get to that soon.

The only two issues I'm having are as follows:

1. I'm getting that header error also:
Warning: fread() [function.fread]: Length parameter must be greater than 0...

What did you do to fix that for the other user that was getting that error?

2.  For some reason, the Interactive graphs do not appear to be loading.  I just keep getting the spinning circle.  All other parts of the template seem to be working fine (gauges, tables, etc.). Do you have any idea on what might be causing this?

http://horkboy.com/template/

Great work, I am very impressed!

-Scott
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 05:52:26 PM
Hi Jachym,
I have disabled GoDaddy Cron jobs and started with Cron-Job.org.
I have it now uploading regularly with password, using the url in Cron_Job http://www.komokaweather.com/j-template/cumulus.php?pass=xxxxx (http://www.komokaweather.com/j-template/cumulus.php?pass=xxxxx)
 
Again thanks for your patience and suggestions.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 05:56:43 PM
Hi Scott,
1. the problem is the banner, it uses yahoo weather to get the current conditions for the banner, and it uses the location specified in config (parameter stationLocation). The problem is that it probably did not find it or else it should be defined as probably honokaa,us without spaces and with "us" instead.

An easy fix is this:
Open the header.php and you will see there a variable "url". Select the value for it and replace it so that it looks like this:

Code: [Select]
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22honokaa,hi%22)&format=json";;
Then, save the changes and make sure you delete the headerCache.txt in the root folder. Then open your page and your banner should work and also that line at the top disappear.

2. Graphs - they dont work simply because that error with the header disrupts the structure of the Ajax call and so the response is invalid, the above thing should fix this as well.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 05:57:50 PM
Hi Jachym,
I have disabled GoDaddy Cron jobs and started with Cron-Job.org.
I have it now uploading regularly with password, using the url in Cron_Job http://www.komokaweather.com/j-template/cumulus.php?pass=xxxxx (http://www.komokaweather.com/j-template/cumulus.php?pass=xxxxx)
 
Again thanks for your patience and suggestions.
Paul

Great!

You are not the first one struggeling with Cumulus CRONs, I guess I will just include in the wiki that Cumulus users should use the external CRON, it only causes problems when trying to use the built in function.
Title: New plugins - radar images for US and Canada
Post by: Jáchym on September 14, 2015, 06:44:55 PM
A set of two new plugins is now available:

US radar images
Canada radar images

Install:
Unzip -> Upload -> Add to menu

* only in case of the Canadian radar, you can optionally set the default location for default regional image by opening the radar.php and specifying the three-letter code of your desired location right at the top.

 
Demo (US): http://www.meteotemplate.com/template/plugins/usRadar/radar.php (http://www.meteotemplate.com/template/plugins/usRadar/radar.php)
Demo (Canada): http://www.meteotemplate.com/template/plugins/canadaRadar/radar.php (http://www.meteotemplate.com/template/plugins/canadaRadar/radar.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=205 (http://meteotemplate.com/blog/?p=205)

Note: the plugin should still be fully compatible with versions 1.x though I do recommend upgrading to v2.0 Watermelon
Title: Re: Meteotemplate - new free website template
Post by: swyman18 on September 14, 2015, 06:57:05 PM
Hi Scott,
1. the problem is the banner, it uses yahoo weather to get the current conditions for the banner, and it uses the location specified in config (parameter stationLocation). The problem is that it probably did not find it or else it should be defined as probably honokaa,us without spaces and with "us" instead.

An easy fix is this:
Open the header.php and you will see there a variable "url". Select the value for it and replace it so that it looks like this:

Code: [Select]
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22honokaa,hi%22)&format=json";;
Then, save the changes and make sure you delete the headerCache.txt in the root folder. Then open your page and your banner should work and also that line at the top disappear.

2. Graphs - they dont work simply because that error with the header disrupts the structure of the Ajax call and so the response is invalid, the above thing should fix this as well.

Ah yes, I vaguely remember reading another post somewhere regarding the yahoo reference in the banner.  I actually just changed my location variable to "Honokaa,Hawaii" (no spaces) and you're right, working like a champ now!

Thanks again!

-Scott
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 06:59:41 PM
 :grin:

Great :-)

Btw... I also vaguely remember wanting to change this so that spaces are removed automatically :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 07:06:55 PM
Decided to turn on Rapid Fire. That seems to have solved it. So you can do 5 minute updates.

<observation_time>Last Updated on September 14, 12:54 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 12:59 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:04 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:09 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:14 PM CDT</observation_time>
<observation_time>Last Updated on September 14, 1:19 PM CDT</observation_time>

We'll let this run for a while. She wants her own website domain and she wants a VP2 Pro Plus for Christmas.  :lol:

:D Well I guess domain is not such a big problem with 1and1 I think you can get it for as low as 1 dollar a month for the first yr including the domain and then you just decide whether or not you want to continue.

With regards to Davis Pro 2 Plus... well that is my dream too, along with a slightly more powerful laptop than 1GB RAM, but I guess that is a bigger issue than the domain :-) Give her regards and any time you need help with something, feel free to contact me.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 08:18:03 PM
Hi Jachym,
I got the Canada and US Radar added, very easy and quick http://www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php) thank you very much.  However I am not that good at the new menu code.  I have added the North America Map and "Canada" and "USA" under the Radar item but there must be a nicer way of doing it.  I tried it without the maps just "Canada" and "USA" but that doesn't look good either.
Quote
      <a href='<?php echo $pageURL.$path?>plugins/canadaRadar/radar.php'>Canada
       <img src="<?php echo $pageURL.$path?>imgs/continentOutlines/namerica.png" class="hoverIcon" alt="">
      </a>
      <a href='<?php echo $pageURL.$path?>plugins/usRadar/radar.php'>USA
       <img src="<?php echo $pageURL.$path?>imgs/continentOutlines/namerica.png" class="hoverIcon" alt="">
      </a>

 
Paul
Title: Re: New plugins - radar images for US and Canada
Post by: KapitainOne on September 14, 2015, 08:19:48 PM
A set of two new plugins is now available:

US radar images
Canada radar images

Install:
Unzip -> Upload -> Add to menu

* only in case of the Canadian radar, you can optionally set the default location for default regional image by opening the radar.php and specifying the three-letter code of your desired location right at the top.

 
Demo (US): http://www.meteotemplate.com/template/plugins/usRadar/radar.php (http://www.meteotemplate.com/template/plugins/usRadar/radar.php)
Demo (Canada): http://www.meteotemplate.com/template/plugins/canadaRadar/radar.php (http://www.meteotemplate.com/template/plugins/canadaRadar/radar.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=205 (http://meteotemplate.com/blog/?p=205)

Note: the plugin should still be fully compatible with versions 1.x though I do recommend upgrading to v2.0 Watermelon

Have not had a chance to install yet but looking at the demo for Canada is there not a missing icon to animate the regional radar images like in the overall country one on top?

Looking forward to installing ASAP!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 08:43:42 PM
Paul:

I will add a different icon in the menu at meteotemplate.com tomorrow, so you can then copy the code. I havent done it yet because my computer here at home is too slow for the graphics SW I use for creating the icons, so I will do it tomorrow after work in my office.

KapitainOne:

Well you are right, I didnt think about that, it would be slightly more complicated because of the Ajax there, but it is something for the next version of the plugin :-) In fact I have more ideas about how this plugin could be further enhanced so it is likely to be updated relatively soon :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 08:54:52 PM
Thanks Jachym.
 
When I unzipped the canadaRadar and ready to upload and saw the canadaRadarAjax.php I was a bit confused .... http://m.ajax.ca/ (http://m.ajax.ca/)  #-o ;)
 
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 14, 2015, 09:02:05 PM
Paul:

I will add a different icon in the menu at meteotemplate.com tomorrow, so you can then copy the code. I havent done it yet because my computer here at home is too slow for the graphics SW I use for creating the icons, so I will do it tomorrow after work in my office.

KapitainOne:

Well you are right, I didnt think about that, it would be slightly more complicated because of the Ajax there, but it is something for the next version of the plugin :-) In fact I have more ideas about how this plugin could be further enhanced so it is likely to be updated relatively soon :-)

No problem, in the mean time I'll continue using my hacked version of Ken's Base Canada EC-radar script which I was able to put into a custom page in your template, results can be seen here http://www.sanfordweather.com/meteo/custom/CanadaRadar.php
Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2015, 09:15:53 PM
Thanks Jachym.
 
When I unzipped the canadaRadar and ready to upload and saw the canadaRadarAjax.php I was a bit confused .... http://m.ajax.ca/ (http://m.ajax.ca/)  #-o ;)
 
Paul

LOL, no, dont worry :-) https://en.wikipedia.org/wiki/Ajax_(programming) (https://en.wikipedia.org/wiki/Ajax_(programming))
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2015, 10:04:42 PM
Hi Jachym,
The new Year Normals plugin is very nice.  I had some difficulty understanding some of the data presentation but think I now understand.  However the temp table was throwing me off with the heading of Maximum Average Temperature and Minimum Average Temperature.  Unless I am mistaken, from the temperatures shown I assume the word "Average" with the Maximum and Minimum is a copy and paste issue and should not be included in the temperature tables' heading.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2015, 06:31:41 AM
Hi Paul,
no it is correct. It is the maximum average temperature, it is due to the way the updates work, let me just explain again how the updates work:

So lets assume your db interval is 5 minutes.
Your current conditions file is being updated every minute, so you set your CRON to one minute. The data is cached every minute and every 5 minutes, the data is saved to db and cache cleared.

Now, during that db update, what the script does is it uses various methods for particular parameters. For example, in case of wind gust, it saves to db the maximum out of those 5 cached values. For wind speed, it takes the average (since it already is average speed). Pressure and humidity also average etc.

However, temperature is slightly problematic, if it took the average, it could be that your max annual, monthly, all time etc. temperature would not be correct then.
Imagine the five values in cache were lets say 10, 15, 20, 15, 10. Then it would save 14 to db. But your max temperature would then be taken from these averages, even though it was 20 as well.... to overcome this problem, the db actually has 3 columns - T, Tmax and Tmin - I guess it is quite obvious what these correspond to. So upon each update, it saves the avg, max and min.

Then, for the statistics etc. for maximum temperatures it uses the values from the Tmax column, for temperature in general, it uses the T column and for minimums it uses Tmin. This way, it then correctly shows the absolute maximum/minimum values etc.

Now, for this plug in, the values are all taken from the T column, which is the "average temperature". So it really is the "maximum average temperature" etc. However, since the interval is quite short - for example in your case I think you use 1 minute updates and 5 minute db updates - the values between Tmax, Tmin and T are usually very similar and so in long-term, there is no difference when you take like monthly average or so. This is only important when you are calculating the absolute extremes, where the temperature can be different by approximately 0.5°C I would say within those 5 minutes.


Also, as promised, I have added icons for the radar images, you can copy the code of the menu from meteotemplate.com.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 15, 2015, 08:49:15 AM
Thanks Jachym for the average explanation.  My confusion was that for say February Temp Min (Minimum Average Temperature) it shows -29.8C in 2015, -26.2C in 2014, etc. but I have reached these temps only once each and for a very short period (minutes at the most) so my understanding of average didn't jive with this.  The average of min or max over several specific times is more of an average in my understanding.  Now these Max and Min temps come from my historical records which is Cumulus monthly log (specific data unloaded by Meteotemplate) and is the actual low for the time in that monthly log file, not an average of a period of time.
 
Thanks, and I will look at adding the radar images this evening.
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 15, 2015, 06:14:31 PM
Quote
Also, as promised, I have added icons for the radar images, you can copy the code of the menu from meteotemplate.com.
I have copied the Canada and USA map png images from your site and uploaded to /img.  Then added these in new <a href .... /a> for each of them in the radar <div> ... </div> section ion menu.php.  All looks and works good.
Regards,
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 15, 2015, 06:48:34 PM
KapitainOne, your site looks great and well done on the meteotemplate.  I have borrowed a couple of your ideas.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2015, 06:58:04 PM
Both of your sites look very nice, and there is lots more coming :-) I think you will like it :) With version 2 I finally can finish many unfinished ideas that were not possible with v1.x and I had to leave them :)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 15, 2015, 07:34:01 PM
KapitainOne, your site looks great and well done on the meteotemplate.  I have borrowed a couple of your ideas.
 
Paul

Glad you liked some of my efforts, they were in all likelihood borrowed from somewhere else!

Jachym, can't wait for your next plugins!!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 16, 2015, 04:34:46 AM
I just noticed this is what 2.0 looks like in IE 11.

(https://dl.dropboxusercontent.com/u/68529500/ScreenShot3992.jpg)

(https://dl.dropboxusercontent.com/u/68529500/ScreenShot3993.jpg)

(https://dl.dropboxusercontent.com/u/68529500/ScreenShot3994.jpg)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 04:44:36 AM
Hmm indeed looks bad  ](*,) unfortunally
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 05:03:57 AM
Grrr... I just hate Microsoft :D I said it here like million times, why cant they make a browser that just works as all the others  :grin: :grin: :grin:

The paradox is that I just looked into it and it does this once I change it to HTML5.... ok, well I changed the script slightly, it does not look as good as Chrome or FF, but at least something...
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 05:08:13 AM
Well Edge (Msoft) does render the template very well
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 05:14:56 AM
OK,

so I have uploaded an updated version of the template, which you can now download in the meteotemplate download section (no need to download the entire file, just the update_2.0.

Changes from 2.0 release:
- fixed a few bugs in the wu.php in update folder (if you are using WU for your updates)
- fixed IE 11 for index.php

So all you need to do is just replace the index.php in the root folder with this one, the rest of the files is the same.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 05:29:56 AM
Looks good now in IE 11  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 05:39:53 AM
No it doesn´t, it looks "better" :D But it still does not stretch to the bottom as it should, though I guess it is better than it was... btw. just yesterday I was working over night on one new plugin, everything was working, only until I tested it in IE... I had to change half of the CSS again... and it was not because the CSS would be incorrect, but simply because IE does not support lot of functions, for example there is a command for inverting image colors, which is quite useful if for example you have a dark and light theme and you want to use the same icon - you create either black or white one and then simply invert it based on the user settings, but IE does not support that, so you have to create 2 icons -white and black, upload both to the server and then choose the right one.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 05:47:45 AM
Yes you're right hopefully IE will be soon phased out , I dont use it but a lot of people do..
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 07:54:59 AM
I've tried to import Cumulus data before 2011 it seems there was a change in august 2010 so data before augustus  23th 2010 will not import for the template (with the cumulusimportfunction) I've used wu-import , data are now imported from the beginning but I think it's not ideal maybe this give some clues ? http://wiki.sandaysoft.com/a/Monthly_log_files

I wonder how Paul did it  :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 08:15:32 AM
OK can you attach here an example of one monthly file from after 2011 and one of the old ones?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 08:32:29 AM
Yeps I've attached jul 2010 august 2010 round the 28th and sep 2010 there are more data I think it has to do with 'Write UV and Solar Rad to monthly log files' http://wiki.sandaysoft.com/a/Version_1.9.0 I'll try to import without solar radiation (have to clean up the database somewhat so takes some time..)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 08:33:24 AM
more could not attach all ..
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 09:00:59 AM
I do see errors by Paul for annual reports http://www.komokaweather.com/j-template/pages/station/report_annual.php?y=2011 I don't have them ..
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 09:30:29 AM
more could not attach all ..

Hi,
sorry Im a bit confused by what you mean, all the attached files seem to have the same structure.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2015, 09:36:18 AM
Jachym,
I will look at the update version this evening.

Ron,
Once I overcame the historical upload/update problem which was with IE and then used FF which was fine, I had no problem that I can recall on importing any of the monthly log files - i.e. 2010 vs 2011.
Quote
I do see errors by Paul for annual reports http://www.komokaweather.com/j-template/pages/station/report_annual.php?y=2011 (http://www.komokaweather.com/j-template/pages/station/report_annual.php?y=2011) I don't have them ..
I hadn't seen these errors before and will need to investigate tonight.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 09:38:34 AM
Yes guys... even based on what we already discussed earlier today:

Please dont use IE :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 10:07:29 AM
Well I'dont even know what the issue is  :-( I never use IE , I always use chrome by the way. I attach jan 2010 and jan 2011 note 2011 has a decimal comma for the upload I used a decimal point (throw that file away..) As you can see januari 2011 is much bigger..
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 10:12:02 AM
Tried to import using Edge still no joy (I dont install Firefox)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2015, 10:22:16 AM
Guess what imported with EDGE leaving the solarfield blank  \:D/

strange strange strange LOL
Title: New plugin - Frequency Distribution
Post by: Jáchym on September 16, 2015, 01:25:54 PM
A new plugin for analyzing data from your station is now available.

This plugin shows you the frequency distribution of various parameters using dynamic graphs and tables.

You have many options for choosing

- the parameter
- graph type (line, area, bar, column)
- resolution (bin size)
- value returned (either percentage or total count)
- data transformation (none, log)
- interval (all, particular season, particular month)

Install instructions:

This time it is again very difficult :-) You have to unzip the file, upload it to your plugin directory and then add a link in the menu.

Things to note:

- log transformation only works for total counts, if percentage is selected, no transformation will be applied (as it would be nonsense to apply log to percentage values)
- log transformation is useful if there is a large difference between the max and min, so it is hard to see differences between similar values
- seasons are based on your station coordinates specified in config (i.e. latitude is used to determine which hemisphere you are at and what months correspond to which season)
- unfortunately, due to the complexity of the calculations, this plugin does not adjust to the user specified units and will always show values in the units in which data is in the database
- percentages are useful when comparing for example the overall average with individual years, where total count does not tell you much because it is probably much larger value than the year value. Percentages simply show you the proportion of total.

 
Demo: http://www.meteotemplate.com/template/plugins/distributions/distributions.php (http://www.meteotemplate.com/template/plugins/distributions/distributions.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=208 (http://meteotemplate.com/blog/?p=208)

Note: the plugin should still be fully compatible with versions 1.x though I do recommend upgrading to v2.0 Watermelon
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 16, 2015, 02:02:15 PM
Yes guys... even based on what we already discussed earlier today:

Please dont use IE :D

Jachym, I felt bad because I tested this well in IE, etc. when we were testing and I didn't see that problem so I wanted you to know about it ASAP.

Yes, I don't like IE either...but here's the thing, it really doesn't matter what You, Me, or any of us here like or don't like we have to cater to what our site users have and for me at least a large % are still IE. Well, we don't HAVE to cater to users browsers but if you want your site used by people who choose to use it...

I need to get going here. I have customizations I need to make to 2.0 so I can get it installed and running because I want to get these cool new plugins installed  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 02:11:55 PM
Hi David,
but I agree with you! Which is why I posted a fix, which works in IE as well :-)

With regards to plugins, you dont even need to upgrade to 2.0, you can install the plugins right away, it is compatible with 1.x and can be done in a second.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 16, 2015, 02:32:24 PM
Hi David,
but I agree with you! Which is why I posted a fix, which works in IE as well :-)

With regards to plugins, you dont even need to upgrade to 2.0, you can install the plugins right away, it is compatible with 1.x and can be done in a second.

Good to know. Thanks.
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 16, 2015, 03:18:29 PM
and configured to hold my data clientraw.txt

Thank you

como configuro para que me coja los datos del clientraw.txt

gracias

http://www.meteotorrelavega.com/template/index.php#
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 03:20:14 PM
and configured to hold my data clientraw.txt

Thank you

como configuro para que me coja los datos del clientraw.txt

gracias

http://www.meteotorrelavega.com/template/index.php#

hi, was that a question? Sorry I dont understand you.
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 16, 2015, 03:28:51 PM

not how to set the template for data leaving
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 05:21:54 PM
Hi,
Im really sorry, but I really dont know what you mean....
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 16, 2015, 05:43:26 PM
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 06:03:54 PM
OK, maybe you could try writing in your language and I will see if I can understand that, because if you just use a translator, then it makes no sense and I dont know what you originally wanted to say.
I understand German and French as well if that would help, or you can even try in Spanish and Im sure we will manage to understand each other eventually.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2015, 07:04:30 PM
Hi Jachym,
I got the distribution plugin installed and looks really neat.  However, I expect the count of data such as my lowest of -29.8C or highest of 35.6C is somewhat distorted by the frequency of updates, especially in the historical upload/update.
My lowest temp is 29.8C of February 20, 2015.  Looking at my Cumulus monthly log file this occurred in 5 consecutive logged times: 07:00, 07:10, 07:20, 07:30 and 07:40 as I am now using 10 minute logging interval in Cumulus.  The distributions.php shows this as 5 times.
 
Then for my highest temp 35.8C of July 21, 2011, this is in my Cumulus dayfile.txt, but the monthly log file only shows a high of 35.6C at 17:30 and only once as I was logging at 30 minutes at that time.  The 35.6C only shows once in that 30 minute period but likely would have shown more often if I was logging at 10 minute interval at the time, or possibly the 35.8C would have been logged in the monthly and therefore in the template's DB.
 
Just mentioning, and the distribution is still very interesting.
 
Well done =D&gt;
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 07:12:51 PM
Hi Jachym,
I got the distribution plugin installed and looks really neat.  However, I expect the count of data such as my lowest of -29.8C or highest of 35.6C is somewhat distorted by the frequency of updates, especially in the historical upload/update.
My lowest temp is 29.8C of February 20, 2015.  Looking at my Cumulus monthly log file this occurred in 5 consecutive logged times: 07:00, 07:10, 07:20, 07:30 and 07:40 as I am now using 10 minute logging interval in Cumulus.  The distributions.php shows this as 5 times.
 
Then for my highest temp 35.8C of July 21, 2011, this is in my Cumulus dayfile.txt, but the monthly log file only shows a high of 35.6C at 17:30 and only once as I was logging at 30 minutes at that time.  The 35.6C only shows once in that 30 minute period but likely would have shown more often if I was logging at 10 minute interval at the time, or possibly the 35.8C would have been logged in the monthly and therefore in the template's DB.
 
Just mentioning, and the distribution is still very interesting.
 
Well done =D&gt;
Paul

Hi Paul,
to be quite honest I must admit I got totally lost reading your post :D I guess it has to do with the update intervals changing. I recommend in the wiki that this should be consistent to guarantee accurate results. It should still be quite close and I also suspect some of the Cumulus logs and what it outputs in realtime.txt is not 100% accurate.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2015, 09:12:21 PM
Yes, it is to do with the interval differences.
 
On your comment re Cumulus logs and realtime.txt, I would have to disagree with your suspicion. 
 
Cumulus realtime.txt is the current data (100%) whenever that file is updated.  I update with realtime set at 5 seconds but know it isn't always at 5 sec as quite often the update is more like 10 seconds or even longer due to the time it takes for other FTP file updates I do.
 
Cumulus monthly log.txt file is the data when that log is written, which in my case is now at every 10 minutes, which is also my Davis datalogger interval.
 
Cumulus dayfile.txt is the actual high, lows, time stamp, etc. for that day.  Cumulus captures those highs, lows, time stamp, etc. and that is saved in the dayfile.txt.  I update that file every day to my dayfile MySQL DB.
 
My initial point was that for the historical data that was placed in the template's alldata MySQL DB the different monthly logging interval that I had used in the past has influenced the count numbers and that was particular visible in the all time high and low temperature.  I had read and understood your recommendation for consistent interval, but the past is what it is unless one knows how and wants to amend the historical.  In all it is of insignificant impact.  I enjoy seeing and using the fruit of my past labour 8)
 
Regards,
Paul
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2015, 09:18:41 PM
Quote
Hi David,
but I agree with you! Which is why I posted a fix, which works in IE as well (http://www.wxforum.net/Smileys/default/icon_smile.gif)
I have updated the index.php and that fixes that home page issue.  I tried to include the changes you made in my existing index.php so I could keep my modifications but that broke the template so I did something wrong.  Will take another stab at it soon.
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2015, 09:42:42 PM
Quote
Hi David,
but I agree with you! Which is why I posted a fix, which works in IE as well (http://www.wxforum.net/Smileys/default/icon_smile.gif)
I have updated the index.php and that fixes that home page issue.  I tried to include the changes you made in my existing index.php so I could keep my modifications but that broke the template so I did something wrong.  Will take another stab at it soon.
 
Thanks,
Paul

No problem I will look at it tomorrow,  now it's time for dinner lol
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2015, 10:11:16 PM
Thanks, I got it fixed.  Found the mistake I had made.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2015, 10:47:34 PM
Quote
I do see errors by Paul for annual reports http://www.komokaweather.com/j-template/pages/station/report_annual.php?y=2011 (http://www.komokaweather.com/j-template/pages/station/report_annual.php?y=2011) I don't have them ..
Quote
I hadn't seen these errors before and will need to investigate tonight.

Paul
The warning shows up for each of the years 2008 through 2014 but for 2015 it is ok.  I have not made any changes in report_annual.php.  Any suggestions where I should look?  I don't see any other errors or warnings related to the DB. 
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 17, 2015, 05:12:53 AM
Hi Paul,

yes, sorry it seems like I have forgotton to take into account the solar sensor presence/absence on that line.

Try this:
Open your annual_report and find lines 230 to 235.

Then replace this:
Code: [Select]
$result = mysqli_query($con,"SELECT DateTime FROM alldata WHERE $span AND S=$annualMaxS LIMIT 11");
while($row = mysqli_fetch_array($result)){
$date_temporary = strtotime($row['DateTime']);
array_push($annualMaxSDate,date($timeFormat." ".$dateFormat, $date_temporary));
}
$result = mysqli_query($con,"SELECT DateTime FROM alldata WHERE $span AND S=$annualMinS LIMIT 11");
while($row = mysqli_fetch_array($result)){
$date_temporary = strtotime($row['DateTime']);
array_push($annualMinSDate,date($timeFormat." ".$dateFormat, $date_temporary));
}


whit this:
Code: [Select]
if($solarSensor){
$result = mysqli_query($con,"SELECT DateTime FROM alldata WHERE $span AND S=$annualMaxS LIMIT 11");
while($row = mysqli_fetch_array($result)){
$date_temporary = strtotime($row['DateTime']);
array_push($annualMaxSDate,date($timeFormat." ".$dateFormat, $date_temporary));
}
$result = mysqli_query($con,"SELECT DateTime FROM alldata WHERE $span AND S=$annualMinS LIMIT 11");
while($row = mysqli_fetch_array($result)){
$date_temporary = strtotime($row['DateTime']);
array_push($annualMinSDate,date($timeFormat." ".$dateFormat, $date_temporary));
}
}

And let me know if it helps.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 17, 2015, 07:23:31 AM
Hi Jachym,
Thanks and I will look at it tonight.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 17, 2015, 03:29:07 PM
Hi Jachym,
I am not at home at the moment but looks like the IE update I did last night has a little flaw with FF.  You can see it at www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php).  It works OK in Google and likely in IE.  CaptainOne's Sanford Weather site http://www.sanfordweather.com/meteo/index.php (http://www.sanfordweather.com/meteo/index.php) has the same issue and I presume we are the ones that are using v.2.0 and with that index.php update of yesterday.

Regards,
Paul
 
Edit:
The problem I noticed from my work computer is that the forecast information on the right of the home page was offset upwards and stayed there when opening several of the other pages.  It was the same for my site and CaptainOne's site when I used FF.  Now from home they are both showing correct in FF and IE.  Maybe the version of FF at work?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 17, 2015, 07:26:14 PM
I will check it tomorrow, but version is unlikely, usually most computers use the most recent which is downloaded automatically, just like in Chrome.

I rather suspect it might have been caching issue, where it used the old version still. As I said I will check it tomorrow, I dont have FF here right now.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 18, 2015, 04:44:23 AM
The problem I noticed from my work computer is that the forecast information on the right of the home page was offset upwards and stayed there when opening several of the other pages.  It was the same for my site and CaptainOne's site when I used FF.  Now from home they are both showing correct in FF and IE.  Maybe the version of FF at work?
 
Paul

Paul,

I looked at your site in IE 11 and FF. It looks fine in both to me now. IE doesn't stretch the forecast vertically as much as it does in FF but it still looks fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 05:22:08 AM
Yes, same here, I said it already above, IE does not display it absoluely ideally (it is not stretched down), but otherwise it looks fine to me in all IE, Chrome, FF, Opera, Maxthon and Yandex
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 18, 2015, 05:31:45 AM
Jachym I've a question about database and potential spikes...

http://www.meteotemplate.com/template/pages/other/dbInfo.php the difference in the timespan is given sometime in percents and sometimes in values if I look at the temperatue the difference is 10 x the real difference I looked at my values too but when I substract the values I think it are in most cases not exceptional spikes.. or do I interprete the values wrong ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 06:28:49 AM
Hi,
Im not sure I understand what you mean, however, the dbInfo page is the only page that was disconitnued in version 2.0. It is no longer part of the template, there were some more serious problems with this page so I rather decided to not use it any more, I did not even adapt it to v.2.0. Maybe I forgot to delete it and it was still present in the download files, in which case it was my mistake, but just ignore that page.

Spikes can now be much easier seen on the new Frequency distribution plugin.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 18, 2015, 06:47:59 AM
I mean this:

Code: [Select]
From To Change rate / 10 Min
2012-01-05 18.32 1.3 °C 2012-01-05 18.37 5.4 °C 8.20 °C

the latest value 8.20 is not the difference between 1.3  and 5.4 this shoud be 4.1 but as you say this page is depreceated I will pay no attention to this and use the other page.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 07:07:47 AM
I mean this:

Code: [Select]
From To Change rate / 10 Min
2012-01-05 18.32 1.3 °C 2012-01-05 18.37 5.4 °C 8.20 °C

the latest value 8.20 is not the difference between 1.3  and 5.4 this shoud be 4.1 but as you say this page is depreceated I will pay no attention to this and use the other page.

Thanks

Hi, correct, but read the table heading :-) It says "Change rate / 10 Min", since your data is in 5min intervals, the rate of change is 8.2 degrees in 10 minutes. This is so that you can compare numbers from various intervals, that is why it does not give the actual difference, but the difference for a particular time period - in order for all values to be comparable no matter what update interval you use.
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 18, 2015, 07:13:54 AM
no consigo configurar Aeris Weater
me he registrado

API Developer

que mas hacer
gracias

http://www.meteotorrelavega.com/template/index.php#
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 07:35:40 AM
Hi,

go to http://www.aerisweather.com/
Register there
Then at the top "Log in"
Then, at the top click "Account"
Select the tab "Apps"
Create "New Application" (it does not matter what you fill in, it can be anything)
Then you will get your API number and secret ID

Also, on your page I noticed you use the logo for Meteotemplate 1.2 Strawberry, but you are already using version 2.0 Watermelon :-)

If you still need help, then register at aeris and send me your registration name and password, I will generate the key for you and you can then change your password if you want, but I wont use it for anything dont worry anyway.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 18, 2015, 07:44:46 AM
I mean this:

Code: [Select]
From To Change rate / 10 Min
2012-01-05 18.32 1.3 °C 2012-01-05 18.37 5.4 °C 8.20 °C

the latest value 8.20 is not the difference between 1.3  and 5.4 this shoud be 4.1 but as you say this page is depreceated I will pay no attention to this and use the other page.

Thanks

Hi, correct, but read the table heading :-) It says "Change rate / 10 Min", since your data is in 5min intervals, the rate of change is 8.2 degrees in 10 minutes. This is so that you can compare numbers from various intervals, that is why it does not give the actual difference, but the difference for a particular time period - in order for all values to be comparable no matter what update interval you use.

Yes indeed you're right I forgot about the interval  #-o
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 08:38:54 AM
no consigo configurar Aeris Weater
me he registrado

API Developer

que mas hacer
gracias

http://www.meteotorrelavega.com/template/index.php#

I sent you the needed data, let me know if it works
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 18, 2015, 08:57:19 AM
Gracias
emilio
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 18, 2015, 09:42:55 AM
The problem I noticed from my work computer is that the forecast information on the right of the home page was offset upwards and stayed there when opening several of the other pages.  It was the same for my site and CaptainOne's site when I used FF.  Now from home they are both showing correct in FF and IE.  Maybe the version of FF at work?
 
Paul

Paul,

I looked at your site in IE 11 and FF. It looks fine in both to me now. IE doesn't stretch the forecast vertically as much as it does in FF but it still looks fine.

Thanks for confirming.  I will recheck when I am next at the work computer next Wednesday (I am fortunate that I always enjoy 5-day weekends ;) ).  If I recall it may have been version 17? something while at home I have v.40.0.3 but I know very little about FF and still primarily use IE :|
 
Sorry for the false alarm Jachym, all looks good here and keeping up with all those updates and plugins.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 09:46:25 AM
Yes, I guess 99% of people use the most recent version of FF and v.17 is from July 2012  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 18, 2015, 03:21:44 PM
Thanks for confirming.  I will recheck when I am next at the work computer next Wednesday (I am fortunate that I always enjoy 5-day weekends ;) ).  If I recall it may have been version 17? something while at home I have v.40.0.3 but I know very little about FF and still primarily use IE :|

No problem, glad it is working. Now, about those 5 day weekends, please do elaborate on this. I may need to go into that line of work  :lol:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 18, 2015, 05:51:29 PM
Quote
Now, about those 5 day weekends, please do elaborate on this.
Well, after 2 distinct careers, both of which I thoroughly enjoyed over several decades, I am still of reasonable health and state of mind (open to interpretation ;) ) and can still contribute from my past work experiences and contacts.  I can offer 2 days a week to the not-for-profit organization to get the work done, which otherwise they might not be able to find without more hours - it is a good fit for them and me.  I can still fit in my yard work, enjoy the grand kids, socialize and volunteer in the community, and do what I want or do nothing if I so desire, or take a nap occasionally.  Only my weather station and website suffers...
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2015, 06:13:32 PM
Well we could exchange that for my 0-day weekend :D But in fact I like it, because at work I have a much better computer and since I work for the Czech equivalent of the NWS, there is someone on duty 24/7 and it is opened nonstop, which means that for example when I finish at 7PM my normal working hours, I can just stay in my office as long as I want to and work on my template  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on September 19, 2015, 09:11:52 AM
Hi Jachym,

It seems the NWS is at work again on their servers. The NWS warnings plugin is no longer working. 


http://www.sacrey.info/meteotemplate/plugins/nwsWarnings/nws.php

The RSS feed is still working, but I wonder if they went to HTTP 1.1 instead of 1.0.

John

Title: NWS warnings plugin updated
Post by: Jáchym on September 19, 2015, 10:25:14 AM
This is just a quick announcement that the NWS warnings plugin has been updated due to changes on the NWS server.

Version 1.1 of the script can be downloaded from the plugins download section at meteotemplate.com.

Install instructions:
Simply unzip the file, in nws.php set your default location and upload to server.

Don´t forget to empty everything that is in the nwsCache folder of the plugin!
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 19, 2015, 10:58:36 AM
sigue sin salir los datos del aeris

http://www.meteotorrelavega.com/template/index.php#

en cache no hay ningun ***.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 11:12:15 AM
sigue sin salir los datos del aeris

http://www.meteotorrelavega.com/template/index.php#

en cache no hay ningun ***.txt

I tried the ID and Key I sent you and it works, you must have done something wrong in the config.php. Can you please send me your config.php (you can of course delete your MySQL login and password).
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 19, 2015, 11:44:20 AM
Installed the nwsWarnings v1.1 and all is working properly again.  Thanks Jachym,
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: tstorm on September 19, 2015, 12:04:20 PM
 Jachym,

  Update the nwsWarnings plugin and I'm seeing an issue with the text with one Tsunami warning/advisory running into another on Thu Sep 17. This looks like sn issue with text being more than 2 lines. I did clear the cache.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 12:09:01 PM
Jachym,

  Update the nwsWarnings plugin and I'm seeing an issue with the text with one Tsunami warning/advisory running into another on Thu Sep 17. This looks like sn issue with text being more than 2 lines. I did clear the cache.

John

Hi John, just checked your site, but I dont see any problem
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 12:17:12 PM
sigue sin salir los datos del aeris

http://www.meteotorrelavega.com/template/index.php#

en cache no hay ningun ***.txt

Hi,

so I used the FTP login you provided and I checked your site. It is now working, but it was not because for some reason you have edited the index.php section responsible for loading the data. Please dont make changes in parts of the code where you are not told to do so, otherwise you must not be surprised when things stop working.

Should be fine now, but it also saves time to me because I had to look for the changes you made and what exactly you have done.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on September 19, 2015, 12:20:39 PM

Hi John, just checked your site, but I dont see any problem

I've renamed my webpage to http://www.harpersferry-weather.com/meteotemplate.  To me it didn't seem good to have a version # in the naming convention.

John
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 19, 2015, 12:33:36 PM
 Thanks Jachym,
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 12:39:03 PM

Hi John, just checked your site, but I dont see any problem

I've renamed my webpage to http://www.harpersferry-weather.com/meteotemplate.  To me it didn't seem good to have a version # in the naming convention.

John

Oh, I see what you mean now, ok, I will fix that in the next update, I guess it is not so urgent so not necessary to release another update right now.

You can already fix it yourself, find the nws.php and the <style> section, under the

.multilines ul.newsticker > li {

element, increase the height from 46px to something higher, try 55 or maybe 60px
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 19, 2015, 12:58:48 PM

Hi John, just checked your site, but I dont see any problem

I've renamed my webpage to http://www.harpersferry-weather.com/meteotemplate (http://www.harpersferry-weather.com/meteotemplate).  To me it didn't seem good to have a version # in the naming convention.

John
Hi John,
Looking at your site from my default IE10 I also see the right side forecast being offset down.  If you want to fix that for IE visitors see Jachym's post of a few days ago with his index.php update.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 19, 2015, 05:44:30 PM
Quote
Now, about those 5 day weekends, please do elaborate on this.
Well, after 2 distinct careers, both of which I thoroughly enjoyed over several decades, I am still of reasonable health and state of mind (open to interpretation ;) ) and can still contribute from my past work experiences and contacts.  I can offer 2 days a week to the not-for-profit organization to get the work done, which otherwise they might not be able to find without more hours - it is a good fit for them and me.  I can still fit in my yard work, enjoy the grand kids, socialize and volunteer in the community, and do what I want or do nothing if I so desire, or take a nap occasionally.  Only my weather station and website suffers...
 
Enjoying,
Paul

Ahh, thought it might be something like a volunteer situation. Good setup you have.

About your site suffering, I call BS on because your site is up to date and I'm the one still running v1.2 lol! Going to try to get all my customizations, etc. applied and get updated this weekend.

One last thing I'm not sure of how I want to handle yet is under Climate. The old nested menus provided for many entries, but to do that on the new menu structure would cause a menu that is taller than the screen which is not something I want to do.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 05:50:00 PM
The advantage of the new menu is that it is a normal DIV element, so you can put interactive stuff in as well - in this particular case I mean for example placing "sliding" divs, so you could basically mimick the original menu and have various regions and clicking each would open "subdiv" for that particular region etc.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 19, 2015, 06:33:33 PM
Quote
your site is up to date and I'm the one still running v1.2 lol!
Finally got some local stuff in the Info Station and Location tabs - trying to keep it up to date and learning some of the nice code things that Jachym has built in. 
 
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 19, 2015, 06:53:22 PM
Hi Jachym, following up on this
Quote
One last thing I'm not sure of how I want to handle yet is under Climate. The old nested menus provided for many entries, but to do that on the new menu structure would cause a menu that is taller than the screen which is not something I want to do.
I have looked at the Climate part of the Menu code but can't understand it all yet, and is there a way to move the maps and links columns further to the left closer to "Climate" so that I can get "Africa" on the same line as the other continents?  Right now Africa has dropped to a new line and to the far left.
 
Not quite ready to begin on
Quote
for example placing "sliding" divs, so you could basically mimick the original menu and have various regions and clicking each would open "subdiv" for that particular region etc.
without some more example to borrow! #-o
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 06:59:41 PM
Hi,

sorry about that :D It looks great on my monitor at work (1920x1080) and I tested smaller as well, yours probably is even smaller :-) Doesnt matter though.

In the menu, find this section:

<!-- CLIMATE TAB -->
   <ul class="digimeg-nav-down-content digimeg-sub-nav">
      <li id="climate-subnav">
         <div class="digimeg-nav-item-content digimeg-group" style="width:100%">
            <div style="display:inline-block;width:18%;vertical-align:top;text-align:left">
               <img src="<?php echo $pageURL.$path?>icons/seasons.png" style="width:100px" alt=""><br><br>

Play around with the highlighted value, decrease it.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 19, 2015, 07:02:46 PM
The advantage of the new menu is that it is a normal DIV element, so you can put interactive stuff in as well - in this particular case I mean for example placing "sliding" divs, so you could basically mimick the original menu and have various regions and clicking each would open "subdiv" for that particular region etc.

A suggestion: Implement the previous menu items in Climate (i.e. Cities) from last template in the 2.0 template on the demo site. That way the rest of us can take that and use as a starting point. Or at least partially implement so we can get the main idea of how to handle it. Might be good to implement this in the download as well.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 07:03:48 PM
Btw. Paul, this is how I saw it originally :D

(http://snag.gy/AF9sN.jpg)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 07:07:19 PM
The advantage of the new menu is that it is a normal DIV element, so you can put interactive stuff in as well - in this particular case I mean for example placing "sliding" divs, so you could basically mimick the original menu and have various regions and clicking each would open "subdiv" for that particular region etc.

A suggestion: Implement the previous menu items in Climate (i.e. Cities) from last template in the 2.0 template on the demo site. That way the rest of us can take that and use as a starting point. Or at least partially implement so we can get the main idea of how to handle it. Might be good to implement this in the download as well.

Hi, I see your point, the reason I didnt do it is because it was more for demonstration purposes of the menu, I intend the template to be more "international", and I put all the states and cities there more to show how the menu can be expanded (which is now in 2.0 irrelevant) and I sort of expected that everyone will delete the other options and leave their state and region. Just like with the European countries, not all were included and others might use different ones.

I can of course make an interactive sliding divs for that, which will show all the states, but there is one more thing you might want to consider - the menu is loaded on each page of the template and so having so many items there will slow down every page.

So lets see, if more people are interested in having ALL the states and cities, then I can try, else I suggest you just use your location and some nearby/important ones.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 19, 2015, 10:24:35 PM
Quote
Btw. Paul, this is how I saw it originally (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
Well that does look good!!
 
I must remember more often, there are different browsers and there are different monitors ](*,)
I have changed it to 15% and hopefully that will be better for some (not enough for my little monitor though)..
 
Thanks Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2015, 10:29:57 PM
Quote
Btw. Paul, this is how I saw it originally (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
Well that does look good!!
 
I must remember more often, there are different browsers and there are different monitors ](*,)
I have changed it to 15% and hopefully that will be better for some (not enough for my little monitor though)..
 
Thanks Jachym,
Paul

Can you not make it even smaller? Or send me your monitor resolution and I will send you adjusted code for it tomorrow, now I should slowly head to bed, its 5AM and I got to get up early "tomorrow"  ;).
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 20, 2015, 04:27:49 AM
Jachym I've a question about database and potential spikes...

http://www.meteotemplate.com/template/pages/other/dbInfo.php the difference in the timespan is given sometime in percents and sometimes in values if I look at the temperatue the difference is 10 x the real difference I looked at my values too but when I substract the values I think it are in most cases not exceptional spikes.. or do I interprete the values wrong ?

For anyone who is interested, I have added a custom scripts page to my site under the Info menu. I included the custom version of dbInfo I am using on my site. It removes the potential spikes sections and adds the Data Available Since date. This should work fine for those that still want to run this without having issues related to calculations or database size.

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 20, 2015, 11:11:12 AM
Thanks Jachym,
I have experimented more and found setting at 5% has Africa on the same line as the others but has the Global map overlap the seasons images, and anything more than 5% still scrolls Africa to a new line on my weather computer with 1280x1024 LG 17" monitor.  I'll leave it at 10% and have checked my 17" laptop and there it looks fine with all on one line and good separation from the seasons and global map images..
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2015, 11:49:24 AM
Thanks Jachym,
I have experimented more and found setting at 5% has Africa on the same line as the others but has the Global map overlap the seasons images, and anything more than 5% still scrolls Africa to a new line on my weather computer with 1280x1024 LG 17" monitor.  I'll leave it at 10% and have checked my 17" laptop and there it looks fine with all on one line and good separation from the seasons and global map images..
 
Regards,
Paul

To fit nicely for your screen size:

Set it to 7% and also,
replace this:
Code: [Select]
<h2 style="text-align:left;padding-left:25px"><?php echo lang("climate",'c')?></h2>
with this:
Code: [Select]
<h2 style="text-align:left"><?php echo lang("climate",'c')?></h2>
See if that helps.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 20, 2015, 05:45:46 PM
I have it now at 6% and changed the code as per your suggestion.  It now is all on one line on my monitor in both IE and FF and looks fine.
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2015, 06:36:10 PM
Looks great :-)
Title: Few important things
Post by: Jáchym on September 21, 2015, 05:09:51 AM
Hi,
based on the emails I get, there are several things I would just like to make a bit more clear to prevent confusion or to help you customize the template.

1. Lang function
When customizing anything in the script, do not use the lang() function. I appologize, it did not occur to me, I should have explained this earlier.
Let me explain how this function works, what it does and why it causes problems to many of you (judging on the number of emails I get).

Basically, in almost all pages of the template, you will often see the lang function and the actual command will look something like this:
Code: [Select]
<?php echo lang("temperature""c")?>The lang function is a function, which instead of hard-coding some text, looks up the particular expression passed to it as the first parameter in the language files for the particular languages. In the above case, the lang function would look for the word "temperature" in the language strings inside the language files. The other parameter ("c") just tells it to capitalize this word (the other possibilities are "l" for lowercase, "u" for uppercase and "w" for capitalizing all words in a phrase). The point of this function is to make sure that the template shows in the language specified by either you (default) or the one chosen by the user.
The above code will therefore sometimes result in "temperature", sometimes in "Temperatur", sometimes in "Teplota" etc. etc.
However! Obviously you cannot use this function for your custom words and pages - only in case it uses words that are already used by the template - i.e. for example temperature, humidity etc. But, lets say you want to add a page in the menu, or anywhere else and call it "extreme weather". Then, if you write:
Code: [Select]
<?php echo lang("extreme weather","c")?>you are telling the script - look up extreme weather in the whatever language file that is set and display it. But the problem obviously is that this phrase does not exist in these files, so the result is, it just doesnt produce anything and you get a blank button/heading etc. Theoretically, you could add this new string in the language file, but remember, that you would then have to add it in the other languages as well, which I guess would be problematic, so even if you add this to the gb.php (the English language file), it will show up correctly, but as soon as someone accesses your page and chooses a different language, they would again see nothing.
So the solution is simple - do not use this code and instead of the above examples, do not use PHP at all and just write "Extreme weather". The only disadvantage will be that this will show regardless of the user language setting - in English. However, there is really no other way, unless you want to translate it to each language currently available in the template.

I hope it makes sense and I once again appologize for not specifying this earlier.

2. Plugin compatibility
I noticed that there is one little problem with compatibility. The newly published plugins were already designed for version 2.0. I said they are still compatible with version 1.2. That still holds, I have only discovered one issue and so, if you are still running 1.2, I would recommend upgrading, but even if you do not want to, the actual problem is that one of the plugins uses a styling that is only specified in the style sheet of version 2.0. In order for this to work properly in 2.0, just add the following lines into the main.css file in the "css" directory:
Code: [Select]
.tableDiv{
display: table;
}
.rowDiv{
display: table-row;
}
.cellDiv{
display: table-cell;
vertical-align: middle;
}

3. Version codenames
I was asked if there will be a version codenamed "Apple". So just to prevent any sort of confusion with regards to compatibility or people thinking this is a special version for particular devices, for obvious reasons I decided there will not be any version called "Apple". Currently there are no major updates planned, there might be some minor updates (2.1, 2.2,...) but those will be very simple to implement and so dont worry you will have to change everything again. I havent decided about the next name :D Maybe... I dont know Blackberry?  :grin: :grin: :grin:

4. Licensing
I have also been asked what are the licensing details of this template. I will include this information in the next update, but for now, I will just try to make it simple, so the basic rules are: The whole template, including plugins, support etc. is offered for free as a freeware (with an optional donation). The template MAY be modified in any way to suit your likings/needs, please do not delete the little link in the footer backlinking to meteotemplate.com. This is purely because I would be happy if more people used it (I dont have any ads on my site, so this is really just to help people, I personally dont have anything from higher traffic). As mentioned above, you can contact me anytime and I will try to help you with either setting it up or even custom pages, create custom icons etc. However, I would rather you do not redistribute the template yourself. If you wish to recommend this to someone or someone asks you about it, please refer them to meteotemplate.com. And there is one last important thing though. The template may not be used for any sort of commercial purposes, unless you discuss the details about this with me.

Thanks and I hope you enjoy it.

Btw. there is a new plugin coming very soon, which Im sure you will love, I personally must say it surpassed my expectations and Im extremely happy with the result. There might also be a little surprise for you very soon, but I will keep that as a surprise :-)
Title: New plugin - Station Diary!
Post by: Jáchym on September 21, 2015, 02:45:42 PM
A new plugin is now available. I must say I have been thinking about this one and worked on it for quite some time, but I personally am quite happy with the result and I hope you will enjoy and find it useful too.

Logging the weather conditions and analyzing past weather has always been something I wanted to do – which in fact was why I designed my template in the first place. It is great to see all the stats, graphs, especially for someone like me who loves statistics. However… there are still things that computers just cannot do yet and information that simply cannot be deduced purely from the measured data.
I therefore kept a small weather diary, where I wrote down my notes for that day. But I had a problem, it had all the notes, but did not have the numbers, so I had to copy them from my template outputs and it was time-consuming and didn’t look good anyway.
I’m sure I’m not the only one who thought about this and so I thought – how about I tried to connect the “two worlds” of computer analysis and human input and combine them to form one final solution. I searched the web and I didn’t find anything like this so the only way was to try to create something myself.
I have been working on this for quite some time, trying to include all the stuff I wanted to and since I decided to include this also as a plugin, I had to make sure it is easy to use and intuitive and compatible with all the other Meteotemplate features.
I hope you will like it too, but please make sure you read carefully the instructions and info below so that you know how it works, what it can do and how to use it</strong>.

This new plugin is basically trying to mimic a physical station diary. At the beginning you will see your library – a list of available “diaries” for your station – one year = one diary. These diaries come in two versions – normal and “pocket edition”. The pocket edition is simply a stripped down version of the standard edition. It is smaller, does not contain all the data like the standard version and so also loads faster.

Main features

- automatic generation of days from database info, including day number, week number, month
- daily averages, maximum, minimum for all parameters (info about solar displayed based on config.php settings)
- sun rise, sun set, day length (for station location)
- hourly graph of temperature and precipitation
- comparison to normals, including deviations
- custom content for each day – possibility for adding formatted text, links, images etc. using HTML, added using an interactive text editor automatically
- custom icon for each day
- automatically added content:
  - statistics for days (eg. warmest day of the month, day with lowest average pressure of the year etc.)
  - moon phases
  - solar, lunar eclipses
  - meteor showers
  - seasons beginning (based on hemisphere)
  - solstice, equinox dates
- calendar
- annual statistics
- monthly statistics
- information about weather station, including maps
- information about website, including a QR code with link

Install instructions and how to use can be found in the blog (link below)

Remember this is Diary 1.0 and I am open to suggestions and <strong>I plan to further develop this</strong> as I think it is quite unique, yet very useful thing to have. I already have some things that would be worth adding, but I want to see first if people like it at all and whether it would make sense to add more stuff.

Demo: http://www.meteotemplate.com/template/plugins/diary/diaryIndex.php (http://www.meteotemplate.com/template/plugins/diary/diaryIndex.php) (look at year 2015 where I have added some sample dummy text)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=216 (http://meteotemplate.com/blog/?p=216)
Title: Re: Meteotemplate - new free website template
Post by: erikmm on September 21, 2015, 03:19:35 PM
Wow......nothing else to say....wow  :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 21, 2015, 03:23:31 PM
Thanks, I will actually use this myself quite a lot too, as I said in the previous post, on one hand I love stats, and in this perspective, computers are far better than humans in doing all the calculations etc., but there are things you cant deduce from your database and things no computer can understand, in which case it is better to keep your own notes.

Note:
Just one thing, when viewing the demo, the page might be quite slow, sorry about that this is becase since I have the cheapest plan for my webhosting, the bandwidth is limited and when too many people look at it at the same time, it is very slow....

Also I recommend you rather look at the full version, not the pocket one, which is the "bigger book" :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 21, 2015, 03:37:35 PM
Very very nice!!

I made a slight change to the admin section
Title: Re: Meteotemplate - new free website template
Post by: tstorm on September 21, 2015, 03:44:12 PM
I love the diary!!  It's really cool.  Thanks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 21, 2015, 03:47:38 PM
Very very nice!!

I made a slight change to the admin section

:D I made that change too already in my admin section :D I just couldnt add it because you have to remember that not everyone might install this plugin so I cannot tie the plugins to the core files :-)
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 21, 2015, 04:33:08 PM
Very very nice!!
I love the diary!!  It's really cool.  Thanks. =D&gt; =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 21, 2015, 04:46:42 PM
Very very nice!!

I made a slight change to the admin section

:D I made that change too already in my admin section :D I just couldnt add it because you have to remember that not everyone might install this plugin so I cannot tie the plugins to the core files :-)
Could you not provide a new admin/index.php with the plugin and also instructions on how to replace?  That way the core files wouldn't get touched unless someone wanted the plugin?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 21, 2015, 05:11:58 PM
Yes, I thought about that too, but then I also thought about the fact that this would make any core file update problematic. Because I would also have to always think about all the various modifications of the core files for particular plugins if you see what I mean.

What I will probably do instead is post instructions of how to add this and then anyone can do this even if I update the core files. Right now I have one more quite useful plugin almost ready, and then I can look at this and also I want to see if I can find a way of displaying the climate section in the menu so that all the US cities can be included like it was in 1.2.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 21, 2015, 05:23:54 PM
Very very nice!!

I made a slight change to the admin section

:D I made that change too already in my admin section :D I just couldnt add it because you have to remember that not everyone might install this plugin so I cannot tie the plugins to the core files :-)
Could you not provide a new admin/index.php with the plugin and also instructions on how to replace?  That way the core files wouldn't get touched unless someone wanted the plugin?

I also quite like how you added the webcams, it looks very nice and fits into the design of the rest. Maybe just one little thing, I think it would look better if the icon for the webcams in the menu was also white, you can use the image Im attaching if you want.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 21, 2015, 05:27:17 PM
Very very nice!!

I made a slight change to the admin section

:D I made that change too already in my admin section :D I just couldnt add it because you have to remember that not everyone might install this plugin so I cannot tie the plugins to the core files :-)
Could you not provide a new admin/index.php with the plugin and also instructions on how to replace?  That way the core files wouldn't get touched unless someone wanted the plugin?

I also quite like how you added the webcams, it looks very nice and fits into the design of the rest. Maybe just one little thing, I think it would look better if the icon for the webcams in the menu was also white, you can use the image Im attaching if you want.

Thanks, that was on my todo list but had not yet gotten around to it!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 21, 2015, 11:23:07 PM
I like it, I like it, I like it...
Still looking around to see how to get to a page within a month quickly.  Also how to automatically, or quickly, add our daily CoCoRaHS manual precipitation data, sunshine hours and percentage, etc.
 
Very well done Jachym, again!
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 21, 2015, 11:57:50 PM
Very very nice!!

I made a slight change to the admin section

Very very nice!!

I made a slight change to the admin section

I have tried to figure out how to add the addDiary to that Admin section but haven't been able yet.  Could you share or let me know what and where.  I have looked at the Admin/index.php at line 69 but not sure what next.

Thanks,
Paul
Title: Re: New plugin - Station Diary!
Post by: SimonB on September 22, 2015, 03:19:28 AM
A new plugin is now available. I must say I have been thinking about this one and worked on it for quite some time, but I personally am quite happy with the result and I hope you will enjoy and find it useful too.

Gobsmacked... how awesome is this :)
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 22, 2015, 05:45:12 AM
The URL of the image will therefore look like this:

http://www.meteotorrelavega.com/template/plugins/stickers/sticker200_120.php?parameter=T&text=Hello&color1=grey&color2=dark_red

respuesta del servidor
Parse error: syntax error, unexpected '[' in /home/meteotor/www/template/plugins/stickers/sticker200_120.php on line 61
 #-o #-o #-o #-o ](*,) ](*,) ](*,)

que puede ser
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2015, 06:48:24 AM
The URL of the image will therefore look like this:

http://www.meteotorrelavega.com/template/plugins/stickers/sticker200_120.php?parameter=T&text=Hello&color1=grey&color2=dark_red

respuesta del servidor
Parse error: syntax error, unexpected '[' in /home/meteotor/www/template/plugins/stickers/sticker200_120.php on line 61
 #-o #-o #-o #-o ](*,) ](*,) ](*,)

que puede ser

Which PHP version are you using, PHP 5.3?
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 22, 2015, 06:49:51 AM
SetEnv PHP_VER 5_6
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on September 22, 2015, 06:56:41 AM
SetEnv PHP_VER 5_6
Sorry, I think you are mistaken. http://www.meteotorrelavega.com/weather2/info.php
As far as I can see your site uses PHP Version 5.2.17

Wim

P.S. I had the same error with this language construct:
Code: [Select]
$timezone_canada = ["CA" => ["name" => "Canada" ],];
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2015, 07:00:24 AM
Milio, I suspect you must be using something lower than 5.4. I have seen this error before, I highly recommend you upgrade to 5.4. This version has been around for quite some time already and has been tested. There are lot of new functions and you will run into problems with 5.3 at other places too. I have already changed some scripts because of this, but you never know when something will not work again.

All people that have upgraded to 5.4 did not encounter any problems whatsoever, so do not be afraid to do it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2015, 07:02:16 AM
Basically, the most common problem I have with 5.3 and lower is when you want to get a variable from a function that produces an array,

so for example this:

Code: [Select]
$x = explode(",",$array)[0];
will most likely not work in 5.3 and lower and you would have to first do the explode function and save it as an array and then get the first item from that array
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2015, 07:06:04 AM
Very very nice!!

I made a slight change to the admin section

Very very nice!!

I made a slight change to the admin section

I have tried to figure out how to add the addDiary to that Admin section but haven't been able yet.  Could you share or let me know what and where.  I have looked at the Admin/index.php at line 69 but not sure what next.

Thanks,
Paul

I decided I will be regularly releasing something like "tips" for customizing the template. These tips will then be posted in the blog and added to either the extra features section of meteotemplate.com or maybe in the FAQ.

Currently, the things I plan to talk about are:
- adding "addDiary.php" to admin section
- modifiying the size of the big diary to make it smaller but still with all the info

and I am currently trying to find a way of how to cram more items in the climate tab, I already have sort of an idea how it could be solved, so once I have that, I will post it there
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 22, 2015, 07:50:13 AM
ok version 5.4
gracias
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2015, 08:17:59 AM
Great and I can see it is now working :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2015, 12:14:12 PM
If anyone wants to add button for creating a new diary entry into the admin section, then here is how to do it:
http://meteotemplate.com/blog/?page_id=224

I will use this page to give various tips for tweaking the template further.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on September 24, 2015, 02:55:27 AM
It's still a work in progress but have a look at www.meteo.capetown
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 24, 2015, 09:35:34 AM
Very nice, and like your webcams addition.

p.s. your site in IE10 also has the issue of the drop down of the Home page forecast on the right side.  If you want to cater to IE10 users see Jachym's earlier post on the fix.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: SimonB on September 25, 2015, 01:58:00 AM

Very nice, and like your webcams addition.

p.s. your site in IE10 also has the issue of the drop down of the Home page forecast on the right side.  If you want to cater to IE10 users see Jachym's earlier post on the fix.

Enjoy,
Paul

Thanks

Will look when I get back from vacation.
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 25, 2015, 07:14:10 AM
hola estoy intentando subir datos a mi base

log WD 102012lg.txt  --->  modificado   201210.txt
 
comandos
Temperature.................6       
Humidity.......................7       
Pressure.......................9       
Wind speed...................10       
Wind gust.....................11       
Daily rain......................14       
Rain last minute.............13       
Wind Direction Degrees ...12

pero no la veo en ningun sitio
ayuda por favor   

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 07:41:04 AM
hola estoy intentando subir datos a mi base

log WD 102012lg.txt  --->  modificado   201210.txt
 
comandos
Temperature.................6       
Humidity.......................7       
Pressure.......................9       
Wind speed...................10       
Wind gust.....................11       
Daily rain......................14       
Rain last minute.............13       
Wind Direction Degrees ...12

pero no la veo en ningun sitio
ayuda por favor

Hi, I need to see the file, otherwise I cant tell you what could be wrong, the file is not on your server.
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 25, 2015, 08:01:23 AM
esto es lo que he hecho
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 08:59:48 AM
Milio I have absolutely no idea what this is supposed to be. You are trying to import this as log from Oct 2010 but the file has only one set of data and totally different format. I have no idea where this comes from and what it is supposed to be.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 12:04:51 PM
Saludos, es la primera vez que intervengo en el foro, estoy interesado en descargar los datos de WD desde el ańo 2013, siguiendo instrucciones parece que lo importa bien, pero luego no aparecen los datos en la Base de datos, cambio por ejemplo, 102013lg.txt por 201310.txt parece que todo va bien pero no consigo visualizar la importación, quizas sea que no interpreto bien las letras que tengo que poner en cada columna, podria prestarme su ayuda?, gracias
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 01:02:18 PM
Hi,
I dont know a word in Spanish, so Im not exactly sure what you are trying to do and how.

First of all I need to know:
- which software logs you want to import
- attach a sample of one random log so that I can check its structure and format

And I can then tell you how to proceed
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on September 25, 2015, 01:10:56 PM
adjunto fichero

attachment to database
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 01:17:45 PM
ok, upload it to your server, specify the path to the file and then use the VIEW COLUMNS function on the import page and it will show you the column numbers
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 03:06:43 PM
Hi, I'm trying to import the logfiles history files from the year 2013 until today, and I'm following the steps ask for imports from the help of the Wiki, but I can not integrate into the database files in question, which have the main question is what are the correct numbers you have to indicate in columns, could you tell me the correct and necessary steps ?, considering that my knowledge in this area are limited? I beg your help, thank you very much
Juan Maria


 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 04:34:52 PM
Hi,
the column numbers depend on your particular file. If you read the wiki, it will tell you that you should open the page for import, specify the path for the text file and then, click on "view column numbers" and it will show you the numbers. You havent even said which software you are using.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 04:39:47 PM
Yes, Weather display
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 04:42:27 PM
OK, so if you open the WDimport.html, then you specify the path to your txt log and then, click the view the column numbers here link, which will show you the numbers
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 05:39:58 PM
Did you get it working or do you need help?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 05:48:36 PM
I found numbers column, I put the file path, the download successfully, but does not appear in the database.
I hate to bother you so much
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 05:52:05 PM
OK, then:

1. make sure the files are uploaded to the server (the logs)
2. send me URL to your WDimport.html and the logs

And I will have a look at it
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 06:10:28 PM
http://www.meteo-badalona-progres.com/template/install/WDimport.html


Template/install
201310.txt
201311.txt
201312.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 06:14:01 PM
Hi, but I dont see any problems, your data is all there since Oct 2013, I just looked at monthly reports from 2013, it is all there
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 06:16:41 PM
Please, donde mira Usted?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 25, 2015, 06:19:06 PM
Gracias!!!!, ya aparece, muchas gracias.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 06:21:11 PM
You are welcome,  enjoy the template
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2015, 09:49:38 PM
Please, donde mira Usted?

I just noticed one thing though, on your site, the css is not loading properly. Based on what I see it seems like your design2 color is not set properly, check that it is correct, currently it cannot find the right values, so the design2 parameter must be set incorrectly.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 02:31:25 AM
Good day, I just got your message, and I'm puzzled, because that is not what I have to rectify, what is the way to take the data correctly?
Thank you for your help
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 04:28:32 AM
Hello, I have been introduced every month in 2013 and 10 month except if it appears, others do not appear, downloads all tell me success, which can be please.

Thank you
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 04:31:26 AM
Software Weather Display, y mi URL es
http://www.meteo-badalona-progres.com/template/install/WDimport.html

Gracias
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 06:56:56 AM
No se que hacer!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 10:29:36 AM
Hi, well it seems like you changed your admin password for the template from the default one, so I cant do anything.

The column numbers you should use are:

Temperature   5
Humidity   6
Pressure   8
Wind speed   9
Wind gust   10
Daily rain   13
Rain last minute   12
Wind Direction Degrees    11

For your password use the one you specified in config.php and if you have already tried importing something choose the "overwrite" option
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 11:03:56 AM
Sorry, I'm back to change the pasword (12345) so you can see what happens, columns with numbers are correct, the import is successful, but does not appear in the database, sent password you can look.

Thank you for your attentio
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 11:27:04 AM
Sorry, I'm back to change the pasword (12345) so you can see what happens, columns with numbers are correct, the import is successful, but does not appear in the database, sent password you can look.

Thank you for your attentio

Hi,
I just went to your site, yes the only month that is imported is the one I imported yesterday (Oct 2013) others were not in the database.

So I entered the column numbers I showed you, clicked import - and all the data was imported. I really dont know what you are doing wrong, because for me the import works normal.

Again:
This is what you have to use:

log file name:   201311.txt (or other months)
column numbers: see above
mode: overwrite
password: your adminPass from config.php

And the import works like this. Try 201312.txt


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 12:06:28 PM
One more thing. In the past I have noticed that in case of some servers there is a problem with import using IE.

Ideally, try importing the data using the best browser there is :)

P.S. I meant Chrome of course  :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 12:10:07 PM
.. You know me wrong, I just did not appear 201312.txt and does it take too long to download? in the database?

Seguro que hay algo que hago mal y no se que es
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 12:13:45 PM
Hi,

yes your server does seem to be very slow, but it eventually does import. Plus, even if your server was slow, you might just not see some of the last days in the month, but in your case, nothing imports.

I suspect it must be the browser issue, did you try Chrome?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 12:22:11 PM
Firefox,
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 12:32:04 PM
OK,

so everytime I try importing something, it works, so far I imported Oct and Nov 2013. None of the months you tried worked.

So:

Try Chrome. I cannot think of anything else, I filled in everything as I posted above and if you replicated that then the browser is the only thing I can think of. Try Chrome.

if Chrome does not work for 201312.txt, let me know and I will import all your files
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 12:42:53 PM
Since you do not, just try with Chrome, Firefox, Edge ..... he tells me that the download was successful, but ... does not occur, if you want you upload files 2013, 2014 and 2015 to have the entire database, do me this favor?

Thanks for your great interest

I love his magnificent template.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 12:49:00 PM
Hi,

thanks, Im glad you like it.

listen, if you are struggling with the import, I will do it for you, but it will take some time and unfortunately I am at work now so I can always just quickly look here and I have to do other stuff. So I will do it, but I will do it later tonight when I get home. We are in the same timezone. It is now 7PM, I finish here at 8, then I tutor so I will get home around 11.30 PM. So, I will import your database, but it will be around midnight, not earlier. I will let you know once it is done. Also - make sure all your log files from 2013, 2014 and 2015 are uploaded to the server so that I can import them!!!

Best regards Jachym
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 06:04:54 PM
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 06:10:59 PM
I just got home 10 minutes ago... so I will eat something and look at your web. I hope it will only take maybe half an hour or hour to do. I will have to import the entire database and all log files and your server is also very slow.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 06:14:45 PM
Ok
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 07:06:51 PM
I imported one month, but you probably did not set config.php. The numbers are nonsense, you have temperatures of over 100 °C.

Either:
1. your logs are nonsense
or your units in config.php are not set properly. Did you follow the instructions in the wiki? Did you set the units correctly?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:08:36 PM
Ahora lo miro
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:11:25 PM
   // Units in MySQL database - specify the units in which your data is saved in MySQL database
   $dataTempUnits = "C"; // C or F
   $dataRainUnits = "mm"; // mm or in
   $dataWindUnits = "kmh"; // ms, kmh, kt or mph
   $dataPressUnits = "hpa"; // hpa, mmhg, inhg

   // Display units - specify the default units in which you want your data to be shown on the web
   $displayTempUnits = "C"; // C or F
   $displayRainUnits = "mm"; // mm, cm or in
   $displayWindUnits = "kmh"; // ms, kmh, kt or mph
   $displayPressUnits = "hpa"; // hpa, mmhg, inhg
   $displayCloudbaseUnits = "m"; // m or ft
   $displayVisibilityUnits = "km"; // visibility units, km/mi/m

   //limits - these are limits for specific parameters. These limits will be used when uploading new or historical data to the database. If the value to be added is outside these limits, it will be ignored - this is for example to avoid inserting crazy values, which would subsequently bias averages etc. These limits are in the units to be saved in the db - i.e. the units you specified that are units of data in MySQL database.
   $limitTempMin = -100;
   $limitTempMax = 100;
   $limitHumidityMin = 0;
   $limitHumidityMax = 100;
   $limitPressureMin = 950;
   $limitPressureMax = 1100;
   $limitRainMin = 0;
   $limitRainMax = 200;
   $limitRainRateMin = 0;
   $limitRainRateMax = 500;
   $limitBearingMin = 0;
   $limitBearingMax = 360;
   $limitWindMin = 0;
   $limitWindMax = 200;
   $limitSolarMin = 0;
   $limitSolarMax = 2000;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 07:21:26 PM
OK, can you also check and paste here what you have for:
$design and $design2 - there is a problem with that too
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:28:16 PM
You mean I have to go back adescargar the template?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 07:33:24 PM
There seems to be a problem with your server.

It is extremely slow, I tried your logs on my server and the import took about 7 seconds. When I do it on yours it often runs out of time after 30 seconds.

Now I even get this:

Failed to connect to MySQL: User meteobadalona already has more than 'max_user_connections' active connections

It seems like you either have very low limits in your php.ini or I fear the problem is that the hosting you use is just extremely slow and runs on some very slow servers. Even your whole page behaves extremely slowly.

Is this a free hosting?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:38:47 PM
No en absoluto,


OVH
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:43:31 PM
Tomorrow morning, I will execute again, will review my hosting, and I will start again, you'll have reported.
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Skyview on September 26, 2015, 07:45:34 PM
For anyone interested, I have created a custom site sticker size (seen in my sig) that can be downloaded from the custom scripts page on my site located on the Info menu.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:46:01 PM
Now it seems that begins to collect better data, it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 07:46:19 PM
OK

I tried the import, but the server is extremely slow and sometimes even throws this error. Also the whole page is extremely slow even when just displaying data. I don´t think this is a problem on my side, because otherwise my internet connection is very fast and it was slow even at work where we have 1GBit connection.

The only solution I can think of is if I try do this by creating the database on my own server and then uploading it directly from phpMyAdmin as one large single SQL file. But the problem is that I am not at work tomorrow and my computer here at home is too slow for all this.

You can try it yourself again, I tried January 2014 and it worked, but it only works sometimes and sometimes runs out. Otherwise you will have to wait until Tuesday because on Monday I cannot stay at work after hours to do this. And unfortunately I cannot guarantee it will 100% work, hopefully yes, but we will see. You can try yourself, the column numbers I showed you work.

Also, in your config.php, check your parameters design and design2, one of them is set incorrectly, which is why the colors on your web are problematic and you don´t see the graphs. If you want you can paste your whole config here (without the MySQL login and password of course).
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 26, 2015, 07:59:38 PM
Ok le informare del resultado.
Saludos
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2015, 08:05:29 PM
OK, thanks, sorry I can´t help you right now. Try the column numbers I showed you and it should work, but your server is very slow so the import is problematic. If you are unable to do this, I will do it on Tuesday, I can stay after hours at work. It is likely to take me maybe one or two hours so I cannot do it on Monday, when I have too much stuff at work and I cannot do it at home, because my laptop is 10 years old and very slow.

I will remember about it don´t worry, I am sure we will get it working eventually!

Best regards to Spain from Czech republic
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 10:48:01 AM
Hi,
so I finally found out why the import for some months did not work... the problem is in your logs! I looked for example at 201312, which should be December 2013, but when I opened it, the dates inside are for January.

Please make sure you have your logs named correctly and let me know when they are all correctly uploaded and named on the server.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 02:05:16 PM
You're right was wrong renowned as being changed and I have reviewed the other, they are now correct.
I have not gotten anything up.

Cheers
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 02:50:58 PM
OK, I will see what I can do.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 02:58:04 PM
I tried December, but there is still the same problem we had yesterday...

Your logs are in 1 minute intervals, which means they are relatively big files. The problem is that your server is extremely slow. Even when I just view the site normally, not importing anything, it is extremely slow. I tried the same log file on my server (which is also relatively slow) and it took 8 seconds. There is a limit on your server and after that limit it just runs out. So for example for December 2013, I am not able to load more than the first 22 or 23 days....

An option would be as I suggested, I would have to replicate your database on my server, then save the whole thing as SQL and then upload that one big file at once. This would theoretically work, but first of all it would take lot of time, but more importantly it would not solve the issue of the page being extremely slow even when viewing it.

What interval did you set for your CRONs?

If anyone could also confirm that, try:
http://www.meteo-badalona-progres.com/template/

And see if it is also so slow for you, try some monthly/annual reports etc. I just want to make sure this is not an issue on my side.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 03:15:12 PM
Right now I'm uploading files, checking tickets and going seems it starts working, I keep trying.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 03:26:06 PM
Oh no! Dont upload anything, I am uploading it right now, I told you not to do anything and you said you will not, this is going to cause even more mess. Please do what I tell you to do, otherwise I really cannot help you. Stuff that you see is what I am uploading.
Title: Re: Meteotemplate - new free website template
Post by: erikmm on September 27, 2015, 03:41:48 PM
Very slow here too
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 03:46:36 PM
I will try to import everything I can and (hopefully, given Juan does what I tell him to do...) then I will try the db reformat to speed up his db, but we will see... Im in April 2015 now.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 27, 2015, 03:59:43 PM
Quite slow for me, 8 to 12 sec on 5 tries.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:02:05 PM
OK, sorry
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 04:05:42 PM
OK,

Juan, I tried importing all the files and they should be on the server.

Couple more things:

1. I asked you yesterday already, your config.php settings are wrong (design is screwed up). Can you please copy your config.php settings for the part where you set the design and font.

2. I will try reformatting your database so it runs faster, please let me know what database update intervals you specified in wd.php. Is it 5 minutes?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:11:59 PM
Yes
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 04:14:43 PM
Well that "Yes" did not help me much :D Please post what I asked you to post. Unless you try to cooperate it really is impossible for me to help you. It is already difficult for me as I don´t understand you very well.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:15:55 PM
// Design combination
   $design = 'black'; // default design theme; options: red, pink, purple, deep_purple, indigo, blue, light_blue, cyan,teal, green, light_green, lime, yellow, amber, orange, deep_orange, brown, grey, blue_grey, dark_red, beige, magenta
   $design2 = 'brown';

   // fonts
   $designFont = 'PT Sans'; // main font
   $designFont2 = 'Roboto'; // minor font
   // font options:
   // 'PT Sans','Roboto','Bree Serif','Dosis','Ubuntu','Lobster','Kaushan Script','Arial','Tahoma','Times New Roman','Verdana','Georgia','Courier New','Open Sans','Play','Open Sans Condensed','Anton','Helvetica','Inconsolata','Righteous'
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:16:50 PM
This is it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 04:24:42 PM
Yes, now Juan....

Can you guess why this does not work?

$design = 'black'; // default design theme; options: red, pink, purple, deep_purple, indigo, blue, light_blue, cyan,teal, green, light_green, lime, yellow, amber, orange, deep_orange, brown, grey, blue_grey, dark_red, beige, magenta

It shows you all the options you have, do you see "black" there? That is why it does not work. Please choose one that is available.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:27:14 PM
Possibly due to the translator that I use, it is the reason.
I appreciate your effort in helping
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:30:15 PM
Puede ser green?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:31:40 PM
Which in his opinion would be the most common? among us?
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:32:34 PM
What I have to change? or not
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 04:33:36 PM
It tells you right behind the parameter what is possible:

red, pink, purple, deep_purple, indigo, blue, light_blue, cyan,teal, green, light_green, lime, yellow, amber, orange, deep_orange, brown, grey, blue_grey, dark_red, beige, magenta
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 04:43:32 PM
Since this "green" and as the graphics are, it's great
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 04:47:02 PM
OK I made a few more changes and your website is now fully functional. Slow, but everything is now working and your database is ready.

Title: Re: Meteotemplate - new free website template
Post by: erikmm on September 27, 2015, 04:48:25 PM
Juan, I think you owe Jachym a 6 pack of beer now :-)
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on September 27, 2015, 05:04:35 PM
This is done, the problem is that my knowledge in this area are very basic, without their help, I would not have been able to install, beers with dinner included when we greet.

Again very grateful
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2015, 05:06:44 PM
 :grin: :grin: You are welcome, I am glad it finally works and enjoy.

Btw. I probably should start travelling a bit :D I have already been invited to quite a few countries for a dinner and beer  8-)
Title: New plugin - WxSim
Post by: Jáchym on September 30, 2015, 11:33:47 AM
A new plugin is now available, which uses the WxSim software logs to display forecasted conditions using graphs, tables and icons.

Main features:
- dynamic graphs of various parameters forecasted by WxSim
- textual forecast for upcoming days
- detailed forecast for user-specified hours, including icons and possibility to display all the parameters

Install instructions:
- download and unzip the files
- open forecast.php and set up the script in the specified section
- upload the files to your server and add link to the menu
- given the log files are relatively difficult to work with as they are inconsistent and also the fact I do not have wxSim myself, it is possible that your file might not be loaded 100% correctly, in such case feel free to contact me and I will see what I can do to make it work for you

more info about setup in the blog

Demo: http://www.meteotemplate.com/template/plugins/wxSim/forecast.php (http://www.meteotemplate.com/template/plugins/wxSim/forecast.php) (please note: I do not have WxSim myself, so the demo uses a static sample file and does not change)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=233 (http://meteotemplate.com/blog/?p=233)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 30, 2015, 08:51:16 PM
Hi Jachym,
I presume one needs WxSims to be able to use this new plugin?  which I don't have.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 30, 2015, 09:23:44 PM
Correct,  but many people have asked for this
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 30, 2015, 10:28:02 PM
Yes I recall seeing those requests, just thought I would check just in case you had some more of your magic tricks incorporated ;)

Paul
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on October 01, 2015, 03:42:09 PM
linea de error  242
$language['es']['mondayAbbr'] = 'mes';
en lang/es.php

Tiene Que Ser
$language['es']['mondayAbbr'] = 'Lun';

es para la columna
aerisForecast

emilio
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on October 01, 2015, 04:40:34 PM
Hello good evening, welcome clarification in summaries, statements of the columns are (AVG) (MAX) (MIN) (RAN) (DE) indicating the latter?
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 01, 2015, 05:18:09 PM
Hi,

guys, please use English (in the worst case French or German), but I do not speak Spanish and unfortunately I have no clue what you are talking about  :-(
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on October 02, 2015, 01:08:29 AM
Sorry, żsomeone could tell me which is the value indicating the "DE" column summaries?

Cheers
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on October 02, 2015, 03:15:07 AM
Error on line 242
$language['es']['mondayAbbr'] = 'mes';

must be
$language['es']['mondayAbbr'] = 'Lun';


days of the week column
aerisForecast

emilio
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 02, 2015, 05:02:53 AM
Error on line 242
$language['es']['mondayAbbr'] = 'mes';

must be
$language['es']['mondayAbbr'] = 'Lun';


days of the week column
aerisForecast

emilio

OK thanks Emilio, Im not the author of the translation, so I could not check that, I already changed it and next update will have this corrected.

Juan MŞ Vilaro Sala:
Standard Deviation, in Spanish Desviación típica
https://es.wikipedia.org/wiki/Desviaci%C3%B3n_t%C3%ADpica
Title: New Plugin - Forecast Comparison!
Post by: Jáchym on October 04, 2015, 01:49:36 PM
One thing that is (was) still missing in the template was some more sophisticated forecast. Well, that is no longer true! I would like to introduce the new plugin, which I called "Forecast comparison". I am sure it will be quite useful and it is again something I haven´t seen anywhere else, though I many times thought I would like to have something like this. Read further to get to know all the features and how to install it.

So what does this new plugin do? When looking at forecasts on the web there is always a problem with deciding which service to use. There is several providers that show you the forecast and often the values differ substantially. So... wouldn´t it be nice to have them all lined up next to each other, being able to see what each shows? OK, but wouldn´t it be even better if you could then also retrospectivally compare these values with the reality measured by your station to see which one was the most accurate? Well if your answer to these questions was yes, then this plugin is for you!

I will also put a poll on the blog later and it will be quite interesting to see which service is the most accurate. Is there an overall winner in terms of accuracy? Are they all more or less the same? Is one substantially better in Europe and other in the USA and Canada? We will see :-)

Read more about how to use and install in the blog.

Demo: http://www.meteotemplate.com/template/plugins/forecastComparison/index.php (http://www.meteotemplate.com/template/plugins/forecastComparison/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=237 (http://meteotemplate.com/blog/?p=237)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 04:33:32 PM
Hi Jachym,
This is something I've wanted to do for a long time and my manual methods have been too complex and too much work, I reeeally like it.  Still some more settings to look into but got 3 comparisons working.  However WU gives an error.  I have cut and paste the key so that should be correct.  http://www.komokaweather.com/j-template/plugins/forecastComparison/index.php (http://www.komokaweather.com/j-template/plugins/forecastComparison/index.php)
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 04:47:27 PM
Hi,

ok for those of you who have problems with your WU, post here the location you would like to use and I will try to find the correct URL. Also make sure you have a valid API key for WU.

Paul, in your case I tried komoka and it worked.

Try hard-coding it, on line 784

put this URL:

http://api.wunderground.com/api/***API KEY*****/hourly10day/q/ca/komoka.json
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 05:22:38 PM
Paul, I have just tried Komoka and for coutry I set "ca" and saved that and ran on my test server and it did work.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 06:23:46 PM
Thanks Jachym,
Seems that I have got the WU working but the AERIS is not and getting an error on line 610.  I have again checked the ID and secret code from their site and I have it correct in config.sys.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 06:24:52 PM
for aeris try "komoka"

Just tried it, "komoka" should work - just keep in mind Aeris does not have forecast for your location, I just inspected the forecast and the data is taken from London airport - I just hope its not the London in UK :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 06:37:20 PM
Thanks again Jachym,
Somehow, AERIS started to work again, as it did initially but then popped up the line 610 error.  So that is good for now (London airport is usually the local forecast location for the region|).
 
Now back to another WU error on line 1294
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 06:39:14 PM
Paul, I tried komoka and it worked. Are you sure you have correct and valid API for WU? Go the wunderground.com, and in the developers section you actually have to apply for the code, fill in some stupid form and they generate a key for you.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 04, 2015, 06:50:32 PM
Thanks, love the plugin. But, I'm also having problems with WU. You can look here to see what I mean:

http://www.fvweather.com/plugins/forecastComparison/index.php

Note: I have verified I am using the correct WU API key, and for location I have played around with the following variations - Fuquay-Varina, Fuquay Varina, fuquay-varina, fuquay varina
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 06:54:35 PM
Yes I have a valid WU API, and I had been getting daily warnings that I was exceeding the daily limit when I was using more frequent CRONS for wheartist34's WU Dashboard script (I have now reduced that CRON frequency).  I have rechecked the WU API and cut and paste.
Quote
Your wunderground API key (xxxxxxxx) exceeded its allotted usage today by making 504 calls in a day but the limit is 500.

We used one of your raindrops instead of disabling the key for the remainder of the day. You now have 26 remaining raindrops.

We check usage for 24-hour periods based on U.S. Eastern Time.
Quote
  $urlWU = "http://api.wunderground.com/api/****api key****/hourly10day/q/ca/komoka.json"; (http://www.wxforum.net/'http://api.wunderground.com/api/****api)

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 06:55:14 PM
David in your case it seems like the API key is correct (unlike Paul, where it throws a PHP error), in your case it is unrecognized location.

I just checked WU and it seems like in case of your town, it gets data from "Ballentine" so if that is something close to you, use that, that should work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 06:56:43 PM
Yes I have a valid WU API, and I had been getting daily warnings that I was exceeding the daily limit when I was using more frequent CRONS for wheartist34's WU Dashboard script (I have now reduced that CRON frequency).  I have rechecked the WU API and cut and paste.
Quote
Your wunderground API key (xxxxxxxx) exceeded its allotted usage today by making 504 calls in a day but the limit is 500.

We used one of your raindrops instead of disabling the key for the remainder of the day. You now have 26 remaining raindrops.

We check usage for 24-hour periods based on U.S. Eastern Time.
Quote
  $urlWU = "http://api.wunderground.com/api/****api key****/hourly10day/q/ca/komoka.json"; (http://www.wxforum.net/'http://api.wunderground.com/api/****api)

Paul

In that case it seems like you are still exceeding the daily limit, maybe I would consider creating another profile at WU and use that new key... just see if you have some alternative email for this ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 06:58:21 PM
Also!!!

VERY IMPORTANT!!!

If you make any changes in the settings, make sure you DELETE the cache files in the cache directory of your server, otherwise it will be using the invalid files until the cache interval expires!!!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 07:11:11 PM
I have deleted everything in /forecastCompare/cache folder.  Still the same issues.  Have now better understood the Current and Forecast comparison scripts.
 
For Current comparison: Yahoo, WWO and Aeris is ok, WU has a warning for line 1294.
 
For current forecast comparison: Yahoo, WWO and WU are ok.  Aeris has the line 610 error.
 
I have not exceeded my WU limit for a few days since I reduced the frequency of the CRONS and when I had exceeded they would just take away one of my raindrops so I doubt that is the issue.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 04, 2015, 07:13:34 PM
David in your case it seems like the API key is correct (unlike Paul, where it throws a PHP error), in your case it is unrecognized location.

I just checked WU and it seems like in case of your town, it gets data from "Ballentine" so if that is something close to you, use that, that should work.

OK, that is just freaky! That is a neighborhood PWS about a mile from me. The label in WU for my PWS is Northeast Fuquay. Why in the hell does that PWS work for Fuquay Varina and not my own PWS?
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 04, 2015, 07:19:13 PM
I went to WU and found this is the URL they are using for the Fuquay Varina Forecast which uses that Ballentine PWS:

http://www.wunderground.com/weather-forecast/zmw:27526.1.99999

If I change station to my PWS it goes to this:

http://www.wunderground.com/cgi-bin/findweather/getForecast?query=pws:KNCFUQUA31

I know in the first one the 27526 is the zip code, the others look like maybe upper and lower control limits or something.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 04, 2015, 07:37:29 PM
OK, so for others with WU problems I figured it out and it's strange but this just worked for me:

I changed the $wuCity in the script to "pws:KNCFUQUA31" and it works! So theoretically you might be able to do the same with your PWS.

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 07:43:56 PM
I got the Retrospective working.  It then compares to Yahoo, WWO, WU and my Station and Station range, but Aeris is not shown here.
Summary:
Current comparison: shows Yahoo, WWO and Aeris (but not sure if this Aeris is for our area as pressure is way off compared to the others - 1003 vs 1022-1023.  WU has the line 1294 warning.
Forecast comparison: shows Yahoo, WWO and WU. Aeris has the line 610 error.
Retrospective comparison: shows Yahoo, WWO, station and station range.  Aeris is not shown.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2015, 07:52:00 PM
OK,

well Ive been working on this plug in till 7AM this morning and tomorrow I go to work so I cant stay up that late :-) I will leave you now, but I will look at it tomorrow. I know the location of both of you so I will use my own keys to test it and let you know what the parameters should be for each service for your locations.

Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 04, 2015, 08:16:03 PM
OK,

well Ive been working on this plug in till 7AM this morning and tomorrow I go to work so I cant stay up that late :-) I will leave you now, but I will look at it tomorrow. I know the location of both of you so I will use my own keys to test it and let you know what the parameters should be for each service for your locations.

No worry with me, it's working now using what I posted above  :grin:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 04, 2015, 08:47:26 PM
Appreciate all your efforts Jachym, and it is an excellent script.  May get some time tomorrow to work on it further. 
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 05:45:51 AM
Hi,
so Paul, this should be working for you (assuming you have "ca" as country in config.php)

Current:
$yahooCity = "Komoka"; // name of the city to be used by Yahoo Weather
$aerisCity = "komoka"; // name of the city to be used by Aeris Weather
$wuCity = "pws:IONTARIO226"; // name of the city to be used by Weather Underground
$owmCity = "Komoka"; // name of the city to be used by OpenWeatherMap
$wwoCity = "Komoka"; // name of the city to be used by WorldWeatherOnline

Forecast.io uses your GPS so should work fine. For WU however, there isnt much point in using this, because this would take data directly from your station and so it would obviously always be an exact match. Either use an alternative station nearby, for example find one that is shown to users who search for "komoka" in WU, or set wuShow to false. Otherwise this would obviously be always the most accurate forecast because you would be in fact comparing your station values to your station values :D This is not the case for the forecast, but for current conditions it would not make sense.

Forecast:
Same settings as above, and in addition:
$yrNoLocation = "http://www.yr.no/place/Canada/Ontario/Komoka/forecast.xml"; // find the analogous string at yr.no for your desired location
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 05, 2015, 05:58:54 AM
Jachym, you're a legend I've been wondering how I could get forecast comparisons.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2015, 11:18:48 AM
Coming along wonderfully, 91.7% completed :!:   Will need to get API from forecast.io if I want to add this.
 
Thanks for your efforts Jachym,
For Forecast all is working \:D/ http://www.komokaweather.com/j-template/plugins/forecastComparison/forecast.php (http://www.komokaweather.com/j-template/plugins/forecastComparison/forecast.php)
 
For Current all good \:D/ except WU is still giving the errors ](*,) http://www.komokaweather.com/j-template/plugins/forecastComparison/current.php (http://www.komokaweather.com/j-template/plugins/forecastComparison/current.php)
From the line numbers shown it appears to be related to "humidity"
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 11:33:15 AM
Coming along wonderfully, 91.7% completed :!:   Will need to get API from forecast.io if I want to add this.
 
Thanks for your efforts Jachym,
For Forecast all is working \:D/ http://www.komokaweather.com/j-template/plugins/forecastComparison/forecast.php (http://www.komokaweather.com/j-template/plugins/forecastComparison/forecast.php)
 
For Current all good \:D/ except WU is still giving the errors ](*,) http://www.komokaweather.com/j-template/plugins/forecastComparison/current.php (http://www.komokaweather.com/j-template/plugins/forecastComparison/current.php)
From the line numbers shown it appears to be related to "humidity"
 
Paul

That is strange I was not getting any errors... either way though as I said, using WU for the current wouldnt make sense.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2015, 11:33:45 AM
Correction, 99% completed \:D/  Obtained an API from forecast.io and now this shows in both Current and Forecast Comparison.
 
WU current turned off for now (I have tried other area PWS IDs as well as London airport but always the warning message line 1297).
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 11:36:56 AM
Correction, 99% completed \:D/  Obtained an API from forecast.io and now this shows in both Current and Forecast Comparison.
 
WU current turned off for now (I have tried other area PWS IDs as well as London airport but always the warning message line 1297).
 
Paul

Great! And I see your retrospective is also working, some snapshots from yesterday show up, though this will get more interesting with time, now they all seem pretty accurate :-)

I am glad you like the plugin, I personally think it is extremely useful and I always wanted something like this, but it would require logging the forecasts every day by hand and then comparing them.... now it is all done automatically and I haven´t seen this done anywhere else, so it is another unique Meteotemplate feature :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2015, 11:50:41 AM
Looking good eh?
 
Now a minor mention - the comparison.png doesn't look like my VP2 :(
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 05, 2015, 12:06:52 PM
Would love to see "integration" to Accuweather if possible.  It is the most widely used forecasting here other than the South African Weather Bureau
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 12:23:34 PM
Would love to see "integration" to Accuweather if possible.  It is the most widely used forecasting here other than the South African Weather Bureau

Simon, Accuweather was the second API I looked at when creating this (after WU, which came to my mind first).

But there is one big problem - Accuweather does not offer any free plans, the other services usually have a free plan with limited number of calls (absolutely sufficient for the plugin), but in this case, you have to pay.

Since the entire concept of Meteotemplate is that it is all free - template is free, support is free, plugins are free (just optional donation) but also the plugin content is free and so there would be two problems:
1. I dont think people would want to use this so they wouldn´t allow this service anyway
2. I myself wouldn´t be able to develop anything because I would have to pay too and unfortunately I cant afford that. My goal is to break even with the template itself - i.e. cover the costs for the meteotemplate domain, hosting etc. and I hope I will reach that goal by May when I have to renew all this, but even though I never intended this as a source of income, likewise, I really cant afford to sponsor this and so I cant buy the API key.

I really think that even if I implemented this, others won´t purchase it anyway. So unfortunately, as much as I agree it is a great service, it is only possible to use it by looking on their web.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 12:25:20 PM
Looking good eh?
 
Now a minor mention - the comparison.png doesn't look like my VP2 :(
 
Regards,
Paul

True... it is a different icon so it does not use the station.png... I guess I could create one since lot of people use the VP2...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 12:29:13 PM
There you go.... replace the comparison.png in the plugin icons folder

(http://i59.tinypic.com/1zmcb6e.png)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2015, 01:22:17 PM
Now it does =D&gt;
 
Jachym, your efforts are truly amassing and beyond duty.  I hate to bug or even mention some of the things and usually investigate on my own a bit but most often run into a  ](*,)
 
I love the comparisons, and as you mention certainly beats the manual recording.  Also a good way to check own station to see how it tracks to the other Current (taking in consideration the different times of recording).  To follow up on SimonB's comment, what does it take to add other resources such as Environment Canada in the comparison?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 05, 2015, 04:00:36 PM
OK, so for others with WU problems I figured it out and it's strange but this just worked for me:

I changed the $wuCity in the script to "pws:KNCFUQUA31" and it works! So theoretically you might be able to do the same with your PWS.

Jachym,

I see you told Paul to use the same format that I found. Any insight on this as to why WU is doing it this way? I have no idea why a particular PWS ID would be the default for a particular city/town.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 04:42:53 PM
David: No clue.... but for the current it is not so important, if you used your own station then it would be pointless

Paul: You are welcome. With regards to Environment Canada.... I already got this question - see the comments in the blog post about this new plug in :D Bill has already asked me about Environment Canada. The problem is that they basically only offer info such as "Partly cloudy, highs around 80F." Thats it, for the whole day, so it would not really fit with the rest, they dont even have this as separate parameters, just plain one sentence of text.

Btw. based on what Simon mentioned, would you guys be willing to pay for Accuweahter? If I somehow implemented it, would people use it (given they do not offer free plans so the API key would have to be purchased). I mean if people wanted it I would do it.

And also, if you know of any other API I am open to suggestions, I expected this to be further expanded, these are just the services I knew about.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 05, 2015, 05:12:35 PM
David: No clue.... but for the current it is not so important, if you used your own station then it would be pointless

I guess I don't understand your comment based on the fact that you told Paul to use his PWS ID for Current...

Btw. based on what Simon mentioned, would you guys be willing to pay for Accuweahter? If I somehow implemented it, would people use it (given they do not offer free plans so the API key would have to be purchased). I mean if people wanted it I would do it.

It would depend on cost and the relative quality/accuracy of the data. If it's no better than the others, why bother. If there is other value available with such an account (i.e. the ability to do other cool stuff that other API's can't) then that would also be a reason to have an Accuweather API account.


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 05:19:57 PM
David: No clue.... but for the current it is not so important, if you used your own station then it would be pointless

I guess I don't understand your comment based on the fact that you told Paul to use his PWS ID for Current...

Btw. based on what Simon mentioned, would you guys be willing to pay for Accuweahter? If I somehow implemented it, would people use it (given they do not offer free plans so the API key would have to be purchased). I mean if people wanted it I would do it.

It would depend on cost and the relative quality/accuracy of the data. If it's no better than the others, why bother. If there is other value available with such an account (i.e. the ability to do other cool stuff that other API's can't) then that would also be a reason to have an Accuweather API account.

Hi,

no if you read all my comments I actually told him not to use his own and either not use WU or use alternative station, for some cities, like mine for example, there is a page for current conditions for my "city" - no particular station - then it makes sense, but not like this :-)

With regards to Accuweather, it is even more problematic given they dont tell you how much it is. It just says to contact them if you are interested...
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2015, 07:27:46 PM
Quote
I actually told him not to use his own and either not use WU or use alternative station
I have not yet been able to get WU work for Current comparison with any local area IDs nor "London".  I will continue to experiment to see if I can add local WU to Current.

In regards to paying for Accuweather, I likely would not buy the API just from them.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2015, 07:39:56 PM
Quote
I actually told him not to use his own and either not use WU or use alternative station
I have not yet been able to get WU work for Current comparison with any local area IDs nor "London".  I will continue to experiment to see if I can add local WU to Current.

In regards to paying for Accuweather, I likely would not buy the API just from them.

Paul

.... which exactly proves my point. I dont think people would want this if it was not for free. It would be a different matter if they provided something special, but in this case, it would be just another service, and to be quite honest I dont see any added value in comparison to the other free available ones. And also, as I have already mentioned, they dont even say how much it is, it just says "contact us to get info about pricing", which seems suspicious to me...

Nevertheless, if you guys know about any other API, which would be free, would provide data in XML, JSON or RSS format and that data would be similar to the ones already present (i.e. either daily or hourly values, but something more than just one sentence with conditions), then let me know and Im opened to any suggestions and adding it. Also, although it is definitely not a must, I would prefer something that is global rather than doing a service that only offers data for a particular country.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 05, 2015, 09:54:13 PM
Hi,

no if you read all my comments I actually told him not to use his own and either not use WU or use alternative station, for some cities, like mine for example, there is a page for current conditions for my "city" - no particular station - then it makes sense, but not like this :-)

With regards to Accuweather, it is even more problematic given they dont tell you how much it is. It just says to contact them if you are interested...

Do you mean this:
Code: [Select]
For WU however, there isnt much point in using this, because this would take data directly from your station and so it would obviously always be an exact match.
That actually does not play out that way based on the defaults for the plugin that I left in place, you can see that it is not exact. My guess is that WU is taking any in that zip code and providing the same forecast for all in that zip code. I would think they are not literally providing a custom forecast for a station that is a mile from my house that is different than the one for my station. Do you see what I mean?

(https://dl.dropboxusercontent.com/u/68529500/ScreenShot4034.jpg)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2015, 10:49:40 PM
I think Jachym was referring to the Current comparison script, which would be what my station actually provided to WU so therefore my station current data, to which the current data for all the comparisons is compared, would be identical to the WU current.  Using another local WU station current data would make more sense for comparison.  This WU Current comparison script is which I am having my issue.  The WU Forecast comparison script is working fine.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 06, 2015, 03:31:05 AM
I think Jachym was referring to the Current comparison script, which would be what my station actually provided to WU so therefore my station current data, to which the current data for all the comparisons is compared, would be identical to the WU current.  Using another local WU station current data would make more sense for comparison.  This WU Current comparison script is which I am having my issue.  The WU Forecast comparison script is working fine.

Paul

Paul,

Sorry, I may have confused it a bit by referencing two things in the same note. I did reference forecast, but the pic you see in the above note was from the current conditions script, and as you can see it is not an exact match (i.e. less than 500/500). I haven't had time to research the code in this new plugin yet, but based on what Jachym said previously, I would expect it to produce an exact match if his statement about it was correct. That's why I think WU is probably using some information at a higher level of abstraction than down to the PWS level to produce forecast and even the values in the current conditions script. Maybe I'm just missing something.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2015, 04:47:03 AM
Hi,
as far as I know it is like this:

Forecast - WU has a forecast for areas, and based on where your station is, it assings it to one of these "grids" and gives the forecast, so I think a station that was right next to yours would have the same forecast.

Current - if you enter the "pws:..." then you are basically taking data the same data that you are actually sending - i.e. exact match
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on October 06, 2015, 11:05:26 AM
It is with great pleasure that I now posts this message !
A hat off for this template, bright, very well done ... in short, easy to read and it's always a pleasure to browse it !
A big thank you also to the friendly @Jachym who has not hesitated to give of his time as a service to "colleagues".
I contacted live and the template was installed, functionally the same day  =D&gt; =D&gt;

http://valdefench57sgz.franceserv.com/meteotemplate/

Congratulations and thank you for this generosity and availability so rare today
Continues it's just great, and I know how to create a web template is complicated and involved  =D&gt; =D&gt;
best regards :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2015, 11:22:24 AM
It is with great pleasure that I now posts this message !
A hat off for this template, bright, very well done ... in short, easy to read and it's always a pleasure to browse it !
A big thank you also to the friendly @Jachym who has not hesitated to give of his time as a service to "colleagues".
I contacted live and the template was installed, functionally the same day  =D&gt; =D&gt;

http://valdefench57sgz.franceserv.com/meteotemplate/

Congratulations and thank you for this generosity and availability so rare today
Continues it's just great, and I know how to create a web template is complicated and involved  =D&gt; =D&gt;
best regards :-)

Hi Bianco,

first of all thanks for the comment and Im really glad you like your page.

This also applies to anyone else:
Bianco has never had any experience with MySQL, CRONs etc. and I understand it can be slightly more tricky than setting up the other templates, which do not use MySQL. But - feel free to contact me and if you create an FTP profile and provide me with your login data, then if you want I will set up the whole template including the plugins like I did in case of Bianco. Obviously I know the template very well and so it only took me about an hour including all the setup, plugins, menu etc.
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on October 06, 2015, 11:36:52 AM
it was the least of it  \:D/
you do well to confirm that I was in my first weapons
not clear when the installation knowledge is minimal
do not hesitate to call his assitance
the results will be OK without problems
then hop hop i'm on there will be the world 200% satisfied  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2015, 11:39:30 AM
Yes :-) And also, as you can see language is not a barrier so even if you are not so confident with English or do not understand some things in the template wiki, this should not be a problem, Im sure that we will both always get the point :)
Title: Re: Meteotemplate - new free website template
Post by: johnny on October 06, 2015, 02:34:45 PM
I'm trying to install the template. According this step http://www.meteotemplate.com/wiki/doku.php?id=install1 (http://www.meteotemplate.com/wiki/doku.php?id=install1)
i have to insert the URL of the file tableCreate.php in a browser. Where is this url?  :???:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 06, 2015, 03:01:04 PM
Hi Jachym,
Quote
I have not yet been able to get WU work for Current comparison with any local area IDs nor "London".  I will continue to experiment to see if I can add local WU to Current.

I am still striking out on adding a local WU for current comparison.  I have now used the setup lines from another template user and replacing his $wuAPI =" with mine and $wuCity =" with London and that still gives the following
Quote
Warning:  number_format() expects parameter 1 to be double, string given in /home/content/96/5379896/html/j-template/plugins/forecastComparison/current.php on line 1305

My line 1305 is
Quote
<?php echo number_format($observations['wu']['humidity'],0)?> %

 
Any idea what that warning indicates?
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2015, 05:31:43 PM
I'm trying to install the template. According this step http://www.meteotemplate.com/wiki/doku.php?id=install1 (http://www.meteotemplate.com/wiki/doku.php?id=install1)
i have to insert the URL of the file tableCreate.php in a browser. Where is this url?  :???:

Hi Johnny,

the tableCreate script is in the install folder of the template. Upload it to your server and run it, once your table is created you can delete it and continue. It will create the table and you will not need it in the future again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2015, 05:39:18 PM
Hi Jachym,
Quote
I have not yet been able to get WU work for Current comparison with any local area IDs nor "London".  I will continue to experiment to see if I can add local WU to Current.

I am still striking out on adding a local WU for current comparison.  I have now used the setup lines from another template user and replacing his $wuAPI =" with mine and $wuCity =" with London and that still gives the following
Quote
Warning:  number_format() expects parameter 1 to be double, string given in /home/content/96/5379896/html/j-template/plugins/forecastComparison/current.php on line 1305

My line 1305 is
Quote
<?php echo number_format($observations['wu']['humidity'],0)?> %

 
Any idea what that warning indicates?
Paul

Hi Paul,

I just checked your cached wu current file and it says:
Quote
"error": {
      "type": "querynotfound"
      ,"description": "No cities match your search query"
   }

Now, what I suggest you therefore try, is to first try to find URL which works, by simply entering it in the browser.

The format for WU is like this:

http://api.wunderground.com/api/API KEY/conditions/q/COUNTRY/CITY.json

So, plug in your API key and for country put "ca" and then try various cities for the "CITY" until you get some response. Then, you can hard-code this URL on line 607 of the current.php.


Also, Tony was asking what is the point of looking at current conditions from other sources, which are often based on Metar which is not exactly matching your station data. On one hand - yes it is correct, but, there are still reasons why this could be useful. There is the forecast and the forecast analysis available. This is just an addition and one possible use of this is for example imagine for some reason your station was offline or broken and did not measure for couple of days. Well based on this script you will then know, which service is most likely to be the closest to what your station would really measure.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 06, 2015, 07:56:10 PM
Thanks Jachym,
Success now by using Komoka in the hard coded URL, but that is likely my own data after I have sent it to WU.  Still trying to get it to use another local station but London is the name for several cities in NA and WU throws in a page to select which one to use so that won't work with the script.  Will keep on trying, but several lessons learned so far...
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2015, 08:12:09 PM
Hi Paul,

the problem is that with all these URLs, they are not 100% consistent in their format. The template uses some general ones, which in most cases work, in your case however, "London" obviously is a problem, I guess the best way then is to manually try finding a URL that works using your browser and then hard-code it in the url.
Title: Re: Meteotemplate - new free website template
Post by: johnny on October 06, 2015, 10:46:09 PM
I'm trying to install the template. According this step http://www.meteotemplate.com/wiki/doku.php?id=install1 (http://www.meteotemplate.com/wiki/doku.php?id=install1)
i have to insert the URL of the file tableCreate.php in a browser. Where is this url?  :???:

Hi Johnny,

the tableCreate script is in the install folder of the template. Upload it to your server and run it, once your table is created you can delete it and continue. It will create the table and you will not need it in the future again.
I ran it, but now i get the error: 500 - Internal Server Error  :-(
Should i upload the entire template folder on server?
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 07, 2015, 03:45:12 AM
Jachym

I may be blind but I don't see the save button for creating the snapshots for the forecast comparisons.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 07, 2015, 03:50:52 AM
Ok scratch that. Reread the instructions
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 05:11:38 AM
I'm trying to install the template. According this step http://www.meteotemplate.com/wiki/doku.php?id=install1 (http://www.meteotemplate.com/wiki/doku.php?id=install1)
i have to insert the URL of the file tableCreate.php in a browser. Where is this url?  :???:

Hi Johnny,

the tableCreate script is in the install folder of the template. Upload it to your server and run it, once your table is created you can delete it and continue. It will create the table and you will not need it in the future again.
I ran it, but now i get the error: 500 - Internal Server Error  :-(
Should i upload the entire template folder on server?

Hi,
the tableCreate script needs the config.php to be set up, or at least the MySQL bit. It uses the login information from there.
Title: Forecast comparison - tip
Post by: Jáchym on October 07, 2015, 05:12:36 AM
I have added another little tip for extending Meteotemplate functionality, in this case it is related to the forecast comparison script.

More info here:
http://meteotemplate.com/blog/?page_id=224

Tip #2 Creating snapshots for the Forecast Comparison plugin at regular intervals automatically
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 07, 2015, 05:13:39 AM
Current - if you enter the "pws:..." then you are basically taking data the same data that you are actually sending - i.e. exact match

I get that logic, but it is not an exact match. Must be how the scores are calculated or something.

Thanks Jachym,
Success now by using Komoka in the hard coded URL, but that is likely my own data after I have sent it to WU.  Still trying to get it to use another local station but London is the name for several cities in NA and WU throws in a page to select which one to use so that won't work with the script.  Will keep on trying, but several lessons learned so far...
 
Paul

Paul, have you tried "London,ON" or variations of that?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 05:30:48 AM
I just sent an email to Paul with regards to this, Yahoo seems to be problematic and the best way is hard-coding the URL after finding one that works (in a browser). The good thing is that you can try as many times as you like, there is no API key required for yahoo.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 07, 2015, 12:36:39 PM
Hi David,
Quote
Paul, have you tried "London,ON" or variations of that?
Yes I have tried that and several variations.  Anything with "London" or "london" in it pops up a window listing all the "London" stations using Jachym's hard code:
http://api.wunderground.com/api/ my API KEY/conditions/q/CA/Komoka.json which works
http://api.wunderground.com/api/ my API KEY/conditions/q/CA/London.json which does not, nor using lower case, nor as London,ON nor London, Canada nor London, Ontario and any capital/lower case and abreviations of CA and ON.  In most of these tries London is recognized but throws that extra page with all London locations listed.

Partial output with "Komoka"
Quote
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "conditions": 1
  }
   }
  ,   "current_observation": {
      "image": {
      "url":"http://icons.wxug.com/graphics/wu2/logo_130x80.png",
      "title":"Weather Underground",
      "link":"http://www.wunderground.com"
      },
      "display_location": {
      "full":"Komoka, Ontario",
      "city":"Komoka",
      "state":"ON",
      "state_name":"Ontario",
      "country":"CA",
      "country_iso3166":"CA",
      "zip":"00000",
      "magic":"22",
      "wmo":"71622",
      "latitude":"42.95008850",
      "longitude":"-81.43305969",
      "elevation":"244.00000000"

Partial output with "London"
Quote
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "conditions": 1
  }
      , "results": [
      {
      "name": "London",
      "city": "London",
      "state": "AR",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "72847.1.99999",
      "l": "/q/zmw:72847.1.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "KY",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "40741.1.99999",
      "l": "/q/zmw:40741.1.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "MN",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "56036.3.99999",
      "l": "/q/zmw:56036.3.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "OH",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "43140.1.99999",
      "l": "/q/zmw:43140.1.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "ON",
      "country": "CA",
      "country_iso3166":"CA",
      "country_name":"Canada",
      "zmw": "00000.17.71622",
      "l": "/q/zmw:00000.17.71622"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "ON",
      "country": "CA",
      "country_iso3166":"CA",
      "country_name":"Canada",
      "zmw": "00000.1.71623",
      "l": "/q/zmw:00000.1.71623"
      }

If I could make the PWS:xxx method work then I have a whole selection of area stations to use for London.  For now Komoka works and makes WU the trophy winner every time #-o

Again learning a lot,
Paul
Title: New plugin and plugin update
Post by: Jáchym on October 07, 2015, 01:25:20 PM
New plugin - Contact
There is now a new plugin available called “Contact”.

I think it is pretty obvious what it does. It is a captcha-protected contact form, which users can use to send you feedback.

Install:

- Download the zip file and open sendFeedback.php
- Specify the email address where you want to send the emails (“to”), specify the “from” email address and possibly specify any IPs you want to ban from sending you anything (explained in comments in the actual file).
- Save and upload to your plugins directory as usual.
- Add a link to your Info tab in the menu to the contact.php. You can use the contact icon included in the zip file and just copy and paste the code as it is on the meteotemplate demo menu now.

Demo: http://www.meteotemplate.com/template/plugins/contact/contact.php (http://www.meteotemplate.com/template/plugins/contact/contact.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=246 (http://meteotemplate.com/blog/?p=246)

Plugin update - City conditions (weather around the world)
The city conditions (weather around the world) plugin has been updated to version 2.0.

New features/changes:

- added new parameter - fire danger index
- cities in the bottom table are now sorted alphabetically
- new sets of locations
- design tweaks

Install:
 - If you have not made any changes (i.e. not created any custom location sets) you can simply replace the files with the new ones.
 - If you have created some new sets of locations, simply copy these somewhere else, replace the files and then paste them back as they were. The part of the code and format of this is not changed.

Demo: http://www.meteotemplate.com/template/plugins/cityConditions/cityConditions.php (http://www.meteotemplate.com/template/plugins/cityConditions/cityConditions.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=246 (http://meteotemplate.com/blog/?p=246)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 02:06:42 PM
Hi David,
Quote
Paul, have you tried "London,ON" or variations of that?
Yes I have tried that and several variations.  Anything with "London" or "london" in it pops up a window listing all the "London" stations using Jachym's hard code:
http://api.wunderground.com/api/ my API KEY/conditions/q/CA/Komoka.json which works
http://api.wunderground.com/api/ my API KEY/conditions/q/CA/London.json which does not, nor using lower case, nor as London,ON nor London, Canada nor London, Ontario and any capital/lower case and abreviations of CA and ON.  In most of these tries London is recognized but throws that extra page with all London locations listed.

Partial output with "Komoka"
Quote
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "conditions": 1
  }
   }
  ,   "current_observation": {
      "image": {
      "url":"http://icons.wxug.com/graphics/wu2/logo_130x80.png",
      "title":"Weather Underground",
      "link":"http://www.wunderground.com"
      },
      "display_location": {
      "full":"Komoka, Ontario",
      "city":"Komoka",
      "state":"ON",
      "state_name":"Ontario",
      "country":"CA",
      "country_iso3166":"CA",
      "zip":"00000",
      "magic":"22",
      "wmo":"71622",
      "latitude":"42.95008850",
      "longitude":"-81.43305969",
      "elevation":"244.00000000"

Partial output with "London"
Quote
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "conditions": 1
  }
      , "results": [
      {
      "name": "London",
      "city": "London",
      "state": "AR",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "72847.1.99999",
      "l": "/q/zmw:72847.1.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "KY",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "40741.1.99999",
      "l": "/q/zmw:40741.1.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "MN",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "56036.3.99999",
      "l": "/q/zmw:56036.3.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "OH",
      "country": "US",
      "country_iso3166":"US",
      "country_name":"USA",
      "zmw": "43140.1.99999",
      "l": "/q/zmw:43140.1.99999"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "ON",
      "country": "CA",
      "country_iso3166":"CA",
      "country_name":"Canada",
      "zmw": "00000.17.71622",
      "l": "/q/zmw:00000.17.71622"
      }
      ,
      {
      "name": "London",
      "city": "London",
      "state": "ON",
      "country": "CA",
      "country_iso3166":"CA",
      "country_name":"Canada",
      "zmw": "00000.1.71623",
      "l": "/q/zmw:00000.1.71623"
      }

If I could make the PWS:xxx method work then I have a whole selection of area stations to use for London.  For now Komoka works and makes WU the trophy winner every time #-o

Again learning a lot,
Paul

Paul, I think I got it, try these and see which one is the best:
http://api.wunderground.com/api/APIKEY/conditions/q/zmw:00000.1.71623.json
http://api.wunderground.com/api/APIKEY/conditions/q/zmw:00000.17.71622.json
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on October 07, 2015, 04:20:57 PM
Hello Joachim, the template I have the Climate option, following the instructions I inserted my City (Badalona) after searching the corresponding code number, but although listed, when I open the tab does not give me any information, there is some data more need to enter to see results? Thank you

   <!-- CLIMATE TAB -->
   <ul class="digimeg-nav-down-content digimeg-sub-nav">
      <li id="climate-subnav">
         <div class="digimeg-nav-item-content digimeg-group" style="width:100%">
            <div style="display:inline-block;width:18%;vertical-align:top;text-align:left">
               <img src="<?php echo $pageURL.$path?>icons/seasons.png" style="width:100px" alt=""><br><br>
               <h2 style="text-align:left;padding-left:25px"><?php echo lang("climate",'c')?></h2>
            </div>
            <div style="display:inline-block;padding-left:20px;padding-top:20px;vertical-align:top;text-align:center">
               <img src="<?php echo $pageURL.$path?>imgs/continentOutlines/world.png" style="opacity:0.7;width:130px" alt=""><br><br>
               <a href='<?php echo $pageURL.$path?>pages/climate/map.php'><?php echo lang('global map','c')?></a>
            </div>
            <div style="display:inline-block;padding-left:20px;padding-top:20px;vertical-align:top;text-align:center">
               <img src="<?php echo $pageURL.$path?>imgs/continentOutlines/europe.png" class="climateIcon" alt=""><br>
               <table>
                  <tr>
                     <td>
                        <img src="<?php echo $pageURL.$path?>imgs/flags/big/es.png" class="flagIcon" alt="">
                     </td>
                     <td>
                        <a href='<?php echo $pageURL.$path?>pages/climate/index.php?q=753443'>Badalona</a>
                     </td>
                  </tr>
               </table>
               <table>
                  <tr>
                     <td>
                        <img src="<?php echo $pageURL.$path?>imgs/flags/big/cz.png" class="flagIcon" alt="">
                     </td>
                     <td>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 04:25:00 PM
Hi,

what number did you put in? You have to put in the ID of the city you want, which you will find in the complete.csv file in the climate directory. I see you put in "753443" which I have no clue what is, because the file only has about 5000 entries.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on October 07, 2015, 04:59:04 PM
Sorry Jachym where I find my city in number, there are some list on the Internet?

Badalona (Spain)
 o
Torrelavega (Spain)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 05:05:43 PM
Hi,
no, there is no list on the internet, I told you in my previous post, you have to open the complete.csv file. It is in the climate directory of the template.

So:
1. open climate/complete.csv
2. each row represents one city, find the one you want and the first column is "ID" - this is the number you need

Or:
Go here: http://www.meteotemplate.com/template/pages/climate/map.php

Find the city you want, click on the infowindow and then open "details" - the page with the climate for that city. And then look at the URL and the number will be in the URL.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 07, 2015, 05:19:39 PM
I just sent an email to Paul with regards to this, Yahoo seems to be problematic and the best way is hard-coding the URL after finding one that works (in a browser). The good thing is that you can try as many times as you like, there is no API key required for yahoo.

I was referring to WU not Yahoo. Can you provide any insight on this:

Current - if you enter the "pws:..." then you are basically taking data the same data that you are actually sending - i.e. exact match

I get that logic, but it is not an exact match. Must be how the scores are calculated or something.

Theoretically, if you are using the PWS parameter that I found, and using your own PWS it SHOULD come up 500/500 correct? It does not do that however. Just trying to understand what is going on.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 05:25:07 PM
OK so the logic is this:

1. the data at the top, the "station" data shows the most recent record from the database
2. if you enter your PWS number on WU then given you send data there, you are basically fetching the same set of data. For example, let´s assume you are using Meteobridge. Then MB sends data to your MySQL as well as to WU, but those data are the same.

There could be a difference only due to the updating intervals.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 07, 2015, 05:53:09 PM
Hi Jachym, you've once again come to the rescue,
Yes both of those work.  And now WU is no longer the trophy leader for current comparison... World Weather Online is!
 
I had tried with "71623" in some of my experimenting without success, but I would never have figured out to use "zmw:00000.1.71623".  How did you figure it out.
 
All good for me now.
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2015, 05:56:22 PM
Hi Jachym, you've once again come to the rescue,
Yes both of those work.  And now WU is no longer the trophy leader for current comparison... World Weather Online is!
 
I had tried with "71623" in some of my experimenting without success, but I would never have figured out to use "zmw:00000.1.71623".  How did you figure it out.
 
All good for me now.
 
Thanks,
Paul

 :-# Magic Paul :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 07, 2015, 10:38:39 PM
Added "Contact", and updated CityConditions to v.2.0.  Both very easy to do... and fun to add your own list: Canada - Ontario places.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 08, 2015, 01:59:56 AM
Mine is pretty much finished, having just added the contact form, and a few other things such as South African radar images, a page in the admin section which I use to update the camera status.

http://meteo.capetown

Just need to add the forecast snapshots to the cron
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 08, 2015, 10:52:10 AM
Jachym. Do you have a list of people using your template?  Would like to see what everyone else has done
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 08, 2015, 11:30:02 AM
Hi Simon,

this is exactly what I would love to have and I created a page for this in the blog (Info -> Users).

But there are several problems:
1. I made this page at the beginning when I released it and many people have actually changed the link since then, so some of the links are not working
2. I did not put any tracking script in the template, so there is no way for me to know about who has it unless that person tells me about their site

... and as you can imagine even though I asked everyone to do this I didn´t get much responses (many of you indeed did let me know, so this is not generalization).

Right now, the only way of me knowing about someone using it is basically if they have some problems and contact me, I help them and then ask them if I can add the link :D

And I did try googling it and I found many pages using it I have never seen or heard of. Also, at the beginning, it was mostly people who read about it here on the forum, because there was in fact no other way of knowing about it, I dont pay any promotion etc. But now, since more people are using it, other people see it, but they dont read about it here, they see it on the other people´s pages and they install it from the link in the footer.

So I would love to have this, but it is probably not very realistic and I really dont want to implement any tracking in the file, which would allow me to track installs - and when I find somebody is using it that I didnt know, I dont put a link anyway without them acutally agreeing with it.

And last but not least, I have noticed that many people use it in conjuction with their already existing web (Leuven, Saratoga etc.)  - which is absolutely fine, I never even intended this as a replacement of these, rather an "addition", but the problem is that they dont put a link to it and they basically use it only for themselves - in which case it is not indexed by any search enginges and no-one, including me knows about it.

All I can therefore do is to once again ask everyone to tell me about their site! Also remember that by me placing a link in the blog you are promoting your site!!! :-)
Title: 3 plugin updates
Post by: Jáchym on October 08, 2015, 05:39:23 PM
Three plugins have been updated and now include some new features as well as bug fixes and optimization.

Installation - in case of all these plugins there are no settings necessary, so simply download, unzip and replace your original 1.0 files :-)

Space Weather

The space weather plugin has been updated to version 2.0 and has some new features, which many of you asked for.

New in Space Weather 2.0

- added K-indices - current data, history data and tables, graphs and info about K-indices in general
- design tweaks
- conversion to HTML5
- W3C validation
- size and speed optimization
http://www.meteotemplate.com/template/plugins/spaceWeather/spaceWeather.php (http://www.meteotemplate.com/template/plugins/spaceWeather/spaceWeather.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)

Dew Point

New in Dew point 2.0

- added human comfort characterization
- added button for inputing current station values
- added dew point information box
- design tweaks
- conversion to HTML5
- W3C validation
http://www.meteotemplate.com/template/plugins/dewpoint/dewpoint.php (http://www.meteotemplate.com/template/plugins/dewpoint/dewpoint.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)

Fire Danger Index

New in Fire danger 2.0

- added equation used for calculation
- added station current values
- design tweaks
- conversion to HTML5
- W3C validation
http://www.meteotemplate.com/template/plugins/fireDanger/fireDanger.php (http://www.meteotemplate.com/template/plugins/fireDanger/fireDanger.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 08, 2015, 10:43:34 PM
Hi Jachym,
The Dew Point and Fire Danger script updates work fine.  However the Space Weather update gives me an error.  I did a compare of the v1.0 and v2.0 spaceWeather.php but I can't see any issue with line 1891.  I have kept the v1.0 in the template for now. v.2.0 is here www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php)
 
Is v.2.0 working for anyone?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 04:57:51 AM
Hi Paul,
I have just trie updating the script on my friend´s page. I intentionally did not use my copy of the plugin and rather downloaded the same file you did from meteotemplate.com. I then copied the file, simply replaced the original and it works fine.
Since there are no settings and you are getting an error which could mean the file is not complete, I guess it could be either:
a) the file was damaged while being downloaded / unzipped
b) the file was not fully uploaded to your server

In either case, try re-downloading the zip file and uploading it once again.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 09, 2015, 08:12:24 AM
Jachym,

  For the dew point plugin when I click on Current station values it populates the page with units of C for temperature.  It would be nice for the temperature to be populated with the units specified in the config file.

http://www.harpersferry-weather.com/meteotemplate/plugins/dewpoint/dewpoint.php

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 08:14:07 AM
Yes, good point, the values should be correct even now, but I will change that.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 09, 2015, 09:55:58 AM
Must be the gremlins in my system...
I have removed previous v2.0 download and downloaded again.  Didn't open any of the unzipped files as yet.  Removed the full spaceWeather folder from server and re-uploaded.  This gives the same syntax error message www.komokaweather.com/j-template/plugins/spaceWeather/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather/spaceWeather.php).
ver.1.0 works fine www.komokaweather.com/j-template/plugins/spaceWeather_1.0/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather_1.0/spaceWeather.php)
 
Any diagnosis I can do to try to find the problem?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 10:05:55 AM
OK, try copying all v1 files and replace just spaceWeather.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 09, 2015, 10:50:33 AM
HI Jachym,
I have tried with all ver.2.0 files and that gives the error; replacing with only ver.1.0 spaceWeather.php and that does not give an error - displays the same as using total ver.1.0
I have tried with all ver.1.0 files and that works; replacing with only ver. 2.0 spaceWeather.php gives the error.
 
Appears to be something in ver.2.0 spaceWeather.php
I did a compare between ver.1.0 and 2.0 on spaceWeather.php and there are some differences, including some html code but I am unfamiliar to detect any errors.
 
Paul
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 10:56:08 AM
This is really strange, because it works on my web, it works for my friend... also for example here:
http://kocher.es/meteotemplate2/plugins/spaceWeather/spaceWeather.php
Javier used the exact same download link and replaced the files....

The error you get seems to indicate there is some unclosed PHP loop, maybe a problem with getting the data... ok can you do one more thing, upload that v2 file again somewhere in that folder, you can rename it and give me link to it. Also, delete kindicesCache.txt from the server if it exists there
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 09, 2015, 11:06:14 AM
all ver.1.0 www.komokaweather.com/j-template/plugins/spaceWeather_1.0/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather_1.0/spaceWeather.php)
all ver.2.0 www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php)
 
There is no kindicesCache.txt in main cache, nor in either of the spaceWeather folders.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 11:11:48 AM
Hmm... the problem is that the error doesn´t tell me much and in such case, the only way of trying to fix something like this is go line by line deleting/uncommenting and looking for the error. Now that is possible to do, but only in case I am able to replicate that error and you seem to be the only person who gets this, so I dont know how to do this. It works on my server and also on other servers, so I really don´t understand what could be the problem, given there is absolutely no settings necessary too so you havent changed the file at all.
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on October 09, 2015, 11:14:58 AM
Hello Jachym, commenting that the new version 2.0 plugins have updated and work perfectly (http://www.meteo-badalona-progres.com/template)

I wanted to ask in the "METEO" STATISTICS "TEMP" tab if the data you see are the ends, if so, would it not be possible to also display the day and the month that occurred?

It is only question, as very good template.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 11:18:32 AM
Hello Jachym, commenting that the new version 2.0 plugins have updated and work perfectly (http://www.meteo-badalona-progres.com/template)

I wanted to ask in the "METEO" STATISTICS "TEMP" tab if the data you see are the ends, if so, would it not be possible to also display the day and the month that occurred?

It is only question, as very good template.

Hi,

Im not sure I understand you, the min/mx times/dates are shown there. I see it on your page, for example for T I see 13.02, 2013-07-28
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 11:21:04 AM
all ver.1.0 www.komokaweather.com/j-template/plugins/spaceWeather_1.0/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather_1.0/spaceWeather.php)
all ver.2.0 www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php (http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php)
 
There is no kindicesCache.txt in main cache, nor in either of the spaceWeather folders.
 
Paul

OK, Paul, please do not do anything right now, I need to check couple of things, so just please leave all the spaceweather files as they are now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 11:34:53 AM
There you go:
http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php
Title: Re: Meteotemplate - new free website template
Post by: Juan MŞ Vilaro Sala on October 09, 2015, 11:46:42 AM
Sorry I have spelled wrong, "station" Statistics "Temperature" Year "data qie understand are extreme, but it would be better to also indicate the day and the month.
Thanks for your attention
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 12:02:21 PM
Sorry I have spelled wrong, "station" Statistics "Temperature" Year "data qie understand are extreme, but it would be better to also indicate the day and the month.
Thanks for your attention

I see, well the problem is that some people have quite a lot of years and for some years there will be the minimum and maximum measured at several times, so overall the table would then be quite big and not very clear. If you need the dates/times, simply look at the annual reports
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2015, 12:03:36 PM
Quote
There you go:
 (http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[/color)
http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php :?:
 
What did I do wrong?
I assume I can download spaceWeather.php from the server to get a newer version for my template files.  Then rename web folder by removing version, and change Menu.php.
Paul
 (http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[url=http://www.komokaweather.com/j-template/plugins/spaceWeather_2.0/spaceWeather.php[/quote)

It was because your server does not support certain shorthand commnds, which most server support and I accidentaly forgot and used it, even though I usually try to avoid this. Yes, the current version at meteotemplate.com should now be ok.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 09, 2015, 12:07:33 PM
Thanks Jachym.
 
Paul
Title: Meteotemplate - new free website template Lat Long
Post by: nitrx on October 10, 2015, 06:24:55 AM
Hi Jachym what are the geograph coordinates I've to fill out in the config.php ?

I'd filled in these

Code: [Select]
// Geography
$stationLat = 52; // your station latitude
$stationLon = 6; // your station longitude

so no decimal comma's but the location map according to my weatherdiary is about 27 km to south it gives these coordinates (aprox) https://www.google.nl/maps/@52.0625849,5.9421101,11.75z

My station is about here https://www.google.nl/maps/@52.2186759,6.021052,13z
Title: Re: Meteotemplate - new free website template Lat Long
Post by: johnny on October 10, 2015, 08:08:52 AM
Hi Jachym what are the geograph coordinates I've to fill out in the config.php ?

I'd filled in these

Code: [Select]
// Geography
$stationLat = 52; // your station latitude
$stationLon = 6; // your station longitude

so no decimal comma's but the location map according to my weatherdiary is about 27 km to south it gives these coordinates (aprox) https://www.google.nl/maps/@52.0625849,5.9421101,11.75z

My station is about here https://www.google.nl/maps/@52.2186759,6.021052,13z
Hi nitrx,

Zoom in the map as close as it allows and find your exact location on the map. Hit this position with your mouse and check the pop-up window at the bottom of the map view. Copy-paste the indicated coordinates in settings.php script.
For better identification, switch the map mode in satellite view.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 10, 2015, 08:21:04 AM
Thanks for thinking with me Johnny but still no joy the map shifted a few miles but shows still about 25 km south from my location

I filled the coordinates as you suggested

Code: [Select]
// Geography
$stationLat = 52.220096; // your station latitude
$stationLon = 6.000109; // your station longitude
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 10, 2015, 08:46:13 AM
Thanks for thinking with me Johnny but still no joy the map shifted a few miles but shows still about 25 km south from my location

I filled the coordinates as you suggested

Code: [Select]
// Geography
$stationLat = 52.220096; // your station latitude
$stationLon = 6.000109; // your station longitude

Oops it works I saw that an old image was cached I've removed it from the server and loaded again It works fine now , thanks Johnny

http://www.apeldoorn.tk/meteo/plugins/diary/diaryBig.php?y=2015
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 10, 2015, 10:08:23 AM
Thanks for thinking with me Johnny but still no joy the map shifted a few miles but shows still about 25 km south from my location

I filled the coordinates as you suggested

Code: [Select]
// Geography
$stationLat = 52.220096; // your station latitude
$stationLon = 6.000109; // your station longitude

Oops it works I saw that an old image was cached I've removed it from the server and loaded again It works fine now , thanks Johnny

http://www.apeldoorn.tk/meteo/plugins/diary/diaryBig.php?y=2015

Hi, that is exactly what I was about to say, the very first time you run the diary, it creates these maps and saves them permanently to your server so that it is loaded faster in the future. If you change your GPS then you have to delete all 4 files. The script doesnt find them, so it generates them again, now using the new GPS.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 10, 2015, 11:40:49 AM
This goes back a few days and all has been good
Quote
It was because your server does not support certain shorthand commands,
but I finally found the missing PHPs :twisted:
 
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 10, 2015, 11:59:22 AM
That is what I corrected in the script, the current zip file already has this fixed and since you sent me your FTP in the past I corrected it directly on your server.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 10, 2015, 03:50:20 PM
That is what I understand, just wanted to mention that I did research both the original and replacement file, and wanted to understand/learn and therefore find the change.
 
Re the shorthand command, I recall this was an issue in early testing on my server so I was aware of <? vs <?php but still missed it in my initial looking at the ver.2.0 spaceWeather.php ](*,) .  In a similar but likely less impacting way I have often changed <br> to <br /> when I have made edits to index and menu.php.  See, I am continuing to learn...
 
Thanks for all your help.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 10, 2015, 04:37:23 PM
I am continuing to learn...

 =D&gt; =D&gt; =D&gt;
Title: New plugin - Cloud calculations
Post by: Jáchym on October 13, 2015, 09:58:16 AM
New plugin - Cloud calculations
A simple new plugin is now available, which performs various cloud related calculations, similar to the other plugins for calculating dew point and apparent temperature.

Installation is very simple, just unzip and upload and add a link to your menu.

On a side note, I am currently working on another plugin, which however is again going to be relatively complex, but I hope to finish it relatively soon :-) I think it will be another very attractive one :-)

Demo: http://www.meteotemplate.com/template/plugins/cloudCalculations/calc.php (http://www.meteotemplate.com/template/plugins/cloudCalculations/calc.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=250 (http://meteotemplate.com/blog/?p=250)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 13, 2015, 11:09:16 AM
Jachym,

   First off thanks for your continued support and adding to the Meteotemplate.  One thing I noticed with the Cloud Calculation plugin is if you enter the temperature in English units the temperature for the cloud base is not being calculated correctly (for example if you enter 65 degrees F and a humidity of 45 % you get a cloud base of 177.7 deg C and 351.8 deg F).  Also, when bringing up the plugin it would be nice if the default temperature (in my case deg F) to enter would be what's specified in the config file.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2015, 11:13:34 AM
Jachym,

   First off thanks for your continued support and adding to the Meteotemplate.  One thing I noticed with the Cloud Calculation plugin is if you enter the temperature in English units the temperature for the cloud base is not being calculated correctly (for example if you enter 65 degrees F and a humidity of 45 % you get a cloud base of 177.7 deg C and 351.8 deg F).  Also, when bringing up the plugin it would be nice if the default temperature (in my case deg F) to enter would be what's specified in the config file.

John

Oops, thanks, I will look at it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2015, 11:19:17 AM
OK, please try downloading the updated version in the plugins section, I think I found the error, I accidentaly used a formula for converting F to C instead of C to F :D
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 13, 2015, 11:46:45 AM
OK, please try downloading the updated version in the plugins section, I think I found the error, I accidentaly used a formula for converting F to C instead of C to F :D

Something still doesn't look right.  For the same example as above 65 F and a humidity of 45 % you get a cloud base temperature 92 F (33.3 C) at 416.1 feet (1522.1 m).   To go from 65 F to 92 F would make for an inversion of 27 degrees in 416 feet.

Can the default temperature units when brining up the template be set by the config file units used?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2015, 12:28:20 PM
OK thanks a lot John, can you please download the updated version and give it a try?
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 13, 2015, 12:41:19 PM
OK thanks a lot John, can you please download the updated version and give it a try?

Thanks!  The latest update looks good.  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2015, 12:43:22 PM
Great! I also tried to add the automatic temperature unit selection, does that work?
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 13, 2015, 12:45:55 PM
Great! I also tried to add the automatic temperature unit selection, does that work?

Yes, the automatic temperature unit selection worked (in my case it defaulted to F). 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 13, 2015, 01:19:04 PM
I have downloaded the latest and works fine - defaulted to °C which is correct for me.  Toughest part is deciding which menu item to add it to…Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2015, 01:52:06 PM
I have downloaded the latest and works fine - defaulted to °C which is correct for me.  Toughest part is deciding which menu item to add it to…Paul

I put it next to the dew point etc. - the "other" tab, because it is not related to your station or weather
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 13, 2015, 03:30:35 PM
That is where I landed it too, just commenting on how easy it was to add, like most of the other plugins.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2015, 05:19:38 PM
Thanks Paul,

just a little tip, add the style parameter to your clouds.png icon so that it fits better with the rest

<img src="http://www.meteotemplate.com/template/icons/clouds.png" class="astronomyIcon" alt="" style="width:25px;height:auto">
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 13, 2015, 11:32:57 PM
Thanks Jachym,
That is one of many things I still haven't understood so usually just copy or follow suggestions, like yours...  looks better now.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 14, 2015, 01:41:47 AM
Been very busy but finally took a little time to install the new plugins and update existing 1.0 plugins to 2.0. Thanks for continuing to crank out new stuff for us! I did record a bug related to the contact form.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2015, 04:58:59 AM
Great! :-) I see the plugins are basically compatible with version 1.x of the template as well, the only thing that will not work in your case is the settings button, the reason being the upgrade to HTML5 in version 2, which required change of the CSS and PHP of that menu so it is now incorrectly positioned if you still use the older version.
Also thanks for reporting that bug, fortunately it is not so urgent, I will fix it in the next update of that plugin, but probably no need to release an immediate fix.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on October 14, 2015, 04:54:07 PM
No problem. I'll just fix the bug myself and I may also take a look at fixing the settings button.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2015, 05:29:11 PM
No problem. I'll just fix the bug myself and I may also take a look at fixing the settings button.

You can fix the settings button, but you would have to revert to HTML4
Title: New plugin - Disasters
Post by: Jáchym on October 18, 2015, 12:42:25 PM
New plugin - Disasters

It has been a while since there was a new plugin because I was busy working on a new plugin, which is finally available now!

This plugin is all about disaster events. First important thing I want to say is that as you will see yourself it is possible to extend this with many new features/pages so expect updates in the future, which will further extend the possibilities of this plugin.

I have spent quite some time doing research and gathering data from various sources to make this plugin. Probably the most difficult, but also useful and unique is the disaster timeline, but let´s take it step by step.

The plugin is divided into two major sections:
- current
- past

Current section basically shows you information about current disaster events/alerts in the world. There are currently three pages. Two show all sorts of disasters (tropical cyclones, floods, volcano erruptions, marine, high surf, tsunamis, tornadoes, drought, earthquakes), but they come from two different data sources (GDACS, PDC). No registration is necessary and caching is used to speed up loading time. Then there is one more page dedicated just to earthquakes (basically a copy of the earthquake plugin, which has been slightly modified and several bugs fixed and converted to HTML5).

Then there is the section concerned with disasters in the past. This as I said, will be updated in the future with more stuff, so let´s just go through what is available in this first release:

Earthquakes
- map and table with info about deadliest earthquakes since 1900
- map and table with info about strongest earthquakes since 1900
- information page about how earthquakes are measured - seismic scales

Tornadoes
- map and table of F5 tornadoes in the US since 1950. The map shows not just the actual location, but also visualizes the path of the tornado and gives info about its path length, tornado width, fatalities, injuries etc. The marker on the map shows the touchdown point, from which a line extends towards the lift-off point. Also information about approximate damage is included.

Disaster timeline - this is something I have spent quite some time with. I have gone through many pages and gathered data about all sorts of disaster events that ocurred in the past. In general I included disasters that were either directly caused by the weather (ie. cyclones, floods etc.) or disaster events which to some extent affected weather/climate/nature (ie. earthquakes, but also for example nuclear accidents, however not things such as plane crashes). Each event is accompanied by its timespan, a small picture, information text. The timeline is highly interactive, you can zoom in/out with buttons or mousewheel to change the time scope, sliding left and right moves you in time. Legend allows you to filter only certain disaster types. I also plan to add new events in the future, there is obviously a large potential for further development.

Installation cannot be easier, simply download, unzip, upload, add link to the menu.

Demo: http://www.meteotemplate.com/template/plugins/disasters/disasters.php (http://www.meteotemplate.com/template/plugins/disasters/disasters.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=258 (http://meteotemplate.com/blog/?p=258)

Enjoy :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 18, 2015, 02:19:10 PM
Easily added, and very nice! http://www.komokaweather.com/j-template/plugins/disasters/disasters.php (http://www.komokaweather.com/j-template/plugins/disasters/disasters.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 18, 2015, 05:01:18 PM
Yes, it was very easy to add. I was also able to make a minor change to add the only F5 tornado in Canada to the plugin!

Bill

http://www.sanfordweather.com/meteo/plugins/disasters/tornadoesUS.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 18, 2015, 05:18:52 PM
Hi Bill,

:D actually I expected this :D I knew there was one F5 in Canada as well, the problem was I wasnt able to find data for the touchdown and liftoff point, so I wasnt able to place it on the map :-) If you have those coordinates available or found them somewhere let me know and I would add it for sure! :)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 18, 2015, 05:32:19 PM
I found most of the info here: https://en.wikipedia.org/wiki/2007_Elie,_Manitoba_tornado

and here is the data I input to the file:

   ### Added what I can find out about the Elie tornadoes
   ### the only F5 Tornado recorded in Canada
   
      $event = array();
      $event['date'] = strtotime('2007/06/22 18:25');
      $event['state'] = "Elie MB";
      $event['touchdown'] = array(49.90,-97.79);
      $event['liftoff'] = array(49.87,-97.69);
      $event['fatalities'] = 0;
      $event['injuries'] = 0;
      $event['width'] = 990;
      $event['length'] = 3.7;
      $event['damage'] = "$39M";
      array_push($data,$event);

Note tthe liftoff coordinates are my rough guess from the description in the wiki
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 18, 2015, 05:41:39 PM
Hi,
thanks a lot, I will add it in the next update, I had the exact same problem - I was not able to find the liftoff coordinates and I did not want to guess :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 18, 2015, 05:50:15 PM
I'm somewhat familiar with the area Elie is only about 20miles away as the crow flies!

I know someone in Environment Canada and will ask him if he can find me the lift off coordinate the next time I see him,
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 18, 2015, 07:19:42 PM
Hi,
thanks a lot, I will add it in the next update, I had the exact same problem - I was not able to find the liftoff coordinates and I did not want to guess :D
Anything you can provide for us to add in advance of the next update?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 18, 2015, 07:46:03 PM
Hi,
not really, I meant update of the plugin, which can be done any time, maybe quite early. But I have another plugin planned now, which I would like to finish first and then I can see what else could be added to this one, the potential obviously is huge (unfortunately... lot of disasters...)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 18, 2015, 11:43:16 PM
Thanks Jachym, and I am up to date for now as Bill, KaptainOne, was kind to share his modification. 
 
Paul
Title: New plugin - Snow statistics
Post by: Jáchym on October 24, 2015, 06:46:11 PM
New plugin - Snow statistics

A new plugin is now available, which is all about snow... it is unbelievable how time flies (especially when you are enjoying yourself like I am working on this template in my free time now :-), but for most of us, winter is approaching... It therefore seemed like an obvious choice for me to choose this topic for the next plugin.

So how does this work and what does it do....

This plugin is for logging and showing snow fall and snow depth at your station. It is divided into several parts and shows all sorts of data. I of course haven´t forgotten about our friends on the Southern hemisphere, this plugin will of course work for you too, the scripts automatically detect your location and based on that calculate "winter period" correctly (given you have your station coordinates specified correctly in your config.php).

When you run the plugin for the very first time, a new MySQL table will be automatically created, where you can then save the data, the table will be called simply "snow", but that isn´t really important because you don´t need to know how this all works, you can easily add/delete stuff using one of the prepared scripts. However, make sure you read the instructions in the blog post carefully before you actually install it and try to run it, this time there is some important settings that need to be made in order for this to work.

Features:

- detailed monthly reports with regards to snow (snow fall, snow depth)
- detailed seasonal reports
- overall comparison of all winters for which data are available
- correlation with temperature

Demo: http://www.meteotemplate.com/template/plugins/snow/index.php (http://www.meteotemplate.com/template/plugins/snow/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=262 (http://meteotemplate.com/blog/?p=262)

Enjoy :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 25, 2015, 10:50:22 AM
That is a wonderful job with great graphs Jachym =D&gt;
 
I have my snow records entered from when I started to manually record in 2011-2012 http://www.komokaweather.com/j-template/plugins/snow/allSeason.php (http://www.komokaweather.com/j-template/plugins/snow/allSeason.php)
for "trace" amounts I have used "0.1" cm and in most instances the snow fall and snow on the ground is recorded in full centimeters.  I started my CoCoRaHS recording in February 2014 shortly after CoCoRaHS became available in Ontario.
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 25, 2015, 11:38:54 AM
Hi Paul,

well Im glad you like the new plugin, it is interesting to look at your graphs, I was especially interested in seeing the temperature correlations, because in the demo this does not really work because the snow data is not real and so there obviously cannot be any correlation with the temperature.
Title: Plugin - fix
Post by: Jáchym on October 25, 2015, 11:43:01 AM
Just a little not that I have fixed some minor bugs in two of the plugins, you can download the fixed version from the normal plugin download page.

SNOW
- just a little fix of one graph, where the axis lables were incorrect and one little fix in the reports page script, which makes sure it works on older PHP versions as well. Changes were made only in these two scripts which do not require any settings, so all you have to do is replace those two pages:
- allSeason.php
- snowReports.php

CONTACT
- fixed a bug, which did not allow inserting spaces in the "Name" field. You can now use spaces as well as alphanumeric characters. Again, only need to change that one script, which does not require any setting.
- contact.php

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 25, 2015, 11:59:16 AM
I can't get at updating these until evening but is there some specific file(s) that have changed in each plugin? rather than replacing all?
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 25, 2015, 12:01:13 PM
You havent read the post have you :D :D :D

It tells you exactly which pages were modified and also that you only need to replace those, none of which require any changes, settings are made in other scripts, so you can just replace those and it should work fine, just to make sure, I will repeat, in the snow plugin it is the snowReports.php and allSeason.php and in contact it is the contact.php.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 25, 2015, 02:29:29 PM
 :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 25, 2015, 04:03:00 PM
No problem :-) The important thing is it seems to be working fine now and it is actually quite interesting to look at it, what surprised me for example is the first day of snow, it seems like this year you have exceptionally cold October, dont you?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 25, 2015, 06:41:03 PM
Got them both updated and all is fine, thank you.
Quote
what surprised me for example is the first day of snow, it seems like this year you have exceptionally cold October, dont you?
The first snow was a surprise but not unheard of.  Actually the temperatures in October have been very much normal.
 
Snow records are both interesting and also very useful.  I am involved with a local non-profit seniors apartment corporation and we have a contractor do the snow plowing/removal and salting at our premises as needed.  Snow plowing is done whenever there is 5 cm (2 in.) or more snowfall.  In getting snow plowing quotes for this winter it was useful to have the local historical data.  While we do get quite a bit of snow here, the times of 5 cm or more is quite infrequent.  One of the bidders mentioned that my snow records were very useful to him and, please continue doing it.  Now with Meteotemplate I have a new page that shows snow in graphs, etc.  Very good.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 25, 2015, 06:45:41 PM
Well thats great that it will have some real use... I looked at your snow reports on your other website, actually it is quite interesting, but obviously it is easier to visualize things when you have graphs and interactive tables. As I said, it always feels great when you see that what you are doing makes sense :-) In my case there isnt really point in tracking this. I live in a city center, we had very little snow in the last years and I live in a one-room flat with no direct access to some outside place where I could easily measure it, and plus even on the streets, it is difficult to find some representative area for measurement... but I knew that other people like you do track this and this will become handy. You can expect some further stuff related to the winter soon :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 27, 2015, 12:40:58 PM
Hi Jachym,
Cumulus1 has the Snow Index which it takes from the daily Weather Diary manual entry in Cumulus and based on the Eden Winter Snow Index
Quote
Weather DiaryDisplays the "Weather Diary (http://www.wxforum.net/mk:@MSITStore:C:\added_programs\Cumulus\Help\Cumulus.chm::/logs.htm)" Window.
 
Snow IndexDisplays the "Eden Winter Snow Index". See here (http://www.weatherfaqs.org.uk/node/60#SnowIndex) for an explanation.
It is only available in a drop down box within the Cumulus program and is also saved in a log.xml file.  No other graph or use is made of this data by Cumulus and I am sure a knowledgeable person could do something with it, but that is not me.  My way is to have this snow index calculated in my Excel snow page, but no graphs, just the raw data.  Not sure how many use the snow index but to me it is a good and quick comparison between snow seasons. 
 
Your snow plugin has excellent graphs including a multi season coloured comparison which is on a daily comparison basis.  Could the Eden Snow Index be added in the plugin,  perhaps in a graph form?
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2015, 01:10:40 PM
Hi Paul,

Im definitely opened to any suggestions for additions, but Im not sure I completely understood this, could you maybe explain a bit more what exactly you would like, how it is calculated etc.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 27, 2015, 02:10:57 PM
Hi Jachym,
This is how it is calculated:
Quote
Snow Index
(Eden Winter Snow Index): Philip Eden has defined as follows: ' Add together the snow depth in centimetres for all days with snow-lying at 0900Z. Treat a slight cover as 1cm, but ignore less than 50% snow-cover. Thus one morning with a 10cm cover, and ten mornings with a 1cm cover, would each score 10. The units, for the sake of argument, might be called "cm days" '. This can be used as a 'running-total' through a particular winter to compare different areas of the country (alongside such as numbers of days of snow-lying at 0900, numbers of days air minimum temperature < 0.0C (or other threshold) etc., or to put winter 'snowiness' in historical context. [ to see the procedures for reporting falls of snow - see here (http://www.weatherfaqs.org.uk/node/123) ]
On my snow page I do a monthly calculation and season to date calculation (the sum of each day's snow on the ground for all the calendar days in the month - i.e. April 2015 had a total sum of accumulation of 2cm divided by 30 days = 0.07 snow index for the month, and from November 2014 to April 30, 2015 in the 181 days there was a sum of 2179 cm accumulation divided by 181 = 12.04 snow index.  I visualize a graph starting in November (actually October this year) from 0.0 and changing each day as the sum of snow on the ground keeps accumulating and more days are recorded; and that for each year of records - for past seasons the graph line or bar would be complete, but for current season only to current date).  Probably haven't done a good job of explaining...
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2015, 02:17:53 PM
Hi Jachym,
This is how it is calculated:
Quote
Snow Index
(Eden Winter Snow Index): Philip Eden has defined as follows: ' Add together the snow depth in centimetres for all days with snow-lying at 0900Z. Treat a slight cover as 1cm, but ignore less than 50% snow-cover. Thus one morning with a 10cm cover, and ten mornings with a 1cm cover, would each score 10. The units, for the sake of argument, might be called "cm days" '. This can be used as a 'running-total' through a particular winter to compare different areas of the country (alongside such as numbers of days of snow-lying at 0900, numbers of days air minimum temperature < 0.0C (or other threshold) etc., or to put winter 'snowiness' in historical context. [ to see the procedures for reporting falls of snow - see here (http://www.weatherfaqs.org.uk/node/123) ]
On my snow page I do a monthly calculation and season to date calculation (the sum of each day's snow on the ground for all the calendar days in the month - i.e. April 2015 had a total sum of accumulation of 2cm divided by 30 days = 0.07 snow index for the month, and from November 2014 to April 30, 2015 in the 181 days there was a sum of 2179 cm accumulation divided by 181 = 12.04 snow index.  I visualize a graph starting in November (actually October this year) from 0.0 and changing each day as the sum of snow on the ground keeps accumulating and more days are recorded; and that for each year of records - for past seasons the graph line or bar would be complete, but for current season only to current date).  Probably haven't done a good job of explaining...
 
Paul

OK, so if I understand this correctly,

you want to add a parameter (snow index), which would be cumulative snow in that winter divided by the number of days since the first snow? What confuses me is if this is calculated for each month or if it simply adds up for the whole season as well as the number of days (i.e. if it is 0 at the beginning of each month or if it just starts on the first day with snow and goes until the last)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 27, 2015, 05:45:38 PM
Hi Jachym,
Maybe a little better terminology and clarification.  From what I have understood from Steve at Cumulus the EWSI Snow Index is the sum of snow on the ground from the beginning of the snow season to the end of the season - if there is 6 cm of snow on the ground for every day in November and no further snow on the ground at all in the rest of the season that would be snow index sum of 180 cm and at the end of November the snow index is 6.0 in cm day units.  But at the end of December it would be a snow index of 2.95 cm days (180 divided by 61) and at the end of January snow index is 1.96 cm days and so on during the snow season.  If there is no snow on the ground in November, December but snow on the ground in January the snow index in November and December would be 0 and 0 cm days, and in January it would be calculated based on the sum of snow on the ground and the number of calendar days of November, December and January to date.

Off course more snow would likely be on the ground during the rest of the season.  I had used Snow Season beginning in November but this year it actually started in October, rare as it is.  I think the Snow Index is for the season - from beginning to current, rather than monthly as I also have been calculating it.  But I have seen it listed in monthly form as well.  I have not researched it any further nor read the full Eden Winter Snow Index article in detail.

I mentioned it only as it would be interesting to see a single graph comparing the snow index and cm days for each recorded snow season

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2015, 06:11:51 PM
OK, so my understanding is this:

It is the cumulative snowfall for the month/season divided by the number of days passed since the beginning of snow season?

So lets say snowing began in November.
Then in December:
- monthly snow index would be on the 1st - snowfall/1, on the 2nd = snowfall on 1st + snowfall on 2nd, all divided by 2, etc.
- seasonal cumulative - snow fall since the beginning of snow season / number of days since the beginning of snow season

Is that what you meant?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2015, 06:14:29 PM
OK sorry, never mind, I think I get it :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 27, 2015, 06:19:12 PM
Ji Jachym,
As far as I understand, and have been using, it is the amount of snow on the ground rather than recorded snow fall  If fallen snow melts over time the amount on the ground is reduced for that day. 

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2015, 06:33:27 PM
 :-)

Got ya
Title: Snow plugin - update
Post by: Jáchym on October 27, 2015, 07:47:46 PM
I have updated the recently released Snow Plugin to version 2.0

Now also includes Snow Index calculated for months, seasons and including graphs.

If you are updating from version 1, you do not need to set it up again and only replace these three files, which require no setting:
report.php
reportSeason.php
allSeasons.php

Demo at meteotemplate.com has also been updated.

If you have not yet installed this plugin and want to, make sure you read the instructions for installing it

Demo: http://www.meteotemplate.com/template/plugins/snow/index.php (http://www.meteotemplate.com/template/plugins/snow/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=262 (http://meteotemplate.com/blog/?p=262)

Enjoy :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 27, 2015, 10:29:27 PM
Thanks Jachym, that was quick for adding the snow index, and looks very good =D&gt;   From my manual recording I had only seen it in tabular form, and seeing it in graph for the 4 winter seasons is quite interesting.
 
Paul
 
Title: Re: Meteotemplate - new free website template - Traduction Diary events
Post by: Juan Maria Vilaro on October 28, 2015, 07:03:36 AM
Jachym Hello, could you tell me how to translate the Spanish events that occur on a daily basis? example "today has registered the maximum temperature of the month" because now I get good at English and I want it to look in Spanish, how can I do?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 28, 2015, 11:21:16 AM
Hi Juan,
most of the plugins currently only support English, but it is planned to offer other languages in the future updates.
Title: New plugin and plugin updates
Post by: Jáchym on October 28, 2015, 01:43:30 PM
New plugin - Evapotranspiration calculator

A new plugin is now available which calculates an estimate of daily evapotranspiration using the modified FAO Penman-Monteith equations.

This plugin uses several parameters (daily avg temperature, humidity, pressure, elevation, day of the year, latitude, solar radiation, wind speed, height of wind speed measurement) to estimate the daily evapotranspiration. By default it loads your current station data (if you do not have solar sensor, then this value is set to 0 and you should make an estimate). You can change the values and also units (which should adapt to your config.php by default).It uses the Penman-Monteith set of equations, which comprises of over 20 formulae to estimate daily evapotranspiration. Please keep in mind this is the first version and it is possible that the calculation is not 100% accurate (it is an estimate!). In addition to evapotranspiration, it also calculates mean saturation vapor pressure, actual vapor pressure derived from humidity, vapor pressure deficit, day of the year, inverse relative distance Earth-Sun, solar declination, sunset hour angle, extraterrestrial radiation, daylight hours, clear-sky solar radiation, net solar shortwave radiation, net long-wave radiation and net radiation).

Installation: download, unzip, upload, add link to menu

Demo: http://www.meteotemplate.com/template/plugins/et/et.php (http://www.meteotemplate.com/template/plugins/et/et.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=268 (http://meteotemplate.com/blog/?p=268)

Plugin updates
And in addition just to summarize, the following plugins have also been recently updated:
- snow 2.0 - now also calculates and visualizes snow index
- contact - some bugs fixed

More info in the blog.

Enjoy :-)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 29, 2015, 01:23:38 PM
Jachym,

  I have a solar radiation sensor, but the ET plugin isn't being populated with the average daily solar radiation for the day.  It always shows 0.  http://www.harpersferry-weather.com/meteotemplate/plugins/et/et.php (http://www.harpersferry-weather.com/meteotemplate/plugins/et/et.php)

John

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2015, 01:32:27 PM
Hi John,

yes I know about that and actually I fixed that issue already, hoping not many people have downloaded the original version :D So if you try the current download file, things should be ok.

Sorry for the inconvenience.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 29, 2015, 01:42:31 PM
Jachym,


  All is good with the ET plugin after re-downloading.  Thanks

John
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 29, 2015, 06:13:40 PM
Hi Jachym,
Very nice again.  I had downloaded the plugin last night, and have now re-downloaded and updated only et.php, will that be enough?
 
I don't have UV/ET on my weather station, and my B-L Sunrecorder doesn't provide W/m2.  Would you have any suggestion what value I could enter for that?
 
Also when I change the Height of |Measurement from the default 10 M to my actual 5 M it goes back to 10 M after I exit and then reload the ET page.  The same thing for the Elevation.  Can I hardcode these fixed values in et.php?
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2015, 06:42:52 PM
Hi Paul,

I can add that in the script easily - being able to set default elevation and height of wind measurement.

With regards to your s.rad. measurements... there is an alternative formula for calculating this in the Penman-Monteith, which uses daily sunshine hours instead, it is slightly less accurate so I used the W/m2 instead, but it is still relatively good estimate, which works in most cases. Would that help?
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 29, 2015, 07:04:57 PM
  I just noticed with the ET page that when you click on DETAILS that there's something not right with pressure conversion to inHg (currently showing0.30) and the solar radiation reading is always 12.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2015, 07:22:44 PM
Thanks guys for pointing out the bugs, I really appreciate it.

Try re-downloading the et zip file. I uploaded a new version.

Changes:
- fixed pressure conversion
- fixed solar radiation display
- new: in et.php, at the top you can now specify the default elevation and height of wind measurement

Let me know if it works, I tried it and hope it does.

Thanks a lot
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 29, 2015, 07:34:54 PM
The pressure conversion and solar radiation display are fixed.  I don't see where you can specify the default elevation and height of wind measurement.

http://www.harpersferry-weather.com/meteotemplate/plugins/et/et.php

John

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2015, 07:36:02 PM
Hi John,

the default measurements are specified in et.php right at the top:

$defaultElevation = 300; // if you use metric units (temp in deg C) then specify this in meters, if in imperial, use number for feet
$defaultWindHeight = 10; // default height of wind measurement in meters
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 29, 2015, 07:39:46 PM
My bad  :oops:  I don't know why I was thinking that you could change it when you brought up the page.  You have to edit et.php.  I do see that it says the default is in meters in et.php. What about feet for the wind measurement?

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2015, 07:47:47 PM
Hmm, I guess I could make it possible to define this in ft as well, but I thought that since in general, wind should be measured at 10m and Ive seen people here on the forum who were from the US to also discuss this as "10m" I just left it like that, the problem is that you then have such "nice" numbers.

In the actual Penman-Monteith equations which are then used to find the ET, this number is converted to 2m height, which is what is used in the equations. There is a generally accepted equation to convert wind speed to 2m height, it looks like this:

wind speed at 2m = W * (4.87 / log(67.8*H - 5.42))

where W = wind speed, H = height of measurement (m)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on October 29, 2015, 07:54:58 PM
After thinking about this some more just leave it in meters.  You are correct that winds are generally measured at 10m and that is standard. 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 29, 2015, 09:13:47 PM
Hi Paul,

I can add that in the script easily - being able to set default elevation and height of wind measurement.

With regards to your s.rad. measurements... there is an alternative formula for calculating this in the Penman-Monteith, which uses daily sunshine hours instead, it is slightly less accurate so I used the W/m2 instead, but it is still relatively good estimate, which works in most cases. Would that help?
Thanks Jachym, I have installed the latest zip and set heights in et.php.

If the script can use the daily sunshine hours that would be great.  My B-L Sunrecorder creates a SRsunshine.dat (txt) file every minute with the day's sunshine so far.  Also Cumulus webtags <#SunshineHours> is the sunshine so far today, and <#YSunshineHours> is the total sunshine yesterday.
 
I believe I can find a way to upload this sunshine data in a .txt file.  Can that work?
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 30, 2015, 06:24:42 AM
Hi Paul,
ok I will make it possible so that the user can choose if they want to enter daily sunshine hours or solar radiation directly in W m-2. The equations basically use your latitude and time of the year to calculate the total day length and then based on the sunshine hours it gives some rough estimate of the solar radiation. In other words it then gets to the same point as if you specify it directly.
With regards to your cumulus files it is not really relevant because you simply put in a number, it is not loaded from the database, because unlike solar radiation the database does not contain values for daylight sunshine hours.

Title: New plugin - Global Snow
Post by: Jáchym on October 30, 2015, 07:01:20 PM
Global Snow/Ice
A new plugin is now available, which shows current snow/ice cover in the world.

This plugin about snow does not use your station data, but rather shows data from observations and satellites around the world.

Currently four pages are available for various regions:

- world - this one shows several maps of current global snow and ice cover
- U.S. - this page shows several maps for the United States and also regional maps, with the possibility to switch and set default
- Canada - several maps of Canada, both national and regional
- Europe - maps of snow cover and precipitation for Europe

Installation is very easy - again, just download, unzip and upload + add link to menu. There is just one optional thing, which is setting the default region for U.S. If you want some particular region to be shown as default (otherwise it will show national and let the user to choose themselves), then open us.php and at the very top find the line which tells you what are the possible regions that can be chosen.

Demo: http://www.meteotemplate.com/template/plugins/globalSnow/index.php (http://www.meteotemplate.com/template/plugins/globalSnow/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=271 (http://meteotemplate.com/blog/?p=271)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 31, 2015, 05:37:51 AM
Jachym are you sending remote icons to the template I see a Halloween pumpkin ? http://www.apeldoorn.tk/meteo/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 31, 2015, 06:21:47 AM
You don't like the pumpkin?   :grin:

No I don't actually ,  these changes are built in,  don't worry I don't have access and I do not even have a possibility to track your site.  These icon changes were like a little surprise that I did not mention.  It has changed a few times in the past  already and will again,   always automatically and temporarily, based on your country and date.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 31, 2015, 06:37:26 AM
I like the feature  :grin: I don't like Halloween LOL I found it now can I add some Dutch events like The Kingsday ( national holiday) always on  april 27th and Sinterklaas (Dutch Sata Claus) always on december 5th ? Liberation Day WW2 (Netherlands) always may 5th..

Title: New plugin - WD Live Gauges + plugin updates
Post by: Jáchym on November 02, 2015, 05:39:12 PM
LIVE GAUGES FOR WEATHER DISPLAY

A new plugin is now available - live gauges for Weather Display!

This plugin extends the functionality of the built-in gauges plugin and allows much faster updates. The whole idea of this plugin is that unlike any of the other scripts in the template, it does NOT use the database, and uses data from the clientraw text file directly. This means it allows viewing the most recent conditions. The database is of course still updated in the standard interval.

The plugin requires that you use Weather Display and that you upload clientraw.txt to your server. Also, it will only make sense if this upload is more frequent than your database update, otherwise it will just duplicate the already built-in gauges in the main template.

If you do have a clientraw file on your server updated more often, then setting it up will be very easy. There are several designs available for you to choose from. As you know I prefer the simple "material" design style, however I do understand that many prefer more colors, 3D effects, shadows etc. There are therefore several versions, some of which use the material design theme and others with more colors and 3D effects. You can also choose from two available sizes, where one is probably ideal for mobile devices as it fits on one screen, while the other one is easier to read on a PC.

Features

- live conditions with auto updates
- several design themes
- 2 sizes
- solar sensor and UV gauge automatically displayed/hidden based on config.php settings
- units either default or user-defined (linked to the rest of the template)
- in the "color" theme, thermometer color changes between red/blue (if freezing)
- precipitation gauge can be switched to show daily/monthly or annual rain
- thermometer can be switched to show temperature/apparent temperature or dew point

Installation instructions available in the blog.

Demo: http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php (http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php) - - please note: the demo uses dummy random data as I don't have WD connected to my station and generating clientraw. To see all versions simply view the demo and then replace index.php by index2.php, .... , index5.php

Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=274 (http://meteotemplate.com/blog/?p=274)

PLUGIN UPDATES

I have decided to gradually begin updating all the plugins so that they can also be localized to different languages. I hope this will be useful to some of you as right now the plugins are all in English unless you translated them by hard-coding different strings. However, that is not an ideal situation for two reasons - first, the user cannot change language, so it will always be displayed in the language you translated it to and second, if I release an update, you would either have to stick with your current version or update and lose all the changes.

First plugins that are now localized are one of the most popular ones and ones that contain relatively lot of strings - the diary and the disasters. However, right now, basically they are still just in English, but that is simply because somebody will first have to help me and translate them so that I can include the language file. The way it works is that the plugins will always first search if there is a language string available for the language chosen, if not, it will use English. This means that if you wish to translate, you don't even need to translate everything. The untranslated strings will simply remain in English.

Language files are placed in the lang directory and the translation follows the exact same logic as the language strings for the core template.

In addition, the updates also contain a few minor bug fixes so I recommend you update the files. In case of the diary there were some minor problems with the Moon phase calculation.

I also apologize to our Canadian friends and I have added the only one F5 tornado ever observed in Canada in the disasters plugin and thus also renamed the "US F5 tornadoes" site :-).

Make sure you read the instructions for updating the scripts in the blog, you might otherwise lose some valuable data!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 02, 2015, 08:09:59 PM
Hi guys, I really apologize, I accidentally uploaded the ZIP file intended for the demo, which used random data.

I updated the ZIP file with the correct file.

Once again sorry about that, the current version should work fine.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 02, 2015, 08:16:00 PM
HI Jachym,
I presume this correction is on the new Gauges plugin for WD?
 
I have updated the Disasters and Diary v.2.0 and all seems ok.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 02, 2015, 08:17:40 PM
HI Jachym,
I presume this correction is on the new Gauges plugin for WD?
 
I have updated the Disasters and Diary v.2.0 and all seems ok.
Paul

Yes, there was a mistake in the update.php, I accidentaly forgot to delete the function that just randomly generated values, which was intended just for the demo.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 02, 2015, 09:25:27 PM
Now to work out how to get meteobridge to mimic weatherdisplay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 02, 2015, 09:40:43 PM
I did think about this already and still am thinking don't worry   :grin:
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 03, 2015, 03:26:59 AM
I did think about this already and still am thinking don't worry   :grin:

Also for Cumulus I assume?  8-)
Title: Re: Meteotemplate - new free website template
Post by: erikmm on November 03, 2015, 11:03:38 AM
And a standalone gauge version ? ;-)
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 03, 2015, 11:29:41 AM
Plugin functioning properly, liveGaugesWD, since this morning.

http://www.meteo-badalona-progres.com//template

Thanks, Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 03, 2015, 11:43:46 AM
Great, looks nice! :)
Title: New plugins - Live Gauges for Cumulus and Meteobridge
Post by: Jáchym on November 03, 2015, 04:26:47 PM
LIVE GAUGES FOR CUMULUS AND METEOBRIDGE

New plugins are now available. These plugins do the exact same thing as the WD Live Gauges introduced previously. For Cumulus, it is just as simple to set up as for WD, just instead of the clientraw.txt you specify path to your realtime.txt, Meteobridge is slightly more tricky.

Install instructions are provided in the corresponding blog post.

DEMO:  http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php (http://www.meteotemplate.com/template/plugins/liveGaugesWD/index.php) - please note: the demo uses dummy random data and the WD gauges, but it is exactly the same for the other SW. To see all versions simply view the demo and then replace index.php by index2.php, .... , index5.php

Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=276 (http://meteotemplate.com/blog/?p=276)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 03, 2015, 10:54:47 PM
Looks very nice Jachym - http://www.komokaweather.com/j-template/plugins/liveGaugesCumulus/index4.php (http://www.komokaweather.com/j-template/plugins/liveGaugesCumulus/index4.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 02:55:26 AM
Thanks Jachym glad you made them for Cumulus , but the gauges don't show up  :-| http://www.apeldoorn.tk/meteo/plugins/liveGaugesCumulus/index.php index2.php etc..

No idea looking with chrome I get an error index.php:line 1986 Uncaught SyntaxError: Unexpected token ,


EDIT when I switch to the English language it works thats very strange in Dutch I dont see the gauges

EDIT 2 My default has windspeed in m/s when I try the gauges (no matter what language) and change the windunit in m/s the gauges don't show up too I think he has the default in km/h so I think the gauges can't handle m/s (just a guess)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 06:15:33 AM
Thanks Jachym glad you made them for Cumulus , but the gauges don't show up  :-| http://www.apeldoorn.tk/meteo/plugins/liveGaugesCumulus/index.php index2.php etc..

No idea looking with chrome I get an error index.php:line 1986 Uncaught SyntaxError: Unexpected token ,


EDIT when I switch to the English language it works thats very strange in Dutch I dont see the gauges

EDIT 2 My default has windspeed in m/s when I try the gauges (no matter what language) and change the windunit in m/s the gauges don't show up too I think he has the default in km/h so I think the gauges can't handle m/s (just a guess)

Hi,
this is strange... the problem right now is that I am at work and when I try to access your site it is for some reason blocked by our firewall... so you will have to wait until I get home tonight (around 11PM) and I will have a look at what is going on. What you could do, is try this URL and look at what output the update script is sending to the gauges:

http://www.apeldoorn.tk/meteo/plugins/liveGaugesCumulus/update.php

- language should not be a problem - I just tried dutch on meteotemplate.com (which uses the exact same script) and works fine
- m/s should also not be an issue

EDIT: Attach what you get on that link I sent, I need to see the output of that script, I could try to at least guess what is wrong even without accessing your site if I see the output
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 06:43:43 AM
This is what I get

{"temp1":"0.0","temp2":"0.0","hum":"67","press":"0.0","rain":"0.0","rainM":"0.0","rainY":"0.0","rainrate":"0.0","solar":"253","bearing":"95","wind":"0.0","gust":"0.0","pressTrend":null,"dewpoint":"0.0"}

strange a lot of zeros but the gauges look fine with km/h windspeed (I've m/s in my config php as default I'll will set my config default to km/h and let you know

No hurry
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 06:50:58 AM
I changed the config.php

Was:

// Display units - specify the default units in which you want your data to be shown on the web
   $displayTempUnits = "C"; // C or F
   $displayRainUnits = "mm"; // mm, cm or in
   $displayWindUnits = "ms"; // ms, kmh, kt or mph
   $displayPressUnits = "hpa"; // hpa, mmhg, inhg
   $displayCloudbaseUnits = "m"; // m or ft
   $displayVisibilityUnits = "m"; // visibility units, km/mi/m


now:
// Display units - specify the default units in which you want your data to be shown on the web
   $displayTempUnits = "C"; // C or F
   $displayRainUnits = "mm"; // mm, cm or in
   $displayWindUnits = "kmh"; // ms, kmh, kt or mph
   $displayPressUnits = "hpa"; // hpa, mmhg, inhg
   $displayCloudbaseUnits = "m"; // m or ft
   $displayVisibilityUnits = "m"; // visibility units, km/mi/m

and with the latest config it works fine so I think the dispaly unit ms causes the error (btw I do see the values with ms but no gauges
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 07:09:28 AM
Let me check that,
the script is reporting null for the pressure trend, which is also strange, that should go directly from realtime.txt, can you also provide link to realtime.txt please, I will check that as well
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 07:13:26 AM
Let me check that,
the script is reporting null for the pressure trend, which is also strange, that should go directly from realtime.txt, can you also provide link to realtime.txt please, I will check that as well

Sorry I think I found the issue,

try this:
open index.php and find line 49

change this:
$windUnits = "ms";

to this
$windUnits = "m/s";

and let me know if it helped
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 07:16:25 AM
deleted

i think you had it anyway the gauges do display a trend slighty falling thats ok according the SW

attached a current screenshot of gauges (partly)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 07:20:11 AM
Did that change in the script help?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 07:22:19 AM
Let me check that,
the script is reporting null for the pressure trend, which is also strange, that should go directly from realtime.txt, can you also provide link to realtime.txt please, I will check that as well

Sorry I think I found the issue,

try this:
open index.php and find line 49

change this:
$windUnits = "ms";

to this
$windUnits = "m/s";

and let me know if it helped

Yes that was it thanks  =D&gt; !! I'll do it for the other indexes too
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 07:29:46 AM
Time for a donation to buy some beer coffe whatever you've put much efforts in it   :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 07:37:44 AM
Great, thanks a lot for pointing that out. The problem is that in my template, the units are always without the slash, i.e. "ms", "kmh", "mph".... but Cumulus uses the slash (m/s, ...) and because there was this so many times and various nested cycles etc. I just missed this... I will update all the scripts and upload correct versions to the download section.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 07:41:27 AM
No problem you found the solution
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 07:43:48 AM
No problem you found the solution

I cannot have my PC on 24/7, so I dont use WD or Cumulus and that sometimes makes it a bit tricky when testing so I missed this, but I just uploaded corrected version to the download section so should be fine now.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 07:55:15 AM
Well on a rasperry pi Cumulus works fine

Just found another issue I think... the gauges for wind are reversed speed shows gust / and gust avg windspeed (maybye just chanche the tooltip text?
Sorry did not notice it before.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 08:11:03 AM
No I dont think they are other way around, but the wind gauge in this case shows the "average wind" - the interval for the average differs from station to station. The "gust" gauge shows the latest value, so sometimes your average might be higher than the recent value.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 08:27:51 AM
I'm not sure about that but will keep an eye on that (I cannot exact compare because there is always a dely with the web and the station..) maybe others can have a look at that on their site if they use Cumulus because I don't know how how other sofware behaves.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 04, 2015, 09:07:21 AM
I'll watch it when I have a chance, but so far today virtually no wind here...

Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 09:22:12 AM
I've investigeted the left gauge displays the windspeed and the right one displays wind latest (no idea what it is..) the windgust (   10-minute high gust) is field 41 of the realtime.txt the schipt uses field 7 (6 in dataloader.php) I did change this in 40 but still see the windlatest over here is the layout from the realtime.txt    http://wiki.sandaysoft.com/a/Realtime.txt so now I need some rest  :roll:
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 04, 2015, 09:36:16 AM
Just one the update.php should have field 40 for the gust too (mostly latest is equal to gust but gusts are measured over a 10 min period.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 09:46:16 AM
OK, well I was a bit confused when looking at the realtime, the problem is that if we use the field for max in last 10min, then yes, it would make more sense, but then, the gauge probably wouldnt change very often.

Either way, just try experimenting with it and then tell me which fields in the realtime.txt are best to use for wind and for gust
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 04, 2015, 01:15:34 PM
As I understand, field 7 in realtime.txt (6 if starting with 0) is the Latest wind speed at the time of realtime.txt being created.  In my 5 sec realtime that would pretty well be the live high gust, and that is what seems to appear on the right gauge on my meteotemplate.  Now that gust will be quickly replaced by the new "latest wind gust" at the next 5 sec realtime update and 10 sec meteotemplate update.

I think that is correct for "live" update.  There are other tags that can be used for the "day's" high gust, etc. but that would not be "live".

I am not at home so can't experiment by changing update.php.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 04, 2015, 08:15:15 PM
Hi!

Installed...but not working. :(

I using Weather Display , localhost (wamp server 2.4) .
MySQL creating and uploading success. But the Meteotemplate homepage not loading. (index.php)
Error message:

Code: [Select]
Fatal error: Call to undefined function curl_init() in C:\wamp\www\template\header.php on line 109
Call Stack
# Time Memory Function Location
1 0.0012 418152 {main}( ) ..\index.php:0
2 0.0175 696328 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26
3 0.0229 1212328 curl_get_contents( ) ..\header.php:63
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2015, 08:30:13 PM
Hi,

your PHP does not support the curl function.
Open your header.php in the root folder with some text editor such as Notepad++ or PSpad,

then, on line 63 make the following change:

replace:
   $json = curl_get_contents($url);

with:
   $json = file_get_contents($url);

Save and upload.

It is possible that you might get that error on some other page, everytime this would happen, simply find the curl_get_contents and replace it with file_get_contents.

The curl function is in vast majority of cases supported and is better to use in this case, which is why it is used by default in the template. But if your server does not have this enabled, either make this change I suggested above, or see if you can enable curl on your server.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 05, 2015, 05:52:39 AM
As I understand, field 7 in realtime.txt (6 if starting with 0) is the Latest wind speed at the time of realtime.txt being created.  In my 5 sec realtime that would pretty well be the live high gust, and that is what seems to appear on the right gauge on my meteotemplate.  Now that gust will be quickly replaced by the new "latest wind gust" at the next 5 sec realtime update and 10 sec meteotemplate update.

I think that is correct for "live" update.  There are other tags that can be used for the "day's" high gust, etc. but that would not be "live".

I am not at home so can't experiment by changing update.php.

Paul

The windgust is a discussion in the wiki from Cumulus http://wiki.sandaysoft.com/a/FAQ#What_do_the_various_wind_speeds_in_Cumulus_correspond_to.2C_with_Davis_stations.3F below that is a section for the Fine-Offset stations when I read correctly Wlatest is fine for Davis , for Fine Offset its rather dimmish for me , I think I leave it as Jachym programmed it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2015, 05:56:31 AM
OK, you see I dont really care which field is used, so I guess the best would be if you guys tell me what you think would be the best way of going around this. We simply have two gauges for wind/gust and now the question is, what exactly we want them to show.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 05, 2015, 06:22:05 AM
OK, you see I dont really care which field is used, so I guess the best would be if you guys tell me what you think would be the best way of going around this. We simply have two gauges for wind/gust and now the question is, what exactly we want them to show.

I think wlatest the gauges should move as much as possible  :grin:
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 05, 2015, 06:59:48 AM
The plugin for the meteobridge installed.  Well done :)

Now, I don't really see the point of having TWO "live gauges" so I replaced the current live gauge link with the link to the new one

Code: [Select]
$("#liveGauges").click(function() {
<!-- CUSTOM LIVE GAUGES -->
<!--url = escape("live.php"); -->
url = "http://meteo.capetown/plugins/liveGaugesMB/index2.php";
<!-- END CUSTOM LIVE GAUGES -->
url = "<?php echo $pageURL.$path?>pages/station/redirect.php?url="+url;
window.location = url;

However what I don't really like is the use of the hardcoded URL, but I couldn't get the relative to work because it injects the pages part of the URL

But it looks good

http://meteo.capetown/plugins/liveGaugesMB/index2.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2015, 07:18:50 AM
Hi,
sure, the reason why the "old" gauges remained and will remain in the template is because the template as such supports more SWs and not all have the live gauges available.

For the link, use:
Code: [Select]
url = "<?php echo $pageURL.$path?>plugins/liveGaugesMB/index2.php";
window.location = url;

Delete the rest, you don´t need the loading spinner because these gauges load really fast.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 05, 2015, 07:35:29 AM
Awesome thanks
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 05, 2015, 02:09:00 PM
Hi,

your PHP does not support the curl function.
Open your header.php in the root folder with some text editor such as Notepad++ or PSpad,

then, on line 63 make the following change:

replace:
   $json = curl_get_contents($url);

with:
   $json = file_get_contents($url);

Save and upload.

It is possible that you might get that error on some other page, everytime this would happen, simply find the curl_get_contents and replace it with file_get_contents.

The curl function is in vast majority of cases supported and is better to use in this case, which is why it is used by default in the template. But if your server does not have this enabled, either make this change I suggested above, or see if you can enable curl on your server.

Thanks, I installed the Wamp server 2.5, with PHP 5.5.12 which supported curl_get. This problem solved. :)
But Instead, there are many others error. :(

 
Code: [Select]
Warning: fread(): Length parameter must be greater than 0 in C:\wamp\www\template\header.php on line 58
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26
3 0.0127 1208424 fread ( ) ..\header.php:58

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26
.
.
.
.etc..
 ! ) Notice: Undefined index: in C:\wamp\www\template\header.php on line 83
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Undefined index: in C:\wamp\www\template\header.php on line 84
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Undefined index: in C:\wamp\www\template\header.php on line 85
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
.
.

.etc...
! ) Warning: file_get_contents(http://api.aerisapi.com/forecasts/closest?p=47,19&amp;client_id=id&amp;client_secret=secret code): failed to open stream: HTTP request failed! HTTP/1.1 400 BAD_REQUEST in C:\wamp\www\template\index.php on line 164
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0830 1146760 file_get_contents ( ) ..\index.php:164
.
.
.
.etc...
 ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\index.php on line 289
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0

My config.php

Code: [Select]
// MySQL set up
$dbName = "test";
$con=mysqli_connect("localhost","root","",$dbName);
if (mysqli_connect_errno($con)){
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

$adminPassword = ""; // password for admin section

$path = "/template/"; // path to the template folder
$baseURL = $_SERVER['DOCUMENT_ROOT'].$path;

.
.
.
// Geography
$stationLat = 47; // your station latitude
$stationLon = 19; // your station longitude
$stationCountry = 'hu'; // ISO-2 country code of your location - see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
$stationLocation = 'Szolnok'; // name of the city/region you want to display as your station location
$stationTZ = "Europe/Prague"; // your timezone - see http://php.net/manual/en/timezones.php
$stationMETAR = "LHSN"; // default METAR station - see http://metarchecker.com/airports-by-country.html

// General info
$authorName = "Meteotemplate"; // your name - appears in "author" metatag
$pageName = "Meteotemplate"; // your page name
$pageURL = "http://localhost"; // your main page URL
$pageDesc = "My weather page."; // your page description for search engines
$stationModel = "Davis Pro2 Wireless";
.
.
.
// AERIS ID and Secret
// free registration at http://www.aerisweather.com/
$aerisID = "id";
$aerisSecret = "secret code";
$aerisCacheTime = 60;

/*Customization*/
$userCustomColor = true; //allow user to select custom design color combination - if set to false, template will always use your default colors set above
$userCustomFont = true; //allow user to select custom font combination - if set to false, template will always use your default fonts set above
$userCustomUnits = true; //allow user to select custom units - if set to false, template will always use your default units set above
$userCustomLang = true; //allow user to select language - if set to false, template will always use your default language set above

/* ########### Homepage ####################### */
$paypalButton = true; // do you want to place a "donate" button for a paypal account on the homepage
$paypalButtonCode = "XXX"; // if PayPal button is active, place your unique id code here
$wuIcon = true; // do you want a Weather Underground logo with a link to your WU site on the homepage
$wuStationID = "IJNSZSZ02"; // your Weather Underground station ID (leave blank if above setting set to false)
$awekasIcon = false; // do you want an AWEKAS logo with a link to your AWEKAS site on the homepage
$awekasID = "11100"; // your AWEKAS station ID (leave blank if above setting set to false)
$cwopIcon = false; // do you want a CWOP logo with a link to your CWOP site on the homepage
$cwopID = "XXXXX"; // your CWOP ID (leave blank if above setting set to false)
$weathercloudIcon = false; // do you want a WeatherCloud logo with a link to your WeatherCloud site on the homepage
$weathercloudID = "dxxxxx"; // your WeatherCloud ID (leave blank if above setting set to false)
$WOWMetofficeIcon = false; // do you want a WOW Metoffice logo with a link to your WOW Metoffice site on the homepage
$WOWMetofficeID = "XXXXXXX"; // your WOW Metoffice ID (leave blank if above setting set to false)
$pwsIcon = false; // do you want a PWS Weather logo with a link to your PWS Weather site on the homepage
$pwsID = "XXXXXXX"; // your PWS Weather ID (leave blank if above setting set to false)
Title: Live Gauges 2.0
Post by: Jáchym on November 05, 2015, 05:43:25 PM
LIVE GAUGES 2.0

I have received lot of positive feedback about the recently published Live Gauges plugin and also some interesting ideas. A new version is now available, which adds some of these as well as fixes some minor bugs. The plugins in version 2.0 are available for all the softwares - Weather Display, Cumulus and Meteobridge.

New in Live Gauges 2.0

- four brand new designs with slightly different layout and gauges for wind/gust
- four new layouts also include time of update
- now fully responsive
- bug fixes
- optimization

In the demo at meteotemplate.com, you can try the new designs, which are index6.php, index7.php, index8.php and index9.php. Also, version index9.php at meteotemplate shows you what the gauges look like if you do not have a solar sensor.

Install and upgrade instructions are provided in the corresponding blog post.

DEMO:  http://www.meteotemplate.com/template/plugins/liveGaugesWD/index6.php (http://www.meteotemplate.com/template/plugins/liveGaugesWD/index6.php) - please note: the demo uses dummy random data and the WD gauges, but it is exactly the same for the other SW. To see all versions simply view the demo and then replace index.php by index2.php, .... , index9.php

Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=278 (http://meteotemplate.com/blog/?p=278)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2015, 07:41:56 PM
Hi,

your PHP does not support the curl function.
Open your header.php in the root folder with some text editor such as Notepad++ or PSpad,

then, on line 63 make the following change:

replace:
   $json = curl_get_contents($url);

with:
   $json = file_get_contents($url);

Save and upload.

It is possible that you might get that error on some other page, everytime this would happen, simply find the curl_get_contents and replace it with file_get_contents.

The curl function is in vast majority of cases supported and is better to use in this case, which is why it is used by default in the template. But if your server does not have this enabled, either make this change I suggested above, or see if you can enable curl on your server.

Thanks, I installed the Wamp server 2.5, with PHP 5.5.12 which supported curl_get. This problem solved. :)
But Instead, there are many others error. :(

 
Code: [Select]
Warning: fread(): Length parameter must be greater than 0 in C:\wamp\www\template\header.php on line 58
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26
3 0.0127 1208424 fread ( ) ..\header.php:58

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\header.php on line 69
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26
.
.
.
.etc..
 ! ) Notice: Undefined index: in C:\wamp\www\template\header.php on line 83
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Undefined index: in C:\wamp\www\template\header.php on line 84
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0088 691568 include( 'C:\wamp\www\template\header.php' ) ..\index.php:26

( ! ) Notice: Undefined index: in C:\wamp\www\template\header.php on line 85
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
.
.

.etc...
! ) Warning: file_get_contents(http://api.aerisapi.com/forecasts/closest?p=47,19&amp;client_id=id&amp;client_secret=secret code): failed to open stream: HTTP request failed! HTTP/1.1 400 BAD_REQUEST in C:\wamp\www\template\index.php on line 164
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0
2 0.0830 1146760 file_get_contents ( ) ..\index.php:164
.
.
.
.etc...
 ! ) Notice: Trying to get property of non-object in C:\wamp\www\template\index.php on line 289
Call Stack
# Time Memory Function Location
1 0.0029 415256 {main}( ) ..\index.php:0

My config.php

Code: [Select]
// MySQL set up
$dbName = "test";
$con=mysqli_connect("localhost","root","",$dbName);
if (mysqli_connect_errno($con)){
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

$adminPassword = ""; // password for admin section

$path = "/template/"; // path to the template folder
$baseURL = $_SERVER['DOCUMENT_ROOT'].$path;

.
.
.
// Geography
$stationLat = 47; // your station latitude
$stationLon = 19; // your station longitude
$stationCountry = 'hu'; // ISO-2 country code of your location - see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
$stationLocation = 'Szolnok'; // name of the city/region you want to display as your station location
$stationTZ = "Europe/Prague"; // your timezone - see http://php.net/manual/en/timezones.php
$stationMETAR = "LHSN"; // default METAR station - see http://metarchecker.com/airports-by-country.html

// General info
$authorName = "Meteotemplate"; // your name - appears in "author" metatag
$pageName = "Meteotemplate"; // your page name
$pageURL = "http://localhost"; // your main page URL
$pageDesc = "My weather page."; // your page description for search engines
$stationModel = "Davis Pro2 Wireless";
.
.
.
// AERIS ID and Secret
// free registration at http://www.aerisweather.com/
$aerisID = "id";
$aerisSecret = "secret code";
$aerisCacheTime = 60;

/*Customization*/
$userCustomColor = true; //allow user to select custom design color combination - if set to false, template will always use your default colors set above
$userCustomFont = true; //allow user to select custom font combination - if set to false, template will always use your default fonts set above
$userCustomUnits = true; //allow user to select custom units - if set to false, template will always use your default units set above
$userCustomLang = true; //allow user to select language - if set to false, template will always use your default language set above

/* ########### Homepage ####################### */
$paypalButton = true; // do you want to place a "donate" button for a paypal account on the homepage
$paypalButtonCode = "XXX"; // if PayPal button is active, place your unique id code here
$wuIcon = true; // do you want a Weather Underground logo with a link to your WU site on the homepage
$wuStationID = "IJNSZSZ02"; // your Weather Underground station ID (leave blank if above setting set to false)
$awekasIcon = false; // do you want an AWEKAS logo with a link to your AWEKAS site on the homepage
$awekasID = "11100"; // your AWEKAS station ID (leave blank if above setting set to false)
$cwopIcon = false; // do you want a CWOP logo with a link to your CWOP site on the homepage
$cwopID = "XXXXX"; // your CWOP ID (leave blank if above setting set to false)
$weathercloudIcon = false; // do you want a WeatherCloud logo with a link to your WeatherCloud site on the homepage
$weathercloudID = "dxxxxx"; // your WeatherCloud ID (leave blank if above setting set to false)
$WOWMetofficeIcon = false; // do you want a WOW Metoffice logo with a link to your WOW Metoffice site on the homepage
$WOWMetofficeID = "XXXXXXX"; // your WOW Metoffice ID (leave blank if above setting set to false)
$pwsIcon = false; // do you want a PWS Weather logo with a link to your PWS Weather site on the homepage
$pwsID = "XXXXXXX"; // your PWS Weather ID (leave blank if above setting set to false)

This is most likely due to the fact that the script does not have permissions to write files. Make sure that your template directories are writeable and PHP can write files.
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 05, 2015, 08:06:46 PM
Jachym, thnx for help! :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2015, 08:09:05 PM
Another option is that your location was not recognized automatically by the script, in which case send me an email and I will send you exact instructions how to proceed. I would also need you to go to Yahoo weather and find the place that is closest to your location and for which we would set up the forecasts on the homepage.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 06, 2015, 07:16:53 AM
Jachym,

I finally got around to implementing the Live Gauges plugin.  For the precipitation I have the following in my setting file for inches:

$rainRangeDayIn = array(0,4); // precipitation range for daily total in inches
$rainRangeMonthIn = array(0,10); // precipitation range for monthly total in inches
$rainRangeYearIn = array(0,40); // precipitation range for annual total in inches

When I bring up the gauges the daily scale shows up good for precipitation, but when I want to look at the monthly or yearly precipitation the numbers for the scaling are not showing correctly.  It looks like there are 2 sets of numbers writing ovber each other.  I have also noticed that when switching between daily, monthly, and yearly that it takes a few clicks or it doesn't switch to the time period clicked on.

http://www.harpersferry-weather.com/meteotemplate/plugins/liveGaugesWD/

John

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2015, 07:23:26 AM
Hi John,

Ď just checked your site and everything looks good to me... clicking D/M/Y brings up the correct number and the correct scale. Which browser are you using?
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 06, 2015, 07:27:09 AM
Hi John,

Ď just checked your site and everything looks good to me... clicking D/M/Y brings up the correct number and the correct scale. Which browser are you using?

Jachym,

  The problem is with Fire Fox.  I just brought up the page in IE and it shows correctly. 

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2015, 07:45:30 AM
OK, Chrome works fine, which is what I use most of the time.

I checked FF too, before I released it, but I just did some brief check to see it is working and I havent tested everything. I will now do some tests in FF.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2015, 07:48:15 AM
Hmm... John I just tested it with FF, Im using the latest version and I assume you too. There must be something messed up with your FF profile because I see everythng working absolutely fine.

Can anyone else please have a look at John´s page with FF to see if there are any problems with the rain gauge?

Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 06, 2015, 08:03:23 AM
  Something strange is going on with the gauge display on my end using FF (v42.0).  If I look at it with IE then everything looks fine.  If I go to another computer FF (v42.0) and IE show everything fine.  So, I uninstalled FF and reinstalled it but it's still not showing up correctly on the computer which I mainly use  :shock:.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2015, 08:09:08 AM
  Something strange is going on with the gauge display on my end using FF.  If I look at it with IE then everything looks fine.  If I go to another computer FF and IE show everything fine.  So, I uninstalled FF and reinstalled it but it's still not showing up correctly on the computer which I mainly use  :shock:.

John

Hi, re-install of a browser (in general) does not solve anything. This is because when you uninstall any browser, it always keeps your profile data saved on your computer and when you then install it again, it uses it again. Re-installing web browsers only solves problems related to the browser itself. In this case, what would probably help is completely erasing your FF profile on your PC, but that would also delete all your settings - i.e. history, passwords etc. (unless you have these saved in a cloud via some profile, for example I have all my bookmarks, history etc. synchronized via Google profile).

So maybe before you try that, have a look into the console, if it shows any errors on the page.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 06, 2015, 08:19:37 AM

Quote


Hi, re-install of a browser (in general) does not solve anything. This is because when you uninstall any browser, it always keeps your profile data saved on your computer and when you then install it again, it uses it again. Re-installing web browsers only solves problems related to the browser itself. In this case, what would probably help is completely erasing your FF profile on your PC, but that would also delete all your settings - i.e. history, passwords etc. (unless you have these saved in a cloud via some profile, for example I have all my bookmarks, history etc. synchronized via Google profile).

So maybe before you try that, have a look into the console, if it shows any errors on the page.

Deleting the profile did the trick.  Thanks \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2015, 08:29:00 AM
OK, great! I appologize if that meant you lost some profile data :D

P.S.
(Use google, and everything is synched  8-)  :lol:
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 06:19:50 AM
I noticed that the colorscale for wind always is read (gusts do have a colorscale) the leftgauge also doesnt fit as the right gauge at the bottom.

Attached screenshot
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 06:34:31 AM
You must have done something wrong in the settings,  look what the data from realtime look like
http://www.apeldoorn.tk/meteo/plugins/liveGaugesCumulus/update.php

It was working before and it works fine on other websites
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 06:37:30 AM
Well version 1 worked oke and this issue is only for the colored gauges the other look fine this are the values

{"temp1":"0.0","temp2":"0.0","hum":"89","press":"0.0","rain":"0.0","rainM":"0.0","rainY":"0.0","rainrate":"0.0","solar":"126","bearing":"230","wind":"0.0","gust":"0.0","pressTrend":null,"dewpoint":"0.0","time":"12:35:38"}
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 06:50:25 AM
Yes so look at the temperature,  some of these values are wrong,  check your realtime
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 06:52:16 AM
Those values don't represent the gauges  :roll: The gauges do have the right values. http://www.apeldoorn.tk/meteo/plugins/liveGaugesCumulus/index2.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 07:00:09 AM
I know that's what I was saying,  check your settings
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 08:22:03 AM
What should I check ?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 08:25:32 AM
I set the offset to 30 m/s for wind and 35 m/s for gusts I did set them both to 35 m/s now it looks fine , so the offsets must be equal ..

Any way its extreme warm here we've broken maximum records for November since measurements began  :shock:
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 07, 2015, 08:53:24 AM
  I have a solar radiation sensor, but not a UV sensor.  It appears that if you have solar sensor set to true in the config file that the Live Gauges will show both solar radiation and UV.  Since I don't have a UV sensor it always shows 0.  A setting is needed to determine whether or not to include a UV sensor in the Live Gauges.

John
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 09:31:43 AM
  I have a solar radiation sensor, but not a UV sensor.  It appears that if you have solar sensor set to true in the config file that the Live Gauges will show both solar radiation and UV.  Since I don't have a UV sensor it always shows 0.  A setting is needed to determine whether or not to include a UV sensor in the Live Gauges.

John

I also wonder why 56 F gives -23 C on yor gauges http://www.harpersferry-weather.com/meteotemplate/plugins/liveGaugesWD/index2.php this should be aprox +13.3 C
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 07, 2015, 09:46:58 AM
I also wonder why 56 F gives -23 C on yor gauges http://www.harpersferry-weather.com/meteotemplate/plugins/liveGaugesWD/index2.php this should be aprox +13.3 C

Not sure how I missed that :roll: In fact all the markings on the thermometer scale shows -23 C. The same issue applies to the apparent temp and dew point with all markings showing -23 C
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 09:52:56 AM
I also wonder why 56 F gives -23 C on yor gauges http://www.harpersferry-weather.com/meteotemplate/plugins/liveGaugesWD/index2.php this should be aprox +13.3 C

Not sure how I missed that :roll: In fact all the markings on the thermometer scale shows -23 C.

Yup I saw it too in second instance
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 09:55:25 AM
Jachym what is Alltime un der current conditions I can't make sense of this temperature because my alltime allyear high meentemperature was over 2015 11,4 C attached screenshot
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 11:17:03 AM
Hi,

I will look at the thermometer issue, there is something weird, because Im sure I would have noticed if it was 23 everywhere.

With regards to your alltime temperature, if you look at the top it says "avg" - this is your all time average temperature, not alltime max or min
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 11:27:38 AM
Aaaahhhhh..... Found it! :D

Sorry guys.. I appologize, Im an idiot, yes there is a bug, one stupid typo and I havent noticed it because I was using the deg C....

so the error only happens if you are using degrees Fahrenheit...

to be more specific, in all the gauge files, if you look at lines 528 and 529, I accidentaly forgot to change one number when copy/pasting:

Current buggy version:

min: <?php echo round(($temperatureRangeF[0]-32)/1.8,0)?>,
max: <?php echo round(($temperatureRangeF[0]-32)/1.8,1)?>,


Should be:

min: <?php echo round(($temperatureRangeF[0]-32)/1.8,0)?>,
max: <?php echo round(($temperatureRangeF[1]-32)/1.8,1)?>,


I will make that correction in all the files and upload a fixed version ASAP or you can change it yourself, but you would have to do this in all the index files.

Sorry about that...
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 11:33:37 AM

With regards to your alltime temperature, if you look at the top it says "avg" - this is your all time average temperature, not alltime max or min

Alltime average over what period since measurements began (of station database) ? (I know its not max nor min)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 11:40:31 AM
Yes that is the average from all the numbers for temperature available in your database.

OK, I have just uploaded a fixed version of the gauges, please try downloading and updating your files, again, no need to replace settings.php, only the index files, so you dont have to set up anything.

And please let me know if it works.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 11:54:33 AM
Ok thanks , the gauges work fine for me (updated) but I'm not sure I'had the error in it was this for the WD gauges only? edit ah it was only for F
Well they work fine for me \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 11:56:57 AM
The error was in all the versions, but it was only relevant if you use degrees Farenheit as your temperature units, Celsius were fine.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 07, 2015, 11:58:50 AM
Yes I reread your post sorry
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 07, 2015, 12:08:02 PM
Thanks Jachym!  The temperature gauges work fine now.  As far as the UV reading goes I believe that there will need to be a setting for whether or not you have a UV sensor.  I added a solar radiation sensor to my Davis, but not a UV sensor.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2015, 12:18:24 PM
Hi John,

well Im glad I was able to fix the problem and sorry for that, it is always these things that you miss because I myself use deg C and I only quickly checked the F and missed this...

With regards to the UV... same thing, I dont have either of the sensors and so I did not realize that they dont come together. Next update will include a parameter to set this.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 07, 2015, 11:09:40 PM
Global Snow/Ice
A new plugin is now available, which shows current snow/ice cover in the world.

This plugin about snow does not use your station data, but rather shows data from observations and satellites around the world.

Currently four pages are available for various regions:

- world - this one shows several maps of current global snow and ice cover
- U.S. - this page shows several maps for the United States and also regional maps, with the possibility to switch and set default
- Canada - several maps of Canada, both national and regional
- Europe - maps of snow cover and precipitation for Europe

Installation is very easy - again, just download, unzip and upload + add link to menu. There is just one optional thing, which is setting the default region for U.S. If you want some particular region to be shown as default (otherwise it will show national and let the user to choose themselves), then open us.php and at the very top find the line which tells you what are the possible regions that can be chosen.

Demo: http://www.meteotemplate.com/template/plugins/globalSnow/index.php (http://www.meteotemplate.com/template/plugins/globalSnow/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=271 (http://meteotemplate.com/blog/?p=271)
Hi Jachym,
Any idea why my globalSnow is not showing anything from the Canadian map http://www.komokaweather.com/j-template/plugins/globalSnow/canada.php

I have re-downlaoded but that is the same - download, unzip, upload.  I see other sites including your demo does show canada.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2015, 09:22:23 AM
I really dont know Paul, I checked the code and there are no "<?" this time :D

But I tried something and lets see if that helps:
Try replacing the code for the canada.php with this and see if it helps:

Code: [Select]
<?php

############################################################################

# Meteotemplate
http://www.meteotemplate.com
Free website template for weather enthusiasts
Author: Jachym
#           Brno, Czech Republic
First release: 2015
#
############################################################################
#
# Global snow
#
A plugin showing current snow and ice around the world.
#
############################################################################
# Version and change log
#
v1.0  2015-10-30 Initial release
#
############################################################################

include("../../config.php");
include($baseURL."css/design.php");
include($baseURL."header.php");

if(file_exists("lang/".$lang.".php")){
include("lang/".$lang.".php");
}
include("lang/gb.php");

// Western Arctic
$url curl_get_contents("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
$westernArctic "http://ice-glaces.ec.gc.ca".$matches[1].".gif";

// Eastern Arctic
$url curl_get_contents("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1EA&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
$easternArctic "http://ice-glaces.ec.gc.ca".$matches[1].".gif";

// Hudson Bay
$url curl_get_contents("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1HB&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
$hudsonBay "http://ice-glaces.ec.gc.ca".$matches[1].".gif";

// Composite
$url curl_get_contents("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=MODISCOM-F&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).jpg/',$url,$matches);
$composite "http://ice-glaces.ec.gc.ca".$matches[1].".jpg";


function curl_get_contents($url){
$ch curl_init();
curl_setopt($chCURLOPT_HEADER0);
curl_setopt($chCURLOPT_RETURNTRANSFER1);
curl_setopt($chCURLOPT_URL$url);
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0");
$data curl_exec($ch);
curl_close($ch);
return $data;
}
?>

<!DOCTYPE html>
<html>
<head>
<title>Snow - Canada</title>
<?php metaHeader()?>
<style>
#wrapper, #wrapper2{
position: relative;
margin: 0 auto;
width: 100%;
text-align: center;
height: 500px;
}
.overlay, .overlay2{
position: absolute;
top: 0px;
left: 0px;
right: 0px;
margin: auto;
height: 500px;
}
.heading_bar{
background: #<?php echo $color_schemes[$design2]['900']?>;
color: #<?php echo $color_schemes[$design2]['font900']?>;
}
.content{
background: #<?php echo $color_schemes[$design2]['200']?>;
color: #<?php echo $color_schemes[$design2]['font200']?>;
}
</style>
</head>
<body>
<div id="main_top">
<?php bodyHeader()?>
<?php include($baseURL."menu.php")?>
</div>
<div id="main" style="text-align:center">
<div style="width:98%;margin:0 auto">
<img src="<?php echo $pageURL.$path?>imgs/flags/big/ca.png" style="width:100px" alt="">
<br>
<p class="heading_bar"><?php echo lang('Ice in water','c')?></p>
<div class="content">
<img src="http://ice.ec.gc.ca/Ice_Can/CMMBCTCA.gif" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Western Arctic','c')?></p>
<div class="content">
<img src="<?php echo $westernArctic?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Eastern Arctic','c')?></p>
<div class="content">
<img src="<?php echo $easternArctic?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Hudson Bay','c')?></p>
<div class="content">
<img src="<?php echo $hudsonBay?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Composite','c')?></p>
<div class="content">
<img src="<?php echo $composite?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<br>
<?php echo lang('Data source','c')?>: Environment Canada
</div>
</div>
<?php include($baseURL."footer.php")?>
<script>
$(".content").hide();
$(".heading_bar").click(function(){
$(this).next(".content").slideToggle(800);
});
</script>
</body>
</html>
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 08, 2015, 12:13:31 PM
Thanks Jachym,
Replacing canada.php gives
Quote
Fatal error:  Cannot redeclare curl_get_contents() (previously declared in /home/content/96/5379896/html/j-template/plugins/globalSnow/canada.php:95) in /home/content/96/5379896/html/j-template/header.php on line 116

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2015, 12:54:11 PM
OK, then try this:

Code: [Select]
<?php

############################################################################

# Meteotemplate
http://www.meteotemplate.com
Free website template for weather enthusiasts
Author: Jachym
#           Brno, Czech Republic
First release: 2015
#
############################################################################
#
# Global snow
#
A plugin showing current snow and ice around the world.
#
############################################################################
# Version and change log
#
v1.0  2015-10-30 Initial release
#
############################################################################

include("../../config.php");
include($baseURL."css/design.php");
include($baseURL."header.php");

if(file_exists("lang/".$lang.".php")){
include("lang/".$lang.".php");
}
include("lang/gb.php");

// Western Arctic
$url curl_get_contents2("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
$westernArctic "http://ice-glaces.ec.gc.ca".$matches[1].".gif";

// Eastern Arctic
$url curl_get_contents2("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1EA&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
$easternArctic "http://ice-glaces.ec.gc.ca".$matches[1].".gif";

// Hudson Bay
$url curl_get_contents2("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1HB&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
$hudsonBay "http://ice-glaces.ec.gc.ca".$matches[1].".gif";

// Composite
$url curl_get_contents2("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=MODISCOM-F&wrap=1&lang=en");
$output str_replace(array("\r\n""\r"), "\n"$url);
$lines explode("\n"$output);
$new_lines = array();

foreach ($lines as $i => $line) {
if(!empty($line))
$new_lines[] = trim($line);
}
$url implode($new_lines);

preg_match('/<div class="col-xs-12"><img src="(.*?).jpg/',$url,$matches);
$composite "http://ice-glaces.ec.gc.ca".$matches[1].".jpg";


function curl_get_contents2($url){
$ch curl_init();
curl_setopt($chCURLOPT_HEADER0);
curl_setopt($chCURLOPT_RETURNTRANSFER1);
curl_setopt($chCURLOPT_URL$url);
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0");
$data curl_exec($ch);
curl_close($ch);
return $data;
}
?>

<!DOCTYPE html>
<html>
<head>
<title>Snow - Canada</title>
<?php metaHeader()?>
<style>
#wrapper, #wrapper2{
position: relative;
margin: 0 auto;
width: 100%;
text-align: center;
height: 500px;
}
.overlay, .overlay2{
position: absolute;
top: 0px;
left: 0px;
right: 0px;
margin: auto;
height: 500px;
}
.heading_bar{
background: #<?php echo $color_schemes[$design2]['900']?>;
color: #<?php echo $color_schemes[$design2]['font900']?>;
}
.content{
background: #<?php echo $color_schemes[$design2]['200']?>;
color: #<?php echo $color_schemes[$design2]['font200']?>;
}
</style>
</head>
<body>
<div id="main_top">
<?php bodyHeader()?>
<?php include($baseURL."menu.php")?>
</div>
<div id="main" style="text-align:center">
<div style="width:98%;margin:0 auto">
<img src="<?php echo $pageURL.$path?>imgs/flags/big/ca.png" style="width:100px" alt="">
<br>
<p class="heading_bar"><?php echo lang('Ice in water','c')?></p>
<div class="content">
<img src="http://ice.ec.gc.ca/Ice_Can/CMMBCTCA.gif" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Western Arctic','c')?></p>
<div class="content">
<img src="<?php echo $westernArctic?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Eastern Arctic','c')?></p>
<div class="content">
<img src="<?php echo $easternArctic?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Hudson Bay','c')?></p>
<div class="content">
<img src="<?php echo $hudsonBay?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<p class="heading_bar"><?php echo lang('Composite','c')?></p>
<div class="content">
<img src="<?php echo $composite?>" style="width:75%;display:block;margin:0 auto" alt="">
</div>
<br>
<?php echo lang('Data source','c')?>: Environment Canada
</div>
</div>
<?php include($baseURL."footer.php")?>
<script>
$(".content").hide();
$(".heading_bar").click(function(){
$(this).next(".content").slideToggle(800);
});
</script>
</body>
</html>
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 08, 2015, 03:15:06 PM
Hi Jachym, and sorry for the delay - yard work needs attention before the snow flies...  This latest canada.php seems to behave the same as the original www.komokaweather.com/j-template/plugins/globalSnow/canada.php (http://www.komokaweather.com/j-template/plugins/globalSnow/canada.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2015, 03:45:01 PM
ok, I will look at it closely and see if there is anything I could do, the script as such works, it must be something with your server
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2015, 07:14:37 PM
Paul, I just tried some things in your script and I know what the problem is.

For some reason - and unfortunately I was not able to figure out why - your server is rejected access to http://ice-glaces.ec.gc.ca, which is where the Canadian snow images come from. All the other webpages I have seen so far have no problems with it and the same function works on other pages on your site, so even PHP setting must be correct. It is just this particular URL, which for some reason blocks access from your domain. It does not even give any response or details about the error - simply no response...

I will try to see what could cause this, but right now, it is still not working :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2015, 07:40:05 PM
I tried everything... no luck... it simply rejects your server immediately... I tried several examples and solutions from stackoverflow, but even that did not help.

There is one last option. I will try to create an alternative script for you so that you can use this and see if that is working. But that is likely to take some time as I will have to change the code.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 08, 2015, 08:08:56 PM
Thanks Jachym,
I wish there was something I could...  Do you know if I am the only globalSnow user who is with GoDaddy?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2015, 08:10:15 AM
Hi Paul,

your site is now working

BUT!!!!

Make sure you do not update the plugin if I release an update in the future. If in the future I release an update of this plugin, first contact me and I will have to create a different version for you. This is because you are not using the original script and have a modified one for Canada.

Just FYI, this is what I did:
Since for some reason, your server is refused access to the site from which we need to get the images, I made a little workaround, which is - you are actually not getting the images from the original source, but rather loading them from the meteotemplate.com demo. In other words, the script works fine for the demo and so that demo loads the images and I also made some changes on my server so that the demo saves the images for your server to download. I know this may sound complicated, but the important thing is, given you do not change the script (if I update it in the future, first contact me and I will again make the necessary changes - it is however only related to the canada.php page, the rest of the plugin is fine to update) and given I do not make any changes on my server or change the URL of the demo (which if I will do, I will again make changes in your script to make it work), it should be working, though it is a bit slow.

http://www.komokaweather.com/j-template/plugins/globalSnow/canada.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 09, 2015, 11:30:47 AM
Thanks again Jachym, you continue to amaze me.  Should I be calling GoDaddy on this?  If I undersrand it is this
Quote
// Western Arctic
 $url = file_get_contents("http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en (http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en)");
 $output = str_replace(array("\r\n", "\r"), "\n", $url);
 $lines = explode("\n", $output);
 $new_lines = array();
 foreach ($lines as $i => $line) {
  if(!empty($line))
   $new_lines[] = trim($line);
 }
 $url = implode($new_lines);
 
 preg_match('/<div class="col-xs-12"><img src="(.*?).gif/',$url,$matches);
 $westernArctic = "..gif; ']http://ice-glaces.ec.gc.ca".$matches[1].".gif";   (http://www.wxforum.net/'http://ice-glaces.ec.gc.ca.$matches[1)
that is not working through GoDaddy?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2015, 12:06:48 PM
well you can try, basically when you try to access that site using the file_get_contents or using CURL, it gives no response, despite the fact on other servers it works ok. The server setting on your side is also ok, because now when you are downloading it from meteotemplate.com, it works and it works on other pages of the template too. It is a problem with just this particular domain.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 09, 2015, 07:49:36 PM
Hi Jachym,
I had a long conversation with GoDaddy and initially they said that everything was ok from their end.  I asked to be referred to expert support and they also said that everything looked ok from their end but he was really good to explain things to me.  He suggested that error log be turned on and this showed
Quote
[Mon Nov 09 15:46:57 2015] [5379896] [fcgid:warn] [client 99.249.226.93:56246] mod_fcgid: read data timeout in 120 seconds, referer http://www.komokaweather.com/j-template/plugins/globalSnow/index.php (http://www.komokaweather.com/j-template/plugins/globalSnow/index.php)
[Mon Nov 09 15:46:57 2015] [5379896] [core:error] [client 99.249.226.93:56246] End of script output before headers: canada.php, referer http://www.komokaweather.com/j-template/plugins/globalSnow/index.php (http://www.komokaweather.com/j-template/plugins/globalSnow/index.php)
[Mon Nov 09 15:58:11 2015] [5379896] [fcgid:warn] [client 99.249.226.93:56809] mod_fcgid: read data timeout in 120 seconds
[Mon Nov 09 15:58:11 2015] [5379896] [core:error] [client 99.249.226.93:56809] End of script output before headers: canada.php
[Mon Nov 09 16:02:18 2015] [5379896] [fcgid:warn] [client 99.249.226.93:56991] mod_fcgid: read data timeout in 120 seconds
[Mon Nov 09 16:02:18 2015] [5379896] [core:error] [client 99.249.226.93:56991] End of script output before headers: canada.php
With the error log showing timeout in 120 sec he suggested to change the php5.ini to increase the timeout to 300.
It has now been more than an hour and this 300 sec timeout has not yet changed.
 
I have checked the other Meteotemplate users listed on Jachym's Blog and those that have the globalSnow all seem to worm ok.  Anyone of these using GoDaddy for their hosting?
 
He also said that I might consider to upgrade to their new next generation c-panel hosting but couldn't confirm if that would correct the problem.
Anyone have any thoughts of moving to the new c-panel hosting?  It seems like quite a bit of work to download all remote files, redo all the hosting settings, including MySQL, then re-upload, etc.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2015, 08:21:55 PM
I will answer to you in more detail tomorrow, I gotta go now, but do not make any changes for now.
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on November 10, 2015, 08:59:42 AM
@PaulMy
To eliminate blocks from your webserver to an external site, I use a small PHP script.

It will use CURL at your webserver to load some data AND at the same moment execute the url in an iframe in your browser.

If the site is down neither the iframe nor the retrieved info should be there.

If the info shows in the iframe but not as data on the server, the error codes displayed may give a clue.

You can set the timeout value at line 20 in the script.

At my home and webserver de data was returned from EC within 10 seconds.

Wim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2015, 09:13:25 AM
Thanks Wim,

what surprised me is that I tried the CURL instead of file_get_contents and I have also specified the browser to mimick a normal user - still nothing. And on all other sites it load absolutely normally.
For now, the only solution I was able to come up with was that I cache the images on my server and Paul loads them from there - and his server setting is also fine, all other page work with either Curl or file_get_contents
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on November 10, 2015, 09:31:43 AM
Thanks Wim,

what surprised me is that I tried the CURL instead of file_get_contents and I have also specified the browser to mimick a normal user - still nothing. And on all other sites it load absolutely normally.
For now, the only solution I was able to come up with was that I cache the images on my server and Paul loads them from there - and his server setting is also fine, all other page work with either Curl or file_get_contents
I myself got a VPS webserver last year, including my own IP-address.  All scripts worked as usual, but  after a few days I found that the USNO script, which runs 1 /day to get moon-information, failed. Took some time to find USNO has black-listed some IP-ranges. And  they will not remove the IP form the black-list.  My hosting company was not willing to give a new ip-address without charge either. Same as you did for PaulMy,  I now use another website to retrieve the information for me.

And this has happened multiple times with users from my template, so it becomes a "standard solution" in these cases.  I always use the test-url script, adapting the url to the situation at hand,  to see what can be done.  Altervista as an example has by default blocked most external URL's. But with this script, the user sees the error message (in Italian) and the message what to do.
Quote
Host di destinazione non consentito, sblocca la connessione nel pannello di AlterVista (Risorse > Impostazioni PHP)
Other ones such as hosting2go have a whitelist and need extra code before the URL's which are not on the whitelist.

So with your growing user-base you can use this script in the future also,

Wim
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2015, 09:57:11 AM
Hi Wim and Jachym,
I have downloaded the test script http://www.komokaweather.com/j-template/plugins/globalSnow/test_url_ca.php (http://www.komokaweather.com/j-template/plugins/globalSnow/test_url_ca.php) and it gives a timeout error.  I have tried it at 60 sec and 20, and also in 3 different browsers all with the same "Time out" error.
 
I believe you are both aware I can visit http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en (http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en) and the other URL links included in the canada.php script in normal browsing but I believe the script is trying to retrieve the image only and that is failing, is that correct?
 
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2015, 10:04:44 AM
What seems to me absolutely absurd is that we are talking about the Canadian plugin - and everyone is able to access Environment Canada except for Paul - i.e. someone with a Canadian IP....

I know that sometimes, for example some US websites block European and Asian IPs, but why would Canada block Canada.... which is also why I made this customized script and configured my server to make it work, because I can imagine this is what interests Paul the most.

Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on November 10, 2015, 10:12:12 AM
Hi Wim and Jachym,
I have downloaded the test script http://www.komokaweather.com/j-template/plugins/globalSnow/test_url_ca.php (http://www.komokaweather.com/j-template/plugins/globalSnow/test_url_ca.php) and it gives a timeout error.  I have tried it at 60 sec and 20, and also in 3 different browsers all with the same "Time out" error.
 
I believe you are both aware I can visit http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en (http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en) and the other URL links included in the canada.php script in normal browsing but I believe the script is trying to retrieve the image only and that is failing, is that correct?
 
Paul
The  test-script ONLY tries to access the page. It doens not do anything with the output.   So your website is restricted by either your webhost OR Environement Canada to access that page.

1. Could you copy the script to the root of your site to check htaccess restrictions?  => www.komokaweather.com/test_url_ca.php
2. Do you have other websites at the same hosting comapany. If so, copy it to the root of the other sites also. => othersite.ca/test_url_ca.php

A time-out occurs normally when the URL you are calling has your IP adress black-listed.

So you could contact EC with the url of the test-program and asked them "Why is  my webserver not allowed to access your site?"
They can check the script themselves when you put it in the root, with  www.komokaweather.com/test_url_ca.php?sce=view

But before that, ask your hosting company to do a traceroute if there is something in their servers to restrict access also.

Wim


Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2015, 10:15:15 AM
Hi Jachym,
I don't think this has any impact but thought I would share:
Yesterday GoDady support suggested I turn on error log which I did,  There are not many errors reported so far - the subject Canada.php time out and a couple of others, but one in particular
Quote
[Mon Nov 09 22:16:38 2015] [5379896] [fcgid:warn] (32)Broken pipe: [client 178.137.91.140:53808] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer http://www.rospromtest.ru/questions.php (http://www.rospromtest.ru/questions.php)
[Mon Nov 09 22:16:57 2015] [5379896] [fcgid:warn] (110)Connection timed out: [client 178.137.91.140:54116] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer http://www.rospromtest.ru/questions.php (http://www.rospromtest.ru/questions.php)
Should I be concerned about this and refere location?
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2015, 10:17:04 AM
Thanks Wim, and I will try your suggestions
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2015, 10:57:18 AM
Hi Jachym,
I don't think this has any impact but thought I would share:
Yesterday GoDady support suggested I turn on error log which I did,  There are not many errors reported so far - the subject Canada.php time out and a couple of others, but one in particular
Quote
[Mon Nov 09 22:16:38 2015] [5379896] [fcgid:warn] (32)Broken pipe: [client 178.137.91.140:53808] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer http://www.rospromtest.ru/questions.php (http://www.rospromtest.ru/questions.php)
[Mon Nov 09 22:16:57 2015] [5379896] [fcgid:warn] (110)Connection timed out: [client 178.137.91.140:54116] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer http://www.rospromtest.ru/questions.php (http://www.rospromtest.ru/questions.php)
Should I be concerned about this and refere location?
 
Thanks,
Paul

To be quite honest I dont know, I dont know how this is related to the template, I have never seen this Russian URL before and I can assure you that no page of the template uses any data from it.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2015, 11:13:49 AM
Hi Jachym, and sorry, I was not suggesting it was anything with Meteotemplate, just that as I was checking the error log to try to determine the canada.php time out issue that ru url showed up on the log as well, and just wanted to pass on for information or guidance.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: AWL on November 10, 2015, 12:19:36 PM
Hi Jachym, and sorry, I was not suggesting it was anything with Meteotemplate, just that as I was checking the error log to try to determine the canada.php time out issue that ru url showed up on the log as well, and just wanted to pass on for information or guidance.
 
Paul

Doing a search on "rospromtest" comes back as a spammer. Might want to block as a referrer in your htaccess. Nothing to do with the template.

-Doug
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2015, 01:41:00 PM
Thanks Doug,
I have not yet put any blocked addresses in my .htaccess. 
Is this what I would add?
Quote
order allow,deny
 deny from 178.137.91.140
 deny from 178.137.91
 deny from http://www.rospromtest.ru (http://www.rospromtest.ru)
allow from all

Paul
Title: Re: Meteotemplate - new free website template
Post by: AWL on November 10, 2015, 01:51:08 PM
Thanks Doug,
I have not yet put any blocked addresses in my .htaccess. 
Is this what I would add?
Quote
order allow,deny
 deny from 178.137.91.140
 deny from 178.137.91
 deny from http://www.rospromtest.ru (http://www.rospromtest.ru)
allow from all

Paul

Here is a link that explains it better than I can.

http://www.javascriptkit.com/howto/htaccess14.shtml (http://www.javascriptkit.com/howto/htaccess14.shtml)

Doug
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 10, 2015, 02:34:35 PM
Jachym

Can I suggest a new project for you?

From the current weather conditions, upload those to Facebook, and if it's an extreme weather condition to do it automatically, my paypal account will suddenly be very active

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2015, 02:36:37 PM
Thanks again Doug.
 
Now an update re the Canada.php script not working:  nothing resolved yet and GoDaddy says, after doing the trace route which showed some IP addresses time outs, it is not their IP addresses so no issue from their end and suggest it might by my ISP that is blocking it. 
 
I have called my ISP and their trace route shows no time outs and suggest to call GoDaddy back as the restriction on access would be from web hosting. 
 
Before I call GoDaddy for the fourth time I have contacted Environment Canada, as Wim suggested, to see if they would know of any reasons why the Canada.php script or the test_url_ca.php won't work from my site. (I have placed the test script in the root, and also in a couple of other domains and they all time out)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2015, 03:54:25 PM
Thanks again Doug.
 
Now an update re the Canada.php script not working:  nothing resolved yet and GoDaddy says, after doing the trace route which showed some IP addresses time outs, it is not their IP addresses so no issue from their end and suggest it might by my ISP that is blocking it. 
 
I have called my ISP and their trace route shows no time outs and suggest to call GoDaddy back as the restriction on access would be from web hosting. 
 
Before I call GoDaddy for the fourth time I have contacted Environment Canada, as Wim suggested, to see if they would know of any reasons why the Canada.php script or the test_url_ca.php won't work from my site. (I have placed the test script in the root, and also in a couple of other domains and they all time out)
 
Paul

Interesting... I am really curious who and why is responsible for this  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 10, 2015, 08:51:52 PM
Hi Jachym,

I just installed the live gauges (very cool BTW). I have one issue with the sunrise/sunset.  It is in Epoch time???? I'm not sure, plus my realtime.txt file does not have the sunrise/sunset info. The sunrise/sunset info is in the CUtags.php file. I checked.

Page is here (http://www.sacrey.info/meteotemplate/plugins/liveGaugesCumulus/index2.php).

Thanks,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2015, 06:12:30 AM
Hi Jachym,

I just installed the live gauges (very cool BTW). I have one issue with the sunrise/sunset.  It is in Epoch time???? I'm not sure, plus my realtime.txt file does not have the sunrise/sunset info. The sunrise/sunset info is in the CUtags.php file. I checked.

Page is here (http://www.sacrey.info/meteotemplate/plugins/liveGaugesCumulus/index2.php).

Thanks,

John

Hi,

I saw your post yesterday already, but I was not able to quickly find the issue so I am asnwering now. I was quite surprised when I saw this, because as you can see in the demo and on other websites, the exact same script produces normal time and the PHP generated output should be the same on all servers. Your time is in the UNIX format instead of HH:mm.
The times are not taken from any text files, these are actually calculated by the template, it is the same function that is also used in the "Astronomy" pages - sunset, sunrise etc. And to my surprise, those worked fine on your page as well, so I was puzzled by the fact these scripts work there and for some reason they dont work in the live gauges (despite the fact they work elsewhere). However, today I looked at the code more closely and I especially looked more closely at your site and I think I finally found the problem. The problem is you are using outdated version of the template and the compatibility of this plugin is obviously slightly limited - most stuff works, but the time conversion is one of the things that only work correctly in this plugin if you are using newer version of the template - i.e. version 2.0.
I therefore highly suggest you update, it is not that difficult. Version 2.0 brought many bug fixes which you might not even have noticed, it is also much more secure, the 1.x versions are quite prone to SQL injections and also all the sites were optimized so they load faster and important is also the fact that as of 2.0 all sites are in HTML 5 and validated by the W3 standard (pages in v. 1.x often contained several hundreds of errors, which could cause problems in various browsers etc.)
Upgrade is not difficult and in the future, new versions will build up on 2.0. However, the shift from 1.x to 2.0 was quite significant in terms of the code structure and also introduced new structure in the header code, footer code etc. which gave me much better potential for future development of plugins and so it is also likely that more and more plugins will stop or will not work at all right from the beginning. I can also assure you that future updates from 2.0 to new versions will be easier, the problem was that 1.x were still built on the original concept, which I found was impossible to continue.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2015, 06:15:33 AM
Jachym

Can I suggest a new project for you?

From the current weather conditions, upload those to Facebook, and if it's an extreme weather condition to do it automatically, my paypal account will suddenly be very active

PM
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 11, 2015, 07:50:22 AM
Hi Jachym,

Updated to Watermelon and I have an error on the index page at the bottom here (http://www.sacrey.info/meteotemplate/index.php).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2015, 08:15:37 AM
Hmmm it seems like either some files are missing or you have added some customizations.

Also your station seems to be offline, which could for example be due to the fact you replaced the original update scripts with the correct passwords etc. I will see if I can find which line is causing the language error, but see if you can spot which files you replaced and could be problematic, it is hard to tell from my perspective because I dont know what exactly you did.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2015, 08:24:21 AM
It seems like you have replaced some of your settings with the default values, and there seems to be lot of errors now, I suggest you revert to your original version (I hope you made a backup as I suggested in the update instructions) and then go step by step replacing the necessary files and once you get this error or your graphs stop working, station stops sending data, you will know which file is causing this and then either see if you can find why, if not, let me know here and I will try to help you.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 11, 2015, 08:53:55 AM
Hi Jachym,

Ok. Got it back to 1.2. At some point in the future I will do a full install of 2.0 from scratch. Will have to figure out the new menu setup to incorporate all of the pages I have.

Thanks for the assist,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2015, 09:01:12 AM
I see you have lot of customizations in the menu etc., so the update process will take slightly longer, Im happy to assist you with it anytime in the future should you want - just email me.

With regards to the live gauges, just do a temporary solution like this:

open whatever file you want to use, in your case I think you were using the index2.php version:

and find the lines with the $sunrise and $sunset:

it should be lines 355 and 363

and do the following changes

replace

Code: [Select]
echo $sunRise;
with

Code: [Select]
echo date("H:i",$sunRise);
and likewise:

replace

Code: [Select]
echo $sunSet;
with

Code: [Select]
echo date("H:i",$sunSet);
That should solve the compatibility issue.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 11, 2015, 09:15:33 AM
Thank you very much for the fix on the Sunrise/Sunset issue.  Have that resolved.

Thank you again,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2015, 09:44:32 AM
Looks good :-) Just increase the upper limit for scale for the annual rain gauge, your place seems to be quite wet this year :D
Title: New plugin - Country Climate
Post by: Jáchym on November 12, 2015, 05:50:30 PM
COUNTRY CLIMATE

A new plugin is now available, which I have been working on for quite some time and which shows you various interesting trends and data for climate grouped by countries.

The plugin uses lot of aggregated data and using graphs, tables and visualizations you can easily look at for example temperature trends in the last century, what the wettest decade was etc. All the data is based on the period between 1900 and 2012. It is actually quite interesting to see for example how the temperature range changed over the century for particular months (easily seen using the heatmaps), what the trends were, what were the maximum/minimum temperatures, what are the averages etc etc. There is definitely a lot of info and I hope you will find it interesting. I also optimized the script so despite the fact it contains tens of interactive tables and graphs, it still loads quite fast.

All the calculations require six additional mySQL tables which you must create. But do not worry, there is a script which does all this automatically. Once you have all your tables created it should work without any further setting up required.

Features:

- climate data for over 200 countries
- temperature, precipitation, cloudiness and potential evapotranspiration trends, values etc. grouped by years, decades and overall trends
- can easily be translated, right now an English and French (thanks Jean) versions are available

Install instructions are provided in the corresponding blog post.

DEMO:  http://www.meteotemplate.com/template/plugins/countryClimate/index.php (http://www.meteotemplate.com/template/plugins/countryClimate/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=285 (http://meteotemplate.com/blog/?p=285)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 12, 2015, 07:47:31 PM
I've got it working http://www.komokaweather.com/j-template/plugins/countryClimate/index.php (http://www.komokaweather.com/j-template/plugins/countryClimate/index.php)
 
WOW, a lot of graphs and tables!  Now to understand where in Canada this data comes from – as you know Canada is quite a big place and a lot of weather differences from Halifax to the Yukon and from Victoria Island to Baffin Island…
 
Another great job Jachym, and will enjoy perusing the data.
Paul
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 12, 2015, 10:23:36 PM
Jachym,

  I'm having a problem with the Long-Term Heat maps (except the precip) not showing the data.  In some cases the y-axis is also showing numbers instead of months.

http://www.harpersferry-weather.com/meteotemplate/plugins/countryClimate

John
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 13, 2015, 04:35:26 AM
Good day, my question is, is it possible to print the data of the page "Year Normals" without having to do a screen print.
Thank you
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 13, 2015, 06:58:23 AM

Good day, my question is, is it possible to print the data of the page "Year Normals" without having to do a screen print.
Thank you

3 bars near the header

Click and choose the export type
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2015, 07:00:02 AM
Jachym,

  I'm having a problem with the Long-Term Heat maps (except the precip) not showing the data.  In some cases the y-axis is also showing numbers instead of months.

http://www.harpersferry-weather.com/meteotemplate/plugins/countryClimate

John

Hi,
I just checked your site and it is really weird, for some reason the script only passes about half of the data to the heatmaps. I compared it with this guy:
http://www.nyupstateweather.com/meteotemplate/plugins/countryClimate/index.php
same script, same units, same country.....

the only thing I can think of is that you have a very low limit set for the memory allocated to PHP, in which case there would not be enough "space" to save all the data into the array and so only part of the results would be passed to the graph, which causes the error.

Can you check your memory allocated to PHP?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2015, 07:01:06 AM
Good day, my question is, is it possible to print the data of the page "Year Normals" without having to do a screen print.
Thank you

Just as Simon pointed out, the graph can be exported as an image and if you want the whole site, then there are websites, where you can create a screenshot of just the website content, also there are plugins for Chrome and FF to do this.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 13, 2015, 07:30:24 AM
Hi,
I just checked your site and it is really weird, for some reason the script only passes about half of the data to the heatmaps. I compared it with this guy:
http://www.nyupstateweather.com/meteotemplate/plugins/countryClimate/index.php
same script, same units, same country.....

the only thing I can think of is that you have a very low limit set for the memory allocated to PHP, in which case there would not be enough "space" to save all the data into the array and so only part of the results would be passed to the graph, which causes the error.

Can you check your memory allocated to PHP?

Memory allocation is 256M  (http://www.harpersferry-weather.com/phpinfo.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2015, 07:58:51 AM
Hi,
I just checked your site and it is really weird, for some reason the script only passes about half of the data to the heatmaps. I compared it with this guy:
http://www.nyupstateweather.com/meteotemplate/plugins/countryClimate/index.php
same script, same units, same country.....

the only thing I can think of is that you have a very low limit set for the memory allocated to PHP, in which case there would not be enough "space" to save all the data into the array and so only part of the results would be passed to the graph, which causes the error.

Can you check your memory allocated to PHP?

Memory allocation is 256M  (http://www.harpersferry-weather.com/phpinfo.php)

That is even more than I have.... in that case what I suggest is try deleting all the 6 tables created and re-create them, maybe there was some error during the transfer of data. If that doesnt help let me know and I will make some changes in the script to try to see what is going on.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 13, 2015, 08:12:38 AM

That is even more than I have.... in that case what I suggest is try deleting all the 6 tables created and re-create them, maybe there was some error during the transfer of data. If that doesnt help let me know and I will make some changes in the script to try to see what is going on.

  Dropping and re-creating the tables solved the problem.  :grin:  Thanks Jachym

John
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 14, 2015, 03:07:50 PM
Hi Jachym,

Deleted everything this morning and uploaded the complete version of 2.0. On my index (http://www.sacrey.info/meteotemplate/index.php#) page, I have some PHP errors on the bottom of the page.  I modified the index page with the WXSim forecast on the right side and put my other info I had in the center. I'm not sure where the issue is.  In the config file, I have all of the Customization settings set to "true".



John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 14, 2015, 05:47:04 PM
Hi,

I think it could be related to language issue, try replacing the gb.php in your lang folder with the most recent version.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 14, 2015, 05:55:37 PM
Hi Jachym,

I deleted the gb.php file and reuploaded the one that came with the 2.0 download, no change.  I think it has to do with the way the PHP is written for the WxSIM script I got from Tom of Sherman, CT Weather (http://www.shermanctweather.org/meteo1/).  Here is the script he sent me:


            <td style="width:30%;height:100%">
               <div style="position:relative;width:100%;height:100%">
                  <div style="position: absolute;top:0;left:0;width:100%;height:100%">
                     <table class="table" id="allDaysForecast" style="height:100%">
                        <?php $doPrint = false; require("plaintext-parser.php"); ?>
      
      
                        <tr style="background-color:#<?php echo $color_schemes[$design2]['700']?>;vertical-align:top">
                        <?php print "<td colspan=6\" align=\"left\" valign=\"middle\">$WXSIMupdated</td>\n"; ?></tr>
                        <?php for($i=0;$i<4;$i++){
                        ?>   
                        <tr style="background-color:#<?php echo $color_schemes[$design2]['700']?>;vertical-align:top">
                        <?php print "<td style=\"text-align:center\">$WXSIMicons[$i]</td>\n"; ?>
                        <?php print "<td style=\"text-align:center;vertical-align:middle\">$WXSIMtemp[$i]</td>\n"; ?>
                        <?php print "<td style=\"text-align:center;vertical-align:middle\">$WXSIMwinddir[$i]</td>\n"; ?>
                                <?php print "<td style=\"text-align:center;vertical-align:middle\">$WXSIMwind[$i]</td>\n"; ?>
                              <td id="opener<?php echo $i?>" class="opener">
                                 <br />
                                                                  <?php echo lang('more','l')?> >>>

                              </td>
                           </tr>
<?php
                           }
                        ?>                           
                     </table>
                  </div>
                  <div style="position:absolute;top:0;left:0;width:100%">
                     <?php
                        for($i=0;$i<7;$i++){
                     ?>
                        <table id="day<?php echo $i?>Forecast" class="table forecastTable" style="height:100%">
                           <tr>
                           <tr>
                              <th colspan="2">
                                 <?php echo $WXSIMicons[$i]?>
                              </th>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/temp.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo $WXSIMtemp[$i]; ?>
                              </td>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/apparent.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo $WXSIMheatidx[$i]; ?><?php echo $WXSIMwindchill[$i]; ?>
                              </td>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/rain.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo $WXSIMprecip[$i]; ?>
                              </td>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/wind.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo $WXSIMwinddir[$i]." ".$WXSIMwind[$i]." ".$displayWindUnits ?>
                              </td>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/gust.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo $WXSIMgust[$i]." ".$displayWindUnits ?>
                              </td>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/sun.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo PPset_UV_string($WXSIMuv[$i]); ?>
                              </td>
                           </tr>
                           <tr>
                              <td>
                                 <img src="<?php echo $pageURL.$path?>icons/weather.png" class="parameterIcon" style="margin-left:10px">
                              </td>
                              <td style="text-align:right">
                                 <?php echo $WXSIMtext[$i]?>
                              </td>
                           </tr>
                           <tr>
                              <th colspan="2" id="closer<?php echo $i?>" style="text-align: left!important;font-size: 1em;" class="closer">
                                 <br>
                                 less
                              </th>
                           </tr>   
                        </table>



This one has me stumped.

Thanks for the assist,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 14, 2015, 06:49:06 PM
Hi,
is this the wxSim plugin? Im a bit confused now
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on November 14, 2015, 07:08:21 PM
Hi Jachym,

No, it isn't the WxSim plugin. This is the script that shows the WxSim forecast on the homepage.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 14, 2015, 07:16:44 PM
Hi John,

well that explains it a bit - trying to combine two things sometimes clashes and causes problems :D
Right now I probably cannot help you because the script you sent includes other php scripts, which I have not developed and dont know and the error or rather clash seems to be there. The part you sent above should be ok.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 14, 2015, 08:41:05 PM
What we can do is this:

1. Have a look at some other pages on your web, just to make sure that the error is generated by this script
2. if the above is true, then send me a copy of your index.php as well as a copy of all the files that are included/required in the PHP code so that I can see the entire code and try to find the problem - send that to me via email to make things easier - jachymcz@gmail.com.

I will look at it and try to see where the problem is by uploading it to my test server and doing some debugging.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 15, 2015, 09:42:57 AM
What we can do is this:

1. Have a look at some other pages on your web, just to make sure that the error is generated by this script
2. if the above is true, then send me a copy of your index.php as well as a copy of all the files that are included/required in the PHP code so that I can see the entire code and try to find the problem - send that to me via email to make things easier - jachymcz@gmail.com.

I will look at it and try to see where the problem is by uploading it to my test server and doing some debugging.

Thanks

Once everything is figured out I would love to get the coding for using WXSIM on the homepage.

Thanks,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 15, 2015, 10:37:05 AM
I downloaded the files and was able to find the plaintext-parser myself, and I think I found the problem....

It is something I suspected... when naming functions etc., one tries to name them logically rather than being creative, so it is not a big suprise that Ken's and Wim's variable and function names are often same :D Which of course then creates problems... I opened the plaintext-parser and immediately spotted a potential (and very likely) source of the problem.

My template uses "gb" as abbreviation for English language and the variable defining the language is called "lang". The problem is that Ken also has localization and also called the language defining variable "lang", but in this case, English is abbreviated as "en". The problem then is that this basically sets the lang parameter to "en" and then later on when the code "goes back" to my code, it is looking for "en" in the language files, which it does not find....

I am not sure what exactly would happen because again, I do not know all of the code from Saratoga, but a potential solution would be creating a copy of the "en" files for the parser and renaming them to "gb" and then set lang to "gb", or if there was a way of getting rid of the lang variable at all.

This goes back to my previous post, based on the error I immediately suspected a problem with the language function based on what the error shows, so I think that if this is solved, the site will work normally.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 18, 2015, 08:34:59 PM
Quote
Quote from: PaulMy on November 10, 2015, 02:36:37 PM (http://www.wxforum.net/index.php?topic=26825.msg269388#msg269388)<blockquote>Thanks again Doug.
 
Now an update re the Canada.php script not working:  nothing resolved yet and GoDaddy says, after doing the trace route which showed some IP addresses time outs, it is not their IP addresses so no issue from their end and suggest it might by my ISP that is blocking it. 
 
I have called my ISP and their trace route shows no time outs and suggest to call GoDaddy back as the restriction on access would be from web hosting. 
 
Before I call GoDaddy for the fourth time I have contacted Environment Canada, as Wim suggested, to see if they would know of any reasons why the Canada.php script or the test_url_ca.php won't work from my site. (I have placed the test script in the root, and also in a couple of other domains and they all time out)
 
Paul
</blockquote>
Interesting... I am really curious who and why is responsible for this  (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)

Hi Jachym,
I have now heard back from Environment Canada and they say:
Quote
[font=]Hi Paul,[/font]
 
[font=] [/font]
 
[font=]I made some changes to my perl script (getprod.pl) … I now set the Content-Length value in the generated http header, which prevents the transfer to be set as “Chunked”. [/font]
 
[font=]Can you check if the fixes the problem ?[/font]
 
[font=] [/font]
 
[font=]Thanks![/font]

For me it is now working.  Can you check to see if both the canada.modified.php and the canada.php are working - http://www.komokaweather.com/j-template/plugins/globalSnow/index.php (http://www.komokaweather.com/j-template/plugins/globalSnow/index.php) canada-modified.php is the first Canada map and canada.php is the second Canada map.
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 21, 2015, 10:16:28 AM
Quote from Wim:
Quote
So you could contact EC with the url of the test-program and asked them "Why is  my webserver not allowed to access your site?"
They can check the script themselves when you put it in the root, with  www.komokaweather.com/test_url_ca.php?sce=view (http://www.komokaweather.com/test_url_ca.php?sce=view)
I did contact Environment Canada and after a few days they did get back to me saying that they made a change, and that fixed it.  I've had further emails from EC and they have been very positive.
Quote
Hi Paul, I  made some changes to my perl script (getprod.pl) … I now set the Content-Length value in the generated http header, which prevents the transfer to be set as “Chunked”.
Can you check if it fixes the problem ?
Thanks!

and
Quote
Hi Paul,
 tried to find where you were using “getprod.pl “ on your site, but could not see  where.  you said you were using it like “http://ice-glaces.ec.gc.ca/cgi-bin/getprod.pl?prodid=IPYMMR1WA&wrap=1&lang=en”
 …
The “wrap=1” argument  is used to get the image (product) wrapped with banners,  menus, footer and all.  Use wrap=0  to get the image only. In a portal site like yours, using wrap=0 is probably more useful.
You have a very nice site .. one little comment though… for live observations (liveData.php) , it would be nice to see:
1. the time of the observation ..
2. the location (station, city, etc) on the top title (instead of just “Current Conditions”)
This is a way for a user to confirm that he is looking at valid data for the expected  location.
Cheers.

and again,
Quote
Hi Paul,
My pleasure ….
It is interesting and important to see that website developers are using our products … I had developed getprod.pl as a quick fix to a problem facing the Canadian Coast Guard … but then we made that script available to everyone… A temporary fix that became permanent!
Our goal is to improve the access to our data/products …. we should have shapefiles available in the new year, and will be developing soap web services also in the near future.
If you have any requests … our comments about our services and products,  please do not hesitate to let me know.
Bruno.

Thank you for your suggestions Wim.  And also to Jachym for his work to create this and his follow to get it to work for me.  All working fine for me now.
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2015, 10:18:11 AM
 \:D/ \:D/

Great

Sorry for not replying here I replied to your email instead
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 22, 2015, 05:35:48 AM
Hi!

I using few days the meteotemplate. Excellent! :) Thanks Jachym for many help.

I have a few observations and suggestions:

1. Primarily affected by the Davis VantagePro owners and Weather Display users.
If real time upload the solar radiation data, then values is correct because the clientraw.txt contains the solar radiation values. But if I later uploaded with WDimport, then solar radiation data  missing from MySQL database, because xxxxlg.txt logfile not contains them.  The Weather Display writing to a separated file xxxxxvantagelog.txt. A WD solar radiation data uploading program would be a solution to this problem.

2. Lots of stats is in the template.   =D&gt; However, I be wanting the following: the number of hot days, cold days, freezing days...etc in monthly/yearly stats. Possibly option of comparison: Choose month/year vs. month/year .  :idea:

Regards
Zoltán
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 23, 2015, 09:52:00 AM
Jachym

I'm starting to adapt your WU import scripts to only import data for certain time periods

As you know I use meteobridge for my data distribution.  This morning I had an internet outage which lasted 3 hours.  Meteobridge "caches" this data and sends it onwards to the weather services, so you don't lose data.  However, the Push Services on the meteobridge does not cash data, so I ended up losing those 3 hours upload to my meteo website.

So now I want to import the WU data that the meteobridge successfully uploaded.

Not sure if you have started on anything like this yet?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 23, 2015, 10:20:06 AM
Yes, you can simply do the import like if you were doing import of history data, use the WU script, select this month and select that you want to skip existing records, it will then grab data for this month and add to database where it is missing. Or an even safer solution would be exporting the data from WU to CSV and follow the instructions for CSV history import, where you would only include the data points you want.

But what surprises me is that you mentioned that MB caches data - no it does not, this is weird, MB has no logging possibility due to the limitation of the router and its memory:

from meteobridge.com:

Blacklisted Features
The characteristic of the device does also bring some limitations you should be aware of.

- Hardware provides 4 MB of flash and 32 MB RAM. This is very very limited, so don't expect large additional applications which might for example display graphs locally to be able to run on this.
- Meteobridge clients will not store gathered weather data locally. The most recent data to be transmitted to a weather network is available plus some min/max values. Beside that, no data will be stored locally.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 23, 2015, 12:32:55 PM
Jachym. It does.

According to their site

"This tab displays data currently transferred by Meteobridge to weather networks and push services. Meteobridge does spool weather data packets that cannot be uploaded for a certain time and tries to upload these later on, regarding if you have selected to go with retries in case of upload failures. However, there are just about 2000 slots for spooled weather data packets. When space is filled, the oldest ones will be dropped. When Meteobridge does a reboot or power cycle, spooled packets are lost, as Meteobridge cannot hold that information in non-volatile storage."

I have tested this. I have all "missing" data. While my internet was offline
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 23, 2015, 12:49:52 PM
Oh cool, I didnt know that, it must be some new feature, I remember when I purchased it, this was not possible, but it has been a few years back.
Title: New plugin - CO2
Post by: Jáchym on November 25, 2015, 12:27:42 PM
CO2

A new plugin is now available. This one is all about carbon dioxide (CO2). The plugin consists of several pages, which show information with regards to CO2 concentrations and emissions. This includes both current and past data, which is presented using interactive tables, graphs and also maps.

Main features:
- current CO2 concentrations (Mauna Loa, global average)
- weekly averages (current and past data since 1974)
- monthly averages (current and past data since 1958) with annual comparisons
- annual data and graphs since 1958
- comparison of current data with past data
- prehistorical levels of CO2 on Earth (determined using data from air bubbles trapped in the Antarctic or Greenland ice sheets)
- global distribution of greenhouse gas emissions by country, economic sector and gas
- interactive map (country colors or bubbles) of CO2 concentrations for world countries with a slider to move through years (annual data, cumulative data, per capita data, per GDP data)
- sortable tables and graphs of CO2 emissions grouped by country and by years (annual data, cumulative data, per capita data, per GDP data)

Install instructions and detailed description is provided in the corresponding blog post.

Looking at the actual data.....scary....

DEMO:  http://www.meteotemplate.com/template/plugins/co2/co2.php (http://www.meteotemplate.com/template/plugins/co2/co2.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=289 (http://meteotemplate.com/blog/?p=289)
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 25, 2015, 01:05:31 PM
Quote
I have a few observations and suggestions:

1. Primarily affected by the Davis VantagePro owners and Weather Display users.
If real time upload the solar radiation data, then values is correct because the clientraw.txt contains the solar radiation values. But if I later uploaded with WDimport, then solar radiation data  missing from MySQL database, because xxxxlg.txt logfile not contains them.  The Weather Display writing to a separated file xxxxxvantagelog.txt. A WD solar radiation data uploading program would be a solution to this problem.

2. Lots of stats is in the template.   =D&gt; However, I be wanting the following: the number of hot days, cold days, freezing days...etc in monthly/yearly stats. Possibly option of comparison: Choose month/year vs. month/year .  :idea:

Hi Jachym!

Any opinions?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 25, 2015, 01:08:53 PM
Hi,
I did read your post dont worry, with regards to WD, you have to ask someone who knows it better than me. And the other stuff you mentioned is something I have already considered so I will see :-)
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 25, 2015, 02:40:00 PM
Ok, cool!  :grin:  \:D/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 25, 2015, 11:44:23 PM
Hi Jachym,
Once again, a great plugin, well organized, and easy to add www.komokaweather.com/j-template/plugins/co2/co2.php (http://www.komokaweather.com/j-template/plugins/co2/co2.php).
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 28, 2015, 02:19:56 AM
Hello Jachym, I'm using Weather Display and Weatherlink to collect data from my station, and both programs give regard to data fully agree, for example on monthly averages of temperature, being 15.1 Cş of time this November, however in the script Meteotemplate average annual month of November is 16.4 Cş, I compared all the daily data and is accurate to the above programs is that you are using a different calculation Meteotemplate ??
In the month of October also a difference in value occurs.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 03:47:35 AM
Well it depends on how often you update your database,  the data in your dB might not be exactly the same as in the software,  it is likely that the sw has more data available,  check the admin section and look at the actual database records and compare those with a ones in the software.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 28, 2015, 04:52:05 AM
Sorry, I do not understand what you mean, Meteo Template is not updated daily with the data station software?
Perhaps stockings are not obtained from the sum of all daily weighted averages divided by the days of the month?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 05:36:52 AM
I don't know how you set up your updates,  the average is simply the sum of the data divided by their count.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 28, 2015, 06:12:59 AM
Jachym right, if high daily data having Meteo Template relative to average and divided by their own and not get the correct calculation.
Add the day to day November 1 to November 28 = X
where X / 28 = Average
Well this value does not match the template.
I hope I've explained myself well
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 28, 2015, 07:09:14 AM
In Station, Monthly Report, Daily Table, the data are correct.
But in Summary, Temp/Avg, the data is not correct according to the Daily Table.

You can check in:
http://www.meteo-badalona-progres.com/template/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 08:01:27 AM
Hi I am not sure about what you mean,  but the monthly report is not the average of the daily averages,  it is calculated as the average of the actual values regardless of the day
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 28, 2015, 02:35:51 PM
Hello Jachym, then the AVG column in the month, which is indicating?It is supposed Average is the average of the daily average of the month, but not see the point.
When you create this column, that's what you tell ???
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 05:54:46 PM
Hi, Im not sure I understand you, but, what I mean is:

Monthly average calculation is average of all the data for that month, but not average of daily averages.

To make this a bit more clear:
The monthly average is not the value from 1st, 2nd, 3rd.....31st / 31

It is simply all the values divided by the total number of values:
15, 15, 14, 12...... / total number

This is because sometimes for example you could have some connection problem to the database or incomplete data, so in that case for example, you could have days with less data available and for such cases it is better to take the overall sum divided by overall count, not just averaging daily averages.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 28, 2015, 06:33:33 PM
Jachym,

I have just downloaded and set up database.  But when I look at the results it seems that there is much missing.  Can you take a look please.  I'm sure I did something wrong.

http://www.jayswoodfurniture.com/meteo/index.php/

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 06:45:12 PM
Hi,
the header.php is not loaded, which also contains all the necessary scripts, including the jQuerry and CSS stylesheet. This is most likely to either wrong pageURL parameter in config.php or the "path"parameter is not correct.

Could you please post what you have for:

$path and $pageURL in config.php
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 28, 2015, 06:47:56 PM
Jachym,

$path = "/meteo/"; // path to the template folder

$pageURL = "http://www.jayswoodfurniture.com/meteo/index.php"; // your main page URL

Thanks for taking a look

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 06:51:19 PM
Jachym,

$path = "/meteo/"; // path to the template folder

$pageURL = "http://www.jayswoodfurniture.com/meteo/index.php"; // your main page URL

Thanks for taking a look

Jay

Hi,
well that is wrong :D The good news is it should probably be very easy to correct, so make the following change:

$pageURL = "http://www.jayswoodfurniture.com"; // your main page URL
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 28, 2015, 06:54:52 PM
Well that helped.  I am still getting the header error at the top of the page.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 06:57:00 PM
Next thing you need to do is get rid of the other error you get on top. This is generated by the script responsible for the interactive banner. Basically, the conditions for the banner are loaded from Yahoo Weather. The scripts try automatically detect your location, in your case this failed, so we must set this up manually, which is not a big deal, but what I need you to do is go to Yahoo Weather and find the location which you want to use for this. It should ideally be something as close to your station as possible. Then post here a link to this Yahoo website for that particular site and I will tell you what exactly to put in the header.php.

I also noticed that there is likely to be some problem with your database, it only reports temperature and humidity. Most likely because you have incorrectly set up the limits - have a look in the config.php. I suspect that for example you havent changed the limits for pressure. The default in the config is set up for the European hPa, so it only accepts values between 950 and 1050 - causing your pressure to be 0, because database contains no data (values around 30 are refused).
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 28, 2015, 06:59:00 PM
Thanks.  I will need to look at this tomorrow. I have to go somewhere now.  Thanks.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2015, 07:03:45 PM
Hi Jay,

sure, no problem. Right now you still have some errors there but the good news is that the most problematic parts are working - db is updating and files are loaded correctly. All you need to do now is go through all the settings - set the limits you want to use (they are there to prevent occasional spikes when stations "go crazy" :D). So just make sure you set the interval that fits your database units and data typical for your location. Then with regards to the banner, just let me know what the Yahoo URL is and I will then post instructions what exactly to paste in the header.php. Also all interactive graphs and Ajax calls are now not working - but that is not a problem, this is all due to the error with the banner, so once this is ok, these will also work ;)
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 29, 2015, 11:53:01 AM
Jachym Sorry to insist, but I think it is important to know that data calculated Meteotemplate interpret and to my knowledge.
The annual average page provides me in my opinion, one average temperatures for each month of the year, it is important for me to know as calculated by the program and that is different from what it calculates the WD.
Saludos cordiales
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 29, 2015, 12:07:19 PM
Jachym,

Here is the Yahoo URL that is closest to my location.

https://weather.yahoo.com/united-states/new-mexico/cliff-2381537/

Hope this is what you need and it solves the issues.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 29, 2015, 12:43:18 PM
Jachym Sorry to insist, but I think it is important to know that data calculated Meteotemplate interpret and to my knowledge.
The annual average page provides me in my opinion, one average temperatures for each month of the year, it is important for me to know as calculated by the program and that is different from what it calculates the WD.
Saludos cordiales

Hi,
I already explained to you. The script is ok, it calculates the correct average, but the problem could be that your local data is not the same as your database online (for example if there was a temporary problem with CRON, connection etc.).
And also, I said that it depends on how you calculate your average. The monthly average in the template is not average of daily averages, but rather average of all the raw data for that month, which is to prevent errors due to potential gaps in data.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 29, 2015, 12:48:05 PM
Jachym,

Here is the Yahoo URL that is closest to my location.

https://weather.yahoo.com/united-states/new-mexico/cliff-2381537/

Hope this is what you need and it solves the issues.

Thanks,

Jay

Hi Jay,

OK, go to your template root folder and open header.php.

Then, on line 62 replace whatever is there with this:

$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22cliff-2381537%2C%20us%22)&format=json";

the original should look something similar to that, but this is without the PHP params.

Then save and close.

Once your file is updated on your server, delete the headerCache.txt from the root folder on your server.

Refresh your page from the browser and the banner should now be getting info for your location.

If not, let me know.

Info about the banner (copied from the documentation):
1. Based on longitude/latitude and current time and timezone, the script detects whether there is day or night
2. Then it gets a parameter with "cloudiness" to see how much clouds there are (clear, partly cloudy, overcast etc.).
3. Then it gets information whether there is some special phenomenon - for example fog etc.
4. Now it goes to a folder where there is several backgrounds for various conditions. For example, there are several versions of "day clear", "day partly cloudy" (this one for example has some random clouds, so if you refresh, it will randomly choose a different image with "partly cloudy, there is about 5 versions for each condition).
5. If it is day, it chooses randomly one of the background for that particular weather condition.
6. If it is night it is slightly more complex. It uses a different script, which based on longitude, latitude and current date and time, finds the current moon phase. Then, there is 118 different icons of the moon depending on the illumination percentage. The script then takes one of those 118 icons, which is most similar to the current phase. And then, it checks the cloudiness again. Obviously, if it is overcast, it does nothing. If the cloudiness is small or no clouds at all, it adds the icon of the moon to the background.
7. After the background (and possibly Moon icon) is generated it checks further for the other phenomena
8. First it checks whether it is raining. If yes, then it checks how much it is raining - there are 3 different levels - light rain, rain, heavy rain. Based on this it then uses JavaScript to generate animation of water drops falling and adds that as a layer over the background. Also, at this stage it checks the wind speed and based on the wind speed it sets the angle at which the drops fall. So if it is windy, they will be falling at a sharper angle, if it is calm they will fall straight down.
9. It does the exact same thing as with the rain, but this time with snow. This time it uses different animation to create snow flakes. Again checks how much it is snowing to set the amount of flakes and their intensity and last, checks the wind speed to set the angle of flakes. And then it adds this as another layer over the background, Moon and rain layer.

Best regards from Czech Republic
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 29, 2015, 01:47:56 PM
Thank You, Jachym
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on November 29, 2015, 07:58:19 PM
Hi Jachym!

I found a bug. The error occurs when runs rain animation in the header. This issue affects the daily and monthly report. (report_daily.php and report_monthy .php)  Click on "Summary" menu the menu is rolling down, but after can not click anymore, in the main menu is too. It seems that the problem is caused by <div id=canvas6. This hangs down into the web page, because can't be clicked.

Video:
https://www.youtube.com/watch?v=WTiIjBB9y2w (https://www.youtube.com/watch?v=WTiIjBB9y2w)

Regards
Zoltán

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 29, 2015, 09:06:52 PM
Hi Jachym!

I found a bug. The error occurs when runs rain animation in the header. This issue affects the daily and monthly report. (report_daily.php and report_monthy .php)  Click on "Summary" menu the menu is rolling down, but after can not click anymore, in the main menu is too. It seems that the problem is caused by <div id=canvas6. This hangs down into the web page, because can't be clicked.

Video:
https://www.youtube.com/watch?v=WTiIjBB9y2w (https://www.youtube.com/watch?v=WTiIjBB9y2w)

Regards
Zoltán

Hi
Thanks I know about this and have already fixed it for the next version.  It is not a problem with the div but instead a clash of two scripts one for the rain and the second as part of highcharts.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 30, 2015, 01:21:56 PM

Jachym Sorry to insist, but I think it is important to know that data calculated Meteotemplate interpret and to my knowledge.
The annual average page provides me in my opinion, one average temperatures for each month of the year, it is important for me to know as calculated by the program and that is different from what it calculates the WD.
Saludos cordiales

The average, by definition is the sum of all records divided by the number of records for the period in question.

So the daily average is the average of all temperature records for the day. The annual average is the average of all temperature records for year. Likewise monthly averages.

In your example above what you are looking for is the Average temperature by month of year.  So, average for January, February and so on.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 30, 2015, 01:32:36 PM
Hi Simon,
thanks for clarification, I think what he was asking is whether the monthly average is calculated by averaging all the data (which is the case) or if it first calculates daily averages for all days in the month and then takes the average of that. He probably calculated the second option and that is why the numbers did not match exactly.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 30, 2015, 01:40:39 PM
Thank you, I know it and the sum of records divided by the number of records, but if I take the sum of daily records of November and divided by 30, which are the days in the month, gives the result that reflects program this and no one in my nagging question.

Surely Jachym uses a different method that I fail to understand.
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on November 30, 2015, 01:56:52 PM
Thank you, I know it and the sum of records divided by the number of records, but if I take the sum of daily records of November and divided by 30, which are the days in the month, gives the result that reflects program this and no one in my nagging question.

Surely Jachym uses a different method that I fail to understand.
Simplified calculation example:
Day     Avg     Values
1       2       2,2,2,2,2,2,2,2,2,2, 2,2,2,2,2,2,2,2,2,2
2       3       3,3,3,3,3

Your calculation = (Avg_day_1 + Avg_day_2) divided by 2 (=number of days in this example)
Your "result"    = 2.5 which is the average of the two averages, not the average of the period.

Jachym calculates correctly the average of this period:
total of all values in this period: 2+2+2+2+2+2+2+2+2+2+2+2+2+2+2+2+2+2+2+2+3+3+3+3+3 = 55
number of values in this period: 25

correct result = 2.2
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 30, 2015, 02:00:31 PM
According to the wmo average temperature is calculated over a day with a measurement every whole hour so 24 measurements a day divided by 24 average month , year temperatures are also calculated from the hourly observations. most software do not use these calculations sometimes the average temperature is max temp + min temp divided by 2. I use the sum per minute divided by the observations in cumulus , this value comes nearest by the method Jachym uses.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 30, 2015, 02:01:52 PM
Okay, do you please look at my template, do the calculations manually and note that the results do not match.

http://www.meteo-badalona-progres.com/template/index.php
Title: Re: Meteotemplate - new free website template
Post by: SimonB on November 30, 2015, 04:16:31 PM
According to the wmo average temperature is calculated over a day with a measurement every whole hour so 24 measurements a day divided by 24 average month , year temperatures are also calculated from the hourly observations. most software do not use these calculations sometimes the average temperature is max temp + min temp divided by 2. I use the sum per minute divided by the observations in cumulus , this value comes nearest by the method Jachym uses.

That's fine, because your number of observations is stated precisely.  The average temperature of the day is the temperature, taken on the hour.  So you have 24 observations for a day and 8760 observations for the year.  My Meteobridge updates every 5 minutes, so for Jachym's calculations is 288 records per day and 105120 records per year.

But here

Quote
Thank you, I know it and the sum of records divided by the number of records, but if I take the sum of daily records of November and divided by 30, which are the days in the month, gives the result that reflects program this and no one in my nagging question.

Surely Jachym uses a different method that I fail to understand.

Sum of daily records...  I read this as Juan is taking the average temperature of the day in the month, summing them, and then dividing by the number of days in the month.

Of course you will get different answers - you are deriving the average of an average.

Juan, take a look at the database records for the month in question, and not Jachym's summarized data for each day.  You will see his calculations are correct.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 30, 2015, 05:52:23 PM
Yes, exactly, I am not taking average of daily averages, but average of all data.

If you want to check the calculation, you would have to add all the values from that month you have in the database (assuming 5 minute intervals, that would be around 8500 values and divide by their total count).

There cannot be a mistake in the script - simply because this is not even done by PHP, but already by the built-in MySQL average function.

There are many different ways in which averages are sometimes reported, I believe the one used by my template is the most accurate and ideal, but as we know:
- WU uses Max+Min divided by 2
- sometimes, what is also used is adding T at 7, 14 + 2 x temperature at 9PM and divide that by 4
The latter method is still used and this is purely because of historical reasons. 20 yrs ago you did not have automatic weather stations and it would of course be impossible for the observers to report conditions every 10 minutes. So they did this 3 times a day at 7, 14 and 21 and to account for the night which is longer, the 9 o'clock value was counted twice. These days we have data every minute, but this method is still used so that it can be compared to the historical data and we can have a statistically equivalent long time series.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on December 01, 2015, 05:07:52 AM
Jachym thank you very much, I understand your explanation, no doubt your calculation is the more correct.
I did not know this method, thanks again.

Best regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 01, 2015, 05:30:42 AM
It is not more accurate, theoretically it should give the exact same answer in ideal situation - ideal situation being there would not be a single record in the entire month missing in the database, which is probably rather unlikely as sometimes your CRON might miss one update etc.
If it was all complete, then adding all the day values and averaging those would indeed give you the same anwers, but because you probably have a very few gaps in your data, it is better to use the overall average.

:)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on December 01, 2015, 06:09:46 AM
One reason I'm not a fan of averages. I prefer median but it's hardly ever used
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 01, 2015, 06:35:52 AM
Depends what you are calculating, median for example is great for things such as average wage... where average is very misleading because it is much more affected by outliers.
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 02, 2015, 02:19:05 PM
Hey Jachym,

Decided to have a look at your template.  Veeery nice work indeed.  I wonder this this is a configuration issue that I'm missing or just a function of the conversion from WU's imperial data to metric.  As you can see, the WeatherStation dropdown is displaying 5.3.89 for a temperature.  Also, there is a definite issue with decimal-place display.  Some values are displayed with one decimal-place in one spot in the template, but then with 3 or 4 in another spot.  Is there a place where I can specify the number of decimal-places displayed?

Cheers!

Chris
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 02, 2015, 02:23:01 PM
Oh... and the test is up at meteo.rideauwx.info

... or will be as soon as the subdomain makes it to the dns servers...  ;-)

Cheers!

Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 02, 2015, 02:32:31 PM
Hi Chris,
for temperature I tend to use 1 d.p. when talking about actual value and 2 d.p. for averages, standard dev. etc. What you have though is really weird, I wonder how your db looks like. The tableCreate script creates a temperature field with just 1 d.p. so it seems odd that your temperature is saved to 3 d.p. Check your db and make sure it is only to 1 d.p. And that menu issue is also weird, I never saw this before and it almost seems as though your temperature in the db is saved as a string, not a number. Did you use the tableCreate script to create the table?
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 02, 2015, 02:43:57 PM
Hi Chris,
for temperature I tend to use 1 d.p. when talking about actual value and 2 d.p. for averages, standard dev. etc. What you have though is really weird, I wonder how your db looks like.

I've attached a peek at the db for you.  I may have been unclear at first, but the historical data came from WU which stores in US units... soooo, when I configured Meteo, I had to say that the units are stored in US but I want the display in metric.

Quote
The tableCreate script creates a temperature field with just 1 d.p. so it seems odd that your temperature is saved to 3 d.p. Check your db and make sure it is only to 1 d.p. And that menu issue is also weird, I never saw this before and it almost seems as though your temperature in the db is saved as a string, not a number. Did you use the tableCreate script to create the table?

I did use tableCreate to create the table and WUimport to get the data.  As you can see, the data in the db is to 1 decimal-place, with the exception of the pressure which has 3 decimal-places for some reason.  I'm assuming that your conversion formulae to make the display metric are the culprits?  No clue how the 5.3.89 came up.

Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 02, 2015, 03:24:27 PM
Hi,
I just checked the scripts and yes you are right, there is a bug there, I forgot to do the rounding on the homepage. The problem is that I myself use the same database units as the ones displayed so I have to try to spot this while testing and in this case I just missed it, so it converts it and then does not do the rounding. The reason why for example pressure is to 3 d.p. is because if you use hPa it is of course useless, but if I just set pressure to default to 1 d.p. it would be a problem if the number was in inHg, because you need at least 2.d.p.

The menu number is really weird, I have no idea how that actually could be generated, the function uses the PHP floor function to get the whole number and then subtracts it to get the decimal part... though there is a bug too, which I have already fixed, but that would only manifest if the temperature was below 0, which it is not...

I will try to fix the d.p. in the upcoming version, for now, what I guess is a possible solution is use mySQL command to convert your db to metric units all at once, then make sure your db updates are already in metric units and set dataUnits in config to metric. This way it will not be converting it and you will see the right numbers.

As I said, the problematic part is that I cannot set fixed d.p. to particular parameters because:
- it depends on the units - T is always 1.d.p., but pressure, precipitation etc., those differ
- it depends on whether it is an actual value or calculated value (average, SD etc.), in which case you use one extra d.p.

And so the function that does all the conversions cannot return the same thing all the time and I have to make sure it is specified for every single occassion the conversion is done. For now you can fix your homepage by doing the following:

Go to your index.php

and then around lines 374 replace this:

Code: [Select]
<td style="text-align:center" colspan="2" class="big">
<?php echo $temperature?>
</td>

with

Code: [Select]
<td style="text-align:center" colspan="2" class="big">
<?php echo number_format($temperature,1,".","")?>
</td>
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 02, 2015, 05:49:41 PM
Hey Jachym,

I'd be grateful if there was a way to convert the db to metric and then just set my template to take the metric values from meteobridge. Only reason I'm using US units is because that's what I got from WU...the only place I had historical data. Sooo, how does one go about converting the data to metric?

Cheers!

Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 02, 2015, 05:59:57 PM
Hi,
well it is in fact quite simple using SQL commands. The best and easiest way to do this is using the phpMyAdmin if you have access to that. You then use the "UPDATE" function to change the values in the particular columns.

see http://www.w3schools.com/php/php_mysql_update.asp

So for example, lets say you want to convert all your temps from F to C

The command you would enter would be:

UPDATE alldata SET T=(T-32)/1.8, Tmax=(Tmax-32)/1.8, ......

You can put all your values into one statement. MySQL is in fact lightning fast, so converting your entire db should only take a few ms or seconds at most. Still, I highly recommend you first make a backup of your original table, just in case something goes wrong so that you can go back.
Then as soon as your data is in the new units, change the dataUnit parameters in config and make the corresponding change in MB if necessary so that the next update is already performed in the correct units (if you are not fast enough then simply delete that 1 or 2 updates that occured while you were changing it).

If you have any problems let me know, hopefully everything goes ok.
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 03, 2015, 10:03:35 AM
Hi Jachym,

You were right on both counts.  Quite simple and blazingly fast!  DB is converted to metric and Meteobridge is updating with the script set to accept metric values.  No more weird decimal values. 

I have another problem.... I can't get to the admin screens.  I'm entering the url as http://www.rideauwx.info/meteo/admin/index.php?pass=**** where **** is the password set in config.php (and used in the Meteobridge update.  I get  Incorrect Password...

Where do I look first?

Cheers!

Chris
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 03, 2015, 11:01:16 AM
A footnote... If I click on the Lock icon, I can access the admin pages with the password.  Weird.

Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 03, 2015, 11:23:59 AM
http://www.rideauwx.info/meteo/admin/index.php?password=****

 ;)
Title: New plugin - US River Heights
Post by: Jáchym on December 03, 2015, 11:41:26 AM
A new plugin is now available, which allows you to view information about US river heights.

Main features:
- river heights for all the US states and sites
- observed values
- forecasted values
- warnings

Installation:
- download the zip file
- extract the files
- upload the folder to your plugins directory
- add link to the menu

DEMO:  http://www.meteotemplate.com/template/plugins/riverHeightsUS/index.php (http://www.meteotemplate.com/template/plugins/riverHeightsUS/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=293 (http://meteotemplate.com/blog/?p=293)
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on December 03, 2015, 11:52:48 AM
http://www.rideauwx.info/meteo/admin/index.php?password=****

 ;)

 ](*,)

Thank you.... (as he puts a wet cloth on the large bruise on his forehead)

Chris
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 03, 2015, 05:46:00 PM
Hi Jachym,
I have installed the new riverHeightsUS plugin and was very easy again, with the only issue the <? short tag in stateLoader.php line 61 which I was able to find and correct.
 
Looks very good http://www.komokaweather.com/j-template/plugins/riverHeightsUS/index.php (http://www.komokaweather.com/j-template/plugins/riverHeightsUS/index.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 03, 2015, 05:50:33 PM
Thanks Paul, I will fix it :-)

With regards to the actual plugin.... it is true that the country with most users of Meteotemplate is US, but it is not the case that I would only concentrate on the US.
On the other hand, I must admit that the NWS and NOAA have by far the best system of providing data not only in terms of actual data available, but also its format. I have not seen this with any other country, which is why it is probably getting most support.

I have already done several plugins for the US and there is also another side benefit apart from just creating the actual plugin - I now know almost all the states in the US by heart :D including their two letter abbreviation :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 03, 2015, 06:25:18 PM
I guess I am fortunate to being in Canada and also being so close to that great USA and that we are south of many of their states, so much that goes on there affects us here.  However, unlike some of the other Provinces that have land borders with USA such as Manitoba which are seriously affected by river heights, we in Southern Ontario are surrounded by the Great Lakes and the only river between USA and our area is the Detroit River which connects the Great Lakes.
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 04, 2015, 05:44:55 PM
Been busy lately, but took a little time out to add some recent plugins to my site. All seem to be working well. Thanks for continuing to enhance the functionality of your template.

Global Snow Maps (http://www.fvweather.com/plugins/globalSnow/index.php)
River Heights (http://www.fvweather.com/plugins/riverHeightsUS/index.php)
CO2 (http://www.fvweather.com/plugins/co2/co2.php)
Country Climate (http://www.fvweather.com/plugins/countryClimate/index.php)
Evapotranspiration (http://www.fvweather.com/plugins/et/et.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2015, 05:50:49 PM
Thanks.

Just want to say that.. yes I am total idiot and I accidentaly deleted a few files on my server, which made the blog non-functional. I do have a backup, but it is saved on a disk to which I will not have access until tomorrow evening or Monday in the worst case. The blog will therefore not work until then.
Title: New plugin - Weather Warnings Canada
Post by: Jáchym on December 05, 2015, 12:16:08 PM
Weather Warnings Canada

A new plugin is now available. I think the title is quite self explanatory :-)

Features:
- weather warnings for all provinces and territories in Canada

Install instructions in the blog.

DEMO:  http://www.meteotemplate.com/template/plugins/warningsCanada/index.php (http://www.meteotemplate.com/template/plugins/warningsCanada/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=296 (http://meteotemplate.com/blog/?p=296)
Title: Re: New plugin - Weather Warnings Canada
Post by: KapitainOne on December 05, 2015, 01:04:04 PM
Nice Job!!


Weather Warnings Canada

A new plugin is now available. I think the title is quite self explanatory :-)

Features:
- weather warnings for all provinces and territories in Canada

Install instructions in the blog.

DEMO:  http://www.meteotemplate.com/template/plugins/warningsCanada/index.php (http://www.meteotemplate.com/template/plugins/warningsCanada/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=296 (http://meteotemplate.com/blog/?p=296)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 05, 2015, 01:25:15 PM
Hi Jachym,
Sorry it took me sooo long! www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php)
I've been searching and then adding some of our Southern Ontario locations as only Northern Ontario is in the stations.php.  Many more to do and it gives an appreciation of your time and effort to add all the places you did.
 
A minor typo in the provinces download as Ontatio should be Ontario
 
Thanks and you continue to amaze...
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 05, 2015, 01:27:53 PM
Thanks, I will correct that. It is possible there are other typos as I was copying lot of names :D The locations are based on what the Canada Environment offers and how it names them.

Just one little thing - I looked at your web and what I recommend is that you move the link in the menu next to the other warnings and use just the image (look at the meteotemplate demo), just to make it more consistent and so that the menu does not grow unnecessarily large :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 05, 2015, 01:32:26 PM
Ooops... you are right I did not notice Ontario is also divided Southrn/northern like Quebec, don´t bother adding it, I will do it myself and update the plugin.
Title: Canada Warnings - update
Post by: Jáchym on December 05, 2015, 01:55:18 PM
OK, you can now download updated version, I added Northern Ontario. Just replace the original stations.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 05, 2015, 02:28:29 PM
Quicker than what I was doing \:D/
Quote
Just one little thing - I looked at your web and what I recommend is that you move the link in the menu next to the other warnings and use just the image (look at the meteotemplate demo), just to make it more consistent and so that the menu does not grow unnecessarily large (http://www.wxforum.net/Smileys/default/icon_smile.gif)
Ahh, that is where you were placing it.  I had looked on how you had done it and missed the map...
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 05, 2015, 08:48:11 PM
OK, just a quick announcement that the blog and wiki are back online

AND

I would like to just say one thing to all of you.... I cannot overemphasize the importance of making backups.... make sure you make regular backups of all your data, not just weather data, but I mean in general.

Yesterday I accidentally clicked the "delete" icon instead of the "close" icon in one of the programs I use for FTP uploads. And since I use this SW so often and these things are just routine for me, I immediately click enter because I knew that a confirmation dialog will popup... and you can probably imagine what happened next... files started disappearing. Before I was able to stop this it deleted many files.

Fortunately I have automatic regular daily backups and so I was able to basically recover everything, only problem was I did not have access to my backup disk at that time so it was down for about a day.

Did I not have this backup, I would have lost the entire blog (including all the posts, comments, customizations etc.) and the entire wiki....

So just make sure you always backup everything and ideally as frequently as possible - for me the ideal is having one physical backup copy, which I keep on my computer and one cloud backup, where it is basically saved in realtime as I make it,  if I do it for example in Google Docs, or if it is a local document, set up automatic backups at least once a day. Of course I am not talking about backing up your private files such as passwords etc to the cloud, but things like stuff related to your web for example.
Title: New plugin - Weather Warnings - Australia
Post by: Jáchym on December 06, 2015, 12:32:25 PM
Weather Warnings Australia

A new plugin is now available and probably not a big surprise :D

Features:
- weather warnings for Australia

Install instructions in the blog.

DEMO:  http://www.meteotemplate.com/template/plugins/warningsAustralia/index.php (http://www.meteotemplate.com/template/plugins/warningsAustralia/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=299 (http://meteotemplate.com/blog/?p=299)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 06, 2015, 03:59:44 PM
Haven't read the instructions yet ;) , but all updated...
 
Needed a break from getting my Hikvision back uploading... ](*,)
Paul
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on December 09, 2015, 12:33:22 PM
I would like to create this thread where I will post information about new features, fixes and updates in general.

If you want, you can also subscribe to email updates or use the RSS feed or associated FB page (www.meteotemplate.com/blog (http://www.meteotemplate.com/blog))

Jachym,

Excellent work creating Meteotemplate!

I've created a new site and I got it up and running now.

http://donganhillsweather.net (http://donganhillsweather.net)

Thanks for your support.

Regards, Tom

Title: New plugin - World Time
Post by: Jáchym on December 09, 2015, 12:56:30 PM
World Time

A new plugin is now available for showing current time for various places around the world.

Main features:

- current time for many locations all around the world
- sun rise / sun set times
- day length / night length
- interactive timezone map

In this plugin you can view current time as well as times for sun rise, sun set, day length, night length etc. for many places around the world. There are already built-in data sets, but you can easily add your own city just by specifying its name, geographical coordinates and timezone. The display also shows you whether it is day or night by the color of the background.

Install instructions as well as info how to create your own data sets are in the blog.

Timezones in general are quite tricky. It seemed to work fine while I was testing it but if you find a bug let me know!

DEMO:  http://www.meteotemplate.com/template/plugins/worldTime/index.php (http://www.meteotemplate.com/template/plugins/worldTime/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=302 (http://meteotemplate.com/blog/?p=302)
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 09, 2015, 01:26:53 PM
Looked at the demo just now. If you change the city in the drop down, is it supposed to update?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2015, 01:29:27 PM
In the interactive map, you can click any place and it will show you the timezone. It will not update the main clock, that will always show your station time. Then below that you have the data sets which update based on your selection.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 09, 2015, 01:33:24 PM
I guess I was expecting it to update all of this info at the top if you select a different location.

(https://dl.dropboxusercontent.com/u/68529500/ScreenShot4095.jpg)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2015, 01:35:16 PM
Yes that would surely be nice, but the problem is that PHP cannot determine timezone just based on coordinates and also you cannot get the city name based on coordinates, you always have to have a database in the background, so it is impossible for me to create a db which would have all the cities around the world... That is why you have the built-in datasets and you can add your custom locations. It would be nice, but technically not possible.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 09, 2015, 01:38:29 PM
Yes that would surely be nice, but the problem is that PHP cannot determine timezone just based on coordinates and also you cannot get the city name based on coordinates, you always have to have a database in the background, so it is impossible for me to create a db which would have all the cities around the world... That is why you have the built-in datasets and you can add your custom locations. It would be nice, but technically not possible.

No, that's not what I mean, I selected New York from your DB and it does not update.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2015, 01:39:33 PM
I do have a database that I created in the past which contains 160k cities, I was thinking about including it and you would then be able to do much more, but the question is whether people would want a 15MB file and another table in MySQL.

So lets see, if more people would like that I can consider it in the future as an update of this plugin.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2015, 01:40:26 PM
Yes that would surely be nice, but the problem is that PHP cannot determine timezone just based on coordinates and also you cannot get the city name based on coordinates, you always have to have a database in the background, so it is impossible for me to create a db which would have all the cities around the world... That is why you have the built-in datasets and you can add your custom locations. It would be nice, but technically not possible.

No, that's not what I mean, I selected New York from your DB and it does not update.

Where did you select NY? The interactive map is really just for showing a timezone, it does not update anything.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 09, 2015, 01:59:48 PM
Yes that would surely be nice, but the problem is that PHP cannot determine timezone just based on coordinates and also you cannot get the city name based on coordinates, you always have to have a database in the background, so it is impossible for me to create a db which would have all the cities around the world... That is why you have the built-in datasets and you can add your custom locations. It would be nice, but technically not possible.

No, that's not what I mean, I selected New York from your DB and it does not update.

Where did you select NY? The interactive map is really just for showing a timezone, it does not update anything.

So the only function of the drop down menu is to put a point on the map? I think it should update the top info in the picture I posted when you select a different place.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2015, 06:09:54 PM
Yes that would surely be nice, but the problem is that PHP cannot determine timezone just based on coordinates and also you cannot get the city name based on coordinates, you always have to have a database in the background, so it is impossible for me to create a db which would have all the cities around the world... That is why you have the built-in datasets and you can add your custom locations. It would be nice, but technically not possible.

No, that's not what I mean, I selected New York from your DB and it does not update.

Where did you select NY? The interactive map is really just for showing a timezone, it does not update anything.

So the only function of the drop down menu is to put a point on the map? I think it should update the top info in the picture I posted when you select a different place.

THe function of the map is to show you the timezone at the point where you click on the map. I see your point but the problem is that I would have to manually specify timezones, coordinates, names etc. for every single item in the select box.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 09, 2015, 09:28:10 PM
Nicely done Jachym.  I have easily modified the array to include the Canadian Provinces which span from 47.56494 Lat. x -52.70931 Lon.  to 60.72118 x -135.05683 and 6 time zones.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 10, 2015, 03:46:26 AM
Yes that would surely be nice, but the problem is that PHP cannot determine timezone just based on coordinates and also you cannot get the city name based on coordinates, you always have to have a database in the background, so it is impossible for me to create a db which would have all the cities around the world... That is why you have the built-in datasets and you can add your custom locations. It would be nice, but technically not possible.

No, that's not what I mean, I selected New York from your DB and it does not update.

Where did you select NY? The interactive map is really just for showing a timezone, it does not update anything.

So the only function of the drop down menu is to put a point on the map? I think it should update the top info in the picture I posted when you select a different place.

THe function of the map is to show you the timezone at the point where you click on the map. I see your point but the problem is that I would have to manually specify timezones, coordinates, names etc. for every single item in the select box.

OK. It just didn't behave the way I expected, so I thought it might be a bug/issue. From my perspective, as it currently functions, the drop down menu doesn't really even need to be there.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 10, 2015, 05:58:55 AM
You are right that the drop-down menu right now is not much of a use, but the thing is that the drop down menu changes when you click on the map. It is not very intuitive, I should have used just a text box that would show the timezone when clicking on the map, this is confusing I agree.
In the future I will think about how to do what you suggested, but there probably is no other way than just manually inserting all the coordinates and TZs for all the places in the select box. Or I will consider adding the 160k cities DB file that I have as optional.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on December 10, 2015, 01:46:52 PM
You are right that the drop-down menu right now is not much of a use, but the thing is that the drop down menu changes when you click on the map. It is not very intuitive, I should have used just a text box that would show the timezone when clicking on the map, this is confusing I agree.
In the future I will think about how to do what you suggested, but there probably is no other way than just manually inserting all the coordinates and TZs for all the places in the select box. Or I will consider adding the 160k cities DB file that I have as optional.

I haven't had time to dig into how you implemented it, so I see it could potentially be a lot of work to get it to do that. Just a suggestion, while I like the idea of the optional DB file, as a design precept I would not let an optional feature fundamentally change how the plugin works (which this would do, since if it was optionally installed it would update as I recommended when making another selection). Just my view (probably < $.02 ;))
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on December 12, 2015, 06:48:39 AM
Hi Jachym,

I've recently starting having a lot of MySQL processing time with the database for some unknown reason. I've haven't changed anything and my website host hasn't changed anything on their end. My update time is set to 5 minutes. I originally thought it was one the Blitzortung scripts I had updating its database, but it wasn't. Currently, all of the updating is turned off until this is resolved.

(http://sacrey.info/images/Capture.PNG)


John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2015, 07:49:51 AM
Ok well see if you can spot what you have changed around the time this started happening
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on December 12, 2015, 08:11:54 AM
Hi Jachym,

This evidently started when I upgraded to 2.0 and I changed some values in the config.php file. I did a line by line comparison from my config file in 1.2 to the 2.0 one and found a few things.

In 1.2 I had these values set to (lines 60-75):

   $limitTempMin = -100;
   $limitTempMax = 100;
   $limitHumidityMin = 0;
   $limitHumidityMax = 100;
   $limitPressureMin = 950;
   $limitPressureMax = 1100;
   $limitRainMin = 0;
   $limitRainMax = 200;
   $limitRainRateMin = 0;
   $limitRainRateMax = 500;
   $limitBearingMin = 0;
   $limitBearingMax = 360;
   $limitWindMin = 0;
   $limitWindMax = 140;
   $limitSolarMin = 0;
   $limitSolarMax = 1800;


In 2.0 these were set to (lines 60-75):

   $limitTempMin = -40;
   $limitTempMax = 150;
   $limitHumidityMin = 0;
   $limitHumidityMax = 100;
   $limitPressureMin = 950;
   $limitPressureMax = 1100;
   $limitRainMin = 0;
   $limitRainMax = 30.00;
   $limitRainRateMin = 0;
   $limitRainRateMax = 30.00;
   $limitBearingMin = 0;
   $limitBearingMax = 360;
   $limitWindMin = 0;
   $limitWindMax = 140;
   $limitSolarMin = 0;
   $limitSolarMax = 1800;

Everything else matched. Could these differences have created the processing time I have been seeing?

John


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2015, 10:10:57 AM
Hi John,

actually to be quite honest I am not sure I understand what exactly the graph is showing. Is it the number of calls into the database? Is it the time it takes to process a query?

If it is the number of queries sent to the db, then we would have to find whether there is maybe some bot constantly going through your pages and sending queries or some other kind of a problem. However, this should be easy to determine because if this was the case, then stopping the updates would not help and the load would remain.

The processing time should be directly related to the number of records in your db, so if there was a problem with the updating script (which I doubt because no-one else including me has similar problems as far as I know), then the only thing it could mean is that for some reason it was updating too often, but then again - that would be easy to spot, because you would simply have many more records in your db. And this also does not make much sense, because it would not explain the sudden increase.

The only other thing that uses MySQL is the country climate plugin. Although I cannot see right now, why this should be causing problems, try deleting this one if you have installed it, just remove the link from your page. It could be that this is actually the problematic page - if there was some bot constantly trying various countries it would obviously mean many many queries to the db.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on December 12, 2015, 01:19:34 PM
Hi Jachym,

My apologies for posting the graphing without an explanation. The graph shows the minutes of CPU usage used for my database.  Thank you for reminding about "bots". I haven't looked at that in some time and..... I found something there.  It seems the MJ12bot has been having a field day on my site lately.  From Dec 1 to today, there have been 14,710 hits on my site consuming 2.07GB of bandwidth so far. In November, there were 34,365 hits that consumed 4.60GB of bandwidth. Let me reinstall my robots.txt into my root directory and see if this resolves the issue.

I'll let you know how things go.

Thanks again,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2015, 01:45:02 PM
Hi Jachym,

My apologies for posting the graphing without an explanation. The graph shows the minutes of CPU usage used for my database.  Thank you for reminding about "bots". I haven't looked at that in some time and..... I found something there.  It seems the MJ12bot has been having a field day on my site lately.  From Dec 1 to today, there have been 14,710 hits on my site consuming 2.07GB of bandwidth so far. In November, there were 34,365 hits that consumed 4.60GB of bandwidth. Let me reinstall my robots.txt into my root directory and see if this resolves the issue.

I'll let you know how things go.

Thanks again,

John

This is most likely it... if robots.txt does not solve it then directly set the IP in the .htaccess
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 13, 2015, 04:08:06 AM
Hello Jachym

Finally got my weather site working and up and running. Just a little bit of housekeeping to do  :-)

www.manorts.com/weather/index.php

Please feel free to point out errors.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 13, 2015, 04:44:17 AM
Looks great and working fine  8-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 13, 2015, 10:22:39 AM
Ditto,
and a beautiful garden!
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 14, 2015, 05:34:07 AM
Ditto,
and a beautiful garden!
 
Paul

Thanks Paul

I have noticed today got to 32.4C but only 16C was shown on World Weather Online and METAR. Set Metar to "YMAY" which is closest to me. The forecast was way off target as well. Shows okay using Saratoga templates so I still must have issues.
Title: Meteotemplate - new free website template sudden error ?
Post by: nitrx on December 14, 2015, 12:42:25 PM
Today I get this error
Code: [Select]
Warning: fread(): Length parameter must be greater than 0 in /public_html/apeldoorn.tk/meteo/header.php on line 58 not seen before notice I've nothing changed the last two weeks. url http://apeldoorn.tk/meteo/index.php

I investistigated headerCache.txt on the server and it's empty (the file is availble but has no content)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 14, 2015, 01:06:50 PM
I don't see the error message when clicking on your link Ron.  Either you fixed it or was a temporary glitch.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 14, 2015, 01:20:45 PM
Yes I know about it, i got that error too... Yahoo is not responding... in the next version this error wont show up any more and you simply will get no banner image. The problem is that the page tries to load conditions for the banner from Yahoo Weather which is down since about an hour ago...
Title: Re: Meteotemplate - new free website template
Post by: nitrx on December 14, 2015, 01:34:45 PM
Aha I see now it's solved thanks for the feedback.
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 16, 2015, 10:18:37 PM
After reading a lot of posts regarding forecasts, I have concluded that they are not that accurate. I installed the forecast comparison plug-in and the differences are so extreme that I see no point in having a forecast at all. I think I woul d rather have no information than wrong information.

So I have taken the forecast section out but am now stuck with the dilemma of what to replace it with. I think the pictures are way too big now. (although it's only a home page)

Just love meteotemplate.

www.manorts.com/weather
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 17, 2015, 04:40:14 AM
Have added some more plugins without much drama but have come across some quirky behaviour with the Contact plugin.
The first line displays the text LINKS after the icon
The second line does not display the word CONTACT after the icon. Its just blank.
If I change contact to database or links or weather, those words are displayed but not the word CONTACT
Code: [Select]
<a href='<?php echo $pageURL.$path?>pages/other/links.php'><?php echo lang('links','c')?></a>
<a href='<?php echo $pageURL.$path?>plugins/contact/contact.php'><?php echo lang('contact','c')?></a>

To make it work I had to use the syntax used in other links.
Code: [Select]
<a href='<?php echo $pageURL.$path?>plugins/contact/contact.php'>Contact</a>
I'm not complaining about it, just curious why it behaves like that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 17, 2015, 06:21:48 AM
Have added some more plugins without much drama but have come across some quirky behaviour with the Contact plugin.
The first line displays the text LINKS after the icon
The second line does not display the word CONTACT after the icon. Its just blank.
If I change contact to database or links or weather, those words are displayed but not the word CONTACT
Code: [Select]
<a href='<?php echo $pageURL.$path?>pages/other/links.php'><?php echo lang('links','c')?></a>
<a href='<?php echo $pageURL.$path?>plugins/contact/contact.php'><?php echo lang('contact','c')?></a>

To make it work I had to use the syntax used in other links.
Code: [Select]
<a href='<?php echo $pageURL.$path?>plugins/contact/contact.php'>Contact</a>
I'm not complaining about it, just curious why it behaves like that.

Hi,

ok I will take it one by one:

1. forecasts - yes problematic, but I will PM you something that might help
2. words - in order to understand why this behaves the way it behaves you probably would want to read this post: http://www.wxforum.net/index.php?topic=26825.msg264728#msg264728

In the next version I already changed this so if a string is passed that is unknown, rather than not displaying anything, it will simply return whatever was passed to it - which would solve the problem in this case.
Title: MERRY CHRISTMAS - METEOTEMPLATE 3.0 Sour Cherry
Post by: Jáchym on December 21, 2015, 11:05:39 AM
Hi all,
it is Christmas time and that also means giving presents - and so here is a little present from me as well - introducing METEOTEMPLATE 3.0 Sour Cherry.

This time, it is especially changes that you can actually "see". So what is new? There are of course couple of bug fixes, small changes in the code to make the overall experience smoother and more user friendly and also improved error handling. Then there are however, couple of brand new pages and functions.

The absolutely most obvious change in Sour Cherry is a brand new homepage! This was actually in my opinion so far the biggest problem with the template itself. The original homepage was not very well adapted to adding your own stuff, Aeris forecast did not prove to be the ideal and overall I was not satisfied with it.There is now a brand new homepage, which uses a completely different concept of viewing stuff.

Summary of new things (more info is again in the corresponding blog post):
- new page about station climate
- tables in reports etc. can now be exported directly (CSV, TXT, XLS, PNG, JSON)
- I am not a fan of this, but lot of you asked for this so I added the possibility to use gradient colors
- improved "climate" section in the menu
- Hungarian language
- possibility to add/remove records directly from the admin section

NEW Homepage - highly customizable, easy to set up and interactive homepage. The homepage is now made up of something I called "blocks". Think of these as "plugins for the homepage". You as webmaster choose which blocks you want. Some of them are region-specific for example, so you can add blocks with radar for various regions etc. Currently supported are Europe, US, Canada and Australia.

Summary of some of the new features on the homepage:
- realtime updates (either from db or directly from textfiles - clientraw, realtime, meteobridge)
- station info
- warnings
- radar images (national, regional)
- forecasts (several services available)
- current conditions in unlimited number of webmaster defined cities (conditions, temp, humidity etc.)
- current time in unlimited number of webmaster defined cities (time, sunrise, sunset, day length etc.)
- unlimited number of webcams
- astro info (Sun and Moon rise, set, transit, day length, night length, seasons, Moon phases)
- current and upcoming eclipses (solar and lunar), meteor showers, interesting astronomy phenomena
- weather glossary
- links to weather networks
- current significant/close earthquakes
etc.

The page uses lot of Ajax and caching and also as much as possible is calculated by the actual scripts (Moon phases, eclipses, astro events, world times, etc) so external sources are used as little as possible (forecasts, current conditions, earthquakes). This means page loads faster and you do not rely on other pages and the associated potential problems when they change.

All the blocks are interactive and collapsable, which means the page is still quite easy to navigate and intuitive. For example, it shows you next Full Moon - you click more and it shows you all the next Full Moons for the upcoming year etc.

Best thing to do is to view the actual demo. Also there is a page in the blog, which describes in detail how the homepage was developed, how to set it up etc. And of course this is just the first version of it and I plan on developing this further. Also, all so far released plugins are fully compatible with this update and require no changes and the homepage is also completely independent and works without any plugins installed!

Last but not least.... I WISH YOU ALL A VERY NICE CHRISTMAS AND A HAPPY NEW YEAR (yes I know it is such a cliché but still... :-)

Best regards from the Czech Republic

Jachym

DEMO: http://www.meteotemplate.com/template/
DOWNLOAD: http://www.meteotemplate.com/web/download.php
MORE INFO:
  Info about update, what is new, how to install/upgrade: http://meteotemplate.com/blog/?p=305
  Homepage: http://meteotemplate.com/blog/?page_id=316

P.S. As always... I am more than happy to help you and offer support should you need it. Just send me an email, post here or use the blog. I will be at home most of the time over X-mas, so I will try to deal with all problems asap.
 (http://www.meteotemplate.com/template/icons/versions/30sourcherryBlack.png)
Title: Re: Meteotemplate - new free website template
Post by: txweather.org on December 21, 2015, 12:00:52 PM
o wow!
That's awesome!
Now you caught my attention.

Good job Jachym!
And happy holidays to you as well!
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on December 21, 2015, 01:42:54 PM
I just upgraded to Sour Cherry and all looks good so far.

http://donganhillsweather.net (http://donganhillsweather.net)

Nice job Jachym, Thanks!

Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 21, 2015, 04:20:19 PM
Wow, nice work.

Silly question, can I reuse my existing menu.php file or should I move my changes to the new one included with the update files?

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 21, 2015, 05:02:37 PM
Old menu should theoretically work,  but I am not 100 percent sure,  you can try updating everything and just not the menu and see if it works   I think it should.  Just add link to the new about page and climate page.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 21, 2015, 05:05:01 PM
THanks, may try that but starting to think that a clean install from scratch might be a better move, right after I make a backup of course  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 21, 2015, 05:10:44 PM
This new menu basically just includes the new links and the climate section is now Ajax based,  but menu from v2 should work fine.

It wouldn't work the other way around,  menu  v3 with watermelon
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 21, 2015, 10:03:40 PM
Jachym,
Well, I am about 80% finished www.komokaweather.com/j-template30 (http://www.komokaweather.com/j-template30)
 
Some things still to enter and others to fix -
1. get the correct Yahoo forecast on the homepage
2. change to Meteotemplate "Sour Cherry" in the footer
3. what/how to enter URL for webcams
Probably some others...
 
p.s. using the v.2.0 menu works fine.
 
Well done again, and I can image the amount of time to get this working.
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 22, 2015, 09:22:07 AM
Working on the new version also.  Changed some things but not completely done yet.  Can be seen at:
http://www.shermanctweather.org/template/

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 09:53:29 AM
Jachym,
Well, I am about 80% finished www.komokaweather.com/j-template30 (http://www.komokaweather.com/j-template30)
 
Some things still to enter and others to fix -
1. get the correct Yahoo forecast on the homepage
2. change to Meteotemplate "Sour Cherry" in the footer
3. what/how to enter URL for webcams
Probably some others...
 
p.s. using the v.2.0 menu works fine.
 
Well done again, and I can image the amount of time to get this working.
 
Regards,
Paul

Hi Paul,
so far so good. The footer is really simple, just replace the original footer.php. Yahoo could be a problem if it does not recognize "Komoka", if you struggle with this have a look what you have in your header.php, which city is used there, because the interactive banner also uses Yahoo. Webcam URLs are very simple and can be entered directly in the settings in the settings section of the homepage - as an array separated by commas and in quotation marks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 09:54:26 AM
Working on the new version also.  Changed some things but not completely done yet.  Can be seen at:
http://www.shermanctweather.org/template/

Tom

Looks good to me, except the link for the webcam does not work.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 22, 2015, 10:13:28 AM
Version 3.0 running here, started from scratch so no additional plugins enabled yet. 

The only glitch so far is that no Environment Canada Radars are showing?

http://www.sanfordweather.com/meteo/

Do I gather from an earlier post that it's possible to have multiple Web Cams?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 10:26:44 AM
Version 3.0 running here, started from scratch so no additional plugins enabled yet. 

The only glitch so far is that no Environment Canada Radars are showing?

http://www.sanfordweather.com/meteo/

Do I gather from an earlier post that it's possible to have multiple Web Cams?

Hi,
the radar images are really strange, because not even the national one is being loaded and this guy for example is using the exact same script as you:
http://www.meteolacstjean.com/hebertville/index.php

Hmm, one thing that could be causing it is the file_get_contents, if that is not supported by your server, then it would not load. But that is also not possible, because if that was the case, also the earthquakes, forecasts etc. would not load - they use the same command.

I can only think of one thing. About a month ago, Paul had a similar problem, where one of the plugins did not work for him and it turned out his server was refused access to EC. I will check that.

Webcams: yes, you can add as many as you like. In the settings, the URLs for the webcams are given as an array, so just put as many links as you like, like this:

$webcam = true;
      $webcamURLs = array("webcamURL.jpg","webcamURL2.jpg",.....);
      $webcamTitles = array("Webcam 1", "Webcam 2",...);
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 10:36:16 AM
This is what I meant:

http://www.wxforum.net/index.php?topic=26825.msg269388#msg269388
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 22, 2015, 11:14:35 AM
Quote
Looks good to me, except the link for the webcam does not work.

It is working for me.  Not sure what is happening.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on December 22, 2015, 11:20:00 AM
Hi Jachym welldone I've to figure out some things , In the menu.php you have a hardcoded linke to your template ( climate !) I've changed that.

Thanks and happy Christmass to you and others too

(beta location meteotemplate V3.0  http://apeldoorn.tk/template )
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 11:47:14 AM
Hi Jachym welldone I've to figure out some things , In the menu.php you have a hardcoded linke to your template ( climate !) I've changed that.

Thanks and happy Christmass to you and others too

(beta location meteotemplate V3.0  http://apeldoorn.tk/template )

Hi, thanks for letting me know, I accidentaly copied the link directly from the DEMO.

So for those who used the new menu and have it installed already,
the first item in the climate menu should look like this:

Code: [Select]
<td>
<img src="<?php echo $pageURL.$path?>imgs/flags/big/cz.png" class="flagIcon" alt="">
</td>
<td>
<a href='<?php echo $pageURL.$path?>pages/climate/index.php?q=<?php echo $climateID?>'><?php echo $stationLocation?></a>
</td>

I fixed it in the download files.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 11:49:41 AM
Quote
Looks good to me, except the link for the webcam does not work.

It is working for me.  Not sure what is happening.

Hi,
sorry for confusing you, it probably works. I just checked it and it is either my firewall blocking it or my IP is blocked on your end. It just times out, but the link is ok.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 22, 2015, 12:50:45 PM
Hi Jachym,
Now about 90% done...  www.komokaweather.com/j-template30 (http://www.komokaweather.com/j-template30)
 
1. still showing Watermelon on footer
I had uploaded the new footer.php which does show Sour Cherry on line 7.  I have re unzipped the upgrade package and uploaded that footer.php  and also cleared cache, and still the same.  Any ideas?
 
2. The station.png on the home page was the Fine Offset and looks like all the /icon/ folders have that.  I have used my previous VP2 station.png (which was white), and just have to look for a black version to replace the white one for /homepage/icons/light (likely the white one is fine for the dark theme - I am using the sun theme).
 
3. Now onto getting the new menu items consolidated with the v.2.0 menu...
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 22, 2015, 01:21:29 PM
This is what I meant:

http://www.wxforum.net/index.php?topic=26825.msg269388#msg269388

I don't think that's the issue here as my old custom plugin still works and shows the local EC Radar???

http://www.sanfordweather.com/meteo/custom/CanadaRadar.php

Not a real big deal many other things to sort out!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 01:29:39 PM
Hi Jachym,
Now about 90% done...  www.komokaweather.com/j-template30 (http://www.komokaweather.com/j-template30)
 
1. still showing Watermelon on footer
I had uploaded the new footer.php which does show Sour Cherry on line 7.  I have re unzipped the upgrade package and uploaded that footer.php  and also cleared cache, and still the same.  Any ideas?
 
2. The station.png on the home page was the Fine Offset and looks like all the /icon/ folders have that.  I have used my previous VP2 station.png (which was white), and just have to look for a black version to replace the white one for /homepage/icons/light (likely the white one is fine for the dark theme - I am using the sun theme).
 
3. Now onto getting the new menu items consolidated with the v.2.0 menu...
 
Paul

Hi, check the content of the footer.php, but I just looked there and it says Sour Cherry 3.0. Maybe just delete the original and then upload the new one rather than trying to overwrite it. Icon is attached. And with regards to the menu, see my posts above, I accidentaly linked one of the links in the climate section to meteotemplate.com instead of your own domain, I have also already fixed it in the download files, but if you have already downloaded it, just make that little change.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2015, 01:30:43 PM
This is what I meant:

http://www.wxforum.net/index.php?topic=26825.msg269388#msg269388

I don't think that's the issue here as my old custom plugin still works and shows the local EC Radar???

http://www.sanfordweather.com/meteo/custom/CanadaRadar.php

Not a real big deal many other things to sort out!

Hmm... ok what I will do is I will make a script that will check the connection and then send it to you tomorrow and then we will know where the problem is. Because I think the actual code is ok since it works for other people.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 22, 2015, 01:33:07 PM
Paul,
With regards to the footer, mine was pointing to the old footer till I changed the path in the config.php around line 42 to the version 3 folder.
Tom
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 22, 2015, 03:13:49 PM
Thanks Tom,
I made that change but didn't seem to make a difference, then after many other editing/changes to index and menu.php it now IS Sour Cherry! www.komokaweather.com/j-template30 (http://www.komokaweather.com/j-template30)
Now 97% done...  some minor changes and the station.png which I haven't gotten to yet.
 
and one more issue - I have added the sunrecorder images in index.php just below the Warnings but these do not display.  I have used the same <div> ... </div> as in ver.2.0 www.komokaweather.com/j-template (http://www.komokaweather.com/j-template) being careful not to have between any <?php and <?
 
Paul
Title: Meteotemplate Feedback
Post by: Jáchym on December 22, 2015, 04:50:05 PM
Hi guys,

given I have just released a new update I am obviously in a stage where I can plan what to do next and how to make things even better. It seems like the new update and homepage especially was well accepted, so I hope that solved the biggest downside of the template, which the old index definitely was.

So, I made a little form that you can fill and give me your feedback. It is absolutely up to you how much you write for the answers, obviously the more you do, the more valuable and useful your feedback will be. None of the questions are required and if you want you can also include your email in which case I could give you some reply if necessary.

Thanks in advance to those that take the time to fill this in.

IMPORTANT: THIS IS BY NO MEANS A FORM TO BE FILLED IN ONLY BY METEOTEMPLATE USERS - I am very much interested in opinion of everyone! Either it might be the case you for some reason do not want to use it (in which case it would be useful to me to know why) or it could be that despite you don´t consider using it, you might still have some intereting ideas and remarks.

https://docs.google.com/forms/d/114A6zXMS1wFRaJFby_M99J1ej-witC3zJbrYEYo-dHA/viewform
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on December 22, 2015, 11:08:36 PM
Hello,
I currently have a warning on the front page for a 'Special Weather Statement' and wanted to say this is really nice and working for my area. 

I'm just curious what the difference is with the way Meteotemplate gets the NWS alert compared to Saragota since I don't have any advisories showing there. 

Thanks, Tom

(http://donganhillsweather.net/mtw.png)
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 23, 2015, 01:14:24 AM
Got mine nearly complete  :lol:

www.manorts.com/meteo

One thing I cannot find is how to change the world weather. I entered the numbers in $citiesArr but the default ones are still displayed.
anyone help out?

EDIT: The closest place to me that is listed in $climateID is 250 km away. Can anything be done about that?
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 23, 2015, 04:10:35 AM
I entered the numbers in $citiesArr but the default ones are still displayed.

Well they came good. Went for dinner and came back 2 hours later and it updated okay.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 06:01:37 AM
Colin:

Yes, the reason for that was that you probably left the default ones when you first tried to view the homepage - it loaded the default ones and saved them to cache. You then made the change, but the page was still using the cache, because it has not expired yet (the default interval is 60 minutes). The option is then to either empty the homepage/cache directory or simply wait 60 minutes after which the page detects it is outdated and loads the new set of data, this time with your new settings.

Climate:
I know this is problematic and lot of people asked about this. So to answer this.... the problem is, there are many sites that offer climate data, the problem is - none of them are unified, some give you temperature and for example heating degree days, others give you humidity, some give you pressure,.... also units had to be unified. I usually went on parituclar websites of the national meteorological organizations.

What the climate page actually does is, it uses a CSV file with data that I have compiled together from over 40 different sites. I did this about 2 yrs ago for my own personal site, at time when I didn´t even know "PHP" exists. And I simply went through various websites and always tried to copy the data in such format so that I finally ended up with a database (table), which can be used to compare all the contained cities.

Obviously however, since I had to go one by one, even this took me about 3 months´ nights :D And I also had to make a compromise and could not include all the different cities in the world... I tried to include the major ones and ones that I found some data for.

I understand that the situation now is different. The table was originally developed for my personal site and it includes my city. What you could do however, is try to find if there is data for the place you would like in particular. If you find it, then you could send me a link and I will see if I can do something with it or you can even try adding it into the actual table, it is a normal CSV table saved in your template climate directory and if you add a new row and give the place a unique ID, then if you upload that file and replace the original CSV, theoretically, if you do everything correctly, you can use that ID in the config and the scripts of course will load the data normally.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 06:03:50 AM
Hello,
I currently have a warning on the front page for a 'Special Weather Statement' and wanted to say this is really nice and working for my area. 

I'm just curious what the difference is with the way Meteotemplate gets the NWS alert compared to Saragota since I don't have any advisories showing there. 

Thanks, Tom

(http://donganhillsweather.net/mtw.png)

Hi Tom,
Im not sure I can answer this question as I am not familiar with Saratoga templates and I have never tried Ken´s template myself. I mean I know how it looks like, I think it is a great template and always took Ken as source of inspiration, but I never studied the code or went deeply into how it works in the backend.
The warnings used by NWS are taken from the NWS XML files and then processed by the script.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2015, 10:33:41 AM
Jachym

May have found a glitch with warningsCanada plugin, re-downloaded from your site and re-installed just to be sure I had not messed things up, when I load the page I get the following error!

Fatal error: Call to a member function find() on boolean in /homepages/25/d273049157/htdocs/weather/meteo/plugins/warningsCanada/dataLoader.php on line 14

I noticed a similar error on Paul's page also!

Bill
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on December 23, 2015, 12:47:54 PM
Hello,
I currently have a warning on the front page for a 'Special Weather Statement' and wanted to say this is really nice and working for my area. 

I'm just curious what the difference is with the way Meteotemplate gets the NWS alert compared to Saragota since I don't have any advisories showing there. 

Thanks, Tom

(http://donganhillsweather.net/mtw.png)

Hi Tom,
Im not sure I can answer this question as I am not familiar with Saratoga templates and I have never tried Ken´s template myself. I mean I know how it looks like, I think it is a great template and always took Ken as source of inspiration, but I never studied the code or went deeply into how it works in the backend.
The warnings used by NWS are taken from the NWS XML files and then processed by the script.

I understand and was just wondering why there would be differences.  I'm not experienced enough to know how the alerts work but I see there are different levels of alerts which may be cause it.
I'll look into it more and ask around on the other topics.
Thanks
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2015, 02:19:03 PM
Quote
I noticed a similar error on Paul's page also!
Thanks for mentioning Bill.

I am pretty sure I had it working initially when I first installed v.3.0...  I am using the same plugins from v.2.0.
I am not at home right now so can't check the file but then I likely wouldn't know how to fix it... http://www.komokaweather.com/j-template30/plugins/warningsCanada/index.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2015, 04:01:13 PM
I found a couple more minor glitches.

In the default menu under the <!-- WEATHER TAB --> there are entries under Radar for US and Canada that refer to images as in:

plugins/usRadar/icons/menuIcon.png and plugins/canadaRadar/images/menuIcon.png

Unfortunately these don't exist in the download zip of ver 3.0 of the template, I found suitable images in my old /imgs/continentOutlines/ for both US.png and canada.png and used them instead.

Jachym I also noticed that the canadaRadar plugin doesn't work on my site either along with the radar images on the home page!

Bill
http://www.sanfordweather.com/meteo/



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 05:01:49 PM
Hi Bill,

I think it is a misunderstaning. The default version of the template does not include any plugins. Therefore those icons are not there as they are only there when you download that particular plugin and install it.
But to make it easier, I included links to all the currently available plugins in the menu and commented them out, so that when you install a new plugin, you don't have to add the links and code, you simply uncomment the plugins that you installed.
Also, the homepage is absolutely independent and can be used without any other plugins. And unless you download and install the Canada Radar plugin, that particular plugin will obviously not work if you just uncommented it in the menu.
The fact that your images dont work is a different matter, but I really think that has to be something with rejected access from EC.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2015, 05:10:09 PM
Hi Bill,

I think it is a misunderstaning. The default version of the template does not include any plugins. Therefore those icons are not there as they are only there when you download that particular plugin and install it.
But to make it easier, I included links to all the currently available plugins in the menu and commented them out, so that when you install a new plugin, you don't have to add the links and code, you simply uncomment the plugins that you installed.
Also, the homepage is absolutely independent and can be used without any other plugins. And unless you download and install the Canada Radar plugin, that particular plugin will obviously not work if you just uncommented it in the menu.
The fact that your images dont work is a different matter, but I really think that has to be something with rejected access from EC.

Both the US and Canada Radar plugins were downloaded and installed, I uncommented the bits in the stock menu.php to enable them but they wouldn't show as the icons are missing from the plugin download!

Sorry probably should have worded my comments a bit better!!

Regarding the EC Radar, using a hacked bit from Ken's Saratoga template set will show the radar images, so I'm not convinced that there is anything rejecting access.  Anyway, it's not a big deal, it will get sorted out at some point... Edit, just remembered that EC made some changes back in late November, wonder it that's causing the problem, but then why is Paul's site working fine????????

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 05:28:34 PM
Hi Bill,

I think it is a misunderstaning. The default version of the template does not include any plugins. Therefore those icons are not there as they are only there when you download that particular plugin and install it.
But to make it easier, I included links to all the currently available plugins in the menu and commented them out, so that when you install a new plugin, you don't have to add the links and code, you simply uncomment the plugins that you installed.
Also, the homepage is absolutely independent and can be used without any other plugins. And unless you download and install the Canada Radar plugin, that particular plugin will obviously not work if you just uncommented it in the menu.
The fact that your images dont work is a different matter, but I really think that has to be something with rejected access from EC.

Both the US and Canada Radar plugins were downloaded and installed, I uncommented the bits in the stock menu.php to enable them but they wouldn't show as the icons are missing from the plugin download!

Sorry probably should have worded my comments a bit better!!

Regarding the EC Radar, using a hacked bit from Ken's Saratoga template set will show the radar images, so I'm not convinced that there is anything rejecting access.  Anyway, it's not a big deal, it will get sorted out at some point... Edit, just remembered that EC made some changes back in late November, wonder it that's causing the problem, but then why is Paul's site working fine????????

I will look into it and let you know.
Title: BUG FIX - VERY IMPORTANT
Post by: Jáchym on December 23, 2015, 05:37:22 PM
OK, so I already discovered a few minor problems with the homepage and also added a few new features that some of you have already suggested.

However, I have discovered one major "bug", that you should definitely fix as soon as possible.

Basically I was wondering why the page was loading so slow, despite the fact it was not while I was testing it. Well I think I finally found the problem. It turned out that the page from which the earthquake data comes from changed, or rather the structure of the data. Originally it was getting the most important one, but now it was actually loading all EQ from the last month.

The result of that change was that the cache file loaded every hour was 5.5 MB! And so even processing of it, which was performed with every single load of the page, took many seconds. I already fixed it and I hope it will speed things up.

As I said, I will release an updated version with some few new things and fixes (no worries will be very easy to change, no changes in the settings etc.), but this should be corrected as soon as possible.

The good news is that I only had to modify a file, that you probably did not touch at all, so all you have to do, is simply replace the homepage/eqInfo.php file with this new version. Also delete any files beginning with "eq" in the homepage/cache folder, there should be two.

I tried several runs and the time was reduced from 16s to 7s in case the cache had to be reloaded and from 11s to 4s in case data was loaded from cache :-) And I think there are few other things that after optimization could speed things up - again, this really is just the first version and I will of course continue improving it.

So just download the attached file and overwrite the one in your homepage directory (make sure it has the same name and extension).

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2015, 06:27:13 PM
Hi Jachym,
I have replaced eqInfo.php and the site seems to come up quicker, 5 to 7 sec.
 
Quote
Posted by: PaulMy« on: Today at 02:19:03 PM »
 I noticed a similar error on Paul's page also!  Thanks for mentioning Bill.

I am pretty sure I had it working initially when I first installed v.3.0...  I am using the same plugins from v.2.0.
I am not at home right now so can't check the file but then I likely wouldn't know how to fix it... http://www.komokaweather.com/j-template30/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template30/plugins/warningsCanada/index.php)

Paul

I have checked v.2.0 and the warningsCanada error pops up there as well.  For v.3.0 I just used the v.2.0 plugin so must have been mistaken when I thought it had worked when I installed v.3.0 and the error has been there for a while.
 
v.2.0 www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)
v.3.0 www.komokaweather.com/j-template30 (http://www.komokaweather.com/j-template30)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2015, 06:34:24 PM
I too have replaced eqInfo.php and the site seems to come up quicker.

If you are looking for tweaks the "GoTo Top" link similar to what's on the MySql Admin page would be a great addition!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 06:34:54 PM
OK so Paul, if you disable Canadian warnings, does it still not work? It is strange because it worked yesterday....
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 06:35:40 PM
Holy shXT... :shock:

what a difference hehehe
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 06:37:40 PM
Glad im not the only canadian having problems with ecwarnings
 :?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 06:42:32 PM
Holy shXT... :shock:

what a difference hehehe

Are you reacting to my post (i.e. the times I wrote) or is your post already based on trying it on your own page?
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 06:43:32 PM
Just installed the eq.php page
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 06:45:10 PM
Some advices on how to do some translations on the blocks would be needed please
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 07:27:42 PM
Mines look like this ;)
http://meteolacstjean.com/hebertville/index.php
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on December 23, 2015, 07:30:55 PM
Well on my side i'm having problem with the ecwarnings also... So i guess there maybe a bug in the script.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 07:37:01 PM
Hmm... really odd... The major problem is that it obviously only affects some, I just switched the DEMO at meteotemplate.com to Canada for the warnings and it works absolutely fine. I checked all the error logs on my server - nothing and the data also seems correct. My suspicion is really some compatibility issue or server settings, maybe PHP version... The only solution I can think of right now is if somebody was willing to create a limited FTP account with access to just meteotemplate folder and let me look at it, obviously someone who has this server error.

Because the major problem is that with the server error you dont see anything - what sort of error, which line... just server error and I also, since I dont have that problem I cannot simply try deleting parts of the code to see which one is causing it.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 07:52:18 PM
Ive just changed mine to qc-22... a region next to mine in red warning... for now,template is green
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 07:54:37 PM
Hmm.. so obviously, the Canada warnings block just seems to work randomly :D

As I said, I would need access to someone's FTP to debug this, the only way you can try to deal with errors when you dont know which error it is (which function, line etc.) is go step by step deleting parts of the code and then look if it is working to find the problematic part - I obviously cannot do it on my server, where it works fine even now.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 07:56:50 PM
on the plugin,setting is qc22 and working
on index,its qc-22 and not working...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 07:58:22 PM
THe plugin uses different URL, which gives data in XML format, I explained this to you on the other forum, the homepage "understands" the warnings, the plugin just copies and shows the HTML.

Either way, I now have access to one of the non-functioning servers (thanks Paul), so I am going to look at it right now
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 07:59:32 PM
OK, so now I am totally lost... Paul I just loaded your site and it works... I havent touched it at all so far...
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 08:02:30 PM
what do you mean by loaded...

take a snapshot...i gotta see this hahaha
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:04:37 PM
opened... and same for Bill, his page is now working too.... he just sent me his FTP too and I wanted to look at their sites and code and suddenly, both pages work absolutely fine, even though I have not touched anything yet
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:06:28 PM
I think I know what could be the problem, but I will need to wait before that error shows again. I will use Paul's site to experiment with this.
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on December 23, 2015, 08:07:22 PM
well that is weird... I have tried many regions that have a warning in effect and put it on my site to test and nothing hapening...
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2015, 08:16:34 PM
I am getting the error right now. 
 
I have checked the EC location and it shows URL https://weather.gc.ca/city/pages/on-137_metric_e.html (https://weather.gc.ca/city/pages/on-137_metric_e.html)
In the settings I have "on-137"  I assume the _metric _e extension is not necessary?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:17:03 PM
Hm it seems like I will have to remove the Canada warnings for now before I am able to better understand how it works. It seems to be very problematic and unreliable - or rather I am probably not working with it correctly, it is just really odd to me that it just seems to be working randomly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:17:51 PM
Paul just looking at your site now:

http://www.komokaweather.com/j-template30/

everything OK

Page loaded in about 3s and there is one warning for London
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2015, 08:21:03 PM
On my homepage there is a local warning and that looks fine.  The warningsCanada plugin still gives the error.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 08:23:34 PM
try to implement the one in the plugins page...this one always worked....even in french ;)

like we sai here...if yu run two rabbits at the same time...youll loose both of them hahaha.....so why have 2 different scripts that are saying the same thing on the same server
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:26:45 PM
I explained to you on the other forum.

Differences:

The plugin looks at one page, where it simply takes all the text there is and shows it. If it says "no warnings" - it is simply because that is what was on the page. It in now way understands what it is displaying. But this also allows it to display any description of the warning, which is always different. It just shows all the text in the warnings div.

Homepage:
The homepage on the other hand has to be able to understand the text, because we dont want to simply show just the entire page text in the block. It has to be able to count them, extract the titles etc. So it uses the XML site, which allows this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:34:27 PM
OK I might have found it...

in your warningsCanada plugin, in the dataLoader.php, try replacing



$html = curl_get_contentsRSS($url);

with


$html = file_get_contents($url);

I tried it on Paul's and it works now. But what is strange is that the homepage already uses the file_get_contens function. Well.. we will see.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 08:37:59 PM
its not the plugin that is not working...its on the index...

i never had problems in the plugin canada warning

so do i change it anyway ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2015, 08:46:20 PM
No, the homepage already uses this. But Paul's plugin was not working either and now it is...

OK, it is getting too late and I will have to go now, so:

It seems like something really odd is happenning and things seem to work randomly.

What you could to help me is this:
1. watch the site and if the index.php throws the server error - then do not refresh the page, go straight to the homepage/cache/ directory and see if there is a file called warningsCA.txt.
2. if it is there then make a copy of it and send it to me. If it isnt, then just post here and let me know.

I suspect it is all due to the fact that the EC server seems to occasionally be non-responsive. But the only way to check that is to see what is in the cache when this occurs.

Paul I made 2 changes in the scripts and we will see if it helps. Watch your site and as I said, whenever something unusual happens, check the cache and ideally download a copy of that file (and if it isnt there at all then let me know). I will continue with trying to find out the cause of this tomorrow. Also, thanks a lot to Bill and Paul for providing your FTPs, you can now work on your site however you wish, for now I will no longer work with your files.

I will deal with everything, but I have to take it one by one... just today 85 emails, which I have to try to reply to and combine that with my 2 jobs :D

THANKS FOR BEING PATIENT

This is obviously now the biggest problem so it will be priority number 1 tomorrow (though I probably wont have much time tomorrow as we celebrate X-mas here on the evening of 24th)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2015, 08:48:24 PM
Hi Jachym,
Your fix fixes it.  I have also applied the change to v.2.0 and then it works as well.
Now Meteotemplate, Saratoga and Leuven all show Special Weather Statement :!:
 
Thanks for your diligence Jachym =D&gt;
 
p.s. my v.3.0 "homepage" warnings seem to work fine. 
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2015, 08:54:02 PM
Quote
This is obviously now the biggest problem so it will be priority number 1 tomorrow (though I probably wont have much time tomorrow as we celebrate X-mas here on the evening of 24th)
Many of us will also be away or celebrating with family over the next few days, and while we will check our weather sites periodically, a little bug is not going to spoil it.. humbug!  So take your time and enjoy!
 
Merry Christmas,
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 23, 2015, 08:55:36 PM
Ive re set mine to qc-53...my own region....and also on plugin page.

Freezing rain is not far and may get a warning soon so, ill keep an eye on mines as well

thanks ;)

and merry xmas to all =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on December 24, 2015, 12:16:28 AM
Same here.  Uploaded new file and site loads much quicker.

Thank you Jachym
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 24, 2015, 06:49:55 AM
I want to add my city's climate to the complete.csv file in the climate directory because the closest one at present is 240km away.
I have been studying the contents trying to fathom it's structure. Using Brno example number 752 in the file I came up with this structure but a bit is missing. Could anyone fill in the missing bits.
I think I have it correct so far.
Any help would be much appreciated.

752;Brno;Czech Republic;cz;;Europe;No;49.15;16.6833;246;5461.1;Cfb;Cfb;DCbo;Cool temperate moist forest;

Number;City;Country;Country code;Continent;Latitude;Longitude;Height above sea level;
Followed by unknown number ;5461.1; What is it?
Climate description;
First block of 13 numbers = monthly maximum temperature and it's average;
Second block of 13 numbers = monthly average temperature and it's average;
followed by unknown numbers ;21;7.722; What are they?
Third block of 13 numbers = monthly minimum temperature and it's average;
Next block or 13 numbers = average monthly rainfall and it's total;
followed by unknown numbers ;48;17.516; What are they?
Next block of 13 numbers  = monthly wet days and it's total;
Next block of 13 numbers = average monthly hours of sunlight and total;
Next block of 12 numbers = monthly average humidity;

Followed by ;75;20; Average humidity and annual humidity range
The last block = monthly day length;
Last number ;472" is unknown What is it?
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on December 24, 2015, 07:43:08 AM
i've check the warningCA.txt and it's empty...


Merry christmas all! :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2015, 10:25:15 AM
I want to add my city's climate to the complete.csv file in the climate directory because the closest one at present is 240km away.
I have been studying the contents trying to fathom it's structure. Using Brno example number 752 in the file I came up with this structure but a bit is missing. Could anyone fill in the missing bits.
I think I have it correct so far.
Any help would be much appreciated.

752;Brno;Czech Republic;cz;;Europe;No;49.15;16.6833;246;5461.1;Cfb;Cfb;DCbo;Cool temperate moist forest;

Number;City;Country;Country code;Continent;Latitude;Longitude;Height above sea level;
Followed by unknown number ;5461.1; What is it?
Climate description;
First block of 13 numbers = monthly maximum temperature and it's average;
Second block of 13 numbers = monthly average temperature and it's average;
followed by unknown numbers ;21;7.722; What are they?
Third block of 13 numbers = monthly minimum temperature and it's average;
Next block or 13 numbers = average monthly rainfall and it's total;
followed by unknown numbers ;48;17.516; What are they?
Next block of 13 numbers  = monthly wet days and it's total;
Next block of 13 numbers = average monthly hours of sunlight and total;
Next block of 12 numbers = monthly average humidity;

Followed by ;75;20; Average humidity and annual humidity range
The last block = monthly day length;
Last number ;472" is unknown What is it?

Hi Colin,

well first of all sorry for that, in fact you are absolutely right, I should have written some documentation for it, but when I originally made this I never thought about the actual fact that someone would want to add something...

I am right now going to work more on things other than the actual development - i.e. I am preparing detailed documentation for the plugins (which are currently also only described in the blog posts, which is not ideal, because there is now over 50 of them - this worked before, but this system is no longer fulfilling its purpose), I want to improve the wiki (I plan on including video manuals etc.) and I also want to extend the FAQ section based on many different questions I get every day, some of which occur repeatedly.

But obviously this is going to take me some time, so before I make this in some more formal way, I will give you the field descriptions here in advance:

unique ID
Name
Country
Country Code
Region
Continent
Capital (Yes/No)
Lat
Lon
Elevation (m)
Distance from equator (calculated based on latitude)
Climate type (corresponds to next field - Koppen, the data were originally taken from sources, where this was already given, if not then the first climate field gives the Koppen climate that was calculated based on the actual criteria by the template, but either way, this one and the next can stay the same)
Climate type - Koppen
Climate type - Trewartha
Biome
Next 12 - Tmax (Jan, Feb, Mar,.....)
Annual avg Tmax
Tavg annual range (i.e. the range between max monthly Tavg and minimum monthly Tavg)
Tavg standard dev.
Next 12 - Tavg (Jan, Feb,.....)
Annual avg Tavg
Next 12 - Tmin (Jan, Feb,...)
Annual avg Tmin
Next 12 - Monthly average total precipitation
Annual precipitation total (i.e. sum of previous 12 numbers)
Precipitation range (i.e. again, difference between highest monthly and lowest monthly average total precipitation)
Monthly precipitation standard dev.
Next 12 - average number of monthly wet days (i.e. days with rain)
Total annual average number of monthly wet days (sum of previous 12 columns)
Next 12 - average daily sunlight for that month (in minutes/day)
Average annual daily sunlight (average of previous 12)
Next 12 - average humidity (Jan, Feb....)
Annual humidity average
Next 12 - average day length (in minutes, in months like Jan etc. it would correspond to the 15th approximately, but in for example June this would be different, because that is when it first gets longer, than shorter or vice versa, either way, this can be calculated from the latitude)
Day length range - (range between maximum average monthly daylength and minimum - i.e. range between the max and minimum number from the previous 12 columns).

Some of the above numbers can be calculated - day length, etc. So I think the script must have those, but some are optional (Tmax, Tmin, Humidity, Sunlight....). In case you don't have data for particular parameter, put in "-9999" and the script will ignore that parameter and hide it on the page.

Sorry for the confusion, as I said, I now want to focus on tweaking all these things not directly associated with coding, but rather improve wiki, FAQ and also I want to improve some parts of the code to be able to more efficiently debug.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 24, 2015, 12:28:06 PM
OK I might have found it...

in your warningsCanada plugin, in the dataLoader.php, try replacing



$html = curl_get_contentsRSS($url);

with


$html = file_get_contents($url);

I tried it on Paul's and it works now. But what is strange is that the homepage already uses the file_get_contens function. Well.. we will see.

Tried the above on my page but no joy!

http://www.sanfordweather.com//meteo/plugins/warningsCanada/index.php

Not to worry, it's Turkey Time!!

Best wishes to all this Christmas Season.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2015, 01:11:08 PM
Bill thanks for the FTP access and as you can see, this always helps:

http://www.sanfordweather.com//meteo/plugins/warningsCanada/index.php

I will make the corresponding changes in the actual plugin script as well.

OT: It is not turkey time :D
In Czech it is carp time ;)

(http://www.dpi.nsw.gov.au/__data/assets/image/0015/318300/Common-carp-Pat-Tully.jpg)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 24, 2015, 02:14:18 PM
Bill thanks for the FTP access and as you can see, this always helps:

http://www.sanfordweather.com//meteo/plugins/warningsCanada/index.php

I will make the corresponding changes in the actual plugin script as well.

OT: It is not turkey time :D
In Czech it is carp time ;)

(http://www.dpi.nsw.gov.au/__data/assets/image/0015/318300/Common-carp-Pat-Tully.jpg)

Thanks! I'll have to take a look and see if I can spot what you changed.

Carp eh? Learn something new every day!
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on December 24, 2015, 05:53:02 PM
Hi Jachym,

Merry Christmas, Sir!!!!  A quick question. I updated to 3.0, very cool by the way, and set the index.php page to use the realtime.txt file every 30 seconds, but is isn't updating at all.

These are the files I have changed:

   $currentConditions = "cumulus";
   
   //    Set the update interval in seconds. When selecting this take into account how often your text file/database is updated. Updates are performed by AJAX requests, so it should not affect the actual loading time of your homepage.
   $updateInterval = 30; // in seconds
   
   //   Set the path to your update file. Specify absolute or relative path to clientraw.txt/realtime.txt/mbLive.txt, if you use the option to update from database, leave blank.
   $filePath = "realtime.txt";


Are there any others I need to look at ?

Thank you very much,

John
Title: Re: Meteotemplate - new free website template
Post by: BertSP on December 24, 2015, 06:19:48 PM
Hi Jachym,

Merry Christmas, Sir!!!!  A quick question. I updated to 3.0, very cool by the way, and set the index.php page to use the realtime.txt file every 30 seconds, but is isn't updating at all.


John,
FYI, I have been using v3 for a couple of days. I am not getting any auto-update on any Microsoft browser (IE or Edge), F5 works, however it works great on Chrome. If its browser sensitive, Jachym is aware of it.
Merry Xmas to all.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on December 24, 2015, 06:28:16 PM
Hi Bert,

Thanks for the response.  I am using Chrome, and just tried Firefox and got the same results.  You can see here (http://www.sacrey.info/meteotemplate/index.php). 

John
Title: Re: Meteotemplate - new free website template
Post by: BertSP on December 24, 2015, 06:41:07 PM
John,
Have you tried different Path, like absolute? I did not realize you did not get ANY update.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on December 24, 2015, 07:07:56 PM
Tried absolute, no change which is strange because the realtime.txt file resides in the meteotemplate folder right along with the index.php, etc. ](*,) ](*,)

Relative path worked!!!!!!  Thank you for reminding me of that. \:D/ \:D/

Merry Christmas!!!!!


John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2015, 07:08:56 PM
Just tried it, it is updating
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2015, 07:33:57 PM
I received several emails with regards to Yahoo forecast showing outdated data.

Unfortunately, the scripts are working fine, but it is a major bug in Yahoo's API, also experienced by other developers, including Wim and his Leuven Template.

Yahoo is obviously aware of it but they did nothing despite the fact people are complaining every day on their forum and their support page link shows "Page not Found"...

This is probably what you can expect from a free service that does not require even an API key... all we can do now is set your Yahoo block forecast to false if the problem persists until it is solved.

more info also here: http://www.wxforum.net/index.php?topic=27928.msg273249#msg273249
Title: Re: Meteotemplate - new free website template
Post by: Ian. on December 26, 2015, 11:10:55 AM
Thanks for a great template Jachym, just finished getting configured now, boy have you put a lot of effort and thought into it, its a credit to you and it is very much appreciated

I saw on an earlier post a black outline image for a Davis Pro, I've attached a white one (if you can see it!) for use on a dark background meteotemplate, hope it's of use.

Cheers

Ian


EDIT - I didn't realize Jachym had made extra icons here - http://www.meteotemplate.com/web/extras.php (http://www.meteotemplate.com/web/extras.php)  :oops:
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 26, 2015, 11:21:13 AM
Hello ladies...its been a sad xmas here but now...gotta move on...im trying to implement steelseries live gauges but,being no script expert, i think only one file is messing the settings options tab.

everything works but as soon as i replace this part,<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>

the gauges continues working but the settings icon disappears and everything is showing up at the bottom of the index.php page

ive tried numerous emplacement of the script link like before or after head or body ... but :???:

thanks

heres the link http://meteolacstjean.com/hebertville/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2015, 11:33:33 AM
My guess:

scripts clashing, just delete the jQuery, it is used by the template too, so it is already included in the header and you are now trying to load it again
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 26, 2015, 11:44:29 AM
ok..well...now its ok but,datas arent loading now hehe...ahh well :sad:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2015, 11:48:44 AM
OK, well there could be some clash between variable names etc., Im not an expert on Steelseries, but I know it is a relatively large block of code and quite likely there is a problem "somewhere" in those hundreds of lines... unfortunately since I have not developed myself and don't even know what exactly you have done, it is difficult to try to help, I will try to see if I can spot the problem, but cannot guarantee. It is always hard to offer support if you do things and use code that I have not seen myself.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 26, 2015, 11:50:19 AM
Its alright,no big deal...did you find a fix for the warnings ?..
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 26, 2015, 11:52:18 AM
im looking at the index9.php of your live gauges......im now suffering of jaw dislocation hahaha :P
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2015, 11:55:13 AM
There is some error in the console, but it is probably all interconnected and there is likely to be many errors now in the Steelseries script.

With regards to live gauges, that uses a completely different script, nothing to do with steelseries, but if you looked at the code, it at least gives you an idea of how much code there is behind these gauges and the Steelseries are the same thing, so I would say including this with all the rest of the template is more likely to produce errors than not.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 26, 2015, 11:56:54 AM
You know me...im gonna give it a try anyway hehehe ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2015, 11:58:23 AM
Also, if you are wondering why I did not include some sort of gauges showing the current conditions and rather went for simple numbers at the top - the answer is simply loading time. Now that you saw the code for these gauges (and if you want you can also look at the Steelseries, but don't forget to also look at the size of the code of the scripts that are included by steelseries) and now imagine how demanding that must be on the browser - it has to go through all this javascript and then render the gauges.

There is already quite a lot on the homepage that the server must do  - calculate all the stats, current conditions, eclipses, astro events, world weather, radars, earthquakes, meteor showers, world time, add the webcams.... so if you want your page to be loading within some reasonable amount of time, you have to go for the simple numbers and have gauges separate (the fact I like simple numbers more anyway is just my personal opinion, but it must be said that numbers are also much more clear).
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 26, 2015, 08:44:42 PM
Hi Bill,

I think it is a misunderstaning. The default version of the template does not include any plugins. Therefore those icons are not there as they are only there when you download that particular plugin and install it.
But to make it easier, I included links to all the currently available plugins in the menu and commented them out, so that when you install a new plugin, you don't have to add the links and code, you simply uncomment the plugins that you installed.
Also, the homepage is absolutely independent and can be used without any other plugins. And unless you download and install the Canada Radar plugin, that particular plugin will obviously not work if you just uncommented it in the menu.
The fact that your images dont work is a different matter, but I really think that has to be something with rejected access from EC.

Both the US and Canada Radar plugins were downloaded and installed, I uncommented the bits in the stock menu.php to enable them but they wouldn't show as the icons are missing from the plugin download!

Sorry probably should have worded my comments a bit better!!

Regarding the EC Radar, using a hacked bit from Ken's Saratoga template set will show the radar images, so I'm not convinced that there is anything rejecting access.  Anyway, it's not a big deal, it will get sorted out at some point... Edit, just remembered that EC made some changes back in late November, wonder it that's causing the problem, but then why is Paul's site working fine????????

I will look into it and let you know.

Just for laughs I change the default php version on my server back to 5.4, I was using 5.6 and now the CanadaRadar both on the Homepage and the canadaRadar plugin are now working!!

I think I can try v 5.5 also but will leave that for tomorrow!

http://www.sanfordweather.com//meteo/plugins/canadaRadar/radar.php

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2015, 09:07:55 PM
Interesting!

I myself use 5.4. I could upgrade too, my webhosting provider offers 5.6, but because I want to make sure it works for the majority, I sticked with 5.4 and I also try to make it compatible even with 5.3. This is the first time I see something working in 5.4 and not working in 5.6 (I think the only time I had to change something was the preg_match command, which has to be modified slightly, because the older way of doing it still worked in 5.4, but not in 5.6 - but again, this was already announced as obsolete for 5.4 and even though this version still was able to use it, I did not use it anywhere in my template.

Thanks for mentioning that, I will look into it.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 27, 2015, 07:51:18 AM
Did you find something for the Canada warning in the sour cherry index not working ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2015, 07:54:08 AM
No it seems like it was a temporary problem with ec,  is yours still not working?
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 27, 2015, 07:55:33 AM
Dunno,no warnings yet here so...
 but i could try another region
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on December 27, 2015, 07:57:05 AM
Theres a warning for quebec city... qc47...ill put it in the index
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 27, 2015, 01:02:06 PM
Interesting!

I myself use 5.4. I could upgrade too, my webhosting provider offers 5.6, but because I want to make sure it works for the majority, I sticked with 5.4 and I also try to make it compatible even with 5.3. This is the first time I see something working in 5.4 and not working in 5.6 (I think the only time I had to change something was the preg_match command, which has to be modified slightly, because the older way of doing it still worked in 5.4, but not in 5.6 - but again, this was already announced as obsolete for 5.4 and even though this version still was able to use it, I did not use it anywhere in my template.

Thanks for mentioning that, I will look into it.

Just for info I upgraded to php 5.5.30 and the canadaRadar still works so something changed between this version and the 5.6.x I was running broke it.

Hope that helps.

Bill
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on December 28, 2015, 04:39:21 AM
Hi, Jachym

Best of holidays for you and your family from Antwerp, Belgium! I implemented your sour cherry, i have already updated EQinfo file, but i still have a minor glitch and that is this one :  http://www.akker.be//template/plugins/co2/monthlyAjaxTableGlobal.php  Any ideas?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2015, 06:08:42 AM
Hi, Jachym

Best of holidays for you and your family from Antwerp, Belgium! I implemented your sour cherry, i have already updated EQinfo file, but i still have a minor glitch and that is this one :  http://www.akker.be//template/plugins/co2/monthlyAjaxTableGlobal.php  Any ideas?

Hi the plugin seems to work fine in the DEMO and should work fine with Sour Cherry. However, I noticed that the problem is in the fact you site is unable to access the page with the CO2 data - and if you have a look, it does not work on the homepage either. For some reason there is some problem in communication with the external source - in this case NOAA.gov from where the data is loaded.
Title: Plugins Documentation
Post by: Jáchym on December 28, 2015, 11:41:36 AM
There is now a new section on the Meteotemplate homepage in the plugins section.

Basically, up until now, the information about individual plugins was only available in the corresponding blog posts. Over time I realized this is not the ideal way of doing it and as there is now over 50 different plugins available it was becoming quite disorganized.

I therefore created for each plugin a dedicated page with all the information about it - description, main features, how to install it and of course a direct link to download, demo and comments page in the blog.

I hope it helps in the future with choosing and installing already existing and new plugins.

These pages can now be accessed if you go to the plugins section and there is now a new "info" icon next to each plugin, which will take you to that particular one.

I also modified the homepage slightly to show the new homepage.

http://www.meteotemplate.com/web/plugins.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 28, 2015, 05:42:32 PM
While I had no problem with the former downloads/instructions this change is easier and helpful, thanks.

There are so many plugins and information screens it is easy to forget what all is included in the template and plugins.  For instance http://www.komokaweather.com/j-template30/pages/station/climateT.php#

I was comparing the demo pages to my pages and noticed the difference in date format.  I have it as 2015-12-28 and the demo is Dec 28, 2015.  Where would I change the settings?  I've looked in config.sys and in the main index.php but haven't come across the settings for this.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2015, 05:53:49 PM
While I had no problem with the former downloads/instructions this change is easier and helpful, thanks.

There are so many plugins and information screens it is easy to forget what all is included in the template and plugins.  For instance http://www.komokaweather.com/j-template30/pages/station/climateT.php#

I was comparing the demo pages to my pages and noticed the difference in date format.  I have it as 2015-12-28 and the demo is Dec 28, 2015.  Where would I change the settings?  I've looked in config.sys and in the main index.php but haven't come across the settings for this.

Thanks,
Paul

Hi Paul,

you are right, you did not have any problems - but the reason for that is because you have been watching meteotemplate right from the beginning. So any time I released something new, it was the newest post in the blog, it was being discussed here etc etc. But now imagine someone just installing the template now and now they want to install the plugins... and the only way to do it is search through the blog. It was working at the beginning, but I never expected this to be so well received and so right now, with over 50 plugins and hopefully many more coming, it would not be ideal any more.

With regards to the date - yes, what you have is the default format, which I changed in the demo because the majority of Meteotemplate users are from the U.S. or Canada, so I wanted to use that format.
This can all be set up in the config.php:

/ Date/Time formats
   $dateFormat = "Y-m-d"; // date format - see http://php.net/manual/en/function.date.php
   $timeFormat = "H.i"; // time format - see http://php.net/manual/en/function.date.php
   $dateTimeFormat = "Y-m-d H.i";
   $prefferedDate = "M"; // in general preferred date format - M (metric) or US
   $prefferedTime = "24h"; // in general preferred time format - 12h (with AM/PM) or 24h
   $firstWeekday = 1; // first day of the week: 0 for Sunday, 1 for Monday
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 29, 2015, 02:33:40 PM
Hi Jachym;

Very nice work on the Sour Cherry release.  Thank you!

I am having a strange minor problem with the Weather Underground forecast on my Meteo home page at http://www.kpw3.com/meteo/ (http://www.kpw3.com/meteo/)

What I have learned is that for the WU forecast to work one MUST also specify the US state in $wuCity IF the name of the city they live in is found in more that one state, eg., "Springfield" or "Bangor."

Since there are a number of US cities named "Bangor" the WU json output when using the query:

Code: [Select]
http://api.wunderground.com/api/<myAPIKey>/forecast10day/q/us/bangor.json
Is this:

Code: [Select]
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "forecast10day": 1
  }
, "results": [
{
"name": "Bangor",
"city": "Bangor",
"state": "ME",
"country": "US",
"country_iso3166":"US",
"country_name":"USA",
"zmw": "04401.1.99999",
"l": "/q/zmw:04401.1.99999"
}
,
{
"name": "Bangor",
"city": "Bangor",
"state": "ME",
"country": "US",
"country_iso3166":"US",
"country_name":"USA",
"zmw": "04402.1.99999",
"l": "/q/zmw:04402.1.99999"
}
,
{
"name": "Bangor",
"city": "Bangor",
"state": "NY",
"country": "US",
"country_iso3166":"US",
"country_name":"USA",
"zmw": "12966.3.99999",
"l": "/q/zmw:12966.3.99999"
}
...<snip>
As a result I get a "forecast unavailable" message on the homepage when selecting WU as the source.  If I make $wuCity = "BGR"; in forecastinfo.php then the forecast works.
Of course, then the forecast heading is just "BGR" on the homepage and I would prefer it was "Bangor, Maine."

So, if I change $wuCity = "Bangor, ME"; << (notice the space between the comma and the ME) then once again I get the forecast error. if I take out the space then it works properly.

Thoughts? 

BTW, it is perfectly acceptable for you to say "live with it!"  :-) since this is not a serious problem. 

I suspect there is a way syntactically in PHP to add the space but I have been unable to find it.  &nbsp; does not work nor does ""

Happy New Year,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2015, 02:51:21 PM
OK, so just to clarify, when I look at your site now, I see "Bangor,Maine" - what you want is "Bangor, Maine" - right?
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 29, 2015, 02:53:02 PM
Right!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2015, 02:55:27 PM
OK, then probably easiest thing to do is hard-coding it.

Open homepage/forecastInfo.php

Then at the bottom, it should be around line number 375,

there is:
Code: [Select]
$forecastStr = "<h2>".$$forecastCityName."</h2><table style='width:98%;margin:0 auto'><tr>";
So just before that line, insert this line:

Code: [Select]
$forecastCityName = str_replace(",",", ",$forecastCityName);
Save and see if it does the job
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 29, 2015, 03:15:01 PM
That's done it!

It was line 745, btw.

I think that is pretty good support for free.  =D&gt;

Thanks very much.

..now to install some plugins!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2015, 03:20:28 PM
That's done it!

It was line 745, btw.

I think that is pretty good support for free.  =D&gt;

Thanks very much.

..now to install some plugins!

:D Thanks, I always try to help.... just got home from work at 7PM, it is now 9 and while at work I got 17 emails, so I am about half way done :D I guess it is because of the recent update. People either have questions/problems with the actual update, or some decided to use the template who did not use it at all before and are now trying to install it, it is especially difficult for those who don´t speak English, because the Wiki is only in English.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 29, 2015, 05:03:46 PM
So.....now I've broken my warnings!  LoL.  :roll:

The reason is because this query:
Code: [Select]
https://alerts.weather.gov/cap/maine.php?x=0returns: "Not Found The requested URL /cap/maine.php was not found on this server" from NWS who apparently don't understand "Maine" but do understand "ME"

So, back to ME it is!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2015, 05:11:42 PM
just open warningsInfo.php and then find the line for US and hardcode it:

Code: [Select]
$urlWarningsUS = "https://alerts.weather.gov/cap/SOMETHING.php?x=0";
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 29, 2015, 05:17:02 PM
Good idea.  Sorry, should have thought of that without bothering you.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2015, 05:22:31 PM
No problems, important is to make it work   ;)
Title: New FAQ section
Post by: Jáchym on December 30, 2015, 10:03:25 AM
Based on your feedback, questions and suggestions I have created a new FAQ section, which includes information about the template and how to work with it.

It is divided into several sections, one deals with general information, one is to help you with installation, one is about the template in general and last but not least there is also a “troubleshooting” section, which includes answers and solutions to the most common problems.

I will be adding more as people ask new questions and new problems arise. I hope it helps both me and you in saving time and solving problems.

http://www.meteotemplate.com/web/faq.php (http://www.meteotemplate.com/web/faq.php)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 30, 2015, 03:29:17 PM
An excellent job again Jachym.  Something most of us can still learn something from.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2015, 05:33:33 PM
Thanks Paul. If you have any suggestions what I should add let me know. I will be adding stuff whenever people ask some new question or a new potential problem arises.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 30, 2015, 05:46:43 PM
Nice Job!

Learned a bunch already =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2015, 05:54:40 PM
Nice Job!

Learned a bunch already =D&gt;

Really? :D That surprises me, it was more meant for new users - I made it in a reaction to the recent new homepage, because it looks like the old homepage is what was discouraging people from trying Meteotemplate and so after v.3 release I was getting tens of emails asking similar questions and similiar problems.

But of course Im glad that it helped you too.
Title: Re: MERRY CHRISTMAS - METEOTEMPLATE 3.0 Sour Cherry
Post by: Skyview on December 31, 2015, 05:18:48 AM
NEW Homepage - highly customizable, easy to set up and interactive homepage. The homepage is now made up of something I called "blocks". Think of these as "plugins for the homepage". You as webmaster choose which blocks you want. Some of them are region-specific for example, so you can add blocks with radar for various regions etc. Currently supported are Europe, US, Canada and Australia.

Summary of some of the new features on the homepage:
- realtime updates (either from db or directly from textfiles - clientraw, realtime, meteobridge)
- station info
- warnings
- radar images (national, regional)
- forecasts (several services available)
- current conditions in unlimited number of webmaster defined cities (conditions, temp, humidity etc.)
- current time in unlimited number of webmaster defined cities (time, sunrise, sunset, day length etc.)
- unlimited number of webcams
- astro info (Sun and Moon rise, set, transit, day length, night length, seasons, Moon phases)
- current and upcoming eclipses (solar and lunar), meteor showers, interesting astronomy phenomena
- weather glossary
- links to weather networks
- current significant/close earthquakes
etc.

First of all, thank you for the Christmas present to the community and continuing to develop and mature the template. The "blocks" thing made me laugh. I had that as an idea I was going to add to your spreadsheet a long while back when I was doing pre-release testing for you. I've been running an SMF forum for several years that uses TinyPortal (now out of date) which also uses blocks/articles/etc for the portal's home page. That's what gave me the idea to suggest it but guess I forgot among all of the testing and other stuff going on. Nice to give users more configuration options for their homepage.

Hopefully I'll get the time to upgrade at some point in 2016. I'm so far back now that I will most likely need to do a complete clean install and apply each of my mods individually. Truth is, the site is working fine as is and I really don't have the time to dedicate to it right now. Thanks again and hoping things continue to go well for you and adoption of Meteotemplate.
Title: Re: MERRY CHRISTMAS - METEOTEMPLATE 3.0 Sour Cherry
Post by: Jáchym on December 31, 2015, 05:34:45 AM
NEW Homepage - highly customizable, easy to set up and interactive homepage. The homepage is now made up of something I called "blocks". Think of these as "plugins for the homepage". You as webmaster choose which blocks you want. Some of them are region-specific for example, so you can add blocks with radar for various regions etc. Currently supported are Europe, US, Canada and Australia.

Summary of some of the new features on the homepage:
- realtime updates (either from db or directly from textfiles - clientraw, realtime, meteobridge)
- station info
- warnings
- radar images (national, regional)
- forecasts (several services available)
- current conditions in unlimited number of webmaster defined cities (conditions, temp, humidity etc.)
- current time in unlimited number of webmaster defined cities (time, sunrise, sunset, day length etc.)
- unlimited number of webcams
- astro info (Sun and Moon rise, set, transit, day length, night length, seasons, Moon phases)
- current and upcoming eclipses (solar and lunar), meteor showers, interesting astronomy phenomena
- weather glossary
- links to weather networks
- current significant/close earthquakes
etc.

First of all, thank you for the Christmas present to the community and continuing to develop and mature the template. The "blocks" thing made me laugh. I had that as an idea I was going to add to your spreadsheet a long while back when I was doing pre-release testing for you. I've been running an SMF forum for several years that uses TinyPortal (now out of date) which also uses blocks/articles/etc for the portal's home page. That's what gave me the idea to suggest it but guess I forgot among all of the testing and other stuff going on. Nice to give users more configuration options for their homepage.

Hopefully I'll get the time to upgrade at some point in 2016. I'm so far back now that I will most likely need to do a complete clean install and apply each of my mods individually. Truth is, the site is working fine as is and I really don't have the time to dedicate to it right now. Thanks again and hoping things continue to go well for you and adoption of Meteotemplate.

Thank you very much! Btw., the fact you had that idea with the blocks does not surprise me - we probably have similar way of thinking because it already happened several times that you did suggest something and it was something that I already was working on or at least had in my head :)

With regards to your web - I completely understand that when things work, there is no need to change them, unless you really are after the new features. Unfortunately given you are I think still using version 1.x, you would have to use the full download package, the update package won´t work. I decided the update packages and especially the update instructions will always only be concerned with updating from the previous version. I guess it would be possible now to try to make one even for 1.0->3.0, but in the future this would become even more problematic. In version 4, I would already have to create 3 different update packages and this number would increase with every new update, so I just decided to always release one full package and one update from last version.

Nevertheless I think that if you only wanted the new homepage, that would actually be quite simple to do, because the homepage runs more or less autonomously, in other words it uses completely newly written scripts, which are all in the 3.0 update package. If that was the case let me know and I will see what all needs to be updated and try to help you with it.

And of course happy New Year to you too!
Title: New Plugin - Extended Graphs
Post by: Jáchym on December 31, 2015, 11:32:01 AM
OK, so last plugin for this year.... and I hope you will like it. Based on the responses I got so far from the questionnaire, majority of you like especially plugins related directly to your station. So here is a new one.

Extended Graphs
Main features:
- interactive graph of different parameters
- possibility to choose graph type (line, spline, area, column)
- enable/disable labels, data points
- possibility to change time span
- sortable data table of currently viewed data points
- summary statistics for currently viewed data points
- data grouping – days, months, years
- possibility to choose which daily value you want – average, maximum, minimum
- graph export to image format
- everything using Ajax and Javascript – i.e. no need to refresh the page, very fast loading times
- possibility to differentiate between positive/negative temperatures using different colors
- automatically uses units defined in config.php or corresponding to the user selection if necessary

Installation probably cannot be simpler - everything is described in the associated page (already part of the new plugins documentation section)

DEMO:  http://www.meteotemplate.com/template/plugins/extendedGraphs/index.php (http://www.meteotemplate.com/template/plugins/extendedGraphs/index.php)
Info/comments/download: http://www.meteotemplate.com/web/plugins/extendedGraphs.php (http://www.meteotemplate.com/web/plugins/extendedGraphs.php)

I would also like to thank those of you who took the time and provided very valuable feedback. If anyone else is still willing to share their opinions (and I am definitely not looking only for answers of those who use Meteotemplate, but anyone), it is still opened and can be found here:
https://docs.google.com/forms/d/114A6zXMS1wFRaJFby_M99J1ej-witC3zJbrYEYo-dHA/viewform (https://docs.google.com/forms/d/114A6zXMS1wFRaJFby_M99J1ej-witC3zJbrYEYo-dHA/viewform)

Last but not least: HAPPY NEW YEAR
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 31, 2015, 02:43:46 PM
Very nice Jachym.  And the graph shows that we had an above average December this year compared to the 8 previous Decembers.
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 01, 2016, 02:30:59 PM
OK, then probably easiest thing to do is hard-coding it.

Open homepage/forecastInfo.php

Then at the bottom, it should be around line number 375,

there is:
Code: [Select]
$forecastStr = "<h2>".$$forecastCityName."</h2><table style='width:98%;margin:0 auto'><tr>";
So just before that line, insert this line:

Code: [Select]
$forecastCityName = str_replace(",",", ",$forecastCityName);
Save and see if it does the job

Jachym, I was struggling with the same problem and adding this line fixed it for me also.

Thank you!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2016, 02:35:59 PM
Great, I will see if I can add it automatically in the next update.

The reason I used no spaces is because it is used for the attempt to automatically recognize your location and some services don't recognize the string if it contains spaces, but for display on the site you of course want to have it there.
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 01, 2016, 02:41:59 PM
just open warningsInfo.php and then find the line for US and hardcode it:

Code: [Select]
$urlWarningsUS = "https://alerts.weather.gov/cap/SOMETHING.php?x=0";

Jachym, in my part of the country, the NWS provides warnings at the county and sub-county level, so I've hardcoded this line with the code for my area.  Now I'm just waiting for NWS to issue an alert to test.  It would be a nice option in the future to be able to select the more granular warnings.

Thanks again!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2016, 03:26:12 PM
Hi Chris,

yes of course, I actually got several similar requests by email, one for example asking for more precise warnings for Italian regions.

It is obvious I was not able to include them all.. for all countries :D Each service has a different way of how they report their data, some give it as XML, some use JSON and even the structure and actual content differs for each. This means that there must be a customized script to analyze every single one of them that will be able to analyze it and then create a unified output that could be displayed in the homepage block. I tried to use the ones that are global and the most used ones. It is obviously not so much a technical issue, but rather a compromise.

I plan on adding new ones and NWS and EC are probably the most obvious choice for extending this. In your case however, I think NWS is good in that it is consistent so the structure of the XML should be the same and it should work as it is, just changing the URL.

Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 03, 2016, 10:29:23 AM
Jachym,

  The Global Snow plugin is giving a "550 Failed to change directory" error.  I've checked several locations, including the Demo, and they are all having the same issue.

John
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 03, 2016, 10:52:08 AM
Hi John,
Yours and others I have checked seem to be ok now.  Should I be looking elsewhere than Weather Snow/Ice?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 03, 2016, 11:05:31 AM
Hi John,
Yours and others I have checked seem to be ok now.  Should I be looking elsewhere than Weather Snow/Ice?
 
Paul

The Weather Snow/Ice is the correct plugin.  When clicking on Global map,  Fire Fox comes up with the error message.  The error doesn't show up with IE, but with both browsers I don't get the ice/snow cover and snow cover global maps. 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 03, 2016, 11:25:07 AM
Got it... the same here, Error message box on FF when clicking on the global map image, but not in IE10.  Then after clearing error box most of the side menu items get the [ x ] and no map, and the same in IE.
 
Selecting individual USA and Canada and Europe maps seem to work fine.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 03, 2016, 11:55:24 AM
Hi,
thanks for letting me know, there is probably some change in the external data structure, I will have a look at it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 03, 2016, 12:38:43 PM
OK, so I checked the problem.

The data for those images are taken from the public NOAA server. I just checked the FTP and for some reason they did not upload an image for today, the series ends on January 2nd. There is obviously nothing I can do about it other than removing those images and pages from the plugin, but my suggestion is we wait a couple more days. Looking at the data, it was ok until today, it is the first day now that they did not upload the images for any of their services - it could be some temporary problem however, so I would wait and see what happens in the next days.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 03, 2016, 01:09:01 PM
That sounds like the reasonable approach.
 
Thanks Jachym,
Paul
Title: Meteotemplate 3.1 Black Cherry
Post by: Jáchym on January 04, 2016, 11:46:25 AM
Hi,

not long since the last major update was released and there is now a minor update, which brings one very important new feature as well as a few minor bug fixes and optimizations related to the new homepage. This is not just to fix some bugs, but also based on the recent feedback form where most of you preferred minor updates more often. You can now download and upgrade to Meteotemplate 3.1 Black Cherry.

The major new feature is a brand new system of translations. At meteotemplate.com you can now submit trnaslations directly, download up-to-date language files etc. Strings are saved in a centralized database which also makes translating plugins much easier and the functions for custom strings were also improved (all described in the translation section at meteotemplate.com). You can directly add your own and help translating, you even get suggested translation using the online translating services.

Other changes include major optimization of the homepage to speed up loading time and a few minor changes and new customizations on the homepage.

Upgrade is very easy and should not cause any problems, but make a backup. Most of the files require change because the new language files have a different format (JSON) and also the homepage files are updated and some bugs fixed. No changes were made to the menu etc. Also the header now uses slightly different way of retrieving data which will make it much easier for new installations.

More information and detailed description: http://meteotemplate.com/blog/?p=354
New translations section: http://www.meteotemplate.com/web/translations/index.php

(http://i66.tinypic.com/2ut4zgo.png)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 04, 2016, 12:06:24 PM
is there a fix for the canada warning in the index page...not the plugin ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2016, 12:09:58 PM
What do you mean fix? No I havent changed anything, the canada warnings section worked fine did it not? And if you made any changes, you don´t need to replace this one, there was a problem with the EU warnings.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 04, 2016, 12:15:14 PM
Nope it was not...we were 2-3 canadian individuals having problems with the Canada Warning and discussed about it...The last time i heard of it ,you were saying that you would have to investigate more why it was working erratically...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2016, 12:25:41 PM
Yes, I remember, but what I fixed was the plugin not this, here the problem is EC... it sometimes works and sometimes doesn´t and from what Ive read, EC causes problems in other scripts and other templates as well unfortunately.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2016, 12:48:56 PM
One more thing I forgot to mention,

the new system now allows much easier translations of plugins for several reasons:
1. anyone can translate anytime and I will then be able to quickly update the language files
2. language files are now separate from the template - so no need to wait for major template update to get the new strings (before I released several plugins before next template update, so it was N/A)
3. the way the new system works allows making the plugins in such a way that it will work fine without translations, but once they are available, they will automatically appear just by updating the language file - no changes to the plugins.

So I will now try to gradually release updates of all the plugins, which currently are mostly only in English.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 04, 2016, 01:38:18 PM
NEW – possibility to set particular blocks on the homepage collapsed by default...

where do we set this ? did not see it on the blog
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 04, 2016, 02:17:42 PM
Jachym

Noticed a /pages/climate folder in the update download that I don't recall you mentioning in the Blog, I assume the contents of that need uploading to the working server also

Right?

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2016, 02:32:08 PM
Oh good point, I probably actually included this just accidentaly, I mean, there is probably no change in the files, but if you overwrite the originals it should also work just fine.

Carl:
It is in the settings of the new index.php. If you  look at the settings section at the top, you copy your original and then below that there is now a set of new parameters, for most of the blocks, where you set true/false if you want or do not want them to be collapsed (see the comments in the file)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 04, 2016, 03:06:29 PM
I'm noticing something a bit strange, first time I log onto my site http://www.sanfordweather.com//meteo/index.php
Any of the menu items I've added will show the icon but not the text, as soon as I navigate to one of these pages the next time I access the menu the text appears?

I've double checked that I've uploaded all the files...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2016, 03:24:22 PM
I'm noticing something a bit strange, first time I log onto my site http://www.sanfordweather.com//meteo/index.php
Any of the menu items I've added will show the icon but not the text, as soon as I navigate to one of these pages the next time I access the menu the text appears?

I've double checked that I've uploaded all the files...

Oh... I see what you mean and I see the problem. The links are actually there. The problem is that the homepage uses slightly different styling and on your page, this does not work correctly because of the fact you are using blue for both the colors. Basically if you look, the menu items text is there, it just blends with the backgroud. You actually just happened to have that one combination that seems to be problematic (when looking at the code) - same colors for both designs and light theme... what you could do is simply delete this from the index.php styling:
Code: [Select]
a {
color:#<?php echo $color_schemes[$design]['800']?>;
}
a:link {
color:#<?php echo $color_schemes[$design]['800']?>;
font-variant: small-caps;
}   
a:visited {
color:#<?php echo $color_schemes[$design]['800']?>;
}

or replace it with this:

a {
                  color:black;
               }
               a:link {
                  color:black;
                  font-variant: small-caps;
               }   
               a:visited {
                  color:black;
               }
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 04, 2016, 03:57:41 PM
Thanks, that seems to have fixed it!

I'll have to play with color schemes a bit more and see if there is another I like that is less of a problem!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2016, 04:16:05 PM
I did try to make it work for monocolor as well, but sometimes it is hard to predict and I cant test all the over 450 theme combinations. The rule I use is to always make sure you have either dark and light combination of text/bg when using the same color or the colors are different.

In this case, the problem was that it was the second option - i.e. the background was color1 set in config and links color was color2, but their shade was similar. If you have for example red and blue, then both would be either lighter or darker and you could distinguish them easily, but in this case you have blue for both and I had to use dark variant of both colors, because you are using the light theme.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 12:12:25 AM
Hi Jachym,
I have upgraded to v.3.1 and all looked good www.komokaweather.com/j-template31 (http://www.komokaweather.com/j-template31).  Then I removed the comment // from lines 332 and 333 in index.php
Quote
  include("homepage/worldWeather.php");
  $templateLog[]
= array(microtime(true),"World weather block included.", "info");
and that results in an error message www.komokaweather.com/j-template31/indexTest.php (http://www.komokaweather.com/j-template31/indexTest.php)
 
I have tried to track the problem, but not successful.  Should I not have edited in there :) ?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 05:08:44 AM
Hi,
that script was originally part of the homepage, but is now loaded via Ajax, I am not sure what exactly you have done, to make it work, I would just copy all your homepage settings at the top and insert it in the new homepage and then also replace the original worldWeather.php with the new one.

If you look closely, the worldWeather.php is no longer included in the index.php, it works autonomously, but you tried to include it there so you get that error.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 05, 2016, 09:42:32 AM
I'm not seeing the header change with conditions, in fact in the headerCache.txt I see "City not found"

In config.php I added the line    $bannerID = “CAXX0547”;

However when I go to http://www.weather.com and search for Winnipeg the string in the URL is CAXX0547:1:CA

If I try to use all of that string I get a fatal error!!

Confused!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 09:56:10 AM
Hi, yes unfortunately I discovered yesterday that the database at weather.com for some cities uses a different string...

Try using the Yahoo WOEID and insert it like this (let me know if it works and if yes, I will change it globally)

Code: [Select]
https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 05, 2016, 09:59:28 AM
Thanks for the quick response, but where exactly to I insert that?

in header.php about line 70??
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 10:17:07 AM
Hi,
that script was originally part of the homepage, but is now loaded via Ajax, I am not sure what exactly you have done, to make it work, I would just copy all your homepage settings at the top and insert it in the new homepage and then also replace the original worldWeather.php with the new one.

If you look closely, the worldWeather.php is no longer included in the index.php, it works autonomously, but you tried to include it there so you get that error.
Hi Jachym,
I shouldn't have touched those lines so wrist slapped...  All my v.3.1 updates are now as per instructions and I'll watch for the header update remedy on the issue that Bill raised as mine is the same.

Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 05, 2016, 10:23:03 AM
Think I figured it out, at least it seems to be working
in config.php added    $woeid = "2972"; right after $bannerID = “CAXX0547”;

in header.php made the following changes:

Code: [Select]
else {
// $url = "http://query.yahooapis.com/v1/public/yql?q=select%20item%20from%20weather.forecast%20where%20location%3D%22".$bannerID."%22&format=json";
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json";
Commented out the original line and added the new one underneath!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 10:30:16 AM
Yes, exactly,
though to be perfectly correct you should put the $woeid in the URL, you have hard-coded your own location. I will have to change this again... Sorry about that, i thought that the weather.com and Yahoo databases use same numbering (in some cases they do).
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 11:14:25 AM
Hi guys,
I think I have mine working... www.komokaweather.com/j-template31 (http://www.komokaweather.com/j-template31)
 
In config.php I have
$bannerID = "CAON3370";
 $woeid = "2972";
 
The CAON3370 is correct for Komoka, but is that "2972" correct for me (I just took it from this thread discussion)?
 
In header.php I have
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json (https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json)";
Again just using your example.  Is that 2487889 correct for me?
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 11:23:14 AM
Hi guys,
I think I have mine working... www.komokaweather.com/j-template31 (http://www.komokaweather.com/j-template31)
 
In config.php I have
$bannerID = "CAON3370";
 $woeid = "2972";
 
The CAON3370 is correct for Komoka, but is that "2972" correct for me (I just took it from this thread discussion)?
 
In header.php I have
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json (https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json)";
Again just using your example.  Is that 2487889 correct for me?
 
Thanks,
Paul

Hi Paul,

I think you are not using the right location now.

Try this:

In config.php, delete the bannerID parameter.
Then insert instead:
Code: [Select]
$woeid = XXXX; // WOEID of your location, see http://woeid.rosselliot.co.nz/
Then in your header.php, use this line for the url:
Code: [Select]
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%".$woeid."&format=json";
And see if that works and works fine
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 12:20:09 PM
Thanks Jachym,
I have replaced in both files as per your suggestion and this also shows a good header.  I'll check it to see if it changes and is is correct for my location when I return from the dentist :(
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 05, 2016, 12:47:35 PM
I haven't been able to get the banner to work with defining $woeid = 2417880; in the config file and making the changes in the header.php file.  The header cache file is 0 length.

If I hard code as follows in the header.php it works:
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22harpers-ferry%2C%20us%22)&format=json&u=c";
 

Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 05, 2016, 12:54:30 PM
Same with me.  Doesn't work with the woeid but works fine with the zip code hard coded in.
Tom
Title: Meteotemplate - users
Post by: Jáchym on January 05, 2016, 01:46:16 PM
Interesting.... it seems like this is totally unpredictable, for my city for example, the WOEID does not work and the weather.com ID works...

Also guys, I have just created a new section, so if interested, have a look, I would like to keep track of Meteotemplate users (I will also place a link to your web, increasing your Google pagerank :-)

http://www.meteotemplate.com/web/users.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 04:38:07 PM
Hi Jachym, doesn't look like it is updating with your suggested setting www.komokaweather.com/j-template31 (http://www.komokaweather.com/j-template31)
Quote
Same with me.  Doesn't work with the woeid but works fine with the zip code hard coded in.
Tom
Tom, could you provide a snipped of the code you have in config.php and header.php and I'd try to modify that for my location.  Thanks,
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 04:45:50 PM
OK, first try deleting your headerCache.txt and then see if it loads new values, and post the URL you are using and the WOEID, I will check it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 05:02:36 PM
Paul:
or simply use the same string you used for the previous version, I did not change the actual interactive banner script, so it will work just fine.

I am thinking about changing the service provider, but the problem is which one to use. Theoretically it should be possible to use OpenWeatherMap, WorldWeatherOnline or WU. But the problem is that I am not sure how accurate they are, the script would have to be completely rewritten and people don't like when they need an API key (even though it is for free - which is the case with WU).
Title: Re: Meteotemplate - users
Post by: Skyview on January 05, 2016, 05:07:19 PM
Interesting.... it seems like this is totally unpredictable, for my city for example, the WOEID does not work and the weather.com ID works...

Also guys, I have just created a new section, so if interested, have a look, I would like to keep track of Meteotemplate users (I will also place a link to your web, increasing your Google pagerank :-)

http://www.meteotemplate.com/web/users.php

I guess you didn't carry over the users from your old list?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 05:15:32 PM
Hi,

no I didnt because this was also one of the reasons I created this new site. First of all it is a bit nicer to have a map etc. and second, more importantly, many of those users were actually just those who participated during testing and they then either did not install it or they now have a different URL. Many of the links in that version don't work, so I will probably soon delete that section in the blog.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 05:16:05 PM
Thanks Jachym,
I have cleared the cache file and a new one was created http://www.komokaweather.com/j-template31/homepage/cache/worldWeather.txt (http://www.komokaweather.com/j-template31/homepage/cache/worldWeather.txt)
 
I now have in my config.php
Quote
$aerisCacheTime = 60;
$woeid = "23401736"; // WOEID of your location, see http://woeid.rosselliot.co.nz/ (http://woeid.rosselliot.co.nz/)
// $bannerID = "CAON3370";
// $woeid = "23401736";

And in my header.php
Quote
else {
// $url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889 (https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889)
// $url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json (https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%202487889&format=json)";
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%".$woeid."&format=json";  (http://www.wxforum.net/'https://query.yahooapis.com/v1/public/yql?qselect%20item.condition%20from%20weather.forecast%20where%20woeid%20%3D%.$woeid.&formatjson; [/quote')

I have tried the commented out as well.
 
Paul[/quote]
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 05, 2016, 05:22:28 PM
Paul,
I just hardcoded the URL in the header.php file
Code: [Select]
$url = "http://query.yahooapis.com/v1/public/yql?q=select%20item%20from%20weather.forecast%20where%20location%3D%2206776%22&format=json";
I inserted the zip code 06776.  When I changed the number to the woeid it didn't work.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 05:24:10 PM
Paul can you try to copy the link from previous version? It will work with the same address.

Also, the worldWeather is not the cache for the banner, that is for the homepage cities block
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 07:22:29 PM
My header in v.3.1 is now working using the v.3.0 URL. 
 
Re cache, my misunderstanding, and now see the headerCache.txt
 
Thanks Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 07:26:58 PM
My header in v.3.1 is now working using the v.3.0 URL. 
 
Re cache, my misunderstanding, and now see the headerCache.txt
 
Thanks Jachym,
Paul

Great, I will probably revert back to the original URL, it looks like this new one works for some and does not work for those that the other one works... in long term I will try to find an alternative source, WU is an option, but people don't like having to register, even if it is free
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 05, 2016, 08:14:13 PM
Quote
WU is an option, but people don't like having to register, even if it is free
There are other scripts, including Saratoga, that use the WU API which I think quite a few use, as I do.  But there is a limit on the number of accesses... which I exceeded a few months ago because of another script's regular cron job requirements.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2016, 08:37:00 PM
This would not be a problem, the banner uses caching and has maximum 24 calls a day.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 06, 2016, 03:40:06 AM
When I replaced the header.php, this GPS block went crazy

(http://www.manorts.com/images/error1.png)

And some other change made a mess of the forecast block

(http://www.manorts.com/images/error2.png)

Lucky I followed good advice and had a backup  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2016, 05:04:31 AM
When I replaced the header.php, this GPS block went crazy

(http://www.manorts.com/images/error1.png)

And some other change made a mess of the forecast block

(http://www.manorts.com/images/error2.png)

Lucky I followed good advice and had a backup  :lol:

Hi,
this shows your language files are not using the new translation function - or - you don´t have the language files in the new format.

Solutions:
1. first check that your language files in "lang" directory are of the new format (open it and you should see a JSON formatted file, with a version and date of last update as a first parameter). If you still have the old format, go to meteotemplate.com and download the most recent version of German strings.

2. make sure the "lang" function is being used as it is in the updated scripts/functions.php file
Title: Plugin update - New graphs
Post by: Jáchym on January 06, 2016, 10:30:02 AM
Hi,
I just updated the Extended Graphs plugin. This update now contains brand new pages and graphs. First new graph is basically just like the original graph, but this time there are two parameters which you can compare side by side. In addition you can set graph type, color, grouping etc. Second is a three-parameter graph, where you can compare three parameters all at once using a bubble chart, again with customizable grouping and parameter type.

More information: http://www.meteotemplate.com/web/plugins/extendedGraphs.php (http://www.meteotemplate.com/web/plugins/extendedGraphs.php)
Demo: http://www.meteotemplate.com/template/plugins/extendedGraphs/index.php

Also, I would like to thank all of you who already sent me their details and I added them on the users map :-) There is not much I can offer you, but those who are included on the list will be eligible for priority support :)
http://www.meteotemplate.com/web/users.php (http://www.meteotemplate.com/web/users.php)

Last but not least, I would also like to thank all those who submitted their translations, this system seems to be working much more efficiently, several languages are now completely translated and Finnish is now also available.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 06, 2016, 11:46:08 AM
Quote
There is not much I can offer you, but those who are included on the list will be eligible for priority support :)
How about a flashing pink pointer on the map on our birthdate?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2016, 11:55:19 AM
Quote
There is not much I can offer you, but those who are included on the list will be eligible for priority support :)
How about a flashing pink pointer on the map on our birthdate?

Paul

Good idea! :) When is your birthday? ;)
Title: Re: Meteotemplate - new free website template
Post by: Skyview on January 06, 2016, 06:35:14 PM
Hi,

no I didnt because this was also one of the reasons I created this new site. First of all it is a bit nicer to have a map etc. and second, more importantly, many of those users were actually just those who participated during testing and they then either did not install it or they now have a different URL. Many of the links in that version don't work, so I will probably soon delete that section in the blog.

OK, no problem. You probably don't want to advertise my out of date site anyway lol!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2016, 06:41:23 PM
Hi,

no I didnt because this was also one of the reasons I created this new site. First of all it is a bit nicer to have a map etc. and second, more importantly, many of those users were actually just those who participated during testing and they then either did not install it or they now have a different URL. Many of the links in that version don't work, so I will probably soon delete that section in the blog.

OK, no problem. You probably don't want to advertise my out of date site anyway lol!

No!  Quite the opposite!  I will be more than happy to do so,  the only thing is that this time I only add those who agree,  not those that I know are using it.  It is my pleasure to add each user to the map so if you are willing to be included then just send me the necessary information and I will add you asap  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Skyview on January 06, 2016, 06:57:47 PM
Hi,

no I didnt because this was also one of the reasons I created this new site. First of all it is a bit nicer to have a map etc. and second, more importantly, many of those users were actually just those who participated during testing and they then either did not install it or they now have a different URL. Many of the links in that version don't work, so I will probably soon delete that section in the blog.

OK, no problem. You probably don't want to advertise my out of date site anyway lol!

No!  Quite the opposite!  I will be more than happy to do so,  the only thing is that this time I only add those who agree,  not those that I know are using it.  It is my pleasure to add each user to the map so if you are willing to be included then just send me the necessary information and I will add you asap  :grin:

Oh, ok. I thought you had my info. from the last time.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2016, 07:25:47 PM
I think I dont have your elevation, either way could you just send it again to make sure I have the right data:
- page name
- coordinates
- station model
- elevation
- current URL

Thanks :)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 07, 2016, 06:46:54 AM
Jeez - I go away for a while and now there's a whole new template!!!

Well done Jachym - you've screwed up my first day back and I have to update  \:D/ \:D/ \:D/

What is not clear to me for the upgrade is you have two download files a V3.0 -> V3.1 update and a full 3.1 install.  is there an update for V2.0 to V3.1 (or V3.0?).  Have I missed something?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 07, 2016, 08:03:16 AM
Hi Simon,

well I mentioned this in the past. There is always a full-install package that is for brand new installation and includes all the files in default settings. Then there is the upgrade package, which is for upgrading from previous version.

The problem is obviously having upgrade packages from other versions. The problem is that I would have to check exactly which files need to be updated, which scripts changed, which files to include, pictures, write instructions... and already now it would mean doing this 4 times and it is always a risk and I have double check that I include all the necassary but non of the unwanted files that could overwrite your settings... it is just not possible for me to do this, especially because with each new version it would only be getting worse (more and more files to create).

So for you, the best option is to probably download the version 3.0 update (I will send you the link for it, there is no direct link on the web any more, but I do have it). You can then upgrade your site to 3.0 and then, you can do the 3.0>3.1. That last update is actually very simple and only few files were changed, mostly bug fixes and new files for the languages. I recommend you read the posts about both upgrades in the blog, there are detailed instructions how to proceed, what is new etc. There is a brand new users page too (just send me your info and I will add you!) and a new translations page (which is why the 3.0>3.1 was necessary because they have a different format).

Best regards
Jachym
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 07, 2016, 12:37:30 PM
Jachym,

I am having trouble getting the wunderground forecast to work.  I have installed my wu api and tried various ways to get the city but no joy.  Any help would be appreciated.

Thanks,

Jay
www.jayswoodfurniture.com/meteo
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 07, 2016, 01:04:33 PM
Hi Jay,

probably best thing to do is hard-coding the URL.

Open homepage/forecastInfo.php

Line 157, replace with:
Code: [Select]
$urlWU = "http://api.wunderground.com/api/".$wuAPI."/forecast10day/q/us/nm/Mule_Creek.json";
Save, close.

On your server, delete homepage/cache/wu.txt

Reload page and it should work
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 07, 2016, 01:40:30 PM
Thanks,  That solved the issue.

Jay
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 01:41:31 AM
I have the same issue... Sent you an email Jachym. Something is happening to the api key when passed to WU. Will hardcode the URL for now
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 03:54:56 AM
Ok so it's all updated and working

Other than the WU issue, my banner seems to have stopped working, I added the new banner section as instructed, with the correct location.

But well done.  I prefer the new look.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2016, 05:21:03 AM
Based on the error message you sent me there are two possibilities:

1. you have not specified your WU API key in the template settings
2. your key is invalid
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 06:30:43 AM
The API key is valid, because the following hard-coding works

Code: [Select]
$urlWU = "http://api.wunderground.com/api/".$wuAPI."/forecast10day/q/za/cape_town.json";
This does not work

Code: [Select]
$urlWU = "http://api.wunderground.com/api/".$wuAPI."/forecast10day/q/".$stationCountry."/".$wuCity.".json";
and returns the error

Quote
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  }
      ,
   "error": {
      "type": "keynotfound"
      ,"description": "this key does not exist"
   }
   }
}

So somewhere, what is being sent to WU is being misinterpreted as an invalid key.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2016, 06:33:25 AM
what do you have in your config.php for country, I suspect it could be capitalization, do you have "za"?
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 06:37:11 AM
Yes, "za"  I had other issues when it was "ZA" originally.  checking the URL with "za" and "ZA", wunderground is happy with either
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 06:46:03 AM
So I've slowly reverted back to your original code and it's working...

I can only surmise it wasn't working because of the paths I had when testing (was in a subdirectory)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2016, 06:46:21 AM
Just to test it, you could try using the variable string and "echoing" it to see exactly what parameters are passed to the script. I cannot see why it is not working, either way, in the worst case, simply hard code the working URL
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2016, 06:47:06 AM
So I've slowly reverted back to your original code and it's working...

I can only surmise it wasn't working because of the paths I had when testing (was in a subdirectory)

or it could be caching, the problem is that unless you deleted the cache file, any changes would only have effect once the cache file expires (which is 60 minutes)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 06:49:12 AM
Ah hang on then so.. while it might appear to be working now it's not - deleted the cache and it's not working again with your code :)  We'll get there :)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 08, 2016, 06:58:58 AM
Ok sorted - it's working

But now to get rid of the Underscore in the name.

(http://www.wxforum.net/index.php?action=dlattach;topic=26825.0;attach=20423)

WU doesn't like the space in "Cape Town", and sends an invalid output message
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2016, 07:44:23 AM
homepage/forecastInfo.php

line 373, replace "$forecastCityName" with your hard coded string "Cape Town"
Title: Re: Meteotemplate - new free website template
Post by: Skyview on January 08, 2016, 03:28:15 PM
I hadn't ever noticed this issue before. Any idea why the .01 is not registering? Haven't changed the push variable in MB still r=[rain0total-sumday] so not sure why it's off.

(https://dl.dropboxusercontent.com/u/68529500/DSC_0639.JPG)
Title: Meteotemplate Global Snow plugin fix
Post by: Jáchym on January 09, 2016, 12:33:02 PM
This is just a quick announcement that I have just updated the globalSnow plugin.

You can now download the new version 1.1, which fixes the issue of the world images not working.

If you are performing an update from version 1.0, all you have to do is replace the original world.php with the new one.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2016, 02:36:13 PM
That was easy, again... and seems to be working correctly  http://www.komokaweather.com/j-template/plugins/globalSnow/index.php (http://www.komokaweather.com/j-template/plugins/globalSnow/index.php)
 
Regards,
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 10, 2016, 06:56:55 PM
Hi Jachym,
I am pretty sure I had the warningsCanada plugin working in v.3.1 but now getting an error
Quote
Fatal error:  Call to a member function find() on a non-object in /home/content/96/5379896/html/j-template/plugins/warningsCanada/dataLoader.php on line 14
http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php)
 
Line 14 is
Quote
$text = $html->find('div.colxs12',0)->outertext;

Looking at my notes I am using a revised WarningsCanada_1.0 plugin which I just moved from v.3.0 to v.3.1
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2016, 07:13:48 PM
Hi Jachym,
I am pretty sure I had the warningsCanada plugin working in v.3.1 but now getting an error
Quote
Fatal error:  Call to a member function find() on a non-object in /home/content/96/5379896/html/j-template/plugins/warningsCanada/dataLoader.php on line 14
http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php)
 
Line 14 is
Quote
$text = $html->find('div.colxs12',0)->outertext;

Looking at my notes I am using a revised WarningsCanada_1.0 plugin which I just moved from v.3.0 to v.3.1
 
Paul

Hi Paul,
you are not the first one who informed me about this today, I will have to look at it tomorrow (along with the extended graphs script which for some unknown reason does not work for you and one other person).

As far as I can see it looks like again some change on the EC part... EC will be my biggest nightmare I guess :D Absolute inconsistency, unreliability.... I will see what I can do.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 10, 2016, 07:21:01 PM
Thanks Jachym.
If you are able to track down the issue and it is something with Environment Canada let me know and I can contact them.  They were very good when I had contacted them on another issue a few weeks ago and they did something from their end to fix it then, and said to let them know if any other issue arises.  I may take them up on that.


Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2016, 05:18:39 AM
Hi Paul,

seems like at least with regards to the extended graphs, I probably know what is causing the problem, but I still will have to try to find out why this is happening and how to solve it.

Basically, I just checked the raw data your server sends to the script. And it turned out that for some reason, your server converts the date to the scientific notation. I checked the site of the other guy with the same problem and found the exact same issue. The problem then is that this number is rounded, so Highcharts then converts it back to date, but it is now rounded so the days don´t match.

To illustrate better, in the following example you can see the output of the exact same script from my demo site (which is same as the output of majority of people) and below that, the same output on your and the other guy´s server. The first number is the javascript date, it is the number of milliseconds since Jan 1, 1970, which is how computers measure time. The second number in this particular case is the humidity, and have a look yourself:

Demo site raw data:
Code: [Select]
[1325376060000,89,1,".",""],[1325462460000,84,1,".",""],[1325548920000,73,1,".",""],.....
Your site raw data:
Code: [Select]
[1.22558e+12,82,1,".",""],[1.22567e+12,73,1,".",""],[1.22576e+12,91,1,".",""],
The numbers in your case then when converted back do not match exactly the orginal. I will try to see if there is a way to force the server not to do the rounding. At least I now know what the problem is. Since it does not occur on my server, I did not try to deal with it before release. I will keep you informed how it goes.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 11, 2016, 06:18:50 AM
Jachym

I'm still having an issue with the interactive banner not actually doing anything.

My banner ID is correct as I have tested the following URL

http://query.yahooapis.com/v1/public/yql?q=select%20item%20from%20weather.forecast%20where%20location%3D%22SFXX0010%22&format=json

and it returns results.

However, looking at the headercache.txt I get the following

{"query":{"count":1,"created":"2016-01-11T11:16:20Z","lang":"en-US","results":{"channel":{"item":{"title":"City not found","description":"\nInvalid Input /forecastrss?p=%E2%80%9CSFXX0010%E2%80%9D\n"}}}}}

I have cleared the cache with the same result.

Hardcoding the URL above in header.php also returns results and the banner works fine

Please advise
Simon



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2016, 06:59:52 AM
Hi Simon,
it is indeed strange, but would it then not be possible to just hard-code it if that works fine?
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 11, 2016, 07:08:59 AM
I have hard coded, but my experience in IT always says minimise hard coding as much as possible . Otherwise things break every time a new package is released
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2016, 07:51:21 AM
I can only agree with that... maybe try echoing the string after it is generated using the dynamic bannerID parameter to see what exactly is the URL passed to the script.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 11, 2016, 09:13:01 AM
how do I echo that string?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2016, 09:39:29 AM
Code: [Select]
$url = "http://query.yahooapis.com/v1/public/yql?q=select%20item%20from%20weather.forecast%20where%20location%3D%22".$bannerID."%22&format=json";
echo $url;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2016, 10:37:44 AM
Fixed :-)

http://www.komokaweather.com/j-template/plugins/extendedGraphs/index.php#

I will include this fix in the next update of this plugin, for those who have problems with it, you can easily fix it immediately.

Simply open the following three files:
- ajaxData.php
- ajaxData2.php
- 3paramAjax.php

and in all those files right at the top where you have the header included:
Code: [Select]
include($baseURL."header.php");
paste the following line below:
Code: [Select]
ini_set('precision', 15);
Save and replace the original.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 12, 2016, 12:11:04 AM
Is it possible to have a block on the home page that displays rainfall for the day, the month and the year?
I know the information is available on other menu's but it would be handy to show it all together on home page block.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 05:14:14 AM
Hi,
it would of course be possible, but it is in fact already there, right on the homepage, at the top in the statistics block on the left. It shows daily rain and just change the select box to whatever you want (yesterday, last 24h, this week, this month, this year, all time) and it will show you the corresponding value.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 12, 2016, 07:21:57 AM
Yes I knew it was there. It's just that my daughter often checks out our weather and she liked the old site where the rainfall stats were on one page without having to navigate too much. I could not find what variables hold that data so I could not experiment.

EDIT: Found the info in stationData.php. Will try to decipher that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 07:38:02 AM
Colin I still don´t quite understand what exactly you mean. The original homepage showed only data for "today". This one shows "today" and in addition also the other ones simply using select box. What exactly did you mean?
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 12, 2016, 07:53:49 AM
Sorry I should of been more specific. The old site I was referring to was the one using Saratoga template. My daughter still uses it because she mainly just checks our rainfall for the day, month and year.
There is no drama, I will play around with it for a while.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 08:14:56 AM
OK, so if I understand it correctly, you would like a block which would show today´s, yesterday´s etc. rainfall on the homepage directly without having to switch the left select menu?
Title: New plugin - Station extremes
Post by: Jáchym on January 12, 2016, 10:38:37 AM
A new plugin is now available. This new plugin is all about station extremes. You can choose the parameter you are interested in, choose the desired time interval, sorting direction and grouping and you get a list of the corresponding values, also shown on a graph where you can clearly see when those values were measured.

The plugin now also uses the new translations system, so new strings were added to the translations database. When translations for them are submitted I will add them to the central translations database and you will be able to download the updated language files.

Detailed description in the plugins section: http://www.meteotemplate.com/web/plugins/stationExtremes.php (http://www.meteotemplate.com/web/plugins/stationExtremes.php)
Demo: http://www.meteotemplate.com/template/plugins/stationExtremes/index.php (http://www.meteotemplate.com/template/plugins/stationExtremes/index.php)
Comments: http://meteotemplate.com/blog/?p=377 (http://meteotemplate.com/blog/?p=377)

Next thing I would like to note is that there is now a new language available thanks to Tuomas - Finnish. The majority of the strings have already been translated and can also be downloaded from the Translations section (http://www.meteotemplate.com/web/translations/index.php (http://www.meteotemplate.com/web/translations/index.php))

Last but not least, I was amazed how many users there are already when I actually started adding people on the map, if you are not there yet and are using Meteotemplate, let me know:

http://www.meteotemplate.com/web/users.php (http://www.meteotemplate.com/web/users.php)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 12, 2016, 11:09:29 AM
Installed the stationExtreme plugin but it doesn't appear to be working??

http://www.sanfordweather.com//meteo/plugins/stationExtremes/index.php

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 11:21:18 AM
Hi,
I see... the exact same problem as with the extended graphs... your server automatically converts dates to scientific notation.

Simply open the dataLoadeGraph and somewhere at the top paste this:

Code: [Select]
ini_set('precision', 15);
Hope it helps and I will change it in the download file as well.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 12, 2016, 11:39:40 AM
Hi Jachym,
The same problem for me, and the additional line does not fix it
http://www.komokaweather.com/j-template/plugins/stationExtremes/index.php (http://www.komokaweather.com/j-template/plugins/stationExtremes/index.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 12, 2016, 11:45:02 AM
Added the line and no apparent change also!

Is there a file in a cache somewhere that I should nuke ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 12:06:00 PM
No.. and I am looking at the output and it seems absolutely fine... no clue what Highcharts is doing again... it worked absolutely fine on my server... I will see if I can find the problem
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 12:14:25 PM
Right so I tried four other sites and it does not work... and the worst thing is that the output looks absolutely ok and same as on my server just like the HTML... this is so odd...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 12:24:34 PM
OK, found the problem, I will try to fix it ASAP
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 12:56:12 PM
Right, can you please try to re-download the fixed file and see if it works now and let me know.
Thx
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 12, 2016, 01:03:53 PM
That looks better, seems to work fine now!

Thanks Jachym

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 01:08:04 PM
Great :) It wasn´t as easy as I thought, but I think it should be ok now. Basically I accidentaly used a fixed yr for one of the queries to the MySQL and that particular yr I chose based on my data and didn´t realize this. Maybe re-download the file again, I made one more slight change, the hours did not work properly.

it is still possible that something might not work 100%, so let me know if you find any problems
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 12, 2016, 01:28:36 PM
Great, I got dots... www.komokaweather.com/j-template/plugins/stationExtremes/index.php (http://www.komokaweather.com/j-template/plugins/stationExtremes/index.php)
 
I will play with it, however is there a way to indicate the year in the table and perhaps also on the graph/popup?
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 01:33:31 PM
Paul, it does show year, depending on which grouping you choose, if you read the documentation you will see what I mean.

For example:
Grouping by "day" - days of the yr grouped
Grouping by "day-absolute" - all days (will show yr as well)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 12, 2016, 01:45:06 PM
RTD, who does that? 
I had tried most of the buttons except absolute.


Seriously, I did/do scan the plugin information but that part didn't sink in  :oops:

Excellent plugin, like usual!
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 02:59:10 PM
RTD, who does that? 
I had tried most of the buttons except absolute.


Seriously, I did/do scan the plugin information but that part didn't sink in  :oops:

Excellent plugin, like usual!
Paul

Thanks and no problem, Im glad you like it.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 12, 2016, 05:02:48 PM
OK, so if I understand it correctly, you would like a block which would show today´s, yesterday´s etc. rainfall on the homepage directly without having to switch the left select menu?

Yes, something like this.

(http://www.manorts.com/images/rainsample.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 05:34:43 PM
OK, I wrote a script for you to try:

Go to your index.php and find where the PHP settings end and where it says "DO NOT EDIT BELOW". Next lines include the settings files (config.php etc.). So make sure you paste the following code AFTER the config is included, ideally below this line:

$filePath = urlencode($filePath);

And there paste this:
Code: [Select]
$result = mysqli_query($con, "
SELECT  max(R)
FROM  alldata
WHERE DATE(DateTime) = CURDATE()
"
);
while ($row = mysqli_fetch_array($result)) {
$rainToday = convertR($row['max(R)']);
}

$monthlyRains = array();
$result = mysqli_query($con, "
SELECT  max(R)
FROM  alldata
WHERE YEAR(DateTime) = YEAR(CURDATE()) AND MONTH(DateTime) = MONTH(CURDATE())
GROUP BY YEAR(DateTime), MONTH(DateTime), DAY(DateTime)
"
);
while ($row = mysqli_fetch_array($result)) {
array_push($monthlyRains, convertR($row['max(R)']));
}
if(empty($monthlyRains)===false){
$monthlyAvgR = array_sum($monthlyRains)/count($monthlyRains);
$monthlyMaxR = max($monthlyRains);
}
$rainMonth = array_sum($monthlyRains);

$annualRains = array();
$result = mysqli_query($con, "
SELECT  max(R)
FROM  alldata
WHERE YEAR(DateTime) = YEAR(CURDATE())
GROUP BY YEAR(DateTime), MONTH(DateTime), DAY(DateTime)
"
);
while ($row = mysqli_fetch_array($result)) {
array_push($annualRains, convertR($row['max(R)']));
}
if(empty($annualRains)===false){
$annualAvgR = array_sum($annualRains)/count($annualRains);
$annualMaxR = max($annualRains);
}
$rainYear = array_sum($annualRains);

Then find a place in the middle section of your homepage, where you would like this block to appear, for example right below the current conditions block (div).

And there insert this:

Code: [Select]
<div id="rainfallDiv" class="block" style="position:relative">
<img src="icons/rain.png" alt='' style="width:30px">
<table style="width:98%;margin:0 auto">
<thead>
<tr>
<td style="width:33%">
Today
</td>
<td style="width:33%">
This month
</td>
<td style="width:33%">
This year
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="width:33%">
<?php echo $rainToday." ".$displayRainUnits?>
</td>
<td style="width:33%">
<?php echo $rainMonth." ".$displayRainUnits?>
</td>
<td style="width:33%">
<?php echo $rainYear." ".$displayRainUnits?>
</td>
</tr>
</tbody>
</table>
</div>

Let me know if it is ok and if it worked.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 12, 2016, 07:29:40 PM
Quote
OK, I wrote a script for you to try:
  I may become a script writer yet http://www.komokaweather.com/j-template/ NOT


I suppose there is not an easy way to add "This week"?

Thanks for the suggestion Jachym, gives one some food for thought "what else!!!"

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 12, 2016, 08:53:33 PM
Quote
OK, I wrote a script for you to try:
  I may become a script writer yet http://www.komokaweather.com/j-template/ NOT


I suppose there is not an easy way to add "This week"?

Thanks for the suggestion Jachym, gives one some food for thought "what else!!!"

Paul

I am sure there is Paul,  I just need to look at it tomorrow as I have to get up in less than 4h lol
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 12, 2016, 11:20:16 PM
Magnificent  =D&gt;

Exactly what she wanted. Rainfall info in an easy place to see.

Thanks for taking the time to help. Much appreciated.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 12, 2016, 11:54:56 PM
Have been checking other user weather sites and was wondering if anyone could send some of that cold weather my way  :lol:
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 13, 2016, 03:05:12 AM

Have been checking other user weather sites and was wondering if anyone could send some of that cold weather my way  :lol:
Us too. Cold and rain.  We're looking at 100 plus for the next few days. And we only had 10" rain last year. Very dry.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 13, 2016, 05:11:44 AM

Have been checking other user weather sites and was wondering if anyone could send some of that cold weather my way  :lol:
Us too. Cold and rain.  We're looking at 100 plus for the next few days. And we only had 10" rain last year. Very dry.

 :shock:
Title: Re: Meteotemplate - new free website template
Post by: Miroslav on January 14, 2016, 07:41:50 AM
Hi Jachym,
Thanks for completion weather template. My website is now perfect. Interactive chart on the homepage provides a complete overview on the current weather. Once again, thank you and wish much success in further work. Mirek Czech

For other fans, likes to boast a with My website: http://www.pocasiprelouc.cz/index.php
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 14, 2016, 07:32:36 PM
Very nice. I especially like the section that shows a graph for the selected data and times. Like rainfall hourly or daily etc...
I know it is on the newer version in extended graphs but it looks good on the home page too.
The current conditions in the weather menu says "The requested URL /plugins/cityConditions/cityConditions.php was not found on this server."

Hi Jachym,
Thanks for completion weather template. My website is now perfect. Interactive chart on the homepage provides a complete overview on the current weather. Once again, thank you and wish much success in further work. Mirek Czech

For other fans, likes to boast a with My website: http://www.pocasiprelouc.cz/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 14, 2016, 07:51:44 PM
Yes Colin, take it as I used Mirek's old index to test the graph feature for subsequent implementation to new index :-)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 12:37:07 PM
What to do when its booooriiiiing  :shock:

 Days look endless :?...

Time doesnt fly  :roll:...

well,you play in a webpage :-k

add,remove,replace,modify,re-add  :lol:


Thats my version of Meteotemplate  8-)

http://meteolacstjean.com/hebertville/index.php

edit:

a LOT of trial and error inthis mixup hahaha...im no html pro in tables and divs and all those codes...and if you remove a simple thing well,the whole page go blank.

Wanna try ??? please do a backup of the index.php hahaha
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 16, 2016, 01:25:33 PM
Hi, Jachym

My template is working except for two things, my weatherdependant banner is not working and i have to manually update my C0˛ levels for the block and the separate CO˛ page to work!
Do you have any idea what could be the cause? Everything else is working fine..

Marc from Antwerp


www.antwerp.be/template/
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 01:29:21 PM
hummm...your link does not take me to the template  :?

im landing here instead http://www.visitantwerpen.be/
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 16, 2016, 01:32:14 PM
What a mistake to make!

www.akker.be/template/
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 01:38:48 PM
hehe...

did you take a look in the FAQ page here in the troubleshooting section at the bottom ?

My interactive banner doesn't work. I see just one-color background all the time.

http://www.meteotemplate.com/web/faq.php

be carefull with this part...  EZXX0002:1:EZ   you have to remove that part :1:EZ
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 01:42:06 PM
Hi Marc,

yes, see what Carl suggested, though this might not always help. I realized Yahoo is very inconsistent and this method simply works for some, and not for others (as far as I can see - randomly...).

In such case, use the URL you used for the previous version which worked. If you just change the URL from your backed up header.php from previous Meteotemplate version and copy that URL to the new header.php it will work.

If still not, then let me know and I will look at your particular location and try to determine a URL which you would then hard-code in your header.php.

With regards to CO2, I am not sure I understand exactly what the problem is
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 01:47:27 PM
Dont forget to always delete the cachefile: headerCache.txt each time you do a mod  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 01:55:20 PM
Dont forget to always delete the cachefile :headerCache.txt each time you do a mod  ;)

Thank you my apprentice  :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 01:59:59 PM
christ...ive learn my lessons  ](*,)  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 02:09:41 PM
Yes, may the force be with you :D =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 16, 2016, 03:42:11 PM
Obi-Wan and Luke :-)

I did what you suggested, and the banner is working but not the right condition, it should be snowy.......The strange thing is that the old banner on my saratoga website is giving the right conditions...........

General Grievous
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 03:47:43 PM
Then , i suggest try another closest city   ;)

Hahaha...i love that
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 06:09:29 PM
Obi-Wan and Luke :-)

I did what you suggested, and the banner is working but not the right condition, it should be snowy.......The strange thing is that the old banner on my saratoga website is giving the right conditions...........

General Grievous

OK, then what you could do is send me a copy of your header.php that you use for Saratoga and I can check it.

Also, Yahoo had some problems recently, where they reported outdated data, Wim had similar problems in his Leuven template with this and many developers were complaining to Yahoo, they seem very unreliable. I guess it is because they opted for free API without even the need to register, so developers that have poorly designed apps which use no caching, then overload their servers.

Jar Jar Binks
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 16, 2016, 06:27:27 PM
Hi Jachym,
On my homepage www.komokaweather.com/j-template it shows
Quote
Warnings issued


IN EFFECT, London
Persons in or near this area should be on the lookout for adverse weather conditions and take necessary safety precautions. Issued: 7:00 PM EST Wednesday 01 December 0

Data: Environment Canada

But there is no warnings issued at present by EC http://weather.gc.ca/warnings/index_e.html?prov=son

Oh, and I can't recall if there were any on Wednesday 01 December 0  :!: :?: :!:

Any suggestion where I should look?
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 06:39:33 PM
Yes... and I finally know why there is constantly problems with EC...

they seem to have two RSS warning feeds (and for some one works and the other one doesn't , which is why I cannot simply use one)

and this is what the "second" one for London has:

http://www.weather.gc.ca/rss/warning/on-137_e.xml

Quote
title>London - Weather Alert - Environment Canada</title>
<link rel="related" href="http://www.weather.gc.ca/warnings/index_e.html" type="text/html"/>
<link rel="self" href="http://www.weather.gc.ca/rss/warning/on-137_e.xml" type="application/atom+xml"/>
<link rel="alternate" hreflang="fr-ca" href="http://www.meteo.gc.ca/rss/warning/on-137_f.xml" type="application/atom+xml"/>
<author>
<name>Environment Canada</name>
<uri>http://www.weather.gc.ca</uri>
</author>
<updated>2016-01-16T22:00:00Z</updated>
<id>tag:weather.gc.ca,2013-04-16:20160116220000</id>
<logo>
http://www.weather.gc.ca/template/gcweb/assets/wmms-alt.png
</logo>
<icon>
http://www.weather.gc.ca/template/gcweb/assets/favicon.ico
</icon>
<rights>Copyright 2016, Environment Canada</rights>
<entry>
<title>IN EFFECT, London</title>
<link type="text/html" href="http://www.weather.gc.ca/warnings/report_e.html?on21"/>
<updated>--T00:00:00Z</updated>
<published>--T00:00:00Z</published>
<category term="Warnings and Watches"/>
<summary type="html">
Persons in or near this area should be on the lookout for adverse weather conditions and take necessary safety precautions. Issued: 7:00 PM EST Wednesday 01 December 0
</summary>
<id>tag:weather.gc.ca,2013-04-16:on-137_w1:</id>
</entry>
</feed>
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 16, 2016, 06:56:41 PM
Thanks Jachym,
I have also taken a PrtScr image of my page with the alert message and will forward that to them and see what they say.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 07:04:47 PM
Paul...i wish you more luck for sendig ECa message...i sent one this week bout a problem in the rss feed and no response yet so...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 07:07:59 PM
I just cannot get my head around why on earth do they have two different URLs with warning feeds for the same location and what is more - even different content for both....
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 16, 2016, 07:12:12 PM
Plus that Battleboard french rss link too...dont forget that thete are codes woth dash and some without dashes like qc53 and qc-53...2 different locations
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2016, 07:24:19 PM
Oh yes... of course :D And one would also be quite naive to expect the English version will have the same warnings/no warnings as the French one

Sometimes I feel like:
https://www.youtube.com/watch?v=qqjVwAg5fK4 (https://www.youtube.com/watch?v=qqjVwAg5fK4)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 17, 2016, 12:14:18 AM
Hi Jachym,
I probably had an incorrect number for the EC warnings.  The plugin has:
Quote
  // CANADA
  // Select the specific region for the warnings. Go to https://weather.gc.ca/canada_e.html (https://weather.gc.ca/canada_e.html). Find the location you want and then look at the URL. The URL of the current conditions will then be in this format: https://weather.gc.ca/city/pages/XXXXXX_metric_e.html (https://weather.gc.ca/city/pages/XXXXXX_metric_e.html), where XXXXX corresponds for the code of your location. It should be two-letters, followed by a dash and a number. This is the value to enter below.
  $warningsRegionCA = "on-137";
with 137 being our nearest City (London) number for current conditions and forecast and that is what I had used.  Going to https://weather.gc.ca/canada_e.html (https://weather.gc.ca/canada_e.html) I now see that:
for Current and forecast the url is https://weather.gc.ca/city/pages/on-137_metric_e.html (https://weather.gc.ca/city/pages/on-137_metric_e.html)
for Public weather alerts the url is https://weather.gc.ca/warnings/index_e.html?prov=son (https://weather.gc.ca/warnings/index_e.html?prov=son) ("son" for Southwestern Ontario)
and url https://weather.gc.ca/warnings/report_e.html?on21 (https://weather.gc.ca/warnings/report_e.html?on21) ("on" for Ontario and "21" for London, our nearby large city)
and if I select the ATOM icon the url is https://weather.gc.ca/rss/battleboard/on21_e.xml (https://weather.gc.ca/rss/battleboard/on21_e.xml)
 
using "on21" then the Homepage shows "Data currently N/A" rather than that incorrect warning and date that we noticed earlier when using "on-137".
 
Does the plugin use the https://weather.gc.ca/warnings/report_e.html?on21 (https://weather.gc.ca/warnings/report_e.html?on21) or the ATOM  https://weather.gc.ca/rss/battleboard/on21_e.xml (https://weather.gc.ca/rss/battleboard/on21_e.xml) url?
and is there some other setting/change needed in the plugin to use the full correct url?
 
Also, since we can get some major differences in weather and warnings within a relative short distance can two or more warning areas be added - i.e. on19, on36, on40, on47?  And if so I assume the block beginning with
Quote
<?php
       if($showWarnings){
      ?>
        <div id="warningsDiv" class="block" style="position:relative">
would need to be repeated/modified, perhaps using hard code for these areas but would also need some trigger which I have no knowledge how.
 
I will not contact EC until I have a better understanding of what and how data is used for warnings.
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 17, 2016, 02:21:42 AM
Jachym,

I have my saratoga-header included......

Palpatine
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 09:55:39 AM
Jachym,

I have my saratoga-header included......

Palpatine

I see, well this is the old version which used WWO, now the new banner uses Yahoo because it does not require API key, so it is easier for people. In that case this explains it - your banner "worked" before it had data from WWO which were at that moment more accurate. The problem is that I don't really think it would make sense to try to re-do the banner to use WWO with Meteotemplate - I mean at other times it is the other way around, I noticed WWO was often incorrect as well.

Qui-Gon Jinn
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 09:56:55 AM
Hi Jachym,
I probably had an incorrect number for the EC warnings.  The plugin has:
Quote
  // CANADA
  // Select the specific region for the warnings. Go to https://weather.gc.ca/canada_e.html (https://weather.gc.ca/canada_e.html). Find the location you want and then look at the URL. The URL of the current conditions will then be in this format: https://weather.gc.ca/city/pages/XXXXXX_metric_e.html (https://weather.gc.ca/city/pages/XXXXXX_metric_e.html), where XXXXX corresponds for the code of your location. It should be two-letters, followed by a dash and a number. This is the value to enter below.
  $warningsRegionCA = "on-137";
with 137 being our nearest City (London) number for current conditions and forecast and that is what I had used.  Going to https://weather.gc.ca/canada_e.html (https://weather.gc.ca/canada_e.html) I now see that:
for Current and forecast the url is https://weather.gc.ca/city/pages/on-137_metric_e.html (https://weather.gc.ca/city/pages/on-137_metric_e.html)
for Public weather alerts the url is https://weather.gc.ca/warnings/index_e.html?prov=son (https://weather.gc.ca/warnings/index_e.html?prov=son) ("son" for Southwestern Ontario)
and url https://weather.gc.ca/warnings/report_e.html?on21 (https://weather.gc.ca/warnings/report_e.html?on21) ("on" for Ontario and "21" for London, our nearby large city)
and if I select the ATOM icon the url is https://weather.gc.ca/rss/battleboard/on21_e.xml (https://weather.gc.ca/rss/battleboard/on21_e.xml)
 
using "on21" then the Homepage shows "Data currently N/A" rather than that incorrect warning and date that we noticed earlier when using "on-137".
 
Does the plugin use the https://weather.gc.ca/warnings/report_e.html?on21 (https://weather.gc.ca/warnings/report_e.html?on21) or the ATOM  https://weather.gc.ca/rss/battleboard/on21_e.xml (https://weather.gc.ca/rss/battleboard/on21_e.xml) url?
and is there some other setting/change needed in the plugin to use the full correct url?
 
Also, since we can get some major differences in weather and warnings within a relative short distance can two or more warning areas be added - i.e. on19, on36, on40, on47?  And if so I assume the block beginning with
Quote
<?php
       if($showWarnings){
      ?>
        <div id="warningsDiv" class="block" style="position:relative">
would need to be repeated/modified, perhaps using hard code for these areas but would also need some trigger which I have no knowledge how.
 
I will not contact EC until I have a better understanding of what and how data is used for warnings.
Regards,
Paul

Hi Paul,

the URL used for the warnings, is for the XML files, in particular:

http://weather.gc.ca/rss/warning/REGION_e.xml"
Title: Re: Meteotemplate - new free website template
Post by: pablo_660 on January 17, 2016, 10:52:29 AM
Hi, i have an issue with my header or menu.
When I installed the template, all was ok
I did no update since and one day this issue is appared.

http://www.meteobreakey.com/mt2/

I use Chrome as browser

thank you and regards
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 17, 2016, 10:59:11 AM
Hi Jachym,
Re homepage:
As far as I have been able to determine now the only url for warnings xml is https://weather.gc.ca/rss/battleboard/on21_e.xml (https://weather.gc.ca/rss/battleboard/on21_e.xml) and the "on21" can be any valid location code.  Where could I change that?
 
Re warnings Canada plugin:
My warningsCanada plugin http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php) still has the
Fatal error:  Call to a member function find() on a non-object in /home/content/96/5379896/html/j-template/plugins/warningsCanada/dataLoader.php on line 14
 
Not sure if these 2 things are related, other than coming from Environment Canada. 
 
Sorry to keep pestering on these EC issues ](*,) .
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 11:12:06 AM
Hi, i have an issue with my header or menu.
When I installed the template, all was ok
I did no update since and one day this issue is appared.

http://www.meteobreakey.com/mt2/

I use Chrome as browser

thank you and regards

Hmm... really odd behavior. When I tried to do hard reload (hold the refresh button longer), it loaded the page.
Also the CSS file is present:
http://www.meteobreakey.com/mt2/css/main.php

But when I then reloaded again, it again refused to load the CSS and the error in the console simply shows:

"Failed to load resource: the server responded with a status of 508 (unused)"

which is a very odd error that I have never seen before and after some Googling it seems like it is not used any more. In this case I would ask your hosting provider about this, because it is not a problem with the template, your server just simply sometimes refuses to load the CSS

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 11:14:21 AM
Hi Jachym,
Re homepage:
As far as I have been able to determine now the only url for warnings xml is https://weather.gc.ca/rss/battleboard/on21_e.xml (https://weather.gc.ca/rss/battleboard/on21_e.xml) and the "on21" can be any valid location code.  Where could I change that?
 
Re warnings Canada plugin:
My warningsCanada plugin http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php) still has the
Fatal error:  Call to a member function find() on a non-object in /home/content/96/5379896/html/j-template/plugins/warningsCanada/dataLoader.php on line 14
 
Not sure if these 2 things are related, other than coming from Environment Canada. 
 
Sorry to keep pestering on these EC issues ](*,) .
Paul

I have just been discussing this with Carl on Facebook.... to be quite honest I feel like I giving up on this one, because Im just so confused by the so many different URLs, then I finally think I found a solution and bang - it stops working again....

You can try changing the URL, it is in homepage/warningsInfo.php and if you scroll down where the Canadian warnings are, you will see the URL there. So try hard-coding the one you suggested and then delete homepage/cache/ca.txt the cache file and see what happens.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 17, 2016, 12:01:12 PM
H Jachym,
Changing the url in homepage/warningsInfo.php does make it work for my area.  One glitch though...  www.komokaweather.com/j-template (http://www.komokaweather.com/j-template) the red Warnings Issued text is displayed but the text correctly says
No alerts in effect, London - Middlesex
No alerts in effect
I did clear the homepage/cache.
Having a look at the code, which mostly I don't understand, could that be because the "NO ALERTS ...." string is different than what the script is testing - i.e. "No watches or warnings in effect"?
Quote
$xmlWarningsCA = simplexml_load_string($warningsCARaw);
   foreach($xmlWarningsCA->entry as $value) {
     if($value->summary=="No watches or warnings in effect."){
      }
      else{
        $output['warnings'][] = array($value->title,$value->summary);
      }
  }

 
I presume the above on the homepage is a different issue to the warning message on the warningsCanada plugin on line 14 of dataLoader.php? http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php)
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 12:13:46 PM
Yes it is because that string is different, so you would have to change it to whatever it shows when there is no warning.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 17, 2016, 12:25:37 PM
Thanks again Jachym,
Changed to what it now shows from EC and now "No warnings or alerts currently in effect "
Will see what tomorrow brings ;)
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 12:28:10 PM
Yes :D

But I don't have much hope :D :D :D
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 17, 2016, 12:39:55 PM
Yes...it will not revert to the green No warning in effect after the statement is over.... ](*,)

ive tried noumerous things...Now on mine,its back to original settings and,

IN EFFECT, Roberval
Persons in or near this area should be on the lookout for adverse weather conditions and take necessary safety precautions. Issued: 7:00 PM EST Wednesday 01 December 0

like jachym says..its so f**ked up... hahaha
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 17, 2016, 03:22:27 PM
Jachym....about Pablo's template...it runs fine on my server...

http://meteolacstjean.com/mt2/index.php

only thing i did is to put my own mysql infos in the config page  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 03:28:04 PM
Pablos template is strange, it works and when I refreshed it didnt and then I refreshed again and it did. And sometimes the server just does not send the CSS. Obviously there is nothing wrong with the template or set up, because it sometimes works. But for some reason, the server ocassionaly does not send the CSS
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 17, 2016, 03:34:03 PM
Sorry...i forgot to press the POST button hahaha

PFOUAAAAAAAAAAAHAHAHA...Just looked at Pablo's warning and look what ive found...

IN EFFECT, Berničres
Persons in or near this area should be on the lookout for adverse weather conditions and take necessary safety precautions. Issued: 7:00 PM EST Wednesday 01 December 0

same thing thats on mine and same date !

so we MUST NOT put in the city code from the WEATHER PAGE but,the warning page. thats what shows up when putting the weather city code  (well,it looks like it)
Title: Re: Meteotemplate - new free website template
Post by: pablo_660 on January 17, 2016, 03:39:16 PM
Ok thank you guys ;)

That confirm the source of the problem

it's not the first time that I have problems with this fu?*%ing provider…
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 17, 2016, 03:40:58 PM
Rapidenet my friend...rapidenet  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2016, 04:09:00 PM
:D You guys I feel sorry for you Canadians... :D Crapy warning service, crapy providers :D :D :D
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 17, 2016, 04:10:02 PM
Never had provider problems on my side  \:D/

Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 17, 2016, 04:14:52 PM
And WE canadien feel sorry for you...with all your headaches about

Canada Warnings RSS/Battlebots/warning/crappy/F?htmxml :shock:

 ](*,)
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 18, 2016, 06:40:13 AM
Hi, everyone!

As i briefly mentioned it earlier my co˛ levels are not showing, not in the separate co˛ page or in the homepage co˛ block. I can manually update them and then it works, but when the script tries to update them it is Always giving an empty file? Please see the attachment with al the necessary explanation in it.

And another little glitch is that the Meteoalarm has a warning set for Belgium, Antwerp but my homepage is not showing it....

 www.akker.be/template/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2016, 06:55:38 AM
Hi,

I just looked at the code, it uses the curl function to get the contents, what you could try is changing it to file_get_contents,

open homepage/co2info.php

and on line 17, replace this:

$co2Data = getData($url);

with this:
$co2Data = file_get_contents($url);

See if that helps.

With regards to the warnings, that is strange, because there is no cache file in the folder, as if it was also unable to connect to meteoalarm. This script uses the simple_html_dom script. My question then is, did it ever work and just stopped working now or did it never show any warnings?

Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 18, 2016, 06:59:01 AM
Hi, Jachym

It did not work at all.........The suggestion for the co˛ info did'nt help either, still making an empty cache-file....I did recall that the co˛ plugin-page was working before the change-over to 3.0.............
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2016, 07:42:28 AM
That must be something different then, because the plugins work completely independently, changing a version of the template has no effect on the plugins
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 18, 2016, 10:22:17 AM
Hello Jachym,

I finally had some time to upgrade to 3.1 Black Cherry.  I've got everything working, but I had to hard code the banner link in the header.php.  I added the bannerID ($bannerID = “USMD0117”;) in my config.php, bu consistently got a blank banner.  After I hardcoded the URL in the header.php, it's working fine - $url = "http://query.yahooapis.com/v1/public/yql?q=select%20item%20from%20weather.forecast%20where%20location%3D%22USMD0117%22&format=json";.  I did delete the headerCache.txt after each test.

Otherwise all is well and it's working great.  Thanks again for all of the great work you've put into this!

-Chris
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 18, 2016, 10:24:02 AM
It looks like the hard coding works best for a lot of people...had to do it too  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2016, 10:27:22 AM
Yes,
for future update, 2 options:

1. revert back to the original (which also did not work for all, but was more "successful" than the current)
2. redo the banner altogether
Title: Meteotemplate - new WIKI!
Post by: Jáchym on January 18, 2016, 11:17:00 AM
Meteotemplate now finally has a proper documentation, which hopefully will make the installation process much easier for those who would like to start using Meteotemplate. I also emphasized and explained things that I am most often asked about.

New wiki has been updated to reflect all the new features of Meteotemplate (translations, data imports, new homepage). In addition, many terms are explained and more information can be viewed using sliding divs, everything is also much more organized.

Probably the most useful feature is also a brand new page which will guide you through setting up the config.php.

For example - there is an interactive map, just drag the marker to your location and the script will show you exactly what to fill in for latitude, longitude, country code and city. Likewise, date and time formats are automatically generated, timezones are predefined etc.

There is even a realtime design preview. Simply change color/font and you will see a small preview which will show you what the page would look like.



I hope this helps those that will want to install the template and if you have any ideas/suggestions, please let me know.

New wiki: http://www.meteotemplate.com/web/wiki/wiki1GB.php (http://www.meteotemplate.com/web/wiki/wiki1GB.php)
Config guide: http://www.meteotemplate.com/web/wiki/wikiConfig.php (http://www.meteotemplate.com/web/wiki/wikiConfig.php)
Blog post/comments: http://meteotemplate.com/blog/?p=381 (http://meteotemplate.com/blog/?p=381)
Title: Re: Meteotemplate - new WIKI!
Post by: SpringHillWeather on January 18, 2016, 07:53:52 PM
Meteotemplate now finally has a proper documentation, which hopefully will make the installation process much easier for those who would like to start using Meteotemplate. I also emphasized and explained things that I am most often asked about.

New wiki has been updated to reflect all the new features of Meteotemplate (translations, data imports, new homepage). In addition, many terms are explained and more information can be viewed using sliding divs, everything is also much more organized.

Probably the most useful feature is also a brand new page which will guide you through setting up the config.php.

For example - there is an interactive map, just drag the marker to your location and the script will show you exactly what to fill in for latitude, longitude, country code and city. Likewise, date and time formats are automatically generated, timezones are predefined etc.

There is even a realtime design preview. Simply change color/font and you will see a small preview which will show you what the page would look like.



I hope this helps those that will want to install the template and if you have any ideas/suggestions, please let me know.

New wiki: http://www.meteotemplate.com/web/wiki/wiki1GB.php (http://www.meteotemplate.com/web/wiki/wiki1GB.php)
Config guide: http://www.meteotemplate.com/web/wiki/wikiConfig.php (http://www.meteotemplate.com/web/wiki/wikiConfig.php)
Blog post/comments: http://meteotemplate.com/blog/?p=381 (http://meteotemplate.com/blog/?p=381)

Excellent job creating the new WIKI Jachym.

Very helpful!

Regards, Tom
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 18, 2016, 08:57:56 PM
Great Wiki Jachym, I read it all!

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 18, 2016, 09:19:08 PM
Hi Jachym,
Is there a way we can add the Users map as a plugin?

Paul
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on January 19, 2016, 04:11:16 AM
Hi, Jachym

This is what it looks like when i manually update all the co˛ files, everything is filled in and working, but tommorow it's all gone unless i manually update the files!

http://www.akker.be//template/plugins/co2/co2current.php

Jabba
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2016, 05:09:56 AM
Hi Jabba,

that makes sense becaues the cache file expires every 24h, so it deletes it but does not load a new one. It is obviously something with your server configuration.

Try this:
Open co2current.php and on line 44, replace this:

Code: [Select]
$weeklyDataRawString = getData($url);
with:

Code: [Select]
$weeklyDataRawString = file_get_contents($url);
Let me know if it helped.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2016, 05:16:20 AM
Hi Jachym,
Is there a way we can add the Users map as a plugin?

Paul

Hi Paul,

you are the third person asking about this.... technically speaking it is not a problem. The problem is that the users map uses a mysql table saved on my server. I obviously cannot give people my mysql details, what I could do is have the page generate a text file with JSON-encoded data that could be loaded by the map script. The problem is that this would mean, everyone using this plugin would be connecting to meteotemplate.com, from where the script would get the up-to-date list of users and their details.
The problem with this is that I use the cheapest hosting plan and already I probably will have to make some changes in the future. The site now has 20 times more visitors than in the summer and it increases every month so in the future if this continues I will have to upgrade the plan if I want the page to load reasonably fast and be usable. So if I did this, it would substantially slow down the server and I cannot afford the more expensive plan right now, I will see how this works in the future, but for now I just want to keep it as it is.
Second option would be that it would work like the translations - i.e. you could always download the most recent data as a text file and then use that locally on your server. But the problem with that is that I add people to the map almost every day so unless you visitied the page every day, manually update and replace the old file on your server, you would not have up-to-date list. The translations obviously are ok, because do not change every day.

Let me know what you or others think, I am open to suggestions. Technically it is of course not a problem to create a plugin for this.

Btw. it surprised me that people would be interested in having this at all :D I never thought about this option until I got questions about it from other people as well.

Best regards
jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 19, 2016, 09:32:11 AM
Hi Jachym and thanks for explaining.
I though perhaps placing a URL link to the map site http://www.meteotemplate.com/web/users.php (http://www.meteotemplate.com/web/users.php) but without the top header - i.e. just the map and list.  But presumably that would put similar strain on your server ](*,)
 
Personally I could live with a static user map/list showing "as of {date}" and then template users be able to update that list and date with a download whenever they wish.  Not sure if this is feasible...
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 19, 2016, 09:34:05 AM
On my site i placed a direct link in the menu... ;)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 19, 2016, 09:50:00 AM
On the user"s map...maybe add a color coding if possible of course...

recently added

added x time ago

added xx time ago

also...if i may suggest,add the '' target_blank'' for the users site so the website opens in a new tab  :-)

 ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2016, 10:26:42 AM
OK that would be possible, I will think about how to best implement this.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 19, 2016, 10:50:09 AM
You know i have a lot of free time huh  :roll: so,i woke up this morning with a new index.php layout  :shock:

just like that,for the fun of it  ;)

http://meteolacstjean.com/hebertville/carl.php
Title: Re: Meteotemplate - new free website template
Post by: Ian. on January 19, 2016, 01:04:22 PM
virusdunil,

I really like you main page gauges, they make the page come alive .
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 19, 2016, 03:45:34 PM
Hi...and thanks

Yes,it does add a little something for the welcome... ;)
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 19, 2016, 04:00:26 PM
Jachym,

Would it be possible to define the terms used on the Station Climate Page.  I don't know what you are referring to when you say:

Frost Days -- I think this means the low was below 0 degrees Celsius
Icing Days
Summer Days
Tropical Days
Tropical Nights  -- I think this means the low wasn't below 20 degrees Celsius

Could these definitions be included on the page?

Also on my Climate Page I cant figure why I still have a CZ flag next to Mule Creek.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: nitrx on January 19, 2016, 04:14:57 PM
Jachym,

Would it be possible to define the terms used on the Station Climate Page.  I don't know what you are referring to when you say:

Frost Days -- I think this means the low was below 0 degrees Celsius
Icing Days
Summer Days
Tropical Days
Tropical Nights  -- I think this means the low wasn't below 20 degrees Celsius

Could these definitions be included on the page?

Also on my Climate Page I cant figure why I still have a CZ flag next to Mule Creek.

Thanks,

Jay
A frost day when temperature in C becomes < 0
An icing day the whole day the temperature stays below 0
A summer day the max temp reaches 25 degrees or more
A tropical day the max temp reaches 30 degrees or more
A tropical night the min temp is not below 20

All temps in Celsius

We have also warm days in this case the max temp reaches 20 degrees or more
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2016, 04:21:48 PM
Hi Jay,

MENU:
at the beginning of the climate section in the menu, try replacing the similar code with this:
Code: [Select]
<td>
<img src="<?php echo $pageURL.$path?>imgs/flags/big/<?php echo $stationCountry?>.png" class="flagIcon" alt="">
</td>
<td>
<a href='<?php echo $pageURL.$path?>pages/climate/index.php?q=<?php echo $climateID?>'><?php echo $stationLocation?></a>
</td>

And yes, you are right, it should be explained on the page - for us in Europe this is like the heating degree days for example - i.e. > we have no clue what it is :D Especially because this is based on the Celsius scale

So here is the description (it is basically official definition by WMO)

All numbers in deg C:

- frost day - Tmin<0 - i.e. it was freezing sometime during the day
- icing day - Tmax<0 - temperature never got above freezing point
- summer day - Tmax>25
- tropical day - Tmax>30
- tropical night - Tmin > 20
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2016, 04:22:47 PM
Thanks Ron :D I see you were faster :)
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 19, 2016, 05:29:36 PM
Jachym,

Take a look at the Station Climate page now.

Jay

http://www.jayswoodfurniture.com/meteo/pages/station/climateIndices.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 19, 2016, 06:56:40 PM
Hi Jay,
I was wondering the same myself.  And I like what you have done. 

Just a tiny spelling on
Where the minium temperature falls below 32 degrees during the day or night
and also on maxium  ;) :-P

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2016, 07:04:41 PM
Jachym,

Take a look at the Station Climate page now.

Jay

http://www.jayswoodfurniture.com/meteo/pages/station/climateIndices.php

 =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 20, 2016, 12:13:14 AM
Paul,

Thanks for catching the spelling errors.  Got it fixed now.  That's what happens when the brain works faster than the fingers.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2016, 05:09:16 AM
Paul,

Thanks for catching the spelling errors.  Got it fixed now.  That's what happens when the brain works faster than the fingers.

Jay

I was just wondering though, do you guys have some analogous thing in the US? Obviously these terms don´t mean much to you if you use deg F, so are there any officially defined "days"?
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 20, 2016, 10:41:15 AM
Jachym,

The only one I've  ever heard is Frost Date or date of first freeze.  Date with low 32 degrees or lower.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2016, 11:36:13 AM
I noticed in some climate reports from NOAA there are things such as "heating degree days" etc.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 20, 2016, 12:12:51 PM
Heating degree days and cooling degree days http://climate.weather.gc.ca/glossary_e.html are often used in determining heating and cooling systems and cost.  But this is not generally used in conversation.

Chill Units http://agron-www.agron.iastate.edu/courses/Agron541/classes/541/lesson04a/4a.7.html are used mainly by fruit tree growers and also not generally used in discussion unless talking about cause of good or bad fruit crop.

"Feels like" is most generally used to describe what it is like outside - both in cold and in hot conditions.

I think most weather programs record that information.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2016, 12:25:54 PM
Yes, that would correspond to the Apparent temperature in Meteotemplate. Basically, the apparent temp in Meteotemplate corresponds to the wind chill at low temperatures and to heat index at high temps
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 20, 2016, 12:41:22 PM
youve been faster...i was to talk about wind chill  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2016, 05:33:33 PM
Hi guys,

just a quick note for European users...

Meteoalarm is currently down (www.meteoalarm.eu). This means your page will take relatively long to load, it will then give up and show the warnings as "N/A".
This is just so that you know this is because of this and I hope it will be back up soon.

And I can already promise that something like this, where your site won't load because of any external source N/A won't happen in Meteotemplate 4.0  ;)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 21, 2016, 04:48:56 PM
Quote
won't happen in Meteotemplate 4.0  ;)

Is that a teaster?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 21, 2016, 05:21:12 PM
Well, sort of :D Though I did not hack meteoalarm just to be able to write this :D

But yes, of course I am already working on v.4 and right now I am more excited about what I have so far than I was when I created new homepage for v.3.... you have really something to look for.... and one other thing I can promise is that the best thing is that the upgrade will be as easy as 123.... done in a minute
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 21, 2016, 05:44:37 PM
Well, sort of :D Though I did not hack meteoalarm just to be able to write this :D

But yes, of course I am already working on v.4 and right now I am more excited about what I have so far than I was when I created new homepage for v.3.... you have really something to look for.... and one other thing I can promise is that the best thing is that the upgrade will be as easy as 123.... done in a minute

Sweet, appreciate all the work you've done so far and I'm sure v4 won't disappoint. 

Is it a fruit or vegetable this time?  If I coded I would name my versions after Italian pastries,  v1 Cannoli  LOL
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 21, 2016, 06:17:21 PM
Yes, this really will bring the template to a whole new level.... you will see :-)

It will be a fruit :-)

Though I must say that it is becoming a bit complicated now :D I originally said I would never call a version "Apple" (despite the fact it is my favorite fruit...), but because I don't want to confuse people, some could think it is just for Apple devices (plus Im a big Google fan so...).... but now using this logic I should also not use raspberry, blackberry, banana.... :D Fruits are becoming popular in the IT world :D But I still think it is better to try to come up with some fruit name... I mean... Meteotemplate 4.0 Brocolli or Meteotemplate 4.0 Cabbage really does not sound very good does it :D
Title: Re: Meteotemplate - new free website template
Post by: Skyview on January 22, 2016, 05:27:02 AM
Yes, this really will bring the template to a whole new level.... you will see :-)

It will be a fruit :-)

Though I must say that it is becoming a bit complicated now :D I originally said I would never call a version "Apple" (despite the fact it is my favorite fruit...), but because I don't want to confuse people, some could think it is just for Apple devices (plus Im a big Google fan so...).... but now using this logic I should also not use raspberry, blackberry, banana.... :D Fruits are becoming popular in the IT world :D But I still think it is better to try to come up with some fruit name... I mean... Meteotemplate 4.0 Brocolli or Meteotemplate 4.0 Cabbage really does not sound very good does it :D

A place to start: https://simple.wikipedia.org/wiki/List_of_fruits
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 22, 2016, 05:46:22 AM
:D I might call it tomato, so that people learn it is a fruit :D
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 22, 2016, 11:15:40 AM
Quote
I mean... Meteotemplate 4.0 Brocolli or Meteotemplate 4.0 Cabbage really does not sound very good does it :D


Brocolli, too funny but its GREEN, good for the environment and you.  LOL  At least we can laugh once and while.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 22, 2016, 11:38:38 AM
Quote
I mean... Meteotemplate 4.0 Brocolli or Meteotemplate 4.0 Cabbage really does not sound very good does it :D


Brocolli, too funny but its GREEN, good for the environment and you.  LOL  At least we can laugh once and while.

Yes :-) Maybe there will be a special edition on Apr 1st, something like Meteotemplate Special Edition Garlic.
Title: Re: Meteotemplate - new free website template
Post by: McCavity on January 22, 2016, 02:55:23 PM
I like that. Personally I'd munch Broccoli or Cabbage just as well so if you ever run out of fruit (probably using the smelly Durian last ;-)) just switch to veggies :-)

Best regards
Henning
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 22, 2016, 02:59:47 PM
OK, well I can assure you the next one will be a fruit :-)

I am testing it right now, so the I already have the logo created ;)
Title: Meteotemplate 4.0 Mango
Post by: Jáchym on January 23, 2016, 10:49:18 AM
(http://www.meteotemplate.com/template/icons/versions/40mangoBlackSmall.png)
Hi guys,

Mango is here! This version I hope will be a huge improvement and a decent compensation for the ugly homepage you had to do with in versions lower than 3. Also good to know is that update took me about 10 seconds :-)

So what is new? Well everything and nothing....

This version introduces a completely new concept of the homepage blocks! Version 3 was sort of a interphase between what I had originally in my head and it is now ready in version 4. There is also one new page, so make sure you read till the end!

I will not describe it in too much detail as there is a new dedicated page about it in the wiki, which you must read in order to be able to use it.

In summary - the blocks are now completely independent. What this means? This means you download the blocks just like you download plugins. Then, on the homepage you just specify the number of columns, their percentage width and the order of the blocks you have installed in which you want them to appear in that column.

Main advantages:
- absolute freedom in terms of the layout of the homepage - choose any number of columns you want, any order of blocks, any blocks you like
- possibility to create alternative homepages, for example one with just one column - ideal for mobile devices
- even if you put tens of blocks on your homepage, each one will load independently - this means your homepage will basically load instantly and then, those blocks that do not use any external resources or are cached, will also load instantly, the ones that do might take slightly longer, but you no longer have to wait for everything to load, and the user does not see a blank page. Number of blocks does not influence the loading time, some will simply show loading spinner for a while
- if one resource is temporarily unavailable, there is an error in one of the blocks etc. - your homepage loads absolutely fine, just that one particular block will be blank
- each block has a separate file if setting up is required - updates of blocks are very easy and you do not lose your settings
- all blocks have the unified design and styling, which corresponds to your config.php and what you specify in the index.php
- blocks are responsive, so will adjust based on the column width you specify

I have many ideas what other blocks I could create and it is very simple to do so now, so expect these to be released just like the regular plugins (which will of course also continue).
for now I have created almost 50 blocks to choose from. As mentioned above, use whichever ones you like, position them the way you like (any combination is possible) or even create several pages if you wish to. And even if you put many of them, the loading time will not be affected because the page loads gradually and some blocks show instantly.
all blocks are compatible with the new translations system so if not localized already, will be soon

Examples of some new blocks (all the ones included in version 3 are available):
- insert a text on your homepage using GUI text editor and your admin password - no need to use FTP, change the code etc.
- interactive map
- qr code
- greeting the user based on the time of the day
- NASA image of the day
- time until next sunrise/sunset
- analog clock
- calendar
- logo
- fire danger index
- cloud height
- cloud temperature
- precipitation summary

Make sure you read the wiki page which explains exactly how to install each block (very simple as usual - in most cases download -> upload -> add to the homepage).

And one more thing. Together with Ken from Saratoga we have created a script which will generate a file using your database which can then be used directly in the meso maps and you can use it to add your station to it!

Plans for the future:
- do not expect version 5 any time soon, the reason I released two major updates in a short period of time was because I so disliked the original homepage :-)
- work on improving already existing plugins (localization, new functions)
- new blocks - especially I want to concentrate on adding region-specific blocks
- changes "under the hood" - especially to improve the possibilities for me to diagnose errors if there are any

Enjoy :-)

http://www.meteotemplate.com/template/indexDefault.php (http://www.meteotemplate.com/template/indexDefault.php) - default homepage (no blocks, just the logo)
http://www.meteotemplate.com/template/index31.php (http://www.meteotemplate.com/template/index31.php) - homepage with version 3 blocks
http://www.meteotemplate.com/template/indexAll.php (http://www.meteotemplate.com/template/indexAll.php) - homepage with many blocks

Instructions for update in the blog, information about how to install blocks, set up the homepage layout etc. in the new wiki.
http://www.meteotemplate.com/web/wiki/wikiHomepage.php (http://www.meteotemplate.com/web/wiki/wikiHomepage.php) - WIKI instructions
http://meteotemplate.com/blog/?p=386 (http://meteotemplate.com/blog/?p=386) - Blog - upgrade info
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 23, 2016, 11:02:13 AM
It's fantastic! It seems you never get tired!
Thank you very very much!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 11:04:19 AM
It's fantastic! It seems you never get tired!
Thank you very very much!

Thanks :-)

Update should be really easy and quick, but could someone please just confirm it works...
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 23, 2016, 11:20:46 AM
When you hinted at version 4 yesterday, I thought it was a ways out yet.  Wow!  Now I've got something fun to play with in the blizzard.  (Measured 20 inches about 2 hours ago and it's supposed to keep snowing for quite a while.)

Thank you once again for your great work!

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 11:22:40 AM
Hi,
thanks. Just please let me know someone that it worked for you (just replace homepage folder and index.php and add the mesoMap script). I just want a piece of mind that it works :-)

Btw. just today Meteoalarm was down again... (?!) so all European users were affected by this because the page waited too long for a response before giving up. This will just show a spinner in the warnings block now


IMPORTANT: When I release a new version/update, there is quite a lot of you visiting the page at the same time, which is something my hosting plan does not like :D It only allows 5 simultaneous PHP scripts executed and there is 14 of you now....so if I release something, it is likely the first few minutes/hour it will be slow.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 23, 2016, 12:08:26 PM
Jachym,

I have updated to Mango.  Am in the process of adding blocks.  Very easy update.

Thanks,

Jay
http://www.jayswoodfurniture.com/meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 12:11:58 PM
Jachym,

I have updated to Mango.  Am in the process of adding blocks.  Very easy update.

Thanks,

Jay
http://www.jayswoodfurniture.com/meteo/index.php

Ufff.... so it works :-)

Now I can leave in about an hour for work with a peace of mind and hopefully not coming back with tens of emails in my mailbox it did not work :)

Just noticed I forgot one thing, I did not replace the version number in the comments section of the scripts, the problem is that I obviously will do this in bulk, but when I tried it on my laptop here at home it crashed... I guess even Lubuntu takes too much RAM from the 1GB to execute this, so I will do that on Monday at work and replace the download files, but it makes of course no difference to the actual site, it is just the comment section at the top.
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 23, 2016, 12:14:03 PM
Hi,
thanks. Just please let me know someone that it worked for you (just replace homepage folder and index.php and add the mesoMap script). I just want a piece of mind that it works :-)

Btw. just today Meteoalarm was down again... (?!) so all European users were affected by this because the page waited too long for a response before giving up. This will just show a spinner in the warnings block now


IMPORTANT: When I release a new version/update, there is quite a lot of you visiting the page at the same time, which is something my hosting plan does not like :D It only allows 5 simultaneous PHP scripts executed and there is 14 of you now....so if I release something, it is likely the first few minutes/hour it will be slow.

Yes, working, adding blocks as we speak.
Can't find the LINKS block.
And where is the MesoMap script?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 12:20:48 PM
Hi,

"links" block I renamed to "weatherNetworks" - which makes more sense and I will make a real "links" block later

MesoMap should be (I hope) in the update package as well, liveMesodata.php, which you put inside pages/station directory
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 23, 2016, 12:32:32 PM
Hi,

"links" block I renamed to "weatherNetworks" - which makes more sense and I will make a real "links" block later

MesoMap should be (I hope) in the update package as well, liveMesodata.php, which you put inside pages/station directory

Thanks Jachym, that fixed the links, had to install block and add name from links to weatherNetwork.

I did install the liveMesdata.php but not sure how to test it.  My link still points to your site.

Great job on the new layout.  Once everything is configured I'll have to decide where I want each block but for the most part its running fine.

Best Regards, Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 12:42:39 PM
Quote
My link still points to your site.

What exactly do you mean? You mean the weather Networks block? That should use settings from your config.php, which by default points to my site so you have to change it in the config.php
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 23, 2016, 01:03:36 PM
Quote
My link still points to your site.

What exactly do you mean? You mean the weather Networks block? That should use settings from your config.php, which by default points to my site so you have to change it in the config.php

My bad.  I was able to add the weatherNetwork block and it points to my correct networks.

I'm confused on the liveMesomap.php part.  If I run the script I see the following:

12:55:40,2016-01-23,28.4,28.4,23,99,28.2,29.61,Rising Rapidly,4.9,SE,0,,07:13,17:03,4.9,9.8,F|mph|inHg|in



Sorry, I haven't had enough coffee yet.  We also have a Blizzard here with over 12" so far.


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 01:31:38 PM
Hi,

yes, maybe this is not well explained... basically there are mesoMap, created by Ken, the admin of this forum, and if you want to be included in these maps, your station has to send data to it in a specific format. So this script basically takes the data from the db and creates the file in the exact format required so if you want to then be included in that map, you can simply give link to this script.
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 23, 2016, 02:07:39 PM
Hi,

yes, maybe this is not well explained... basically there are mesoMap, created by Ken, the admin of this forum, and if you want to be included in these maps, your station has to send data to it in a specific format. So this script basically takes the data from the db and creates the file in the exact format required so if you want to then be included in that map, you can simply give link to this script.

Jachym,

Thanks for the clarification, so the script works  ;)   I am part of Ken's Network, Affiliated Regional Weather Networks and NorthEastern Weather Network.

Good Job on Mango  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: saratogaWX on January 23, 2016, 02:19:05 PM
The liveMesodata.php script included with Mango release just provides a 'stickertags' formatted data file for Meteotemplate users.

It is primarily intended for Meteobridge stations, but will also work with Weather-Display or Cumulus stations (or any station supported by Meteotemplate).  Previously, Meteobridge stations using the template didn't generate a conditions file that could be polled by the regional afilliated networks, so this script now lets them join the networks.

Weather-Display and Cumulus stations using the template were already able to report conditions by using their native clientraw.txt or realtime.txt updates provided by the respective software.

Thanks Jachym for adding this functionality to your template!   =D&gt;  \:D/
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 23, 2016, 03:04:29 PM
Nice job Jachym update was painless!

Are you going to release a 'Blank Block' for those of us who may want to add their own stuff to the homepage?

Bill
http://www.sanfordweather.com//meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2016, 05:42:58 PM
Nice job Jachym update was painless!

Are you going to release a 'Blank Block' for those of us who may want to add their own stuff to the homepage?

Bill
http://www.sanfordweather.com//meteo/index.php

Hi Bill,

I of course will, in fact - I even have a blank block prepared already, the reason why I have not yet included is because I will need to write documentation for creating your own one.

The problem is that on one hand, I made it extremely easy - placing blocks on the homepage is a matter of just typing their names... everything is done automatically, but on the other hand this also means you have to stick to certain predefined naming conventions, exact paths etc. to make it work. So I am by no means saying it is difficult to create a new one, but you have to know how to, so expect this to be ready within a matter of a few days
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 23, 2016, 11:58:02 PM
Upgraded fairly quickly and then spent some time playing with the blocks.  Have you considered including all of the blocks in the initial download?  It would make it easier for someone installing for the first time.

Thanks again!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 24, 2016, 08:04:33 AM
It seems i am the only one it doesn't work :-(
I am trying to install blocks starting from "stationData", but it doesn't  show up the data,it's only loading for ages...
There is a small difference i just noticed between the old stationData.php and the new one:

old stationData:
Code: [Select]
<?php

include(
"../config.php");
include($baseURL."header.php");

$period $_GET['period'];

if($period=="today" || $period==""){

new stationDataAjax:
Code: [Select]
<?php

include(
"../../../config.php");
include("../../../scripts/functions.php");

$languageRaw file_get_contents($baseURL."lang/gb.php");
$language['gb'] = json_decode($languageRaw,true);
$languageRaw file_get_contents($baseURL."lang/".$lang.".php");
$language[$lang] = json_decode($languageRaw,true);

$period $_GET['period'];
      if(
$period=="today" || $period==""){
   
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 09:12:58 AM
I will look at it
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 24, 2016, 09:35:20 AM
I have it running at www.shermanctweather.org/meteo
I even figured out how to get some of my own blocks to work.
Really nice.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 09:56:01 AM
Hi Johnny,

your station script responsible for retrieving the data shows this:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

Which however does not give me any clues as to why it is not working. If you try running the original script, does it also show this?
I tried:
500 - Internal server error.

http://www.lefkas-weather.com/template/homepage/blocks/stationData/stationDataAjax.php?period=today

look into your server error log and let me know what the error actually was
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 24, 2016, 10:35:31 AM
Very, very nice Jachym.
I've been having some fun getting 45 of the 46 blocks included ;)   www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)
Now to fix 3 little things and then add new blocks...
 
And while I'm at it, could you lead me to what settings I might change so that I can better see the pulled-down Menu items when "sun" or "variable" theme is selected.  I now have set as "dark".  If I set it as "sun" or "variable" the icon and description of the plugins are nearly invisible.  It was the same issue in v3.1.
 
Best regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 24, 2016, 11:01:13 AM
Hi Johnny,

your station script responsible for retrieving the data shows this:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

Which however does not give me any clues as to why it is not working. If you try running the original script, does it also show this?
I tried:
500 - Internal server error.

http://www.lefkas-weather.com/template/homepage/blocks/stationData/stationDataAjax.php?period=today

look into your server error log and let me know what the error actually was
Hi Jachym, 

Unfortunately, if i run the original script, it gives me the same error...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 11:04:11 AM
Hi Paul,

yes I see you put in all of them :D It loads fine, but my laptop does not like it because when it is all loaded it takes up too much RAM so my Chrome froze completely :D

With regards to the theme, I would need to see it, so you would have to switch to the light theme and then let me know
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 24, 2016, 11:26:26 AM
Quote
yes I see you put in all of them (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
Except one!
 
I've changed to the "sun" theme now... where I presume you will see the issue when clicking a Menu tab
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 02:30:16 PM
Quote
yes I see you put in all of them (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
Except one!
 
I've changed to the "sun" theme now... where I presume you will see the issue when clicking a Menu tab
 
Thanks,
Paul

Yes, I see I think I made a little mistake there.

Go to homepage/css/style.php

and there you will see the CSS for the homepage.

Try replacing this (close to the top):

Code: [Select]
<?php
if($theme=="light"){
?>

.button {
border: 1px solid #<?php echo $color_schemes[$design]['600']?>;
color: #<?php echo $color_schemes[$design]['900']?>;
background: #<?php echo $color_schemes[$design]['200']?>;
<?php
if($gradient){
?>

background-image: -ms-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: -moz-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: -o-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #<?php echo $color_schemes[$design]['100']?>), color-stop(50, #<?php echo $color_schemes[$design]['300']?>), color-stop(100, #<?php echo $color_schemes[$design]['100']?>));
background-image: -webkit-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: linear-gradient(to bottom, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
<?php
}
?>

}
.button:hover {
background: #<?php echo $color_schemes[$design]['400']?>;
color: #<?php echo $color_schemes[$design]['font400']?>;
}
a {
color:#<?php echo $color_schemes[$design]['800']?>;
}
a:link {
color:#<?php echo $color_schemes[$design]['800']?>;
font-variant: small-caps;
}   
a:visited {
color:#<?php echo $color_schemes[$design]['800']?>;
}
<?php
}
?>

with this:

Code: [Select]
<?php
if($theme=="light"){
?>

.button {
border: 1px solid #<?php echo $color_schemes[$design]['600']?>;
color: #<?php echo $color_schemes[$design]['900']?>;
background: #<?php echo $color_schemes[$design]['200']?>;
<?php
if($gradient){
?>

background-image: -ms-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: -moz-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: -o-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #<?php echo $color_schemes[$design]['100']?>), color-stop(50, #<?php echo $color_schemes[$design]['300']?>), color-stop(100, #<?php echo $color_schemes[$design]['100']?>));
background-image: -webkit-linear-gradient(top, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
background-image: linear-gradient(to bottom, #<?php echo $color_schemes[$design]['100']?> 0%, #<?php echo $color_schemes[$design]['300']?> 50%, #<?php echo $color_schemes[$design]['100']?> 100%);
<?php
}
?>

}
.button:hover {
background: #<?php echo $color_schemes[$design]['400']?>;
color: #<?php echo $color_schemes[$design]['font400']?>;
}
#main a {
color:#<?php echo $color_schemes[$design]['800']?>;
}
#main a:link {
color:#<?php echo $color_schemes[$design]['800']?>;
font-variant: small-caps;
}   
#main a:visited {
color:#<?php echo $color_schemes[$design]['800']?>;
}
<?php
}
?>

Let me know if it helped and I would change it in the download file
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 02:33:52 PM
Upgraded fairly quickly and then spent some time playing with the blocks.  Have you considered including all of the blocks in the initial download?  It would make it easier for someone installing for the first time.

Thanks again!
-Chris

Yes I did consider this but decided not to for several reasons:
1. I really want the user to go and choose the ones they really want. This would lead to people just simply using everything - and less is sometimes more :-)
2. These blocks will now work like the plugins - i.e. they have independent versioning and so if I for example find a bug, add a functionality etc. I would always have to change and re-upload the main download file, which is something I would rather avoid
3. I don't want the main download file to be too big
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 24, 2016, 02:59:08 PM
Jachym,

That should take care of the problem Paul had.  I just tried it on my site and you can now read the text.

Just wanted to let you know that I really like what you have done with this template.  It is easy to set up and use and I especially like that it uses the MySql database to collect and store the data.

Thanks for all the work you have done on this.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 03:23:06 PM
Thanks Jay,
comments like this is what makes me think that something I do actually makes sense :-)

Btw. it is a paradox, I think I mentioned it here before, I have a really crappy station (WH-1080) for 60 dollars, my measurements are inaccurate, no solar ... but actually even if I had Davis it would still be inaccurate. The problem is that I live in a tiny one-room flat just under the rooftop and I have no possibility of placing the station somewhere near the ground and also the wind sensor is not ideally placed. The thermometer is actually 1m above an asphalt roof... where the temperature really is higher so it will always be inaccurate during the day and no shield helps.
In addition, I live in a large city, with 2 professional stations nearby, so it is not like in some cases where some of you live in a small town where people go and look to your website what the weather conditions are.
The bottomline is that I know and knew that even before, that my data as such is pretty much useless... so that was also why i started working on this, because I thought it might help others.

but what I wanted to say is that it is a paradox, because I actually develop all this, test it etc etc... but I just realize now I never actually look at the actual numbers - it is like - I see there are numbers -> it works -> fine... thats the end... and I just realized that these days I no longer look at the actual values. And I only realized now that there were some non-sense data since the beginning of the year and that my wind sensor did not measure anything for 3 days... I havent noticed... despite the fact I work with the data every single day while developing at night...

Anyway, right now I have many ideas about new useful blocks, and of course also plugins - this is definitely not the end of plugins. With regards to the blocks, one thing I would also like to add is more region-specific things. This has so far been difficult to do because it was all on the homepage and it was just "one homepage" and trying to implement this all into one thing was complicated. Now they are all independent so I can make as many as I like and they do not clash in any way. The only limitation now is I guess time, given I have normal and part time job I can only work on this at nights and evenings and I also spend quite some time providing support. But I guess there is no need to rush and there definitely won't be version 5 any time soon. The homepage was something I disliked right from the beginning, but back then I simply did not know how to do this, I learn all the time I am not a programmer and I just started yr and half ago.

Thanks all for support! Makes me want to continue even more!
Title: Re: Meteotemplate - new free website template
Post by: gus on January 24, 2016, 03:47:42 PM
Hi,
I have updated the style file but still getting washed out text on the menu tabs with the light theme.
http://www.halethorpeweather.com/meteo/index.php
Once you open a page or plug-in the menu tab text is ok.
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 04:16:30 PM
Hmm yes I see, I will do some testing tomorrow when I have access to my work PC
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 24, 2016, 04:50:37 PM
Upgraded fairly quickly and then spent some time playing with the blocks.  Have you considered including all of the blocks in the initial download?  It would make it easier for someone installing for the first time.

Thanks again!
-Chris

Yes I did consider this but decided not to for several reasons:
1. I really want the user to go and choose the ones they really want. This would lead to people just simply using everything - and less is sometimes more :-)
2. These blocks will now work like the plugins - i.e. they have independent versioning and so if I for example find a bug, add a functionality etc. I would always have to change and re-upload the main download file, which is something I would rather avoid
3. I don't want the main download file to be too big

That makes sense.  I have to tell you I really like having the ability to control which are displayed and where they go.  I think I've finished tweaking my site, but I'll probably find something else I want to add or move.  My next task is to create a mobile friendly page.  I'm also thinking about creating a page for my son to view on his Kindle Fire - he's always asking when sunset is and what phase the moon is in.

Awesome work!

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 05:02:25 PM
I will try to improve how the page displays on mobile devices but given I don't have a smartphone it is difficult to test - though I must say some of you have already offered help, but it is still complicated when I cannot see the result myself.

What you could do however is create an alternative homepage with just one column, that would fit nicely on small screens.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 24, 2016, 05:05:04 PM
Quote
Go to homepage/css/style.php

and there you will see the CSS for the homepage.

Try replacing this (close to the top):
With that change I can now read the items \:D/   Thanks.
 
Quote
Yes I did consider this but decided not to for several reasons:
1. I really want the user to go and choose the ones they really want. This would lead to people just simply using everything - and less is sometimes more (http://www.wxforum.net/Smileys/default/icon_smile.gif)
and I see fingers pointing :oops:  www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)
I guess I also need to make a budget version #-o
 
Enjoying,
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2016, 05:11:18 PM
 :grin: :grin: :grin:

I knew you are going to say something :D But it was not meant at you in particular, because in your case it is different - you really wanted them all, but in case I would just include them all by default, everyone would use all despite the fact they dont need them, just to make life easier... and Paul you might have a problem in the future anyway because if I keep on adding new ones there will come a time when your computer will freeze as well if you add them all :D :D :D

But as I said, the difference is if you really chose them all or if you were just lazy to remove them... that is what I meant and the primary reason was the point number 2 anyway - having to change and reupload the main/update files would be lot of extra work for me.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2016, 05:40:59 AM
Hi Johnny,

your station script responsible for retrieving the data shows this:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

Which however does not give me any clues as to why it is not working. If you try running the original script, does it also show this?
I tried:
500 - Internal server error.

http://www.lefkas-weather.com/template/homepage/blocks/stationData/stationDataAjax.php?period=today

look into your server error log and let me know what the error actually was
Hi Jachym, 

Unfortunately, if i run the original script, it gives me the same error...

Hi Johnny,
I fixed it and it works for you now as well!!! The great thing is that looking at what the problem was, I would never be able to figure it out using the old version, because it would be close to impossible trying to find which line is causing the problem on your server, but given all the blocks are now independent I was able to find the problematic part even without access to the server error log.
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on January 25, 2016, 07:24:38 AM
Hi Jachym,

Did the upgrade without any issues. Awesome template, Sir!!!!!!

John
Title: Meteotemplate - new free website template
Post by: SimonB on January 25, 2016, 07:50:21 AM
I will try to improve how the page displays on mobile devices but given I don't have a smartphone it is difficult to test - though I must say some of you have already offered help, but it is still complicated when I cannot see the result myself.

What you could do however is create an alternative homepage with just one column, that would fit nicely on small screens.

Shock. Horror!!! No smartphone?

You don't need a smartphone to test

https://www.google.co.za/search?q=smartphone+simulation&rlz=1CDGOYI_enMY639MY639&oq=sm&aqs=chrome.0.69i59j69i57j0j5j69i60.3149j0j4&sourceid=chrome-mobile&ie=UTF-8&hl=en-US

There are a number of smartphone simulators out there
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2016, 08:06:58 AM
I will try to improve how the page displays on mobile devices but given I don't have a smartphone it is difficult to test - though I must say some of you have already offered help, but it is still complicated when I cannot see the result myself.

What you could do however is create an alternative homepage with just one column, that would fit nicely on small screens.

Shock. Horror!!! No smartphone?

You don't need a smartphone to test

https://www.google.co.za/search?q=smartphone+simulation&rlz=1CDGOYI_enMY639MY639&oq=sm&aqs=chrome.0.69i59j69i57j0j5j69i60.3149j0j4&sourceid=chrome-mobile&ie=UTF-8&hl=en-US

There are a number of smartphone simulators out there

Yes Simon, you are right, but I am not dumb and I know about these. The problem is that it seems like all the phones behave slightly differently - depending on the Android/iOS version, screen resolution etc. And I tried these and the page shows absolutely fine and then in reality it does not...

(http://i65.tinypic.com/8wb67k.jpg)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 25, 2016, 08:13:55 AM
Sorry. I didn't mean to infer you were dumb.
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 25, 2016, 08:18:56 AM
Hi Johnny,

your station script responsible for retrieving the data shows this:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

Which however does not give me any clues as to why it is not working. If you try running the original script, does it also show this?
I tried:
500 - Internal server error.

http://www.lefkas-weather.com/template/homepage/blocks/stationData/stationDataAjax.php?period=today

look into your server error log and let me know what the error actually was
Hi Jachym, 

Unfortunately, if i run the original script, it gives me the same error...

Hi Johnny,
I fixed it and it works for you now as well!!! The great thing is that looking at what the problem was, I would never be able to figure it out using the old version, because it would be close to impossible trying to find which line is causing the problem on your server, but given all the blocks are now independent I was able to find the problematic part even without access to the server error log.
Yes, it works indeed! I just checked it. \:D/
Jachym, you are a small God!
Respect =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2016, 08:21:29 AM
Sorry. I didn't mean to infer you were dumb.

No its ok, maybe I just misinterpreted the
Quote
Shock. Horror!!!
but thanks for your comment and suggestion. but as I said, unfortunately, my experience is that these emulators often do not work - or in this case they actually do work - they show the page ok - but it then does not work on the actual phone... I will work on this, but it probably will take some time.
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 25, 2016, 11:10:39 AM

Hi Jachym,

I just tried to install a second block next to the one i installed yesterday (current conditions) and guess what?
It doesn't work even if i choose the Meteobridge update option. Why it happens only to me? :-k 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2016, 11:31:37 AM

Hi Jachym,

I just tried to install a second block next to the one i installed yesterday (current conditions) and guess what?
It doesn't work even if i choose the Meteobridge update option. Why it happens only to me? :-k

I will have a look at it. If you are using meteobridge, did you install the liveGaugesMB and have the mbLive generated?
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 25, 2016, 11:34:53 AM

Hi Jachym,

I just tried to install a second block next to the one i installed yesterday (current conditions) and guess what?
It doesn't work even if i choose the Meteobridge update option. Why it happens only to me? :-k

I will have a look at it. If you are using meteobridge, did you install the liveGaugesMB and have the mbLive generated?
Yes, already did it.
Title: New plugin and blocks
Post by: Jáchym on January 25, 2016, 11:57:43 AM
User map plugin

Since some of you asked for this, I created a plugin which is basically exactly the same as the users map at meteotemplate.com.

DEMO:  http://www.meteotemplate.com/template/plugins/userMap/index.php (http://www.meteotemplate.com/template/plugins/userMap/index.php)
Download: http://www.meteotemplate.com/web/plugins.php (http://www.meteotemplate.com/web/plugins.php)
Info/comments: http://meteotemplate.com/blog/?p=398 (http://meteotemplate.com/blog/?p=398)

Database Summary block

A new block is now available in the blocks section. It will show a summary of your database.
Info/screenshot: http://www.meteotemplate.com/web/blocks.php (http://www.meteotemplate.com/web/blocks.php)

In addition I have also added instructions how to create your own block: http://www.meteotemplate.com/web/wiki/wikiHomepage.php (http://www.meteotemplate.com/web/wiki/wikiHomepage.php) and I added a "blank block" in the blocks section as well.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2016, 12:23:12 PM
Johnny your page is now fixed.
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 25, 2016, 01:21:50 PM
Johnny your page is now fixed.
You are amazing as always! UU
I hope it's the last time i ask for your assistance with the blocks :lol:
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 25, 2016, 01:43:27 PM
Johnny your page is now fixed.
You are amazing as always! UU
I hope it's the last time i ask for your assistance with the blocks :lol:
Unfortunately, it's not the last :oops:
Every time i try to install a new block, the same thing happens over and over again... It loads for ages without doing anything.
Is there anything i can do by myself in order to avoid bothering you all the time?
Title: Meteotemplate - new free website template
Post by: SimonB on January 25, 2016, 02:12:08 PM
Sorry. I didn't mean to infer you were dumb.

No its ok, maybe I just misinterpreted the
Quote
Shock. Horror!!!

Lol.. I live in deepest darkest Africa with the biggest idiot on the planet running the country (besides Zimbabwe)

But we have the among the highest per capita smartphone ownership in the world
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on January 25, 2016, 03:18:48 PM
Jachym,

Like the new Database Block.  I did add some text to make the icons more clear.  Just my style.

Jay

http://jayswoodfurniture.com/meteo/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2016, 07:01:48 PM
Jachym,

Like the new Database Block.  I did add some text to make the icons more clear.  Just my style.

Jay

http://jayswoodfurniture.com/meteo/

Very nice Jay, I actually agree with you, it is more clear. The reason I try to use icons as much as possible is because of the language issue. Yes there is the translations section, but it sometimes takes time before strings get translated, also not all languages are included :-) And in some cases (not in this case), icons have the great advantage of taking much less space than words, in table headings for example this can be quite useful, because if the table has lots of columns then they are narrowed on smaller screens and text gets spliced up vertically, which is not ideal.

But yes, I agree with you totally.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 26, 2016, 12:16:50 AM
Once I get caught up I may also add some word descriptions like Jay has...  just a bit more grooming up to do, and I think I've got all the correct station.png's replaced in the blocks /icon/dark and /icon/light folders.

Thanks for the Blank block Jachym.  I had used one of the initial blocks and was able to modify that for some of my own blocks.  I've made a comparison to the Blank block and just had to make some minor changes so that they are now all more uniform.  I had also tried to duplicate the split/exploding Blocks like the radarCA for but couldn't make it work.  Is that something you can put in a sample block for our customizing?

Also, I think some of the image blocks I've added have distorted the 25% 50% 25% ratio of the columns.  Is there a trick/code that will keep added blocks to the set column width?  I have tried variations of "<style width=" but my html understanding is still mostly limited to copy and paste :oops:

Thanks,
Paul
Title: CRON JOBS - VERY IMPORTANT!
Post by: Jáchym on January 26, 2016, 04:58:18 AM
Hi guys,

it looks like unfortunately the site that many of you use for updates (cron-jobs.org) had technical problems and this is what they posted on their homepage:

Unfortunately we experienced a partly data loss today (25th January, 2016). In case you cannot log in to your account anymore, please sign up again and re-create your jobs. We're sorry for the inconvenience this causes. We've already taken steps to prevent his in the future.

Therefore check your site as soon as possible and if it is showing "offline" then create a new profile and cron job for the updates.

As an alternative, it is also possible to use http://mywebcron.com, which also offers free minutely CRONs
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2016, 06:02:08 AM
Once I get caught up I may also add some word descriptions like Jay has...  just a bit more grooming up to do, and I think I've got all the correct station.png's replaced in the blocks /icon/dark and /icon/light folders.

Thanks for the Blank block Jachym.  I had used one of the initial blocks and was able to modify that for some of my own blocks.  I've made a comparison to the Blank block and just had to make some minor changes so that they are now all more uniform.  I had also tried to duplicate the split/exploding Blocks like the radarCA for but couldn't make it work.  Is that something you can put in a sample block for our customizing?

Also, I think some of the image blocks I've added have distorted the 25% 50% 25% ratio of the columns.  Is there a trick/code that will keep added blocks to the set column width?  I have tried variations of "<style width=" but my html understanding is still mostly limited to copy and paste :oops:

Thanks,
Paul

Hi Paul,
the "split blocks" are simply a table with two columns. With regards to the fixed width, the problem is if you set fixed width of images, they then force the table to stretch.
Title: Re: CRON JOBS - VERY IMPORTANT!
Post by: nitrx on January 26, 2016, 07:05:37 AM
Hi guys,

it looks like unfortunately the site that many of you use for updates (cron-jobs.org) had technical problems and this is what they posted on their homepage:

Unfortunately we experienced a partly data loss today (25th January, 2016). In case you cannot log in to your account anymore, please sign up again and re-create your jobs. We're sorry for the inconvenience this causes. We've already taken steps to prevent his in the future.

Therefore check your site as soon as possible and if it is showing "offline" then create a new profile and cron job for the updates.

Hi Jachym I noticed it this morning my account was dissapeared about 22:00 local time yesterday. I want to delete all january records from the database and upload the data again from my monthly file. What do I have to do to delete all the records from january first deleting them manually is a pain so I want to use a mysql command something like delete all from ...... ?

As an alternative, it is also possible to use http://mywebcron.com, which also offers free minutely CRONs

Hi Jachym I want to delete all the records from january 1st (this year) and upload them again from my monthly log wat sql command do I use for deleteing the database records from january 1st ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2016, 08:06:38 AM
Hi,
be very careful :-)

In your PHP MyAdmin use the DELETE command - http://www.w3schools.com/php/php_mysql_delete.asp

so in your case it would be something like:
Code: [Select]
DELETE FROM alldata WHERE YEAR(DateTime)=2016
Title: Re: Meteotemplate - new free website template
Post by: nitrx on January 26, 2016, 10:21:31 AM
Thanks that worked  \:D/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 26, 2016, 10:46:10 AM
Hi Jachym,
Quote
With regards to the fixed width, the problem is if you set fixed width of images, they then force the table to stretch.
I have tested by removing all my custom blocks and using only downloaded blocks and that narrows the centre column2 to the default but the left column 1 is then still more than 25% and the right column3 is less than 25%.  I presume that is because of some blocks, such as dbInfoBlock, have fixed 'px' that override the 25%allocation?
 
I have found that 2 of my custom blocks cause the centre column 2 to widen beyond the 50%.  I don't have any fixed width set for images and presume it is the actual image size that is causing the widening.  Is it possible to force a smaller fixed width for displaying those images?
 
Again thanks for Mango, it is fun playing with all the information that we create and is available...
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2016, 10:59:09 AM
Hi Jachym,
Quote
With regards to the fixed width, the problem is if you set fixed width of images, they then force the table to stretch.
I have tested by removing all my custom blocks and using only downloaded blocks and that narrows the centre column2 to the default but the left column 1 is then still more than 25% and the right column3 is less than 25%.  I presume that is because of some blocks, such as dbInfoBlock, have fixed 'px' that override the 25%allocation?
 
I have found that 2 of my custom blocks cause the centre column 2 to widen beyond the 50%.  I don't have any fixed width set for images and presume it is the actual image size that is causing the widening.  Is it possible to force a smaller fixed width for displaying those images?
 
Again thanks for Mango, it is fun playing with all the information that we create and is available...
 
Enjoying,
Paul

The images have fixed widths, so anytime you have images in the block, their width overrides the width of the block. I will try to fix this as part of the changes I would like to somehow make to make it display better on smartphones.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on January 26, 2016, 11:43:56 AM
I'll need to dig out my code Paul but you can force your images to scale with the width of the block. It's an width: and height: set to auto but will need to check
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on January 26, 2016, 11:50:25 AM
Hello,

I created a second index with using only 1 column and it looks pretty good on my smartphone.

http://donganhillsweather.net/index2.php

It's now possible to create several layouts and then add buttons or links so the user can switch between them.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2016, 11:54:20 AM
Hi, with regards to mobiles:

For the next update (which will be a rather minor one), one of the goals is to make the page responsive, so this will include:
- trying to make the page resize based on screen size (including images and maintaining column widths)
- create a page that would allow switching beteween mobile-display with 1-column, ideally make just one homepage, where once the width gets below certain value, the next column will "jump down" below the previous one (ie. use divs not table).

It is something I am working on, but given I dont have a smartphone and online emulators are not reliable, it will probably take a bit of time.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 26, 2016, 12:19:39 PM
Sorry Jachym,
Quote
It is something I am working on, but given I don't have a smartphone
I can't be a tester for this as my cell phone is a pay-as-you-go and only/always in the car #-o  primarily for emergency use

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2016, 12:50:12 PM
That´s fine Paul, I spent the entire last night reading about responsiveness and how to do it properly in CSS3. Since I prefer doing everything myself I don´t want to use libraries such as Bootstrap, but I think I am making progress.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2016, 02:44:27 PM
Ok, so it turns out this is going to be an even bigger challenge....

I read about how responsive websites are made and how to go about doing this sort of stuff. But my original idea and also the solution used by websites, will be quite tricky to be able to apply in this particular situation.

The problem is, that on one hand you have absolute freedom about styling your site now, but that also makes it virtually impossible to try to make it responsive. If you normally develop a page, you know that you for example have 3 columns, you know their relative width - in other words, you know what you have and thus you are able to deal with smaller screens.

My original idea was that for example, once the screen width gets below a certain value, put one of the columns below the other one. So make it narrower only to a certain point, when it would start to become unreadable.

But here is the problem... let's say that for example I use a homepage with columns 25/50/25%. So, let's now assume the user has a narrower screen. And here is the question... which column do we put to the bottom? Make them all below each other? Put the first two next to each other and the third below? Take the first, stretch it to full width and put the last 2 next to each other? And what about the proportions... the original ones were 1:2:1, but what if we now put two next to each other and one above. The first one will be simply 100%, but what about the other two? 50/50? Or do we keep the aspect ratio of the original, ie make them 33/66? See this is the problem, because I have no idea what you set for the widths, how many columns etc....

Right now I came up with one possible solution, but I am not sure this will work. What I could try to do is make the page so that it never overflows horizonatally - i.e. make the images getting smaller and smaller, also the text, as the screen gets narrower. This would basically mean the page would always occupy 100% width. And then make let's say 3 versions, one with for example 3 columns, one with 2 and one with just 1. For each I would specify the columns, their widths and the block order inside them. And then have a separate script, the index.php, which would only detect your resolution and then based on that, redirect you to one of those. But it is just an idea and I am absolutely not sure if this will or even could work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2016, 08:01:55 AM
Johnny your page is now fixed.
You are amazing as always! UU
I hope it's the last time i ask for your assistance with the blocks :lol:
Unfortunately, it's not the last :oops:
Every time i try to install a new block, the same thing happens over and over again... It loads for ages without doing anything.
Is there anything i can do by myself in order to avoid bothering you all the time?

Hi,
the warnings block did not work because you incorrectly wrote the block name. Be careful about specifying the name exactly as it is called, otherwise it cannot find it in the folder. The warnings block you use is "warningsEU", but in the index.php you called it just "warnings", so it was looking for the files inside "warnings" directory which does not exist.
In case of the rise/set block there was a tiny problem again with the language thing, but that is now fixed as well, so you can continue installing new blocks and hopefully we will find all the problems - your server is extremely strict and does not tolerate even things that are normally acceptable and even though I try to avoid these as well, sometimes one forgets and since it works fine I don´t notice it.
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 27, 2016, 08:09:54 AM
Johnny your page is now fixed.
You are amazing as always! UU
I hope it's the last time i ask for your assistance with the blocks :lol:
Unfortunately, it's not the last :oops:
Every time i try to install a new block, the same thing happens over and over again... It loads for ages without doing anything.
Is there anything i can do by myself in order to avoid bothering you all the time?

Hi,
the warnings block did not work because you incorrectly wrote the block name. Be careful about specifying the name exactly as it is called, otherwise it cannot find it in the folder. The warnings block you use is "warningsEU", but in the index.php you called it just "warnings", so it was looking for the files inside "warnings" directory which does not exist.
In case of the rise/set block there was a tiny problem again with the language thing, but that is now fixed as well, so you can continue installing new blocks and hopefully we will find all the problems - your server is extremely strict and does not tolerate even things that are normally acceptable and even though I try to avoid these as well, sometimes one forgets and since it works fine I don´t notice it.
Hi Jachym,

Thank you so much for one more time!
Sorry for the "warnings" block, i'm stupid, so i didn't pay attention during character typing...
What the f... is going on with this server sensitivity? If it was a woman it would cry all the time!! :grin:
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 27, 2016, 08:36:21 AM
Johnny your page is now fixed.
You are amazing as always! UU
I hope it's the last time i ask for your assistance with the blocks :lol:
Unfortunately, it's not the last :oops:
Every time i try to install a new block, the same thing happens over and over again... It loads for ages without doing anything.
Is there anything i can do by myself in order to avoid bothering you all the time?

 so you can continue installing new blocks and hopefully we will find all the problems.
Clock and moonphase work perfect, forecast no :-(
Title: Meteotemplate now supports NetAtmo + new blocks
Post by: Jáchym on January 27, 2016, 11:51:34 AM
(http://i67.tinypic.com/xe1oya.png)
Finally after weeks of trying I fixed all the errors and scenarios with regards to authentication for the NetAtmo and Meteotemplate is now compatible with the NetAtmo weather stations API and these stations can therefore be used for the updates of the database. Instructions how to do this are available in the wiki (requires the NetAtmo plugin). I hope some of you will welcome this as these PWS currently only support sending data to this API and I have received several questions about this. In the users map you can already find a first user Philipp with NetAtmo from Austria.

There are also new blocks available:

- snow statistics - this block is for those who use the snow plugin and it shows a summary of your data on the homepage

- US regional warnings - a new block for US warnings can now be downloaded. Unlike the other one, this one is not for states, but rather the individual zones within states. It can be installed alone or in combination with the state one. Instructions available in the settings.php and screenshots in the blocks section.

Instructions for NetAtmo - http://www.meteotemplate.com/web/wiki/wiki5GB.php
New blocks - http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 27, 2016, 01:50:13 PM
Jachym,

  I installed the snow block (left column 2nd block) and the snow amount and max depth for "This Month" and "This Winter" are showing N/A or 0.  I've had a total of 34.1" this month and for the season.

http://www.harpersferry-weather.com/meteotemplate/

Snow statistics:
http://www.harpersferry-weather.com/meteotemplate/plugins/snow/index.php

John


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2016, 03:01:04 PM
Hi John,
I think I know why, try downloading it now, I changed one thing in the script. Sorry about that.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 27, 2016, 03:28:31 PM
Hi John,
I think I know why, try downloading it now, I changed one thing in the script. Sorry about that.

That fixed it!  Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2016, 03:42:10 PM
Great, sorry again, it was a stupid mistake... what I did is since I do not log the snow, my db is only for test purposes and I only put some fake data for last yr, so I hard coded last yr and then forgot to uncomment the line that retrieved current yr.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 27, 2016, 05:06:55 PM
No need to be sorry.  Stuff like this is going to happen.

Another thing that I noticed from the snow statistics page is that the average daily snow snowfall and the daily average on the ground reading are off unless I'm reading it wrong.  I've only had snow on the ground for 7 days.  Shouldn't this be the average for the whole month (27 days so far)?  Currently the snow statistics page http://www.harpersferry-weather.com/meteotemplate/plugins/snow/report.php?date=20161 (http://www.harpersferry-weather.com/meteotemplate/plugins/snow/report.php?date=20161) has:

"Average daily snowfall    34.10 in  (this is total snowfall I've had for the month)
Daily average on the ground    19.00 in" (this is my current snow depth as of today Jan 27)


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2016, 05:33:43 PM
OK I will need to check that tomorrow
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2016, 06:32:11 PM
The block seems to be working fine, there might be a problem with the plugin. Unfortunately I have to get up early tomorrow - fingers crossed  ;), my first PhD exam.... so I will leave it for today and tomorrow I will let you know. The winter calculations are a bit tricky for the Northern hemisphere because of the fact you have like two winters in one year, always half one year and half another and so maybe i messed it up :-)
Title: Re: Meteotemplate now supports NetAtmo + new blocks
Post by: SpringHillWeather on January 27, 2016, 06:57:54 PM
Quote

- US regional warnings - a new block for US warnings can now be downloaded. Unlike the other one, this one is not for states, but rather the individual zones within states. It can be installed alone or in combination with the state one. Instructions available in the settings.php and screenshots in the blocks section.



Hooray!!!!  =D&gt; =D&gt; =D&gt;

Installed and working, thanks!
Title: Re: Meteotemplate - new free website template
Post by: CW2274 on January 27, 2016, 07:13:23 PM
Unfortunately I have to get up early tomorrow - fingers crossed  ;), my first PhD exam....
8-) Good luck sir.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2016, 07:29:34 PM
I hope it will go ok, it is the first one from English language, but the examiner..... well let's just say she always tries to make problems, for example already finding the date and time for the exam was a problem and I have a feeling she always tries to make your life as difficult as possible (also based on what I have heard from some older colleagues who also had the exam with her...)

EIther way thx and once it is over (it will be in the morning) I will go straight to work and then stay there longer so I will have time to look at all the issues regarding Meteotemplate :-)
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on January 27, 2016, 07:45:42 PM
Best of luck to you, Jachym!!!!
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 27, 2016, 08:44:36 PM
Good luck Jachym!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 27, 2016, 10:49:06 PM
Wishing you the best Jachym,


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 06:19:00 AM
Hi guys, exam went well and I got an A :D It was primarily from the English language, but I had to talk about the topic of my dissertation, which is evapotranspiration and drought, so it was not just grammar and vocabulary, but also the content :-)

Time now to look at all the emails and problems you sent me/have :-)

And I also must thank all of you because you helped me with it :D I practice English by writing here, writing the wiki and basically doing all this in English and also these days, on average about once in 2 days I provide support to one of you by actually discussing it on Skype, so that way I even practice talking :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 06:40:29 AM
No need to be sorry.  Stuff like this is going to happen.

Another thing that I noticed from the snow statistics page is that the average daily snow snowfall and the daily average on the ground reading are off unless I'm reading it wrong.  I've only had snow on the ground for 7 days.  Shouldn't this be the average for the whole month (27 days so far)?  Currently the snow statistics page http://www.harpersferry-weather.com/meteotemplate/plugins/snow/report.php?date=20161 (http://www.harpersferry-weather.com/meteotemplate/plugins/snow/report.php?date=20161) has:

"Average daily snowfall    34.10 in  (this is total snowfall I've had for the month)
Daily average on the ground    19.00 in" (this is my current snow depth as of today Jan 27)

Hi,

so, looking at your site, it is indeed incorrect. However, when I went to my demo it seems all correctly calculated, just as it seems ok in the code. The number is the monthly total divided by the total number of days. It is the same variable as the one for the number of days, which even on your page is 27, so the total must be divided also by 27, since it is the same variable.

I suspect that what could happen is that if I remember correctly, I think Paul pointed out one error in the script earlier and I fixed it, so it could be that it was this (I cant remember what exactly it was) and that you are using the original buggy version.

i am attaching the most recent version of the script, change the extension to php and replace the original and let me know if it fixed the issue.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 28, 2016, 07:09:13 AM
Jachym, well done young man  =D&gt;
(http://www.manorts.com/smiley/school/school7.gif)
I am trying out V4 and noticed a large build up of error logs in the blocks folders. I am not using a lot of blocks and in 2 days the error logs total in excess of 1mB.

Most are like this:

Undefined variable: P3Days in/homepage/blocks/baroTrend/baroTrendBlock.php on line 29
Undefined variable: P48h in /homepage/blocks/baroTrend/baroTrendBlock.php on line 39
Undefined variable: P24h in /homepage/blocks/baroTrend/baroTrendBlock.php on line 44
Undefined variable: P12h in /homepage/blocks/baroTrend/baroTrendBlock.php on line 59
Undefined variable: P6h in /homepage/blocks/baroTrend/baroTrendBlock.php on line 49
Undefined variable: P3h in /homepage/blocks/baroTrend/baroTrendBlock.php on line 54
Undefined variable: P1h in /homepage/blocks/baroTrend/baroTrendBlock.php on line 64
Undefined variable: PWeek in /homepage/blocks/baroTrend/baroTrendBlock.php on line 34
Undefined variable: blockGradient in /homepage/blocks/current/currentBlock.php on line 41
Undefined variable: timeoutValue in /homepage/blocks/forecast/forecastBlock.php on line 65
Undefined variable: contextStream in homepage/blocks/warningsAU/warningsAUBlock.php on line 58
Undefined variable: output in /homepage/blocks/warningsAU/warningsAUBlock.php on line 81
Undefined variable: output in /homepage/blocks/warningsAU/warningsAUBlock.php on line 85

RISET
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /scripts/functions.php on line 40
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /scripts/functions.php on line 73

Any one else notice this or is it just me?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 07:21:40 AM
Hi,

yes you are right, the problem was that I realized that my server is (in this case unfortunately) very tolerant towards these "errors". For example, normally you should declare all variables before you use them. I always try to do it, but sometimes when you have thousands of line of code, you forget. The problem is that these "more tolerant" servers like mine, automatically assign a blank value to a variable if you use it without declaring it. This is in fact sometimes exactly what I want to do, so since the script works fine and shows no errors, I missed that I in fact did not declare it.

Johnny already mentioned this to me and I have already made the necessary changes on my server to make it more strict. I now also see these errors so I already fixed them all, just did not have time to upload the updated files yet. Also because I want to add one more change to it and I then want to release it in bulk.

So in your case, just do this:

BarotrendBlock.php:
Somewhere below the lines with the language at the top, paste:
Code: [Select]
$P3Days = "";
$PWeek = "";
$P48h = "";
$P24h = "";
$P12h = "";
$P6h = "";
$P3h = "";
$P1h = "";

Current.php
Delete the line with the blockGradient parameter (it was used in the previous version, but no longer needed. Again, i forgot to delete it and my server just did not know it so it ignored it instead of throwing an error - as I said it does now, but i havent updated it yet)

forecastBlock.php
On line 65, replace it with this:
Code: [Select]
url : 'homepage/blocks/forecast/forecastAjax.php?service='+service+'&cache=<?php echo $forecastsCache?>',or just delete the timeoutValue parameter from the URL

warningsAUBlock:
line 58 shoud look like this:
Code: [Select]
$warningsAURaw = file_get_contents($urlAU);
In all these cases it is usually either using a varibale without declarig it previously or using a variable that was undefined. On my server it simply did not do anything and so when I sometimes deleted some functions and some variables are no longer used, I missed its usage in some other scripts and since my server just ignored it if it didn´t know it, I did not notice it.

i hope this solves it all. As I said, I am making one change which will affect most of the blocks (no worries, update will be easy since all settings is saved separately) I will update all the download files, which will no longer have these errors.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 07:31:26 AM
I am currently in the process of redoing all the blocks - but in this case you probably might not even notice the changes. What I am basically trying to do is change them all so that they are 100% responsive and show and rescale properly on mobile devices. I think I am making progress, but since it takes me a bit more time as I never did this before and don´t even have a smartphone/tablet to test, it is likely to take some more time. I hope maybe by the end of this weekend I could have some first version and i will then update all the block files which will also include all the fixes for the errors, which normally do not affect the page as such, but they are logged and obviously something I want to get rid of.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 28, 2016, 08:35:25 AM
Hi,

so, looking at your site, it is indeed incorrect. However, when I went to my demo it seems all correctly calculated, just as it seems ok in the code. The number is the monthly total divided by the total number of days. It is the same variable as the one for the number of days, which even on your page is 27, so the total must be divided also by 27, since it is the same variable.

I suspect that what could happen is that if I remember correctly, I think Paul pointed out one error in the script earlier and I fixed it, so it could be that it was this (I cant remember what exactly it was) and that you are using the original buggy version.

i am attaching the most recent version of the script, change the extension to php and replace the original and let me know if it fixed the issue.

First off congratulations on your exam.

I uploaded the report.php and it fixed the problem with the "Average daily snowfall - it shows 1.22" instead of 34.1".  There's still an issue with the "Daily average on the ground".  It's showing 17" which is what I entered this morning for the snow depth. 

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 09:09:09 AM
OK, can you try this please:
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 28, 2016, 09:20:31 AM
  Something isn't right still.  The stats is showing an average snow depth for the month of .61".  I believe the calculation for "The average snow on the ground" should be adding up each days snow depth and dividing it by the # of days in the month so far.  It looks like were taking the snow depth this morning (17 ") and / by 28.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 09:32:32 AM
OK, another try :D
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 28, 2016, 09:40:05 AM
Looks good to me!   \:D/
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 28, 2016, 11:35:12 AM
Jachym

Two things, first congrats on your exam results!

Second, I got a notice this morning from my hoster that soon they will start charging an addition $7+ / month if I keep using PHP 5.4, so naturally I upgraded to 5.6 and was reminded that neither the Canada Radar plugin or Block function, both end up with a blank screen/block!

As I recall this happened once before and that's why I reverted back to 5.4!

Could you put this issue back on your radar if it has fallen off!

Thanks
Bill
http://www.sanfordweather.com/meteo/
http://www.sanfordweather.com//meteo/plugins/canadaRadar/radar.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 11:55:52 AM
Hi Bill,

it is problematic, on one hand I made some changes to make it compatible even with 5.3 (because some people just like things unchanged and are afraid of upgrading to 5.4) and now we could also start considering PHP 7...

but in this particular case, I actually think this is not caused by the actual change from 5.4 to 5.6. I just checked the depracted functions and there is no function at all listed there that I would use anywhere in the template.

I suspect this could be because the PHP settings, the PHP.ini, could be set up diffeerently by your provider when using 5.6. This is very difficult to test because I just tried it on my server and it works, I cannot replicate the issue.

Since I remember I tried various things for you, I am now unsure what you actually have in the actual script. Could you send me the file you are currently using? Thanks
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 28, 2016, 12:02:55 PM
Here ya go, I zipped up the entire plugin/block directory for the appropriate bits!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 12:22:03 PM
Here ya go, I zipped up the entire plugin/block directory for the appropriate bits!

Attachment links dont work
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 28, 2016, 02:13:53 PM
Hi...i am on 5.6 and never had problems with canada radar ;)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 28, 2016, 02:16:17 PM
Here ya go, I zipped up the entire plugin/block directory for the appropriate bits!

Attachment links dont work

That's strange, they work for me??

I'll send them in a PM!
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on January 28, 2016, 02:23:48 PM
they worked for me too just tried them  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 05:18:04 PM
they worked for me too just tried them  ;)

Which basically proves what I was suggesting above - it is something to do with your server configuration Bill. I will try to see if I can find the problem.

Maybe what would help is this: create a new php page and inside it, just put:

Code: [Select]
<?php
 phpinfo
()
?>


then send me a link to this page
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 28, 2016, 06:15:21 PM
OK, another try :D
Hi Jachym,
It appears you changed "Average daily snowfall" data description to "Total monthly snowfall" and that now is correct to my manual records that I upload to CoCoRaHS.  There may be other changes that I didn't catch but I am happy with the new records.php.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 28, 2016, 06:40:55 PM
they worked for me too just tried them  ;)

Which basically proves what I was suggesting above - it is something to do with your server configuration Bill. I will try to see if I can find the problem.

Maybe what would help is this: create a new php page and inside it, just put:

Code: [Select]
<?php
 phpinfo
()
?>


then send me a link to this page

Already there

http://www.sanfordweather.com/phpinfo.php

I just looked at my /custom/CanadaRadar page which uses Ken's script and see that he uses a slightly different url for the radar images

http://weather.gc.ca/data/radar/temp_image/COMPOSITE_$siteID/%s

http://www.sanfordweather.com//meteo/custom/CanadaRadar.php

You can see the source at http://www.sanfordweather.com//meteo/custom/ec-radar.php?sce=view

Have not tried to substitute that yet but I will in the morning!
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 28, 2016, 07:06:43 PM
OK, another try :D
Hi Jachym,
It appears you changed "Average daily snowfall" data description to "Total monthly snowfall" and that now is correct to my manual records that I upload to CoCoRaHS.  There may be other changes that I didn't catch but I am happy with the new records.php.

Thanks,
Paul

Paul,

  The "Average daily snowfall" wasn't changed to the "Total monthly snowfall".  Both are still used in the plugin.  There was a bug in how the "Average daily snowfall " and the "Daily average on the ground" were being calculated.  Both issues were fixed by Jachym today.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2016, 07:23:40 PM
they worked for me too just tried them  ;)

Which basically proves what I was suggesting above - it is something to do with your server configuration Bill. I will try to see if I can find the problem.

Maybe what would help is this: create a new php page and inside it, just put:

Code: [Select]
<?php
 phpinfo
()
?>


then send me a link to this page

Already there

http://www.sanfordweather.com/phpinfo.php

I just looked at my /custom/CanadaRadar page which uses Ken's script and see that he uses a slightly different url for the radar images

http://weather.gc.ca/data/radar/temp_image/COMPOSITE_$siteID/%s

http://www.sanfordweather.com//meteo/custom/CanadaRadar.php

You can see the source at http://www.sanfordweather.com//meteo/custom/ec-radar.php?sce=view

Have not tried to substitute that yet but I will in the morning!

OK thanks, I will inspect the PHP settings tomorrow. The different URL should not be a problem because if the URL did not work, it would not work for anyone. I will have to see what is and isn't enabled in your PHP configuration and based on that choose the right method of retrieving the data.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 28, 2016, 08:16:36 PM
OK, another try :D
Hi Jachym,
It appears you changed "Average daily snowfall" data description to "Total monthly snowfall" and that now is correct to my manual records that I upload to CoCoRaHS.  There may be other changes that I didn't catch but I am happy with the new records.php.

Thanks,
Paul

Paul,

  The "Average daily snowfall" wasn't changed to the "Total monthly snowfall".  Both are still used in the plugin.  There was a bug in how the "Average daily snowfall " and the "Daily average on the ground" were being calculated.  Both issues were fixed by Jachym today.

John
Ahh, yes, I misread the line.  Before today's replacement records.php it showed 40.6 cm for Average daily snowfall and now 1.5 cm.  The 1.5 is correct for Nov-curr winter season average of 138.6 / 89 days.  The 40.6 cm is the total snowfall for the season.  Everything now seems to be correct.  However...

I have the snow season from November through April in Meteotemplate.  We have seldom and little snow in November and April but it does occur.  But this year we had our first snow in October, just a little bit, which I reported to CoCoRaHS.  So I changed my manual records to begin from October so my calculation there is then somewhat different because of adding October.  I could have change Meteotemplate winter season but dfecided not to.

Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 28, 2016, 08:37:00 PM
they worked for me too just tried them  ;)

Which basically proves what I was suggesting above - it is something to do with your server configuration Bill. I will try to see if I can find the problem.

Maybe what would help is this: create a new php page and inside it, just put:

Code: [Select]
<?php
 phpinfo
()
?>


then send me a link to this page

Already there

http://www.sanfordweather.com/phpinfo.php

I just looked at my /custom/CanadaRadar page which uses Ken's script and see that he uses a slightly different url for the radar images

http://weather.gc.ca/data/radar/temp_image/COMPOSITE_$siteID/%s

http://www.sanfordweather.com//meteo/custom/CanadaRadar.php

You can see the source at http://www.sanfordweather.com//meteo/custom/ec-radar.php?sce=view

Have not tried to substitute that yet but I will in the morning!

OK thanks, I will inspect the PHP settings tomorrow. The different URL should not be a problem because if the URL did not work, it would not work for anyone. I will have to see what is and isn't enabled in your PHP configuration and based on that choose the right method of retrieving the data.

I didn't think the url difference would be the problem I just mentioned it just in case it helps point out where the issue is....

but what the heck do I know  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2016, 05:08:45 PM
they worked for me too just tried them  ;)

Which basically proves what I was suggesting above - it is something to do with your server configuration Bill. I will try to see if I can find the problem.

Maybe what would help is this: create a new php page and inside it, just put:

Code: [Select]
<?php
 phpinfo
()
?>


then send me a link to this page

Already there

http://www.sanfordweather.com/phpinfo.php

I just looked at my /custom/CanadaRadar page which uses Ken's script and see that he uses a slightly different url for the radar images

http://weather.gc.ca/data/radar/temp_image/COMPOSITE_$siteID/%s

http://www.sanfordweather.com//meteo/custom/CanadaRadar.php

You can see the source at http://www.sanfordweather.com//meteo/custom/ec-radar.php?sce=view

Have not tried to substitute that yet but I will in the morning!

OK thanks, I will inspect the PHP settings tomorrow. The different URL should not be a problem because if the URL did not work, it would not work for anyone. I will have to see what is and isn't enabled in your PHP configuration and based on that choose the right method of retrieving the data.

I didn't think the url difference would be the problem I just mentioned it just in case it helps point out where the issue is....

but what the heck do I know  :grin:

Hmm.. this is odd,looks like you have everything enabled.... I will see if I can find the problem
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2016, 06:09:28 PM
they worked for me too just tried them  ;)

Which basically proves what I was suggesting above - it is something to do with your server configuration Bill. I will try to see if I can find the problem.

Maybe what would help is this: create a new php page and inside it, just put:

Code: [Select]
<?php
 phpinfo
()
?>


then send me a link to this page

Already there

http://www.sanfordweather.com/phpinfo.php

I just looked at my /custom/CanadaRadar page which uses Ken's script and see that he uses a slightly different url for the radar images

http://weather.gc.ca/data/radar/temp_image/COMPOSITE_$siteID/%s

http://www.sanfordweather.com//meteo/custom/CanadaRadar.php

You can see the source at http://www.sanfordweather.com//meteo/custom/ec-radar.php?sce=view

Have not tried to substitute that yet but I will in the morning!

OK thanks, I will inspect the PHP settings tomorrow. The different URL should not be a problem because if the URL did not work, it would not work for anyone. I will have to see what is and isn't enabled in your PHP configuration and based on that choose the right method of retrieving the data.

I didn't think the url difference would be the problem I just mentioned it just in case it helps point out where the issue is....

but what the heck do I know  :grin:

Try this
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 29, 2016, 08:44:58 PM
Nope no change!

I looked for a cache to clear for the home page but didn't see one!

http://www.sanfordweather.com//meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2016, 10:04:47 PM
The radar is not cached.

Well in that case I think it is the same problem Paul had in the past,  your server is probably restricted access to ec,  because you have the curl function enabled,  the script works on other websites and it just doesn't load on yours
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 30, 2016, 01:24:24 AM
Well done Jachym on the new version. My preference is for a basic minimal page because I get lost with too much info in one place.
Now I can only have the blocks that suit me and use the menu for less used data.
I also moved the randomly displayed image to a smaller column because it just took over the page.
Title: Looking for testers - mobile devices
Post by: Jáchym on January 30, 2016, 10:18:14 AM
OK, so as promised earlier this week, I have spent the last few days trying to make the page and blocks display better on mobile devices - i.e. phones and tablets.

I did try some of the online emulators and resizing the window in the browser, but from experience I know this is not 100% reliable. Especially I do not know how it will behave for example on Apple devices. I do not have smartphone myself so I only tested Android using Chrome, which looks good, but....

I know some of you offered help so I am now looking for a person to test this before I release it for everyone to download. In particular I am looking for someone who:
- can test some mobile device - ideally both smartphone and tablet and ideally at least one Apple device
- I can talk to you over Skype or Hangouts - this makes things a lot easier in comparison to exchaning emails/PMs
- you would be willing to do this and have time tonight or tomorrow evening/night (I am UTC+1, but I stay up late so even after midnight is absolutely OK)

If interested, send me a PM or email
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 30, 2016, 11:33:39 AM
Hi Jachym,
Quote
I am looking for someone who:
- can test some mobile device - ideally both smartphone and tablet and ideally at least one Apple device
I could learn to use my wife's IPad but no smartphone so not a good volunteer for this.  Hopefully someone else can.
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 30, 2016, 11:36:59 AM
Hi Paul and thanks, I appreciate your effort, Tom has already sent me a PM and we should talk in a few minutes on Skype, so if whatever I have is usable I hope to make it available maybe tomorrow or Monday.
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 01, 2016, 06:03:20 AM
Hi Jachym,

i would like to know how to add the language parameter in the plugins/snow/reaportSeason:

- for this one '' to ''

for($i=0;$i<count($consecutiveSnowfall);$i++){
         if($consecutiveSnowfall[$i]==max($consecutiveSnowfall)){
            $maxConsecutiveSnowfallPeriods[] = date("j M",($graphData[$i-(max($consecutiveSnowfall)-1)][0]))." to ".date("j M",$graphData[$i][0]);

- for this one " days"

<td style="background:#<?php echo $color_schemes[$design2]['900']?>;font-weight:bold;font-variant:small-caps;width:50%">
              <?php echo lang('data available','c')?> </td>
            <td> <?php echo $dataAvailability." days"?> </td>

- for this one "winter "

 <?php
               if($north){
                  echo lang("winter ",'c')." ".$y."/".($y+1);
               }
               else{
                  echo "winter ".$y;
               }
            ?>

thanks for helping me out :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 06:15:18 AM
Hi Jachym,

i would like to know how to add the language parameter in the plugins/snow/reaportSeason:

- for this one '' to ''

for($i=0;$i<count($consecutiveSnowfall);$i++){
         if($consecutiveSnowfall[$i]==max($consecutiveSnowfall)){
            $maxConsecutiveSnowfallPeriods[] = date("j M",($graphData[$i-(max($consecutiveSnowfall)-1)][0]))." to ".date("j M",$graphData[$i][0]);

- for this one " days"

<td style="background:#<?php echo $color_schemes[$design2]['900']?>;font-weight:bold;font-variant:small-caps;width:50%">
              <?php echo lang('data available','c')?> </td>
            <td> <?php echo $dataAvailability." days"?> </td>

- for this one "winter "

 <?php
               if($north){
                  echo lang("winter ",'c')." ".$y."/".($y+1);
               }
               else{
                  echo "winter ".$y;
               }
            ?>

thanks for helping me out :)

Hi,
my plan is to update all the plugins and make sure the language translations are included in all of them, but for now you can already do it yourself:

Code: [Select]
for($i=0;$i<count($consecutiveSnowfall);$i++){
if($consecutiveSnowfall[$i]==max($consecutiveSnowfall)){
$maxConsecutiveSnowfallPeriods[] = date("j M",($graphData[$i-(max($consecutiveSnowfall)-1)][0]))." ".lang("to","l")." ".date("j M",$graphData[$i][0]);

Code: [Select]
<td style="background:#<?php echo $color_schemes[$design2]['900']?>;font-weight:bold;font-variant:small-caps;width:50%">
              <?php echo lang('data available','c')?> </td>
            <td> <?php echo $dataAvailability." ".lang("days","l");?> </td>

Code: [Select]
<?php
               
if($north){
                  echo 
lang("winter ",'c')." ".$y."/".($y+1);
               }
               else{
                  echo 
lang("winter ",'c')." ".$y;
               }
            
?>
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 01, 2016, 06:45:45 AM
thanks a lot Jachym! :)
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 01, 2016, 07:24:53 AM
Hi Jachym,

i would like to know how to add the language parameter in the plugins/snow/reaportSeason:

- for this one '' to ''

for($i=0;$i<count($consecutiveSnowfall);$i++){
         if($consecutiveSnowfall[$i]==max($consecutiveSnowfall)){
            $maxConsecutiveSnowfallPeriods[] = date("j M",($graphData[$i-(max($consecutiveSnowfall)-1)][0]))." to ".date("j M",$graphData[$i][0]);

- for this one " days"

<td style="background:#<?php echo $color_schemes[$design2]['900']?>;font-weight:bold;font-variant:small-caps;width:50%">
              <?php echo lang('data available','c')?> </td>
            <td> <?php echo $dataAvailability." days"?> </td>

- for this one "winter "

 <?php
               if($north){
                  echo lang("winter ",'c')." ".$y."/".($y+1);
               }
               else{
                  echo "winter ".$y;
               }
            ?>

thanks for helping me out :)

Hi,
my plan is to update all the plugins and make sure the language translations are included in all of them, but for now you can already do it yourself:

Code: [Select]
for($i=0;$i<count($consecutiveSnowfall);$i++){
if($consecutiveSnowfall[$i]==max($consecutiveSnowfall)){
$maxConsecutiveSnowfallPeriods[] = date("j M",($graphData[$i-(max($consecutiveSnowfall)-1)][0]))." ".lang("to","l")." ".date("j M",$graphData[$i][0]);

Code: [Select]
<td style="background:#<?php echo $color_schemes[$design2]['900']?>;font-weight:bold;font-variant:small-caps;width:50%">
              <?php echo lang('data available','c')?> </td>
            <td> <?php echo $dataAvailability." ".lang("days","l");?> </td>

Code: [Select]
<?php
               
if($north){
                  echo 
lang("winter ",'c')." ".$y."/".($y+1);
               }
               else{
                  echo 
lang("winter ",'c')." ".$y;
               }
            
?>


For some reason, the parameter seem not working and have check the language to make sure the ''to'':''to'', in the gb and in fr "to":"\u00e0", were there.

Code: [Select]
for($i=0;$i<count($consecutiveSnowfall);$i++){
if($consecutiveSnowfall[$i]==max($consecutiveSnowfall)){
$maxConsecutiveSnowfallPeriods[] = date("j M",($graphData[$i-(max($consecutiveSnowfall)-1)][0]))." ".lang("to","l")." ".date("j M",$graphData[$i][0]);


http://www.meteoinfostalphonse.com/caplan/plugins/snow/reportSeason.php?year=2015 winter statistics


thanks
Title: Meteotemplate 4.1, new EU warnings block, block updates, plugin update
Post by: Jáchym on February 01, 2016, 09:55:15 AM
Hi guys,

New minor version upgrade. The update should only take you a few seconds. Main new feature is related to the styling and especially making the page responsive and better displayed on mobile devices and smaller screens.
There is also a brand new block and one updated plugin.

Meteotemplate 4.1 Mango

NEW – this version contains one additional file which will be used later on for Meteotemplate user network, which I am planning to develop
CHANGED – slightly modified CSS file for the homepage, which is necessary for the updated block styling to work
Update instructions are in the blog

New block – European Regional Warnings

A new block is now available, which is similar to the EU warnings block, but this time, shows also the particular regions for which the warnings are issued as well as a map of the country with highlighted warnings. The block can be downloaded and screenshots are available in the blocks section.

Updated plugin – European Radar

The European radar plugin has been updated to reflect changes on the Sat24 website, unless you update it, it will not show some images correctly.

Updated blocks

Practically all the blocks have been updated to version 1.1. This was necessary to make them responsive, but there were also some important bug fixes – for example in the station data block, rain was not calculated correctly for last 24h, some maps did not work in the earthquake block and there were other minor bugs fixed. However, the important thing is – unless you update all your blocks to these responsive ones, your page will not be responsive, because even just one non-responsive one will cause problems with how the page is displayed on smaller screens.

(http://i67.tinypic.com/2guiq0p.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 10:03:56 AM
One more thing I forgot to add:

when updating the blocks, always use all the new files, but you can keep your settings.php, that did not change so you do not have to set up anything again!
Title: Re: Meteotemplate 4.1, new EU warnings block, block updates, plugin update
Post by: SpringHillWeather on February 01, 2016, 02:02:40 PM
Hi guys,

New minor version upgrade. The update should only take you a few seconds. Main new feature is related to the styling and especially making the page responsive and better displayed on mobile devices and smaller screens.
There is also a brand new block and one updated plugin.

Meteotemplate 4.1 Mango

NEW – this version contains one additional file which will be used later on for Meteotemplate user network, which I am planning to develop
CHANGED – slightly modified CSS file for the homepage, which is necessary for the updated block styling to work
Update instructions are in the blog

New block – European Regional Warnings

A new block is now available, which is similar to the EU warnings block, but this time, shows also the particular regions for which the warnings are issued as well as a map of the country with highlighted warnings. The block can be downloaded and screenshots are available in the blocks section.

Updated plugin – European Radar

The European radar plugin has been updated to reflect changes on the Sat24 website, unless you update it, it will not show some images correctly.

Updated blocks

Practically all the blocks have been updated to version 1.1. This was necessary to make them responsive, but there were also some important bug fixes – for example in the station data block, rain was not calculated correctly for last 24h, some maps did not work in the earthquake block and there were other minor bugs fixed. However, the important thing is – unless you update all your blocks to these responsive ones, your page will not be responsive, because even just one non-responsive one will cause problems with how the page is displayed on smaller screens.

(http://i67.tinypic.com/2guiq0p.png)

Thank you Jachym,
I upgraded to 4.1 without any issues. 

It just takes a little time to download all the new blocks and upgrade the .php files if you have many blocks on your site.  However the responsiveness of the new blocks are awesome!!!

Excellent work
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on February 01, 2016, 03:27:28 PM
Jachym,

I have completed the upgrade also and it looks good.  As Tom said, it did take some time to upgrade all of the blocks, but it's worth the effort.  Everything looks bigger.  The biggest thing that jumped out at me is the US radar block.  With the change in orientation from having the two images side by side to having them stacked one on top of the other, the radar images got really big.  Any chance of splitting this into two blocks in the future?  One for the national radar and one for the regional radar?

I did a quick test of my site on an iPhone 6 and an Android 5.1 phone. For the most part, the page renders well on both. The exception is the header and menu. 
 [ You are not allowed to view attachments ]

Thanks again for all of your great work on this!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 01, 2016, 04:50:33 PM
It's a great job you've done. Just a few issues on my side, that don't seem to work like 4.0

LG G4

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 05:29:20 PM
OK, Im back, just came from work.

God... that menu and header is awful... the problem is... thanks to Tom, I was able to test this on several Android and Apple devices... none of them showed this behavior so this really is problematic because it looks like every single device behaves differently. My guess is that this is probably only usable on higher-end phones and tablets. Phones with really low resolution just cannot display such large page with so many features. I would still recommend creating a mobile version for very small screens, I will actually make it and write instructions how to automatically redirect users with so small screens, so if you want you can just wait, I hope it should be ready in a few days.

Tina, the screen you posted shows that one of the blocks is not well displayed and not responsive, so pushes the whole page to the side and overflows horizontally. I suspect it is the clock block, that one was in fact the most problematic one of all. Try disabling it just to let me know if it is this one. If not, try disabling them one by one just to see which one is causing this and I will have a look at that particular block again.

US radar: I put it like this because the problem was that because it is now responsive, the icons actually get smaller on smaller screens. And when it was side by side, the icons below the national radar were no longer usable because they were just so small. I also thought about spliting the national and regional radar and have it as two blocks, but then I though people would install both of them anyway...
So let me know what you think, it is not a problem to make this as two separate blocks.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 05:46:30 PM
OK, I think I see the problem now that more of you tested this, so if anyone could please try the following and let me know if there is any change:

Go to your header.php and in the style section find these lines:
Code: [Select]
#title1{
font-size: 50px;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
#title2{
font-size: 30px;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}

Change this to:

Code: [Select]
#title1{
font-size: 3.5em;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
#title2{
font-size: 2.5em;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 01, 2016, 05:50:17 PM
I disabled the clock, and the world weather block- it now fits.
The empty space may be down to the pixels on my phone, it has one of the highest resolutions available for a 5.5" device @ 1440 x 2560 pixels

Screenshot without:

 [ You are not allowed to view attachments ]

Screenshot with:

 [ You are not allowed to view attachments ]

I appreciate all your time on effort on this magnificent template by the way!  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 05:54:44 PM
Yes that is because of this... it is usually the other way around - struggle with screens that are too small :D

The problem in this case is that I basically made it virtually impossible for myself to make this responsive. I talked to my former classmate, he actually owns a company for webdesign and has been working as a pro web designer for many yrs. I asked him about my homepage and he said that the main problem is that the techniques that you normally use to make pages responsive cannot be used for this - for the very simple reason that I gave you total freedom of how you want to arrange your blocks etc. The main problem is that you do not know how many columns there are and their width ratio. This means you cannot simply say "when screen width is below XY, shift column 2 below column1" or "when width is below XY, make a new line and push the content below/to the side" etc etc.... The fundamental problem here is that I have no clue "what I am working with"

And to make things "worse" - graphs, tables... that can basically not be made responsive at all unless the lines and text are so small that they are unusable
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 01, 2016, 05:55:27 PM
OK, I think I see the problem now that more of you tested this, so if anyone could please try the following and let me know if there is any change:

Go to your header.php and in the style section find these lines:
Code: [Select]
#title1{
font-size: 50px;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
#title2{
font-size: 30px;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}

Change this to:

Code: [Select]
#title1{
font-size: 3.5em;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
#title2{
font-size: 2.5em;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 01, 2016, 05:57:08 PM
OK, I think I see the problem now that more of you tested this, so if anyone could please try the following and let me know if there is any change:

Go to your header.php and in the style section find these lines:
Code: [Select]
#title1{
font-size: 50px;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
#title2{
font-size: 30px;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}

Change this to:

Code: [Select]
#title1{
font-size: 3.5em;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}
#title2{
font-size: 2.5em;
font-variant: small-caps;
text-shadow: 2px 2px #333333;
}

I changed it and the title now shrinks but the menu bar needs the same thing done.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 05:59:07 PM
That looks a lot better...


My guess is that the best thing to do is this:
It looks like it should be working fine for basically all today sized monitors, it will also display ok on higher end smartphones and basically all tablets.

It is the lower-end smartphones with smaller resolutions. For this purpose I will make a dedicated mobile page to which such users will automatically be redirected. On that page you either use one column or make sure that certain blocks (map, graph etc.) are in a wider column.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 01, 2016, 06:03:19 PM
Funny thing is, before I got the emails to say you had released the new version, I was thinking that it must be a tough job to do?! And I thought to myself, I might just duplicate the index.php and call it index2 or mobile.php and have 1 column of blocks. If I then added a snippet of code to the main index, ie;  if (screen.width <= number of pixels) { window.location = "mobile.php"; - Or something like that lol
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 06:10:25 PM
OK I think Im on the right track with the menu, it is basically the same issue as the header. The only problem is that it will take more time to fix that because there is much more styles applied to it. And the only way is really trying various percenatage combinations until it looks "good". So I guess this will take me more time, I will try to come up with something usable soon.

Tina: what I was thinking about doing is actually simpler than this:
Separate the block settings from the index.php - create "settings.php" for the index. And then, have like "index.php" which will be nothing more than a redirection page. It will contain a javascript function to detect screen size (this cannot be done by PHP because PHP is a server-side language) and this page would basically just detect your screen and instantly send you to the right page.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 01, 2016, 06:20:11 PM
After making the change attached is a screenshot of my iphone. Both portrait and landscape shots.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 06:22:45 PM
After making the change attached is a screenshot of my iphone.
Tom

Hi Tom,

well in this case I know exactly why it is doing this. It is because one of the middle blocks - the one with WxSim, is taken from a different template and is not responsive, so it pushes everything to the right, this is exactly what the blocks were doing before I made this change in version 4.1. The rest of the blocks are set to stretch to 100% width so since that "foreign" block pushes it to the right and stretches the middle column, the other ones also stretch this wide.

Try disabling that WxSim and see if that solves the problem
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 01, 2016, 06:25:17 PM
Tried it without the WxSim block and it works.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 06:34:56 PM
Yes well this is exactly the same problem as with the blocks previously. They used fixed font-size, image width etc etc. What I had to do is take each block and change every single size, padding, margin, font-size etc. into percentage of viewport size (which is why you unfortunately had to update every single block, because as you can see, just one non-responsive and everything is ruined...).

It is a paradox... we also discussed this with my friend. On one hand it is now much easier to develop and create webpages these days because the possibilites of CSS, HTML and jQuery are totally different then they used to be a few yrs ago. On the other hand, in the past, vast majority of people used IE, there was maybe 2 or 3 standard monitor sizes and that was it.

Now you have - tablets, smartphones, PCs, laptops - screen sizes varying from maybe 3.5 inches to 35.... in addition you have Chrome, Firefox, IE, Safari, Android default browser, mobile Safari.... and now multiply it and you get the number of combinations you have to try to deal with... and in this case it is even "better" - if we assume the number of possible columns can vary from 1 to 3, we have say 3 different ratios of the columns. So multiply all those combinations by another 9 and then look at the number of possible blocks that can be put into these combinations :D :D :D

However I still hope we will eventually make this work and it is just a matter of time :-)
Title: Re: Meteotemplate - new free website template
Post by: Skyview on February 01, 2016, 07:01:40 PM
I've been saying since the beginning that one of the main shortcomings of your template was that it does not work well on phones. Looks like you are dedicating yourself to making it work now. Might have to finally bite the bullet and update once you have that working  :grin: Thinking I might just install v4.1 or whatever is current at that time to a new folder structure and run it in parallel with my current site and slowly migrate my mods over. Great job addressing this issue!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 07:06:26 PM
Yes, I guess it would be less work than actually trying to upgrade from one version to another.

But I suggest you still wait :D I obviously still have some work to do with regards to the responsive design - I need to fix the header and the menu. Fortunately you guys are all great and are willing to test and also patient, because otherwise this could never be done. I have no way of testing myself, the online emulators are not reliable.

Thanks!
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 01, 2016, 07:57:08 PM
Going through my WxSim block and changed what I could to percentages from standard widths and the header and menu work with Wxsim in the landscape mode but still some work to do on the portrait mode.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2016, 09:08:15 PM
Yes,  spending the entire weekend and a few evenings /nights with this issue I can confirm it is not easy... 
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 01, 2016, 11:27:33 PM
Sadly, I did not have much joy with the updated blocks. Column 2 "current" icons and values were squashed horizontally. The other blocks in column 2 were okay.
The home page also squashed, in that it was a lot smaller vertically than before, about 20mm.
Would it be because I had a custom block and combined  and modified the cloud and location blocks?
Went back to 4.0.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 01, 2016, 11:50:25 PM
Got all updated to v.4.1 and all blocks updated, including the new one.  Found a couple of things;

The warningsEUregions script gives an error www.komokaweather.com/j-template

I also had to remove the mango logo as it was way too big and it distorted the 25-50-25 column ratio.

Everything else looks good.

Thanks,
Paul

Title: Re: Meteotemplate - new free website template
Post by: Colin on February 02, 2016, 12:06:06 AM
Hi Paul,
Noticed your 'current' block is also squashed and does not span across the whole block.
At least it is not just me  :?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 04:57:30 AM
Hi,
yes the current block does not stretch, I made it so that on smaller screens it switches to two rows, but making this modification I was unable to get it stretched to the entire width when viewed as one row, I couldn´t get it working.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 04:59:30 AM
Sadly, I did not have much joy with the updated blocks. Column 2 "current" icons and values were squashed horizontally. The other blocks in column 2 were okay.
The home page also squashed, in that it was a lot smaller vertically than before, about 20mm.
Would it be because I had a custom block and combined  and modified the cloud and location blocks?
Went back to 4.0.

Yes, it was most likely because of this, I could help you fixing it, but I would need to see what exactly was happening. The problem is that to make your page responsive, you have to have all the blocks responsive, even just one non-responsive and it will stretch the whole page. If you showed me exactly what happenned I could try fixing it.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 02, 2016, 05:35:03 AM
Screenshot from Jachym site from my WindowsPhone Lumia 640 LTE it displays well , the menue should be a 'hamburger' button  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 06:12:35 AM
Screenshot from Jachym site from my WindowsPhone Lumia 640 LTE it displays well , the menue should be a 'hamburger' button  :grin:

Hi,
I will try to make the menu smaller font.

Yes of course, this is how responsive menus work - switch to "hamburger" and vertical direction - but this is again something where making it totally customizable I made it impossible to do this. Because if you look, the menus are not simple menus, they are actually DIVs, with images, various sized icons etc. etc. If it was just a typical dropdown menu - which it in fact was in versions 1 and 2, then hamburger menu would be of course included. But like this.... again, it is on one hand cool to have this menu with images, interactive features etc., but it is always a compromise - in this case - it means it cannot be hamburger style.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 02, 2016, 06:31:15 AM
No problem as long it works the layout is good on my windowsphone

BTW google has a mobile friendly test https://www.google.com/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fwww.meteotemplate.com%2Ftemplate%2F
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 07:08:57 AM
I just started playing around with the menu, but in this case the answer is no... either we keep this div-style menu with icons, pictures, tables etc. but it will not be responsive, or the actual menu bar can, but not the sliding down divs, or the menu will be just a simply drop down menu, which can switch to "hamburger" style. One can´t have everything...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 07:14:28 AM
The fundamental problem with all this is that the page is just simply too complicated... it is a combination of many graphs, tables, interactive elements, sliding divs, maps, icons etc etc. We will just have to probably understand that it is not to be used on a mobile phone with a 5 inch screen. That is something you deal with when you have a news website with simple images, menu and text, but this just isn´t that sort of page.
The good thing is that it displays fine on basically all currently used monitor sizes. And even tablets are 90% of the time ok, because their screen resolution is sufficient.
But mobile phones, especially in the portrait orientation.... it is not meant for this type of devices.

Currently the way I see this - I will fix the header text and the menu bar. Then I think I already have a fix for the current block, to make the spacing wider.

And then, I will create a plugin, I in fact already have a testing version, of a plugin made with jQuery Mobile, a framework designed specifically for small screens and it will have the current conditions and history data (basically exactly what the station data block has) and that can be used on mobiles to look at current conditions and history data.

But if someone wants to look at reports, graphs, tables... then they just have to use a tablet or PC.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 07:31:21 AM
Here is something you can try and if it works I would use it.

First is the main.php, which is the file from the root/css directory. Try replacing your original main.php in CSS directory with this one (not the css directory of the homepage, the css directory directly in root).

Then also try this updated currentBlock, which should solve the issue with the spacing.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 02, 2016, 10:08:57 AM
Just a quick follow up on my issue with the canadaRadar plugin not working on my site but it is with everyone else!

I contacted my hosting company and here is their response ](*,)

Dear Customer,

Thank you for contacting us.

Please be informed that as checked, there are currently no reported issues with regards to our webspace. As further checked, we are able to pull up your site and the php version has been properly configured, you may refer on the link provided: http://www.sanfordweather.com/info.php.

Please be informed that it could be an issue with regards to your scripting, we highly recommend contacting your web developer for them to further check. Your patience and cooperation is highly appreciated.

If you have any further questions, do not hesitate to contact us.


Jachym, I'm not going to worry about it, the US radar covers my area very nicely so I'm going to use that!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 10:11:48 AM
Just a quick follow up on my issue with the canadaRadar plugin not working on my site but it is with everyone else!

I contacted my hosting company and here is their response ](*,)

Dear Customer,

Thank you for contacting us.

Please be informed that as checked, there are currently no reported issues with regards to our webspace. As further checked, we are able to pull up your site and the php version has been properly configured, you may refer on the link provided: http://www.sanfordweather.com/info.php.

Please be informed that it could be an issue with regards to your scripting, we highly recommend contacting your web developer for them to further check. Your patience and cooperation is highly appreciated.

If you have any further questions, do not hesitate to contact us.


Jachym, I'm not going to worry about it, the US radar covers my area very nicely so I'm going to use that!

I will send you a modified version of the script, I just want to see if the problem is what I suspect - i.e. no HTML loaded from the EC site
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 02, 2016, 10:12:34 AM
With the new main.php only it is a little bit wider in FF but fine in Chrome.  IE10 is a mess...
 
With the new currentBlock.php it was wider in FF but lost the Wind Dir ° with both new and original main.php
I hadn't checked the new currentBlock with Chrome and won't get a chance until later today.
 
Regards,
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 10:18:16 AM
With the new main.php only it is a little bit wider in FF but fine in Chrome.  IE10 is a mess...
 
With the new currentBlock.php it was wider in FF but lost the Wind Dir ° with both new and original main.php
I hadn't checked the new currentBlock with Chrome and won't get a chance until later today.
 
Regards,
Paul

Paul if the wind degree symbol is missing then it has to be missing even with the previous version I did not change anything in that respect
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 10:24:38 AM
Paul are you sure you updated the correct files?

The main.css was for the main template, not the homepage/css folder. This would be the css folder directly in your template root.

I just tried IE and it looks perfect.
Title: Re: Meteotemplate - new free website template
Post by: gand on February 02, 2016, 11:42:28 AM
Hi Jachym

I also tried the 2 new files. The Current block was stretched but I was missing the Pressure icon.

Using Chrome.

Rgds
Gert
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 02, 2016, 11:49:34 AM
Here is something you can try and if it works I would use it.

First is the main.php, which is the file from the root/css directory. Try replacing your original main.php in CSS directory with this one (not the css directory of the homepage, the css directory directly in root).

Then also try this updated currentBlock, which should solve the issue with the spacing.

Also added the 2 files and its up on the site. Here (http://donganhillsweather.net)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 11:50:44 AM
Hi Jachym

I also tried the 2 new files. The Current block was stretched but I was missing the Pressure icon.

Using Chrome.

Rgds
Gert

Try refresh, this could not be the result of the changes, the changes were only in styling and the script seems to be working fine on 3 other websites where people tried it.
Title: Re: Meteotemplate - new free website template
Post by: gand on February 02, 2016, 12:10:30 PM
Hi Jachym

Still missing the pressure icon:
http://vejr.one/meteotemplate/#

Can You see all 8 icons?

I have also tried Firefox and Edge, same result. I must do something wrong.

Thanks

Rgds
Gert
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 02, 2016, 12:20:34 PM
Just realized I'm missing the pressure icon and text also!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 12:37:52 PM
Oh... sorry guys, yes I forgot to copy that field, I thought that you mean like you cant load the image.... I did not notice I missed this field

try the attached file
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 02, 2016, 12:46:22 PM
That did it!
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 02, 2016, 12:52:58 PM
I removed the Clock and QRcode and it seems better.

I noticed that when viewing in Portrait mode on a mobile you get the best view of the template

I created a index2.php with single column layout and that seems to work best for the Vertical Mobile view.  I usually don't need all the blocks when using the mobile so it can be customized for mobiles.

   
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 02, 2016, 04:20:11 PM
I created a index page of one column for phones.
Only question I have is how does the page recognize a cell phone?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 04:25:34 PM
I will create a script for it soon
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 02, 2016, 04:54:03 PM
I will create a script for it soon

Awesome!  =D&gt;

I temporarily created a subdomain m.donganhillsweather.net (http://m.donganhillsweather.net) and use the single column index files there.
The other option was creating links under the menu I called Styles and pointing to different indexes.  Only problem is if you click home it goes to original.

I'm sure Jachym will have a solution.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 02, 2016, 05:18:47 PM
Hi Jachym,
To update:
I have/had the new main.php in the root/css folder
I have the newest (2nd) currentBlock.php uploaded
I have found I need to wait quite a while, like many minutes, for some of the changes to actually take effect and show up correctly.
 
In FF the current block displays in full width, but no wind direction ° (I had not seen this wind direction ° in previous template versions, and only with the initial v.4.1 that has the narrower current block display). EDIT: CORRECTION:  It has been there but on the second line, and shows on the 3rd line in the narrower view :oops:
The "logo" block is way too large and distorts the columns.
Everything else seems to be working except the warningsEUregions which gives the error
Code: [Select]
Parse error:  syntax error, unexpected end of file in /home/content/96/5379896/html/j-template/homepage/blocks/warningsEUregions/warningsEUregionsBlock.php on line 195 and don't know how to fix it.
 
In Chrome the same as FF including the warningsEUregions error, but the "logo" block displays fine and no column distortion.
 
In IE11 the same as FF and Chrome including the warningsEUregions error and the "logo" block is very large and does the column distortion.
 
In IE10 the same as FF, Chrome, IE11 including the warningsEUregions error and the "logo" block is very large and does the column distortion, and then also the current block has an incorrect time like about 30 minutes behind and the data also seems that far behind.  And the station icons display the FO and not the VP2 in the Station Data, Station Status and location blocks.  I know IE10 is basically obsolete with few users but I can't upgrade it on my weather computer Windows 8 unless I go all the way to Windows 10, and not yet ready for that.
 
p..s. the only blocks I have not used/tested is the payPal.
 
I know you have other pressing issues but wanted to give my take on how Mango v.4.1 is behaving on my 3 computers.
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 02, 2016, 05:19:45 PM
The regular site works great with my iPad.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2016, 06:19:53 PM
Hi Jachym,
To update:
I have/had the new main.php in the root/css folder
I have the newest (2nd) currentBlock.php uploaded
I have found I need to wait quite a while, like many minutes, for some of the changes to actually take effect and show up correctly.
 
In FF the current block displays in full width, but no wind direction ° (I had not seen this wind direction ° in previous template versions, and only with the initial v.4.1 that has the narrower current block display). EDIT: CORRECTION:  It has been there but on the second line, and shows on the 3rd line in the narrower view :oops:
The "logo" block is way too large and distorts the columns.
Everything else seems to be working except the warningsEUregions which gives the error
Code: [Select]
Parse error:  syntax error, unexpected end of file in /home/content/96/5379896/html/j-template/homepage/blocks/warningsEUregions/warningsEUregionsBlock.php on line 195 and don't know how to fix it.
 
In Chrome the same as FF including the warningsEUregions error, but the "logo" block displays fine and no column distortion.
 
In IE11 the same as FF and Chrome including the warningsEUregions error and the "logo" block is very large and does the column distortion.
 
In IE10 the same as FF, Chrome, IE11 including the warningsEUregions error and the "logo" block is very large and does the column distortion, and then also the current block has an incorrect time like about 30 minutes behind and the data also seems that far behind.  And the station icons display the FO and not the VP2 in the Station Data, Station Status and location blocks.  I know IE10 is basically obsolete with few users but I can't upgrade it on my weather computer Windows 8 unless I go all the way to Windows 10, and not yet ready for that.
 
p..s. the only blocks I have not used/tested is the payPal.
 
I know you have other pressing issues but wanted to give my take on how Mango v.4.1 is behaving on my 3 computers.
 
Regards,
Paul

Paul, THANK YOU VERY MUCH!!! I really appreciate your comments, now,
with regards to the styling problem - yes, unfortunately this is always a problem, because browsers simply cache all CSS automatically and unless you do a hard reload, you will still see the old setting. In most browsers CTRL+F5 should help.

Your EU warnings error.... did we see similar errors in the past? :D :D :D
And I am sure you know how to fix it ;)
Code: [Select]
<?:)

I will have a look at the issues you mention, but not today, because my laptop freezes when I open your site :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 02, 2016, 08:43:02 PM
Found 2 :oops:
and error is gone.

Quote
when I open your site :D
Well I give everything in one package, so one-stop shopping ;)

Paul

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 02, 2016, 09:29:38 PM
I'm wondering if it would be wise to change how the rain effect works on the banner? I have a beast of a machine- 16GB ram, core i7 etc.. and when the template shows the rain banner, it eats away at the CPU something terrible! I was looking at the rain.js
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 03, 2016, 04:01:17 AM
This happens when it is raining "heavily", because what it does then, is simply overlay several light rain divs on top of each other.

This is one of the scripts (the entire banner) I made almost a yr ago when I knew very little PHP and JS so I might see if I can completely redesign the banner and also look at maybe a different data source, Yahoo is not ideal
Title: New blocks/block updates - Image Gallery, US Air Quality, Current Conditions
Post by: Jáchym on February 03, 2016, 10:27:19 AM
Hi guys,
A set of new blocks can now be found in the Blocks section at meteotemplate.com.

Image Gallery

This block is like an image gallery. On your server there will be a directory inside this block directory, which will contain the images. A randomly chosen image is then loaded and shown in the block, the user can click the refresh button and a new random image is chosen. The images can be clicked and they zoom in to full screen.

There is also a script included for you as a webmaster, where you can directly delete/upload images using your admin password.

Instructions on how to use this block as a webmaster are included in the settings.php file.

US Air Quality

This block is for users from the United States. You can select your desired region and the block will show you the current Air Quality Index. Depending on data availability, the pollutants included are PM2.5, PM10 and tropospheric ozone. There is also a description of what the actual value means and a general description of the pollutants and air quality index as such.

Current Conditions

The current conditions block is now updated to version 2.0. First of all there are changes in the CSS which means the actual block is much better displayed and responsive.

There is however also a brand new feature for users of Weather Display or Cumulus. If you use one of these programs and you also have a weather station with a UV sensor, this can now be included and will be shown on your webpage.

Because there is the new UV sensor feature, it is in this case necessary to also replace the original settings.php, but there is not much to be set up and there is the new settings parameter for enabling/disabling the UV sensor.

Best regards from the Czech Republic

Jachym

Blocks download: http://www.meteotemplate.com/web/blocks.php (http://www.meteotemplate.com/web/blocks.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 03, 2016, 06:24:24 PM
Hi guys,
I need your help :D

Right since I first time released Meteotemplate people were experiencing problems when setting up the template. In particular the problematic parameter turned out to be the baseURL in the config.php. I noticed that it works in 90% of cases, but especially on certain Linux servers or when the template files are located on a subdomain, this fails and the whole template does not work.
I have so far been able to always find a way to make it work eventually, but it usually required quite lot of try/error and in most cases the user was not able to figure it out themselves and gave me their FTP access.

Now however, I think I finally got the settings correctly. I already tried it on 3 servers and always worked. But before I make this change globally in the download file or future users, I would like to ask you if you could try making that change on your server, I simply want to see if it works for everyone and if not, if the "success rate" is better with this or the current settings.

So those of you that would like to help me, please go to your config.php and comment out the baseURL parameter, or simply copy the current line somewhere and replace it with the following (so that in case it fails you can put it back as it was).

Try using the following for baseURL:
Code: [Select]
$baseURL = dirname(__FILE__)."/";
Then just let me know if this worked for you or not. Simply try opening a few pages (other than the homepage) and if you see any errors that were not there before let me know.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 03, 2016, 06:36:50 PM
Changed to $baseURL = dirname(__FILE__)."/";

All seems OK on my server!

Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 03, 2016, 06:37:33 PM
Hi guys,
I need your help :D

Right since I first time released Meteotemplate people were experiencing problems when setting up the template. In particular the problematic parameter turned out to be the baseURL in the config.php. I noticed that it works in 90% of cases, but especially on certain Linux servers or when the template files are located on a subdomain, this fails and the whole template does not work.
I have so far been able to always find a way to make it work eventually, but it usually required quite lot of try/error and in most cases the user was not able to figure it out themselves and gave me their FTP access.

Now however, I think I finally got the settings correctly. I already tried it on 3 servers and always worked. But before I make this change globally in the download file or future users, I would like to ask you if you could try making that change on your server, I simply want to see if it works for everyone and if not, if the "success rate" is better with this or the current settings.

So those of you that would like to help me, please go to your config.php and comment out the baseURL parameter, or simply copy the current line somewhere and replace it with the following (so that in case it fails you can put it back as it was).

Try using the following for baseURL:
Code: [Select]
$baseURL = dirname(__FILE__)."/";
Then just let me know if this worked for you or not. Simply try opening a few pages (other than the homepage) and if you see any errors that were not there before let me know.

Thanks

Works fine for me right now
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 03, 2016, 06:39:44 PM
THANKS!

That looks promising :)

I especially have to contact those for which the original baseURL did not work and are using alternative path.

For majority this should basically do the same thing as the original, but I hope it will work in all cases now.
Title: Re: Meteotemplate - new free website template
Post by: gus on February 03, 2016, 07:04:33 PM
  // $baseURL = $_SERVER['DOCUMENT_ROOT'].$path;
  $baseURL = dirname(__FILE__)."/";

Made the above change and its still working normally

http://www.halethorpeweather.com/meteo/index.php

Gus
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 03, 2016, 07:23:03 PM
Hi Jachym,
Unfortunately for me it did not work and get a
Quote
Warning:  include(config.php): failed to open stream: No such file or directory in /home/content/96/5379896/html/j-template/index.php on line 24
 
 Warning:  include(): Failed opening 'config.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /home/content/96/5379896/html/j-template/index.php on line 24
       
      (http://www.komokaweather.com/j-template/icons/settings.png)   
 Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in /home/content/96/5379896/html/j-template/menu.php:82 Stack trace: #0 /home/content/96/5379896/html/j-template/menu.php(82): DateTimeZone->__construct('') #1 /home/content/96/5379896/html/j-template/index.php(78): include('/home/content/9...') #2 {main} thrown in /home/content/96/5379896/html/j-template/menu.php on line 82
Paul[/td][/tr][/table]
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 03, 2016, 07:26:56 PM
Hi Jachym,
The new Air QualityUS and Image Gallery blocks work fine.  As does the new Current Conditions block. =D&gt;
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 03, 2016, 07:53:10 PM
Hi Jachym,
Unfortunately for me it did not work and get a
Quote
Warning:  include(config.php): failed to open stream: No such file or directory in /home/content/96/5379896/html/j-template/index.php on line 24
 
 Warning:  include(): Failed opening 'config.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /home/content/96/5379896/html/j-template/index.php on line 24
       
      (http://www.komokaweather.com/j-template/icons/settings.png)   
 Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in /home/content/96/5379896/html/j-template/menu.php:82 Stack trace: #0 /home/content/96/5379896/html/j-template/menu.php(82): DateTimeZone->__construct('') #1 /home/content/96/5379896/html/j-template/index.php(78): include('/home/content/9...') #2 {main} thrown in /home/content/96/5379896/html/j-template/menu.php on line 82
Paul[/td][/tr][/table]

OK thanks, well it seems like I will probably just leave it the way it is and if someone has problems, try this as an alternative
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 03, 2016, 08:27:24 PM
Changing the baseURL worked for me.
Tom
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on February 03, 2016, 10:54:24 PM
Jachym,

I changed the $baseURL and it's working fine for me.

Also added the new US Air Quality and Current blocks.  US Air Quality is working great.  The new Current block isn't displaying a value for UV - possibly because it's currently night and UV would be zero?  I changed the data source for the Current block from db to wd and I'm now getting a value for UV.

Once again, very nice work.

-Chris
Title: Re: New blocks/block updates - Image Gallery, US Air Quality, Current Conditions
Post by: SpringHillWeather on February 03, 2016, 11:41:18 PM
Quote
Image Gallery

Works nice!  Currently cycling webcam captures

US Air Quality

Like this very much, conditions working for my area

Current Conditions
Worked

Thanks again for these additions!
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 04, 2016, 08:24:17 AM
Thew newly added option to show the UV on the current block is nice, just wondering why it's only available to Weather Display and Cumulus users? I thought Wunderground make the value available in their API?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2016, 08:26:25 AM
Hi,
it is because this is by far the easiest, for the other update types (WL, Meteobridge, WU etc. I will have to make further adjustments, so it is something that I plan to do. There is just too many things to do right now and too little time so just be patient ;)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 04, 2016, 08:29:40 AM
Hi,
it is because this is by far the easiest, for the other update types (WL, Meteobridge, WU etc. I will have to make further adjustments, so it is something that I plan to do. There is just too many things to do right now and too little time so just be patient ;)

Always patient! :)

I was just curious. You need to take a break, you update faster than I've known anyone to update anything! You really do work hard, and it is fully appreciated. I don't think you ever thought it would take off like this, did you? lol
Title: Meteotemplate Weather Network
Post by: Jáchym on February 04, 2016, 08:51:16 AM
(http://i66.tinypic.com/160pjcg.png)
METEOTEMPLATE WEATHER NETWORK
Hi guys,

based on the positive replies I got in the poll, I have created a Meteotemplate Weather Network.

The only problem now is that unfortunately I did have to make some changes in the original script so if you want to be added, simply re-download the version 4.1 update and just replace the original pages/station/network.php with the network.php in the update package (I have updated the update package).
Or alternatively, use the attached file in this post, just change extension to PHP.

Then send me an email or PM with a link to your network.php and I will add you.

The network is being updated every 15 minutes and is available in metric and imperial version. There is a map and also a sortable table below it.

It can be accessed via the Users section at meteotemplate.com
http://www.meteotemplate.com/web/users.php (http://www.meteotemplate.com/web/users.php)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 04, 2016, 09:00:54 AM
Sheesh. I go away and everything has changed, new versions. Now I have to do some work.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 04, 2016, 09:23:43 AM
Jachym are the downloads of the core template always up to date ? I can't keep up with all these new utilities andso-on you are faster as light  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2016, 09:23:49 AM
Despite the fact there are lots of new stuff, I make it more and more easier to update or add stuff :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2016, 09:24:55 AM
Jachym are the downloads of the core template always up to date ? I can't keep up with all these new utilities andso-on you are faster as light  :shock:

Hi,
yes they are, but the great thing is that since you now have the homepage as independent blocks, basically you can add stuff extremely easily and download blocks/plugins independently. This was basically why I made so many changes recently, to allow this new modular system and now you can just add a new block in a matter of seconds.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 04, 2016, 09:25:47 AM
Ok first of all I do a complete new install this weekend LOL
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 04, 2016, 09:34:29 AM
Ok first of all I do a complete new install this weekend LOL

I'm a bit of a pedant when it comes to this, I like to download the whole template each time. First off, I copy my original to my desktop (as it has my own added stuff) then upload the new one, then copy across my files.
Even doing a new install every time only takes an hour at the most.

It'll be worth it though, the new responsive home page and blocks are much faster at loading. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2016, 09:52:41 AM
Hi,
it is because this is by far the easiest, for the other update types (WL, Meteobridge, WU etc. I will have to make further adjustments, so it is something that I plan to do. There is just too many things to do right now and too little time so just be patient ;)

Always patient! :)

I was just curious. You need to take a break, you update faster than I've known anyone to update anything! You really do work hard, and it is fully appreciated. I don't think you ever thought it would take off like this, did you? lol

Hi Tina,
no never.... the good thing is that it has become such a passion that I spent 100% of me free time now doing this. It was I think last yr in the spring that someone asked me if I could do a template from my orignial personal webpage (which was way different to the current Meteotemplate). I first began to think about it. The problem back then was that I first met HTML and CSS in 2014 and I didn´t know much. PHP was also something new for me and I basically learned it all during nights while working on my page.
This also means that when first releasing Meteotemplate in July, the code was 90% different compared to my personal site, because some things were just done in an awful way, I simply didn´t know how to do it differently - and in this respect it is the same now. I have to laugh when I see some parts of the code from version 1 or 2 and I am constantly learning. I am not a fan of reading books, attending courses etc. In my opinion, one learns the best by simply trying until it works.
I am definitely not a programmer, I only know stuff I need - for example, I never needed OOP, which is something quite used these days, but I have no idea how to use OOP as I don´t need it. I would probably learn it if I wanted to, but I just don´t see a reason now.
So back to your question, yes I originally thought maybe 2 or 3 people will download it and use it. Which is also why I had to change lots of things - the original wiki was written in a rush and not very clear, the translations system was orignially not very efficient, the thing I hated the most was the version 1/2 homepage etc. But with regards to the homepage, I already got the idea with the blocks in the summer, but I had no clue how to do it or how it could work.

My goal was to get to this point where I am now, where I can release new stuff and it is very easy for you as a user to add/remove/update it. Since all the homepage blocks, the plugins and even the translations are now independent.
I learned a lot not just about programming, but also developing - providing support, dealing with problems, creating an efficient and organized system to actually do all this, make sure all the downloads work, update the blog etc.
I obviously still have full and part-time job so I have to make sure I find the right balance. Also my 10yrs old 1GB RAM laptop is sometimes slightly limiting (though sometimes the fact I have to do everything manually and in Notepad gives you better understanding of the code), but I got used to it and the main advantage is that I really enjoy this (which always makes things 10x faster) and I don´t need much sleep (and it is not the case I would be sleepy, I am really ok with sleeping less, it has been like that even before Meteotemplate). What then drives me forward is especially these positive reactions of people because I then feel that what I am doing actually makes sense. My own cheap PWS is more or less useless - inaccurate, incorrectly placed (unfortunately I cannot place it as it should) and so I really just use it for testing and that is why it is nice to see that for others, this is useful.

I never intended my template to be a competition for the other templates. It is simply an alternative. I don´t really think one of them is the "best". Everyone must decide what is best for them. I started developing this because I liked the back then already existing Leuven and Saratoga, but my problem was that I have meteobridge, cannot have my PC 24/7 on and I wanted my data to be somehow logged. So I wanted the database in the backend. For some this is a great advantage - for others it could be much better to use the other templates, because they don´t need this and it is much easier to install the other ones obviously.

I spend about 50% of my time now providing support, but that actually is also necessary and it is then great when things finally work. And that I think is the main reason why I do all this. I never saw this as a source of income... I would quit long time ago if I did :D My only goal is to break even by the time I have to renew my hosting plan and domain. I don´t even want to put things such as Google Ads on my site, it just looks better without ads. I think even my server is still doing relatively ok, which is surprising given the fact I can only afford the cheapest plan and the number of visits grows almost exponentially... but I have unlimited bandwidth and space, so it is just the speed, which again was mostly solved by the independent blocks...

Anyway, sorry for bothering you with such a long post again, but the important thing is that this would definitely not be possible without you all. First of all many people helped me with testing, translations (now 15 languages already! Just added Swedish, Greek and Slovenian recently), and most importantly, the positive feedback is what makes me want to continue and also this positive attitude allows me to learn fast :-)
Title: New blocks available - Air Quality World, NWS forecast
Post by: Jáchym on February 05, 2016, 11:13:03 AM
Hi guys,

I have just added two new blocks to the Blocks section.

A set of new blocks can now be found in the Blocks section at meteotemplate.com.

Air Quality World

In this block you can select your desired region and the block will show you the current Air Quality Index. Depending on data availability, the pollutants included are PM2.5, PM10, SO2, NO2 and tropospheric ozone. There is also a description of what the actual value means and a general description of the pollutants and air quality index as such. In addition you can view past 5 days min/max.

I have also added the necessary translation strings to the database so it will use your language once translations are submitted.

US users: there is pros and cons to using this one or the air quality US block. This block has the advantage of also displaying last 5 days and more pollutants are included. However, it takes data from the primary source used in the air quality US block – in other words, it is sometimes not so up-to-date.


NWS Forecast

This block shows the forecast for your desired location in the United States including icons. The extended forecast is also available.

Download + screenshots: http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 05, 2016, 12:03:38 PM
Jachym,

Great job om the NWS forecast.  Now my forecast is for me rather than 100km away.  Thanks.

Jay

http://jayswoodfurniture.com/meteo/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 05, 2016, 12:17:33 PM
Great :-) Looks nice :)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 05, 2016, 01:33:41 PM
Here is a quick screenshot on Mobile device with 1 Column and the new nwsForecast block.

 [ You are not allowed to view attachments ]

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 05, 2016, 01:37:24 PM
Nice, this was sort of what I wanted to achieve :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 05, 2016, 02:57:35 PM
Quote
Go to homepage/css/style.php

and there you will see the CSS for the homepage.

Try replacing this (close to the top):
With that change I can now read the items \:D/   Thanks.
 
 
Enjoying,
Paul
 

Just an FYI,
I also had to make the changes in v.4.1 Mango /homepage/css/style.php as I had the same issue of not being able to see the menu item text.
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 05, 2016, 04:58:12 PM
I'm jelly of that NWS forecast block! It looks really good!

My suggestion for the UK, the MetOffice API :P

http://www.metoffice.gov.uk/datapoint/product

Put it last on your list- If it's possible to do, I can wait. ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 05, 2016, 05:08:20 PM
:) ok

At least you have the air quality for now - covers the whole world now :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 06, 2016, 01:44:08 PM
Got home after lunch with a plan in my head for a new thing :-)
First wanted to deal with the emails.... so I began at 1 PM. As I was replying I kept on getting new ones. It is now 7.30 PM and I havent finished yet :D But since I have to go to work in about 30 minutes I probably wont get much new stuff done - but! We now have two new users in the U.S, one in Australia, one in Spain and one in France. Also there is now another complete translation - Swedish (thanks Peter) and two new in progress - Greek and Slovenian.

This is not to say you should not write to me if you have questoins/suggestions/bug reports - it is just to show the quite opposite - let me know! And I will reply to you too (just might take a while)

The new wiki seems to be useful because despite what I just said, it reduced the number of problems/questions to about half. And also that new baseURL parameter seems to be working better in the new setting some of you have tried.

If you have any suggestions - as always let me know, just be prepared that it might take some time before I give it a try/reply :-)

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 06, 2016, 02:42:12 PM
In the history plugin- station history.. It isn't converting from kmh to mph.
EU warnings is still broken. :p
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 06, 2016, 02:52:30 PM
Tina I tested the script I sent you and it works fine, I saw the correct warnings for UK today. See my email.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 06, 2016, 02:57:54 PM
Tina I tested the script I sent you and it works fine, I saw the correct warnings for UK today. See my email.

My apologies! Believe it or not, the email has only just come through. Working! :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 06, 2016, 03:06:43 PM
Tina I tested the script I sent you and it works fine, I saw the correct warnings for UK today. See my email.

My apologies! Believe it or not, the email has only just come through. Working! :)

Interesting...

Quote
sent 5:54 PM (3 hours ago)

Either way, the important thing is it works :)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 06, 2016, 03:08:56 PM
Tina I tested the script I sent you and it works fine, I saw the correct warnings for UK today. See my email.

My apologies! Believe it or not, the email has only just come through. Working! :)

Interesting...

Quote
sent 5:54 PM (3 hours ago)

Either way, the important thing is it works :)

One small issue, as far as i can tell, it's Chrome issue, as it works on Firefox ok..

 [ You are not allowed to view attachments ]

If I press F11 to go fullscreen, the text shows up. A font issue I would guess?
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 06, 2016, 03:12:42 PM
Hi Tina,

I'm currently looking at your site from with the latest version of Chrome, and I am able to see the warnings just fine.

John
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 06, 2016, 03:15:05 PM
Hi Tina,

I'm currently looking at your site from with the latest version of Chrome, and I am able to see the warnings just fine.

John

Well that's strange! I've tried it in incognito mode, and I've emptied the browsers cache- still does it..  :-(
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 06, 2016, 03:17:46 PM
I take that back. I refreshed your page and now the block is blank like you are showing. Very strange.

Edit:

I closed the tab with your site in it and clicked on your website world in your profile to open a new tab and the wording has returned.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 06, 2016, 04:17:01 PM
I take that back. I refreshed your page and now the block is blank like you are showing. Very strange.

Edit:

I closed the tab with your site in it and clicked on your website world in your profile to open a new tab and the wording has returned.

Yeah, it worked exactly like that for me.
I'm glad it wasn't just my side, I get terribly paranoid.  :lol:
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 06, 2016, 06:18:35 PM
Nice, this was sort of what I wanted to achieve :)

Yes its working out nicely.

I'm able to add imageBlock and used your block for a videoBlock which seems to be working good on Mobile and Website.

Keep up the great work Jachym!

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 06, 2016, 06:40:07 PM
 \:D/
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on February 07, 2016, 06:08:13 AM
Hi Jachym!

The new Mango 4 is very nice work! :) 

But something happened with report_annual.php.

Summary is working, but extremes month and day values returning error messages:
Code: [Select]
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 73

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 73

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 73

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 73

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40


etc. etc

http://www.weather-szolnok.hu/template/pages/station/report_annual.php?y=2011 (http://www.weather-szolnok.hu/template/pages/station/report_annual.php?y=2011)

Regards
Zoltán
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 07, 2016, 07:23:52 AM
Hi,
This is I think because you have not upgraded to version 3.1 fully. Unless you do that you cannot use the new language files they are only compatible with this version.
Download the whole template file that is now up to date and replace all the files in the pages station directory
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 07, 2016, 07:52:11 AM
Hi Jachym

I was having some thoughts about the warningsEUregions block just a moment ago..
My part of the UK is experiencing some pretty nasty weather at the moment, we've just been issued an Amber warning for 80mph winds for tomorrow- a named storm called 'Imogen' will impact us.

The official warning starts at 3am tomorrow, so the warning block will update after midnight, and by then, most of my local users will naturally be asleep. They'll log on tomorrow to see the warning, but by then, the storm would be halfway through it's rampage.

Is there a possibility of having the option of meteoalarm's 'tomorrow' on the warnings block, to show any warnings that are in place for the next day? :)
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on February 07, 2016, 04:09:05 PM
Hi,
This is I think because you have not upgraded to version 3.1 fully. Unless you do that you cannot use the new language files they are only compatible with this version.
Download the whole template file that is now up to date and replace all the files in the pages station directory

Thanks, now good working!   \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 07, 2016, 04:42:01 PM
Great and thanks for the translation Zoltán!
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 07, 2016, 05:58:05 PM
I found something curious:

In the graphs of the annual report, the default graph is shown well; but if we choose any other type of chart, tooltips disappear:

        http://www.meteotemplate.com/template/pages/station/report_annual.php?y=2016 (http://www.meteotemplate.com/template/pages/station/report_annual.php?y=2016)

This I have observed a few days ago in other charts Highcharts my page.
In my opinion, they have changed the contents of the file:

     http://code.highcharts.com/highcharts.js (http://code.highcharts.com/highcharts.js)

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 07, 2016, 05:59:38 PM
I found something curious:

In the graphs of the annual report, the default graph is shown well; but if we choose any other type of chart, tooltips disappear:

        http://www.meteotemplate.com/template/pages/station/report_annual.php?y=2016 (http://www.meteotemplate.com/template/pages/station/report_annual.php?y=2016)

This I have observed a few days ago in other charts Highcharts my page.
In my opinion, they have changed the contents of the file:

     http://code.highcharts.com/highcharts.js (http://code.highcharts.com/highcharts.js)

haha - you beat me to it! I've just this minute experienced the same, and was about to report it. :)
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 07, 2016, 06:17:48 PM
 :grin: :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 07, 2016, 06:22:07 PM
There is nothing I can do about that. Apparently there is a bug in Highcharts. The template uses the CDN copy loaded directly from highcharts.com so I guess they will fix it.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 08, 2016, 05:42:33 AM
There is nothing I can do about that. Apparently there is a bug in Highcharts. The template uses the CDN copy loaded directly from highcharts.com so I guess they will fix it.

Not to worry.

I've also noticed issues with wugraphs as well. They are not updating properly, and data is being displayed wrong. I'm not sure if they use the CDN or not, but i've had a look at other people's wugraphs, and they have the same issue too.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 08, 2016, 06:03:48 AM
I looked it up, people have been reporting this issue and they said they know about it and are trying to solve it. The problem arises when graph is to be updated "onclick".
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on February 08, 2016, 03:30:08 PM
Great and thanks for the translation Zoltán!

Welcome! :)

A question:

My webcam link:
http://dl3004.myfoscam.org/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor (http://dl3004.myfoscam.org/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor)

How to do it to the webcam image is refreshed every 15 seconds in the webcam block? Now then only refreshed, if using the F5.

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 08, 2016, 04:04:52 PM
Great and thanks for the translation Zoltán!

Welcome! :)

A question:

My webcam link:
http://dl3004.myfoscam.org/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor (http://dl3004.myfoscam.org/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor)

How to do it to the webcam image is refreshed every 15 seconds in the webcam block? Now then only refreshed, if using the F5.

I had this issue when I got my Foscam. It doesn't produce a URL with an image file extension, so it's a nightmare to get working.
In the end, I used webcam7. It didn't list my specific camera, so I tried each one listed until I got a connection, it then produces an image.jpg which automatically uploads to my web server.

I simple put this in a div to refresh it on the page:

Code: [Select]
     
<script language="javascript" type="text/javascript" >

        function ChangeMedia(){
var d = new Date();
var t = d.getTime();
document.getElementById('camera').src = "/image.jpg?"+t;
        }
        var reloadcam = setInterval("ChangeMedia()",15000);

     </script>

      <img src="/image.jpg" alt="Loading..." "name="camera" width="750" height="520" border="0" id="camera" />
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 09, 2016, 07:15:55 AM
I found something curious:

In the graphs of the annual report, the default graph is shown well; but if we choose any other type of chart, tooltips disappear:

        http://www.meteotemplate.com/template/pages/station/report_annual.php?y=2016 (http://www.meteotemplate.com/template/pages/station/report_annual.php?y=2016)

This I have observed a few days ago in other charts Highcharts my page.
In my opinion, they have changed the contents of the file:

     http://code.highcharts.com/highcharts.js (http://code.highcharts.com/highcharts.js)

Already solved the problem.  :grin:
Highcharts has been updated to version 4.2.3

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 07:29:55 AM
Yeah - Tooltips are working again, but some of the graph info is missing.

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 09, 2016, 07:39:18 AM
Yeah - Tooltips are working again, but some of the graph info is missing.

 [ You are not allowed to view attachments ]

Thats weird !.

It works well for me :

  http://kocher.es/meteotemplate/pages/station/report_annual.php?y=2016 (http://kocher.es/meteotemplate/pages/station/report_annual.php?y=2016)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 07:48:23 AM
Yeah - Tooltips are working again, but some of the graph info is missing.

 [ You are not allowed to view attachments ]

Thats weird !.

It works well for me :

  http://kocher.es/meteotemplate/pages/station/report_annual.php?y=2016 (http://kocher.es/meteotemplate/pages/station/report_annual.php?y=2016)

Yours is the same, tried it on both Chrome and Firefox

 [ You are not allowed to view attachments ]

Click the other two graphs off and leave peak gust on.
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 09, 2016, 07:54:56 AM
I see well.

Using the browser Comodo Dragon v 46.9.15.425
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 07:57:34 AM
I see well.

Using the browser Comodo Dragon v 46.9.15.425

Where's the peak gust? - Turn off 'Average wind speed' and 'Average wind gust'
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 09, 2016, 08:03:46 AM
True, I had not noticed that  :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 08:04:41 AM
Tina, I see everything normal, just like Kocher and if I remember correctly you also had some problems previously with "not seeing stuff".

I think there is a problem with your browsers or PC. I have seen similar problems before, where people saw weird stuff on various homepages. The best thing to do is then reset your profile in the browser.

http://snag.gy/3er5y.jpg
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 08:07:37 AM
Peak gust:

seems like they only fixed the issue in the main highcharts.js and not yet in the highcharts-more.js, which is used for the ranges etc.
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 09, 2016, 08:15:48 AM
Peak gust:

seems like they only fixed the issue in the main highcharts.js and not yet in the highcharts-more.js, which is used for the ranges etc.

Yes.

Most curious. It is that the ranges work well in some graphics.

What seems certain is that this is a problem specific Highcharts

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 08:27:37 AM
All the other graphs work fine, it's just peak gusts in the 'day' graph that don't show, they show in the month graph - tested on Chrome, Firefox and Opera.
Title: New blocks, block updates, plugin update
Post by: Jáchym on February 09, 2016, 10:11:20 AM
Hi guys,
another set of new blocks is now available as well as a new feature in one of the plugins and an update of one of the blocks.

New blocks
Forecast EC
This new block for users in Canada shows the 7-day forecast as well as the detailed forecast, including temperatures and icons, from Environment Canada. I hope this will work, EC is not the easiest to work with, so if you notice bugs, please let me know.

Clock – digital
This new block is very simple and shows the current date and time in digital form. You can choose if you only want to show the time, or if you want to show the date as well. The styling can also be specified in the settings (color, bold, italics etc.). It will automatically update every second.

Updates
WL-IP plugin/current block
It is now possible to show the current UV also for users that use the WL-IP (WeatherLink) plugin for updating the database. If you want to use this feature and have UV sensor data available, first download the updated version of the plugin. Then, in the plugin settings specify the UV parameter to true. Then download the updated version of the “current” block and in the settings, set the updates to “wl” (explained in the settings).

European Warnings – regional
Bug fixes.

Downloads/screenshots: http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: rainbow on February 09, 2016, 10:19:12 AM
Great and thanks for the translation Zoltán!

Welcome! :)

A question:

My webcam link:
http://dl3004.myfoscam.org/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor (http://dl3004.myfoscam.org/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor)

How to do it to the webcam image is refreshed every 15 seconds in the webcam block? Now then only refreshed, if using the F5.



I realised it with the following code in line 34 of the webcamBlock.php, --> www.wustrau.org (http://www.wustrau.org):

Code: [Select]
<img src="http://dgrainbow.selfhost.eu:88/CGIProxy.fcgi?cmd=snapPicture2&usr=gast&pwd=gast2015&t=" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 1000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' class="webcamImg tooltip" alt='' title="<?php echo $webcamTitles[$i]?>;"/>
The image is refreshed here in a shorter time.

Good luck
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 10:41:37 AM
Nice work Jachym.

Is the any way to change the date process? 2/9/2016 isn't used in this country, unless it is September. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 10:47:56 AM
Nice work Jachym.

Is the any way to change the date process? 2/9/2016 isn't used in this country, unless it is September. :)

Hi Tina,
the date and time format use user settings on the PC so this must be because your system is configured this way, however it should show the correct format for other users. On my PC it shows "9.2.2015" and for exmple the time should also switch automatically between 12h/24h based on the user system settings.
This is done by javascript, not PHP, so it uses computer defaults.

EDIT:
Just checked your site, I see "9.2.2016"
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 10:56:34 AM
Nice work Jachym.

Is the any way to change the date process? 2/9/2016 isn't used in this country, unless it is September. :)

Hi Tina,
the date and time format use user settings on the PC so this must be because your system is configured this way, however it should show the correct format for other users. On my PC it shows "9.2.2015" and for exmple the time should also switch automatically between 12h/24h based on the user system settings.
This is done by javascript, not PHP, so it uses computer defaults.

EDIT:
Just checked your site, I see "9.2.2016"

I'm afraid it doesn't show that for me.

 [ You are not allowed to view attachments ]

It's not 24hr either. You can see my system time in the bottom right corner.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 11:00:15 AM
Im not sure which settings it uses, but for me it shows 9.2.2016 and 24h time.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 09, 2016, 11:10:58 AM
Im not sure which settings it uses, but for me it shows 9.2.2016 and 24h time.

It's obviously another issue on Chrome. It works fine on Firefox, Edge and Opera.

Everybody bangs on about how good Chrome is, but it is full of ridiculous bugs!  :???:

Scrap that, it doesn't show the correct format on Opera either.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 11:26:19 AM
I use Chrome exclusively and it works fine. I think there is something wrong with your Chrome profile, either way, Chrome works fine for me too.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 09, 2016, 11:46:30 AM
Im not sure which settings it uses, but for me it shows 9.2.2016 and 24h time.

It's obviously another issue on Chrome. It works fine on Firefox, Edge and Opera.

Everybody bangs on about how good Chrome is, but it is full of ridiculous bugs!  :???:

Scrap that, it doesn't show the correct format on Opera either.

It shows 9-2-2016 for me thats the Dutch way for today (using Chrome) Edge gives the same result for me
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 09, 2016, 01:07:33 PM
Hi Jachym,
Unfortunately the ecForecast does not display the forecast for me.  All I get is the "More/Hide" buttons and "Data source Environment Canada." and forecast area is blank.
I have not changed any settings and the default location is for our area.
 
The warningsCA block does show the current warning "SNOW SQUALL WATCH IN EFFECT, London"
 
I have an amended index page so you can load the page www.komokaweather.com/j-template/index1.php (http://www.komokaweather.com/j-template/index1.php)
 
Regards,
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 01:30:43 PM
Hi Jachym,
Unfortunately the ecForecast does not display the forecast for me.  All I get is the "More/Hide" buttons and "Data source Environment Canada." and forecast area is blank.
I have not changed any settings and the default location is for our area.
 
The warningsCA block does show the current warning "SNOW SQUALL WATCH IN EFFECT, London"
 
I have an amended index page so you can load the page www.komokaweather.com/j-template/index1.php (http://www.komokaweather.com/j-template/index1.php)
 
Regards,
Paul

Hi Paul,
yes I know what the problem is, it is actually in the cookies. Your server gets automatically redirected to the French version, for which it does not work. I already have a functional version for the French page, see my email.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 09, 2016, 01:46:15 PM
Hi Jachym,
That was quick, and yes it now works in both English and French, depending on my settings in "$useLanguage = "en"; // fr or en".
 
Well done,
Paul.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 02:38:07 PM
 \:D/
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on February 09, 2016, 03:18:26 PM
Quote
I realised it with the following code in line 34 of the webcamBlock.php, --> www.wustrau.org (http://www.wustrau.org):

Code: [Select]
<img src="http://dgrainbow.selfhost.eu:88/CGIProxy.fcgi?cmd=snapPicture2&usr=gast&pwd=gast2015&t=" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 1000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' class="webcamImg tooltip" alt='' title="<?php echo $webcamTitles[$i]?>;"/>
The image is refreshed here in a shorter time.

Good luck

Rainbow!

Thanks for help, it's working fine! :)

Jachym!

Development suggestion:

I guess the other is used daily summary text prepared for the weather events. For example, "this morning was sunny weather in the afternoon overcast skies, thunderstorms." etc. etc.  It would be helpful if this is to display in the daily report. I know, i know, in the Station Diary plugin is such a option, but it need to generate, must be turn a page in the book. But in the daily reports with one-two single click can be available. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2016, 03:32:24 PM
Hi Brett,
Im sorry Im not sure I understand what exactly you mean, could you try to explain a bit more?
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on February 09, 2016, 05:29:09 PM
Hi Brett,
Im sorry Im not sure I understand what exactly you mean, could you try to explain a bit more?

Hi,

Well...I thought something like that:
(http://kepfeltoltes.hu/thumb/160209/Clip_41_www.kepfeltoltes.hu_.jpg) (http://kepfeltoltes.hu/view/160209/Clip_41_www.kepfeltoltes.hu_.jpg)


The text from a yyyymmdd.txt format file.

Regards
Zoltán    :) 
Title: Re: Meteotemplate - new free website template
Post by: chweather on February 10, 2016, 03:46:27 AM
I fixed the date problem in Chrome with the new digital clock, All you have to do is open chrome settings, go to show advanced settings and scroll down to Language and input settings. Under languages click on ADD and scroll down till you find your correct language eg. English (UK) or what ever it is, then click finish and close all browsers. reopen you browser and it should be working correctly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 10, 2016, 05:00:58 AM
Hi Brett,
Im sorry Im not sure I understand what exactly you mean, could you try to explain a bit more?

Hi,

Well...I thought something like that:
(http://kepfeltoltes.hu/thumb/160209/Clip_41_www.kepfeltoltes.hu_.jpg) (http://kepfeltoltes.hu/view/160209/Clip_41_www.kepfeltoltes.hu_.jpg)


The text from a yyyymmdd.txt format file.

Regards
Zoltán    :)

I see Zoltan, but the problem is - how is the script supposed to know this or derive this from the data :D
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 10, 2016, 10:06:41 AM
It is possible but not an easy thing to implement. We do it in our business.

Think of it as reverse of text mining.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 10, 2016, 12:37:23 PM
Errors in Wu Forecast Block:

Hi Jachym I've setup 4.1 just one error (till now discovered) the wu-forceast gives errors no idea what see my temporily template http://apeldoorn.tk/mx/index.php


Ignore this I filled out a wrong WU-apikey  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 10, 2016, 02:17:48 PM
Well I must say the blocks are a good feature well done Jachym  =D&gt;

Waiting for the realtimegauses block  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 10, 2016, 07:19:07 PM
Just a quick post about some blocks for which I received suggestions:

1. visitor count
This would be redundant. If you want to count visitors then I highly recommend the great and free Google Analytics service, which I use myself on all pages I ever had. It is extremely easy to add this, simply copy/paste the code that Google generates for you. In case of Meteotemplate, the best idea is to actually paste this code in the header.php, because you then get all views counted and you only have to copy the code once. The GUI then shows you very detailed info, which a person like me, who loves statistics (as you have probably noticed based on the weather station stats I have in my template) enjoys quite a lot. You can filter results by all sorts of parameters including location, time span, or even browser type, OS, desktop/phone/tablet etc. etc.

2. YoWindow
I know some of you use this, but I do not plan on adding this into the template. One of the goals I set at the beginning and also mentioned in the wiki as an advantage, is that I do not want to use any outdated or potentially vulnerable technologies. Flash (used by the YoWindow) is a primary example of this. It does not even work on most phones these days (unless you specifically install plugins), it will soon stop working by default in browsers such as Chrome or FF, it is not secure and overall, it is a thing of the past. Basically everything (and even more) can be done today using HTML5 and CSS3, technologies previously unavailable, so Flash made sense - today it does not.

3. Gauges
Theoretically it is not a problem to add this, but I think it is better not to. It is of course desirable to have current conditions right up front on the homepage - but that is exactly what the current block is for. There are several reasons for why I think it is better than gauges. First of all, it is true that seeing number is more precise. Gauges could be difficult to read. You could argue that some gauges can also display the actual values, but then you are basically showing the same thing twice and the current block does the exact same thing. Second, lot of you want lot of blocks and so saving space is a good idea and you do not want redundant stuff to be there (gauges + values). But the most important reason is acutually related to the scripts behind these gauges.
One of the great things about this modular independent blocks is that you can include lots of them without affecting loading time. Some of them simply load slower and you see the spinner, but the rest of the page loads instantly. However, this still means that all the blocks must be loaded by the browser and into the computer memory. The more blocks you have, the more demanding your site will be. When I tried to put all the blocks on the homepage and opened it with my 1GB RAM laptop, it completely froze. And it is true that most of you probably have faster computers, but it would still be quite slow. Most gauges, especially the ones that look good and are more sophisticated, use extensive JavaScript, which is ok on its own, but having all that loaded along all the blocks and scripts necessary for displaying the homepage as such (the interactive banner, the menu, the stats in the menu bar, all the blocks...) is really not ideal and can significantly affect the user experience.
In my opinion it is more important to get the information you want in a clear, fast and easy to use manner, then having all those fancy gauges turning up and down, left to right, full of shadows and 3D effects.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 11, 2016, 06:34:34 PM
I've got the meteoalarm warning issue again. It says warnings in 3 regions, but the map is empty. The warnings are for tomorrow. Could this be down to a timezone issue?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 11, 2016, 07:08:55 PM
I dont see 3 warnings, either way, it could be that Meteoalarm sometimes does not update the RSS channel on time.

Sorry I used the old URL, yes I see 3 warnings and I see them all on the map.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 11, 2016, 07:15:26 PM
I dont see 3 warnings, either way, it could be that Meteoalarm sometimes does not update the RSS channel on time.

Sorry I used the old URL, yes I see 3 warnings and I see them all on the map.

They are there now, as it has gone past midnight here. The map was empty at 11:30pm, but the warnings were listed.  #-o
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 11, 2016, 07:31:04 PM
Yes, Meteoalarm issue, they sometimes have delays (and often the site is completely down...). Unfortunately it is the only integrated source of weather warnings for Europe.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 11, 2016, 07:45:31 PM
Yes, Meteoalarm issue, they sometimes have delays (and often the site is completely down...). Unfortunately it is the only integrated source of weather warnings for Europe.

Okie dokie, not to worry. Wunderground have a Euro warning forecast page, although it's not quite as nice. http://www.wunderground.com/severe/europe.asp

It looks like someone got the crayons out!  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 11, 2016, 07:49:00 PM
Yes, Meteoalarm issue, they sometimes have delays (and often the site is completely down...). Unfortunately it is the only integrated source of weather warnings for Europe.

Okie dokie, not to worry. Wunderground have a Euro warning forecast page, although it's not quite as nice. http://www.wunderground.com/severe/europe.asp

It looks like someone got the crayons out!  :lol:

Didnt know about and never seen this page before, but hey...

WHERE IS MY COUNTRY?!

I guess this even deepened my feelings about WU :D
Title: Re: Meteotemplate - new free website template
Post by: gwwilk on February 12, 2016, 08:23:52 AM
WHERE IS MY COUNTRY?!

I guess this even deepened my feelings about WU :D
I think the same place as Austria, Portugal, etc.  That is, without any current alerts?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2016, 08:26:30 AM
Not to mention the fact that none of the links work, even for the countries that are listed below the map....

just proves my point though - Meteoalarm is the only reliable source of data
Title: Re: Meteotemplate - new free website template
Post by: gwwilk on February 12, 2016, 09:11:49 AM
Not to mention the fact that none of the links work, even for the countries that are listed below the map....

just proves my point though - Meteoalarm is the only reliable source of data
Point made.  I didn't get that far into the links, but they are, as you point out, dead.
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 12, 2016, 03:16:25 PM
I've recently been having issues with Meteobridge saying http uploads are inactive and as a result my site saying "offline"
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2016, 04:25:03 PM
Ok let's take it step by step.

If you try the link specified in mb manually in the browser,  does it update?
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 12, 2016, 05:29:35 PM
Ok let's take it step by step.

If you try the link specified in mb manually in the browser,  does it update?
I seemed to have figured out that issue. I just re instealled meteotemplate since there was no v2-v3 file. Im having some trouble setting up homepage along with Canadian warnings
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2016, 05:34:44 PM
OK, we can work on that, so what exactly is the problem now. I was trying to access your page, but was unable to do so, which is why also the HTTP probably fails.

Sorry now it works fine, loads default 4.1
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 12, 2016, 05:41:30 PM
OK, we can work on that, so what exactly is the problem now. I was trying to access your page, but was unable to do so, which is why also the HTTP probably fails.

Sorry now it works fine, loads default 4.1
On the warnings page I'm getting :"
Fatal error: Call to a member function find() on a non-object in /home/aidan/public_html/plugins/warningsCanada/dataLoader.php on line 14"

And as for the homepage... im sorta just completely confused as to how I set it up with blocks
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 12, 2016, 05:42:22 PM
Quote
Im having some trouble setting up homepage along with Canadian warnings
You'll have fun adding in ALL the blocks that you want need!


That is also the same error I get with Warnings Canada plugin http://ajaxweather.ca/plugins/warningsCanada/index.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 12, 2016, 05:50:09 PM
scratch that I think I figured the blocks out!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2016, 05:51:49 PM
Ad warnings:
I think one other guy, Carl figured out the problem. It has to do with the URL you use. I will try to find the link to where he explained what worked for him
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 12, 2016, 06:41:01 PM
Sorry for all the posts but now im having an issue with wunderground forecast. All other providers work but wunderground gives me this error "Warning: Invalid argument supplied for foreach() in /home/aidan/public_html/homepage/blocks/forecast/forecastAjax.php on line 159

Warning: Invalid argument supplied for foreach() in /home/aidan/public_html/homepage/blocks/forecast/forecastAjax.php on line 367
Forecast currently not available."

And yes I have inputted my API key.

Thanks in advance!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2016, 07:11:31 PM
Send me a link to the WU page you want to use
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 12, 2016, 07:12:55 PM
Send me a link to the WU page you want to use
http://www.wunderground.com/q/zmw:00000.9.WCYOO?sp=IONTARIO889
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2016, 08:22:02 PM
Send me a link to the WU page you want to use
http://www.wunderground.com/q/zmw:00000.9.WCYOO?sp=IONTARIO889

OK, I will look at it tomorrow and send you a link to use
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 13, 2016, 04:27:01 AM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 09:41:47 AM
For those CANADIANS that the warningsCA block dont work.... be shure to enter the EC FORECAST city code...not the warning page one...

for me its this,qc-134 in the setting
 http://weather.gc.ca/city/pages/qc-134_metric_e.html

and not this page...
http://weather.gc.ca/warnings/report_e.html?qc53

from this map
http://weather.gc.ca/warnings/index_e.html?prov=sqc

Its working fine FOR ME...also got it to work in french and ive included the warning page link in the title (AVERTISSEMENT EMIS)

Dont forget to DELETE the cache file: warningsCA.txt in the cache folder
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 13, 2016, 09:53:59 AM
Hi Carl,
My warning Block is working fine, just the plugin that is giving the error.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 10:03:58 AM
See,on my side,never had problems with the plugin...

its been working at first install with thi code...qc53

and this code is from this page...http://meteo.gc.ca/warnings/index_f.html?prov=sqc

so,for you ,i think its :http://meteo.gc.ca/warnings/index_f.html?prov=son

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 11:28:20 AM
Sorry for all the posts but now im having an issue with wunderground forecast. All other providers work but wunderground gives me this error "Warning: Invalid argument supplied for foreach() in /home/aidan/public_html/homepage/blocks/forecast/forecastAjax.php on line 159

Warning: Invalid argument supplied for foreach() in /home/aidan/public_html/homepage/blocks/forecast/forecastAjax.php on line 367
Forecast currently not available."

And yes I have inputted my API key.

Thanks in advance!

Hi,
I guess the easiest thing to do in this case is to hard-code the URL.

Go to the forecast PHP script:
homepage/blocks/forecast/forecastAjax.php

Then on line 147, replace the URL with the following:
Code: [Select]
http://api.wunderground.com/api/YOUR WU API KEY/forecast10day/q/zmw:00000.9.WCYOO.json
Just make sure to include the API key.

Then delete the wu.php from the forecast block cache folder and try refreshing the page.

Let me know if it helped

Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 11:30:55 AM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?

Hi,
unfortunately I noticed that this new script in v.4 works for some people for whom v.3 did not work and likewise, for some it screwed thing up. The problem in this case is extreme inconsistency of Yahoo Weather. What I suggest is simply use the URL from version 3. So if you still have your files backed up from version 3, go to header.php and copy the URL line for the Yahoo Weather, it will include your stationCountry and station location in it. The header.php in version 4 is different so you cannot simply use the file from version 3, but the actual banner did not change so you can simply use this version 3 URL.

Best regards
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 11:32:07 AM
See,on my side,never had problems with the plugin...

its been working at first install with thi code...qc53

and this code is from this page...http://meteo.gc.ca/warnings/index_f.html?prov=sqc

so,for you ,i think its :http://meteo.gc.ca/warnings/index_f.html?prov=son

Thanks Carl for help.

Paul I will see if I can figure it out, I was recently able to fix both radar and the forecast and warnings for Bill, who also had problems with EC.

P.S.
Carl I feel sorry for you, just looking at your signature banner... -23.5 degrees :D :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 13, 2016, 11:37:18 AM
Thanks Carl, comparing your EC URL link to mine and all it is
is change
Code: [Select]
$url = "https://weather.gc.ca/warnings/report_e.html?".$region;to
Code: [Select]
$url = "http://weather.gc.ca/warnings/report_e.html?".$region;Now seems to work again... http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php (http://www.komokaweather.com/j-template/plugins/warningsCanada/index.php)
 
Thanks Jachym for your continued follow up.
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 13, 2016, 11:41:06 AM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?

Hi,
unfortunately I noticed that this new script in v.4 works for some people for whom v.3 did not work and likewise, for some it screwed thing up. The problem in this case is extreme inconsistency of Yahoo Weather. What I suggest is simply use the URL from version 3. So if you still have your files backed up from version 3, go to header.php and copy the URL line for the Yahoo Weather, it will include your stationCountry and station location in it. The header.php in version 4 is different so you cannot simply use the file from version 3, but the actual banner did not change so you can simply use this version 3 URL.

Best regards
Jachym

This is what I had to do on 4.0 but changing that line on 4.1, to 3.0's version doesn't work now.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 13, 2016, 11:57:17 AM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?

Hi,
unfortunately I noticed that this new script in v.4 works for some people for whom v.3 did not work and likewise, for some it screwed thing up. The problem in this case is extreme inconsistency of Yahoo Weather. What I suggest is simply use the URL from version 3. So if you still have your files backed up from version 3, go to header.php and copy the URL line for the Yahoo Weather, it will include your stationCountry and station location in it. The header.php in version 4 is different so you cannot simply use the file from version 3, but the actual banner did not change so you can simply use this version 3 URL.

Best regards
Jachym
Thanks I have a look at it tommorrow. I did it now works fine thanks !
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 11:57:41 AM
@ Paul...look what i did to the warning title (block) http://www.meteolacstjean.com/hebert/index.php
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 13, 2016, 12:09:31 PM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?

Hi,
unfortunately I noticed that this new script in v.4 works for some people for whom v.3 did not work and likewise, for some it screwed thing up. The problem in this case is extreme inconsistency of Yahoo Weather. What I suggest is simply use the URL from version 3. So if you still have your files backed up from version 3, go to header.php and copy the URL line for the Yahoo Weather, it will include your stationCountry and station location in it. The header.php in version 4 is different so you cannot simply use the file from version 3, but the actual banner did not change so you can simply use this version 3 URL.

Best regards
Jachym

This is what I had to do on 4.0 but changing that line on 4.1, to 3.0's version doesn't work now.

It works for me now
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 13, 2016, 12:11:02 PM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?

Hi,
unfortunately I noticed that this new script in v.4 works for some people for whom v.3 did not work and likewise, for some it screwed thing up. The problem in this case is extreme inconsistency of Yahoo Weather. What I suggest is simply use the URL from version 3. So if you still have your files backed up from version 3, go to header.php and copy the URL line for the Yahoo Weather, it will include your stationCountry and station location in it. The header.php in version 4 is different so you cannot simply use the file from version 3, but the actual banner did not change so you can simply use this version 3 URL.

Best regards
Jachym

This is what I had to do on 4.0 but changing that line on 4.1, to 3.0's version doesn't work now.

It works for me now

Can you post your line? It just empties my headercache for some reason. :(
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 13, 2016, 12:13:20 PM
I still cant get the header conditions I also found this in the source
Code: [Select]
.bg{
background-image: url("http://apeldoorn.tk/meteo/imgs/forecastImgs/weather_bg/default.jpg");

default.jpg isn't availble in the download my header works in V3.0 http://apeldoorn.tk/template but not on my main site V4.1 http://apeldoorn.tk/meteo any ideas ?

Hi,
unfortunately I noticed that this new script in v.4 works for some people for whom v.3 did not work and likewise, for some it screwed thing up. The problem in this case is extreme inconsistency of Yahoo Weather. What I suggest is simply use the URL from version 3. So if you still have your files backed up from version 3, go to header.php and copy the URL line for the Yahoo Weather, it will include your stationCountry and station location in it. The header.php in version 4 is different so you cannot simply use the file from version 3, but the actual banner did not change so you can simply use this version 3 URL.

Best regards
Jachym

This is what I had to do on 4.0 but changing that line on 4.1, to 3.0's version doesn't work now.

It works for me now

Can you post your line? It just empties my headercache for some reason. :(

$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22".$stationLocation."%2C%20".$stationCountry."%22)&format=json";

Is what I used have to eat know :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 12:26:40 PM
Yes... so this is exactly what I meant... as you can see Yahoo is extremely inconsistent in this, it is virtually impossible to come up with a string that would work for everyone so I simply have to choose a compromise and then for those to whom it does not work I help individually.

I am considering rewriting the banner and changing the data source because it is not just inconsistency of Yahoo Weather, but also unreliability of data availability. Unfortunately there is one huge advantage of Yahoo weather - and that is no API key required. Yes you might think this is not really a problem, but now that I have been a developer for some time, providing support I know it is a problem. The banner is obviously something that everyone has and so you want this to work straight out of the box. And I assume this is also the reason why it is sometimes overloaded.

The only other service that has no API key is Yr.no, which is great, reliable and I think more accurate, but there is a catch.... yr.no only provides forecast. It does not have any data for current conditions and in the banner this is what we need.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 13, 2016, 12:32:56 PM
Quote
@ Paul...look what i did to the warning title (block) http://www.meteolacstjean.com/hebert/index.php (http://www.meteolacstjean.com/hebert/index.php) 
You've done an excellent job with your Homepage Carl =D&gt;
 
However if it was mine I would show my weather station www.komokaweather.com/j-template/homepage/blocks/current/icons/light/station.png (http://www.komokaweather.com/j-template/homepage/blocks/current/icons/light/station.png)  ;)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 12:37:27 PM
Interesting... I just noticed that this Meteotemplate thread is now the thread with most replies ever on this forum....  - in reality it is actually second, but the first one - "Who will be the last person to post in this thread" - I dont really count that one as it is just a joke :D

And just a little update of what is new/being prepared
- I did not have much time for development recently because I was helping other people, but the good news is that there are now a few new users, two from the U.S., one from Australia, France and also the first user of Meteotemplate in South America (they are now all added in the user map).
- I am investigating the possibility of using the native Meteohub format files because it was pointed out to me that there is a bug in Meteohub, which generates incorrect precipitation value when generating the clientraw file
- thanks to Peter the Swedish translation is now complete and Slovenian and Greek are also being added
- I have one new block that I am working on and should be ready soon
- and one more surprise, which I have been working on for quite some time now. It is very time-consuming, but I think once finished you really have something to look for again :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 02:16:09 PM
Also interesting, the current range of temperatures of users participating in the Meteotemplate Weather Station Network is 50 °C (90 °F)

:D
http://www.meteotemplate.com/web/network.php
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 13, 2016, 02:59:08 PM
Sorry for all the posts but now im having an issue with wunderground forecast. All other providers work but wunderground gives me this error "Warning: Invalid argument supplied for foreach() in /home/aidan/public_html/homepage/blocks/forecast/forecastAjax.php on line 159

Warning: Invalid argument supplied for foreach() in /home/aidan/public_html/homepage/blocks/forecast/forecastAjax.php on line 367
Forecast currently not available."

And yes I have inputted my API key.

Thanks in advance!

Hi,
I guess the easiest thing to do in this case is to hard-code the URL.

Go to the forecast PHP script:
homepage/blocks/forecast/forecastAjax.php

Then on line 147, replace the URL with the following:
Code: [Select]
http://api.wunderground.com/api/YOUR WU API KEY/forecast10day/q/zmw:00000.9.WCYOO.json
Just make sure to include the API key.

Then delete the wu.php from the forecast block cache folder and try refreshing the page.

Let me know if it helped

Jachym

Thanks a lot it worked!
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 13, 2016, 03:07:41 PM
how do I now make weather underground default? it says "forecast unavailable" when I make it default but works if I select it from dropdown menu
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 13, 2016, 04:20:12 PM
Quote
how do I now make weather underground default? it says "forecast unavailable" when I make it default but works if I select it from dropdown menu
The ecForecast block is also a good alternative forecast to display on your Homepage.
 
Jachym
Is it possible to add the "ecForecast" in the "forecast" block as a pull down option along with the existing WU, Yahoo and yr.no?  As you know, I've gone the better way and that is by showing them both!
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 05:39:34 PM
how do I now make weather underground default? it says "forecast unavailable" when I make it default but works if I select it from dropdown menu

Just checked your site and it is set to default and works fine so I guess it was just caching issue which solved itself after the cache expired and was reloaded.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 05:41:54 PM
Quote
how do I now make weather underground default? it says "forecast unavailable" when I make it default but works if I select it from dropdown menu
The ecForecast block is also a good alternative forecast to display on your Homepage.
 
Jachym
Is it possible to add the "ecForecast" in the "forecast" block as a pull down option along with the existing WU, Yahoo and yr.no?  As you know, I've gone the better way and that is by showing them both!
 
Paul

I see your point Paul. Currently it is not possible, but theoretically yes it is possible. I guess my original thinking was that if I include it there I would then also have to include the NWS forecast there and all the other ones I potentially make in the future. This means that each user would then have to download scripts for all the other services. Although it is possible to disable them in the settings they are still part of the block scripts so my original idea was that you can have the "global ones" - WU, Yahoo, yr.no and then one additional which is specific to your region, if such block is available. But I might reconsider this.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 13, 2016, 06:38:17 PM
Thanks Jachym, and your approach makes sense.  The initial thought was that it would be less effort with one Block instead of two, but thinking about it further I personally like the way it is now.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 06:54:17 PM
Also interesting, the current range of temperatures of users participating in the Meteotemplate Weather Station Network is 50 °C (90 °F)

:D
http://www.meteotemplate.com/web/network.php

you forgot to add me on the new network...were expecting -31c for tonight  so :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 07:16:00 PM
Also interesting, the current range of temperatures of users participating in the Meteotemplate Weather Station Network is 50 °C (90 °F)

:D
http://www.meteotemplate.com/web/network.php

you forgot to add me on the new network...were expecting -31c for tonight  so :)

"fixed" :)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 09:00:46 PM
thanks...

on the network page...could you arrange that so the hottest is at the top and coldest at the bottom ?

possible ?
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 09:01:40 PM
forget that...just saw its already there hehehe ](*,)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 13, 2016, 09:05:19 PM
thanks...

on the network page...could you arrange that so the hottest is at the top and coldest at the bottom ?

possible ?

All the columns are sortable, nice job Jachym and thanks for adding me.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 09:27:16 PM
Yes, it is all sortable already, but I am in the process of rewriting the network code to offer more features than what is currently available. Just didn't have time to finish it yet :)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 13, 2016, 09:41:14 PM
its very nice as is...dont you think...but if you could add a button to start the coffee maker,it would be just perfect :idea:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2016, 09:43:58 PM
It is nice, but there is always things that can be improved, so dont worry, all that is currently available will remain, but there are certain things that I want to add.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 14, 2016, 04:15:59 AM
YESSS...coldest place on the network with a warm -30.3c \:D/

http://www.meteotemplate.com/web/network.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 07:15:54 AM
YESSS...coldest place on the network with a warm -30.3c \:D/

http://www.meteotemplate.com/web/network.php

Is that normal in the winter at your place?
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 14, 2016, 10:11:01 AM
Yes Jachym ...it is...we get this cold every year in late january/mid febuary  ;)

this one was below normal...it was in 2014   :shock:... it dropped to -43c on this thermometer but it was -38.2 on the davis   :???:

https://www.youtube.com/watch?v=s8AeHxEWgsE
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 14, 2016, 10:17:21 AM
LOL lowest temp over here ever measured was -27,4 on january 27 1942 ..
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 14, 2016, 10:23:45 AM
Not as cold as Carl but we do seem to get our coldest temps in mid-February that goes with the usual bright sunshine, unless that Lake Effect snow starts blowing our way.  This year there is little freeze-over of the Great Lakes http://ice-glaces.ec.gc.ca/prods/NAIS25ESD/20160213180000_NAIS25ESD_0008711492.pdf (http://ice-glaces.ec.gc.ca/prods/NAIS25ESD/20160213180000_NAIS25ESD_0008711492.pdf) unlike last year when they were all 100% frozen.  Those open waters on Lake Huron and north western winds can add a bit of excitement to winter and driving conditions...
 
I see even Bill in MB is much warmer than we are, and that is usually the other way around.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 14, 2016, 10:26:05 AM
at that temperature,everything craks,snap n pop... we ca hear the nails on the gallery snapping..and sometimes we get ice quake...when theres a good amount of ice on the road

 ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 10:49:39 AM
OK, well here we normally get min around -20, not less, in the mountains you can have less obviously, this yr I think the record minimum so far was -35 C. But that really is in the mountains. I have been measuring since 2012, so very short series, plus I live in a city center of the second largest town in the country. So my absolute minimum so far has been -16.4. Overall, the absolute minimum temperature ever recorded in the Czech Republic is -42.2. But we get close to that relatively often, 2 yrs ago it was -41 at one of the stations in the mountains.

I myself have probably never experienced less than -20, I don't know exactly, it must have been at a time I did not care about weather that much and did not have a PWS.

Still though, it is nothing compared to the Russian Oymyakon :D
Title: New blocks available
Post by: Jáchym on February 14, 2016, 11:42:33 AM
Hi guys,

two new blocks are now available for download.

Meteogram

I think the name of the block is pretty much self-explanatory. This block will draw a meteogram showing the upcoming 48h forecast for the location you specify, using data from yr.No. The script takes into account your Meteotemplate design settings, units, language and also timezone.

News Feed

This block allows you to place a news feed on your site, where you can for example add updates of what is new on the homepage etc. There is a separate page, where you can directly add/delete items using a GUI and your admin password. Instructions on how to do this are given in the settings.php. Once there is more items than can fit to the block display, they will automatically slide down.

Download/screenshots: http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: AjaxKnights29 on February 14, 2016, 11:43:51 AM
YESSS...coldest place on the network with a warm -30.3c \:D/

http://www.meteotemplate.com/web/network.php
Highest pressure on the network ;)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 14, 2016, 12:05:02 PM
About newsFeed block...i taught it was a rss newsfeed reader ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 12:39:04 PM
No, this is your feed.

Btw. if you have already downloaded the files, there might be a problem on some servers with restricted permissions. If you experience any problems with loading the forecast data, just re-download the block files, I fixed it. Likewise with the newsFeed, I noticed a problem on some servers, so that should now be fixed as well, just re-download and replace everything, including the settings.php.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 14, 2016, 02:35:22 PM
Thanks again Jachym, I got them both working;
and just for your eyes computer http://www.komokaweather.com/j-template/index1.php (http://www.komokaweather.com/j-template/index1.php)
all blocks www.komokawerather.com/j-template (http://www.komokawerather.com/j-template)

Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 02:47:10 PM
Thanks again Jachym, I got them both working; and just for your eyes computer http://www.komokaweather.com/j-template/index1.php (http://www.komokaweather.com/j-template/index1.php)
 
Enjoying,
Paul

:D Great Paul, I trust you, I will have a look tomorrow at work LOL
Title: Re: Meteotemplate - new free website template
Post by: Ian. on February 14, 2016, 02:58:40 PM
Thanks again Jachym, I got them both working; and just for your eyes computer http://www.komokaweather.com/j-template/index1.php (http://www.komokaweather.com/j-template/index1.php)
 
Enjoying,
Paul

Hi Paul,

I didn't even consider putting a signature block on the template page, what a great idea.

Ian
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 05:34:55 PM
Question:
Would it be possible to create a plugin/page just like at meteotemplate.com with the network and data from all the users?

OK, technically it would not be a problem at all. In practice however, it is not possible.

I will try to explain why. Well there are two possible ways of going around this. And I will show you that unfortunately, neither of them is feasible.

So the main thing is - we have to have some way of regularly retrieving data from all the websites of users participating in the network.

Possibility 1:
Each user has a CRON job, that would retrieve data from other users' sites at regular interval (say 15 minutes).
Problem:
There is now almost 90 users already so imagine each one of them would be accessing your site every 15 minutes, that is - every 15 seconds some CRON script would be loading your site, which I think is not necessarily something you want....

Possibility 2:
I already do this - in other words, my server has a CRON job set up every 15 minutes and it gets data from all the users, but obviously this is not a problem because it is only once every 15 minutes. The other option therefore would be for me to continue doing this just as I am now, but also generate a file with aggregated data from all the users so each user would only be getting the data from meteotemplate.com and only meteotemplate.com would actually be accessing each site. This would solve the problem with having other users accessing your site every 15 seconds. However... the major problem in this case is that this would be a problem for me. This means it would be my server that would get all the traffic and from where you would all be getting all the data and it would only be getting worse as more users joined in. It might end up in a situation where every few seconds someone would be trying to download data from all the stations from my site. Unfortunately I use external webhosting and I am happy that it at least works now, because it is true that the number of visits is growing each day almost exponentially. So Im quite glad it is still relatively fast and usable and this would significantlly affect everything - downloading blocks, plugins, template, it would be a problem for my demo and my own station etc etc.

Unfortunately I do not see any other option other than the two above and so for now all you can do is place a link to this site on your user map. The user map is not a problem because it is a static page, not getting any external data.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 14, 2016, 05:40:43 PM
Or iframe your page? haha  :-P
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 05:57:42 PM
Or iframe your page? haha  :-P

That would be even worse than option 2. It would be basically the same thing except instead of just the raw data you would be accessing my site and downloading everything including the images etc. and not even every 15 minutes but with every visitor to your site...
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 14, 2016, 06:02:10 PM
I have no problem with the current Users and Users' Station Data pages.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 06:04:24 PM
I have no problem with the current Users and Users' Station Data pages.
 
Paul

Sure, it was just that I already got a few people asking about this and I know it would be quite cool, but unfortunately not feasible.

P.S.
Tina you do that and I will make some modifications in my .htaccess, which you probably wont like :D :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 14, 2016, 06:11:01 PM
Testing ... www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)  and maybe a special recognition =D&gt;
Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 14, 2016, 06:12:26 PM
I have no problem with the current Users and Users' Station Data pages.
 
Paul

Sure, it was just that I already got a few people asking about this and I know it would be quite cool, but unfortunately not feasible.

P.S.
Tina you do that and I will make some modifications in my .htaccess, which you probably wont like :D :D

I would never do that! lol
I've recently had someone do that to the wugraphs on my page. I noticed bandwidth going up, while not a huge amount, enough to make me suspicious. It turns out someone with a weather page not too far from me, was iframing the whole wugraphs page. I set up to stop hotlinking in the end.

PS: Love the meteogram! I've just put it on the site now. :)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 14, 2016, 06:39:19 PM
Testing ... www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)  and maybe a special recognition =D&gt;
Paul

Wow, that's a lot of Blocks :D 

Do you know how many you actually have Paul?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 06:42:33 PM
Yes, I rather did not try looking, it loads fast thanks to the modular structure, but my RAM does not like it :D I will have a look tomorrow at work.

Btw. Paul, dont worry, I already have an idea of how to solve this sort of situations you are in. I just have to think a little more about it and actually try to put ideas into code :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 14, 2016, 06:49:57 PM
Quote
Do you know how many you actually have Paul?
Actually I can't count that high so just say "all of them except one"!
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 14, 2016, 06:55:28 PM
 :-P
I needed my calculator but here is the count.

Col 1
        19
Col 2
        26
Col 3
        17
--------
        62

Wow
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2016, 07:32:23 PM
Yes, I have to find some elegant solution as there is only going to be more :D
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 15, 2016, 02:17:23 AM
Jachym

I got arounf to upgrading to 4.1, but in the forecast block I am having an issue with WU.

I had the same problem with the ForecastInfo plugin from previously.  The edit I made hardcoded my location in ForecastInfo, but I cant see how to make the edit on the new Forecast block

Code: [Select]
$urlWU = "http://api.wunderground.com/api/".$wuAPI."/forecast10day/q/".$stationCountry."/cape_town.json";
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 04:17:33 AM
Jachym

I got arounf to upgrading to 4.1, but in the forecast block I am having an issue with WU.

I had the same problem with the ForecastInfo plugin from previously.  The edit I made hardcoded my location in ForecastInfo, but I cant see how to make the edit on the new Forecast block

Code: [Select]
$urlWU = "http://api.wunderground.com/api/".$wuAPI."/forecast10day/q/".$stationCountry."/cape_town.json";

Hi Simon,
it is in the forecastAjax.php file on line 147
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 15, 2016, 09:41:36 AM
Jachym

Great work on the blocks again.

I do have a couple of comments around the look and feel.

if you look at the various sites, you will see there's an inconsistency in the font size of the headers in individual blocks.  If you compare the "current" and "riset" blocks, and the "interactiveGraph" and "stationData" headers.

Also, is there a way to suppress or override the headers in some blocks.  I have "meteogram" and "forecast", bothe enabled.  For "meteogram", the header is "Table View, South Africa", whereas the "forecast" just says "Table View".  The headers are also different font.

Small issues, I concede, but it would just round things out to get them sorted.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 09:44:54 AM
Hi Simon,
yes I could try to unify that, right now it basically just takes the name from the external source, some give just city, some country as well.
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 10:33:05 AM
 :-(  I'm trying to setup the template and keep getting this error from MySql
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/sfiala/public_html/meteo/install/tableCreate.php on line 30

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/sfiala/public_html/meteo/install/tableCreate.php on line 66
Table was not created, please check your MySQL setup.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:01:01 AM
:-(  I'm trying to setup the template and keep getting this error from MySql
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/sfiala/public_html/meteo/install/tableCreate.php on line 30

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/sfiala/public_html/meteo/install/tableCreate.php on line 66
Table was not created, please check your MySQL setup.

Hi,
ok, then PM me your Mysql settings in config
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:04:33 AM
Hi,
the dbName is not correct, the alldata is the name of the table, but that is created by the tableCreate.php. In the dbName parameter you must specify the name of your database, which is assigned to you by your hosting provider.
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 11:08:16 AM
 guess I am confused I made a data base when I switched host Whos-online??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:15:29 AM
guess I am confused I made a data base when I switched host Whos-online??

you put dbName as "alldata" - this is the name of the table, but this is created by the template automatically, the db name is something you specify in your cpanel and sometimes it is assigned automatically. Check your MySQL settings in your cpanel.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:18:14 AM
Hang on, which PHP version are you using and do you have MySQLi installed?
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 11:21:03 AM
Hang on, which PHP version are you using and do you have MySQLi installed?
  5.5  and MySQLi is checked off
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:32:29 AM
ok well then that is the problem, check it, you need MySQLi, MySQL is outdated and should not be used, it is even depracted in the newest PHP versions.
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 11:35:11 AM
MySQLi and MySQL are both checked off under my php version doesn't that mean they are on? 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:44:26 AM
Aha, well then they should, which is then strange. What you can then try is this, delete this from the tableCreate.php:

Code: [Select]
if(
mysqli_num_rows(
mysqli_query($con,
"
SHOW TABLES LIKE 'alldata'
"
)
) > 0
){
die ("Table already exists.");
}

This checks if the table already exists, so just delete it so that the code starts directly with the command to create the table (assuming your table does not exist because the creation failed)

Just leave the top include command and below that only this:

Code: [Select]
mysqli_query($con,
"
CREATE  TABLE  `$dbName`.`alldata` (  `DateTime` datetime NOT  NULL ,
`T` decimal( 4, 1  )  DEFAULT  NULL ,
`Tmax` decimal( 4, 1  )  DEFAULT  NULL ,
`Tmin` decimal( 4, 1  )  DEFAULT  NULL ,
`H` decimal( 4, 1  )  DEFAULT  NULL ,
`D` decimal( 4, 1  )  DEFAULT  NULL ,
`W` decimal( 4, 1  )  DEFAULT  NULL ,
`G` decimal( 4, 1  )  DEFAULT  NULL ,
`B` decimal( 4, 1  )  DEFAULT  NULL ,
`RR` decimal( 7, 3  )  DEFAULT  NULL ,
`R` decimal( 7, 3  )  DEFAULT  NULL ,
`P` decimal( 7, 3  )  DEFAULT  NULL ,
`S` decimal( 5, 1  )  DEFAULT NULL ,
`A` decimal( 4, 1  )  DEFAULT NULL ,
PRIMARY  KEY (  `DateTime`  ) ,
UNIQUE  KEY  `DateTime` (  `DateTime`  )
  ) ENGINE  =  MyISAM  DEFAULT CHARSET  = utf8 COLLATE  = utf8_unicode_ci;
"
);
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 11:48:27 AM
Aha, well then they should, which is then strange. What you can then try is this, delete this from the tableCreate.php:

Code: [Select]
if(
mysqli_num_rows(
mysqli_query($con,
"
SHOW TABLES LIKE 'alldata'
"
)
) > 0
){
die ("Table already exists.");
}

This checks if the table already exists, so just delete it so that the code starts directly with the command to create the table (assuming your table does not exist because the creation failed)

Just leave the top include command and below that only this:

Code: [Select]
mysqli_query($con,
"
CREATE  TABLE  `$dbName`.`alldata` (  `DateTime` datetime NOT  NULL ,
`T` decimal( 4, 1  )  DEFAULT  NULL ,
`Tmax` decimal( 4, 1  )  DEFAULT  NULL ,
`Tmin` decimal( 4, 1  )  DEFAULT  NULL ,
`H` decimal( 4, 1  )  DEFAULT  NULL ,
`D` decimal( 4, 1  )  DEFAULT  NULL ,
`W` decimal( 4, 1  )  DEFAULT  NULL ,
`G` decimal( 4, 1  )  DEFAULT  NULL ,
`B` decimal( 4, 1  )  DEFAULT  NULL ,
`RR` decimal( 7, 3  )  DEFAULT  NULL ,
`R` decimal( 7, 3  )  DEFAULT  NULL ,
`P` decimal( 7, 3  )  DEFAULT  NULL ,
`S` decimal( 5, 1  )  DEFAULT NULL ,
`A` decimal( 4, 1  )  DEFAULT NULL ,
PRIMARY  KEY (  `DateTime`  ) ,
UNIQUE  KEY  `DateTime` (  `DateTime`  )
  ) ENGINE  =  MyISAM  DEFAULT CHARSET  = utf8 COLLATE  = utf8_unicode_ci;
"
);
  1 error is gone now I get the last one
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/sfiala/public_html/meteo/install/tableCreate.php on line 55
Table was not created, please check your MySQL setup.
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 11:53:41 AM
Ok I removed the 55 also and it created the data base!!  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 11:56:35 AM
Great, but since you did that make sure you now delete the tableCreate.php from your server, you will not need it any more and that function you deleted prevented someone from executing the script on your server and potentially deleting your db in the worst case.
Title: Re: Meteotemplate - new free website template
Post by: n7xrd on February 15, 2016, 12:02:45 PM
Great, but since you did that make sure you now delete the tableCreate.php from your server, you will not need it any more and that function you deleted prevented someone from executing the script on your server and potentially deleting your db in the worst case.
  Will do thank you for your help now I can continue the install!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2016, 12:16:12 PM
Great, let me know if you have any problems :)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 15, 2016, 08:00:43 PM
I seem to be getting inconsistent mouseover problems with the meteogram block. I can go to another tab, come back, and i cannot click temp, or precip links, sometimes I cannot click pressure, but temp and precip are ok. It's happening randomly to all 3 of them. It isn't happening with any other blocks ie; interactive graph block.
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on February 16, 2016, 06:13:30 AM
Hi, all

I do'nt know if someone is having the same issues as i do, but these have been consistently nagging me. I have three blocks that are not working, my co˛ script has never worked like it should be(i had to manually update it), in a previous reply i was already describing this. Now i am having the same problems with two other blocks, namely "warningsEUregions", while "warningsEU" is working, and the "meteogram" block! I am using the YR.NO-forecast in the "forecast" block and that one is working flawlessly....I am a little bit stomped here.....I tried all paths, emptied al cache-maps, changed the file-permissions and so on and on. Until now i have tried to solve the problem on my own, but i am stuck...........

Any help would be much appreciated.

THX, Marc
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 06:48:15 AM
Hi Marc,

your EU warnings is not working because I made a little mistake in the naming of the files, I fixed it already, but you seem to be using the buggy version still. Just look in the homepage blocks folder and make sure that the folder, the file and the name of the block in index.php all have same capitalization. There was I think a problem with the letter "r" in the word regions, I think the folder was called warningsEUregions and the file warningsEURegions, or something like that, just make sure that this is all consistent.

With regards to your other errors, there seems to be a problem on your server with the PHP XML loading function, this is what the Yr.no output gives:

Code: [Select]
Warning: simplexml_load_file(): Peer certificate CN=`a248.e.akamai.net' did not match expected CN=`www.yr.no' in /customers/b/c/b/akker.be/httpd.www/template/homepage/blocks/meteogram/dataLoader.php on line 16 Warning: simplexml_load_file(): Failed to enable crypto in /customers/b/c/b/akker.be/httpd.www/template/homepage/blocks/meteogram/dataLoader.php on line 16 Warning: simplexml_load_file(https://www.yr.no/place/Belgium/Flanders/Antwerp//forecast_hour_by_hour.xml): failed to open stream: operation failed in /customers/b/c/b/akker.be/httpd.www/template/homepage/blocks/meteogram/dataLoader.php on line 16 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.yr.no/place/Belgium/Flanders/Antwerp//forecast_hour_by_hour.xml" in /customers/b/c/b/akker.be/httpd.www/template/homepage/blocks/meteogram/dataLoader.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /customers/b/c/b/akker.be/httpd.www/template/homepage/blocks/meteogram/dataLoader.php:16) in /customers/b/c/b/akker.be/httpd.www/template/homepage/blocks/meteogram/dataLoader.php on line 25 jQuery111207644065790809691_1455623113679(false);
I will see if I can find what the problem is, looks like maybe some firewall.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 06:53:25 AM
Marc, I think I know what could be causing this,

go to your meteogram.php and at the very bottom, you will see the URL of yr.no. Delete the "https" and replace it with just "http" (or redownload the block file, I changed it in the main download file)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 16, 2016, 08:50:16 AM
Hi Jachym will the blocks also translatable ? My warnings are in English only now for example "No warnings or alerts currently in effect" and otherwise Warings Issued" I should prefer this texts in Dutch (NL) "Geen weerwaarschuwingen" and "Weerwaarschuwing(en) !"

In the Netherlands we've provinces warnings http://meteoalarm.eu/ne_NL/0/0/NL-Nederland.html I live in Gelderland http://meteoalarm.eu/ne_NL/0/0/NL014-Gelderland.html a province of The Netherlands I get often Windwarnings but these are mostly for the coast provinces
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 08:55:53 AM
I see, I forgot to make those translatable, I will write it on my to-do list.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 16, 2016, 08:57:36 AM
I see, I forgot to make those translatable, I will write it on my to-do list.

Great the meteogram looks nice too only winddescpription is in English.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 09:37:23 AM
Hi,
that is strange, I checked the HTML and it should be translated, but you are right, it isnt, I will see if I can find out the problem.
Title: New plugin - BloomSky
Post by: Jáchym on February 16, 2016, 10:46:09 AM
(http://i65.tinypic.com/2ecm83t.png)
Hi guys,
since lot of people have been discussing this and are now getting their BloomSky webcams I thought it would be nice to make a plugin, which will be able to save the data to your own server and then do all sorts of things such as viewing the images, filtering them, saving the timelapses, creates thumbnails etc. More functions will be added in future updates, I wanted to have this available quickly so that people can already start saving their images and videos for future use.

The big advantage is that it does not get data from WU (where there is significant delay), but rather uses directly the BloomSky API - also with the image meta data (temp, humidity etc.) and time when the image was taken (to prevent saving duplicates). The plugin uses the MySQL database to save all the associated info, but all the tables etc. are created automatically, so don´t worry, just make sure you follow carefully the instructions for install.

As I was not approved for getting the cam I would also like to say big thank you to Tom from Dongan Hills, NY, who provided me with remote access to his camera and ability to work with the BloomSky API. (also, it is therefore possible that there might be some bugs as I was not able to test everything, in such case please let me know and I will try to fix it ASAP).

Below are the main features and more information about how to install this and use it, including screenshots are in the corresponding blog post and plugin documentation.

Main features

- most recent image updated automatically without need to refresh at an interval you specify
- periodical saving of images to your server using a CRON job, including creating thumbnails (timestamp of when the photo was taken is taken into account to prevent saving duplicates so you can set your interval relatively short).
- saving daily timelapse videos any time a new one is available, up to 5 days to the past
- also saving the image meta data - temperature, humidity, pressure, precipitation, UV and then showing these on the page also taking into account the units set in Meteotemplate config.php and converting the numbers if necessary
- interactive calendar to view images from particular day
- daily summary (max/min of all the parameters, also compared to the values from your station)
- possibility to color the image background based on the meta data
- calculation of sunrise/sunset and showing the image closest to this time
- showing/saving always the recent image (unlike for example WU, where the delay is up to 45 minutes)

More information, screenshots and instructions how to use are in the blog and plugin documentation.
http://www.meteotemplate.com/web/plugins/bloomSky.php
http://meteotemplate.com/blog/?p=433
Title: Re: New plugin - BloomSky
Post by: 92merc on February 16, 2016, 03:07:12 PM
More information, screenshots and instructions how to use are in the blog and plugin documentation.
http://www.meteotemplate.com/web/plugins/bloomSky.php

You mention a config.php file in your instructions.  There wasn't one in the zip file.  The file get overlooked?

Also, I'd like to have it all run in a /bloomSky folder.  Any modifications needed?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 03:12:52 PM
This is a plugin for Meteotemplate, it is not a stand alone script. It uses the core files of the template as well as the MySQL database where it saves all the information and which is the fundamental component in the backend of this and makes it all work. The config.php is the main settings file of the template, where you set the units etc. and that is what it then uses to display this.

If interested have a look:

www.meteotemplate.com - there is wiki available which explains everything
Title: Re: Meteotemplate - new free website template
Post by: 92merc on February 16, 2016, 03:21:29 PM
Well that sucks.  I was hoping someone had come up with a standalone setup I could use.

Thanks for your efforts.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 03:22:43 PM
Well that sucks.  I was hoping someone had come up with a standalone setup I could use.

Thanks for your efforts.

There is nothing preventing you from downloading the template, it is free  ;)
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 16, 2016, 04:23:41 PM
Hi Jachym,

Have the Bloomsky plugin working here (http://sacrey.info/meteotemplate/plugins/bloomSky/).  Thanks for taking the time to make it, Sir!!!

John
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 16, 2016, 04:26:37 PM
Hi Jachym,

Have the Bloomsky plugin working here (http://sacrey.info/meteotemplate/plugins/bloomSky/).  Thanks for taking the time to make it, Sir!!!

John

I thought i'd  take a peek - How long have you had yours running? No Bloomsky data is showing for me.  :-|
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 16, 2016, 04:28:58 PM
Hi Tina,

Received and installed mine yesterday.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 16, 2016, 04:30:05 PM
Hi Tina,

Received and installed mine yesterday.

Ahh - I see! I guess the database has only just started then? There is some data for today. If i click the buttons, the webcam images changes colour!  :-)
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on February 16, 2016, 04:36:37 PM
Hi Jachym,

Have the Bloomsky plugin working here (http://sacrey.info/meteotemplate/plugins/bloomSky/).  Thanks for taking the time to make it, Sir!!!

John

How long did it take to get your API key from BloomSky?  I requested mine this afternoon.

Thanks.
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2016, 04:53:10 PM
OK, I guess I should explain a bit more how this works in the backend.

BloomSky API provides a link to the most recent image along with its meta data - temperature, humidity, pressure, UV, rain (true/false) and timestamp when the picture was taken. In addition, the API also provides links for daily timelapse videos for the past 5 days.

BloomSky Plugin:

The very first time you run the update script, it checks if the bloomSky table exists in your MySQL - if not, it creates it.
The update.php script is executed periodically by the CRON. The script first uses authentization via header and your API key. This pairs the script with the data for your camera. First it gets the data about the current image. Then, it checks if there is a record of an image in the database with this timestamp. If yes, then nothing is done. If no, then it copies the image from the link and saves it in the "images" directory on your server. It then creates a small thumbnail image for previews and saves that into "thumbnails" directory. Finally, it makes a note of this in the bloomSky table in the database. It saves the meta data as well as the timestamp - so it never saves the same image twice.
Next, the update script also checks the links to the videos. It first checks the date for which day this video is and checks if such video already exists in the "videos" folder of the plugin. If not, it copies this video as well (or if you run this for the first time, it will iterate through all of the links and in this case save all the 5 available). If it exists, nothing is done. In other words this means once a day it will copy the video from yesterday, once it is available.

The index.php then works like this:
First it connects to the bloomSky API and gets the most recent image - it does not take the last saved image on the server, because this way you can set the updates on the homepage much more frequently and it will always show you the most recent image without saving it - it works independently of the update.php. Then, there is a calendar, where you can choose a day. Once you do that, the script sends a query to the database. In the database it searches for records with the date corresponding to the day selected. If it finds some records there, it retrieves the information about these records. This means the meta data and there is also the link to this file under which this particular image is saved in the "images" directory on your server. And that image is then loaded as a thumbnail in the preview and when clicked, the full-size view is loaded.

All the rest is basically just PHP processing - calculation of the min/max/avg, comparison with station data, calculation of sunrise/sunset, coloring the images based on values etc. Also, the sunrise and sunset images work like this: it shows the first image available after sunrise and the first image available after sunset, but only if the difference is less than 60 minutes (so that if for some reason your camera is for example not sending data and the first image in the db is from 1PM, it will not show it under sunrise).

I wanted to release this ASAP so that people can already start saving the data - because BloomSky only offers the last image - which is also why you will not see any images recorded prior to installing this plugin. And in the future I plan on extending the functionality of this by for example monthly overviews etc. (the thumbnail size is tiny so lots of images can be processed within reasonable time). Also it would be relatively difficult to try to create such functions because even Tom has only had his camera for a few days and the plugin installed since today so I need at least month's of data to work on it further.

I hope you find this useful.
Title: Re: New plugin - BloomSky
Post by: SpringHillWeather on February 16, 2016, 05:26:04 PM
(http://i65.tinypic.com/2ecm83t.png)
Hi guys,
since lot of people have been discussing this and are now getting their BloomSky webcams I thought it would be nice to make a plugin, which will be able to save the data to your own server and then do all sorts of things such as viewing the images, filtering them, saving the timelapses, creates thumbnails etc. More functions will be added in future updates, I wanted to have this available quickly so that people can already start saving their images and videos for future use.

The big advantage is that it does not get data from WU (where there is significant delay), but rather uses directly the BloomSky API - also with the image meta data (temp, humidity etc.) and time when the image was taken (to prevent saving duplicates). The plugin uses the MySQL database to save all the associated info, but all the tables etc. are created automatically, so don´t worry, just make sure you follow carefully the instructions for install.

As I was not approved for getting the cam I would also like to say big thank you to Tom from Dongan Hills, NY, who provided me with remote access to his camera and ability to work with the BloomSky API. (also, it is therefore possible that there might be some bugs as I was not able to test everything, in such case please let me know and I will try to fix it ASAP).

Below are the main features and more information about how to install this and use it, including screenshots are in the corresponding blog post and plugin documentation.

Main features

- most recent image updated automatically without need to refresh at an interval you specify
- periodical saving of images to your server using a CRON job, including creating thumbnails (timestamp of when the photo was taken is taken into account to prevent saving duplicates so you can set your interval relatively short).
- saving daily timelapse videos any time a new one is available, up to 5 days to the past
- also saving the image meta data - temperature, humidity, pressure, precipitation, UV and then showing these on the page also taking into account the units set in Meteotemplate config.php and converting the numbers if necessary
- interactive calendar to view images from particular day
- daily summary (max/min of all the parameters, also compared to the values from your station)
- possibility to color the image background based on the meta data
- calculation of sunrise/sunset and showing the image closest to this time
- showing/saving always the recent image (unlike for example WU, where the delay is up to 45 minutes)

More information, screenshots and instructions how to use are in the blog and plugin documentation.
http://www.meteotemplate.com/web/plugins/bloomSky.php
http://meteotemplate.com/blog/?p=433


Thank you Jachym for creating this plugin for the BloomSky owners that use Meteotemplate.

Since it uses the API we now have some real control over our images and videos.

I've just installed it and its working however I did have a problem getting the CRON job to run on my 1and1.com domain.
I ended up using cron-job.org and its working well there so far.
(As suggested Meteobridge can run the update so I switch to that, thanks.)

Here is a link to the plugin:

[BloomSky Plugin] (http://donganhillsweather.net/plugins/bloomSky)

Also excellent job making the images sortable by Temp and others !!! WOW

Again BIG THANKS for getting this done!!!!

 =D&gt; \:D/ =D&gt;

Here is a screenshot in action:

(http://donganhillsweather.net/temp/bloomTemp.jpg)

Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 16, 2016, 07:05:01 PM
Hi Jachym,

Have the Bloomsky plugin working here (http://sacrey.info/meteotemplate/plugins/bloomSky/).  Thanks for taking the time to make it, Sir!!!

John

How long did it take to get your API key from BloomSky?  I requested mine this afternoon.

Thanks.
-Chris

Hi Chris,

I assume you are a Bloomsky owner. You can obtain one, here (https://dashboard.bloomsky.com/). Just enter your email and password you use for your Bloomsky account, and you'll be good to go.

John

P.S. - They evidently don't want just anyone to find this. It took me several minutes of digging around on their site to locate it.
Title: Re: New plugin - BloomSky
Post by: Jáchym on February 16, 2016, 08:20:42 PM
(http://i65.tinypic.com/2ecm83t.png)
Hi guys,
since lot of people have been discussing this and are now getting their BloomSky webcams I thought it would be nice to make a plugin, which will be able to save the data to your own server and then do all sorts of things such as viewing the images, filtering them, saving the timelapses, creates thumbnails etc. More functions will be added in future updates, I wanted to have this available quickly so that people can already start saving their images and videos for future use.

The big advantage is that it does not get data from WU (where there is significant delay), but rather uses directly the BloomSky API - also with the image meta data (temp, humidity etc.) and time when the image was taken (to prevent saving duplicates). The plugin uses the MySQL database to save all the associated info, but all the tables etc. are created automatically, so don´t worry, just make sure you follow carefully the instructions for install.

As I was not approved for getting the cam I would also like to say big thank you to Tom from Dongan Hills, NY, who provided me with remote access to his camera and ability to work with the BloomSky API. (also, it is therefore possible that there might be some bugs as I was not able to test everything, in such case please let me know and I will try to fix it ASAP).

Below are the main features and more information about how to install this and use it, including screenshots are in the corresponding blog post and plugin documentation.

Main features

- most recent image updated automatically without need to refresh at an interval you specify
- periodical saving of images to your server using a CRON job, including creating thumbnails (timestamp of when the photo was taken is taken into account to prevent saving duplicates so you can set your interval relatively short).
- saving daily timelapse videos any time a new one is available, up to 5 days to the past
- also saving the image meta data - temperature, humidity, pressure, precipitation, UV and then showing these on the page also taking into account the units set in Meteotemplate config.php and converting the numbers if necessary
- interactive calendar to view images from particular day
- daily summary (max/min of all the parameters, also compared to the values from your station)
- possibility to color the image background based on the meta data
- calculation of sunrise/sunset and showing the image closest to this time
- showing/saving always the recent image (unlike for example WU, where the delay is up to 45 minutes)

More information, screenshots and instructions how to use are in the blog and plugin documentation.
http://www.meteotemplate.com/web/plugins/bloomSky.php
http://meteotemplate.com/blog/?p=433


Thank you Jachym for creating this plugin for the BloomSky owners that use Meteotemplate.

Since it uses the API we now have some real control over our images and videos.

I've just installed it and its working however I did have a problem getting the CRON job to run on my 1and1.com domain.
I ended up using cron-job.org and its working well there so far.
(As suggested Meteobridge can run the update so I switch to that, thanks.)

Here is a link to the plugin:

[BloomSky Plugin] (http://donganhillsweather.net/plugins/bloomSky)

Also excellent job making the images sortable by Temp and others !!! WOW

Again BIG THANKS for getting this done!!!!

 =D&gt; \:D/ =D&gt;

Here is a screenshot in action:

(http://donganhillsweather.net/temp/bloomTemp.jpg)

Looks great Tom and thanks to you for the support and providing your API key. I was looking outside your house the entire evening/night yesterday :D
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on February 17, 2016, 07:25:24 AM
Hi Jachym,

Have the Bloomsky plugin working here (http://sacrey.info/meteotemplate/plugins/bloomSky/).  Thanks for taking the time to make it, Sir!!!

John

How long did it take to get your API key from BloomSky?  I requested mine this afternoon.

Thanks.
-Chris

Hi Chris,

I assume you are a Bloomsky owner. You can obtain one, here (https://dashboard.bloomsky.com/). Just enter your email and password you use for your Bloomsky account, and you'll be good to go.

John

P.S. - They evidently don't want just anyone to find this. It took me several minutes of digging around on their site to locate it.

Thank you John!  I am a BloomSky owner - bought it during their Kickstarter (I was looking for a way to set up a solar powered weather cam when I found their Kickstarter).  I had gone back to the email BloomSky sent when they announced the availability of the API and clicked on the link there.  That sent me to a form to fill out and I was told I would receive an email with my key.  I didn't realize they had added it to their dashboard.

-Chris
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 17, 2016, 07:51:17 AM
Now if I can just find a camera like the bloomsky without the weather stuff, I'd be happy :)  I already use IP timelapse.

BTW, I not I'm your hottest station today Jachym :)

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 17, 2016, 10:08:03 AM
Hi Jachym,

Have the Bloomsky plugin working here (http://sacrey.info/meteotemplate/plugins/bloomSky/).  Thanks for taking the time to make it, Sir!!!

John

OK looking at your page it looks like it is working fine :-) Sunrise detected as well as the images with precipitation :)
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 17, 2016, 10:10:07 AM
Hi Jachym,

Had a chuckle getting a notification that it was raining here. That is actually dew that was frozen on the camera. Temp was around 28°F at the time.  Awesome script!!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 17, 2016, 10:29:30 AM
That is actually dew

Blame the bloomsky camera for reporting rain! :D
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 18, 2016, 02:00:16 AM
Jachym

Just a question - how come you don't store UV values in the database for your template?  I see you have UV in the "current" block but it's not catered for in the DB.

Also, my "current" block is not reading the UV, despite it being set to true in the settings.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2016, 05:02:01 AM
Hi Simon,
no UV is not stored in the DB. It is only available in the current block if you use WD or Cumulus or Weather Link, and in such case it is taken directly from the text files generated by that SW, but it is not stored, only the current value is set.
It says in the current block documentation how to use this. I am not sure which method you use for updates. If clientraw or realtime, it should work automatically, if weather link, then you need to make sure you download the most recent version of the WL-IP plugin.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 18, 2016, 05:34:01 AM
I'm using meteobridge
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2016, 06:13:02 AM
In the settings.php of the current block it says:
Quote
// UV sensor available for users with Weather Display, Cumulus or Weather Link

So if you use MB it won´t work.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on February 18, 2016, 09:04:52 AM
Coincidence ?..

Coldest

    Hebertville    
ONLINE
   14:00    09:00    -22.8    82    1034.3    1.4    4.0    0.0    -27.2    
-24.8    

Hottest

    Cape Town    
ONLINE
   13:59    15:59    22.8    70    1014.6    5.5    10.0    0.0    21.4    17.1    601

hehehe ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2016, 09:36:49 AM
LOL,
once there is a bit longer time series I can then do some interesting stats :-)

Also, would be nice to actually have someone in places like central Africa or Australia :D +22.8C is still nothing :D
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 18, 2016, 11:29:12 AM
LOL,
once there is a bit longer time series I can then do some interesting stats :-)

Also, would be nice to actually have someone in places like central Africa or Australia :D +22.8C is still nothing :D

Our highest temperature in my area has been 47.3 degC
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 18, 2016, 11:34:43 AM
In the settings.php of the current block it says:
Quote
// UV sensor available for users with Weather Display, Cumulus or Weather Link

So if you use MB it won´t work.

I realize that.  Are you planning on supporting MB?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2016, 11:48:21 AM
Yes and since you have asked I will prioritize it :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2016, 12:46:52 PM
Simon,
download the updated version 2.2 of the Current Block. Make sure the UVsensor parameter in the settings.php is set to true. Then replace the currentBlock.php and updater.php files with the new v2.2 ones.
Let me know if it works.

Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 18, 2016, 03:52:42 PM
Simon,
download the updated version 2.2 of the Current Block. Make sure the UVsensor parameter in the settings.php is set to true. Then replace the currentBlock.php and updater.php files with the new v2.2 ones.
Let me know if it works.

Thanks.  Done.  Now I just need the sun to shine, but I now have values showing up
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2016, 05:50:40 PM
Simon,
download the updated version 2.2 of the Current Block. Make sure the UVsensor parameter in the settings.php is set to true. Then replace the currentBlock.php and updater.php files with the new v2.2 ones.
Let me know if it works.

Thanks.  Done.  Now I just need the sun to shine, but I now have values showing up

Great, thank you for letting me know, if you see a value then it should be working, before it was just "null" so you did not see anything. In that case the UV can now be used with Meteobridge as well :-)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on February 18, 2016, 10:24:59 PM
Quote

Thanks.  Done.  Now I just need the sun to shine, but I now have values showing up

I know Jachym has been doing amazing things lately but you can't expect him to make the Sun Shine too!

 :-P
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 18, 2016, 10:42:46 PM
Hi Jachym

Could you tell me what this line is supposed to do. Its line 53 in meteobridge.php in the update directory.
It just makes the error log get bigger.

$s = $_GET["s"];


EDIT: I have commented out all references to that variable. Seems it did nothing.

Title: Re: Meteotemplate - new free website template
Post by: chweather on February 19, 2016, 03:57:19 AM
Hi everyone
I need some help. I have the new meteogram block on my site but here in Australia it is displaying the times at the bottom wrong they are about 18hr behind what it's meant to be, so what I'm asking is can some of you please go to my site and screen shot just the meteogram block and email it through to me please. I'm at a loss as to why this is happening or even how to fix it. Any suggestions would be appreciated.
Thanks
Gavin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 05:09:00 AM
Hi Jachym

Could you tell me what this line is supposed to do. Its line 53 in meteobridge.php in the update directory.
It just makes the error log get bigger.

$s = $_GET["s"];


EDIT: I have commented out all references to that variable. Seems it did nothing.

Hi Colin,
I see, actually a little bug, which however should not do much more than produce the error log on more sensitive servers. I fixed it for the next version. It is for solar radiation, if you do not have solar sensor, simply replace it with

$s = "";
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 05:12:31 AM
Hi everyone
I need some help. I have the new meteogram block on my site but here in Australia it is displaying the times at the bottom wrong they are about 18hr behind what it's meant to be, so what I'm asking is can some of you please go to my site and screen shot just the meteogram block and email it through to me please. I'm at a loss as to why this is happening or even how to fix it. Any suggestions would be appreciated.
Thanks
Gavin

Hi Gavin,
it is indeed strange. The block should display local time. Odd thing is, when I go to for example some American sites, I see the times in my browser in the local time there - i.e. the US time. But when I go to your site, I see it in my own time, not corresponding to the time at your place. My suggestion therefore would be, try using a different location, just so that we see if this is a problem with your particular place chosen. Try for example using NYC and then see if you see the time in the local time for NY or also something wrong.
Title: Re: Meteotemplate - new free website template
Post by: chweather on February 19, 2016, 05:29:51 AM
Hi Jachym
I did NYC and this is what i got I know the current time in NYC is 5:28am Friday 19th.

Gavin [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 05:46:55 AM
Hi Jachym
I did NYC and this is what i got I know the current time in NYC is 5:28am Friday 19th.

Gavin [ You are not allowed to view attachments ]

Yes I see that, however, when I looked at your site, I saw the correct values for both NYC and London and even your location when it was still there. Can you check your browser and system timezone settings?
Title: New block - Summary/Almanach
Post by: Jáchym on February 19, 2016, 10:15:37 AM
Hi guys,

New block is now available. This is one of the most sophisticated and complicated blocks. It is divided into several sections. The whole point of this block is to give a sort of daily summary/almanach of things, but not just using tables and graphs, but rather in a more 'human way' for those who prefer reading text.
The script takes data from the database, forecast from external source and also makes its own calculations to generate a word description of various things. This includes current values, forecast, information about lunar and solar eclipses, Moon phases, Sun and Moon rise and set, interesting days, such as days with some weather related world records, meteor showers, season changes etc.
It analyzes long-term data as well as current data. It will tell you for example what the temperatures were like today, what you can expect tomorrow based on long-term averages, it will summarize the forecast for the upcoming week and also provide lots of other information.
The script has algorithms that analyze the numerical data and their relationships and then generate a text. The algorithms also have several variants, which means it randomly chooses particular words and their synonyms so the generated text is always unique and calculated in real-time.
The info shown obviously depends on the particular day. Below are just some example strings generated by the block and screenshots. It will of course use the units and settings based on your config.php or user selection.

Some examples:

Today:Today is Friday, February 19, 2016. The Sun rises today at 06:55 and sets at 17:19, which means the day is 3 minutes longer than yesterday. Moon rise is at 14:11, set at 04:40. The current Moon illumination is 86.4% (Waxing gibbous).
Current:It is currently 4.5°C with a SE wind blowing at 6.1 kmh and gusts of 9.7 kmh. The total rainfall amount since midnight is 11.4mm. The current pressure is 1016.3 hpa and rising slowly. The humidity is now 99 % and dew point and apparent temperature 4.4°C and 2.1°C respectively.
Forecast: Tomorrow morning the forecasted weather condition is cloudy and temperatures around 1°C. Light breeze from west-northwest with a speed of around 7 kmh. Later in the morning tomorrow, the temperatures are going to go down by about 2° to -1°C. Light breeze from west with a speed of approximately 7 kmh. The temperatures in the afternoon are going to go up by about 8° to 7°C and cloudy. Gentle breeze from west-southwest with a speed of around 14 kmh. Tomorrow evening and night we expect rain and temperatures decrease to 5°. The precipitation amount should be approximately 1.1mm. Gentle breeze from southwest at roughly 13 kmh.
Station data: So far the maximum temperature today has been 5.1°C and minimum 2.2°C, with an average of 3.8°C. This is 2.6°C less than yesterday, when the average was 6.3°C (max 8.3° and min 2.3°C). The long-term average for the station on this day is 2.7°C. Absolute maximum of 9.3°C was measured in 2015, while the absolute minimum in 2012 (-0.7°C). Therefore so far, today is 1.0° above the long-term average for 19th February. Overall monthly maximum temperature so far was 16.4°, measured on the 9th at 20:39. The minimum temperature for February 2016 is -1.4°, observed on the 12th at 07:19. February 2016 with an average temperature of 5.6 °C is currently 3.7°C above the long-term average for February (1.9°C). The maximum temperature ever recorded in February is 15.0°C and this was in 2012. In contrast, in 2012, the temperature dropped as low as -16.4°C.Both today and yesterday there was some rain observed. While yesterday there was a total of 17.7 mm, today it has been 11.4 mm so far since midnight. Since the 1st of this month, the cumulative rainfall is 55.2 mm. The maximum daily precipitation in February 2016 is 17.7 mm, measured on the 18th. In general, the average daily precipitation in February is 0.9 mm and overall February average total rainfall is 24.8 mm. Strongest wind gust today was 20.9 kmh, measured at 12:07. Yesterday it was 31.7 kmh. The average wind speed in February 2016 is currently 7.3, with average wind gust being 10.3 kmh, in general the long-term average for this month is 4.7 in case of the average wind speed, the average wind gust is 8.3 kmh. 19th February in particular then has an average wind speed of 3.7 kmh and gust 6.7 kmh (today's average 8.1 kmh for wind speed and 11.6 kmh for wind gust, yesterday the average wind speed was 5.4 kmh and wind gust 7.6 kmh).
Tomorrow: Tomorrow, on Saturday February 20, 2016, the Sun will rise at 06:53 and set at 17:20, which means the day will be 4 minutes longer than today. Moon rise is tomorrow at 15:14 and set at 05:21. The average daily precipitation is 0.1 mm, absolute maximum being 0.3 mm (2013) and minimum 0.0 mm (2012; 2014; 2015).
Outlook: The upcoming Monday, February 22 at 19:20 will be a Full Moon. The long-term average temperature for next week is 4.1°C. The highest temperature ever measured during this week is 14.3°C (Feb 23, 2014 14:13) and the absolute minimum observed since the beginning of measurements has been -6.5°C (Feb 21, 2012 06:35; Feb 21, 2012 06:40). Highest apparent temperature recorded was as high as 12.1°C, on the other end of the scale the feels like temperature can drop down to even -9.9°C. The average daily precipitation is 1.0 mm, absolute maximum being 12.3 mm (Feb 24, 2013) and minimum 0.0 mm (Feb 20, 2012). Humidity throughout the following 7 days in general is on average 80.0% and dew point 0.6°C. Average wind speed for this period is 3.9 kmh with gusts of up to 31.7 kmh.
Moon phases: The upcoming Monday, February 22 at 19:20 will be a Full Moon.
Interesting days: On Jun 23, 1982, the temperature at the South Pole fell to -82.8°C (-117.0°F), which is currently the lowest ever recorded temperature there.
Eclipses: Tomorrow at 15:05 (14:05 UTC) will be a solar eclipse. It is a total eclipse, with a duration of 354s. The central path coordinates are 55N and 111W, azimuth 38° and altitude 44°.
Meteor showers: It is currently possible to watch the Leonid meteor showers, which can be observed from Nov 11 until Nov 12.
Season changes: Astronomical summer begins tomorrow at 4:02 AM.


Forecast strings are displayed for the upcoming week along with your station long-term averages for that week. The forecast strings use randomly chosen synonyms and are shuffled and also take into account their relationships so that the text is not boring and same all the time.
I will add new strings in the future and obviously not everything will be shown right now (for example you won´t see anything about eclipses, because there are none in the upcoming  7 days).
Installation is as with all the other blocks, all you have to do is specify your location in settings.php. Also, for some data the block caches the values, which means the first time you load it, it might take slightly longer to load. The cache is refreshed once a day.

Due to the fact there is so many possible scenarios it is possible that I made an error or something will not be working as it should. In such case let me know. Thanks

Something to enjoy over the upcoming weekend and maybe some of your users might even be tricked into thinking you actually write all this every day :-)

Jachym

Demo can be seen on the main site: http://www.meteotemplate.com/template/
Download: http://www.meteotemplate.com/web/blocks.php
Blog post: http://meteotemplate.com/blog/?p=441
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on February 19, 2016, 10:39:02 AM
Awesome block!

I've added it just this minute - Looks great. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 10:42:00 AM
Thanks, it is still a bit experimental because if you look at the size of the script.... it is because I included so many different possible strings and random words and it tries to put it all together in a unique way so there could be a problem now, or maybe in the future when some of these events actually occurs :D
I will add much more interesting things, currently with regards to the "itneresting days" it will only show days when some world records in terms of weather were broken - such as lowest ever recorded T, hail diameter etc. :D

And hopefully my server will be able to cope, looking at my current realtime visits... :D
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 19, 2016, 10:59:46 AM
Hi Jachym,

i'm very sad that i could not use the summary block because the yr.no is not available for my location :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 11:07:23 AM
Hi Jachym,

i'm very sad that i could not use the summary block because the yr.no is not available for my location :(

That does not matter, simply use a city nearby. It will use a forecast from there, which is likely to be similar and the rest of the block has nothing to do with the forecast so it will work just fine.
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 19, 2016, 11:10:09 AM
Hi Jachym,

i'm very sad that i could not use the summary block because the yr.no is not available for my location :(

That does not matter, simply use a city nearby. It will use a forecast from there, which is likely to be similar and the rest of the block has nothing to do with the forecast so it will work just fine.

ok i will give a try.
Title: Re: New block - Summary/Almanach
Post by: SpringHillWeather on February 19, 2016, 11:17:28 AM
Hi guys,

New block is now available. This is one of the most sophisticated and complicated blocks. It is divided into several sections. The whole point of this block is to give a sort of daily summary/almanach of things, but not just using tables and graphs, but rather in a more 'human way' for those who prefer reading text.
The script takes data from the database, forecast from external source and also makes its own calculations to generate a word description of various things. This includes current values, forecast, information about lunar and solar eclipses, Moon phases, Sun and Moon rise and set, interesting days, such as days with some weather related world records, meteor showers, season changes etc.
It analyzes long-term data as well as current data. It will tell you for example what the temperatures were like today, what you can expect tomorrow based on long-term averages, it will summarize the forecast for the upcoming week and also provide lots of other information.
The script has algorithms that analyze the numerical data and their relationships and then generate a text. The algorithms also have several variants, which means it randomly chooses particular words and their synonyms so the generated text is always unique and calculated in real-time.
The info shown obviously depends on the particular day. Below are just some example strings generated by the block and screenshots. It will of course use the units and settings based on your config.php or user selection.

Some examples:

Today:Today is Friday, February 19, 2016. The Sun rises today at 06:55 and sets at 17:19, which means the day is 3 minutes longer than yesterday. Moon rise is at 14:11, set at 04:40. The current Moon illumination is 86.4% (Waxing gibbous).
Current:It is currently 4.5°C with a SE wind blowing at 6.1 kmh and gusts of 9.7 kmh. The total rainfall amount since midnight is 11.4mm. The current pressure is 1016.3 hpa and rising slowly. The humidity is now 99 % and dew point and apparent temperature 4.4°C and 2.1°C respectively.
Forecast: Tomorrow morning the forecasted weather condition is cloudy and temperatures around 1°C. Light breeze from west-northwest with a speed of around 7 kmh. Later in the morning tomorrow, the temperatures are going to go down by about 2° to -1°C. Light breeze from west with a speed of approximately 7 kmh. The temperatures in the afternoon are going to go up by about 8° to 7°C and cloudy. Gentle breeze from west-southwest with a speed of around 14 kmh. Tomorrow evening and night we expect rain and temperatures decrease to 5°. The precipitation amount should be approximately 1.1mm. Gentle breeze from southwest at roughly 13 kmh.
Station data: So far the maximum temperature today has been 5.1°C and minimum 2.2°C, with an average of 3.8°C. This is 2.6°C less than yesterday, when the average was 6.3°C (max 8.3° and min 2.3°C). The long-term average for the station on this day is 2.7°C. Absolute maximum of 9.3°C was measured in 2015, while the absolute minimum in 2012 (-0.7°C). Therefore so far, today is 1.0° above the long-term average for 19th February. Overall monthly maximum temperature so far was 16.4°, measured on the 9th at 20:39. The minimum temperature for February 2016 is -1.4°, observed on the 12th at 07:19. February 2016 with an average temperature of 5.6 °C is currently 3.7°C above the long-term average for February (1.9°C). The maximum temperature ever recorded in February is 15.0°C and this was in 2012. In contrast, in 2012, the temperature dropped as low as -16.4°C.Both today and yesterday there was some rain observed. While yesterday there was a total of 17.7 mm, today it has been 11.4 mm so far since midnight. Since the 1st of this month, the cumulative rainfall is 55.2 mm. The maximum daily precipitation in February 2016 is 17.7 mm, measured on the 18th. In general, the average daily precipitation in February is 0.9 mm and overall February average total rainfall is 24.8 mm. Strongest wind gust today was 20.9 kmh, measured at 12:07. Yesterday it was 31.7 kmh. The average wind speed in February 2016 is currently 7.3, with average wind gust being 10.3 kmh, in general the long-term average for this month is 4.7 in case of the average wind speed, the average wind gust is 8.3 kmh. 19th February in particular then has an average wind speed of 3.7 kmh and gust 6.7 kmh (today's average 8.1 kmh for wind speed and 11.6 kmh for wind gust, yesterday the average wind speed was 5.4 kmh and wind gust 7.6 kmh).
Tomorrow: Tomorrow, on Saturday February 20, 2016, the Sun will rise at 06:53 and set at 17:20, which means the day will be 4 minutes longer than today. Moon rise is tomorrow at 15:14 and set at 05:21. The average daily precipitation is 0.1 mm, absolute maximum being 0.3 mm (2013) and minimum 0.0 mm (2012; 2014; 2015).
Outlook: The upcoming Monday, February 22 at 19:20 will be a Full Moon. The long-term average temperature for next week is 4.1°C. The highest temperature ever measured during this week is 14.3°C (Feb 23, 2014 14:13) and the absolute minimum observed since the beginning of measurements has been -6.5°C (Feb 21, 2012 06:35; Feb 21, 2012 06:40). Highest apparent temperature recorded was as high as 12.1°C, on the other end of the scale the feels like temperature can drop down to even -9.9°C. The average daily precipitation is 1.0 mm, absolute maximum being 12.3 mm (Feb 24, 2013) and minimum 0.0 mm (Feb 20, 2012). Humidity throughout the following 7 days in general is on average 80.0% and dew point 0.6°C. Average wind speed for this period is 3.9 kmh with gusts of up to 31.7 kmh.
Moon phases: The upcoming Monday, February 22 at 19:20 will be a Full Moon.
Interesting days: On Jun 23, 1982, the temperature at the South Pole fell to -82.8°C (-117.0°F), which is currently the lowest ever recorded temperature there.
Eclipses: Tomorrow at 15:05 (14:05 UTC) will be a solar eclipse. It is a total eclipse, with a duration of 354s. The central path coordinates are 55N and 111W, azimuth 38° and altitude 44°.
Meteor showers: It is currently possible to watch the Leonid meteor showers, which can be observed from Nov 11 until Nov 12.
Season changes: Astronomical summer begins tomorrow at 4:02 AM.


Forecast strings are displayed for the upcoming week along with your station long-term averages for that week. The forecast strings use randomly chosen synonyms and are shuffled and also take into account their relationships so that the text is not boring and same all the time.
I will add new strings in the future and obviously not everything will be shown right now (for example you won´t see anything about eclipses, because there are none in the upcoming  7 days).
Installation is as with all the other blocks, all you have to do is specify your location in settings.php. Also, for some data the block caches the values, which means the first time you load it, it might take slightly longer to load. The cache is refreshed once a day.

Due to the fact there is so many possible scenarios it is possible that I made an error or something will not be working as it should. In such case let me know. Thanks

Something to enjoy over the upcoming weekend and maybe some of your users might even be tricked into thinking you actually write all this every day :-)

Jachym

Demo can be seen on the main site: http://www.meteotemplate.com/template/
Download: http://www.meteotemplate.com/web/blocks.php
Blog post: http://meteotemplate.com/blog/?p=441

Thank you Jachym for another excellent block!
Great work making all those summaries look hand written.

I appreciate the Tab format you adopted.

 =D&gt; =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 11:17:32 AM
Hi Jachym,

i'm very sad that i could not use the summary block because the yr.no is not available for my location :(

That does not matter, simply use a city nearby. It will use a forecast from there, which is likely to be similar and the rest of the block has nothing to do with the forecast so it will work just fine.

ok i will give a try.

This should work:
Code: [Select]
Canada/Quebec/New-Richmond
Title: Re: New block - Summary/Almanach
Post by: Jáchym on February 19, 2016, 11:18:43 AM
Hi guys,

New block is now available. This is one of the most sophisticated and complicated blocks. It is divided into several sections. The whole point of this block is to give a sort of daily summary/almanach of things, but not just using tables and graphs, but rather in a more 'human way' for those who prefer reading text.
The script takes data from the database, forecast from external source and also makes its own calculations to generate a word description of various things. This includes current values, forecast, information about lunar and solar eclipses, Moon phases, Sun and Moon rise and set, interesting days, such as days with some weather related world records, meteor showers, season changes etc.
It analyzes long-term data as well as current data. It will tell you for example what the temperatures were like today, what you can expect tomorrow based on long-term averages, it will summarize the forecast for the upcoming week and also provide lots of other information.
The script has algorithms that analyze the numerical data and their relationships and then generate a text. The algorithms also have several variants, which means it randomly chooses particular words and their synonyms so the generated text is always unique and calculated in real-time.
The info shown obviously depends on the particular day. Below are just some example strings generated by the block and screenshots. It will of course use the units and settings based on your config.php or user selection.

Some examples:

Today:Today is Friday, February 19, 2016. The Sun rises today at 06:55 and sets at 17:19, which means the day is 3 minutes longer than yesterday. Moon rise is at 14:11, set at 04:40. The current Moon illumination is 86.4% (Waxing gibbous).
Current:It is currently 4.5°C with a SE wind blowing at 6.1 kmh and gusts of 9.7 kmh. The total rainfall amount since midnight is 11.4mm. The current pressure is 1016.3 hpa and rising slowly. The humidity is now 99 % and dew point and apparent temperature 4.4°C and 2.1°C respectively.
Forecast: Tomorrow morning the forecasted weather condition is cloudy and temperatures around 1°C. Light breeze from west-northwest with a speed of around 7 kmh. Later in the morning tomorrow, the temperatures are going to go down by about 2° to -1°C. Light breeze from west with a speed of approximately 7 kmh. The temperatures in the afternoon are going to go up by about 8° to 7°C and cloudy. Gentle breeze from west-southwest with a speed of around 14 kmh. Tomorrow evening and night we expect rain and temperatures decrease to 5°. The precipitation amount should be approximately 1.1mm. Gentle breeze from southwest at roughly 13 kmh.
Station data: So far the maximum temperature today has been 5.1°C and minimum 2.2°C, with an average of 3.8°C. This is 2.6°C less than yesterday, when the average was 6.3°C (max 8.3° and min 2.3°C). The long-term average for the station on this day is 2.7°C. Absolute maximum of 9.3°C was measured in 2015, while the absolute minimum in 2012 (-0.7°C). Therefore so far, today is 1.0° above the long-term average for 19th February. Overall monthly maximum temperature so far was 16.4°, measured on the 9th at 20:39. The minimum temperature for February 2016 is -1.4°, observed on the 12th at 07:19. February 2016 with an average temperature of 5.6 °C is currently 3.7°C above the long-term average for February (1.9°C). The maximum temperature ever recorded in February is 15.0°C and this was in 2012. In contrast, in 2012, the temperature dropped as low as -16.4°C.Both today and yesterday there was some rain observed. While yesterday there was a total of 17.7 mm, today it has been 11.4 mm so far since midnight. Since the 1st of this month, the cumulative rainfall is 55.2 mm. The maximum daily precipitation in February 2016 is 17.7 mm, measured on the 18th. In general, the average daily precipitation in February is 0.9 mm and overall February average total rainfall is 24.8 mm. Strongest wind gust today was 20.9 kmh, measured at 12:07. Yesterday it was 31.7 kmh. The average wind speed in February 2016 is currently 7.3, with average wind gust being 10.3 kmh, in general the long-term average for this month is 4.7 in case of the average wind speed, the average wind gust is 8.3 kmh. 19th February in particular then has an average wind speed of 3.7 kmh and gust 6.7 kmh (today's average 8.1 kmh for wind speed and 11.6 kmh for wind gust, yesterday the average wind speed was 5.4 kmh and wind gust 7.6 kmh).
Tomorrow: Tomorrow, on Saturday February 20, 2016, the Sun will rise at 06:53 and set at 17:20, which means the day will be 4 minutes longer than today. Moon rise is tomorrow at 15:14 and set at 05:21. The average daily precipitation is 0.1 mm, absolute maximum being 0.3 mm (2013) and minimum 0.0 mm (2012; 2014; 2015).
Outlook: The upcoming Monday, February 22 at 19:20 will be a Full Moon. The long-term average temperature for next week is 4.1°C. The highest temperature ever measured during this week is 14.3°C (Feb 23, 2014 14:13) and the absolute minimum observed since the beginning of measurements has been -6.5°C (Feb 21, 2012 06:35; Feb 21, 2012 06:40). Highest apparent temperature recorded was as high as 12.1°C, on the other end of the scale the feels like temperature can drop down to even -9.9°C. The average daily precipitation is 1.0 mm, absolute maximum being 12.3 mm (Feb 24, 2013) and minimum 0.0 mm (Feb 20, 2012). Humidity throughout the following 7 days in general is on average 80.0% and dew point 0.6°C. Average wind speed for this period is 3.9 kmh with gusts of up to 31.7 kmh.
Moon phases: The upcoming Monday, February 22 at 19:20 will be a Full Moon.
Interesting days: On Jun 23, 1982, the temperature at the South Pole fell to -82.8°C (-117.0°F), which is currently the lowest ever recorded temperature there.
Eclipses: Tomorrow at 15:05 (14:05 UTC) will be a solar eclipse. It is a total eclipse, with a duration of 354s. The central path coordinates are 55N and 111W, azimuth 38° and altitude 44°.
Meteor showers: It is currently possible to watch the Leonid meteor showers, which can be observed from Nov 11 until Nov 12.
Season changes: Astronomical summer begins tomorrow at 4:02 AM.


Forecast strings are displayed for the upcoming week along with your station long-term averages for that week. The forecast strings use randomly chosen synonyms and are shuffled and also take into account their relationships so that the text is not boring and same all the time.
I will add new strings in the future and obviously not everything will be shown right now (for example you won´t see anything about eclipses, because there are none in the upcoming  7 days).
Installation is as with all the other blocks, all you have to do is specify your location in settings.php. Also, for some data the block caches the values, which means the first time you load it, it might take slightly longer to load. The cache is refreshed once a day.

Due to the fact there is so many possible scenarios it is possible that I made an error or something will not be working as it should. In such case let me know. Thanks

Something to enjoy over the upcoming weekend and maybe some of your users might even be tricked into thinking you actually write all this every day :-)

Jachym

Demo can be seen on the main site: http://www.meteotemplate.com/template/
Download: http://www.meteotemplate.com/web/blocks.php
Blog post: http://meteotemplate.com/blog/?p=441

Thank you Jachym for another excellent block!
Great work making all those summaries look hand written.

 =D&gt; =D&gt; =D&gt;

Thanks Tom, I will work on it further and maybe one day this block will pass the Turing test and you could tell your users you spend hours writing all this every day :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 11:53:30 AM
Quote

Thanks.  Done.  Now I just need the sun to shine, but I now have values showing up

I know Jachym has been doing amazing things lately but you can't expect him to make the Sun Shine too!

 :-P

Right, this feature is planned for Meteotemplate 78.0 Nuts :D
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on February 19, 2016, 01:25:25 PM
Hi Jachym,

i'm very sad that i could not use the summary block because the yr.no is not available for my location :(

That does not matter, simply use a city nearby. It will use a forecast from there, which is likely to be similar and the rest of the block has nothing to do with the forecast so it will work just fine.

ok i will give a try.

This should work:
Code: [Select]
Canada/Quebec/New-Richmond

Thanks but Caplan is near by then New-Richmond :)

Right now i'm translating in french to have both eng/fr and I want to know in the summaryblock how to set up for both language date and month...

<div class="summaryDivWrapper">   
                  <div id="summaryToday" class="summaryParagraph">
                     <p>
                        <?php echo lang("today is",'c')?> <?php echo date("l, F j, Y",time())?>. <?php echo lang("sunrise at",'c')?> <?php echo date($timeFormat,$sunRiseToday)?> <?php echo lang("and sunset at",'c')?> <?php echo date($timeFormat,$sunSetToday)?>, <?php echo lang("which means the day will be",'c')?> <?php echo $dayLengthDiffString?>. <?php echo $moonRisetString?> <?php echo $moonString?> <?php echo $seasonsToday?><?php echo $meteorsToday?><?php echo $lunarEclipseToday?><?php echo $solarEclipseToday?><?php echo $astroEventsToday?><?php echo $interestingDayToday?>
                     </p>
                  </div>
               </div>

Aujourd'hui, Friday, February 19, 2016. Lever du soleil ŕ 06.21 Et coucher du soleil ŕ 16.50, Ce qui signifie la journée sera de 4 minutes longer than yesterday. Moon rise is at 13.57, set at 04.15. The current Moon illumination is 87.7% (Waxing gibbous).

I,m not done yet and it a bit long to do translate... oufffffff!!!!

Thanks for helping me Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 01:34:03 PM
Hi Steve,

this is something I was expecting and it actually happened earlier than I thought....

I knew someone is going to ask about translations...

Now the problem is, this block will only be available in English. It was quite difficult to get it working even in English and it is impossible to translate. The problem is that this is completely different than the rest of the page. In the rest of the page you simply have separate words, a short phrase at most. But in this case, you have relatively complex sentences where you cannot simply replace them word by word. There are also arrays of randomized synonyms and it all has to fit. You would have to change the word order, the syntax etc etc. And this would have to be done for each language separately.
Other point is that English is relatively simple and so for other languages much more would have to be taken into account. Since I know a bit of German and French and obviously Czech, I know that for each language modifications and I mean substantial modifications would be necessary. In German for example, you would have to put the verb at the end in most cases, nouns are always capitalized etc. But that is still not that bad.

I can use another example from Czech. So consider these words:
1 hour
3 hours
5 hours
So in this case, the script would check the number and if it is 1 it would echo "hour" and if it is greater than one, it would also echo "s".

However, in Czech for example, the word "hours" is not the same for the above examples, we would say:
1 hodina
3 hodiny
5 hodin
And you already see the problem and there would be tens of these.

What I am saying is of course not that it would be impossible to do, but, it is impossible to do by simple translation of the words. You would have to make modifications in the actual PHP as well and the person doing those modifications would have to know the language quite well. So someone would have to rewrite the code and also know the language very well. And I obviously cant do that, Meteotemplate is already available in 15 languages and I am not even going to make a Czech version because as you can see above, it would be much much more difficult than making it in English.

Maybe some parts could be translated easier than others, but I will have to think about it and I would definitely need someone to cooperate with me.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 19, 2016, 02:32:26 PM
Nice job on the summary block Jachym, but I wonder if the Tomorrow tab needs some tweaks.

Mine currently reads in part

The long-term average temperature for 20th February is -13.4°C (for today it is -13.9°C). The highest temperature ever measured on this day is 2.4°C (2012-02-20 15.05; 2012-02-20 15.10; 2012-02-20 15.15) and the absolute minimum measured since the beginning of measurements has been -27.0°C (2013-02-20 03.25; 2013-02-20 03.30; 2013-02-20 03.35).

Would it not make more sense to just show either the first or last occurrence when there are multiple identical values on a day? To me, at least, it seems kind of strange to show multiple dates/times when they are only 5 minutes apart.

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 03:05:16 PM
Hi Bill,
yes makes sense... it didnt happen to me simply because I have different data so I did not think about this.

This is slightly problematic, I see your point, in this case it is redundant, but it makes sense, it simply found all the times with that particular value. I could of course tell the script to show just the last value, but then what if it was not just within say an hour? I mean what if for example some absolute min/max in general was measured in two completely different yrs. It might then be slightly misleading to just show the latest value. I could set a limit on the number of shown values, but then again, which to show - the earliest/latest? And how many? Or simply show last 3 and if there are more than X, just say "on several occasions"? That would work I guess
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 19, 2016, 03:11:19 PM
Jachym,
Nothing to say except gratulace, na zdravi and wow!
 
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 03:14:09 PM
Jachym,
Nothing to say except gratulace, na zdravi and wow!
 
Paul

Thanks Paul :) How about you give me a little favor. Do you want to do the Czech translation for me? Because I really dont feel like doing it :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 19, 2016, 03:25:07 PM
Jachym, gladly...
co říci, kromě
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 03:30:44 PM
Excellent Paul, send me the files once they are ready translated ;)
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 19, 2016, 03:32:45 PM
Jachym,

Just a short note to tell you how much I appreciate your work on this template.  The new summary block is awesome.  I haven't read all that is in it but I can't imagine the hours it must have taken for you to get the narrative correct.  Great work and thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 03:38:22 PM
Jachym,

Just a short note to tell you how much I appreciate your work on this template.  The new summary block is awesome.  I haven't read all that is in it but I can't imagine the hours it must have taken for you to get the narrative correct.  Great work and thanks,

Jay

Thank you very much Jay, such feedback is what drives one forward.
There is obviously lot of things that can be improved. I wanted to release this to see if people like it and if it is worth putting more time into it - obviously yes. Also, as Bill already found, there are still things that are problematic and that I did not notice simply because of the fact I have different data.
I will still have to think about what he pointed out. It is not so much a technical problem, but rather a problem to actually decide what will work the best.

But thanks again for your kind comment. Im glad you like it.
Title: Re: Meteotemplate - new free website template
Post by: kocher on February 19, 2016, 03:39:53 PM
Nice block:

http://kocher.es/meteotemplate/   :grin:

(First column below)

Thank you very much Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 19, 2016, 03:40:35 PM
Jachym,
You wanted more :( #-o
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 19, 2016, 04:24:45 PM
Hi Bill,
yes makes sense... it didnt happen to me simply because I have different data so I did not think about this.

This is slightly problematic, I see your point, in this case it is redundant, but it makes sense, it simply found all the times with that particular value. I could of course tell the script to show just the last value, but then what if it was not just within say an hour? I mean what if for example some absolute min/max in general was measured in two completely different yrs. It might then be slightly misleading to just show the latest value. I could set a limit on the number of shown values, but then again, which to show - the earliest/latest? And how many? Or simply show last 3 and if there are more than X, just say "on several occasions"? That would work I guess

I would think that if there was a min/max of the same value in multiple years that would be OK to show, it's just showing multiple times for the same day that I don't think is necessary!

Regardless it's a great addition to the template!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 04:30:35 PM
Right Bill, I see the point, but remember, you have to consider all situations and...

in this case it becomes problematic again if you for example only talk about min/max for a week or day. In such case it would actually make sense to show even 2 or more values from a single day, if for example the max/min was reached in the morning, and evening, or maybe separated by 2 hours...

I will have to think about how to best solve this.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 19, 2016, 04:55:02 PM
Right Bill, I see the point, but remember, you have to consider all situations and...

in this case it becomes problematic again if you for example only talk about min/max for a week or day. In such case it would actually make sense to show even 2 or more values from a single day, if for example the max/min was reached in the morning, and evening, or maybe separated by 2 hours...

I will have to think about how to best solve this.

Definitely a challenge! All kinds of oddball situations could show up, like today here temp has been almost flat all day just a variance of 0.6 since midnight and the minimum lasted for almost 2 hours. That's what started me thinking about multiple entries in the summary block!

http://www.sanfordweather.com//meteo/pages/station/graph.php

Anyway, I'm sure what ever you come up with will work well



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 05:02:04 PM
Yes, I think I know what I am going to do, lets see if that will work.
Title: Re: New block - Summary/Almanach
Post by: Skyview on February 19, 2016, 05:41:41 PM
Hi guys,

New block is now available. This is one of the most sophisticated and complicated blocks. It is divided into several sections. The whole point of this block is to give a sort of daily summary/almanach of things, but not just using tables and graphs, but rather in a more 'human way' for those who prefer reading text.
The script takes data from the database, forecast from external source and also makes its own calculations to generate a word description of various things. This includes current values, forecast, information about lunar and solar eclipses, Moon phases, Sun and Moon rise and set, interesting days, such as days with some weather related world records, meteor showers, season changes etc.
It analyzes long-term data as well as current data. It will tell you for example what the temperatures were like today, what you can expect tomorrow based on long-term averages, it will summarize the forecast for the upcoming week and also provide lots of other information.
The script has algorithms that analyze the numerical data and their relationships and then generate a text. The algorithms also have several variants, which means it randomly chooses particular words and their synonyms so the generated text is always unique and calculated in real-time.
The info shown obviously depends on the particular day. Below are just some example strings generated by the block and screenshots. It will of course use the units and settings based on your config.php or user selection.

Some examples:

Today:Today is Friday, February 19, 2016. The Sun rises today at 06:55 and sets at 17:19, which means the day is 3 minutes longer than yesterday. Moon rise is at 14:11, set at 04:40. The current Moon illumination is 86.4% (Waxing gibbous).
Current:It is currently 4.5°C with a SE wind blowing at 6.1 kmh and gusts of 9.7 kmh. The total rainfall amount since midnight is 11.4mm. The current pressure is 1016.3 hpa and rising slowly. The humidity is now 99 % and dew point and apparent temperature 4.4°C and 2.1°C respectively.
Forecast: Tomorrow morning the forecasted weather condition is cloudy and temperatures around 1°C. Light breeze from west-northwest with a speed of around 7 kmh. Later in the morning tomorrow, the temperatures are going to go down by about 2° to -1°C. Light breeze from west with a speed of approximately 7 kmh. The temperatures in the afternoon are going to go up by about 8° to 7°C and cloudy. Gentle breeze from west-southwest with a speed of around 14 kmh. Tomorrow evening and night we expect rain and temperatures decrease to 5°. The precipitation amount should be approximately 1.1mm. Gentle breeze from southwest at roughly 13 kmh.
Station data: So far the maximum temperature today has been 5.1°C and minimum 2.2°C, with an average of 3.8°C. This is 2.6°C less than yesterday, when the average was 6.3°C (max 8.3° and min 2.3°C). The long-term average for the station on this day is 2.7°C. Absolute maximum of 9.3°C was measured in 2015, while the absolute minimum in 2012 (-0.7°C). Therefore so far, today is 1.0° above the long-term average for 19th February. Overall monthly maximum temperature so far was 16.4°, measured on the 9th at 20:39. The minimum temperature for February 2016 is -1.4°, observed on the 12th at 07:19. February 2016 with an average temperature of 5.6 °C is currently 3.7°C above the long-term average for February (1.9°C). The maximum temperature ever recorded in February is 15.0°C and this was in 2012. In contrast, in 2012, the temperature dropped as low as -16.4°C.Both today and yesterday there was some rain observed. While yesterday there was a total of 17.7 mm, today it has been 11.4 mm so far since midnight. Since the 1st of this month, the cumulative rainfall is 55.2 mm. The maximum daily precipitation in February 2016 is 17.7 mm, measured on the 18th. In general, the average daily precipitation in February is 0.9 mm and overall February average total rainfall is 24.8 mm. Strongest wind gust today was 20.9 kmh, measured at 12:07. Yesterday it was 31.7 kmh. The average wind speed in February 2016 is currently 7.3, with average wind gust being 10.3 kmh, in general the long-term average for this month is 4.7 in case of the average wind speed, the average wind gust is 8.3 kmh. 19th February in particular then has an average wind speed of 3.7 kmh and gust 6.7 kmh (today's average 8.1 kmh for wind speed and 11.6 kmh for wind gust, yesterday the average wind speed was 5.4 kmh and wind gust 7.6 kmh).
Tomorrow: Tomorrow, on Saturday February 20, 2016, the Sun will rise at 06:53 and set at 17:20, which means the day will be 4 minutes longer than today. Moon rise is tomorrow at 15:14 and set at 05:21. The average daily precipitation is 0.1 mm, absolute maximum being 0.3 mm (2013) and minimum 0.0 mm (2012; 2014; 2015).
Outlook: The upcoming Monday, February 22 at 19:20 will be a Full Moon. The long-term average temperature for next week is 4.1°C. The highest temperature ever measured during this week is 14.3°C (Feb 23, 2014 14:13) and the absolute minimum observed since the beginning of measurements has been -6.5°C (Feb 21, 2012 06:35; Feb 21, 2012 06:40). Highest apparent temperature recorded was as high as 12.1°C, on the other end of the scale the feels like temperature can drop down to even -9.9°C. The average daily precipitation is 1.0 mm, absolute maximum being 12.3 mm (Feb 24, 2013) and minimum 0.0 mm (Feb 20, 2012). Humidity throughout the following 7 days in general is on average 80.0% and dew point 0.6°C. Average wind speed for this period is 3.9 kmh with gusts of up to 31.7 kmh.
Moon phases: The upcoming Monday, February 22 at 19:20 will be a Full Moon.
Interesting days: On Jun 23, 1982, the temperature at the South Pole fell to -82.8°C (-117.0°F), which is currently the lowest ever recorded temperature there.
Eclipses: Tomorrow at 15:05 (14:05 UTC) will be a solar eclipse. It is a total eclipse, with a duration of 354s. The central path coordinates are 55N and 111W, azimuth 38° and altitude 44°.
Meteor showers: It is currently possible to watch the Leonid meteor showers, which can be observed from Nov 11 until Nov 12.
Season changes: Astronomical summer begins tomorrow at 4:02 AM.


Forecast strings are displayed for the upcoming week along with your station long-term averages for that week. The forecast strings use randomly chosen synonyms and are shuffled and also take into account their relationships so that the text is not boring and same all the time.
I will add new strings in the future and obviously not everything will be shown right now (for example you won´t see anything about eclipses, because there are none in the upcoming  7 days).
Installation is as with all the other blocks, all you have to do is specify your location in settings.php. Also, for some data the block caches the values, which means the first time you load it, it might take slightly longer to load. The cache is refreshed once a day.

Due to the fact there is so many possible scenarios it is possible that I made an error or something will not be working as it should. In such case let me know. Thanks

Something to enjoy over the upcoming weekend and maybe some of your users might even be tricked into thinking you actually write all this every day :-)

Jachym

Demo can be seen on the main site: http://www.meteotemplate.com/template/
Download: http://www.meteotemplate.com/web/blocks.php
Blog post: http://meteotemplate.com/blog/?p=441

I think integrating this with the station diary in some way would be an excellent enhancement.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 06:38:31 PM
Hmm, Im not sure how that would work David, because there is one fundamental problem.

If you look, the diary is retrospective - in other words it always ends with today and then tomorrow it generates one new page. Whereas this is quite the opposite. It gives info about today, tomorrow and upcoming week.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 19, 2016, 10:01:32 PM
Hi Jachym,
And by now at your place it will be your birthday  \:D/ =D&gt; \:D/

Have a great day...


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2016, 10:21:12 PM
Thanks a lot Paul
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on February 20, 2016, 08:03:24 AM
Happy Birthday, Jachym!!!
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on February 20, 2016, 09:20:31 AM
Happy Birthday Jachym! :)

The new summary/almanach block is very nice work! I thinking of the hungarian translating, but you're right: very difficult, because of the word order.

example: in english php: <? php echo "yesterday the maximum temperature was" number_format($yesterday['maxT'],1,".","")"°"$displayTempUnits;

in hungarian php <? php echo "tegnap a maximum hőmérséklet" number_format($yesterday['maxT'],1,".","")"°"$displayTempUnits "volt";

 Moreover to the Hungarian language is free word ordering language. The word order  as "meaning toning" is an important function. I do not undertake it. ;)


Regards
Zoltán
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2016, 11:03:03 AM
Happy Birthday Jachym! :)

The new summary/almanach block is very nice work! I thinking of the hungarian translating, but you're right: very difficult, because of the word order.

example: in english php: <? php echo "yesterday the maximum temperature was" number_format($yesterday['maxT'],1,".","")"°"$displayTempUnits;

in hungarian php <? php echo "tegnap a maximum hőmérséklet" number_format($yesterday['maxT'],1,".","")"°"$displayTempUnits "volt";

 Moreover to the Hungarian language is free word ordering language. The word order  as "meaning toning" is an important function. I do not undertake it. ;)


Regards
Zoltán

OK, first of all thanks to all the birthday wishes, Im one of those who doesn't really care about such things, but it is of course nice you rememberd it.

Zoltán, yes, well the word order is something that can actually be changed in the script, it is not as easy as just replacing a word, but it is possible. The more problematic part is as you have seen above in the Czech example, that for some cases I would completely have to redo the script - write new functions. In English you also have same word endings, but in Czech we dont, so I would even have to create special functions for that.
For example - average pressure / average temperature. In Czech the word "average" would be different in both cases (to make things even "better" solar radiation would use yet a different word, so it makes things even more complicated). And so for each language there would have to be special functions.
Also other problem is that currently the actual conditions in the forecast are reported by yr.no also in English and are therefore just taken like that, now I would have to try to find all the possible words yr.no sends and create functions to translate those. Another example, the month/day names are also automatically generated by PHP - possible to translate, but another new function....
And the main reason I dont want to do this is because I plan to further work on it, so then everytime I would change anything I would have to try contacting at least 15 other people to help me with writing special functions just for that language.... probably just too much time and maybe even impossible. I will think about what could be done, but for now.... I guess non-native speakers will at least improve their English
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 20, 2016, 11:40:23 AM
I guess non-native speakers will at least improve their English

LOL I will tell that to my vistors anyway happy birthday and great block !
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2016, 12:14:36 PM
I guess non-native speakers will at least improve their English

LOL I will tell that to my vistors anyway happy birthday and great block !

You'd be surprised how many emails I get every day in languages in which I am either not so confident or do not know at all :D

Also I was surprised how poor the translation with Google Translator actually is... (though it is still the best, I tried Bing and others as well and that was even worse). And this is despite the fact I do not use a translation to Czech, but to English. In most cases I actually understand better the original...

French and German are relatively ok for me, but I know absolutely no Spanish and "unfortunately" the template has become very popular there, I even try to participate on one of their forums :D But some of these guys can say "hello" in English and that is about it and especially if they do not even know what FTP is, it is sometimes a bit difficult. But so far I was always able to help :-) I even started thinking I could learn the basics of Spanish, though the problem now is that I dedicate 100% of my free time to this, so I dont have time to start learning new language :D

Also, since I check all the translations manually, I got to know some very interesting words :D There is 15 languages already so I came across some very interesting phrases/words :D

Those using the Users plugin might also need to update their users JSON file, just since yesterday I added 4 new users. One in Canada, one in the US, one living just a few miles from the Heathrow Airport, London and one from the Greek island of Crete :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 20, 2016, 01:40:19 PM
Quote
Those using the Users plugin might also need to update their users JSON file, just since yesterday I added 4 new users. One in Canada, one in the US, one living just a few miles from the Heathrow Airport, London and one from the Greek island of Crete (http://www.wxforum.net/Smileys/default/icon_smile.gif)

Thanks Jachym for maintaining this, and for the reminder for us to keep it updated.
 
Just an observation; the User Map plugin shows 8 in Canada but your Network map and users' station data table only 5.  Presumably the 3 missing did not have a current data at the time of your Network page update?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2016, 01:46:17 PM
Quote
Those using the Users plugin might also need to update their users JSON file, just since yesterday I added 4 new users. One in Canada, one in the US, one living just a few miles from the Heathrow Airport, London and one from the Greek island of Crete (http://www.wxforum.net/Smileys/default/icon_smile.gif)

Thanks Jachym for maintaining this, and for the reminder for us to keep it updated.
 
Just an observation; the User Map plugin shows 8 in Canada but your Network map and users' station data table only 5.  Presumably the 3 missing did not have a current data at the time of your Network page update?
 
Paul

Hi Paul,
actually no, the number of users included in the network is much lower than that of the total users. There is a very simple reason for that. To be able to participate in the network you either have to be using the 4.1 Mango version or you must download the up-to-date network.php file, which generates all the necessary data required for being able to participate. And some people have not upgraded or did not let me know they did so I always include new users automatically now, but for the already existing ones I simply include them when they let me know.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 20, 2016, 01:51:19 PM
Thanks Jachym, I had forgotten your comments from when the network was being added.  I guess I will have to send PM/email reminders to the non-contributors :twisted: ....
NOT,
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 20, 2016, 10:50:16 PM
Hi Jachym

Could you tell me what this line is supposed to do. Its line 53 in meteobridge.php in the update directory.
It just makes the error log get bigger.

$s = $_GET["s"];


EDIT: I have commented out all references to that variable. Seems it did nothing.

Hi Colin,
I see, actually a little bug, which however should not do much more than produce the error log on more sensitive servers. I fixed it for the next version. It is for solar radiation, if you do not have solar sensor, simply replace it with

$s = "";

Thanks for that. One more thing regarding the rain block. Todays rain displays 0.000mm, can we get rid of two radix points so it is 0.0mm
Title: Re: Meteotemplate - new free website template
Post by: justinhow on February 21, 2016, 05:31:52 AM
Hi Jachym
I am using your very cool new summary block and noticed some php errors in the php log. This could of course be related to my setup here and the fact I don't have much data yet as the site only went live a couple of days ago and I have no wind data yet. However I thought I would pass them on though in case they were bugs. My site link is in my forum signature below where you can see the summary block in action - it appears to mostly be fine.
Cheers
Justin
Code: [Select]
[21-Feb-2016 10:19:17] PHP Notice:  Undefined variable: moonToday in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 192
[21-Feb-2016 10:19:17] PHP Notice:  Undefined index: maxTTime in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1830
[21-Feb-2016 10:19:17] PHP Warning:  implode(): Invalid arguments passed in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1830
[21-Feb-2016 10:19:17] PHP Notice:  Undefined index: minTTime in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1830
[21-Feb-2016 10:19:17] PHP Warning:  implode(): Invalid arguments passed in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1830
[21-Feb-2016 10:19:17] PHP Notice:  Undefined index: maxTTime in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1835
[21-Feb-2016 10:19:17] PHP Warning:  implode(): Invalid arguments passed in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1835
[21-Feb-2016 10:19:17] PHP Notice:  Undefined index: minTTime in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1835
[21-Feb-2016 10:19:17] PHP Warning:  implode(): Invalid arguments passed in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\summary\summaryBlock.php on line 1835
[21-Feb-2016 10:19:17] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in C:\inetpub\wwwroot\www.eastberks-weather.com\scripts\functions.php on line 40
[21-Feb-2016 10:19:17] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in C:\inetpub\wwwroot\www.eastberks-weather.com\scripts\functions.php on line 73
[21-Feb-2016 10:19:20 UTC] PHP Notice:  Undefined index: filename in C:\inetpub\wwwroot\www.eastberks-weather.com\homepage\blocks\meteogram\dataLoader.php on line 4
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 21, 2016, 07:00:37 AM
Sorry to bother you Jachym, but I have a little problem.
In Meteobridge push services I added the following to update mysql.
Code: [Select]
ti=[thb0temp-avg5]&timax=[thb0temp-max5]&timin=[thb0temp-min5]What changes do I need to make to meteobridge.php to get it to work.
I tried adding lines by duplicating t, tmax and tmin then modifying the variable names wherever they appeared but that just broke things.
Been at it for a few days now so it's time to ask for help  ;)

What else I have done is added the fields with phpMyAdmin, they created okay but the fields just say NULL.

(http://www.manorts.com/images/nulls.png)

I want current conditions to display the indoor temperature.

(http://www.manorts.com/meteo/homepage/blocks/current/icons/dark/inhome.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2016, 09:26:25 AM
Sorry to bother you Jachym, but I have a little problem.
In Meteobridge push services I added the following to update mysql.
Code: [Select]
ti=[thb0temp-avg5]&timax=[thb0temp-max5]&timin=[thb0temp-min5]What changes do I need to make to meteobridge.php to get it to work.
I tried adding lines by duplicating t, tmax and tmin then modifying the variable names wherever they appeared but that just broke things.
Been at it for a few days now so it's time to ask for help  ;)

What else I have done is added the fields with phpMyAdmin, they created okay but the fields just say NULL.

(http://www.manorts.com/images/nulls.png)

I want current conditions to display the indoor temperature.

(http://www.manorts.com/meteo/homepage/blocks/current/icons/dark/inhome.png)

Hi,
yes this cannot work because all you did is told meteobridge to send the data, but it sends the info to the script, which does nothing with it. You would need to modify the updating scripts as well so that they actually use this information and then modify the scripts that display the info in the updated scripts. Unfortunately it is not as easy as what you did, this would be just one of the steps. Also the script for the db updates would need to be changed so that it actually writes these fields, now you just send this info to it, and it ignores it.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 21, 2016, 10:55:02 AM
Quote
Those using the Users plugin might also need to update their users JSON file, just since yesterday I added 4 new users. One in Canada, one in the US, one living just a few miles from the Heathrow Airport, London and one from the Greek island of Crete (http://www.wxforum.net/Smileys/default/icon_smile.gif)

Thanks Jachym for maintaining this, and for the reminder for us to keep it updated.
 
Just an observation; the User Map plugin shows 8 in Canada but your Network map and users' station data table only 5.  Presumably the 3 missing did not have a current data at the time of your Network page update?
 
Paul

Hi Paul,
actually no, the number of users included in the network is much lower than that of the total users. There is a very simple reason for that. To be able to participate in the network you either have to be using the 4.1 Mango version or you must download the up-to-date network.php file, which generates all the necessary data required for being able to participate. And some people have not upgraded or did not let me know they did so I always include new users automatically now, but for the already existing ones I simply include them when they let me know.

Sorry I don't understand this do I have to add a block to my site for the network ?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 21, 2016, 11:08:12 AM
Hi Ron,
For the Network there is no plugin or block but you can add the link to your menu as I have done in Users.  See Jachym's Blog of February 4th.  This is somewhat similar BUT DIFFERENT to the Users Map plugin.
 
Paul
 
Edit: see announcement post here http://www.wxforum.net/index.php?topic=26825.msg277843#msg277843 (http://www.wxforum.net/index.php?topic=26825.msg277843#msg277843)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 21, 2016, 11:13:44 AM
Ok thanks I will include that, will the data also display on the network ? Ah missed that post will send Jachym a mail  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2016, 11:22:39 AM
Hi,
thanks for the email. Basically all I did was I checked that the up-to-date network.php is on your server, which then makes it possible for me to add you to the network (which is what I just did). I do not automatically include all users there because unless they have the right network.php uploaded on their server, I cannot get the data for the network.

Jachym
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 21, 2016, 11:27:30 AM
Hi,
thanks for the email. Basically all I did was I checked that the up-to-date network.php is on your server, which then makes it possible for me to add you to the network (which is what I just did). I do not automatically include all users there because unless they have the right network.php uploaded on their server, I cannot get the data for the network.

Jachym

I'm was not aware of the network.php found it now http://apeldoorn.tk/meteo/pages/station/network.php thanks for adding me
Ron
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 22, 2016, 12:38:06 AM
Sorry to bother you Jachym, but I have a little problem.
In Meteobridge push services I added the following to update mysql.
Code: [Select]
ti=[thb0temp-avg5]&timax=[thb0temp-max5]&timin=[thb0temp-min5]What changes do I need to make to meteobridge.php to get it to work.
I tried adding lines by duplicating t, tmax and tmin then modifying the variable names wherever they appeared but that just broke things.
Been at it for a few days now so it's time to ask for help  ;)

What else I have done is added the fields with phpMyAdmin, they created okay but the fields just say NULL.

(http://www.manorts.com/images/nulls.png)

I want current conditions to display the indoor temperature.

(http://www.manorts.com/meteo/homepage/blocks/current/icons/dark/inhome.png)

Hi,
yes this cannot work because all you did is told meteobridge to send the data, but it sends the info to the script, which does nothing with it. You would need to modify the updating scripts as well so that they actually use this information and then modify the scripts that display the info in the updated scripts. Unfortunately it is not as easy as what you did, this would be just one of the steps. Also the script for the db updates would need to be changed so that it actually writes these fields, now you just send this info to it, and it ignores it.

Hello Jachym,

You were correct, it was not easy. I had to make changes to meteobridge.php, updater.php, config.php and currentBlock.php.
The good news is that it now works, the database now updates and I can display indoor temperature as well.

(http://www.manorts.com/images/tin.png) (http://www.manorts.com/images/mysql.png)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 22, 2016, 01:29:17 AM
Colin. Can you share those script changes?  Unless of course Jachym can include the changes in his next update for the current block. I'd like to see the real time indoor temp, but not necessarily write them to the DB
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 22, 2016, 01:51:40 AM
Colin. Can you share those script changes?  Unless of course Jachym can include the changes in his next update for the current block. I'd like to see the real time indoor temp, but not necessarily write them to the DB

Hello Simon,
No problem, I will show the changes that I needed to make. Will post later this evening. I'm hungry and have to eat first.
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 22, 2016, 04:34:25 AM
Colin. Can you share those script changes?  Unless of course Jachym can include the changes in his next update for the current block. I'd like to see the real time indoor temp, but not necessarily write them to the DB

Here is what I have. Hope you can follow it.
EDIT: If you use mysql you have to add the fields you want. I use phpMyAdmin for that.

I use meteobridge so in services I added ti=[thb0temp-avg5] which is indoor temperature.
You could put it anywhere I guess but I put it just after the outside temperature t=[th0temp-avg5]
Code: [Select]
http://www.manorts.com/meteo/update/meteobridge.php?t=[th0temp-avg5]&ti=[thb0temp-avg5]I also use the mysql database so some sections you will have to modify.

config.php
add this with the other $limit stuff
Code: [Select]
$limitTempiMin = -100;
$limitTempiMax = 100;

currentBlock.php
paste this div between the temp and humidity divs to display the icon etc. Just use the icon I have. I modified Jachym's ones  :shock:
Code: [Select]
<div style="display:inline-block;min-width:60px;padding:5px;vertical-align:top">
<img src="homepage/blocks/current/icons/<?php echo $theme?>/tempin.png" class="conditionsIcon tooltip" alt='' title="<?php echo lang('temperature','c')?>"><br><span id="currentTiValue"></span><br>°<?php echo $displayTempUnits?>
</div>
scroll down to the end of the script
paste this anywhere in the updater function

Code: [Select]
$("#currentTiValue").text(json['Ti']);
updater.php

if you are using mysqli just add the variable at the end, I used the variable $Ti

Code: [Select]
SELECT DateTime,T,H,P,W,G,A,D,S,R,B,Ti
Then find this section and add the $current['Ti'] line like below

Code: [Select]
while($row = mysqli_fetch_array($result)){
$current['T'] = number_format(convertT($row['T']),1,".","");
$current['Ti'] = number_format(convertT($row['Ti']),1,".","");
$current['H'] = number_format($row['H'],1,".","");
         
meteobridge.php

Put this line somewhere in the //get data section

Code: [Select]
$ti = $_GET["ti"];
find this line
Code: [Select]
$tRange = array($limitTempMin,$limitTempMax); // temperature rangeand copy and paste it then modify the one you pasted to this
Code: [Select]
$tiRange = array($limitTempiMin,$limitTempiMax); // temperature range
then in the section that test the range

Code: [Select]
if($ti >= $tiRange[0] && $ti <= $tiRange[1]){
$tiValid = true;
}
else{
$tiValid = false;
      
Finally if valid insert this line

Code: [Select]
if($tiValid){
array_push($parameters,"Ti");
array_push($values,$ti);
}
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 05:36:34 AM
Hi Colin,
I was just about to reply to you.
When thinking about this, I came to the following conclusion:

- seeing the indoor temp in the Current block is a good idea (of course for those that want this) and I will implement it in the actual script as optional (just like the UV)
- including this in the db, is not really a good idea and I would not recommend it.

Reasons:
I understand it is nice when you can remotely check the temp at home. I myself also have the indoor temperature logged, though not necessarily displaying this publicly.
Now, the problem is including this in the db.
In my opinion, there really is not much point in tracking this in terms of long term period. It does not really make any sense to do any sort of statistics, trends, averages etc. The reason is simple - this has nothing to do with the weather or anything... I can make the average higher/lower simply by changing the value on my thermostat. So to me logging this looks a bit redundant.
And the main problem is this:
You must realize that even if you do not use those extra two columns in the actual template, they are there - meaning they will have to be processed as such when the database is queried. The overall result will therefore be slowing down of all your calculations and communication with the database. Right now there are I think 8 columns. Now you added extra 2. So basically all the pages that use the db will be maybe 20% slower now and my goal was always to try to optimize the db and pages as much as possible, also by creating indexes etc.

It is up to you, but I decided not to include this in the global file in the database. I will in the Current block, but not in the db.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 06:35:17 AM
About the indoor temperature I hope I can turn this off nobody has to know that I'm at home or not  :grin:

Ah I see you make it optional good idea
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 07:04:14 AM
17 C in BRNO wauw Spring over there !
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 22, 2016, 08:14:26 AM
Hi Colin,
I was just about to reply to you.
When thinking about this, I came to the following conclusion:

- seeing the indoor temp in the Current block is a good idea (of course for those that want this) and I will implement it in the actual script as optional (just like the UV)
- including this in the db, is not really a good idea and I would not recommend it.

Reasons:
I understand it is nice when you can remotely check the temp at home. I myself also have the indoor temperature logged, though not necessarily displaying this publicly.
Now, the problem is including this in the db.
In my opinion, there really is not much point in tracking this in terms of long term period. It does not really make any sense to do any sort of statistics, trends, averages etc. The reason is simple - this has nothing to do with the weather or anything... I can make the average higher/lower simply by changing the value on my thermostat. So to me logging this looks a bit redundant.
And the main problem is this:
You must realize that even if you do not use those extra two columns in the actual template, they are there - meaning they will have to be processed as such when the database is queried. The overall result will therefore be slowing down of all your calculations and communication with the database. Right now there are I think 8 columns. Now you added extra 2. So basically all the pages that use the db will be maybe 20% slower now and my goal was always to try to optimize the db and pages as much as possible, also by creating indexes etc.

It is up to you, but I decided not to include this in the global file in the database. I will in the Current block, but not in the db.

I just wanted to display the indoor temperature and that is why it is in the current block. Another user thought it useful enough that he asked me to share it which I did. I have no desire to log it at the present time, just display it.
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 22, 2016, 08:18:58 AM
About the indoor temperature I hope I can turn this off nobody has to know that I'm at home or not  :grin:

Ah I see you make it optional good idea
How can you tell if someone is home just by reading the current indoor temperature.  :???:
And everything is optional.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 08:33:47 AM
Hi Colin,
I was just about to reply to you.
When thinking about this, I came to the following conclusion:

- seeing the indoor temp in the Current block is a good idea (of course for those that want this) and I will implement it in the actual script as optional (just like the UV)
- including this in the db, is not really a good idea and I would not recommend it.

Reasons:
I understand it is nice when you can remotely check the temp at home. I myself also have the indoor temperature logged, though not necessarily displaying this publicly.
Now, the problem is including this in the db.
In my opinion, there really is not much point in tracking this in terms of long term period. It does not really make any sense to do any sort of statistics, trends, averages etc. The reason is simple - this has nothing to do with the weather or anything... I can make the average higher/lower simply by changing the value on my thermostat. So to me logging this looks a bit redundant.
And the main problem is this:
You must realize that even if you do not use those extra two columns in the actual template, they are there - meaning they will have to be processed as such when the database is queried. The overall result will therefore be slowing down of all your calculations and communication with the database. Right now there are I think 8 columns. Now you added extra 2. So basically all the pages that use the db will be maybe 20% slower now and my goal was always to try to optimize the db and pages as much as possible, also by creating indexes etc.

It is up to you, but I decided not to include this in the global file in the database. I will in the Current block, but not in the db.

I just wanted to display the indoor temperature and that is why it is in the current block. Another user thought it useful enough that he asked me to share it which I did. I have no desire to log it at the present time, just display it.

Sure, I understand that and thanks for that, but the script you posted saves the info in the db, for displaying it in the current block you dont need any of this. I will make a modification of the Current block with this feature, but all that stuff you did is absolutely correct, but inserts all this data points in the db. And even if the rest of the values are "null", if you create a new column in a db, it basically is just like if there were values, that "null" also takes space in the db.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 08:42:12 AM
About the indoor temperature I hope I can turn this off nobody has to know that I'm at home or not  :grin:

Ah I see you make it optional good idea
How can you tell if someone is home just by reading the current indoor temperature.  :???:
And everything is optional.

Perhaps not on your location but if its winter over here and you are on a holiday or whatever most people don't heat their house up to 20/21 C and turn the heating down to save energy so when I see indoor temperatures from 15 C or below (daytime) I assume nobody is at home (nice opportunity for criminals) , but as far its optional it's no problem for me.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 09:18:03 AM
17 C in BRNO wauw Spring over there !

Yes.... unbelievable... and the funny thing is that this night a very strong cold front is supposed to arrive and on Wednesday the daily temps are supposed to be very close to 0 maximum...
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 10:04:34 AM
Yes I saw it in the forecast strange weather  #-o
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 10:47:27 AM
About the menu I don't know how to add the userMap (plugin) to the menu most plugins are predifined but this one is not included ?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 22, 2016, 11:50:45 AM
Hi Ron,
Jachym may have a better way but I have it as
Code: [Select]

   <!-- METEOTEMPLATE USERS TAB -->
 <ul class="digimeg-nav-down-content digimeg-sub-nav">
  <li id="users-subnav">
   <div class="digimeg-nav-item-content digimeg-group">
    <div style="display:inline-block;width:18%;vertical-align:top;text-align:left">
     <img src="<?php echo $pageURL.$path?>icons/info.png" style="width:100px" alt=""><br><br>
     <h2 style="text-align:left;padding-left:25px"><?php echo lang("users",'c')?></h2>
    </div>
    <div style="display:inline-block;width:35%;padding-left:20px;padding-top:20px;vertical-align:top">
     <table>
      <tr>
       <td>
        <img src="<?php echo $pageURL.$path?>plugins/userMap/icons/users.png" class="astronomyIcon" alt="">
       </td>
       <td>
        <a href='<?php echo $pageURL.$path?>plugins/userMap/index.php'><?php echo lang('users','c')?></a>
       </td>
      </tr>
     </table>
     
     <table>
      <tr>
       <td>
        <img src="<?php echo $pageURL.$path?>plugins/userMap/icons/users.png" class="astronomyIcon" alt="">
       </td>
       <td>
        <a href="http://meteotemplate.com/web/network.php"</a>Users' Station Data
       </td>
      </tr>
     </table>
     
    </div>
   </div>
  </li>
 </ul>

in my menu.php
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 12:17:07 PM
Hi Ron,
Jachym may have a better way but I have it as
Code: [Select]

   <!-- METEOTEMPLATE USERS TAB -->
 <ul class="digimeg-nav-down-content digimeg-sub-nav">
  <li id="users-subnav">
   <div class="digimeg-nav-item-content digimeg-group">
    <div style="display:inline-block;width:18%;vertical-align:top;text-align:left">
     <img src="<?php echo $pageURL.$path?>icons/info.png" style="width:100px" alt=""><br><br>
     <h2 style="text-align:left;padding-left:25px"><?php echo lang("users",'c')?></h2>
    </div>
    <div style="display:inline-block;width:35%;padding-left:20px;padding-top:20px;vertical-align:top">
     <table>
      <tr>
       <td>
        <img src="<?php echo $pageURL.$path?>plugins/userMap/icons/users.png" class="astronomyIcon" alt="">
       </td>
       <td>
        <a href='<?php echo $pageURL.$path?>plugins/userMap/index.php'><?php echo lang('users','c')?></a>
       </td>
      </tr>
     </table>
     
     <table>
      <tr>
       <td>
        <img src="<?php echo $pageURL.$path?>plugins/userMap/icons/users.png" class="astronomyIcon" alt="">
       </td>
       <td>
        <a href="http://meteotemplate.com/web/network.php"</a>Users' Station Data
       </td>
      </tr>
     </table>
     
    </div>
   </div>
  </li>
 </ul>

in my menu.php
 
Paul
Thanks Paul but nothing appears .... I've placed the code just after the <!-- INFO TAB --> about line 1131 in menu php maybe I'm missing something (menus are always a pain for me  :oops:)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 12:19:08 PM
Hi Ron,
Jachym may have a better way but I have it as
Code: [Select]

   <!-- METEOTEMPLATE USERS TAB -->
 <ul class="digimeg-nav-down-content digimeg-sub-nav">
  <li id="users-subnav">
   <div class="digimeg-nav-item-content digimeg-group">
    <div style="display:inline-block;width:18%;vertical-align:top;text-align:left">
     <img src="<?php echo $pageURL.$path?>icons/info.png" style="width:100px" alt=""><br><br>
     <h2 style="text-align:left;padding-left:25px"><?php echo lang("users",'c')?></h2>
    </div>
    <div style="display:inline-block;width:35%;padding-left:20px;padding-top:20px;vertical-align:top">
     <table>
      <tr>
       <td>
        <img src="<?php echo $pageURL.$path?>plugins/userMap/icons/users.png" class="astronomyIcon" alt="">
       </td>
       <td>
        <a href='<?php echo $pageURL.$path?>plugins/userMap/index.php'><?php echo lang('users','c')?></a>
       </td>
      </tr>
     </table>
     
     <table>
      <tr>
       <td>
        <img src="<?php echo $pageURL.$path?>plugins/userMap/icons/users.png" class="astronomyIcon" alt="">
       </td>
       <td>
        <a href="http://meteotemplate.com/web/network.php"</a>Users' Station Data
       </td>
      </tr>
     </table>
     
    </div>
   </div>
  </li>
 </ul>

in my menu.php
 
Paul
Thanks Paul but nothing appears .... I've placed the code just after the <!-- INFO TAB --> about line 1131 in menu php maybe I'm missing something (menus are always a pain for me  :oops:)

I will check your site.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 22, 2016, 12:26:57 PM
For a new tab you also must define/add it near the top where the others are
Code: [Select]
  <!-- Added Meteotemplate Users Map -->
  <li>
   <a href="#" data-subnav="users-subnav" class="digimeg-nav-item">
    <?php echo lang('users','c')?>
   </a>
  </li>
 
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 12:31:43 PM
For a new tab you also must define/add it near the top where the others are
Code: [Select]
  <!-- Added Meteotemplate Users Map -->
  <li>
   <a href="#" data-subnav="users-subnav" class="digimeg-nav-item">
    <?php echo lang('users','c')?>
   </a>
  </li>
 

Thanks the tab is tehre but no subitems , have to dinner now  :grin:
Title: New plugin - Country details
Post by: Jáchym on February 22, 2016, 12:37:36 PM
Hi guys,

a new plugin is now available. It is called country details. What it does is quite simple – displays information about all the countries in the world. By default it will load your country; you can however choose any other country you wish.

I have gathered data from several sources such as the CIA World Fact Book, the worldbank, Wikipedia etc. The included information includes data about geography, climate, some background info, economy, demographics, technology, industries, agriculture, national symbols, flags, anthems, colors, government type, emissions, energies, languages, religions etc etc.

There are also graphs which show past trends and some interesting visualizations and comparisons. I also tried to create as many icons as possible to make it easy to understand, but in addition, hovering over the icon should show a description of the parameter.

The plugin is fully ready for translating and in fact thanks to some of you, there are already languages that have translations for this plugin now.

I have also used the MySQL database for this which gives potential for the future to create pages that will compare countries between each other etc.

Instructions about how to install the plugin (very easy) are included in the plugin documentation. Make sure you read it, you have to do some setup first.

One last thing to note – obviously I tried my best to keep the data consistent and accurate, however, it is possible that I missed something, especially given the fact I was working with over 200 countries. If you find an error feel free to let me know.

I also have scripts for updating the data so in the future it is possible for me to easily update those numbers that are likely to change from year to year (population, GDP etc.).

Enjoy

Jachym

Demo - http://www.meteotemplate.com/template/plugins/countryDetail/index.php

Download/install instructions: http://www.meteotemplate.com/web/plugins.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 12:46:00 PM
For a new tab you also must define/add it near the top where the others are
Code: [Select]
  <!-- Added Meteotemplate Users Map -->
  <li>
   <a href="#" data-subnav="users-subnav" class="digimeg-nav-item">
    <?php echo lang('users','c')?>
   </a>
  </li>
 

Thanks the tab is tehre but no subitems , have to dinner now  :grin:
Hi Ron,
you must end the info tab before starting the users tab in the submenu section. After the info tab table in the menu, you have to insert:
Code: [Select]
</div>
</div>
</li>
</ul>

see the one above that and you will know what I mean.

P.S. Just wondering, do you have a link somewhere to your page? I tried the one you have on the forum here, that goes to your main site, but I was unable to find the URL of your site and had to check my network records.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 22, 2016, 01:11:57 PM
Hi Jachym,
It is in his forum signature http://www.apeldoorn.tk/meteo/ (http://www.apeldoorn.tk/meteo/)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 01:13:03 PM
Hi Jachym,
It is in his forum signature http://www.apeldoorn.tk/meteo/ (http://www.apeldoorn.tk/meteo/)
 
Paul

Thanks, just noticed :)

Either way, I hope that my solution helps, I checked the source code and the info tab is not ended before starting the new users tab, which is what messes it up.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 22, 2016, 01:19:56 PM
Yes, I noticed that the tab groups code was not complete.  Ron should be able to fix that.
 
By the way, I have countryDetail added http://www.komokaweather.com/j-template/plugins/countryDetail/index.php (http://www.komokaweather.com/j-template/plugins/countryDetail/index.php)
Just need to decide where it should go in the menu.
 
I had expected to have to run the install.php more than just once, but that is all it took.
 
Thanks again Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 01:21:49 PM
Yes, I noticed that the tab groups code was not complete.  Ron should be able to fix that.
 
By the way, I have countryDetail added http://www.komokaweather.com/j-template/plugins/countryDetail/index.php (http://www.komokaweather.com/j-template/plugins/countryDetail/index.php)
Just need to decide where it should go in the menu.
 
I had expected to have to run the install.php more than just once, but that is all it took.
 
Thanks again Jachym,
Paul

Hi Paul,
install only needs to be executed once - it creates all the necessary things automatically. Repeated execution will not do anything, it simply checks if the table is already created and if so, ends the script.
I put it in the menu under the "about location" - Everyone needs to know about Česká republika!  8-)
Title: Re: Meteotemplate - new free website template countryClimate
Post by: Ian. on February 22, 2016, 02:39:07 PM
Hi,

I'm struggling a bit here, I've downloads the countryClimate file and opened index.php to insert the required country codes but I can't find where it needs to go and this will probably explain why I only had one table create option when running the install.php script
Title: Re: Meteotemplate - new free website template
Post by: nitrx on February 22, 2016, 02:41:53 PM
For a new tab you also must define/add it near the top where the others are
Code: [Select]
  <!-- Added Meteotemplate Users Map -->
  <li>
   <a href="#" data-subnav="users-subnav" class="digimeg-nav-item">
    <?php echo lang('users','c')?>
   </a>
  </li>
 

Thanks the tab is tehre but no subitems , have to dinner now  :grin:
Hi Ron,
you must end the info tab before starting the users tab in the submenu section. After the info tab table in the menu, you have to insert:
Code: [Select]
</div>
</div>
</li>
</ul>

see the one above that and you will know what I mean.

P.S. Just wondering, do you have a link somewhere to your page? I tried the one you have on the forum here, that goes to your main site, but I was unable to find the URL of your site and had to check my network records.


I added  the divs this seemed to work but now I've separate links below the main menu that are already under the info tab I think I've messed it up tommorow I will setup it al again , my link is in the signature but I saw Paul attended you.

Thanks for the efforts I think I've to read the wiki very good for understanding the menu syntax  :shock:
Title: Re: New plugin - Country details
Post by: kocher on February 22, 2016, 03:45:23 PM
Hi guys,

a new plugin is now available. It is called country details. What it does is quite simple – displays information about all the countries in the world. By default it will load your country; you can however choose any other country you wish.


                    Very good !    :grin: :grin: :grin:


                  http://kocher.es/meteotemplate/plugins/countryDetail/index.php (http://kocher.es/meteotemplate/plugins/countryDetail/index.php)

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 22, 2016, 03:50:26 PM
Ian and Ron, looks like each of you have it working now.
 
Ron the Menu for "Users" looks correct and works.
Ian, I wasn't able to see the "countryDetail" listed in any Menu tabs as yet but http://www.chatteris.biz//template/plugins/countryDetail/index.php (http://www.chatteris.biz//template/plugins/countryDetail/index.php) works
 
Enjoy,
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2016, 05:27:49 PM
Ian and Ron, looks like each of you have it working now.
 
Ron the Menu for "Users" looks correct and works.
Ian, I wasn't able to see the "countryDetail" listed in any Menu tabs as yet but http://www.chatteris.biz//template/plugins/countryDetail/index.php (http://www.chatteris.biz//template/plugins/countryDetail/index.php) works
 
Enjoy,
Paul

 =D&gt;
If there is still something not working let me know :)
Title: Re: Meteotemplate - new free website template
Post by: Ian. on February 22, 2016, 05:50:59 PM
All working Jachym, I must of been having yet another senior moment.

Cheers

Ian
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 23, 2016, 04:52:54 AM
Good morning, Jachym
Please excuse my writing in English, it helped me Translator Google and may not correctly interpret my question.

I wish I could adapt to the template, the system blocks you offers and looking in http://www.meteotemplate.com/template/indexAll.php, observed 3 demos to the home page and I particularly like the " DEMO - many blocks "have been looking at the WIKI and I have not been able to find any instructions on how to set this product, could you tell me how to do it, knowing that I am no expert in computer? and if you can download the "Many Blocks" option

In the Blocks tab, I downloaded one by one, but now I find that it does not know how to do to them, I've looked but can not find the Wiki where instructed to do, or what I have failed to look properly.

You can help me.

Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2016, 05:14:14 AM
Hi Juan,
do you have the core template installed? Can you send me a link to your website with Meteotemplate? I can then tell you how to install the blocks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2016, 05:17:04 AM
Also, the exact instructions on how to install blocks are actually here:
http://www.meteotemplate.com/web/wiki/wikiHomepage.php
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 23, 2016, 05:31:15 AM
http://www.meteo-badalona-progres.com/template/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2016, 05:47:02 AM
OK, well it is hard as Im not sure how else I could better explain it than I did in the wiki.

basically, what you have to do in summary is this:
1. download the block ZIP file
2. extract the files and you should see one folder, which has the name of the block and the files inside it.
3. if there is a file "settings.php" then open it and do whatever is necessary based on the instructions inside the file
4. once that is done, upload the entire folder to your "blocks" directory, which is inside the "homepage" directory of your template. So the final path to the block will be something like this:
..../homepage/blocks/YOUR BLOCK NAME/..... the files inside it
Now you go to your index.php and you add the name of the block in the array, which specifies the blocks for each column.
So for example, you could have:
column 1 = xyz, wyx,..... so you just add the name of the new block you want, exactly as it is called (the same name as the folder)
The homepage will then use these columns and the order of the blocks in which they are specified on this line.
Title: Meteotemplate Network 2.0
Post by: Jáchym on February 23, 2016, 10:32:13 AM
(http://i66.tinypic.com/160pjcg.png)
METEOTEMPLATE WEATHER NETWORK
Hi guys,

based on some suggestions from Brian (Weather Display) I tried to rewrite the script for the network. It is now much more interesting because it does not only list the users, but actually display the actual values in the map, you can see right away on the world map, which user has the max/min value for various parameters and in addition, the table below is sortable and when a user is clicked, it will show you where that person is on the map.

Hope you enjoy it

It can be accessed via the Users section at meteotemplate.com, by clicking on Network
http://www.meteotemplate.com/web/users.php (http://www.meteotemplate.com/web/users.php)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 23, 2016, 11:44:43 AM
Quote
rewrite the script for the network. It is now much more interesting because it does not only list the users, but actually display the actual values in the map, you can see right away on the world map, which user has the max/min value for various parameters and in addition, the table below is sortable and when a user is clicked, it will show you where that person is on the map.
Very nice change, and I didn't even have to do anything as far as download, settings... wow.  http://www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php)#
 
Excellent Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: erikmm on February 23, 2016, 11:48:09 AM
Nice script
Title: Re: Meteotemplate - new free website template
Post by: SimonB on February 23, 2016, 12:07:58 PM
I'm still the only point in Africa...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2016, 12:30:13 PM
I'm still the only point in Africa...

A celebrity :) unique VIP :)

P.S. Or ask your friends to join :)
Title: Re: New plugin - Country details
Post by: SpringHillWeather on February 23, 2016, 08:24:23 PM
Hi guys,

a new plugin is now available. It is called country details. What it does is quite

Jachym

Demo - http://www.meteotemplate.com/template/plugins/countryDetail/index.php

Download/install instructions: http://www.meteotemplate.com/web/plugins.php

Installed and running good Here (http://donganhillsweather.net/plugins/countryDetail/index.php) Thank you Jachym for another Plugin!!!

Title: Block updates
Post by: Jáchym on February 24, 2016, 10:44:34 AM
Hi guys,

just a quick update.

Several blocks were updated:

Greetings 1.1
It is now possible to set particular color for each interval. This however means that for updating it you will also need to replace your original settings.php. The information how to do it is inside settings.php.

Summary 2.0
Some new strings were added and some minor bug fixes. Also, I solved the issue with multiple occurances of a certain value. Now, if there is multiple times or dates, it will show just a link "several occasions" and clicking it will trigger a small popup with a list of dates/times. To update just replace summaryBlock.php.

NWS forecast 2.0
The new version also includes the temperature values above the icons. To update, just replace nwsForecastBlock.php.

Title: Re: Block updates
Post by: KapitainOne on February 24, 2016, 11:52:53 AM
Hi guys,

just a quick update.

Several blocks were updated:

Greetings 1.1
It is now possible to set particular color for each interval. This however means that for updating it you will also need to replace your original settings.php. The information how to do it is inside settings.php.

Summary 2.0
Some new strings were added and some minor bug fixes. Also, I solved the issue with multiple occurances of a certain value. Now, if there is multiple times or dates, it will show just a link "several occasions" and clicking it will trigger a small popup with a list of dates/times. To update just replace summaryBlock.php.

NWS forecast 2.0
The new version also includes the temperature values above the icons. To update, just replace nwsForecastBlock.php.

Nice job Jachym, I like your solution for the Summary Block!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2016, 12:14:03 PM
Thanks, I remember we were discussing it and this sort of solved it.... everything is still shown, but in a more clean way.
Title: Re: Meteotemplate - new free website template
Post by: gus on February 24, 2016, 02:39:37 PM
Hi Jachym,
Download the new NWSforecast ver 2.0 block with the temperatures above the icon.
There looks to be a half day mismatch for temperatures with the rest of the half day data.
This also leaves the last half day with out a temperature.
From the settings file...
   $version = "2.0";
   
   // Below is an example of a URL to use. Go to forecast.weather.gov and find the location you want. Then copy and paste the URL here.
   $url = "/MapClick.php?lon=-76.70034069824219&lat=39.225739405#.VrTo9WgrKM";

Thanks,
Gus
http://www.halethorpeweather.com/meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2016, 02:52:12 PM
Hi Jachym,
Download the new NWSforecast ver 2.0 block with the temperatures above the icon.
There looks to be a half day mismatch for temperatures with the rest of the half day data.
This also leaves the last half day with out a temperature.
From the settings file...
   $version = "2.0";
   
   // Below is an example of a URL to use. Go to forecast.weather.gov and find the location you want. Then copy and paste the URL here.
   $url = "/MapClick.php?lon=-76.70034069824219&lat=39.225739405#.VrTo9WgrKM";

Thanks,
Gus
http://www.halethorpeweather.com/meteo/index.php

Hi Gus,
I think I know what the problem was and I updated the download file so the question is whether I fixed it and you just downloaded the original version or whether the problem persists. So I would ask you to just re-download the file and replace the nwsForecastBlock.php and see if it fixes the problem and if not I will look at it again.
Thanks
Title: Re: Meteotemplate - new free website template
Post by: gus on February 24, 2016, 03:29:21 PM
Redownloaded the NWSforecast block and all data is now looking good.

Thanks,
Gus
http://www.halethorpeweather.com/meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2016, 03:39:15 PM
Good news :) Thanks for letting me know
Title: BloomSky Plugin
Post by: cjohlandt on February 24, 2016, 08:20:27 PM
Jachym,

After struggling for quite a while, I finally got the BloomSky plugin working.  It wasn't the plugin or your scripts (those are awesome as always).  It was getting the cron job working.  After a lot of Googling and talking to some of the linux admins at work, I finally got the cron job working without the variable for the password in the URL and by commenting out the password check in the update.php script.  Apparently if PHP is in CGI mode (whatever that means), you can't use a variable in the cron job.  Interestingly, it works fine with the variable from my web browser.

I also have a question.  I'm currently using the URL from my BloomSky image on wunderground for the image in my webcam block. Is there a way to use the latest image from the BloomSky plugin in the webcam block?

Thanks!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2016, 08:57:36 PM
Hi,

Answer to your second question : yes,  theoretically it is possible but I will have to make a script for it

Problem number 1, yes I know this but I will offer you an alternative solution that secures the page even without the password,  just that it is too late now so I will explain it tomorrow
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 24, 2016, 09:23:21 PM
Got the updated blocks added and working...

Paul
Title: Re: BloomSky Plugin
Post by: Mapantz on February 25, 2016, 07:20:31 AM
Jachym,

After struggling for quite a while, I finally got the BloomSky plugin working.  It wasn't the plugin or your scripts (those are awesome as always).  It was getting the cron job working.  After a lot of Googling and talking to some of the linux admins at work, I finally got the cron job working without the variable for the password in the URL and by commenting out the password check in the update.php script.  Apparently if PHP is in CGI mode (whatever that means), you can't use a variable in the cron job.  Interestingly, it works fine with the variable from my web browser.

I also have a question.  I'm currently using the URL from my BloomSky image on wunderground for the image in my webcam block. Is there a way to use the latest image from the BloomSky plugin in the webcam block?

Thanks!
-Chris

I've always been under the assumption that when using a password in a cronjob, you replace the variable with a space. It works on my default server settings.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 08:05:37 AM
OK, so for the passwords.

If you cannot run a CRON job with a parameter, then a solution is to rename the file to something that will basically act like your password.
In this case you could rename it to for example dfogijdojs.php. No one can then guess what that name of the file is and trigger the update. This is more related to the db updates, where they could send incorrect data to your db. In this case, you would also need to make a change in the index.php of the plugin so the name of the file could be found in the source code, but the thing here is, in this case nothing can be imported into the db, this communicates with a separate table for the bloomsky and also does not save anything from the actual URL so it is not a big deal if you simply remove it from the URL for updates.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 25, 2016, 10:50:16 AM
Jachym Hello, I thank you for the help you provided me with the configuration of the blocks, I'm ordering the structure of the web and truly is a joy to see how easy we have put.
I want to ask a question that I have on how to insert links to link to other websites, I find the block "links", nor the available downloads, can you give me some indication?
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 10:54:01 AM
Hi Juan,
the "links" block in version 3.0 is now called "weatherNetworks" in versions 4
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 25, 2016, 12:02:47 PM
Thanks, solved.
Glossary, may be obtained in Spanish?
or ... where I can translate.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 12:57:53 PM
Hi Juan,
no the glossary is currently only available in English. I will see if I can find some useful data in other languages, but given the number of words included and their descriptions I would assume you probably won´t be willing to translate it :D
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 25, 2016, 04:54:15 PM
Hi Jachym:

Sorry to bother you with this but I have been unable to find where the problem lies.

I am trying to figure out why my wind readings don't get updated in the Current block.  I am using Cumulus 1.9.4 with realtime.txt. 

Initially I thought it must be an array to field mapping issue but that doesn't seem to be it.  I'm going with the field values listed here: http://wiki.sandaysoft.com/a/Realtime.txt (http://wiki.sandaysoft.com/a/Realtime.txt)

I've tried changing some of those values between lines 251-357 of updater.php but no joy.  I'm probably missing something obvious but I can't find it.

No hurry on this and thanks in advance.

--Kurt

http://www.kpw3.com/meteo (http://www.kpw3.com/meteo)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 05:04:42 PM
Hi Kurt,
for some reason the updater.php is returning wind as 0, though the rest works fine.

What exactly did you change? I am a bit confused by this:
Quote
I've tried changing some of those values between lines 251-357 of updater.php but no joy.

updater.php only has 224 lines in total
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 25, 2016, 05:22:48 PM
Sorry, I'm using Nano in Linux and it double spaces everything. I changed some of the array values in the Cumulus section

Code: [Select]
if($type=="cumulus"){

                $realtime = file_get_contents($path);
                $realtimeData = explode(" ",$realtime);
                // damn Cumulus is of course not standardized... get units
                $dataTempUnits = $realtimeData[14];
                $unitsW = $realtimeData[13];
                $dataRainUnits = $realtimeData[16];
                $unitsP = $realtimeData[15];

Everything is back as it was originally now but no go.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 05:24:55 PM
Ok i will create a customized version to do some diagnostics and send it to you
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 25, 2016, 05:35:55 PM
Quote
I changed some of the array values in the Cumulus section
Not sure if this has any bearing on this, but
The link to the Cumulus Wiki for realtime.txt shows the fields beginning from #1.  However from my little use of extracting the realtime.txt data I have learned that you need to start counting the fields from 0.  So the first item in the Wiki is date and when I've used it I had this as field number 0, the Time as field number 1, etc...
 
And Jachym, I see you planted a little personal commentary on line 130 :P
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 25, 2016, 05:42:18 PM
Thanks, Paul. I noticed that comment, too.  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 07:07:23 PM
Hi,
well... first of all... with regards to that comment :D It is really funny, I had to laugh, because this is the only comment of this sort in the entire template, which btw. is more than 1M lines... I really had to laugh when I saw you posted just this one single line which I wrote even when I was still doing my own page and now just copied it... but to defend myself I have to add that I was doing this about a yr ago when I knew very little PHP and it was a nightmare for me to try to make this work, and after I just finished writing this script for clientraw, which is standardized, I felt lost with this one :D

Now, back to your script...
Yes Paul, you do have to start from 0, but the problem here is just the wind and gust, which in the original script are referenced as fields 5 and 6 -> which matches fields number 6 and 7.

Kurt, maybe try changing your code to this and then run it in your browser. Copy and paste the output here and then change it back, because this will make it non-functional, but tell us exactly what is going on.
Code: [Select]
// update from Cumulus realtime.txt
if($type=="cumulus"){
$realtime = file_get_contents($path);
$realtimeData = explode(" ",$realtime);
// damn Cumulus is of course not standardized... get units
$dataTempUnits = $realtimeData[14];
$unitsW = $realtimeData[13];
$dataRainUnits = $realtimeData[16];
$unitsP = $realtimeData[15];
// convert to Meteotemplate format
if($unitsW=="m/s"){
$dataWindUnits = "ms";
}
else if($unitsW=="km/h"){
$dataWindUnits = "kmh";
}
else if($unitsW=="kts"){
$dataWindUnits = "kt";
}
else{
$dataWindUnits = "mph";
}
                echo "Data W units:".$dataWindUnits."<br>";
if($unitsP=="mb"){
$dataWindUnits = "hpa";
}
else if($unitsP=="hPa"){
$dataWindUnits = "hpa";
}
else{
$dataWindUnits = "inhg";
}

$current['T'] = number_format(convertT($realtimeData[2]),1,".","");
$current['H'] = number_format($realtimeData[3],1,".","");
if($displayPressUnits=="hpa"){
$current['P'] = number_format(convertP($realtimeData[10]),1,".","");
}
else{
$current['P'] = number_format(convertP($realtimeData[10]),2,".","");
}
$current['W'] = number_format(convertW($realtimeData[5]),1,".","");
                  echo "Data W raw:".$realtimeData[5]."<br>";
                  echo "Data W converted:".$current['W']."<br>";
$current['G'] = number_format(convertW($realtimeData[6]),1,".","");
if($displayRainUnits=="mm"){
$current['R'] = number_format(convertR($realtimeData[9]),1,".","");
}
else{
$current['R'] = number_format(convertR($realtimeData[9]),2,".","");
}
$current['D'] = number_format(convertT($realtimeData[4]),1,".","");
$current['A'] = number_format(convertT($realtimeData[54]),1,".","");
$current['B'] = $realtimeData[7];
$current['S'] = $realtimeData[45];
$current['UV'] = $realtimeData[43];
$current['Timestamp'] = date($updateTimeFormat,strtotime("2015-1-1 ".$realtimeData[1]));
}
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 07:20:02 PM
Also off-topic...


Paul:
Look what I just noticed :D

(http://i66.tinypic.com/5dnm6o.png)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 25, 2016, 08:18:33 PM
Paul, have you really asked Jachym that many questions?? :lol:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 25, 2016, 08:43:19 PM
Yes, between questions and saying I installed a new plugin and block ;)

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2016, 09:11:40 PM
Lol, 
Kurt you have 9 posts altogether.  Out of those 9 posts,  exactly  9 are questions in meteotemplate thread
 ;)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 25, 2016, 10:09:13 PM
See, I am much nicer to you!

So, I pasted your edited code in with the <br>'s but I am not seeing what it is doing either on the homepage, or in the HTML source, or running the php pages directly from a command line.
What am I doing wrong?


(meanwhile, I've set the current block to use the database)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 05:06:14 AM
That code I sent contains some "echos", which should give us more information. If you run the updater.php with those string in a browser you will see some more strings there and I would need to see the output.

For example, one should say what the wind units are
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 05:06:44 AM
See, I am much nicer to you!

So, I pasted your edited code in with the <br>'s but I am not seeing what it is doing either on the homepage, or in the HTML source, or running the php pages directly from a command line.
What am I doing wrong?


(meanwhile, I've set the current block to use the database)

Paul is very nice! :D
Title: Forecast Block update - WxSim support
Post by: Jáchym on February 26, 2016, 10:51:10 AM
Hi guys,
I have added support for WxSim in the forecast block. However, please take this as rather experimental because given I do not own the SW myself and the logfiles are not particularly "developer-friendly", it could be that there might be some problems for some. I tested it with as many files as I had available.

The block uses the latest.csv. In the settings you specify the path to this file and then, you specify the intervals in which you want to group the data. For example, you can set something like 0-6, 6-12, 12-18, 18-24 - this will then show each day split into the specified time periods. Temperatures will be averaged and precipitation summed. In addition, you can specify how many days you want to see by default, then, clicking "more" will show more days as well as more parameters.

In addition, the yr.no output has been cleaned up so I recommend everyone to do the update and for those who do not have wxSim, simply set it to false. You will need to replace all the files, including the settings.php, which now has the setting for wxSim as well, however, for the rest you can simply copy the variables you used in your previous settings.php.

NOTE: If you know that I made some customized changes in your forecast script then let me know and do not update, because this would again bring it to default and in all cases make a backup.

Let me know if you find any problems or bugs and likewise, please let me know if it works just so that I know it is ok. I hope you enjoy it.

http://www.meteotemplate.com/web/blocks.php
(http://i65.tinypic.com/8yf72v.png)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 26, 2016, 11:52:15 AM
Once again a painless upgrade, can't comment on the WxSim support since I don't have it!
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 01:12:29 PM
Good night Jachym, I installed the new "Block" Forecast, with built WXSIM, I would like observer forecasts do not understand the negative rain, average temperature think are too low according to the forecast WXSIM, which can observe METEO in tab.
If you look on the Web, http://www.meteo-badalona-progres.com/template, you see what I mean.
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 01:21:14 PM
Hi Juan,
I tried downloading your latest.csv from http://www.meteo-badalona-progres.com/latest.csv

And then I used it on my server and got this:
(http://i66.tinypic.com/2wn05q8.png)

What exactly do you have in your settings.php for wxSim? And also, what do you have for units in config.php
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 01:25:04 PM
// Display units - specify the default units in which you want your data to be shown on the web

   $displayTempUnits = "C"; // C or F

   $displayRainUnits = "mm"; // mm, cm or in

   $displayWindUnits = "kmh"; // ms, kmh, kt or mph

   $displayPressUnits = "hpa"; // hpa, mmhg, inhg

   $displayCloudbaseUnits = "m"; // m or ft

   $displayVisibilityUnits = "km"; // visibility units, km/mi/m
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 01:32:15 PM
and what do you have in the settings.php for the block
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 01:37:23 PM
I tested it again and I have the exact same settings as you and I get the correct output... we will have to see if it works for other people and then I would hopefully see if this is just a problem on your server or global.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 01:39:33 PM
   
This is the setting, no where to put the units.

   $showWxSimForecast = true; // WxSim
      $pathLatest = "/home/meteobad/www/latest.csv"; // path to your latest.csv
      $categories = array("0-6","6-12","12-18","18-24"); // specify the hourly intervals for the forecast - will be aggregated
      $maxDays = 3; // maximum number of days shown unless clicked "more"
      $decimalSeparator = "."; // decimal separator in latest.csv
      
   $forecastsCache = 60; // cache for the forecasts


      
   
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 26, 2016, 01:44:57 PM
Jachym:

Everybody wants you!  ;)

After inserting the edited code with the <br>'s inserted in updater.php I just get a "null" returned from:

http://www.kpw3.com/meteo/homepage/blocks/current/updater.php (http://www.kpw3.com/meteo/homepage/blocks/current/updater.php)

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 01:57:25 PM
So I have to do ?, where I can fix it, or it is a problem to be solved by itself.
Thanks again
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 02:02:41 PM
 Sorry,and what is the reason that in the "tab" WXSIM both the graphics, forecasts and other data are correct, being processed by the same server?

Tank you
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 26, 2016, 02:02:56 PM
Juan,
You shouldn't have to set units.  It will use the units WxSim uses.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 02:07:23 PM
Thank you Tom:
Yes, it is logical also predictions and graphics work properly in the, METEO, this template tab.
The WXSIM program goes perfectly and is set by Tom.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 26, 2016, 02:19:57 PM
Jachym,
Thanks for adding WxSim to the forecast block.  My only problem is the time is white text on a white background. you can see it on my site.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 03:01:26 PM
   
This is the setting, no where to put the units.

   $showWxSimForecast = true; // WxSim
      $pathLatest = "/home/meteobad/www/latest.csv"; // path to your latest.csv
      $categories = array("0-6","6-12","12-18","18-24"); // specify the hourly intervals for the forecast - will be aggregated
      $maxDays = 3; // maximum number of days shown unless clicked "more"
      $decimalSeparator = "."; // decimal separator in latest.csv
      
   $forecastsCache = 60; // cache for the forecasts

Juan,  your decimal separator is ,  not .
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 03:17:14 PM
Jachym,
Thanks for adding WxSim to the forecast block.  My only problem is the time is white text on a white background. you can see it on my site.
Tom

Tom, try re-downloading the block file and replace everything except your settings.php, that can stay the same and no need to set up anything again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 03:19:45 PM
Jachym:

Everybody wants you!  ;)

After inserting the edited code with the <br>'s inserted in updater.php I just get a "null" returned from:

http://www.kpw3.com/meteo/homepage/blocks/current/updater.php (http://www.kpw3.com/meteo/homepage/blocks/current/updater.php)

--Kurt

That is very strange, because it should echo something like what the units are etc. Ok in that case, put back your original version and insert this at the very top after <php

error_reporting(E_ALL);
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 03:29:08 PM
Jachym Sorry, I have to put (Not.) Or (Not)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 03:33:06 PM
I made a few changes in the script, so just do this:

1. Download the zip package of the block again and replace everything except settings.php
2. In your settings.php, make sure you have this:

  $decimalSeparator = ","; // decimal separator in latest.csv

You must change the "." to ","
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 26, 2016, 03:48:57 PM
Jachym,
Thanks that worked.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 26, 2016, 04:33:59 PM
Jachym, thank you so much, is solved, great job yours.

A greeting cordiall
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 04:42:01 PM
Jachym, thank you so much, is solved, great job yours.

A greeting cordiall

Estupendo! :)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 26, 2016, 04:48:51 PM
No joy on
Code: [Select]
error_reporting(E_ALL);
Still just getting null....strange.

Update:

I inserted this code:

Code: [Select]
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

and I get the following output:

Notice: Use of undefined constant USME0017 - assumed 'USME0017' in /var/www/html/meteo/config.php on line 141
Notice: Use of undefined constant php - assumed 'php' in /var/www/html/meteo/config.php on line 246
Notice: Undefined index: type in /var/www/html/meteo/homepage/blocks/current/updater.php on line 9
Notice: Undefined index: path in /var/www/html/meteo/homepage/blocks/current/updater.php on line 10
Notice: Undefined variable: current in /var/www/html/meteo/homepage/blocks/current/updater.php on line 266
null

I'll check those out.


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 05:00:01 PM
Hi,
Im really confused by these errors. First of all you should get an output from the original change I posted - even if the variable was "", it would say something like:

Wind units are:

and blank.

Next, the errors you are getting are on lines which do not even exist! The config.php does not have that many lines.... Can you email me your config.php and updater.php (you can of course delete your MySQL details)?
I have to check all your settings.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 26, 2016, 05:04:13 PM
You have to ignore my lines because of the editor I use.  I have corrected the errors in config.php.  Those were syntax errors that I doubtless caused myself.

If you look at http://www.kpw3.com/meteo/homepage/blocks/current/updater.php (http://www.kpw3.com/meteo/homepage/blocks/current/updater.php) again you'll see those are gone now.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 26, 2016, 05:10:12 PM
Lines 9&10=
Code: [Select]
$type = $_GET['type'];
$path = $_GET['path'];

Line 266&267=
Code: [Select]
$current = json_encode($current);
echo $current;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 05:11:10 PM
Yes, those errors are understandable because the script when called from the current block has the parameter to use cumulus and the path, so you would have to use:

http://www.kpw3.com/meteo/homepage/blocks/current/updater.php?type=cumulus&path=%2Fvar%2Fwww%2Fhtml%2Frealtime.txt

Now try inserting those lines that are supposed to echo the units etc.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 26, 2016, 05:37:17 PM
Still just getting null. 

PM sent.


In this array you can see that the Wind and Gust values are 0.0:

{"T":"24.7","H":"57.0","P":"29.68","W":"0.0","G":"0.0","R":"0.02","D":"11.6","A":"14.5","B":"274","S":"0","UV":"0.0","Timestamp":"17:38:19"}

Right now I have 10 MPH winds and 20 MPH gusts.

Here is the actual realtime.txt file:

26/02/16 17:40:25 24.7 57 11.6 8.0 10.0 276 0.00 0.02 29.682 W 3 mph F in in 120.4 +0.045 3.61 6.03 0.46 67.0 30 15.9 -2.7 36.7 00:34 24.7 17:36 11.0 09:53 29.0 15:06 29.682 17:40 29.133 00:00 1.9.4 1099 18.0 24.7 24.7 0.0 0.000 0 275 0.00 7 1 0 W 2977 ft 14.5 0.0 0 0
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2016, 05:43:48 PM
PM
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 27, 2016, 01:28:15 AM
Made a small modification to the interactive graph block and can now show a comparison between outdoor and indoor temperatures.
I am not a great fan of "apparent temperature" so I just replaced it with the indoor temperature.

(http://www.manorts.com/images/indoortempgraph.png)
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on February 27, 2016, 03:29:15 AM
Good day, only one question Jachym, the station has given a wrong thing in rain tonight, and staff it has collected.
I then fixed the wrong thing, but in the template as rectified?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2016, 04:12:39 AM
How and where did you fix it?  Use the admin section to modify particular records.
Title: Meteotemplate
Post by: Jáchym on February 27, 2016, 12:53:33 PM
I guess this doesn’t need much comments, just wanted to say big thank you to everyone who supports me and for all the help and great feedback you gave me. Since there were so many people I have been in contact with in the past few months, I decided not to mention anyone in particular. I would never even in my wildest dream imagine this will grow so big, I expected maybe 2 or 3 people giving it a try just for fun...

Thanks!!!
None of this would be possible if I did not enjoy doing this and I enjoy it because I see it actually makes sense and people find it useful!

Jachym
(http://i63.tinypic.com/2w6f9qa.png)
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on February 27, 2016, 12:57:08 PM
You are welcome. Its a great template. :)
Title: Re: Meteotemplate - new free website template
Post by: justinhow on February 27, 2016, 05:47:28 PM
Oustanding work Jachym. You should indeed be very proud of what you have accomplished. A true labour of love.
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 27, 2016, 07:40:18 PM
(http://www.manorts.com/smiley/smileys_ani_60/smiley026.gif)
(http://www.manorts.com/smiley/computing/post23.gif)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 28, 2016, 02:39:23 PM
(http://www.manorts.com/smiley/smileys_ani_60/smiley026.gif)
(http://www.manorts.com/smiley/computing/post23.gif)

LOL except I dont have that notebook next to my keyboard.... it's been a very long time since I actually had to write something with my hand... except signatures
Title: Bloomsky
Post by: Jáchym on February 29, 2016, 01:28:06 PM
Just a little question,
I was using Tom´s API for testing my Bloomsky plugin, unfortunately his camera stopped working so I had to stop the CRON job.

If anyone is using the plugin and would be willing to share their API I would appreciate it and it would allow me to further work on it.
Title: Re: Bloomsky
Post by: cjohlandt on February 29, 2016, 03:10:49 PM
Just a little question,
I was using Tom´s API for testing my Bloomsky plugin, unfortunately his camera stopped working so I had to stop the CRON job.

If anyone is using the plugin and would be willing to share their API I would appreciate it and it would allow me to further work on it.

PM sent.

-Chris
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 29, 2016, 03:17:02 PM
Jachym,
Let me know if you still need it. 

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 29, 2016, 05:12:15 PM
Thanks Paul and all the rest of you who already sent me their API via PM. I now have three to choose from :D
Title: Re: Meteotemplate - new free website template
Post by: justinhow on February 29, 2016, 06:38:43 PM
Hi Jachym,
Just a suggestion for you to think about.
What about an RSS/news feed block that allows links to others RSS feeds. So We could put news feeds to places like the UK Metoffice and others.
Not sure how difficult that may be of course. :?

Cheers
Justin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 29, 2016, 06:46:46 PM
I guess technically not so difficult, but the problem is that each feed has a unique structure, I will look into it, but usually these are XML files and you have to know the format of it
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 29, 2016, 07:10:13 PM
...but the problem is ...

OK maybe not :)
Title: Re: Meteotemplate
Post by: Skyview on February 29, 2016, 08:50:05 PM
I guess this doesn’t need much comments, just wanted to say big thank you to everyone who supports me and for all the help and great feedback you gave me. Since there were so many people I have been in contact with in the past few months, I decided not to mention anyone in particular. I would never even in my wildest dream imagine this will grow so big, I expected maybe 2 or 3 people giving it a try just for fun...

Thanks!!!
None of this would be possible if I did not enjoy doing this and I enjoy it because I see it actually makes sense and people find it useful!

Jachym
(http://i63.tinypic.com/2w6f9qa.png)

I'm glad that very early on I encouraged you to continue. See, I told you it would just take a little time to catch on  =D&gt; \:D/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 29, 2016, 10:02:16 PM
Quote
I'm glad that very early on I encouraged you to continue.
Yes, has come a long ways since the first discussions and beta testing =D&gt;

Paul
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 01, 2016, 04:53:37 AM
The block fire Danger, I always mark 0, and the plugin I have also installed 34 brand me, I have to change something in configuration?
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2016, 05:05:38 AM
No, that is correct Juan.

The plugin shows the CBI index, which is a number between 0 and 100. 34 is very low.

The block shows the Fire Danger Index. This index is based on the CBI number, so 34 CBI is very low -> fire danger 0. The Fire Danger Index is a number between 0 and 4.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 01, 2016, 05:56:33 AM
Hello Jachym
The correct translation is
[ 'MondayAbbr'] = 'Lun';
It is in the old version of Lang: es.php -----------> [ 'mondayAbbr'] = 'Lun';
has been modified in the new Lang: es.php ---------> "mondayAbbr", "Mon"
works correctly

Juan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2016, 06:00:58 AM
Hi Juan,
I modified the translation for Monday - abbreviation in Spanish to "Lun"

Try the new download file:
http://www.meteotemplate.com/web/translations/index.php
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 01, 2016, 06:31:12 AM
Theme, template colors, that serves the entire color palette, which appears in the template, because I want to put a light background to the Blocks on a blue background.
lets not select me, Set 1 always get the right color and September 2 exactly the same, where I could read instructions changing colors.
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2016, 06:34:23 AM
Hi,
unfortunately I dont understand what you mean can you explain a bit more, or maybe post a screenshot?
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 01, 2016, 06:44:36 AM
Sorry, my question is how to customize the colors of the template, because I always go by default the same and I want to put them in my opinion, where can I find instructions to do so, thanks.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2016, 06:58:02 AM
In the config.php:

parameters:
design - your main color
design2 - secondary color, used for menus, headings etc.
Title: Meteotemplate - New plugin - Climate US
Post by: Jáchym on March 01, 2016, 10:31:10 AM
Hi guys,

a new plugin is now available. In the current template there is also a page about climate. As I explained earlier, because I made this database all by myself from tens of different sources and because it is global, the number of stations available is limited.

Now there is a new plugin available, this time specifically for the United States. It includes three different pages and has data for any NOAA station in the U.S.

It includes climate normals and parameters such as avg, max, min temperature, precipitation, snowfall, heating/cooling degree days etc. The information is provided using interactive graphs, sortable tables and there is also a map.

I used the plain text files provided by NOAA and visualized them in a slightly more understandable way. But because I always try to have some added value, I created two additional pages.

In addition to the page with detailed analysis of a single station, there is also a page that compares two stations side by side. You can immediately see the differences on the graphs and in the tables, the actual value of the difference is also calculated.

Then, the last page is also quite interesting. It is basically the same page as the comparison page, but this time, you only choose one station and it will compare it to your own station, using data from your MySQL database.

As always, the plugin adjusts the units, colors and all the other settings based on your config.php.

Hope you enjoy it, installation cannot be simpler (just set default station)

Install instructions/download: http://www.meteotemplate.com/web/plugins/climateUS.php (http://www.meteotemplate.com/web/plugins/climateUS.php)

DEMO: http://www.meteotemplate.com/template/plugins/climateUS/index.php (http://www.meteotemplate.com/template/plugins/climateUS/index.php)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 01, 2016, 11:13:14 AM
Thanks Jachym,
I have it added and it is interesting to compare my station to Port Huron, MI just 50 miles to the west http://www.komokaweather.com/j-template/plugins/climateUS/comparisonStation.php?id=USC00206680 (http://www.komokaweather.com/j-template/plugins/climateUS/comparisonStation.php?id=USC00206680)
 
I guess some of the differences are because of our locations related to Lake Huron.
 
Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 01, 2016, 11:44:19 AM
Congratulations on the 100 users Jachym!

Thank you for the updated 'current' block - perhaps other WS-1001 users will be able to take advantage of this at some point. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2016, 12:38:47 PM
I guess, though Im not sure if anyone else uses the WS1001 in combination with the script you use.
Title: Re: Meteotemplate
Post by: SpringHillWeather on March 01, 2016, 10:01:55 PM
I guess this doesn’t need much comments, just wanted to say big thank you to everyone who supports me and for all the help and great feedback you gave me. Since there were so many people I have been in contact with in the past few months, I decided not to mention anyone in particular. I would never even in my wildest dream imagine this will grow so big, I expected maybe 2 or 3 people giving it a try just for fun...

Thanks!!!
None of this would be possible if I did not enjoy doing this and I enjoy it because I see it actually makes sense and people find it useful!

Jachym
(http://i63.tinypic.com/2w6f9qa.png)

Thank you Jachym for creating Meteotemplate!
It has come a long way and all your hard work is appreciated.


Title: Re: Meteotemplate - New plugin - Climate US
Post by: SpringHillWeather on March 01, 2016, 10:06:47 PM
Hi guys,

a new plugin is now available. In the current template there is also a page about climate. As I explained earlier, because I made this database all by myself from tens of different sources and because it is global, the number of stations available is limited.

Now there is a new plugin available, this time specifically for the United States. It includes three different pages and has data for any NOAA station in the U.S.

It includes climate normals and parameters such as avg, max, min temperature, precipitation, snowfall, heating/cooling degree days etc. The information is provided using interactive graphs, sortable tables and there is also a map.

I used the plain text files provided by NOAA and visualized them in a slightly more understandable way. But because I always try to have some added value, I created two additional pages.

In addition to the page with detailed analysis of a single station, there is also a page that compares two stations side by side. You can immediately see the differences on the graphs and in the tables, the actual value of the difference is also calculated.

Then, the last page is also quite interesting. It is basically the same page as the comparison page, but this time, you only choose one station and it will compare it to your own station, using data from your MySQL database.

As always, the plugin adjusts the units, colors and all the other settings based on your config.php.

Hope you enjoy it, installation cannot be simpler (just set default station)

Install instructions/download: http://www.meteotemplate.com/web/plugins/climateUS.php (http://www.meteotemplate.com/web/plugins/climateUS.php)

DEMO: http://www.meteotemplate.com/template/plugins/climateUS/index.php (http://www.meteotemplate.com/template/plugins/climateUS/index.php)

Wow this is great! 

Will be very nice to do comparisions now and have graphs.
Good Job Jachym!
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 02, 2016, 02:31:57 AM
Congratulations Jachym for all the efforts to create such an amazing template!
Did you release any update for the stickers? Your sticker is displaying date and time of your latest data in the upper corner. Could i have the same please?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2016, 04:43:17 AM
Congratulations Jachym for all the efforts to create such an amazing template!
Did you release any update for the stickers? Your sticker is displaying date and time of your latest data in the upper corner. Could i have the same please?

Hi Johnny,


LOL I was wondering if someone notices it :D Yes I did change the stickers code, but havent released it yet and currently am only testing it myself. I want to make a few more changes and then release the updated version :-)
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 02, 2016, 06:59:07 AM
Hi Jachym,

I just noticed that the new version of "summary" block doesn't work for the Forecast tab. It obviously doesn't fetch the forecast data from yr.no. What should i do to fix it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2016, 07:17:15 AM
Hmmm... do you see any errors in your error log? If so, send them to me by PM or email, I know your server is sometimes problematic :D
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 02, 2016, 07:55:27 AM
Hmmm... do you see any errors in your error log? If so, send them to me by PM or email, I know your server is sometimes problematic :D
It has a lot of errors, but i guess that all of them are 4 or 5...
I sent you PM.
Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 02, 2016, 11:57:51 PM
Even though the default colour scheme is nice plus the fact the colours can be changed,
is it or would it be possible to have textures rather than flat colours?
eg

(http://www.manorts.com/images/textures.png)



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2016, 05:12:51 AM
Hi Colin,.
I cant really imagine how you would want to use textures, the text, tables etc. have to have a color, maybe the main background could have a texture, but Im definitely not a big fan of this idea. I originally didnt even include the gradients and also recommend not to use it. Once you start putting textures etc. in table headers, backgrounds, it all becomes rather confusing.
Since there is lots of info, number, graphs, you really dont want to distract the user and make the user experience as good as possible. The template also uses some concepts of the so-called material design, which uses no 3D effects, shadows, just very simple, clean look, flat icons etc.
Title: Meteotemplate - New Block - RSS Feed Reader
Post by: Jáchym on March 03, 2016, 10:39:59 AM
Hi guys,

a new block is now available. It is called “RSS feed” – the purpose of it is quite obvious.

Features:

- specify as many RSS feeds as you like and it will display them (assuming they confirm to the proper RSS format)
- items are automatically sliced into pages and you can specify the maximum number of items per page
- you can also limit the length of the text for one item, which means if it is longer, it will be truncated at the nearest word, but making sure any HTML tags are preserved.
- supports pictures

I hope most of the RSS will work, obviously I was not able to test every single RSS feed there is and I did find a few which did not work, however, those that did not simply did not work because they were not properly formatted as an RSS feed.

Just one last thing, if you install it, please just let me know whoever is first if it works so that Im sure it is ok (though I tested it and it should be fine)

Enjoy

Download/screenshots: http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 03, 2016, 11:02:02 AM
Great block Jachym  =D&gt; I've two feeds added from our National Weatherservice (KNMI) Forecast and Alerts both are in Dutch
Title: Re: Meteotemplate - New Block - RSS Feed Reader
Post by: KapitainOne on March 03, 2016, 11:54:19 AM
Hi guys,

a new block is now available. It is called “RSS feed” – the purpose of it is quite obvious.

Features:

- specify as many RSS feeds as you like and it will display them (assuming they confirm to the proper RSS format)
- items are automatically sliced into pages and you can specify the maximum number of items per page
- you can also limit the length of the text for one item, which means if it is longer, it will be truncated at the nearest word, but making sure any HTML tags are preserved.
- supports pictures

I hope most of the RSS will work, obviously I was not able to test every single RSS feed there is and I did find a few which did not work, however, those that did not simply did not work because they were not properly formatted as an RSS feed.

Just one last thing, if you install it, please just let me know whoever is first if it works so that Im sure it is ok (though I tested it and it should be fine)

Enjoy

Download/screenshots: http://www.meteotemplate.com/web/blocks.php

Looking good here http://www.sanfordweather.com/meteo/

Thanks
Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2016, 12:11:30 PM
:)
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 03, 2016, 12:40:31 PM
Love the RSS feed block Jachym - its on my site now. That was super quick from suggestion to launch!  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2016, 12:48:17 PM
Love the RSS feed block Jachym - its on my site now. That was super quick from suggestion to launch!  =D&gt;

Thank you Justin
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 03, 2016, 06:30:47 PM
Hi Jachym,
It is easy to set up and works with the default/included RSS feeds.  However, I have added my own weather RRS Feed link http://www.komokaweather.com/weather/cumulusrss.php (http://www.komokaweather.com/weather/cumulusrss.php) in the settings.php and when selecting this from http://www.komokaweather.com/j-template/index.php (http://www.komokaweather.com/j-template/index.php) it gives an error.
Quote
Fatal error:  Call to a member function item() on a non-object in /home/content/96/5379896/html/j-template/homepage/blocks/rssFeed/reader.php on line 41

I admit I know very little about RSS Feed and any suggestions to get this working is appreciated.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2016, 06:40:31 PM
Can you post link to the particular RSS feed you are trying to use? Most likely this is one of those RSS feeds not properly formatted...
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 03, 2016, 06:44:17 PM
Hi Jachym,
Link is http://www.komokaweather.com/weather/cumulusrss.php (http://www.komokaweather.com/weather/cumulusrss.php)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2016, 07:01:05 PM
I see... it is because it is missing the "link" element, I will try to modify the script to make this optional, but in normal case each feed item has also the link property, with a link to the full page
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2016, 07:14:19 PM
OK, so I checked the feed and it is as I suspected, it is the missing "link" property that is causing this.

One other person also had problems with loading an RSS feed from the NWS - in this case it was because it returned "access forbidden" - I was already able to find a workaround to this, so what I will do is try to also deal with situations where the "link" property is not available and then release an updated version of the whole block.

For now just delete this particular one and I will try to fix it asap so that you can add it.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 03, 2016, 07:45:49 PM
Thanks Jachym,
With the help and persistence of a forum member a couple of years ago I was able to create this KomokaWeather RSS Feed and by Cumulus processing the file at each regular web update.  It would be great if you can make it work as a block =D&gt;
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 03, 2016, 10:31:08 PM
Hi Jachym,
Fair comment but I think it would nice to have the option of choosing a background image for the blocks.
Would it be possible to further customise the themes for the blocks. The menu bar is okay but I think it looks a bit "odd" having some blocks different colours. The current, snow and summary share the same colour as the menu bar. How can you change these so they are the same colour as other blocks and a different colour to the menu bar?

EDIT: Found it. You can change the colour scheme of the current block by editing the currentBlock.php and changing the style from $design2 to $design1
Other blocks do not have that option.

Hi Colin,.
I cant really imagine how you would want to use textures, the text, tables etc. have to have a color, maybe the main background could have a texture, but Im definitely not a big fan of this idea. I originally didnt even include the gradients and also recommend not to use it. Once you start putting textures etc. in table headers, backgrounds, it all becomes rather confusing.
Since there is lots of info, number, graphs, you really dont want to distract the user and make the user experience as good as possible. The template also uses some concepts of the so-called material design, which uses no 3D effects, shadows, just very simple, clean look, flat icons etc.
Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 04, 2016, 05:06:45 AM
 ](*,) Hi I use the Meteotemplate on first of march my wife accedently pulled the plug/usb out of my weather station now the data base wont up date it stuck at 20:41:19.of that day. my site is at www.haddenham-weather.co.uk/hadds

this is from the crone job
Fetched URL
http://www.haddenham-weather.co.uk/hadd ... .php?pass=
Status
200 OK
Response headers

Date: Thu, 03 Mar 2016 23:15:02 GMT
Server: Apache/2.4.18 (Unix)
X-Powered-By: PHP/5.5.32
Transfer-Encoding: chunked
Content-Type: text/html


Latest DB record timestamp detected: 2016-03-01 20:41:19<br>Latest cached timestamp detected: 1970-01-01 01:00:00<br>Smallest interval between uploads to database set to: 300 seconds.<br>Difference between latest db timestamp and cached timestamp: -1456864879 seconds.<br>The difference between last db update and current data is not yet larger than the set interval. Current data is saved into temporary cache.<br>

Thanks
Jim


Now Resolved
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 04, 2016, 05:13:53 AM
I hereby confirm that "RssFeed" works perfect!
Congratulations Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2016, 05:25:36 AM
Hi Jachym,
Fair comment but I think it would nice to have the option of choosing a background image for the blocks.
Would it be possible to further customise the themes for the blocks. The menu bar is okay but I think it looks a bit "odd" having some blocks different colours. The current, snow and summary share the same colour as the menu bar. How can you change these so they are the same colour as other blocks and a different colour to the menu bar?

EDIT: Found it. You can change the colour scheme of the current block by editing the currentBlock.php and changing the style from $design2 to $design1
Other blocks do not have that option.

Hi Colin,.
I cant really imagine how you would want to use textures, the text, tables etc. have to have a color, maybe the main background could have a texture, but Im definitely not a big fan of this idea. I originally didnt even include the gradients and also recommend not to use it. Once you start putting textures etc. in table headers, backgrounds, it all becomes rather confusing.
Since there is lots of info, number, graphs, you really dont want to distract the user and make the user experience as good as possible. The template also uses some concepts of the so-called material design, which uses no 3D effects, shadows, just very simple, clean look, flat icons etc.

Hi Colin,
you are right and not rigth at the same time :D The blocks you mention do not use a different color than the others, the reason it looks like it is because tables have different styling and these blocks in fact are made up of one big table, so it might look like they have a different color, though the styling is the same as for the others.
There is one slight technical problem with what you are suggesting. It is related to the way I programmed this at the beginning, I realize now it was a mistake, but unfortunately, unless I changed every single page of every plugin, block and the whole template the textures would be problematic. I will try to explain what I´ve done... basically the file which specifies the colors for the various color schemes, has codes for these colors.
Here is a simple example of what I should have done:
Eg:
background: XXXX
- and here insert the particular color from the color definition file, eg. "#ffffff", which would be white.

Now in such case it would be very simple to just replace "#ffffff" in the definition file with something like "url(yourbg.png)" and it would use a background image.

So far so good, except I made one fundamental "mistake".... in the color definitions file, the "#" symbol is not included in the actual codes, which means that this is specified in the actual styling, so everytime I query this file for the color code, I have to use this:

background: #.... -> here it fills in the code.

Now obviously this works fine as long as you are using colors. However, if I put in image, it would not work, the syntax would be incorrect. In such case, you would obviously not use the "#".
If you used it, it would look like:
background: #url("yourBg.png) -> this is not proper CSS syntax and would not work
or
I would not include it:
background: .... -> here your image will work, but... none of the colors would work, because it would be missing the "#" symbol.

I should have included the # in the color codes and then not write it before where the code is inserted (I hope you see what I mean). Unfortunately this is what I have done, so in the entire template, all pages, all plugins, all blocks, I have included the # before querying the file and to make textures/bg images work I would have to:
1. change the codes in the color code file and include the # there (this is actually not difficult and I could easily do that)
2. change all the pages (obviously this is used on every single page for every single heading, text color, header, footer, menu, all plugins pages, block pages etc.) and delete the # before each query to the color file -> this is a problem... for example even if I did go through every single page, I would then be in a difficult position because in the future I would have to make each block and plugin without it - so this means that it would not be compatible with the original file. In practice this means that everyone would have to update every single page of their template, including their custom pages, menu, header, footer etc etc... otherwise none of the future blocks, plugins etc would work and they would not even be able to perform any update unless really changing everything too...

And as I explained earlier, I dont even think this is a good idea and does not really move the template in a direction I want it to go. I do understand some people like you might prefer it and I probably would consider including it (just like I did with the gradients), but given the problems I stated above, currently the answer is probably no, this will not be supported.

Hope it makes sense, I regret what I did about the colors, maybe I will find a workaround in the future, but right now it is not techniclly possible to implement unless changing every single page.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2016, 05:31:49 AM
](*,) Hi I use the Meteotemplate on first of march my wife accedently pulled the plug/usb out of my weather station now the data base wont up date it stuck at 20:41:19.of that day. my site is at www.haddenham-weather.co.uk/hadds

this is from the crone job
Fetched URL
http://www.haddenham-weather.co.uk/hadd ... .php?pass=
Status
200 OK
Response headers

Date: Thu, 03 Mar 2016 23:15:02 GMT
Server: Apache/2.4.18 (Unix)
X-Powered-By: PHP/5.5.32
Transfer-Encoding: chunked
Content-Type: text/html


Latest DB record timestamp detected: 2016-03-01 20:41:19<br>Latest cached timestamp detected: 1970-01-01 01:00:00<br>Smallest interval between uploads to database set to: 300 seconds.<br>Difference between latest db timestamp and cached timestamp: -1456864879 seconds.<br>The difference between last db update and current data is not yet larger than the set interval. Current data is saved into temporary cache.<br>

Thanks
Jim

Hi Jim,
db should be ok. There is a problem with the cache file. I checked your realtime.txt and that looks good too so I can think of several possibilities:
- the path to realtime in the update file is not correct so it does not get the correct data from realtime
- problem with the permissions, it is unable to save the cache file so the cache is empty

The error you are getting shows that it does not have any data to write to the db, the date "1st Jan 1970" corresponds in computer language to date "0", which is what you get when there is no value defined. First thing to do is, check your path in cumulus.php, then make sure the directory is writeable and executable. I just looked also at your realtime cache file and indeed it is empty, so for some reason the script either does not read realtime correctly, or it cannot write the output in the cache file, which it then uses to update the db.

See if this solves this problem, if not let me know.

Also check this file in particular:
http://www.haddenham-weather.co.uk/haddenham-weather/hadds/update/RealtimeCache.txt

from the browser it shows like it is there, but empty. Also try deleting it and see if the script recreates it.
Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 04, 2016, 05:53:53 AM
$path = "realtime.txt"; // relative path of realtime.txt . what would be relative path




Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2016, 06:14:52 AM
Hi,
well this is the problem.
Relative path means the path of your realtime.txt in relation to the file from which you are calling it.
If you put just "realtime.txt" you are telling the script, the file is located in the same folder, which it is not:
http://www.haddenham-weather.co.uk/haddenham-weather/hadds/update/realtime.txt

Best thing to do in this case is to use absolute path (you could use relative by using "../../realtime.txt", but absolute is a safe bet.

Try this:
Code: [Select]
$path = "http://www.haddenham-weather.co.uk/realtime.txt"
If the above does not work because your server does not support file_get_contents method from external sources, then use this:
Code: [Select]
$path = "../../realtime.txt"
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 04, 2016, 08:22:56 AM
Hi Jachym
Re the NewsFeed block (not the RSS)
I have got this running in the bottom right column of my website (link in sig below)
Whenever I press any button (left right play etc) the complete homepage page scrolls immediately to the top.
Now this may be something on my site but I don't think so. I realise a lot of people would have this near the top of the page so would probably not notice.
Can you reproduce?
Cheers
Justin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2016, 08:41:15 AM
Yes I can, and Im not sure why it is doing this, it is using similar script as the RSS feed, which works fine... I will look at it once I finish what Im working on now
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 04, 2016, 08:58:04 AM
No hurry of course.
This might give you something to go on.
In the php file newsFeedBlock.php I have changed from href="# to href="#general. See code snippet below with the 4 changes. This appears to have fixed it - try my page again.
Code: [Select]
<div class="controls">
<a class="prev-button" href="#general
<img src="<?php echo $pageURL.$path?>icons/previous.png" class="controlIcon">
</a> 
<a class="next-button" href="#general">
<img src="<?php echo $pageURL.$path?>icons/next.png" class="controlIcon">
</a>
<a class="start-button" href="#general">
<img src="<?php echo $pageURL.$path?>icons/play.png" class="controlIcon">
</a>
<a class="stop-button" href="#general">
<img src="<?php echo $pageURL.$path?>icons/pause.png" class="controlIcon">
</a>
</div>
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 04, 2016, 09:09:45 AM
Forget that - now it just jumps to the bottom!  :oops:

I think this does work though - get rid of  href="#" completely:

Code: [Select]
<div class="controls">
<a class="prev-button">
<img src="<?php echo $pageURL.$path?>icons/previous.png" class="controlIcon">
</a> 
<a class="next-button">
<img src="<?php echo $pageURL.$path?>icons/next.png" class="controlIcon">
</a>
<a class="start-button">
<img src="<?php echo $pageURL.$path?>icons/play.png" class="controlIcon">
</a>
<a class="stop-button">
<img src="<?php echo $pageURL.$path?>icons/pause.png" class="controlIcon">
</a>
</div>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2016, 09:21:17 AM
Try this then:
Code: [Select]
<div id="general"><div class="controls">
<a class="prev-button" href="#general
<img src="<?php echo $pageURL.$path?>icons/previous.png" class="controlIcon">
</a> 
<a class="next-button" href="#general">
<img src="<?php echo $pageURL.$path?>icons/next.png" class="controlIcon">
</a>
<a class="start-button" href="#general">
<img src="<?php echo $pageURL.$path?>icons/play.png" class="controlIcon">
</a>
<a class="stop-button" href="#general">
<img src="<?php echo $pageURL.$path?>icons/pause.png" class="controlIcon">
</a>
</div></div>
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 04, 2016, 09:27:14 AM
That is good - thanks!
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 04, 2016, 07:45:54 PM
Hi Jachym,
Fair comment but I think it would nice to have the option of choosing a background image for the blocks.
Would it be possible to further customise the themes for the blocks. The menu bar is okay but I think it looks a bit "odd" having some blocks different colours. The current, snow and summary share the same colour as the menu bar. How can you change these so they are the same colour as other blocks and a different colour to the menu bar?

EDIT: Found it. You can change the colour scheme of the current block by editing the currentBlock.php and changing the style from $design2 to $design1
Other blocks do not have that option.

Hi Colin,.
I cant really imagine how you would want to use textures, the text, tables etc. have to have a color, maybe the main background could have a texture, but Im definitely not a big fan of this idea. I originally didnt even include the gradients and also recommend not to use it. Once you start putting textures etc. in table headers, backgrounds, it all becomes rather confusing.
Since there is lots of info, number, graphs, you really dont want to distract the user and make the user experience as good as possible. The template also uses some concepts of the so-called material design, which uses no 3D effects, shadows, just very simple, clean look, flat icons etc.

Hi Colin,
you are right and not rigth at the same time :D The blocks you mention do not use a different color than the others, the reason it looks like it is because tables have different styling and these blocks in fact are made up of one big table, so it might look like they have a different color, though the styling is the same as for the others.
There is one slight technical problem with what you are suggesting. It is related to the way I programmed this at the beginning, I realize now it was a mistake, but unfortunately, unless I changed every single page of every plugin, block and the whole template the textures would be problematic. I will try to explain what I´ve done... basically the file which specifies the colors for the various color schemes, has codes for these colors.
Here is a simple example of what I should have done:
Eg:
background: XXXX
- and here insert the particular color from the color definition file, eg. "#ffffff", which would be white.

Now in such case it would be very simple to just replace "#ffffff" in the definition file with something like "url(yourbg.png)" and it would use a background image.

So far so good, except I made one fundamental "mistake".... in the color definitions file, the "#" symbol is not included in the actual codes, which means that this is specified in the actual styling, so everytime I query this file for the color code, I have to use this:

background: #.... -> here it fills in the code.

Hello Jachym,

Thank you for the detailed answer, it helps me understand a bit more.
Actually, there is nothing I do not like about your templates, because you can add or remove sections as you please. The layout is great and configurable and the colour schemes are nice.
I only ask these questions to better understand php and style sheets so that would enable me to make some changes that satisfy my personal preferences. So when I ask questions, please do not think I am being critical or making a feature request.

I do not think you made a "mistake" because it does exactly what you want and it works. You just did it differently. And you have done a tremendous job doing it.

During the 1980's I did a fair amount of assembler programming with the Z80 processor and up until about 2010 PIC micro's. I know from experience  that 10 people could write some code to do a task and everyone could do it differently, but the results were always the same - the code worked.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2016, 08:00:10 PM
Hi Colin,

first of all - I really appreciate your feedback and I am absolutely opened to suggestions. In fact a while ago when I made that questionnaire I received about 10 replies. And some of them were only positive. Now, Im not sure if those people simply wanted to be nice or if they really felt it that way, but look at this example:

Feedback 1: I really like X and Y, I love Z, what I dont like? Nothing really, it is all great.
Feedback 2: I actually quite like it, but I think you could add X and Y, on page XY, this and this doesnt work, maybe you could also consider....

So, now, which feedback do you think was more useful to me...

Obviously I welcome all ideas, I cannot think of everything and I always try to listen to what people want. And in fact I did not think about textures in particular, but I did think about bg images in the past and that was when I realized this mistake I made - yes it was a mistake, because it now limits the whole thing.

Either way, I will see what I can do, maybe I will find a workaround. In all cases, always let me know anytime you have an idea, a tip, question, find a bug etc. I welcome it.
Title: climateUS & rssFeed
Post by: cjohlandt on March 04, 2016, 10:04:44 PM
Hello Jachym,

I was finally able to install the new climateUS plugin and rssFeed block this evening.  It's tough keeping up with you  :-)

The climateUS plugin works great and gives me some incentive to finally upload my history.  Unfortunately, I ran into a problem with the rssFeed block.  When I try to display http://mesonet.agron.iastate.edu/iembot-rss/wfo/klwx.xml, I get "Fatal error: Call to a member function item() on a non-object in /home/cedarrid/public_html/homepage/blocks/rssFeed/reader.php on line 42". Any help is appreciated.

Thanks!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 04, 2016, 10:57:56 PM
Chris,

I like your Dashboard on the menu. Looks neat.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 04, 2016, 11:07:36 PM
Jachym,

This is what I am trying to achieve. Got to clean up the black and brown borders and perhaps the light grey background.
Unfortunately, my method does not work on some blocks, they are too complex for me to understand just yet.
The ones I have done was by wrapping the code in a div tags so the whole block could have it's own style.
(http://www.manorts.com/images/meteotexture.png)
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on March 04, 2016, 11:34:43 PM
Chris,

I like your Dashboard on the menu. Looks neat.
Thank you Colin.  It was created by weatherist34 (http://www.wxforum.net/index.php?action=profile;u=14134).  You can get more info about it and request your own version on his website at http://www.idesign34.com/homepws/homeweather.html (http://www.idesign34.com/homepws/homeweather.html).

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 05, 2016, 10:13:53 AM
Hi folks.

I'm now the proud owner of a Davis Vantage Pro2. Yesterday, I set up the 'current' block to read my realtime.txt that gets updated by Cumulus - every 10 seconds. All was well until this morning! The wind gust and speed measurements do not update, everything else does though, including the wind bearing. I'm stumped as to why this has stopped, and wondered if anybody else has had this issue?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 10:19:28 AM
Quote
I'm now the proud owner of a Davis Vantage Pro2.
Congratulations =D&gt;
 
Re wind update, does the console look correct?  Do you have Weatherlink, and if so can you stop Cumulus and run WL and see if it is the same?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 10:19:56 AM
Hi Tina,
I checked your site and I noticed a strange thing. Sometimes I did get data, sometimes not, this suggests to me the script is working fine, and in fact I dont even see why it would only load temperature, humidity etc. But then it updated and there was 0 again, then number again etc. This makes me suspect it must be some issue with your realtime.txt, station data upload etc., but as far as I can see now, this is not a problem with the PHP script, if it was it would simply never work.

EDIT: well now it doesn't work at all, I guess you are just playing around with it as I write :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 05, 2016, 10:24:09 AM
I find it really confusing myself, as I touched nothing, because it was working lovely!

http://www.warehamwx.com/cu/realtime.txt

I've just closed Cumulus, and restarted it, now I have no values at all. lol
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 10:30:33 AM
Your realtime.txt file seems correct and is updating every 10 sec or so
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 10:32:56 AM
I've just closed Cumulus, and restarted it, now I have no values at all. lol

Which suggests there is a problem somewhere in your Cumulus/server settings, but unfortunately I really cant see what it could be, I dont use either Cumulus or Davis and the script works for other people using the same configuration
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 10:43:15 AM
Jachym,

This is what I am trying to achieve. Got to clean up the black and brown borders and perhaps the light grey background.
Unfortunately, my method does not work on some blocks, they are too complex for me to understand just yet.
The ones I have done was by wrapping the code in a div tags so the whole block could have it's own style.
(http://www.manorts.com/images/meteotexture.png)

Hi,
the current block is the only one which uses a different bg color - I wanted to put more emphasis on it.
The other blocks use the same settings, the reason why you see them as a different color is because they are basically one big table, and the table styling uses your secondary color, so you need to change then the CSS of the "table" class.

In your block, you could try inserting the style element and override the default table design:

Code: [Select]
<style>
.table th{
background: #<?php echo $color_schemes[$design]['900']?>!important;
color: #<?php echo $color_schemes[$design]['font900']?>!important;
}
.table tr:nth-child(even) {
background: #<?php echo $color_schemes[$design]['400']?>!important;
color: #<?php echo $color_schemes[$design]['font400']?>!important;
}
.table tr:nth-child(odd) {
background: #<?php echo $color_schemes[$design]['600']?>!important;
color: #<?php echo $color_schemes[$design]['font600']?>!important;
}
.table tbody tr:hover td{
background: #<?php echo $color_schemes[$design]['800']?>!important;
color: #<?php echo $color_schemes[$design]['font800']?>!important;
}
.table tfoot tr{
background: #<?php echo $color_schemes[$design]['900']?>!important;
color: #<?php echo $color_schemes[$design]['font900']?>!important;
}
</style>


This will switch the table colors to primary color
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 11:09:08 AM
Ok, I am joining Mapantz in this problem.  I seem to recall an earlier discussion on this and can't recall how it was left, but I'd forgotten about it.
 
Cumulus realtime.txt sends the correct data.  I have checked this against my program, as well as Mapantz and that realtime.txt file
The Current box on my www.komokaweather.com/j-template (http://www.komokaweather.com/j-template) does not show the high wind gust.  I am not going to swear that it never has as I wasn't looking at it directly, but it is 0 for me all the time now.  The current wind speed is showing for Mapantz Current box the same as the realtime.txt, and mine may be ok except there is no wind so shows zero.
 
Does anyone else using Cumulus see a gust on their Current block?
 
I have looked at the currentBlock.php but can't detect anything there.  The MySQL database does have the correct W and G data.
 
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 11:17:22 AM
Interesting, the current block does not use the db, it takes the numbers straight from the realtime.txt.

Can you send me link to your realtime Paul? Thanks
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 11:30:10 AM
HI Jachym,
The realtime.txt is at www.komokaweather.com/weather/realtime.txt (http://www.komokaweather.com/weather/realtime.txt)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 11:40:54 AM
Thanks Paul,
it looks like there could be a problem in the wind conversion function. I will need to look at this thoroughly, it is slightly difficult doing this on my laptop, I will stay after work on Monday in my office and do it there.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 04:16:01 PM
Hi Jachym,
I tried changing some things in updater.php
Quote
  $current['W'] = number_format(convertW($realtimeData[5]),1,".","");
  # $current['G'] = number_format(convertW($realtimeData[6]),1,".","");
  $current['G'] = number_format(convertW($realtimeData[32]),1,".","");
but that didn't make a difference.  Also checked http://www.eastberks-weather.com/index.php (http://www.eastberks-weather.com/index.php)# where the gust is shown so wondered if Justin is taking it from the DB.  Changed my settings to use DB instead of Cumulus realtime.txt and now the gust shows in the current block.  Hope this helps.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 05:19:36 PM
Hi Paul,
there is a problem with the conversion function, so far I was not able to figure out why it is not working - especially since the same function is applied for the conversion of temperature units and that works fine...

I have it now as priority number 1 and will try to find a fix asap
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 05:40:51 PM
No rush, certainly no panic, just wanted to let you know what I have tried to help.
 
Paul
Title: Current Block - bug fix
Post by: Jáchym on March 05, 2016, 05:45:46 PM
I have uploaded a new version of the Current block, version 2.4.

In this version:
- bug fix for Cumulus wind/gust
and I have also added support for direct data retrieval from the WS1001 stations.

Just download the package and then:
- if you do not use WS1001, then simply replace all the files except for the icons and the settings.php (ie. replace currentBlock.php and updater.php). You can use your old settings.php
- if you want to use it with the newly added WS1001 support, then obviously you need to set that up in settings.php (follow the instructions in the file)

I would again appreciate if someone could confirm it works, especially the Cumulus wind/gust
Title: Re: Current Block - bug fix
Post by: Mapantz on March 05, 2016, 06:12:16 PM
I have uploaded a new version of the Current block, version 2.4.

In this version:
- bug fix for Cumulus wind/gust
and I have also added support for direct data retrieval from the WS1001 stations.

Just download the package and then:
- if you do not use WS1001, then simply replace all the files except for the icons and the settings.php (ie. replace currentBlock.php and updater.php). You can use your old settings.php
- if you want to use it with the newly added WS1001 support, then obviously you need to set that up in settings.php (follow the instructions in the file)

I would again appreciate if someone could confirm it works, especially the Cumulus wind/gust

You beauty! Thanks Jachym - all working. :)

I've only got 1mph winds at the moment, so it was just enough to see.  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 06:15:14 PM
Thanks Tina for letting me know.

OT: I really think I should compile the files for the stickers.php plugin update, I made that one long time ago and so in the new version I did lot of things differently, as you can now see directly side by side, one of the things I dont like about the current banner is that it shows redundant decimal places for rain and pressure when you compare it with my current signature banner, which is the new version (also has date and time)

Hopefully it will work for Paul as well
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 06:58:28 PM
Hi Jachym,
Just noticed Mapantz reply and glad that is working.  However I haven't been able to get it to show anything yet.   Since that is for the "current" wind and the realtime.txt updates every 10 sec or so and it is not blowing much here I may not have caught it yet.  I will keep looking and let you know.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 07:01:22 PM
Thanks for the update Paul, I think I found why it was doing it and it should work fine now. Again sorry for that, I would have noticed this much earlier, but since I dont use Cumulus myself I did not, because the problem was just if you specified "cumulus" in the settings.php and it was working fine when using WD/db/WS1001 or Meteobridge. Let me know - I am at home now so I dont want to risk having to restart my PC by looking at your site LOL :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 07:11:07 PM
Try www.komokaweather.com/j-template/indexM.php (http://www.komokaweather.com/j-template/indexM.php)  ;)
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 07:14:12 PM
Im actually checking directly the output of current block and comparing it with your realtime and it is now still 0, but so is your realtime

http://www.komokaweather.com/j-template/homepage/blocks/current/updater.php?type=cumulus&path=http%3A%2F%2Fwww.komokaweather.com%2Fweather%2Frealtime.txt
http://www.komokaweather.com/weather/realtime.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 07:39:23 PM
I always thought Canada was a windy country :D..... just been watching your clientraw for about 10 minutes and wind/gust 0.0 nonstop :D if it was not freezing I would ask you to go and blow on the anemometer :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2016, 07:57:05 PM
It is most often no winds overnight unless there is a storm coming.  Will likely be tomorrow before I can tell.  If you want to keep watching this will be easier http://www.komokaweather.com/weather/console/cumulusframe.php ;)

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2016, 08:00:16 PM
 :grin:
I am watching this:
http://www.komokaweather.com/weather/realtime.txt

(http://3.bp.blogspot.com/-EAhWuJTSXW8/U5aGtpGK_zI/AAAAAAAAIT0/FJ1cRM6cx1s/s1600/yawning-smiley-face.png)

and it is past 2AM now :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 06, 2016, 01:23:46 AM
Jachym,

I have most of it worked out but cannot find a couple of things.
1. How can I change the spacing between the blocks?
      If I change the design through settings, the interactiveGraph background colour changes (of course)
2. Is there a way to override the interactiveGraph block's background colour?

One other small thing regarding the rainBlock. Rain today shows 3 decimal places where it does not in other blocks. How can I fix this?

If you want to see what it looks like so far, go here: www.manorts.com/meteotest

Regards
Colin

Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 06, 2016, 07:49:07 AM
Wind works now fine with the new cuurrent block (cumulus realtime.txt)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 06, 2016, 10:06:14 AM
Yippee, I have a wind gust \:D/
 
Colin, your site looks very nice.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 06, 2016, 10:21:12 AM
Jachym,

I have most of it worked out but cannot find a couple of things.
1. How can I change the spacing between the blocks?
      If I change the design through settings, the interactiveGraph background colour changes (of course)
2. Is there a way to override the interactiveGraph block's background colour?

One other small thing regarding the rainBlock. Rain today shows 3 decimal places where it does not in other blocks. How can I fix this?

If you want to see what it looks like so far, go here: www.manorts.com/meteotest

Regards
Colin

Hi Colin,
I see you set the block bg as a texture, I dont think you can do that in Highcharts, but you can try make it transparent and set the block background to the texture.

Try this:
Go to your interactiveBlock folder and then in graph.php, line 959, try changing it to this:

Code: [Select]
backgroundColor: null,
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 06, 2016, 12:49:14 PM
Well I am in the midst of backing up /j-template folder from webserver.  Looks like about 8600 plus files...  That's a lot of files you've created Jachym :shock:
 
Earlier this morning everything I looked and used - snow update, etc. - was working and showing ok.  Then shortly thereafter found that plugins wouldn't work.  After some frantic looking and searching, found my whole /plugins/ folder was GONE from webserver.  Good thing I have a fair system for downloading and saving of scripts after editing on my computer.  And the daily/weekly/monthly computer folder backups also help to avoid total unrecoverable disaster.
 
I have re-uploaded 47 plugins and checked them and think they are all fine again.  If anyone is viewing and find something is not working please let me know.  Any files that get updated by scripts on the webserver would not be up to date from my re-upload but I don't think there are many that won't recover.
 
I don't know what caused this folder to disappear as I wasn't doing any work on the server files that I can recall, and am usually pretty cautious by renaming files to be replaced, etc.  Do I have a thief visitor???

So a reminder to all:  Backup, backup, and BACKUP!!!!

 
Enjoying again,
Paul
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 06, 2016, 04:38:26 PM
Hi Jachym,

As you prepare to release the new stickers update, i was thinking, by the way, if you can add the yearly(annual) rain as an additional parameter in the frame of the sticker 800x150, so everybody can compare a different station's precipitation. Of course, if there is room enough...
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 07, 2016, 04:34:00 AM
Thanks Paul,

I reckon I have almost got it right. Just a bit of fine tuning.
When it's done I can put it up.

Yippee, I have a wind gust \:D/
 
Colin, your site looks very nice.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 07, 2016, 04:41:56 AM
Jachym,

I have most of it worked out but cannot find a couple of things.
1. How can I change the spacing between the blocks?
      If I change the design through settings, the interactiveGraph background colour changes (of course)
2. Is there a way to override the interactiveGraph block's background colour?

One other small thing regarding the rainBlock. Rain today shows 3 decimal places where it does not in other blocks. How can I fix this?

If you want to see what it looks like so far, go here: www.manorts.com/meteotest

Regards
Colin

Hi Colin,
I see you set the block bg as a texture, I dont think you can do that in Highcharts, but you can try make it transparent and set the block background to the texture.

Try this:
Go to your interactiveBlock folder and then in graph.php, line 959, try changing it to this:

Code: [Select]
backgroundColor: null,

Sadly that did not work. I also tried
Code: [Select]
backgroundColor: transparent,Not to worry, I just made the entire background the same colour as the graph background and put that block down the bottom. Looks okay I think.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 07, 2016, 05:09:55 AM
What exactly did it do? I just tried and it worked. I set a bg image to the div and then set backgroundColor to null and it was transparent
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 07, 2016, 06:45:04 AM
What exactly did it do? I just tried and it worked. I set a bg image to the div and then set backgroundColor to null and it was transparent
It did not make any change at all. I will have another try. Maybe I set the image in the wrong place  :?
Where did you put it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 07, 2016, 08:09:03 AM
What exactly did it do? I just tried and it worked. I set a bg image to the div and then set backgroundColor to null and it was transparent
It did not make any change at all. I will have another try. Maybe I set the image in the wrong place  :?
Where did you put it?

Hi,
try setting it like this:

Code: [Select]
backgroundColor: null, (no quotation marks around null)

then for the bg picture, assing that in the style element of the graph div, ie:
Code: [Select]
<div id="graph" style="min-width: 400px; height: 310px; margin: 0 auto;z-index:5;background:url(http://www.linktoyourbgimage.com)">
Title: Meteotemplate - New Plugin - Climate Canada
Post by: Jáchym on March 07, 2016, 11:16:46 AM
Hi guys,

a new plugin is now available, in fact very similar to the previous one I made, the climate US. This time however, it is climate Canada. The plugin works in a very similar way, but there are a few differences.
The plugin again consists of three separate pages.

One shows detailed information about climate normals from one station (city). The second pages is a side by side comparison of two stations. The last page is a comparison of one station with data from your own PWS.

The slight disadvantage in comparison to the US climate plugin is the number of stations available. This unfortunately is purely because of what is available from EC and especially the way the data is provided. I found that lot of the files were incomplete and that caused problems in the scripts. I hope most of the major cities are included. If you would like some other city, let me know and I will see if it would be possible to get some usable data for it.

On the other hand, there are also advantages. The main advantage in comparison to the US climate plugin is the actual extent of data provided. There are much more things it shows, for example - temperature, maximum temperature, minimum temperature, humidity, pressure, visibility, sun shine duration, frost period, degree days, wind speed etc. In addition, also dates for the absolute extremes are shown in tables and also in the actual graphs.

Installation is very simple and the only thing you need to do is specify the default location to be used.

DEMO: http://www.meteotemplate.com/template/plugins/climateCanada/index.php

Info/installation instructions/download: http://meteotemplate.com/blog/?p=471
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 07, 2016, 11:51:02 AM
Works well, and very nice to compare my station to local airport and other cities across the country http://www.komokaweather.com/j-template/plugins/climateCanada/index.php (http://www.komokaweather.com/j-template/plugins/climateCanada/index.php)
 
Thanks very much Jachym.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 07, 2016, 11:53:32 AM
Looks nice :-)

Quite interesting actually, Im especially surprised by the differences in precipitation, given the airport is just 25km away, it is quite substantial
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 07, 2016, 12:03:20 PM
Yes that is the first thing I noticed as well.  But we are on opposite side of the city and Lake Huron can impact our weather, more in snow fall but also for other weather depending on the wind direction.
 
One question/suggestion...
I presume the City locations are the EC historical over a period of time, while my/PWS are much shorter period of time (mine since summer 2008).  If that is correct can some text be added to highlight that period difference?
 
I guess the same would apply to ClimateUS...
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 07, 2016, 12:31:51 PM
Yes that is the first thing I noticed as well.  But we are on opposite side of the city and Lake Huron can impact our weather, more in snow fall but also for other weather depending on the wind direction.
 
One question/suggestion...
I presume the City locations are the EC historical over a period of time, while my/PWS are much shorter period of time (mine since summer 2008).  If that is correct can some text be added to highlight that period difference?
 
I guess the same would apply to ClimateUS...
 
Regards,
Paul

Hi Paul,
all data - US and Canada - are climate normals 1981-2010.

The page with comparison to your station obviously takes the period that is available in DB
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 07, 2016, 01:20:10 PM
Quote
The page with comparison to your station obviously takes the period that is available in DB
I preferred to have my added text smaller by using a <h3> </h3> tag but that didn't centre  #-o so now have it within another <h2> </h2> http://www.komokaweather.com/j-template/plugins/climateCanada/compareStation.php (http://www.komokaweather.com/j-template/plugins/climateCanada/compareStation.php)
   <div id="main" style="text-align:center">
   <h1>Canada Climate Normals</h1>
   <h2>1981-2010</h2>
   <h3>NOTE: Komoka Station's Comparative Data Since November 2008</h3>
   <br><br>
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 07, 2016, 01:26:00 PM
Quote
The page with comparison to your station obviously takes the period that is available in DB
I preferred to have my added text smaller by using a <h3> </h3> tag but that didn't centre  #-o so now have it within another <h2> </h2> http://www.komokaweather.com/j-template/plugins/climateCanada/compareStation.php (http://www.komokaweather.com/j-template/plugins/climateCanada/compareStation.php)
   <div id="main" style="text-align:center">
   <h1>Canada Climate Normals</h1>
   <h2>1981-2010</h2>
   <h3>NOTE: Komoka Station's Comparative Data Since November 2008</h3>
   <br><br>
 
Paul

Code: [Select]
   <div id="main" style="text-align:center">
   <h1>Canada Climate Normals</h1>
   <h2>1981-2010</h2>
   <div style="width:100%;text-align:center;font-weight:bold;font-size:0.9em;font-variant:small-caps">NOTE: Komoka Station's Comparative Data Since November 2008</div>
   <br><br>
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 07, 2016, 01:42:14 PM
Very good, thanks =D&gt;
I guess I won't qualify and apply for your internship assistant.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 07, 2016, 09:26:11 PM
What exactly did it do? I just tried and it worked. I set a bg image to the div and then set backgroundColor to null and it was transparent
It did not make any change at all. I will have another try. Maybe I set the image in the wrong place  :?
Where did you put it?

Hi,
try setting it like this:

Code: [Select]
backgroundColor: null, (no quotation marks around null)

then for the bg picture, assing that in the style element of the graph div, ie:
Code: [Select]
<div id="graph" style="min-width: 400px; height: 310px; margin: 0 auto;z-index:5;background:url(http://www.linktoyourbgimage.com)">

Yes Jachym, I see it now. Thanks.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 08, 2016, 01:12:31 AM
Jachym Hello, I have a difference between Davis station and Meteotemplate template, measurement of rain, Davis 38.8 m2 annual and  Meteotemplate 39.4 m2 annual  , the error comes from February, as could correct this data in Meteotemplate ?

Tank You
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 05:15:38 AM
Hi,
you can edit the incorrect value in the admin section -> MySQL administration
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 08, 2016, 10:12:58 AM
Hi Jachym,
Am enjoying the ClimateUS and climateCanada plugins and that is great to compare past averages and extremes.  Thinking about expanding on that and wonder if it is possible to do something similar for "actual" or "current" comparison.  How about a plugin to compare station's actual, say now, today so far, yesterday, or last week, with a nearby official station METAR. 
 
The METAR plugin gives the current hour, and the WU official stations such as  http://www.wunderground.com/global/stations/71623.html (http://www.wunderground.com/global/stations/71623.html) have a Weather history for that location and that is searchable by date and has hourly http://www.wunderground.com/history/airport/CYXU/2016/03/08/DailyHistory.html?req_city=London&req_statename=Ontario&reqdb.zip=00000&reqdb.magic=1&reqdb.wmo=71623&theprefset=SHOWMETAR&theprefvalue=1 (http://www.wunderground.com/history/airport/CYXU/2016/03/08/DailyHistory.html?req_city=London&req_statename=Ontario&reqdb.zip=00000&reqdb.magic=1&reqdb.wmo=71623&theprefset=SHOWMETAR&theprefvalue=1). 
 
 
Then comparing that to a same day, or same hour from our DB.  Is that possible?  Maybe a new data quality check ;)   Would save a lot of time to manually get the hourly METAR and copying into a spreadsheet and then manually entering my station's data for the same time, as I've been know to do to check my quality.
 
Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 10:18:50 AM
Hi Jachym,
Am enjoying the ClimateUS and climateCanada plugins and that is great to compare past averages and extremes.  Thinking about expanding on that and wonder if it is possible to do something similar for "actual" or "current" comparison.  How about a plugin to compare station's actual, say now, today so far, yesterday, or last week, with a nearby official station METAR. 
 
The METAR plugin gives the current hour, and the WU official stations such as  http://www.wunderground.com/global/stations/71623.html (http://www.wunderground.com/global/stations/71623.html) have a Weather history for that location and that is searchable by date and has hourly http://www.wunderground.com/history/airport/CYXU/2016/03/08/DailyHistory.html?req_city=London&req_statename=Ontario&reqdb.zip=00000&reqdb.magic=1&reqdb.wmo=71623&theprefset=SHOWMETAR&theprefvalue=1 (http://www.wunderground.com/history/airport/CYXU/2016/03/08/DailyHistory.html?req_city=London&req_statename=Ontario&reqdb.zip=00000&reqdb.magic=1&reqdb.wmo=71623&theprefset=SHOWMETAR&theprefvalue=1). 
 
 
Then comparing that to a same day, or same hour from our DB.  Is that possible?  Maybe a new data quality check ;)   Would save a lot of time to manually get the hourly METAR and copying into a spreadsheet and then manually entering my station's data for the same time, as I've been know to do to check my quality.
 
Regards,
Paul

Hi Paul,
very interesting idea and very useful indeed, never actually thought about it :D This comparing thing just occurred to me while doing the US Climate plugin.

I will need to see exactly what data and in what format is available. But I will definitely look at it once I finish what Im currently working on.
Title: Meteotemplate - Stickers Update + New block - Indoor Conditions
Post by: Jáchym on March 08, 2016, 11:39:44 AM
Hi guys,

a few new things and updates.

New Block - Indoor conditions
A new block which allows you to show current indoor conditions (temperature and humidity). This only takes current data, nothing is saved in the database. Currently supported SW is Weather Display (clientraw), Cumulus (realtime) and Meteobridge (mbLive). For Meteobridge you will also need to download a new updated version of the liveGaugesMB plugin. If you want to update this plugin, simply download the liveGaugesMB, replace the files, especially the new mbLiveCreate.php and then, make sure you also change the string you use for creating this file in your Meteobridge control panel. The new string is shown in the documentation for the plugin.

Updated - Live Gauges MB
The plugin has been updated to allow showing current indoor conditions (see above).

Stickers - version 2.0
I have also updated the stickers plugin. The new version 2.0 improved the current 800x150px sticker which many of you use as a signature/banner. The new version now also includes date and time when the conditions where measured and I have also cleaned up the unit labels and the rounding is now correct (no more 3 decimal places for rain in mm...). In addition there is a brand new sticker, 800x170px (see my new signature), which shows more detailed info. It is used just like the 800x150px one, it also includes image of your station, you need to select your station. How to do this is described in the stickers.php file. Basically all you have to do is go to the stations directory inside the plugin directory, choose the station you want and then replace the station.png in the plugin root folder.

Enjoy
Jachym
Title: Re: Meteotemplate - Stickers Update + New block - Indoor Conditions
Post by: SpringHillWeather on March 08, 2016, 12:11:05 PM


Stickers - version 2.0
I have also updated the stickers plugin. The new version 2.0 improved the current 800x150px sticker which many of you use as a signature/banner. The new version now also includes date and time when the conditions where measured and I have also cleaned up the unit labels and the rounding is now correct (no more 3 decimal places for rain in mm...). In addition there is a brand new sticker, 800x170px (see my new signature), which shows more detailed info. It is used just like the 800x150px one, it also includes image of your station, you need to select your station. How to do this is described in the stickers.php file. Basically all you have to do is go to the stations directory inside the plugin directory, choose the station you want and then replace the station.png in the plugin root folder.

Enjoy
Jachym

Thank you Jachym for the updated Stickers plugin!   =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 08, 2016, 01:34:23 PM
Got them all downloaded, with "indoor" block added and "stickers" plugin updated, and working fine. 
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 08, 2016, 01:36:03 PM
Got them all downloaded, with "indoor" block added and "stickers" plugin updated, and working fine. 
 
Paul

Same as Paul.   :-)

Thanks Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 01:38:49 PM
Great :-)

Tina... 300mm rain this year already!?  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 08, 2016, 01:48:10 PM
Great :-)

Tina... 300mm rain this year already!?  :shock:

Yep! 220mm fell in January. Nothing compared to the Winter of 2013/2014 though, It was over double that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 02:33:41 PM
Where I live we usually get around 500-600/yr, though this yr is also above-average since we already have 120 and most precipitation falls in the summer
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 08, 2016, 05:17:38 PM
Great :-)

Tina... 300mm rain this year already!?  :shock:
I have almost 400mm! It's a really rainy place!

Thank you very much Jachym for the new blocks, especially for the stickers plugin.
Everything is working fine!  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 05:42:55 PM
Thanks Johnny

"rainy place":
305 mm (12.0 in) in 42 minutes. Holt, Missouri, United States, 22 June 1947
 :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: johnny on March 08, 2016, 05:58:37 PM
Thanks Johnny

"rainy place":
305 mm (12.0 in) in 42 minutes. Holt, Missouri, United States, 22 June 1947
 :grin: :grin: :grin:
What?? :shock: It's unbelievable!
305mm in 42 min.=435 mm/h!! This is a monster rate!
The rain gauge was faulty obviously! :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 06:09:57 PM
Some world records:

Most in 12 hours (1/2 day): 1144 mm (45.0 in); Cilaos, Réunion, 8 January 1966, during tropical cyclone Denise
Most in 24 hours (1 day): 1825 mm (71.9 in); Cilaos, Réunion, 7–8 January 1966, during tropical cyclone Denise
Most in 72 hours (3 days): 3929 mm (154.7 in); Commerson, Réunion, 24–26 February 2007
Most in 96 hours (4 days): 4869 mm (191.7 in); Commerson, Réunion, 24–27 February 2007

The main reason I post it here is that there is actually a user of Meteotemplate in Réunion! Just checked his site, 620mm ;)

http://www.cyclotropic.re/template/index.php

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 08, 2016, 07:28:32 PM
My VP2 is getting a decent workout. It's turned pretty nasty here!

 [ You are not allowed to view attachments ]

I'm right down on the South coast, pretty much center..
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 07:32:23 PM
I see that... it is 30 minutes after midnight and you already have 4 mm :D

Btw. - like your new banner :) Always when I look at your page I love the font, but I dont want to use it in the demo, simply because I know that lot of people might find it a bit too "modern" and if they dont know you can change it they might be discouraged from using the template :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 08, 2016, 08:03:55 PM
I see that... it is 30 minutes after midnight and you already have 4 mm :D

Btw. - like your new banner :) Always when I look at your page I love the font, but I dont want to use it in the demo, simply because I know that lot of people might find it a bit too "modern" and if they dont know you can change it they might be discouraged from using the template :D

It's my fav font.
That's the beauty of your template, you set a default, but you have the option of changing the fonts and colours very easily. :)

That rain is coming down now! This is why I love having a weather station, I have the windows open (as I love the sound of wind & rain) but I can view everything that's going on outside, either by looking at my station console, or viewing the template on the PC or tablet, without going outside. It gives me a sense of euphoria.  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2016, 08:07:00 PM
LOL... that actually reminds me of what I sometimes do.... I actually have my PWS console right above my bed above my head :D Sometimes though when Im laying in my bed with my laptop I dont feel like actually sitting up and turning my head around so I just look on my site from the laptop :D :D :D.... yes I know, we are weird generation :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 09, 2016, 02:56:30 AM
LOL... that actually reminds me of what I sometimes do.... I actually have my PWS console right above my bed above my head :D Sometimes though when Im laying in my bed with my laptop I dont feel like actually sitting up and turning my head around so I just look on my site from the laptop :D :D :D.... yes I know, we are weird generation :D
I can just imagine

(http://www.manorts.com/images/209.gif)
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 09, 2016, 03:25:43 AM
When you wake up I have a question regarding METAR.
When I goto Weather then METAR , I can select my closest which is Albury. However the title says Albury,Albury but if I select the same location from say Pauls excellent site, the title is Albury Airport.
The only place I can find that makes reference to METAR is in config.php but I cannot find what causes this to happen. Any Clues?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2016, 05:45:52 AM
Hi Colin,
the list of stations is loaded from a text file, which contains just a list of all the stations and their codes - this is what you see in the select box and there it has "Albury Airport". Once you select one, it loads the data from a file for that particular station. In there, I just checked, the title is Albury, Albury - it basically always gives the city and province, which is why you see it like this.

If you want to change it then this particular station name is defined in this file:
.....TEMPLATE ROOT/pages/metar/icao_db/icao_y.php

In there you can search for Albury and there replace "Albury, Albury" with whatever you want. (line 108)

Then also here:

.... TEMPLAT ROOT/pages/metar/icao_db/stations_au.inc.php

Also replace Albury there

Best regards
Jachym
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 09, 2016, 07:22:32 AM
It seems that the subdir isn't included in the url on the sticker in my case it says http://www.apeldoorn.tk but it should be http://www.apeldoorn.tk/meteo I see this is also the case by others ...
Title: New blocks/plugin - "country package" - Spain
Post by: Jáchym on March 09, 2016, 09:53:07 AM
(http://www.meteotemplate.com/template/imgs/flags/big/es.png)
Hi guys,

unfortunately, in Europe there is not really one integrated weather service so data is provided from various sources, in various formats – if at all.

I have therefore decided to try to create sort of „country packages“ – a set of blocks/plugins for a particular country – just like the climate US and climate Canada. Obviously this will take some time and also depend on what data is available.

Today I prepared a package for Spain, which includes two blocks and one plugin.

UV Forecast - Spain
This block shows a UV forecast for the upcoming 5 days for major cities in Spain.

Spain Extremes
This block shows weather extremes for various Spanish cities/stations. I collected data for over 100 places. Data includes absolute max/min temperature, max/min monthly temperature, precipitation, wind gust, snow days and days with storms.

Spain Climate
This plugin is very similar to the climate US/Canada plugins. It consists of three separate pages. One shows detailed summary for a single station, second is a side by side comparison of two stations and the last one compares one station to your own weather station. Data includes temperature, precipitation, humidity, days with snow, precipitation, storm, fog, sun shine and frost.

Enjoy
Jachym

Plugin demo: http://www.meteotemplate.com/template/plugins/climateSpain/
Blocks screenshots/download: http://www.meteotemplate.com/web/blocks.php
Blog post: http://meteotemplate.com/blog/?p=477
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2016, 10:06:03 AM
It seems that the subdir isn't included in the url on the sticker in my case it says http://www.apeldoorn.tk but it should be http://www.apeldoorn.tk/meteo I see this is also the case by others ...

Thanks for letting me know, I updated the file so you can download it again and it should fix it, I also fixed a small issue with wind decimal places when using conversion to mph.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 09, 2016, 10:27:48 AM
It seems that the subdir isn't included in the url on the sticker in my case it says http://www.apeldoorn.tk but it should be http://www.apeldoorn.tk/meteo I see this is also the case by others ...

Thanks for letting me know, I updated the file so you can download it again and it should fix it, I also fixed a small issue with wind decimal places when using conversion to mph.

Works fine now
Thanks !
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 10, 2016, 04:13:15 AM
Hi Colin,
the list of stations is loaded from a text file, which contains just a list of all the stations and their codes - this is what you see in the select box and there it has "Albury Airport". Once you select one, it loads the data from a file for that particular station. In there, I just checked, the title is Albury, Albury - it basically always gives the city and province, which is why you see it like this.

If you want to change it then this particular station name is defined in this file:
.....TEMPLATE ROOT/pages/metar/icao_db/icao_y.php

In there you can search for Albury and there replace "Albury, Albury" with whatever you want. (line 108)

Then also here:

.... TEMPLAT ROOT/pages/metar/icao_db/stations_au.inc.php

Also replace Albury there

Best regards
Jachym

Very much appreciate the help. METAR now shows correctly.
I have found the sections that define borders and the spacing so that is done as well. Reducing the spacing made the blocks just a little bit bigger.
Getting the the header working was a real pain so I just have a picture of our area instead.
I have combined cloud temp, cloud height and location blocks so I only have to load one instead of three. Saves room as well.
Finished most of the textures. Have not found a way to change the little bit just below the interactive graph. Maybe later.
I also want to have textures on the background on the other/aboutxxx.php pages. Maybe later as well.

Thanks again.

Regards
Colin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 10, 2016, 05:35:53 AM
Quote
Have not found a way to change the little bit just below the interactive graph.

What exactly do you mean by that?

Quote
I also want to have textures on the background on the other/aboutxxx.php pages.

Change:
Code: [Select]
<div id="main" style="background: url(mytexture.png);background-repeat: no-repeat;">

Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 11, 2016, 09:34:05 AM
Hi Jachym
can I ask if you could take a look at my site please www.haddenham-weather.co.uk/hadds
and advise on what I have done wrong. I have had to start from scratch with it following the wiki and what you have said in the past. Db is updatin as is realtime,txt i uploaded blocks to homepage/.blocks and  added to index.php  and plugins to there dir and sorted most in menu. problem site page shows only the blocks with twerliy bits going round and none of what should be there
Thankyou for your time
Jim
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 11, 2016, 09:53:50 AM
LOOKS like Something is wrong with config or index.php

save a copy of your present index and upload the original one...if it works then theres something wrong with your index.php...

start with that  ;)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 11, 2016, 09:57:21 AM
Also...your menu is not working except the facegroup link... :shock:
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 11, 2016, 10:00:59 AM
Id also upload an original menu.php...just to be shure its working ok  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2016, 10:17:38 AM
Hi Jachym
can I ask if you could take a look at my site please www.haddenham-weather.co.uk/hadds
and advise on what I have done wrong. I have had to start from scratch with it following the wiki and what you have said in the past. Db is updatin as is realtime,txt i uploaded blocks to homepage/.blocks and  added to index.php  and plugins to there dir and sorted most in menu. problem site page shows only the blocks with twerliy bits going round and none of what should be there
Thankyou for your time
Jim

Hi,
Im not sure why exactly you decided to re-upload the whole thing, either way, your paths are not correct, in your config.php, based on what I see in the console, you haven´t changed the paths to your nre directory where you want to have the template.
Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 11, 2016, 01:29:37 PM
Hi Jachym
nre directory ?? I'm not pc friendly it's basicly as with weather watching somthing I got into since retiring and sorry for all the probs
Thankyou
Jim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2016, 01:37:46 PM
Hi Jim,
no problems, just let me know what exactly you have done. Your site was not working? And what did you change now?
Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 11, 2016, 02:42:42 PM
Hi Jachym

we seem to be back online lets hope it stays that way  :-)
Jim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2016, 02:49:56 PM
OK, I think the problem was you either moved it to a different directory or renamed the template directory, without making corresponding changes to the paths in config.

Let me know if anything is wrong.

Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 11, 2016, 04:02:30 PM
Hi Jachym
all seems to be fine except station status under the weather station tab shows on line but on main / homepage showws off line for about ten mins realtime set to 1 min |  cron job . org set to 1 min am i missing another time setting. or dont this matter

jim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2016, 04:35:30 PM
Hi Jim,
it must have been some sort of a browser caching issue, when I look at your site, I see your station as online both in the menu and on the homepage.
Title: Re: Meteotemplate - new free website template
Post by: haddsweather on March 11, 2016, 04:37:21 PM
yer I use Firefox
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 11, 2016, 06:26:44 PM
Quote
Have not found a way to change the little bit just below the interactive graph.

What exactly do you mean by that?

I mean this. The texture is not around the buttons.

(http://www.manorts.com/images/nographtexture.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2016, 06:58:53 PM
In graph.php of that block:

change:
Code: [Select]
<body>
to.
Code: [Select]
<body style="background:url(/textures/darktexture.png) repeat">
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 11, 2016, 08:11:55 PM
Thanks Jachym,

I had found that out and was about to post it but you beat me to it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2016, 09:09:09 PM
Thanks Jachym,

I had found that out and was about to post it but you beat me to it.

Great,  I'm glad you got it working
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 03:52:30 PM
I need some help.  I am fairly new to this and was able to get the template loaded up at www.linyweather.net.

I am using Davis Vantage Pro2 and WD.  It shows the station "offline" -

More importantly, the block for station data I added does not load.  It just shows the image as "loading" but nothing appears.

Not sure what else to try?  I do not want to add any more blocks until I get this one right.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 12, 2016, 04:39:57 PM
In Jachym's absence, I'll give it a try with some basic questions...
Do you feel you have the config.php filled in correctly and completely?
Do you have the "current" block settings filled in, and then the block uploaded to the homepage/blocks folder?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 04:56:28 PM
In Jachym's absence, I'll give it a try with some basic questions...
Do you feel you have the config.php filled in correctly and completely?
Do you have the "current" block settings filled in, and then the block uploaded to the homepage/blocks folder?
 
Paul

Yes.  That is correct.  I think my problem is I have no idea how to set up the weather display side.  This is the area I'm confused.  I think it is the configuration and set up of "clientdraw" and the whole ftp part of wd.  So basically I was able to import the old data but that's where it stopped.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2016, 05:16:31 PM
Hi Jeff,

your template seems to be set up correctly in terms of the config. The problem is most likely either in the CRON job or the clientraw.txt.

Lets take it step by step.
Can you post a link to your clientraw.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2016, 05:18:20 PM
In Jachym's absence, I'll give it a try with some basic questions...
Do you feel you have the config.php filled in correctly and completely?
Do you have the "current" block settings filled in, and then the block uploaded to the homepage/blocks folder?
 
Paul

Thanks a lot Paul, I was at work and just got home :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 05:51:47 PM
Hi Jeff,

your template seems to be set up correctly in terms of the config. The problem is most likely either in the CRON job or the clientraw.txt.

Lets take it step by step.
Can you post a link to your clientraw.txt

That's the problem.  I don't understand that part at all.  Sorry.  That's is where I lose it.  Not sure what or where to find it.  If I am delayed on the response it is because I just stepped out.  Sorry for the questions but the help is really appreciated.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2016, 06:07:57 PM
Hi Jeff,
no problem, Im sure we will get it to work :-)

So basically the update process comprises two stages:

1. If I understand it correctly, you are using Weather Display. In that case you need to set up WD so that it periodically uploads a little text file, in case of WD called the clientraw.txt, to your server. This text file contains the current conditions.

2. You set up a so-called CRON job, which is just a trigger that triggers the Meteotemplate script (in this case you would use the one that uses the clientraw, the WD.php) and this script performs the database update.

The second stage might seem a bit confusing to you, but the good news is that if you get part one done I can do the second part for you. However, the first thing you need to do yourself because that is someting you must do and set up on your local PC. I am not an expert on WD as I do not use it myself. There is a documentation for it in the Meteotemplate WIKI which was written by users of Meteotemplate who use it.

In fact, the majority of current MT users use WD, so dont worry, there will surely be someone who is able to help you. What I also suggest is that you ask here:
http://www.weather-watch.com/smf/index.php/topic,60996.0.html

Brian, the developer of WD, is absolutely great at offering support and I am sure him or some other experts on WD will be able to help you with this. What you would then do is send me a link to the clientraw.txt, the path to where this file is being uploaded on your server. I would then set up all the CRON jobs etc. to make sure the database is updated.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 07:14:54 PM
Thank you so much.  I just registered for the website and will post as soon as I get validated.  I will also search the board in the morning.  You are being so helpful.  I will repost once I get a response so we can work on the second part.  Thanks!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 07:15:52 PM
If I figure out the place to set the first part up in the interim, where should I upload the file to?  Should it go to the update directory?
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 12, 2016, 07:27:00 PM
I send mine to the root directory.
Tom
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 07:28:23 PM
Thanks Tom.  I'll try and get that working since I have to wait for the other board admin to approve my account.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2016, 08:14:08 PM
Hi Jeff,

it does not matter, you can upload it anywhere on the server, in the actual script I will set the path, so it does not matter where it is as long as it is "somewhere" :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2016, 08:33:05 PM
Thanks Tom.  I'll try and get that working since I have to wait for the other board admin to approve my account.

Once you get your clientraw upload (which is really easy to do), you would send me the URL of the file, the location where it is being uploaded on your server. Probably the easiest thing to do then is if you could create a temporary FTP account that I could access, I would log in to your server and set up the config and all the necessary update scripts. Then I could also help you with building the homepage using the blocks - I would show you how to do one and then you could do the rest because the process is always the same. Same goes for the plugins. I would show you how to add one and the great thing about the template is that I try to make this as consistent as possible, so if you know how to add one you can add any (with very few exceptions, which are always well documented at meteotemplate.com).
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 12, 2016, 08:40:51 PM
Thanks Tom.  I'll try and get that working since I have to wait for the other board admin to approve my account.

Once you get your clientraw upload (which is really easy to do), you would send me the URL of the file, the location where it is being uploaded on your server. Probably the easiest thing to do then is if you could create a temporary FTP account that I could access, I would log in to your server and set up the config and all the necessary update scripts. Then I could also help you with building the homepage using the blocks - I would show you how to do one and then you could do the rest because the process is always the same. Same goes for the plugins. I would show you how to add one and the great thing about the template is that I try to make this as consistent as possible, so if you know how to add one you can add any (with very few exceptions, which are always well documented at meteotemplate.com).

Awesome.  Thank you so very much.  Very few people out there as helpful as you.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 13, 2016, 09:27:31 AM
Thanks Tom.  I'll try and get that working since I have to wait for the other board admin to approve my account.

Once you get your clientraw upload (which is really easy to do), you would send me the URL of the file, the location where it is being uploaded on your server. Probably the easiest thing to do then is if you could create a temporary FTP account that I could access, I would log in to your server and set up the config and all the necessary update scripts. Then I could also help you with building the homepage using the blocks - I would show you how to do one and then you could do the rest because the process is always the same. Same goes for the plugins. I would show you how to add one and the great thing about the template is that I try to make this as consistent as possible, so if you know how to add one you can add any (with very few exceptions, which are always well documented at meteotemplate.com).

I think I got it working on the clientdraw aspect.  I will send you a PM with the info and ftp account.

TY!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2016, 10:11:18 AM
Thanks Jeff

I got the info and I will look at it within next couple of hours and let you know how it goes

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2016, 11:22:55 AM
Everything should be working now Jeff:
http://www.linyweather.net//index.php

Just make sure, when you install a block, you just have to upload the folder with the name of the block and the contents inside it, the structure of the path then looks like this:
eg:
..../homepage/blocks/stationData/.......

So when you unzip the file, just upload that folder inside with the block name. One of the things that did not work was the stationData block and it was because you extracted the ZIP package into a new folder, and that created an extra level of directories, also including the version number and you then had:

.../homepage/blocks/stationData_1.1/stationData/.....

Updates are now also working fine.

Let me know if you need any further help and I will now add you to the user map.

Best regards
Jachym
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 13, 2016, 11:25:41 AM
Everything should be working now Jeff:
http://www.linyweather.net//index.php

Just make sure, when you install a block, you just have to upload the folder with the name of the block and the contents inside it, the structure of the path then looks like this:
eg:
..../homepage/blocks/stationData/.......

So when you unzip the file, just upload that folder inside with the block name. One of the things that did not work was the stationData block and it was because you extracted the ZIP package into a new folder, and that created an extra level of directories, also including the version number and you then had:

.../homepage/blocks/stationData_1.1/stationData/.....

Updates are now also working fine.

Let me know if you need any further help and I will now add you to the user map.

Best regards
Jachym

This is great!  I really appreciate it.  I look forward to customizing the site over the next week or so.  You are an asset to the community!

Best wishes - Jeff
Title: New Weather Homepage
Post by: juppie on March 13, 2016, 11:27:22 AM
Hi Guys

It is so far, yesterday I put my own weather page with the Meteo template into the net.
http://wetter-lehmschlenke.de
Now waiting for the page is still on the finishing touches, since the weather station has been in operation since the beginning of January 2015 I have to import them into the database even weather information.
Since I do not so much about and time to create a website have, I have been looking for another possibility and am with the search in a forum (http://www.wetterstationen.info/) met with the meteo template and was thrilled immediately  :eek: :-) :grin:.
A description gnaue my weather station, I will in the near future upload to my page.

Gruss juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2016, 11:28:40 AM
Just noticed one thing, I also changed your longitude, be careful about the sign, your longitude is not "71....", but "-71...." - for W you have to use negative numbers.
Title: Re: New Weather Homepage
Post by: Jáchym on March 13, 2016, 11:35:52 AM
Hi Guys

It is so far, yesterday I put my own weather page with the Meteo template into the net.
http://wetter-lehmschlenke.de
Now waiting for the page is still on the finishing touches, since the weather station has been in operation since the beginning of January 2015 I have to import them into the database even weather information.
Since I do not so much about and time to create a website have, I have been looking for another possibility and am with the search in a forum (http://www.wetterstationen.info/) met with the meteo template and was thrilled immediately  :eek: :-) :grin:.
A description gnaue my weather station, I will in the near future upload to my page.

Gruss juppie

Great, Im really glad I was able to help you get it working.

So I added both of you to the user map and network and hope you enjoy using Meteotemplate.
Title: New block, block updates, new language files
Post by: Jáchym on March 14, 2016, 11:45:27 AM
Hi guys,

several new things.

New language files

First, the fall/autumn, railway/railroad etc. dilemma is now solved…. a „new“ language is now available. I changed some strings in the original gb.php and that now corresponds to British English. And there is a new file us.php, which corresponds to American English. Big thank you goes to Justin and Dale for helping me with this!

Block updates

US radar

It is now possible in the settings to specify “vertical” or “horizontal”. If you choose vertical, it will look just like now, i.e. the national and regional radar images will be below each other. Setting the parameter to “horizontal” will place them next to each other, which is ideal if you have the radar in some wider column

Rise/set block

The block is now expandable and in the collapsed view shows the length of the day differences and a pie chart of the current day length in comparison to the longest day.

New block

Partner stations

This block now allows you to put conditions and link to weather stations of your friends etc. The only condition is they have their data sent to WU. In the settings, you specify their WU ID. Everything is explained in the settings.php.


Hope you enjoy it

Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 14, 2016, 02:03:40 PM
Hi Jachym,
I think I am up to date with addition and updates - but still not happy with the BloomSky icon  www.komokaweather.com/j-template/indexM.php (http://www.komokaweather.com/j-template/indexM.php) for you
 
and for everyone else www.komokaweather.com/j-template/ (http://www.komokaweather.com/j-template/)
 
Paul
 
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2016, 02:32:17 PM
Hi Paul, how about you use the icon I created for the bloomsky plugin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2016, 02:35:15 PM
Try these
Title: Re: Meteotemplate - new free website template
Post by: arnold72 on March 14, 2016, 02:53:26 PM
Hello everyone and congratulations to Jachym, I have two questions to ask, if i can have a auto update in the blocks, the second request would be possible to add the internal temperature to the wdmysql database.
Thank you and congratulations again,ciao
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 14, 2016, 03:04:18 PM
Quote
Hi Paul, how about you use the icon I created for the bloomsky plugin
:oops:  Ok. short memory ](*,)
 
I've used the plugin icons as the ones in your reply are a bit smaller...
 
Again, thanks for your continued work.
Paul
Title: csvImport
Post by: juppie on March 14, 2016, 04:21:57 PM
Hello Jachym
In csv import we do not import the Solar radiation
Gruss yuppie
Title: csvImport
Post by: juppie on March 14, 2016, 06:26:21 PM
Jachym
What exactly is meant by "Rain last minute"

juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2016, 06:37:07 PM
Hello everyone and congratulations to Jachym, I have two questions to ask, if i can have a auto update in the blocks, the second request would be possible to add the internal temperature to the wdmysql database.
Thank you and congratulations again,ciao

Hi Arnold,
I am not really sure I understand your two questions. What do you mean by auto update? Yes, the current block does update automatically at an interval you specify in the block settings.php.
With regards to the database, what WD MySQL do you mean?
Title: Re: csvImport
Post by: Jáchym on March 14, 2016, 06:38:19 PM
Hello Jachym
In csv import we do not import the Solar radiation
Gruss yuppie

I will check that, there could of course be a bug.

Where do you see rain last minute?
Title: Re: csvImport
Post by: Jáchym on March 14, 2016, 06:50:26 PM
Hello Jachym
In csv import we do not import the Solar radiation
Gruss yuppie

Hi Josef,
yes you were right, thanks for letting me know. I guess almost no-one ever used the CSV import and those who did did not have a solar sensor, there was really a bug which caused it not to be imported.

But I think I know what the problem was and I fixed it.

Try the attached script, replace the original install/CSV.php with this one and see if it helps.

once again sorry for that
Title: Re: New block, block updates, new language files
Post by: SpringHillWeather on March 14, 2016, 08:32:45 PM
Hi guys,

several new things.

New language files

First, the fall/autumn, railway/railroad etc. dilemma is now solved…. a „new“ language is now available. I changed some strings in the original gb.php and that now corresponds to British English. And there is a new file us.php, which corresponds to American English. Big thank you goes to Justin and Dale for helping me with this!

Block updates

US radar

It is now possible in the settings to specify “vertical” or “horizontal”. If you choose vertical, it will look just like now, i.e. the national and regional radar images will be below each other. Setting the parameter to “horizontal” will place them next to each other, which is ideal if you have the radar in some wider column

Rise/set block

The block is now expandable and in the collapsed view shows the length of the day differences and a pie chart of the current day length in comparison to the longest day.

New block

Partner stations

This block now allows you to put conditions and link to weather stations of your friends etc. The only condition is they have their data sent to WU. In the settings, you specify their WU ID. Everything is explained in the settings.php.


Hope you enjoy it

Jachym

Thank you Jachym for all the new updates and Blocks!   \:D/
Using the Partner Station with my BloomSky station works great.   I did notice the Bloomsky icon is larger, and when I resized it for some reason it won't get any smaller, not a biggy, actually it is a biggy :P LOL.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2016, 08:54:31 PM
Will look at that tomorrow
Title: Re: New block, block updates, new language files
Post by: KapitainOne on March 14, 2016, 10:51:49 PM
Hi guys,

several new things.

New language files

First, the fall/autumn, railway/railroad etc. dilemma is now solved…. a „new“ language is now available. I changed some strings in the original gb.php and that now corresponds to British English. And there is a new file us.php, which corresponds to American English. Big thank you goes to Justin and Dale for helping me with this!

Block updates

US radar

It is now possible in the settings to specify “vertical” or “horizontal”. If you choose vertical, it will look just like now, i.e. the national and regional radar images will be below each other. Setting the parameter to “horizontal” will place them next to each other, which is ideal if you have the radar in some wider column

Rise/set block

The block is now expandable and in the collapsed view shows the length of the day differences and a pie chart of the current day length in comparison to the longest day.

New block

Partner stations

This block now allows you to put conditions and link to weather stations of your friends etc. The only condition is they have their data sent to WU. In the settings, you specify their WU ID. Everything is explained in the settings.php.


Hope you enjoy it

Jachym

Thanks for the update to the US radar block, I've copied the block under a different name so I can use the horizontal layout in one index file and the vertical in another.

Works great!

Bill

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2016, 07:05:20 AM
Here are new Bloomsky icons, which should not display so large in the Partner Stations block, but only use these in that particular block.
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 15, 2016, 11:30:21 AM
Here are new Bloomsky icons, which should not display so large in the Partner Stations block, but only use these in that particular block.

Thanks for the quick fix :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2016, 12:28:00 PM
Exactly a year ago...

http://www.wxforum.net/index.php?topic=25544.msg245511#msg245511

Jachym had an idea.... ;)

Title: Re: Meteotemplate - new free website template
Post by: tstorm on March 15, 2016, 02:29:21 PM
Exactly a year ago...

http://www.wxforum.net/index.php?topic=25544.msg245511#msg245511

Jachym had an idea.... ;)

 How time flies when your having fun  :grin:.  Thank you so much for transitioning your idea into reality and sharing it.  You have poured your heart and soul into the template.  I would say that outside of work you spend almost every waking moment on enhancing the template further.  Meteotemplate is truly a one of it's kind source for weather information.  Not a day goes by where I don't bring the template up several times.  Thanks again.

John

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2016, 02:37:29 PM
Thanks John, yes it also seems unbeliavable to me... I originally thought maybe one or two people would download it and give it a try... plus I would never imagine it would become what it has become so far... I learned so much - coding, things about developing in general, offering support, got to know tens of amazing people from all around the world... and yes you are right, 100% of my free time now goes into this, I also carry a notepad with me so that I can note down ideas and solutions to problems while for example in a bus going back from work :D (I commute over an hour a day so it would otherwise be a waste of time... :D)

It is also funny sometimes, that I often get to a point where I have a dilemma, because I discover some very inefficient or even incorrect way of doing things with regards to the code. I learned all PHP etc. doing this, which as I said is slighlty problematic now. I would know exactly how to fix these, but I often have to look for solutions, which will fix it, but also not require substantial changes in the core files, because I always have to keep in mind I want the updates to be as easy as possible without you actually having to set up everything again.

The blocks and plugins, being independent, solved this, unfortunately the core files - header, config... those were written right at the beginning...

There are times when one feels a bit frustrated (just today I discovered a page on Google, which uses my complete template and not only has the footer deleted and deleted every single mention of Meteotemplate, but the person even put their own copyright... which is a bit annoying when you see how people apprecitate someone´s voluntary work... fortunately this is just a very small minority of people so I don´t really care :-)

Either way thanks for support

Jachym
Title: Re: csvImport
Post by: juppie on March 15, 2016, 04:16:51 PM
Hello Jachym
In csv import we do not import the Solar radiation
Gruss yuppie

Hi Josef,
yes you were right, thanks for letting me know. I guess almost no-one ever used the CSV import and those who did did not have a solar sensor, there was really a bug which caused it not to be imported.

But I think I know what the problem was and I fixed it.

Try the attached script, replace the original install/CSV.php with this one and see if it helps.

once again sorry for that

Thank you Jachym

The csv import worked with has :-).
Have now finally the weather recording uploaded by "2015" in the database :-P.

Gruss juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2016, 04:58:30 PM
Great Josef, thanks for letting me know and spotting the bug.
Title: Re: Meteotemplate - new free website template
Post by: arnold72 on March 15, 2016, 06:17:46 PM
thanks for the replay Jachym, the graphics data is generated with the file wd.php which does not insert the internal temperature in the mysql ... it would be possible to add rows at wd.php to add the internal temperature?
Title: Re: Meteotemplate - new free website template
Post by: arnold72 on March 15, 2016, 06:28:46 PM
the auto-update of the "current" block works perfectly, my request was for the other blocks, for example "interactiveGraph", "meteogram" or "radarEU"
thank you
ciao
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2016, 06:38:00 PM
Hi,
the radar is animated, with the interactive graphs I dont really see how you want that to update, you select interval and that is what it shows.

Now with regards to indoor temperature in the database, the answer is no, for several reasons. First, it would be quite complicated to add this now when there is so many pages using the database, I would have to add it to all the reports etc.
Second, I made a block for this to show the current temperature. I can see why that might be useful.However, I do not see the point in saving this. Why would you want to make some statistics of your indoor temperature, this only depends on how you set up your thermostat and in my opinion is therefore totally useless.
And last, don't forget that if I added it, it would create a new column in the database and any time you would call to the database, even if you were pulling different data, the script works with the whole database so it would slow things down for all the other pages as well.

But the main reason really is that I don't see the point.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 15, 2016, 11:44:16 PM

There are times when one feels a bit frustrated (just today I discovered a page on Google, which uses my complete template and not only has the footer deleted and deleted every single mention of Meteotemplate, but the person even put their own copyright...
Maybe we could send this clown some messages letting him/her know what an arsehole he/she is. (excuse the swear word).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2016, 05:41:23 AM

There are times when one feels a bit frustrated (just today I discovered a page on Google, which uses my complete template and not only has the footer deleted and deleted every single mention of Meteotemplate, but the person even put their own copyright...
Maybe we could send this clown some messages letting him/her know what an arsehole he/she is. (excuse the swear word).

He has the contact for there, plus I even know his email, I politely asked him about it, saying he should maybe think about showing a little respect and appreciation, also given the fact I know his email becuse he was one of those who I was helping to. I just told him he should remember that he got it all for free (never donated anything, though that is fine with me) and it just annoys one when they see someone steals your work and I have seen this in the past already, people deleting all the info pages, footer, meta tags in HTML, but this guy went as far as putting his own copyright there. Well... I never put any mechanism into the template which would in any way allow me to manipulate with the page, so this is about all I can do and obviously he doesn´t care.
(http://i67.tinypic.com/65z8ev.png)
But you know what, he is one of the very few, I must say that the vast majority of you who use it are absolutely amazing and one idiot will not ruin my day or change anything in the way I am and have been doing things :-)

Title: Re: Meteotemplate - new free website template
Post by: Brett001 on March 16, 2016, 07:27:22 AM
Hi,

What happened with World Weather Online? No forecast since few days.

http://www.weather-szolnok.hu/template/pages/forecast/worldweatheronline.php (http://www.weather-szolnok.hu/template/pages/forecast/worldweatheronline.php)

 :?:



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2016, 08:31:36 AM
Hi,

What happened with World Weather Online? No forecast since few days.

http://www.weather-szolnok.hu/template/pages/forecast/worldweatheronline.php (http://www.weather-szolnok.hu/template/pages/forecast/worldweatheronline.php)

 :?:

Hi Brett,
I just checked the files and I looked on my demo site as well.

I looked at the output from WWO and for some reason, there is currently only data for 1 upcoming day. I have no idea why, but there is not much I can do with it. It is not a problem with the script (notice that tomorrow is still showing up ok), and it is a problem in the output generated by WWO. We can only hope they will fix it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2016, 08:34:02 AM
WWO Facebook page comments:

Quote
The API appears to be down: I am getting service unavailable. Can you confirm?

Quote
should we rename ‪#‎worldweatheronline‬ to worldweatherOFFline?

Quote
Hi, is your clock down? The API does not send out the UTC offset. Instead it give 0 for all locations.

Quote
Hi, are you aware that your website is down

etc etc...

the good news is that this is not the first time this happened so I hope they will again fix it
Title: Meteotemplate - New Block - UV forecast (global)
Post by: Jáchym on March 16, 2016, 12:16:00 PM
Hi guys,

a new block is now available called UV forecast. Simply upload it to your blocks directory, no set up required. The block will show a 6-day forecast for your station location (based on the latitude and longitude specified in the config).

Some additional info is also available.

I have also updated the “rain” block, it just fixes a bug with redundant decimal places.

Enjoy

Jachym
(http://i68.tinypic.com/6jd4kw.png)(http://i67.tinypic.com/dwcdup.png)(http://i68.tinypic.com/jb7c6w.png)

Note: the screenshot shows incorrect week days, but the acutal block has that fixed

Also, you might need to download the most recent language file so that it works as it is supposed to.
Title: Re: Meteotemplate - new free website template
Post by: Ian. on March 16, 2016, 01:04:59 PM
Hi Jachym,

For some reason I can no longer download from your site, I click on the block I want on the download section, as son as I click it goes straight to the thank you for downloading page.

I've tried disabling my anti-virus, I have two PC's windows 10 and windows 7 and it doesn't download on either, any ideas as I really like the new additions.

I first noticed this when the rise/set of the sun/moon block was launched.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2016, 01:11:43 PM
It is the Chrome popup blocker, no clue why it started doing this... I will have to add a note there so that people know
Title: Re: Meteotemplate - new free website template
Post by: Ian. on March 16, 2016, 01:21:16 PM
Good call, that was the rascal causing the problem, I didn't even get any notification that it was being blocked.

Sorted now, thanks as always.
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 16, 2016, 03:48:36 PM
Hi Jachym,

For some reason I can no longer download from your site, I click on the block I want on the download section, as son as I click it goes straight to the thank you for downloading page.

I've tried disabling my anti-virus, I have two PC's windows 10 and windows 7 and it doesn't download on either, any ideas as I really like the new additions.

I first noticed this when the rise/set of the sun/moon block was launched.

I've noticed the same thing lately.  Just right click on the Download button and do a Save As....
Title: Re: Meteotemplate - New Block - UV forecast (global)
Post by: SpringHillWeather on March 16, 2016, 03:50:51 PM
Hi guys,

a new block is now available called UV forecast. Simply upload it to your blocks directory, no set up required. The block will show a 6-day forecast for your station location (based on the latitude and longitude specified in the config).

Some additional info is also available.

I have also updated the “rain” block, it just fixes a bug with redundant decimal places.

Enjoy

Jachym
(http://i68.tinypic.com/6jd4kw.png)(http://i67.tinypic.com/dwcdup.png)(http://i68.tinypic.com/jb7c6w.png)

Note: the screenshot shows incorrect week days, but the acutal block has that fixed

Also, you might need to download the most recent language file so that it works as it is supposed to.

Added both blocks!  Thank you Jachym for even more blocks!

Excellent work  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2016, 04:31:16 PM
Thanks Tom,

I just noticed one thing, in the "more" section of the UV forecast block, the labels show as "uvLow" etc. This is just the namespace for the language string, go to the Translations section at meteotemplate.com and download the latest us.php or gb.php and it will then be correctly translated and show just "Low" etc.
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on March 16, 2016, 05:57:21 PM
Quote

the good news is that this is not the first time this happened so I hope they will again fix it

I hope too. :)

The new UV forecast block is super.  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 16, 2016, 06:36:57 PM
Great work on the new blocks. I've just been updating all of mine!
Guess what, Tina always has to cause an issue.. LOL - Because my 'current' block updates every 10 seconds, the RSS feed block is trying to climb out of my screen. haha
Title: Re: Meteotemplate - New Block - UV forecast (global)
Post by: Colin on March 16, 2016, 09:57:16 PM

I have also updated the “rain” block, it just fixes a bug with redundant decimal places.

Actually I don't think you needed that. I checked the mySQL structure and changed the structure of the R and RR fields.
They were set for 3 decimal places so I changed them to 1 decimal place and all seems fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2016, 10:02:38 PM
Yes but don't forget the units can be changed by the user so the conversion would cause redundant dp
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 16, 2016, 10:02:57 PM
Noticed something good recently that I could not find documented.
If you click and drag on the interactive graph, what is highlighted is zoomed.
Found it handy to just zoom into a particular time of day.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 16, 2016, 10:32:48 PM
Yes but don't forget the units can be changed by the user so the conversion would cause redundant dp

Okay. I will look at what happens when and if it rains here again. The reason I changed it was because I could not figure why the rain Today was the only one that showed 3 decimal places. Apart from the interactive graph which shows none, the others only display 1. Yet the code appears to be the same.
Thanks for pointing it out about the conversions. I never considered that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 05:59:54 AM
Noticed something good recently that I could not find documented.
If you click and drag on the interactive graph, what is highlighted is zoomed.
Found it handy to just zoom into a particular time of day.

Yes you can select and drag to zoom. It is set on each graph separately. For example some graphs will only let you drag in one axis, some both and some have this disabled alltogether (eg. pie charts).

With regards to the rounding, yes one option is of course changing this directly in the db, but that still doesn´t mean I do not have to set it for each number separately. The original rain sciprt simply took what was in the db, which works fine if you have d.p. correctly and if you don´t do any conversion. But some users have database and webpage units set up differently, in which case the conversion function is applied and you end up with a number with lots of d.p. Then obviously, unless I specify the number of d.p. for that particular output, it will not be displayed ideally.

The absolute easiest thing to do would be globally set the d.p. Unfortunately this cannot be done due to this possibility to change units, because temperature for example is OK, so is humidity. But problems come with precipitation and pressure. If you have it in mm/in or inHg/hPa, you show different number of decimal places. Rain in mm probably would not make much sense to more than 1 d.p., however reporting rain in inches with just 1 d.p. would be quite inaccurate.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 17, 2016, 12:15:20 PM
Some of the partner stations I have on the new block, don't seem to update. Ian's location has been at 5.6°C on the block, all night and day.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 17, 2016, 12:41:46 PM
Some of the partner stations I have on the new block, don't seem to update. Ian's location has been at 5.6°C on the block, all night and day.

My partnerstations do, are you sure the station isn't updated on WU ?
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 17, 2016, 12:57:18 PM
Some of the partner stations I have on the new block, don't seem to update. Ian's location has been at 5.6°C on the block, all night and day.

My partnerstations do, are you sure the station isn't updated on WU ?

Whoops!

http://www.wunderground.com/personal-weather-station/dashboard?ID=ICAMBRID16

 :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 01:02:28 PM
Nothing I can do about that Im afraid :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 17, 2016, 01:04:39 PM
Nothing I can do about that Im afraid :D

lol - I know, my bad! I completely forgot that it was part of WU. I was looking at his own website.  :oops:

Is there anything i can do about the rssfeed block updating every 10 seconds?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 01:24:12 PM
That is really strange, I wonder why that is happening, it should only update the current block.

Can you do a bit of testing?
Try creating a new index, some test one and then just put the current and rssfeed blocks there. And watch what happens. Then try to remove each one individually and tell me if the current or the rss update on their own.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 17, 2016, 02:20:25 PM
That is really strange, I wonder why that is happening, it should only update the current block.

Can you do a bit of testing?
Try creating a new index, some test one and then just put the current and rssfeed blocks there. And watch what happens. Then try to remove each one individually and tell me if the current or the rss update on their own.

Ok, done - With both blocks in there on their own, the rssfeed block still updates when the current block does. I removed the current block, and the rssfeed works as it should.

http://www.warehamwx.com/wx/indextest.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 02:25:08 PM
Thanks, I will look at it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 02:35:54 PM
Try these two and let me know if it helped, if yes I will fix it globally.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 17, 2016, 03:37:53 PM
Try these two and let me know if it helped, if yes I will fix it globally.

Thanks

It does work. However, it was causing the whole current block to flicker badly. I just set up another test page to show the differences, and it stopped doing it..  :shock:

Just in case you would like to keep an eye on it:

http://www.warehamwx.com/wx/indextest.php

http://www.warehamwx.com/wx/indextest2.php
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 17, 2016, 05:19:32 PM
So - I have a question.  What would cause my header to be a solid color and not changing as per the conditions?  Not sure where to look for what could cause it.  www.linyweather.net
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 17, 2016, 05:37:12 PM
So - I have a question.  What would cause my header to be a solid color and not changing as per the conditions?  Not sure where to look for what could cause it.  www.linyweather.net

One of the settings in config.php.

I believe bannerid uses ZIPcode to report the weather to the banner.

Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 17, 2016, 05:50:42 PM
So - I have a question.  What would cause my header to be a solid color and not changing as per the conditions?  Not sure where to look for what could cause it.  www.linyweather.net

One of the settings in config.php.

I believe bannerid uses ZIPcode to report the weather to the banner.

Thanks!  I got it and figured it out.  Had to go into the header.php file.

On another note - what would be nice is the ability to click on the interactive map (for example the radarus block) and have it expand on the screen.  This would allow that column to be somewhat smaller with the ability to make it larger, and maximizing the screen. 
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 17, 2016, 06:26:22 PM
Yes but don't forget the units can be changed by the user so the conversion would cause redundant dp

Okay. I will look at what happens when and if it rains here again. The reason I changed it was because I could not figure why the rain Today was the only one that showed 3 decimal places. Apart from the interactive graph which shows none, the others only display 1. Yet the code appears to be the same.
Thanks for pointing it out about the conversions. I never considered that.

It rained overnight and we got 10.4mm I changed the units to inches and it displayed 0.409 in even though I set the db to 1 decimal place. Now that is confusing  :???:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 06:31:22 PM
So - I have a question.  What would cause my header to be a solid color and not changing as per the conditions?  Not sure where to look for what could cause it.  www.linyweather.net

One of the settings in config.php.

I believe bannerid uses ZIPcode to report the weather to the banner.

Thanks!  I got it and figured it out.  Had to go into the header.php file.

On another note - what would be nice is the ability to click on the interactive map (for example the radarus block) and have it expand on the screen.  This would allow that column to be somewhat smaller with the ability to make it larger, and maximizing the screen.

Click the map to show what? How would that make the column smaller? Sorry I am not sure what you mean.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 06:39:02 PM
Yes but don't forget the units can be changed by the user so the conversion would cause redundant dp

Okay. I will look at what happens when and if it rains here again. The reason I changed it was because I could not figure why the rain Today was the only one that showed 3 decimal places. Apart from the interactive graph which shows none, the others only display 1. Yet the code appears to be the same.
Thanks for pointing it out about the conversions. I never considered that.

It rained overnight and we got 10.4mm I changed the units to inches and it displayed 0.409 in even though I set the db to i decimal place. Now that is confusing  :???:

Im a bit confused, was that in the rain block? In the new version? Because that really should not happen, the d.p. are set after all the conversions and for in it should show 2 and for mm one
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 17, 2016, 06:43:35 PM
So - I have a question.  What would cause my header to be a solid color and not changing as per the conditions?  Not sure where to look for what could cause it.  www.linyweather.net

One of the settings in config.php.

I believe bannerid uses ZIPcode to report the weather to the banner.

Thanks!  I got it and figured it out.  Had to go into the header.php file.

On another note - what would be nice is the ability to click on the interactive map (for example the radarus block) and have it expand on the screen.  This would allow that column to be somewhat smaller with the ability to make it larger, and maximizing the screen.

Click the map to show what? How would that make the column smaller? Sorry I am not sure what you mean.

Sorry - I am not being very clear.  So when you have the block on the page - for example the right third and have that column set at 30 - it is not expandable to the user.  So if I visit the page, if I clicked on the map and it expanded to a new page or a window, you could keep the map smaller like a "thumbnail" on the page, but make it larger when it is clicked.

Am I making any sense at all?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2016, 06:48:24 PM
Oh, you mean like loading the block in a popup window bigger?

Well that wont work for two reasons unfortunately.

1. by default most browsers will block this so unless the user went and specifically enabled popups, it would not do anything, problem is that since not long ago, the browser (Chrome) does not even indicate a popup was blocked

2. the blocks are tied to the homepage, lot of scripts are used by all the blocks so rather then loading them many times, they are loaded once by the index.php so these blocks will not work stand-alone
Title: World Weather Online - changes
Post by: Jáchym on March 17, 2016, 06:50:30 PM
The WWO API has been down for about 4 days now, this is not first time this happened and they usually fix it within a week.

There is no mention about it whatsoever on their FB site, however a new post appeared today, which is a serious problem now...

Quote
ANNOUNCEMENT: From 5th April, 2016 onwards WWO Free API signup will be suspended. Therefore we will not be issuing any new Free API keys after 5th April, 2016.
The existing Free API keys issued before 5th April, 2016 will continue to work and no change is required at user end.
To use our Weather API after 5th April, 2016 new users will get Premium Trial key for free testing for 60 days and user may upgrade by purchasing a weather subscription at anytime.
Thank you,
World Weather Online API Team
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 17, 2016, 09:06:34 PM
Yes but don't forget the units can be changed by the user so the conversion would cause redundant dp

Okay. I will look at what happens when and if it rains here again. The reason I changed it was because I could not figure why the rain Today was the only one that showed 3 decimal places. Apart from the interactive graph which shows none, the others only display 1. Yet the code appears to be the same.
Thanks for pointing it out about the conversions. I never considered that.

It rained overnight and we got 10.4mm I changed the units to inches and it displayed 0.409 in even though I set the db to i decimal place. Now that is confusing  :???:

Im a bit confused, was that in the rain block? In the new version? Because that really should not happen, the d.p. are set after all the conversions and for in it should show 2 and for mm one


I have not installed the new modified block. This is what mine is.

(http://www.manorts.com/images/raindb.png)

Code: [Select]
$result = mysqli_query($con, "
SELECT  max(R)
FROM  alldata
WHERE DATE(DateTime) = CURDATE()
"
);
while ($row = mysqli_fetch_array($result)) {
$rainToday = convertR($row['max(R)']);
}

$monthlyRains = array();
$result = mysqli_query($con, "
SELECT  max(R)
FROM  alldata
WHERE YEAR(DateTime) = YEAR(CURDATE()) AND MONTH(DateTime) = MONTH(CURDATE())
GROUP BY YEAR(DateTime), MONTH(DateTime), DAY(DateTime)
"
);
while ($row = mysqli_fetch_array($result)) {
array_push($monthlyRains, convertR($row['max(R)']));
}
if(empty($monthlyRains)===false){
$monthlyAvgR = array_sum($monthlyRains)/count($monthlyRains);
$monthlyMaxR = max($monthlyRains);
}
$rainMonth = array_sum($monthlyRains);

$annualRains = array();
$result = mysqli_query($con, "
SELECT  max(R)
FROM  alldata
WHERE YEAR(DateTime) = YEAR(CURDATE())
GROUP BY YEAR(DateTime), MONTH(DateTime), DAY(DateTime)
"
);
while ($row = mysqli_fetch_array($result)) {
array_push($annualRains, convertR($row['max(R)']));
}
if(empty($annualRains)===false){
$annualAvgR = array_sum($annualRains)/count($annualRains);
$annualMaxR = max($annualRains);
}
$rainYear = array_sum($annualRains);
?>

<table class="myTableBg">
<thead>
<tr>
<td>
</td>
<td>
<img src="homepage/blocks/rain/icons/rain.png" style="max-width:30px;width:100%">
</td>
<td>
</td>
</tr>
<tr>
<td style="width:33%;font-variant:small-caps">
<?php echo lang('today','c')?>
</td>
<td style="width:33%;font-variant:small-caps">
<?php echo lang('this month','c')?>
</td>
<td style="width:33%;font-variant:small-caps">
<?php echo lang('this year','c')?>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="width:33%">
<?php echo $rainToday." ".$displayRainUnits?>
</td>
<td style="width:33%">
<?php echo $rainMonth." ".$displayRainUnits?>
</td>
<td style="width:33%">
<?php echo $rainYear." ".$displayRainUnits?>
</td>
</tr>
</tbody>
</table>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2016, 06:09:03 AM
Yes, so this is the old code which has that bug.

This function:

Code: [Select]
convertR($row['max(R)'])
this converts the rain and I did not specify the number of d.p. so since the conversion constants are given to many decimal places, it will produce a number with many d.p. In the new version and subsequently rounded it to 1 or 2 depending on which UOM you are using.

So just download the new version and it will work fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2016, 06:22:53 AM
Try these two and let me know if it helped, if yes I will fix it globally.

Thanks

It does work. However, it was causing the whole current block to flicker badly. I just set up another test page to show the differences, and it stopped doing it..  :shock:

Just in case you would like to keep an eye on it:

http://www.warehamwx.com/wx/indextest.php

http://www.warehamwx.com/wx/indextest2.php

Try this
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 18, 2016, 08:30:49 AM
Yes, so this is the old code which has that bug.

This function:

Code: [Select]
convertR($row['max(R)'])
this converts the rain and I did not specify the number of d.p. so since the conversion constants are given to many decimal places, it will produce a number with many d.p. In the new version and subsequently rounded it to 1 or 2 depending on which UOM you are using.

So just download the new version and it will work fine.

Goodness no  :shock: I kind of like this little bug  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 18, 2016, 09:32:57 AM
Try these two and let me know if it helped, if yes I will fix it globally.

Thanks

It does work. However, it was causing the whole current block to flicker badly. I just set up another test page to show the differences, and it stopped doing it..  :shock:

Just in case you would like to keep an eye on it:

http://www.warehamwx.com/wx/indextest.php

http://www.warehamwx.com/wx/indextest2.php

Try this

Perfect! Thank you Jachym.  :-)

Edit: Spotted one thing: If you click the 'more' of the rssfeed, it directs to my own site, rather than the blog article.
Title: Meteotemplate - New country package - UK
Post by: Jáchym on March 18, 2016, 10:06:09 AM
(http://www.meteotemplate.com/template/imgs/flags/big/gb.png)
Hi guys,

another “country package“, this time for the UK. There are two new plugins and one new block. For all these you will need to get a free API key at MetOffice, the link is provided in the settings and documentation.

Pressure Maps UK (and part of EU) - plugin

This plugin shows surface pressure charts for the upcoming 4 days in 12h intervals. The area actually covers more than just UK so it can be used even for Western Europe etc.

Demo: http://www.meteotemplate.com/template/plugins/pressureMapUK/index.php
Documentation/download: http://www.meteotemplate.com/web/plugins/pressureMapUK.php


Extremes UK - plugin

This plugin shows extreme weather for the previous day, broken down by regions as well as for the UK as a whole. It includes the min/max temperature, highest rainfall and longest sunshine duration. Data is shown in sortable tables and graphs, always the actual value and location.

Demo: http://www.meteotemplate.com/template/plugins/extremesUK/index.php
Documentation/download: http://www.meteotemplate.com/web/plugins/extremesUK.php


Regional/national UK forecast - block

This is a block for the homepage which shows detailed textual forecast – national and regional. In the settings, apart from the MetOffice API key you also specify the region you are interested in.

Download: http://www.meteotemplate.com/web/blocks.php

Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 18, 2016, 02:23:45 PM
Up to date once again \:D/  and you're right, it does take a while for the first images to get loaded from MetOffice for the pressureMap
http://www.komokaweather.com/j-template/plugins/extremesUK/index.php (http://www.komokaweather.com/j-template/plugins/extremesUK/index.php)
http://www.komokaweather.com/j-template/plugins/pressureMapUK/index.php (http://www.komokaweather.com/j-template/plugins/pressureMapUK/index.php)
 
Thanks Jachym
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2016, 08:17:30 PM
Up to date once again \:D/  and you're right, it does take a while for the first images to get loaded from MetOffice for the pressureMap
http://www.komokaweather.com/j-template/plugins/extremesUK/index.php (http://www.komokaweather.com/j-template/plugins/extremesUK/index.php)
http://www.komokaweather.com/j-template/plugins/pressureMapUK/index.php (http://www.komokaweather.com/j-template/plugins/pressureMapUK/index.php)
 
Thanks Jachym
Paul

Thanks Paul, I did not even expect you would use it :D
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on March 18, 2016, 08:53:27 PM

There are times when one feels a bit frustrated (just today I discovered a page on Google, which uses my complete template and not only has the footer deleted and deleted every single mention of Meteotemplate, but the person even put their own copyright...
Maybe we could send this clown some messages letting him/her know what an arsehole he/she is. (excuse the swear word).

He has the contact for there, plus I even know his email, I politely asked him about it, saying he should maybe think about showing a little respect and appreciation, also given the fact I know his email becuse he was one of those who I was helping to. I just told him he should remember that he got it all for free (never donated anything, though that is fine with me) and it just annoys one when they see someone steals your work and I have seen this in the past already, people deleting all the info pages, footer, meta tags in HTML, but this guy went as far as putting his own copyright there. Well... I never put any mechanism into the template which would in any way allow me to manipulate with the page, so this is about all I can do and obviously he doesn´t care.
(http://i67.tinypic.com/65z8ev.png)
But you know what, he is one of the very few, I must say that the vast majority of you who use it are absolutely amazing and one idiot will not ruin my day or change anything in the way I am and have been doing things :-)

Hi Jachym,

It seems your email got his attention. There is now your credit link listed in the footer, like it's supposed to be.


DATA Copyright © Zotlar Bohinj 2016 - Vse pravice pridržane. Podatki in informacije na spletnem mestu so predmet avtorske zaščite ter drugih oblik zaščite intelektualne lastnine. Prepovedano je kakršno koli reproduciranje.
DATA Copyright © Zotlar Bohinj 2016 - All rights reserved. No part of DATA in this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods.
Template by: meteotemplate.com Meteotemplate 4.1 Mango

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2016, 09:14:50 PM
Yes I see :D

Thanks for letting me know, as I said, I was annoyed, but I just said well it is a minority and didn't check his site again and also expected that if he really wanted to change something he would also reply to my email... which he did not...

Title: Re: Meteotemplate - new free website template
Post by: Colin on March 19, 2016, 01:23:01 AM
I would like to share a new block I have been working on for a while. It is a wind rose and shows the wind direction.
You can see it working here www.manorts.com/meteo and download it here www.manorts.com/meteo/windRose.zip
I have used Mike Challis's Wind-Rose generator for the graphics which you can get here http://www.642weather.com/weather/scripts-wind-graphics.php#WRgenerator so you can generate your own design and colour to suit your theme.

Just unzip the file, place it with all the other blocks and add it to the index.php

Enjoy.

EDIT:  I have replaced Mike Challis images with my own on my site only. The images the zip file are still Mike's.



Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 19, 2016, 10:09:25 AM
Colin,
Thanks for sharing your work.

I'm just trying to stand upright, say nothing about walking or as in your case, running with Jachym's program.  As he unfortunately knows from all the emails and even a call.

Can you tell me something about the rest of your display?  For instance, I see that the temperature graph is colored, while mine is mine is in black and white, and also you have the latitude, longitude block also populated with the cloud height and temperature.

As I admit, I'm still just getting things running, but wonder if I just need to dig deeper into his code to find variables to change to get some of these colorations, or did you 'hard code' your own block to make it this nice?

I wonder if you did move some code from other blocks into the station lat/long and do some html or css tweaking to make it all fit?

Just curious.  This is fun. I admit one of my problems is getting up at 5 a.m. and not having a chance to work on this until way after supper when the aging brain is not as sharp as it could be.

Beautiful work, thanks for sharing.  Dale
(my humble offering is at ECWx.info/wx/index.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 19, 2016, 10:22:43 AM
Nice Colin,

actually just yesterday I was asked if I could add wind direction to the current block, currently it only shows degrees, so I already made a new version yesterday, which I havent released yet, but it wont be exactly as yours, more like a direction arrow + direction as abbreviation (N, NNE,....) and it will be optional so you can choose if you want degrees or this.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 19, 2016, 11:51:45 AM
Nice Colin, but you might want to warn people that they may have to modify the path to the images in the line (43) containing:
"/meteotest/homepage/blocks/windRose/images/"
In my case I had to change it to "/meteo/homepage/blocks/windRose/images/"

Bill
Title: Meteotemplate - Current block updated
Post by: Jáchym on March 19, 2016, 12:09:21 PM
OK, so in case someone wants to have the wind direction arrow in the current block, I have updated the current block to version 3.0.

In the settings you will find a new parameter for wind direction:
- "degrees" - will show wind direction as degrees (the way it is now)
- "image" - will show an arrow in the corresponding direction + textual abbreviation in selected language (NNE, SSW etc.)

Example:
(http://i65.tinypic.com/257oqw7.png)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 19, 2016, 01:27:48 PM
Jachym,
Current v.3.0 works fine.
 
Colin,
Thanks for the windRose.  After changing the path as mentioned by Bill, and trying out Mike's WindRose generator (kind of fun) I've been able to get the block added.  =D&gt;
 
Thanks both of you,
Paul
www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 19, 2016, 01:47:59 PM
Jachym,
Current v.3.0 works fine.
 
Colin,
Thanks for the windRose.  After changing the path as mentioned by Bill, and trying out Mike's WindRose generator (kind of fun) I've been able to get the block added.  =D&gt;
 
Thanks both of you,
Paul
www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)

No it does not Paul :D I forgot about the light theme again... please re-download the block and replace everything except your settings.php, you can keep that.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 19, 2016, 02:48:57 PM
Love a direction arrow! Thank you Jachym. :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 19, 2016, 02:58:21 PM
Done!
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 19, 2016, 06:54:04 PM
Love a direction arrow! Thank you Jachym. :)

Thanks. I also see you have installed the UK plugins and forecast block :-)

Just one little thing, you have probably missed the end of one of the <ul> elements in the menu, your regional tab on the menu is stretched full width.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 20, 2016, 12:47:56 AM
Nice Colin, but you might want to warn people that they may have to modify the path to the images in the line (43) containing:

Bill
Thanks Bill, I fixed it now. I was a bit slack and did not realise  I zipped the block in my test folder.

Paul,  if you have another look at Mike's generator, you will find a box to check that makes the background transparent.

Title: Re: Meteotemplate - new free website template
Post by: Colin on March 20, 2016, 01:30:33 AM
Colin,
Thanks for sharing your work.

I'm just trying to stand upright, say nothing about walking or as in your case, running with Jachym's program.  As he unfortunately knows from all the emails and even a call.

Can you tell me something about the rest of your display?  For instance, I see that the temperature graph is colored, while mine is mine is in black and white, and also you have the latitude, longitude block also populated with the cloud height and temperature.

As I admit, I'm still just getting things running, but wonder if I just need to dig deeper into his code to find variables to change to get some of these colorations, or did you 'hard code' your own block to make it this nice?

I wonder if you did move some code from other blocks into the station lat/long and do some html or css tweaking to make it all fit?

Just curious.  This is fun. I admit one of my problems is getting up at 5 a.m. and not having a chance to work on this until way after supper when the aging brain is not as sharp as it could be.

Beautiful work, thanks for sharing.  Dale
(my humble offering is at ECWx.info/wx/index.php)

Thanks for the kind words Dale.

I combined the location, cloud height and cloud temperture just so I could fit the three blocks into one.
Three blocks takes a lot more screen real estate than one block so that's why combined the three.
Code: [Select]
<table class="myTableBg" style="margin:0 auto">
<tr>
<td style="width:20%">
<img src="homepage/blocks/location/icons/lat.png" class="locationsIcon tooltip" alt=''  title="<?php echo lang('latitude','c')?>">
</td>
<td style="width:20%">
<img src="homepage/blocks/location/icons/lon.png" class="locationsIcon tooltip" alt='' title="<?php echo lang('longitude','c')?>">
</td>
<td style="width:20%">
<img src="homepage/blocks/location/icons/elevation.png" class="locationsIcon tooltip" alt='' title="<?php echo lang('elevation','c')?>">
</td>
<td style="width:20%">
<img src="homepage/blocks/location/icons/cloudHeight.png" class="locationsIcon tooltip" alt=''  title="<?php echo lang('height','c')?>">
</td>
<td style="width:20%">
<img src="homepage/blocks/location/icons/cloudTemp.png" class="locationsIcon tooltip" alt=''  title="<?php echo lang('temperature','c')?>">
</td>

</tr>
<tr>
<td style="width:20%">
<?php 
echo number_format(abs($stationLat),2,".",""." ");
if ($stationLat 0) {
echo lang('coordN','u');

else {
echo lang('coordS','u');
}
?>

</td>
<td style="width:20%">
<?php 
echo number_format(abs($stationLon),2,".",""." ");
if ($stationLon 0) {
echo lang('coordE','u');

else {
echo lang('coordW','u');
}
?>

</td>
<td style="width:20%">
<?php echo $stationElevation." ".$elevationUnits?>
</td>
<td style="width:20%">
<?php echo round($mHeight)?> m
</td>
<td style="width:20%">
<?php echo number_format($cloudTempC,1,".","")?> °C
</td>
</tr>
</table>

I must warn you though, I have been removing the dark/light themes and replacing them with textures so just pick over the code you want.
The interactive graph is a bit more difficult because I made quite a few changes like displaying indoor/outdoor  temperature and humidity. Also added textures and got rid of some code I did not want. Some like it, some don't. Took quite a while to pore over the code to see what needed to be changed. I will make a list of what changes need to be made.

 
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 20, 2016, 01:55:17 AM
Dale, to change the color of the lines on the interactiveGraph block, open graph.php in the interactiveGraph folder.
Look for this section of code somewhere around line 250

Code: [Select]
// Individual graphs options based on parameter
optionsT = {
chart : {
renderTo : 'graph',
type : 'spline',
zoomType: 'x'
},

skip a few lines and you will get to these lines

Code: [Select]
series: [
{
name: '',
data: [],
color: "#<?php echo $color_schemes[$design]['font700']?>"
},
{
name: '',
data: [],
color: "#<?php echo $color_schemes[$design]['font700']?>",
dashStyle: 'ShortDot'
},
{
type: 'areasplinerange',
name: '<?php echo lang('range','c')?>',
color: "#<?php echo $color_schemes[$design]['font700']?>",
data: []
}
]

I changed it to this

Code: [Select]
series: [
{
name: '',
data: [],
color: 'red'
},
{
name: '',
data: [],
color: 'yellow'

},

You can change the other lines like humidity, rain or wind etc the same way. Just look for optionsT  or optionsH etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 04:08:11 AM
Just one thing,  with regards to the line colors,  in most cases I use black and white as much as possible because you have to remember that just like I don't know which color scheme you chose,  you don't know if the user changed this.  So you might end up with a situation where you will have for example red line on red background. 

This freedom of colors and fonts of the template must be taken into account all the time and also,  white or black  (depending on the theme)  offer the best contrast and I know from experience that what seems distinguishable for you could be difficult for some
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 20, 2016, 04:53:41 AM
Just one thing,  with regards to the line colors,  in most cases I use black and white as much as possible because you have to remember that just like I don't know which color scheme you chose,  you don't know if the user changed this.  So you might end up with a situation where you will have for example red line on red background. 

This freedom of colors and fonts of the template must be taken into account all the time and also,  white or black  (depending on the theme)  offer the best contrast and I know from experience that what seems distinguishable for you could be difficult for some

Quite true Jachym.

While I was experimenting I did notice some line colours were difficult to be seen. So I set mine to what pleases my eye and disabled the option for others to change the colours.
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 20, 2016, 08:05:02 AM
As an open note to Jachym, whom without we'd not have this wonderful program....

He made it open and indeed in many situations gave us the hints needed to modify (for instance, the menu line, how to make blocks, where to modify).

With that openness, he also took the risk that we who have much less programming skill and absolutely none of the lessons-learned and knowledge of design choices made during the long incubation and hard development and tweaking process that he went through, as to why certain things were done.  To allow some user choices such as color scheme and all, there is no way to control setting choices that might make for a very hard to read screen, or come up with a pattern that some love and others hate.

Even more, he's written it so very many language choices can be made.  All those things are more complex than I can imagine.

But when we fiddle with it, it is at our own peril, and absolutely no offense to his design choices.   I can fully understand how that might make him nervous, it is his baby and if we change stuff beyond what he's tested, it would be completely expected for him to be anxious that what he has worked so hard on could be compromised in some way that he has every right to be worried about. 

It is like a Pandora's box.  Very configurable or the ability to modify is a double edged sword.

I really do like some of the bright colors for things like lines and all, but some line colors for temperature, in my way of thinking, should be different from rain fall, pressure, wind speed, etc.  It took me weeks of fiddling to get the graph on Brian Hamilton's Weather Display to look the way I liked it the most and when I see it on different devices, or screens adjusted differently, I think I might need to change it a little bit again here and there.

So an apology to him for even wanting to change it a wee bit, but in no way is it an indication of dissatisfaction with MeteoTemplate at all.

I live in Wisconsin, which has the home headquarters to the Experimental Aircraft Association (EAA) and every July thousands of airplanes come to Oshkosh airport for a week long fly-in.  To see home built aircraft that have the touch of each builder who had guts enough to attempt to build their own plane to fly in is amazing.  And despite the enormous risk of modifying something like an airplane without a degree in engineering, almost no two of the same design look alike, with each builder putting some of his or her own ideas into the construction. 

With MeteoTemplate, if it doesn't work nothing is lost and we can go back to the code we were using before it stopped. (I've done that!)  With a plane, well the stakes are much higher.

Hats off to Jachym with many thanks, and I just wanted to express this so he didn't think any modifications or changes were a reflection that he didn't do the very superb job that he has done and continues to do.

Thanks, Jachym!

Dale
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 20, 2016, 08:10:08 AM
Colin,
Thank you for the long detailed reply and the work required to even answer the question.

Your knowledge of programming far exceeds mine, so the point out the changes was a helpful guide.

I think that this is a great exchange.  As Jachym has pointed out, he made lots of choices to make his program configurable.
I learned a lot and more to come with studying how things are done.  Of course the temptation to adjust things comes forward, you've taken that step.  You have a great page, and thanks for sharing.

I also appreciate your up-front comment on how this is not a trivial task, and even with your abilities it took a bit to make these changes, so I will proceed, when I get time, with caution to maybe make my graphs a wee bit different than what Jachym has provided out of the box.

Once again, a very big thank you for the time you took to respond.  I really appreciate it.  Dale

PS, so those were wallabies or kangaroos in one of your images! I just looked where your home is and it explains some of the pictures on your site.  Are they near where you live and you see them in the wild once in awhile?

Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 20, 2016, 08:15:05 AM
As I learn more and "fiddle" with the template and my set-up, I was wondering if it is possible to take the NWS Alert script and when a warning is displayed, to have it auto post to a Twitter account?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 20, 2016, 10:31:09 AM
Quote
Paul,  if you have another look at Mike's generator, you will find a box to check that makes the background transparent.
Thanks Colin,
I now have several sets and just need to change
echo '<img src="homepage/blocks/windRose/images/green/',$fileName,'">'  in windRoseBlock.php
to pick the set I want to use.  Who said you couldn't teach an old dog new tricks...
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 11:10:39 AM
As an open note to Jachym, whom without we'd not have this wonderful program....

He made it open and indeed in many situations gave us the hints needed to modify (for instance, the menu line, how to make blocks, where to modify).

With that openness, he also took the risk that we who have much less programming skill and absolutely none of the lessons-learned and knowledge of design choices made during the long incubation and hard development and tweaking process that he went through, as to why certain things were done.  To allow some user choices such as color scheme and all, there is no way to control setting choices that might make for a very hard to read screen, or come up with a pattern that some love and others hate.

Even more, he's written it so very many language choices can be made.  All those things are more complex than I can imagine.

But when we fiddle with it, it is at our own peril, and absolutely no offense to his design choices.   I can fully understand how that might make him nervous, it is his baby and if we change stuff beyond what he's tested, it would be completely expected for him to be anxious that what he has worked so hard on could be compromised in some way that he has every right to be worried about. 

It is like a Pandora's box.  Very configurable or the ability to modify is a double edged sword.

I really do like some of the bright colors for things like lines and all, but some line colors for temperature, in my way of thinking, should be different from rain fall, pressure, wind speed, etc.  It took me weeks of fiddling to get the graph on Brian Hamilton's Weather Display to look the way I liked it the most and when I see it on different devices, or screens adjusted differently, I think I might need to change it a little bit again here and there.

So an apology to him for even wanting to change it a wee bit, but in no way is it an indication of dissatisfaction with MeteoTemplate at all.

I live in Wisconsin, which has the home headquarters to the Experimental Aircraft Association (EAA) and every July thousands of airplanes come to Oshkosh airport for a week long fly-in.  To see home built aircraft that have the touch of each builder who had guts enough to attempt to build their own plane to fly in is amazing.  And despite the enormous risk of modifying something like an airplane without a degree in engineering, almost no two of the same design look alike, with each builder putting some of his or her own ideas into the construction. 

With MeteoTemplate, if it doesn't work nothing is lost and we can go back to the code we were using before it stopped. (I've done that!)  With a plane, well the stakes are much higher.

Hats off to Jachym with many thanks, and I just wanted to express this so he didn't think any modifications or changes were a reflection that he didn't do the very superb job that he has done and continues to do.

Thanks, Jachym!

Dale

Hi Dale,
wow, thanks a lot for such a long and detailed comment.

In most points you are correct, though there is something I would like to comment on.

Quote
He made it open and indeed in many situations gave us the hints needed to modify (for instance, the menu line, how to make blocks, where to modify).

Yes, the goal is to make it highly customizable - i.e. allow a totally unexperienced user to built a unique site the way they want it. The original template did this by the possibility to choose the colors, fonts and languages. Then I added support for plugins, which means it was no longer just appearance that distinguished the individual Meteotemplate sites. And then in version 4 I introduced the concept of blocks, which allows you to build the homepage from these "building blocks" and arrange them the way you like.
As you can see, it was a gradual process and so by that I also want to emphasize, that this process is not at the end. I think about how the template could be further made customizable and add new options - for example, just recently the possibility to set the wind arrow in the Current block, possibility to set vertical/horizontal display of the US radar block etc. And there will be new exciting things in Meteotemplate 5.0, which will be related to this too.

Quote
I can fully understand how that might make him nervous, it is his baby and if we change stuff beyond what he's tested, it would be completely expected for him to be anxious that what he has worked so hard on could be compromised in some way that he has every right to be worried about. 

Well yes and no. It is true that it is like "my baby", but it does not make me feel nervous when people try to go a bit further and adjust it even more. Obviously this depends on that particular person's programming skills and if they are able to work with the actual code, then why not. Of course there will always be things that can further make your page look the way you want it. I also made a few compromises, which went beyond what I originally wanted. For example I was always a big fan and promoted the so-called "material design". The idea is to make things simple, no 3D fonts, no big shadows, no fancy animated GIFs etc. In my opnion, it best serves the purpose of these websites, the primary goal is to inform people in a way that is as much understandable and clear as possible. And meanwhile it sort of goes with the current trend of web design. However, lot of people actually still like the elements of the - I call it - webdesign of the late 90s and early 2000s.... and because I was asked about this a lot, I also added the option of the gradients for example, something that I originally didn't want. You can now make the background as gradients. And in this particular case of Colin, I would even add the possibility of bg image, but that cannot be done easily for technical reasons I explained earlier in this thread, it is something that I would have to take into consideration at the beginning, which I did not and so now would require an update of every single page (not such a big problem from my perspective, but another goal is to make updates as easy as possible and most importantly, try to maintain as much user settings untouched as possible so that you don't have to set up everything with each update).

So, to sort of summarize my point - I am absolutely opened to new ideas and people modifying their sites. One option is obviously to let me know what you would like and I would tell you what is/isn't possible and I want to emphasize that I do take into consideration all feedback (the idea of the wind arrow, the horizontal radar, the rain block, the gradients... those were all things that people asked me about).

The only reason I wrote that post with the colors is because since I did the entire template I sort of know what are all the things you have to keep in mind. And I can very well understand how sometimes people just have an idea and they think it would be very easy and great and do not actually think about all the consequences.  In this particular case, of course I know that it would be great if the temperature for example had a unique color, I would ideally even make the line red when above freezing point, blue when below, humidity probably in green, solar radiation yellow.... but the problem is that obviously I cannot do that - it is a tax for being able to change the colors. The only possibility would be to create a special set of colors for each color scheme - technically possible, but not realistic due to the amount of work and time it would take me to do all this 16 times.

Colin did a very smart thing, something that very easily solves this - set the color scheme he likes and disable the option for the user to change the color scheme. That basically solves it. It is however something I cannot do - I would also have to choose one color scheme for you, disable the user settings and release it that way and therefore you would lose all this freedom of setting the design combination. So the point of my original post was that if you want to do it, it is of course possible, but you must not forget to do the other things as well - i.e. disable the user settings. And I also mentioned it to explain why I did not do these things myself, because at first people often don't realize that when I develop this I do not know what your final page will look like. This was also a big problem when making the homepage responsive. It is not so difficult to do these days, but in this case it was much more complicated. The way this is usually done is you split the page into an imaginary grid and then set the number of grid points for each column etc. And there comes the problem - I don't know the number of columns and I don't even know their widths.

The most important thing of this entire post is that I want to emphasize again - if you have any sort of question, feedback, idea, find a bug... let me know :-)



Title: Re: Meteotemplate - new free website template
Post by: Brett001 on March 20, 2016, 11:48:22 AM
Hi Jachym,

Proposal for modification:
For annual report graphs. Range: instead of spline type columnrange type. IMHO more transparent.

Development proposal:
For current block: temperature, humidity, pressure values beside each other one arrow. UP arrow or DOWN arrow depending on how the last hour has increased or decreased in the value.

Regards: Zoltán :)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 12:23:05 PM
Hi Zoltan,

in the current block this would require large modifications, because remember that this particular block does not work with the database. I made this completely independent and it takes data from clientraw/realtime/mbLive etc. The only possibility therefore would be if that parameter (trend) was included in these files, which I think it is not.

With regards to the range - yes it is a range graph, the problem is with Highcharts. They have recently made some modifications and the range graphs do not show up properly on some graphs. I looked at their support forum and many people reported this so I assume they will fix it again. It is I think due to some recent changes they did to Chrome and how it handles canvases.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 20, 2016, 01:46:41 PM
Quote
The only possibility therefore would be if that parameter (trend) was included in these files, which I think it is not.

Clientraw.txt from WD does include those parameters.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 02:01:00 PM
What about the other ones I will need to check that, it would definitely be a problem with some I think
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 20, 2016, 02:05:49 PM
Quote
The only possibility therefore would be if that parameter (trend) was included in these files, which I think it is not.

Clientraw.txt from WD does include those parameters.

Tom


The same issue for cumulusrealtime.txt

oops http://wiki.sandaysoft.com/a/Realtime.txt there is <#presstrendval> and <#temptrend>
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 20, 2016, 02:52:52 PM
Ok so - I am probably a pain in the ass...  How about the possibility of tide tables?

Thanks!  Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 03:14:36 PM
Ok so - I am probably a pain in the ass...  How about the possibility of tide tables?

Thanks!  Jeff

 :shock: What do you mean "I am probably a pain in the ass"? Why?

Regarding tide tables - you are the second person who suggested this just within the last week and I in fact looked at this myself about a month ago, the problem is finding a usable data source. I found a few but the problem was that when I compared the times, each one had something totally different for the same place and same date. I am still trying to find what would work the best - in terms of accuracy and in terms of getting the actual data, I hate HTML parsing and so I am trying to find something that would have this in a machine readable output - txt, json or XML.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 20, 2016, 03:16:59 PM
Any thoughts on freetidetables.com?  Or

http://opendap.co-ops.nos.noaa.gov/axis/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 03:33:51 PM
My first and most obvious try was this:
https://tidesandcurrents.noaa.gov/tide_predictions.html?gid=1392#listing

The problem is that they have the data accessible in such a way that you have to request it as a user from the page and not automatically retrieved by a script - probably to prevent bulk downloads.

Also, a big disadvantage of the above link is that obviously this would only work for the US.

Then I found this:
http://www.worldtides.info/
This seemed as an ideal choice, they have an API which even in the basic free version offers way enough calls and has data globally, not just the US. I registered for the API just 4 days ago to try it, it works. But... "it works" - it gives an output, but the problem is that it is totally different from the other sites and I suspect that since the other ones are more less consistent, this one probably uses some incorrect calculations and so also unusable.

I will look at the link you sent me, but again, this would limit it to just the US
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 20, 2016, 03:35:56 PM
Thanks!  I will also keep digging and see what I can find.  Doesn't wunderground have tide data we could pull from the api?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 03:37:03 PM
As I learn more and "fiddle" with the template and my set-up, I was wondering if it is possible to take the NWS Alert script and when a warning is displayed, to have it auto post to a Twitter account?

Oops... sorry Jeff, you were probably referring to this in your last post... I completely missed your post... PM
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 20, 2016, 06:40:57 PM

PS, so those were wallabies or kangaroos in one of your images! I just looked where your home is and it explains some of the pictures on your site.  Are they near where you live and you see them in the wild once in awhile?

They are kangaroos. These two stood over 6 feet tall. We see them every day, sometimes in groups of twenty or more.
All he photo's were taken within walking distance from our home.
Although the moon is not as close, the photo was taken from the yard. I was setting up my telescope one afternoon and needed a reference point.
It was a bit difficult with all the trees and mountains then I looked up and saw my reference point. Looked nice so I pushed the camera lens to the eye-piece and that was the result. It is now my favourite photograph.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 20, 2016, 06:59:41 PM
As an open note to Jachym, whom without we'd not have this wonderful program....

He made it open and indeed in many situations gave us the hints needed to modify (for instance, the menu line, how to make blocks, where to modify).

With that openness, he also took the risk that we who have much less programming skill and absolutely none of the lessons-learned and knowledge of design choices made during the long incubation and hard development and tweaking process that he went through, as to why certain things were done.  To allow some user choices such as color scheme and all.......

Well said.
If it was not for Jachym, I would be rocking back and forth in a rocking chair with a blanket over my legs waiting to fall off my perch.
He gave me the inspiration to re-discover almost forgotten skills. We are all grateful.

(http://www.manorts.com/smiley/respect/respect21.gif)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2016, 07:17:08 PM
Not really :D

SNEAK PEAK TO HOW METEOTEMPLATE IS CREATED

More like this:

(http://static1.squarespace.com/static/55ae84e5e4b0c3f14efae239/56d8a184ab48de3fe2adb9c7/56d8a33bcf80a1cb4eb78f5a/1457038150191/sleep-pillow.png)
(http://www.netanimations.net/Moving-picture-green-monster-on-computer-animated-gif.gif)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 21, 2016, 07:35:46 AM
Is that a Spring Easter egg I see?

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 07:47:49 AM
:D What do you think :D
It is not the first time the home icon changed ;)

Have a look at Colin´s site :D
http://www.manorts.com/meteo/
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 21, 2016, 08:06:58 AM
Spring was yesterday  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 08:33:43 AM
Yes, technically yes, but the script just has built in Mar 21 :D It does not look at leap yrs :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 21, 2016, 08:45:38 AM
Aha that way but the coming years it will be 20 march so time to update ;)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 09:36:30 AM
Quote
Yes, technically yes, but the script just has built in Mar 21 (http://www.wxforum.net/Smileys/default/icon_biggrin.gif) It does not look at leap yrs (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
Quote
Have a look at Colin´s site (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
But his showed the fall leaf yesterday, when it was Mar 20th #-o ;)
 
Paul
Title: Meteotemplate - New Block - Twitter Feed
Post by: Jáchym on March 21, 2016, 11:23:37 AM
(https://cdn3.iconfinder.com/data/icons/free-social-icons/67/twitter_circle_color-128.png)

Hi guys,

Twitter is celebrating 10 years of existence today! So let´s celebrate by a new Twitter Feed block. This block connects directly to the Twitter API and allows you to display your tweets as well as your and your friend´s tweets.

Because it does not use the built-in widget, but rather the API directly, it can nicely fit into your template styling, uses caching and you can also specify the maximum number of tweets to display.

You will need to get a few API keys and tokens, instructions about how to do this are included in the settings.php.


I have also updated the Current block, which now has the option to show wind direction not as degrees, but as an abbreviation (N, NNE etc. using your language settings) and a little arrow image.
Enjoy

(http://i67.tinypic.com/dea74l.png)
Jachym
Title: Re: Meteotemplate - New Block - Twitter Feed
Post by: jeffm5690 on March 21, 2016, 11:56:03 AM
(https://cdn3.iconfinder.com/data/icons/free-social-icons/67/twitter_circle_color-128.png)

Hi guys,

Twitter is celebrating 10 years of existence today! So let´s celebrate by a new Twitter Feed block. This block connects directly to the Twitter API and allows you to display your tweets as well as your and your friend´s tweets.

Because it does not use the built-in widget, but rather the API directly, it can nicely fit into your template styling, uses caching and you can also specify the maximum number of tweets to display.

You will need to get a few API keys and tokens, instructions about how to do this are included in the settings.php.


I have also updated the Current block, which now has the option to show wind direction not as degrees, but as an abbreviation (N, NNE etc. using your language settings) and a little arrow image.
Enjoy

(http://i67.tinypic.com/dea74l.png)
Jachym

Love it!  It was quick to configure and works perfectly!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 12:20:07 PM
Looks like this is one block I won't add 
Quote
ErrorYou must add your mobile phone to your Twitter profile before creating an application. Please read https://support.twitter.com/articles/110250-adding-your-mobile-number-to-your-account-via-web for more information.
and I don't have a mobile phone.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 12:38:11 PM
Hi,
if you don´t use Twitter then obviously you don´t need it, but if you do then simply use someone´s phone number that you have access to, I think they send you some code that you type in and that´s it. It is only to prevent people from making hundreds of apps per person.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 01:00:25 PM
Thanks Jachym,
I do have a Twitter account that Cumulus uploads to regularly.  Will see if I can get a number added to my profile.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 01:26:21 PM
As I said, they are not going to call you :D It is only to prevent people from making hundreds of apps, so you just need any number where you can check the code, if I remember correctly, they sent me like a code that I entered to verify it. But Im not sure, what I can say is that they never ever called me, I created the api like 3 yrs ago and I didnt even know that my number was there. I wouldn´t worry about this.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 03:27:49 PM
I managed to get it added www.komokaweather.com/j-template/indexM.php (http://www.komokaweather.com/j-template/indexM.php)
 
Thanks Jachym for the addition and your help again,
Paul.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 21, 2016, 07:11:22 PM
I managed to get it added www.komokaweather.com/j-template/indexM.php (http://www.komokaweather.com/j-template/indexM.php)
 
Thanks Jachym for the addition and your help again,
Paul.

Looks good Paul.  How did you set up your site so that when you hit it with a mobile device it displays optimized for mobile devices?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 07:18:20 PM
I managed to get it added www.komokaweather.com/j-template/indexM.php (http://www.komokaweather.com/j-template/indexM.php)
 
Thanks Jachym for the addition and your help again,
Paul.

Looks good Paul.  How did you set up your site so that when you hit it with a mobile device it displays optimized for mobile devices?

It is simply just a different index, but with just one column horizontally
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 07:19:58 PM
I've created a new index with fewer blocks, called indexM.php
A trick mentioned by Jachym.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 07:21:02 PM
I've created a new index with fewer blocks, called indexM.php
A trick mentioned by Jachym.

Enjoy,
Paul

Edit: cross posted with Jachym, and yes only one column in my indexM.php
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 21, 2016, 07:22:10 PM
I've created a new index with fewer blocks, called indexM.php
A trick mentioned by Jachym.

Enjoy,
Paul

Thanks!  Excuse my naivety, how does your device know to go there?  What a great idea.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 07:31:32 PM
I don't think my site knows or does anything like that, just have to actually call the separate indexM when on smaller devices/computers (I have a link in the footer) but I actually created it so that Jachym can actually load my site :lol:

However, the smarter folks here would likely have some way of doing that :oops:

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 07:40:26 PM
Yes there is a way of automatically redirecting based on user device and Jachym knows how to do it and knows people want it ;)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 21, 2016, 08:05:11 PM
Yes there is a way of automatically redirecting based on user device and Jachym knows how to do it and knows people want it ;)

Hahaha 😆😆
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 21, 2016, 08:09:05 PM
I've created a new index with fewer blocks, called indexM.php
A trick mentioned by Jachym.

Enjoy,
Paul

Thanks!  Excuse my naivety, how does your device know to go there?  What a great idea.

I use this script in my index.php which does a redirect to the mobile.php file.


Code: [Select]
<script type="text/javascript">
  <!--
  if (screen.width <= 800) {
    window.location = "http://donganhillsweather.net/mobile.php";
  }
  //-->
</script>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 08:13:28 PM
Yes there is a way of automatically redirecting based on user device and Jachym knows how to do it and knows people want it ;)

Hahaha 😆😆

What I meant was... I just cant do everything at once :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 21, 2016, 08:14:10 PM
I've created a new index with fewer blocks, called indexM.php
A trick mentioned by Jachym.

Enjoy,
Paul

Thanks!  Excuse my naivety, how does your device know to go there?  What a great idea.

I use this script in my index.php which does a redirect to the mobile.php file.


Code: [Select]
<script type="text/javascript">
  <!--
  if (screen.width <= 800) {
    window.location = "http://donganhillsweather.net/mobile.php";
  }
  //-->
</script>

Thank you!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 08:19:54 PM
What you also need to do though is have a possibility to override this if the user wants to access your normal page even from a mobile device, using just this will never let them do it.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 21, 2016, 08:20:49 PM
What you also need to do though is have a possibility to override this if the user wants to access your normal page even from a mobile device, using just this will never let them do it.

Good point.  I often see sites with an option in the footer for "full screen".
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 08:37:34 PM
Now my turn to ask...
I already have links in my footer to either the full or mobile.  Would I put that code exactly as is (using my own correct url) within the top <?php ---- ?> of my index.php?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2016, 08:45:29 PM
No Paul, the above code is in JavaScript, not PHP so you must not put it within PHP code.

To make that override, you would either need an intermediate page or little bit of extra PHP code. As I said previously, it is something that I have on my to-do list and is planned.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 21, 2016, 08:53:09 PM
Thanks Jachym,
I will wait, and certainly not a priority.  Just had to try and see if I had learned anything... and my approach didn't work #-o
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 21, 2016, 09:09:40 PM
Now my turn to ask...
I already have links in my footer to either the full or mobile.  Would I put that code exactly as is (using my own correct url) within the top <?php ---- ?> of my index.php?
 
Paul

Paul,
I inserted that code as the first lines in my index.php and it works for me well with all our mobiles.   

However as noted mobile devices will away re-direct to that mobile index using this script.   The work around is having another index without the code, example index3.php and use a 3 - column layout for that.  Since I know Jachym is working on fixes for the long term I just added a Style Menu which has links to the many different configuration of index's, such as 1 , 3 and 4 column layouts.   
Code: [Select]
<script type="text/javascript">
 
  if (screen.width <= 800) {
    window.location = "http://donganhillsweather.net/mobile.php";
  }
 
</script>
<?php
############################################################################

# Meteotemplate
http://www.meteotemplate.com
Free website template for weather enthusiasts
Author: Jachym

Title: Re: Meteotemplate - new free website template
Post by: Colin on March 21, 2016, 11:23:01 PM
Maybe this is the answer. Detect user_agent

http://www.codexworld.com/mobile-device-detection-in-php/
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 22, 2016, 12:03:20 PM
I gave up a long time ago on getting sites to detect mobile and tablet screen sizes, particularly on Android. The problem started when a 10.1" tablet I was using, should have been using the full site, instead, it was rendering the mobile version. The issues with that was, I had another 10.1" tablet that was using the full site. The same was happening on 8.3" tablets and 9" tablets, despite the resolution capable of rendering the full site perfectly well. It turned out that Android scales down screen widths when using the browser (for no good reason most of the time) It doesn't do it on all devices, thats what is so confusing.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 22, 2016, 12:23:46 PM
It isnt that hard, basically, all you need to do, no matter if you use screen resolution or user-agent, is to have this automatic detection alongside the possibility to manually override this and switch to whichever version you want.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 22, 2016, 12:47:08 PM
Quote
Paul,
I inserted that code as the first lines in my index.php and it works for me well with all our mobiles.   
I have gone with that for now.  And it works on the testing I have done (one IPad  ;) )
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 22, 2016, 10:45:32 PM
Now if I can l learn how to code an iOS app and make one for LINY Weather pulling from the. Clientraw and that is as friendly as meteotemplate and looks sexy, that would be great!  Time to start learning programming.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 06:10:39 AM
Just keep in mind that programming a mobile app is totally different to web development. It is a different language, different development tools, different structure. Not necessarily more difficult/easier, just different :)
Title: Meteotemplate - New plugin - Station Data Comparison
Post by: Jáchym on March 23, 2016, 10:45:32 AM
Hi guys,

a new plugin is now available. This plugin allows you to compare your data with any METAR station or WU station for a specified day. This can be very useful not just to see how the data from your station differs to some other, but also in terms of data quality check if there is for example some professional METAR station nearby.

Main features:
-   raw data from your station and station to be compared with
-   detailed statistical analysis (including correlations, averages, covariance, skewness etc)
-   interactive graphs (including some new types which were never available in the template so far, for example boxplots).
-   sortable tables
-   direct export to PNG, JSON, TXT, XLS, SQL etc.
-   easy METAR station selection based on country and place
-   all units converted based on Meteotemplate user settings

Installation is easy; all you have to do is set the default location in the settings file.

Just a few things to note.

In the calendar you choose the day of interest. The data is taken from Weather Underground, which aggregates data always by days. This means, that if for example you choose March 23, 2016, it will load all the values for that particular station available at WU server. Then, it will find the time difference between your station and the station chosen for comparison and load data from the database which correspond to that interval. In other words, if for example there is a 5 hour difference, it would not take values from midnight till midnight for both stations, but it will take whatever is available for the remote station and then choose the appropriate data from the database, which might also span to the previous or next day. The point of this is that the two data points should always correspond to the same point in time.

Another thing to note is that unfortunately, the more I worked on this plugin, the more I realized how inconsistent WU is. Different stations report different parameters, use different units, different headers etc etc. I have tried to test as many as possible and make the appropriate adjustments in the code (which is many therefore over 6000 lines long for each of the scripts), but it is of course possible that some stations might still cause problems. It will always try to show all the available parameters and hide the ones that are N/A.
I added the new strings in the Translations section so the plugin can be fully localized.

Enjoy

Jachym

Demo: http://www.meteotemplate.com/template/plugins/stationCompare/index.php
Download/documentation: http://www.meteotemplate.com/web/plugins/stationCompare.php
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 23, 2016, 11:22:54 AM
Hi Jachym
Just trying your brand new plugin for comparing station data. Looks really cool and useful.

However I went to your compare METAR page demo http://www.meteotemplate.com/template/plugins/stationCompare/compareMETAR.php (http://www.meteotemplate.com/template/plugins/stationCompare/compareMETAR.php) and surely that should show the comparison table (which is doesn't) or for yesterday http://www.meteotemplate.com/template/plugins/stationCompare/compareMETAR.php?metar=LKTB&d=22&m=03&y=2016 (http://www.meteotemplate.com/template/plugins/stationCompare/compareMETAR.php?metar=LKTB&d=22&m=03&y=2016) - its flashes up a result and then the table disappears

Does the same on my site - am I going crazy (very likely) or is this a bug?

Also the cache files you are creating are not going in a subfolder called cache like you usualy do - is this by design?

UPDATE:
Ignore most of that - now I understand hwo it works... still the cache question still applies
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 11:27:04 AM
Hi Justin,
no there are no cache files in this case, it creates it only very temporarily to analyze the data and then immediately deletes it because there is no point in creating cache files when you can choose any station, any date.

With regards to the falshing... I think what you mean is actually the fact that to view the data you click the icons below the calendar, that flash at the beginning is just a delayed response of the Javascript, which initally loads it all and then quickly hides it as soon as it is loaded.

So to view the data, you simply click the icons below (temp, humidity, airport for raw airport data etc.). This is because if I viewed it all at once it would be very long and disorganized.
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 23, 2016, 11:30:51 AM
Yes - I now understand - too hasty as ever  :oops:

The temp files are not getting deleted for some reason on my IIS server. I will investigate.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 11:36:12 AM
Hmm, check the priveleges, I just checked my server and there are no cache files
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 23, 2016, 11:52:45 AM
Great plugin ! Thanks comapared too the nearest metar I think the results of my station are fine :) http://apeldoorn.tk/meteo/plugins/stationCompare/compareMETAR.php?metar=EHDL&d=23&m=03&y=2016
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 12:03:04 PM
Great Ron,
Im glad you like it and nicely surprised it all works :D (given how many unexpected things I encountered while developing it).

Ive just added your translations as well.

Outlier - I think it is this: https://nl.wikipedia.org/wiki/Uitbijter
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 23, 2016, 12:15:47 PM
I can understand it was a tough job also different units andso-on brrr I think it's indeed uitbijter but statistics (in high mathematics) is long ago for me  #-o
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 23, 2016, 12:27:01 PM
I've just installed the solar sensor for my station! :)

I'll be checking out the new plugin after i've cooked dinner.  \:D/
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 23, 2016, 12:34:08 PM
Just keep in mind that programming a mobile app is totally different to web development. It is a different language, different development tools, different structure. Not necessarily more difficult/easier, just different :)

Well, the advantage I have is that I really have no decent experience either way :)
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 23, 2016, 12:42:33 PM
Hmm, check the priveleges, I just checked my server and there are no cache files
Hi Jachym,
I think I have found a minor bug in the stationCompare compareMETAR.php and compareWU.php files (which may only effect IIS).

If you do not use the PHP command :
   fclose($file);
to close the cache file then the unlink command will fail as it is still open to be read.
May be good practise to put in in anyway.
I have placed the command immediately before the unlink command.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 12:45:54 PM
Yes, you are right... I know about this and I forgot to put it there because "my server doesn´t care" :D
Title: Re: Meteotemplate - New plugin - Station Data Comparison
Post by: SpringHillWeather on March 23, 2016, 02:06:16 PM
Hi guys,

a new plugin is now available. This plugin allows you to compare your data with any METAR station or WU station for a specified day. This can be very useful not just to see how the data from your station differs to some other, but also in terms of data quality check if there is for example some professional METAR station nearby.

Main features:
-   raw data from your station and station to be compared with
-   detailed statistical analysis (including correlations, averages, covariance, skewness etc)
-   interactive graphs (including some new types which were never available in the template so far, for example boxplots).
-   sortable tables
-   direct export to PNG, JSON, TXT, XLS, SQL etc.
-   easy METAR station selection based on country and place
-   all units converted based on Meteotemplate user settings

Installation is easy; all you have to do is set the default location in the settings file.

Just a few things to note.

In the calendar you choose the day of interest. The data is taken from Weather Underground, which aggregates data always by days. This means, that if for example you choose March 23, 2016, it will load all the values for that particular station available at WU server. Then, it will find the time difference between your station and the station chosen for comparison and load data from the database which correspond to that interval. In other words, if for example there is a 5 hour difference, it would not take values from midnight till midnight for both stations, but it will take whatever is available for the remote station and then choose the appropriate data from the database, which might also span to the previous or next day. The point of this is that the two data points should always correspond to the same point in time.

Another thing to note is that unfortunately, the more I worked on this plugin, the more I realized how inconsistent WU is. Different stations report different parameters, use different units, different headers etc etc. I have tried to test as many as possible and make the appropriate adjustments in the code (which is many therefore over 6000 lines long for each of the scripts), but it is of course possible that some stations might still cause problems. It will always try to show all the available parameters and hide the ones that are N/A.
I added the new strings in the Translations section so the plugin can be fully localized.

Enjoy

Jachym

Demo: http://www.meteotemplate.com/template/plugins/stationCompare/index.php
Download/documentation: http://www.meteotemplate.com/web/plugins/stationCompare.php

Thanks again Jachymn for providing us with even more plugins!

I hope everyone appreciates all the time and effort you put into this.

This is very helpful, since it can be used like the Gladstone family site but has many more options!! 

Great Job again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 02:27:50 PM
Thank you Tom.

OT:
The interactive banner currently does not work. I just checked the API and it returns no results. Going to FB Yahoo page:

Quote
We are having a server technical difficulty right now. We are working on it. Sorry for the inconvenience.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 23, 2016, 02:45:08 PM
Hi Jachym,
I am not at home to install the new plugin but looking forward to do that tonight.

It so happens that I have been doing quite a bit of investigation the past days on the local METAR and WU airport data (and your earlier METAR plugin) compared to my station and entering that in a spreadsheet each hour that I was by the computer.  That has raised a couple of questions/issues which I will relook at when the plugin is installed.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 02:53:49 PM
Hi Jachym,
I am not at home to install the new plugin but looking forward to do that tonight.

It so happens that I have been doing quite a bit of investigation the past days on the local METAR and WU airport data (and your earlier METAR plugin) compared to my station and entering that in a spreadsheet each hour that I was by the computer.  That has raised a couple of questions/issues which I will relook at when the plugin is installed.

Paul

Well I hope this will make your life easier then by not having to retype it into Excel :-)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 23, 2016, 03:15:42 PM
Hi Jachym in addition of the notice from Paul I did compare my station against the metar of London (Canada) http://www.apeldoorn.tk/meteo/plugins/stationCompare/compareMETAR.php?metar=CYXU&d=23&m=3&y=2016 as I understood from your post the values from the metar at this moment are from about 3 AM PM over there are these compared with my station at 8 PM ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2016, 03:35:24 PM
Hi Jachym in addition of the notice from Paul I did compare my station against the metar of London (Canada) http://www.apeldoorn.tk/meteo/plugins/stationCompare/compareMETAR.php?metar=CYXU&d=23&m=3&y=2016 as I understood from your post the values from the metar at this moment are from about 3 AM PM over there are these compared with my station at 8 PM ?

Yes, if you look at the raw data, for Paul it starts at midnight, for you it starts at 5AM since that was around the time Paul went to bed at midnight his time :)

In other words, the two data points correspond to the same instance in time.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 23, 2016, 03:41:07 PM
Yes, if you look at the raw data, for Paul it starts at midnight, for you it starts at 5AM since that was around the time Paul went to bed at midnight his time :)

In other words, the two data points correspond to the same instance in time.

LOL  thanks
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 03:59:58 AM
Yahoo forecast seems to be broken  :-| I set it to Wunderground
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 06:24:12 AM
Strange on my other site http://apeldoornmeteo.nl yahoo works https://weather.yahoo.com/

This is a part from the script bij Wim Kuil (Leuven-Template)

Code: [Select]
# retrieve weather info from weathersource (yahoo) and return an array with retrieved data in the desired units C/F
# language always en-US
# http request:  http://xml.weather.yahoo.com/forecastrss/LOCATIONCODE_c.xml
#   LOCATIONCODE = for instance BEXX0026 for  <yweather:location city="Beauvechain" region="" country="BE"/>
#   _c = Celsius  changes weather units to metric <yweather:units temperature="C" distance="km" pressure="mb" speed="km/h"/>
# _f = fahrenheit  <yweather:units temperature="F" distance="mi" pressure="in" speed="mph"/>
#--------------------------------------------------------------------------------------------------
class yahooWeather{
# public variables
public $location = '973505';  // must be a yahoo code (f.i. 973505) go to http://weather.yahoo.com/, find your city and check the numeric w code in the url
public $lang = 'en'; // supported languages from yahoo weather only en-us
public $yahooKey = ''; // no Key needed for yahoo
# private variables
private $uomTemp = '&deg;C';
private $uomBaro = ' mb';
private $uomWind = 'kmh';
private $uomRain = ' mm';
private $uomDistance    = ' km';
private $enableCache= true; // cache should be anabled when frequent request are made. Keep in mind that the data is only refreshed every hour by google
private $cachePath = 'cache/';
private $cacheTime = 600; // Cache expiration time Default:  = 10 min
private $icons_url = 'http://l.yimg.com/a/i/us/we/52/';  //  Location of the weather icons
private $icons_ext = '.gif';       //  Location of the weather icons
private $weathersource = 'yahooweather';
private $cacheFile;
private $weatherApiUrl = '';
private $apiUrlpart = array(         // http://weather.yahooapis.com/forecastrss?w=973505&u=c    version 2
0 => 'http://weather.yahooapis.com/forecastrss?w=',
1 => '$this->location',
2 => '&u=',
3 => 'c'
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 06:26:02 AM
I see, I think they made some changes to the API then, because even the command they give in the example in their API is now non-functional
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 06:41:17 AM
OK I found it.

They now require authentication, and I am also unable to create a profile, when I click create app I get "unknown error".

I guess I will just have to remove yahoo from the forecast block, remove the world weather block and also the banner will not work.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 06:47:51 AM
OK I found it.

They now require authentication, and I am also unable to create a profile, when I click create app I get "unknown error".

I guess I will just have to remove yahoo from the forecast block, remove the world weather block and also the banner will not work.

Indeed Yahoo is a pain, loosing the banner is pity...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 06:59:15 AM
The banner will work, but I need to update the script.

The forecasts probably no, because unless it lets me create an app I can do much
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 07:03:57 AM
That would be nice , anyway I think the yr.no and wu-forecast are good enough but I think yr.no is not availble for the whole world ? By the way is it complicated to create a banner based on the output of the nearest metar or is this too heavy ...
Title: Meteotemplate - important changes
Post by: Jáchym on March 24, 2016, 07:40:49 AM
Hi guys,

it is now necessary to get an API key and authorize for the Yahoo weather forecast and unfortunately for some reason I get an “unknown error” message when trying to create an app so it is unusable. There is a limited access available even without the API key. Below is a list of what this means for various parts of the template.

See the blog for more info
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 08:22:55 AM
Code: [Select]
Once you have changed this in the config
There is no field in the config.php for yahoo...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 08:31:48 AM
Code: [Select]
Once you have changed this in the config
There is no field in the config.php for yahoo...

No, just enter the number in the bannerID parameter
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 08:39:21 AM
I even don't have a bannerparameter I've hardcoded the  now in the header
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 08:41:19 AM
I even don't have a bannerparameter I've hardcoded the  now in the header

You probably didn´t update it when you were updating the template
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 24, 2016, 08:46:45 AM
I even don't have a bannerparameter I've hardcoded the  now in the header

You probably didn´t update it when you were updating the template

Aha that should be it I still use the first config.php  :shock: thanks
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 24, 2016, 09:04:16 AM
Is it not possible to get the banner working with the current conditions parameter from Wunderground? I can't speak for everyone, but it has been 99.99% correct for my location- even when it has been foggy. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 09:16:40 AM
I would have to rewrite the code from scratch, the banner has built in parameters for each Yahoo code, in other words, for each code number it has all the parameters such as which bg image to choose, whether to show rain, snow etc.
Second, WU requires API and not everyone uses WU, but everyone using the template has a banner, so for that reason I will not even try to rewrite the code, because this is something I want to work for everyone.
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 24, 2016, 11:31:51 AM
Hi Jachym
Just another suggestion for a block, and it may well not be possible.
What about local pollen levels - just as you have already have UV and Air Quality.
Living in a family that suffers widely from hay fever this woul be pretty useful.
I have no idea whether this is possible and how widely available this info is - probably not!
Anyway thought I would mention it.
Currently I just put a link to the Met Office Pollen page http://www.metoffice.gov.uk/health/public/pollen-forecast (http://www.metoffice.gov.uk/health/public/pollen-forecast).
Justin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 11:41:33 AM
Yes I already got that suggestion. Problem is that i did not find any usable data source, there was one, which just recently has been canceled because it was using data that it did not have the right to use.

Your link would only work for the UK, plus I think they dont even have this in their API and is therefore only available at the metoffice site, see if you can find some usable data source
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 07:05:22 PM
OK,
I made some changes and it seems like the scripts are working again. If you changed your banner then leave it that way, this is a more secure way.

Also, I am not sure how long this fix will work, if Yahoo introduces the OAuth2.0, further modifications will have to be implemented, so just give it a try now and we will see.

Hopefully it will work, at least for some time.

Thanks for patience and sorry for the inconvenience - I will try to offer some compensation during the weekend :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 24, 2016, 07:07:41 PM
The forecast has started working for me again, it shows 10 days as well.  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 24, 2016, 07:56:36 PM
I have updated.  Header, forecast and World Weather blocks seem to be working correctly.
 
Paul
www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 24, 2016, 08:53:35 PM
I have updated.  Header, forecast and World Weather blocks seem to be working correctly.
 
Paul
www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)

I haven't updated anything yet, but the forecast started working of it's own accord.  :-|
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2016, 09:06:23 PM
I have updated.  Header, forecast and World Weather blocks seem to be working correctly.
 
Paul
www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)

I haven't updated anything yet, but the forecast started working of it's own accord.  :-|

Yes, because I authorized Meteotemplate, but question is how long this will work. I suspect they will soon implement OAuth2.0, in which case further modifications will be necessary. Also use the new banner code, it is a safer option.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 25, 2016, 01:53:24 AM
For those that may be interested, I have modified my windRose block. Added the other wind icons.

(http://www.manorts.com/images/rose.png)

www.manorts.com/meteo/windRose.zip
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 25, 2016, 02:05:50 AM
When I removed some icons from the currentBlock the spacings are not correct. They are set at a minimum 60px. I changed it to 100px to get out of trouble but ideally it would be nice to have the spacing as a percentage of the block width.
I did notice a variable '$cellTableWidth = 100/8;' in currentBlock.php but it is not used and does not work when  I tried to use it.

Title: Re: Meteotemplate - new free website template
Post by: Colin on March 25, 2016, 02:13:26 AM
Jachym, can I make a request for another block  [-o&lt;
 A block that shows the date of the wettest day and the amount of rain, the hottest and coldest day and the dates.

Colin
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 25, 2016, 09:28:05 AM
Jachym, or someone who knows....

I am studying all the new updates, ideas from looking at other users' implementation of this software, and when our weekend Easter celebration is done and I have more than a few scattered moments, want to try to update my own installation.

One thing I want to do is eliminate some of the things in the menu bar.  Jachym gives details on how to ADD something, but I'm wondering about removing it.

In days past when I programmed, I learned the best way to try something is to 'comment out' the code that I didn't want to execute.  Putting certain characters in front and at the end of a section of code allowed me to test it, and if I screwed things up too badly or needed to reactivate that section, all I needed to do was remove those comment-out characters.

That way I didn't need to find the original code, select and copy and paste, along with all the possible goof ups that I might introduce.

I wonder if someone can outline what the 'magic characters' are for the stuff in Jachym's code.  Specifically, what does PHP, CSS (if it is editable) and the HTML code groups offer to allow me to do this?


         Beginning Comment       End of Comment

PHP

HTML

CSS           

Something like that, with the character strings or even a very short example for those.

I can just mark and delete, but having done that and needing to upload, test, find error, etc. makes me not want to remove it until I know for sure it works as I wanted, and that the effect that I want to achieve is accomplished.

thanks for any guidance. 

Dale
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 25, 2016, 10:05:02 AM
I downloaded the new header.php yesterday and my banner started working again but this morning I noticed it was just blue and not working.  I entered the $url = "http://weather.yahooapis.com/forecastrss?w=".$bannerID."&u=c"; putting in my banner id and got
Quote
<yahoo:error xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US" yahoo:uri="http://yahoo.com">
<yahoo:description>
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
</yahoo:description>
<yahoo:detail>
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
</yahoo:detail>
</yahoo:error>
I got the same response when I went to Yahoo's RSS weather feed page.  I'm not sure what's happening.  I checked other Meteotemplate sites and all but one wasn't working either.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 10:12:04 AM
Jachym, or someone who knows....

I am studying all the new updates, ideas from looking at other users' implementation of this software, and when our weekend Easter celebration is done and I have more than a few scattered moments, want to try to update my own installation.

One thing I want to do is eliminate some of the things in the menu bar.  Jachym gives details on how to ADD something, but I'm wondering about removing it.

In days past when I programmed, I learned the best way to try something is to 'comment out' the code that I didn't want to execute.  Putting certain characters in front and at the end of a section of code allowed me to test it, and if I screwed things up too badly or needed to reactivate that section, all I needed to do was remove those comment-out characters.

That way I didn't need to find the original code, select and copy and paste, along with all the possible goof ups that I might introduce.

I wonder if someone can outline what the 'magic characters' are for the stuff in Jachym's code.  Specifically, what does PHP, CSS (if it is editable) and the HTML code groups offer to allow me to do this?


         Beginning Comment       End of Comment

PHP

HTML

CSS           

Something like that, with the character strings or even a very short example for those.

I can just mark and delete, but having done that and needing to upload, test, find error, etc. makes me not want to remove it until I know for sure it works as I wanted, and that the effect that I want to achieve is accomplished.

thanks for any guidance. 

Dale

Hi Dale,

very good practice :-) And I did that too in the menu.

For HTML, the comments are delimited like this:
<!--
This section will only be visible in the HTML, but not in the actual page.
-->

CSS
Single line comment:

// this is a single line comment

Multiple lines:
/*
This is a
multiple line
comment
*/

The same goes for PHP:
Single line:
// single line comment
alternatively
# also single line comment
/*
multiple line comment
*/



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 10:14:52 AM
I downloaded the new header.php yesterday and my banner started working again but this morning I noticed it was just blue and not working.  I entered the $url = "http://weather.yahooapis.com/forecastrss?w=".$bannerID."&u=c"; putting in my banner id and got
Quote
<yahoo:error xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US" yahoo:uri="http://yahoo.com">
<yahoo:description>
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
</yahoo:description>
<yahoo:detail>
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
</yahoo:detail>
</yahoo:error>
I got the same response when I went to Yahoo's RSS weather feed page.  I'm not sure what's happening.  I checked other Meteotemplate sites and all but one wasn't working either.
Tom

Hi Tom,
yes they made further changes and now nothing is working, I checked all sites and also many other peoples´ sites including Wim´s Leuven etc. None are working.

Yahoo is now using the OAuth method which to be quite honest is pain in the .... It requires registration at yahoo.com, generation of consumer API key and also relatively complicated scripting to retrieve data. Also many mobile apps are now non-functional.

I found lot of stuff about it on the net from the last 24h, people reporting all the programs, apps and websites not working, but no-one really offering a usable solution.

For now the banner will only show day/night. Plugins/blocks use a slightly different URL and still work, but I doubt this will last for very long.
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on March 25, 2016, 10:44:06 AM
I downloaded the new header.php yesterday and my banner started working again but this morning I noticed it was just blue and not working.  I entered the $url = "http://weather.yahooapis.com/forecastrss?w=".$bannerID."&u=c"; putting in my banner id and got
Quote
<yahoo:error xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US" yahoo:uri="http://yahoo.com">
<yahoo:description>
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
</yahoo:description>
<yahoo:detail>
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"
</yahoo:detail>
</yahoo:error>
I got the same response when I went to Yahoo's RSS weather feed page.  I'm not sure what's happening.  I checked other Meteotemplate sites and all but one wasn't working either.
Tom

Hi Tom,
yes they made further changes and now nothing is working, I checked all sites and also many other peoples´ sites including Wim´s Leuven etc. None are working.

Yahoo is now using the OAuth method which to be quite honest is pain in the .... It requires registration at yahoo.com, generation of consumer API key and also relatively complicated scripting to retrieve data. Also many mobile apps are now non-functional.

I found lot of stuff about it on the net from the last 24h, people reporting all the programs, apps and websites not working, but no-one really offering a usable solution.

For now the banner will only show day/night. Plugins/blocks use a slightly different URL and still work, but I doubt this will last for very long.
http://dictionary.cambridge.org/dictionary/english/bloody-hell

I do not know this time what they are doing.
Their current documentation: https://developer.yahoo.com/weather/documentation.html
Code: [Select]
For example, to get weather for Yahoo! Headquarters in Sunnyvale, CA, use the WOEID code for Sunnyvale (2502265):
http://weather.yahooapis.com/forecastrss?w=2502265
Their response when you use their own example:
Code: [Select]
Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR"
I will remove the Yahoo scripts because their way of implementing OAuth is to complex for all involved.

Sorry,
Wim
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 25, 2016, 11:27:55 AM
Quote
For those that may be interested, I have modified my windRose block. Added the other wind icons.
Hi Colin,
That fills the block nicely =D&gt;  www.komokaweather.com/j-template (http://www.komokaweather.com/j-template)
 
Thanks, and enjoying.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 11:29:09 AM
Hi Wim,

exactly!

I read all their pages and documentation and I am just totally confused.

First they say they are changing the API authentication. Fine, I get that.

Next step:
You will need an API key and Secret, ok so I click "Create App" and I get the key and secret...

But then? Then what?

They tell you to just use the URL, but I just cant see where that API key should be inserted. As you pointed out, even their own example does not work.

I guess the OAuth has to be somehow done using the header and cURL, but there is just so many different scripts for that on the web and in addition, it looks like the OAuth which they are now using is quite outdated and most sites use OAuth2.0, so that makes things even more confusing.

I have been trying to find a workable solution, but so far only came across people like us two, developers, desperately trying to understand what Yahoo is doing.

What is also weird is that the actual API call via the YQL still works ?! In fact the old banner script would now work fine... and my plugins and blocks which use the YQL query also work - so the exact opposite from yesterday, when the direct calls worked and not the YQL...

I really feel like this is the end of Yahoo Weather, for the template, but also for many other sites and apps. And it will be a big problem because since it was the easiest and globally available source, so many developers used it...
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on March 25, 2016, 11:32:57 AM
It seemed they announced here https://developer.yahoo.com/weather/ (look at the top)
Quote
To increase the security measure and better serving our YDN customers, weather data source will enforce OAuth 1 starting March 15, 2016. Please update your API calls with OAuth 1 enabled (via the OAuth /v1/yql end point if using YQL) using your Yahoo App key and secret.

But none of the examples has any clue HOW TO include it.
Not the YQL  not the RSS none.

So yesterday it was fine, without any warning and without any documentation, . . .

Wim


Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 25, 2016, 11:44:25 AM
@ Colin...

Ive dloaded your zip file for Windrose ...it does not show up properly on my side  :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 11:49:42 AM
It seemed they announced here https://developer.yahoo.com/weather/ (look at the top)
Quote
To increase the security measure and better serving our YDN customers, weather data source will enforce OAuth 1 starting March 15, 2016. Please update your API calls with OAuth 1 enabled (via the OAuth /v1/yql end point if using YQL) using your Yahoo App key and secret.

But none of the examples has any clue HOW TO include it.
Not the YQL  not the RSS none.

So yesterday it was fine, without any warning and without any documentation, . . .

Wim

Well sort of... yesterday the YQL, i.e. SQL queries were not working, so I switched the code in the banner to use the direct URL using XML. And that does not work since this morning and interestingely, the SQL works again now. But as I said, I think it is only temporary...

I was just like you totally confused because they say "we will change it, you will need api key" - you get the api key and then what....

Doing some research about OAuth, it turns out this is really complicated, requires several additional PHP classes, lot of info sent via headers... I think that this is actually where you put the API key and secret, it has to somehow be incorporated into a cURL call, where one of the headers gives this and the other one the URL, but again, there is absolutely no examples and their own don´t work either.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 11:56:00 AM
And it is especially interesting that basically the by far most used service, the only one available globally and without any API at all, now changes to one of the most complicated authentication mechanisms, and without giving a single example for developers of how to implement it....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 12:05:08 PM
And just a few funny comments I found on various developer forums :D

Quote
"It's not you, it's yahoo"
Should be their slogan with how many things go wrong with yahoo related things.

Quote
Yesterday my lock screen said it was 9000 degrees Celsius. I thought I better wear sun screen.

Quote
OAuth? No way, I am not even gonna bother

Quote
R.I.P. Yahoo Weather API

Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 25, 2016, 12:23:22 PM
virus:

Do you recall how you modified this line:

Function insertImage( $fileName ) {
    echo '<img src="/homepage/blocks/windRose/images/',$fileName,'">';   
  }

to point to the images?  Does it require a link from the very root of the web page, or just up to the top of the Meteo top directory?

I get a weird little torn of page sign, nothing like you have.

Dale
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 25, 2016, 12:55:56 PM
Hummm...im not the maker of this block...

i tried it and removed it and modded the  current block instead  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 12:57:39 PM
virus:

Do you recall how you modified this line:

Function insertImage( $fileName ) {
    echo '<img src="/homepage/blocks/windRose/images/',$fileName,'">';   
  }

to point to the images?  Does it require a link from the very root of the web page, or just up to the top of the Meteo top directory?

I get a weird little torn of page sign, nothing like you have.

Dale

Try deleting the slash before homepage:
Code: [Select]
echo '<img src="/homepage/blocks/windRose/images/',$fileName,'">';   

Replace with:
Code: [Select]
echo '<img src="homepage/blocks/windRose/images/',$fileName,'">';   
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 25, 2016, 01:16:26 PM

@ Colin...

Ive dloaded your zip file for Windrose ...it does not show up properly on my side  :(

I edited/added using some code from another Jachym block:
 
<div id = "container"> <!-- start of container div -->
 <!-- <table class ="myTableBg"> -->
 <table style="width:98%;margin:0 auto">
  <tr>
 
See, I am learning...
Paul
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 25, 2016, 01:54:43 PM
All this fiddling around has made me start to eat better and get exercise so I can live long enough to try all these things out and learn as you guys have.

Jachym, the removal of the / did the trick.  At least I"m up and running.



Virusdnil:  You wouldn't care to share your currentBlock, would you?  That's very cool, too!

Hint, hint, but understand if you don't...

Dale
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 01:55:44 PM
Hummm...im not the maker of this block...

i tried it and removed it and modded the  current block instead  :grin:

Hmm... looks like you will like something Im working on now  8-)
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 25, 2016, 02:13:57 PM
Jachym, like I said before, don't you ever sleep?

We, of course, are all the benefactors of your drive and talent.

Thanks, it really has been a lot of fun, and I think you need to issue certificates of learning when someone successfully modifies or creates their own Block!

Profesor Jachym!  (My two words in Czech, Brno and Profesor)

Yeah, I'm tired and get punchy...
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 25, 2016, 02:40:06 PM
wich one ?...the current block ?

why not...

For the wind rose...i took them somewhere on  the magnificent google so
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 25, 2016, 02:41:44 PM
@dalereid...

You should update your profile and put your website link  :-P
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 25, 2016, 02:58:55 PM
After reading yahoo's directions I changed the url in header to
Code: [Select]
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%3D2492440&format=json&diagnostics=true&callback=2492440 is my location code. 
I don't know how long it will work but it is for now.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 04:01:11 PM
This is what the old header used until I changed it yesterday.

This is the URL for the YQL service. Yesterday the YQL was not working, the response was that you are not authorized - i.e. they implemented the changes. The direct URL for the XML still worked so I changed it to that.
Today, the direct XML is no longer working too and the YQL is... but I really think it will only work very temporarily. Until then you can theoretically try using the old header.php.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 25, 2016, 05:37:26 PM
Going on what weatherbee posted (thank you)

I used:

Code: [Select]
$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%3D%22".$bannerID."%22&format=json&diagnostics=true&callback=";
However, my original banner id gives me some location in Canada now. I trotted over to yahoo weather, and I took the new id for my location and popped it in the config, and its back to my location now.  \:D/

Not sure how long it'll last, but hey.. we can't be choosey!  :-P
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 25, 2016, 07:55:06 PM
Quote
my original banner id gives me some location in Canada now.
If you made it permanent, we would certainly welcome you to our climate...


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2016, 07:56:23 PM
Quote
my original banner id gives me some location in Canada now.
If you made it permanent, we would certainly welcome you to our climate...


Paul

ROFL  =D&gt; =D&gt; =D&gt;

But actually Paul, I like winter and cold so I wouldnt mind moving to Canada, or Alaska maybe :D or antarctica... surely interesting weather there - unlike here :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 25, 2016, 08:02:41 PM
@ Colin...

Ive dloaded your zip file for Windrose ...it does not show up properly on my side  :-(

Mmm. I do not know what your set up is. It works on other sites so may I suggest you download it again in case it got corrupted somehow.
Going by the image it is not even formatted properly.

Found the problem. Actually Paul discovered it first. I was using my own CSS style which was not included.
I have fixed up the zipped file but you can just do this

Quote
I edited/added using some code from another Jachym block:
 
<div id = "container"> <!-- start of container div -->
 <!-- <table class ="myTableBg"> -->
 <table style="width:98%;margin:0 auto">
  <tr>
 
See, I am learning...
Paul
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 25, 2016, 08:09:37 PM
Jachym,
Well with winter and snow on the ground there certainly are fewer ticks to pull off the dogs and creepy crawlies around.

I was in Florida once and it was immediately apparent at the lack of yearly cleansing that snow fall brings by pushing old growth down and helping with the overall good looks of things.

On the other hand we've had some 50s to 60s with the feel of fresh spring breezes, then 12" of snow which nearly melted away a day later as the sun angle and general temperature of the ground helped hasten it's removal.

I'm not particularly fond of 100% humidity and 85 degrees when I step outside after breakfast, as it was in Kansas City, Missouri one 'fine' day last summer as we travelled through.  Oppressive was a better term.

For me, in addition to the excitement that spring and the new growth and gardens and hummingbirds bring, is fall with the crisp cool air and color of leaves on the hardwood trees turning.  But also comes a sadness that another year has passed and I have fewer of them left to enjoy such things.

I'm waiting for some good thunderstorms with (safe) lightning to see from a little ways away, and the smell of the fresh rain.

Title: Re: Meteotemplate - new free website template
Post by: Colin on March 25, 2016, 08:46:56 PM
Hummm...im not the maker of this block...

i tried it and removed it and modded the  current block instead  :grin:

Looks good up there. Adds a bit of colour.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 25, 2016, 08:59:39 PM

I wonder if someone can outline what the 'magic characters' are for the stuff in Jachym's code.  Specifically, what does PHP, CSS (if it is editable) and the HTML code groups offer to allow me to do this?

Dale
I use TextWrangler on my Mac but any decent editor for the PC should have what you need built in. Just highlight the text and somewhere on the menu bar is an option to comment/uncomment that bit out.
It will detect php css or html and automatically choose the correct syntax.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 03:45:20 AM
Hmm,  this time even more disappointing given I have helped this guy and gave many answers by email,  for free of course....
http://weather.hadstorm.com/index.php
Own copyright and deleted www page in the menu...
Title: Re: Meteotemplate - new free website template
Post by: rainbow on March 26, 2016, 04:28:42 AM
Hi Jachym,
I wrote this guy some words...
Don't worry
Det
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 26, 2016, 04:59:36 AM
I gave him a serve as well. Told him what I think of him.
Also lodged a complaint with the company that hosts his site. I know it may be fruitless but......

Quote
Domain Name: HADSTORM.COM
Registry Domain ID: 1853719070_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.launchpad.com
Registrar URL: LaunchPad.com
Updated Date: 2016-03-14T02:19:12Z
Creation Date: 2014-04-07T17:10:27Z
Registrar Registration Expiration Date: 2017-04-07T17:10:27Z
Registrar: Launchpad, Inc. (HostGator)
Registrar IANA ID: 955
Domain Status: OK https://icann.org/epp#OK
Registry Registrant ID:
Registrant Name: William Hadley
Registrant Organization: HADSTORM
Registrant Street: P.O. Box 21722
Registrant City: Waco
Registrant State/Province: TX
Registrant Postal Code: 76702
Registrant Country: US
Registrant Phone: +1.8669787551
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 26, 2016, 05:07:29 AM
virus:

Do you recall how you modified this line:

Function insertImage( $fileName ) {
    echo '<img src="/homepage/blocks/windRose/images/',$fileName,'">';   
  }

to point to the images?  Does it require a link from the very root of the web page, or just up to the top of the Meteo top directory?

I get a weird little torn of page sign, nothing like you have.

Dale

Some servers like yours do not like the slash as Jachym pointed out. Mine throws an error if it is not included.
Things would work a bit better if there was only ONE standard.
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 26, 2016, 05:41:26 AM
Some servers like yours do not like the slash as Jachym pointed out. Mine throws an error if it is not included.
Things would work a bit better if there was only ONE standard.
But that is the great thing about standards - there are so many to choose from ;-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 06:32:59 AM
Thanks guys for support,  I don't even think it was necessary,  these people should realize this themselves

So back to the template :-)

With regards to the slash,  when you put a slash at the beginning of a link,  it will automatically be treated as server root,  so with the slash it will only work if you have the template files directly in the server root directory,  otherwise it will look for folder homepage there and if it doesn't find it,  it will fail
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 06:48:49 AM
Nice summary
http://www.extropia.com/tutorials/web_design/relative_absolute_links.html
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 26, 2016, 07:24:55 AM
Since changing the banner url, the banner certainly updates more frequently. The current one I have yet to see- gave me a shock (excuse the pun) when I opened my page up. :D
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 26, 2016, 09:30:21 AM
So that is why your suggestion I remove the backslash from my modified file.

I didn't know if it took the / as the root of the web server, or the 'top' of the Meteotemplate install, if it wasn't in the root.

Thanks.

As I say, I learn every day!

Dale
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 26, 2016, 10:02:31 AM
I am in the process of doing an install purely for my own use, and ran into an issue with MeteoBridge updates.  As written, the current update/meteobridge.php has an error-checking routine that will not accept new data uploads until 5 minutes - 1 second have passed.  When my hosting company is slow or my MeteoBridge is busy with other updates, this check is a little bit too strict and results in 5-minute updates being rejected because they were a few seconds early after a delayed one the previous cycle.  Long story short, I made this change ($updateInterval-10 in place of $updateInterval-1) and am validating it now:

Code: [Select]

       if((date($currentTime) - $lastUpdate)>($updateInterval-10)){ // last update must be at least 5 mins ago


Another issue with this script (or the wiki's directions) is the MeteoBridge update success string.  The current version of MeteoBridge throws a scary red error message if this config value is NULL:

Code: [Select]
Error (Event #01): HTTP Upload match string missing

I put in a quick hack by adding an echo("OK"); after the MySQL update call, and then set the success string to OK in MeteoBridge.  Someone with more familiarity with the code may want to add permanent OK and ERROR returns in the appropriate spots, and update the wiki docs for the next release.  I'm also thinking that perhaps the $updateInterval and a new variable for the tolerance (-10) should go in the main config.php file to make customization easier.

FWIW, in the hour since I made the above code changes, meteotemplate has processed every 5-minute update without dropping any.  Before that, it did not go an hour without dropping at least one update since midnight.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 10:12:26 AM
I am in the process of doing an install purely for my own use, and ran into an issue with MeteoBridge updates.  As written, the current update/meteobridge.php has an error-checking routine that will not accept new data uploads until 5 minutes - 1 second have passed.  When my hosting company is slow or my MeteoBridge is busy with other updates, this check is a little bit too strict and results in 5-minute updates being rejected because they were a few seconds early after a delayed one the previous cycle.  Long story short, I made this change ($updateInterval-10 in place of $updateInterval-1) and am validating it now:

Code: [Select]

       if((date($currentTime) - $lastUpdate)>($updateInterval-10)){ // last update must be at least 5 mins ago


Another issue with this script (or the wiki's directions) is the MeteoBridge update success string.  The current version of MeteoBridge throws a scary red error message if this config value is NULL:

Code: [Select]
Error (Event #01): HTTP Upload match string missing

I put in a quick hack by adding an echo("OK"); after the MySQL update call, and then set the success string to OK in MeteoBridge.  Someone with more familiarity with the code may want to add permanent OK and ERROR returns in the appropriate spots, and update the wiki docs for the next release.  I'm also thinking that perhaps the $updateInterval and a new variable for the tolerance (-10) should go in the main config.php file to make customization easier.

FWIW, in the hour since I made the above code changes, meteotemplate has processed every 5-minute update without dropping any.  Before that, it did not go an hour without dropping at least one update since midnight.....

Hi,
yes I see your point with the updates, it did not occur to me because with the other SW you set the caching and so it simply updates the next minute all the previous 5 minutes. I will add those 10 seconds in the main update file.

With regards to the success string, that is really odd because I use MB myself and many other users do and never ran into any problems with using the script just as is and to be quite honest, I am not sure I completely understand what the problem was. Did the update string given in my wiki did not do the update? Was the password included in the URL?
Title: Meteotemplate - New Block - Gauges
Post by: Jáchym on March 26, 2016, 12:16:55 PM
Nice Saturday afternoon guys,

another block is now available. I know this was something lot of you asked, but I wanted to make sure it is the way I wanted it to be, so it took a little longer to make. This new block allows you to place interactive, fully responsive, auto-updating gauges.

Main features:

- select which gauges you want to display and their order (temp, feels like temp, humidity, pressure, wind speed, gust, solar radiation, daily precipitation, UV, wind direction)
- units automatically chosen based on template settings
- several designs - template colors, dark, light, black, white, retro
- configurable gauge limits and tick intervals
- many options for gauge display (enable/diable titles, show/hide actual values, draw background underlay, enable/disable gauge glow/shadow, choose gauge animation type, enable/disable 3D effect)
- fully responsive -  The gauges will auto-align based on screen size - this also means you can pretty much place it in any column width and the user can even themselves zoom in/out
- lightweight for faster loading and possibility to display directly on homepage

Enjoy

To set up you can also simply copy your settings from the current block, it uses the same code, all explained in settings.php as always.

And that is about it, ohhh, "one more thing" :D I have a feeling the mango is getting slightly overripened and so maybe time for eating it and getting a different fruit soon what do you think ;)

Examples
(http://www.meteotemplate.com/web/blockImgs/gauges1.png)
(http://www.meteotemplate.com/web/blockImgs/gauges2.png)
(http://www.meteotemplate.com/web/blockImgs/gauges3.png)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 26, 2016, 01:01:59 PM
I'm very happy with the gauges ! Just one guestion should it be possible to set the range for solar and UV because I will never reach a higher UV as 8 in my region

Anyway thanks for this block Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 02:17:38 PM
Hi,
yes theoretically yes, the reason I did it this way was because of the undercoloring, which messes it up. I will make a customized version of the script for you and send it to you by email.

EDIT: sent
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 02:18:44 PM
SEEEEE WEEEEEEET =D&gt;

Here's MY demand hihihi...

a 1 block...100% wide to be ABOVE all our index blocks...

to see what i mean,please visit my site...i want (id like) to remove SteelSeries  :lol:
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 02:22:34 PM
You know what im thinking ?... once upon a time...A template became sooooo popular,it just became a web based software...

Just like the other one  :shock:

 :twisted:
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 26, 2016, 02:23:59 PM
Hi,
yes theoretically yes, the reason I did it this way was because of the undercoloring, which messes it up. I will make a customized version of the script for you and send it to you by email.
That would be nice, no hurry I,m away for two days thanks in advance !

Just another thing the temerature gauge shows the max temp for today i mean the gauge itself not the value , maybe the wrong field from the realtime.txt by cumulus?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 02:24:18 PM
SEEEEE WEEEEEEET =D&gt;

Here's MY demand hihihi...

a 1 block...100% wide to be ABOVE all our index blocks...

to see what i mean,please visit my site...i want (id like) to remove SteelSeries  :lol:

Hi Carl, Im glad you like the gauges (I knew you would LOL). With regards to the idea you have, see my last sentence in that post.... I wont say more.

Have a nice evening :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 02:25:10 PM
Hi,
yes theoretically yes, the reason I did it this way was because of the undercoloring, which messes it up. I will make a customized version of the script for you and send it to you by email.
That would be nice, no hurry I,m away for two days thanks in advance !

I already emailed it to you, I customized the script so your version will have the UV limited to just 0-11 so that the colors fit
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 26, 2016, 02:33:27 PM
Hi,
yes theoretically yes, the reason I did it this way was because of the undercoloring, which messes it up. I will make a customized version of the script for you and send it to you by email.
That would be nice, no hurry I,m away for two days thanks in advance !

I already emailed it to you, I customized the script so your version will have the UV limited to just 0-11 so that the colors fit

Hmm perhaps the wrong adress? I ve received nothing, i cant even try it out now because i m on my tablet :) anyway thx
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 02:56:43 PM
Jachym...last time you talked about an update in a few Xtimes..... (before mango...sour cherry i think)

it came out the next day pfouaahahahahahhah....... :roll:...remember that you guys  ?

so now...

what do we have to expect  ???

huh...

HUH mister Jachym :-P

Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 26, 2016, 03:00:10 PM
Jachym...last time you talked about an update in a few Xtimes..... (before mango...sour cherry i think)

it came out the next day pfouaahahahahahhah....... :roll:...remember that you guys  ?

so now...

what do we have to expect  ???

huh...

HUH mister Jachym :-P

I should not know what else should or could be added I was already out of ideas , but you never know with Jachym ;-)
Title: Meteotemplate - Yahoo
Post by: Jáchym on March 26, 2016, 03:00:20 PM
Hi guys,

good news, I was finally able to get the newly implemented Yahoo OAuth authentication process to work. You will need to get an API key now, but it is free and so the banner will be working soon.

Since this means extra 950 lines of code and some substantial changes in the code I will release it as part of next template update rather than just as a fix now. More files will have to be modified.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 03:08:09 PM
Jachym...last time you talked about an update in a few Xtimes..... (before mango...sour cherry i think)

it came out the next day pfouaahahahahahhah....... :roll:...remember that you guys  ?

so now...

what do we have to expect  ???

huh...

HUH mister Jachym :-P

I should not know what else should or could be added I was already out of ideas , but you never know with Jachym ;-)

Wave height based on Beaufort or 1 hr average wind speed  \:D/
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 26, 2016, 03:19:08 PM
Jachym...last time you talked about an update in a few Xtimes..... (before mango...sour cherry i think)

it came out the next day pfouaahahahahahhah....... :roll:...remember that you guys  ?

so now...

what do we have to expect  ???

huh...

HUH mister Jachym :-P

I should not know what else should or could be added I was already out of ideas , but you never know with Jachym ;-)

Wave height based on Beaufort or 1 hr average wind speed  \:D/

Wave heights can be shown on the global weathermap http://www.meteotemplate.com/template/pages/maps/global.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 03:24:15 PM
I just got a question by email and I thought maybe more people would want that so I will answer it here:

Quote
If I wanted to change the word “Apparent” to “Feels Like”, where in the block would I make that change?

The gauges are already fully localized into the 16 available languages. In this particular case you would need the American English language file, which instead of Apparent has Feels like
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 26, 2016, 03:47:46 PM
I just got a question by email and I thought maybe more people would want that so I will answer it here:

Quote
If I wanted to change the word “Apparent” to “Feels Like”, where in the block would I make that change?

The gauges are already fully localized into the 16 available languages. In this particular case you would need the American English language file, which instead of Apparent has Feels like

Thank you!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 03:51:26 PM
There are actually more changes in those two English version than just this and I guess for you, being from the NYC, the American language strings will be more familiar (autumn/fall, apparent/feels like, railroad/railway etc.)

Just keep in mind that the gb.php MUST still be included in the lang directory because this has been the default language file right from the beginning and in case there are missing strings or you make your own, then it will try to find it in the gb too, so make sure you do not simply delete it.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 26, 2016, 03:54:17 PM
With regards to the success string, that is really odd because I use MB myself and many other users do and never ran into any problems with using the script just as is and to be quite honest, I am not sure I completely understand what the problem was.

Since a picture is worth a thousand words:

(http://i791.photobucket.com/albums/yy193/vreihen/meteobridge-error_zpsbdrexspr.png)

The current version of MeteoBridge complains in red that the "Success:" string is blank, even though it still appears to work.  (I'm feeding two different scratch installations in the image above, the second one using my modified code with the "OK" output after the MySQL update call.  If MB doesn't get an OK, it reports an error in the live data status tab for that post.)

I'm still having a few missed MB updates even after going to -10, but it seems to be a marked improvement over the original -1.  I have not dug deeper to see why those updates did not process, but they don't appear to be time-related and it may have been because I was giving the web server a workout playing with blocks and stuff.....
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 26, 2016, 04:03:58 PM
There are actually more changes in those two English version than just this and I guess for you, being from the NYC, the American language strings will be more familiar (autumn/fall, apparent/feels like, railroad/railway etc.)

Just keep in mind that the gb.php MUST still be included in the lang directory because this has been the default language file right from the beginning and in case there are missing strings or you make your own, then it will try to find it in the gb too, so make sure you do not simply delete it.

As I move through the site I see how different it is.  It definitely looks more "NYCish"...
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 04:38:24 PM
PROBLEM with Gauges block


with weather display...theres a 180 degree offset in the compass  :roll:

problem is also viewable on my friends site http://www.meteostalphonse.com/caplan/index.php

Just notice that theres also a problem in the current Block  ;)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 26, 2016, 05:32:42 PM
Gauges added!  \:D/

Does it not use the font we set?
Also, would be good to have dewpoint or windchill.

Great work once again!
Looking forward to nectarine
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 26, 2016, 06:28:39 PM
I've taken a shot of the current block and gauge block together.  Wind direction of the gauge block is 180 degrees off.

Love the gauges!!
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 06:30:31 PM
Hi...ive reported it on previous page ;)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 26, 2016, 06:34:04 PM
I've just put the current block back to try and replicate this, but it works fine for me. The wind direction matches the gauges every move. Have you got your blocks set to update at the same frequency?

The only problem I see with having both blocks there, is the current block permanently shows Loading…
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 06:35:42 PM
There was a bug and Carl you were probably too fast and downloaded the file before I replaced the original download file :) 

Sorry about that, just redownload it
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 06:49:51 PM
I have already received several tips so I might release a new version even today.

Some ideas:
- bug fix for wind direction (already implemented, the current download file has this fixed)
- allow limiting the UV index to something lower than 20 for places where it does not get so high
- it is currently not possible to use this together with the current block, only one will then update, so make it compatible
- gauge for dew point
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 06:53:55 PM
With regards to the success string, that is really odd because I use MB myself and many other users do and never ran into any problems with using the script just as is and to be quite honest, I am not sure I completely understand what the problem was.

Since a picture is worth a thousand words:

(http://i791.photobucket.com/albums/yy193/vreihen/meteobridge-error_zpsbdrexspr.png)

The current version of MeteoBridge complains in red that the "Success:" string is blank, even though it still appears to work.  (I'm feeding two different scratch installations in the image above, the second one using my modified code with the "OK" output after the MySQL update call.  If MB doesn't get an OK, it reports an error in the live data status tab for that post.)

I'm still having a few missed MB updates even after going to -10, but it seems to be a marked improvement over the original -1.  I have not dug deeper to see why those updates did not process, but they don't appear to be time-related and it may have been because I was giving the web server a workout playing with blocks and stuff.....

Hi,
well I think it does not really make any difference. MB does not get any response, but it does the update, which is the only purpose of this.

With your time issue it probably depends on your connection speed and how fast it is able to execute all the other tasks, you might want to just play with the interval to find the right compromise.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 07:06:31 PM
There was a bug and Carl you were probably too fast and downloaded the file before I replaced the original download file :) 

Sorry about that, just redownload it

Dont forget to fix the same bug in the CURRENT block ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 07:11:19 PM
Current block is OK Carl, this is how you show the wind arrows. Not the direction from which it is coming, but in the direction in which it blows. This is correct.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 07:23:10 PM
There was a bug and Carl you were probably too fast and downloaded the file before I replaced the original download file :) 

Sorry about that, just redownload it

Dont forget to fix the same bug in the CURRENT block ;)

http://www.rya.org.uk/newsevents/enewsletters/inbrief/Pages/Measuringthewind.aspx - scroll down and read the text and have a look at the image, the current block (and the gauges now) are correct
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 26, 2016, 09:15:39 PM
My dog Andy has his own email address for veterinary purposes.
He sent an email to Hadstorm and got this reply

Quote
William Hadley <william@hadstorm.com>
To   Anderson Today at 1:24 AM
Thank you for pointing this out to me.  That was supposed to have been updated prior to the site being implemented.  I have spoken with the template designer and the changes have been made.  I would not have caught this without input from other users such as you.  Thank you again.

Will

On Sat, Mar 26, 2016 at 3:27 AM, Anderson <andy_a@y7mail.com> wrote:
From: Anderson <andy_a@y7mail.com>
Subject: nice site

Message Body:
Nice site you have there.
PITY YOU HAVE STOLEN ALL THE CODE, REMOVED ALL REFERENCES TO METEOTEMPLATE AND EVEN HAD THE AUDACITY TO CLAIM YOU OWN THE COPYRIGHT.
GUESS THAT MAKES YOU A THIEF.

--
This e-mail was sent from a contact form on HADSTORM.com




Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 09:24:59 PM
I can confirm that I have been in touch with Will and it was a misunderstanding. Will appologized and it was not intentional. Footer is now ok and I am glad it was like this - there have been cases where people simply didnt care, ignored my email and left it as it is - in which case that was about all I could do. I did not implement any backdoor to the template LOL
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 26, 2016, 09:53:55 PM
(http://www.manorts.com/smiley/violence/bumsmack.gif)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2016, 09:58:03 PM
(http://www.manorts.com/smiley/violence/bumsmack.gif)

OMG I didnt even know such a smiley was there to choose from  O:)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 10:10:46 PM
 :shock:

is it what i think Jachym ???
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 10:53:44 PM
Ive Made it  ;)...still some tweeking but...
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 26, 2016, 11:22:57 PM
That really IS eyecatching!

Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 26, 2016, 11:27:05 PM
You like it ?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 27, 2016, 05:21:21 AM
Happy Eastern , Jachym thanks for the Easteregg  :grin:
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 27, 2016, 08:12:40 AM
Happy Eastern , Jachym thanks for the Easteregg  :grin:

First time that I ever saw a *true* easter egg in someone's code.....  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 10:25:15 AM
Happy Eastern , Jachym thanks for the Easteregg  :grin:

First time that I ever saw a *true* easter egg in someone's code.....  =D&gt;

 :grin:
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 27, 2016, 11:35:10 AM
Happy Eastern , Jachym thanks for the Easteregg  :grin:
Yes Happy Easter Jachym.
Thanks for the Easter Egg on Easter and Flowers on first day of spring!
Nice touch  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 27, 2016, 11:44:02 AM
I have a feeling something will be ''laid''  today ... :lol:
Title: Meteotemplate - New block + block updates
Post by: Jáchym on March 27, 2016, 11:47:04 AM
Hi guys,

nice Sunday afternoon and Im glad you like the (literally) easter egg :D. Just a few updates and one simple new block for the weekend :-)

New Block - Ozone Forecast

Probably no need to explain this any further as the title is quite self-explanatory. There is no need to set up anything, the forecast is based on satellite data (data source temis.nl - permission granted for Meteotemplate users) and your co-ordinates set in config.php.

(http://i65.tinypic.com/xaqkc0.png)

Block update - Gauges 2.0

I always consider all feedback you provide me and questions I get. The gauges seem to have very positive feedback, but lot of you already suggested some new features and there was a little bug that needed to be fixed. I therefore quickly incorporated those changes and there are now several new options.

Here is a brief summary of new stuff:
- possibility to show gauge for dew point
- possibility to show the compass using the same type of gauge as the other ones (normal needle)
- possibility to enable/disable compass gauge title separately (as it does not look good with the line needle)
- possibility to show time of last update - just like the current block - at the top
- possibility to limit the UV gauge to a maximum 11 instead of the default 20
- now compatible with the Current block so they can be used along each other on the homepage
- bug fix for the compass (wind direction gauge), which was showing direction shifted by 180°

Light design example:
(http://i66.tinypic.com/otdqn4.png)


Block update - Weather Networks 2.0

I substantially extended the options for the Weather Networks block. It is now possible to include many other networks and clicking the link will automatically open a new window where the user can share a link to your site. There are also a few links to popular weather related websites.

Networks/links currently available:

- link to Meteotemplate network
- share link to Facebook
- share link to Google+
- share link to Twitter
- share link to Digg
- share link to Delicious
- share link to StumbleUpon
- share link to LinkedIn
- share link to Reddit
- link to your Weather Underground site
- link to your AWEKAS site
- link to your CWOP site
- link to your WeatherCloud site
- link to your WOW Metoffice site
- link to your PWS site
- link to your Meteoclimatic site
- link to NWS site for your location
- link to SkyWarn
- link to CoCoRaHS

The block is now also responsive so can be placed in any column width and works with both dark and light theme.

(http://i67.tinypic.com/hvbic7.png)

Have a nice rest of the weekend

Jachym
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 27, 2016, 11:51:58 AM
In Gauges block...you forgot a CBI gauge ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 11:58:49 AM
In Gauges block...you forgot a CBI gauge ;)

.... always dissatisfied Carl :D :D :D

OK, well I did not "forget it". I did not even think about or consider this, and to be quite honest even when you now mentioned it, I probably will not. The problem is that I am not really sure about how accurate this is. In my opinion it is not so easy to predict fire danger and cannot be done just based on a few meteorological variables like temp, humidity etc. Given I work as a meteorologist/climatologist and our department now specializes on drought and evapotranspiration, I really do not see this as very informative... and so if people include it then, it could be misleading
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 27, 2016, 12:16:27 PM
If its not me....its gonna be somebody else so...

If there are new gauges on your template...its mostly my fault with my SteelSeries and you did not liked it SO  :roll:

youre saying'''''''' and so if people include it then, it could be misleading'''''''''''''

And you already put it in the FireDanger block and in plugin

thats why theres a statement on a lot of personnal pages......N ever base important decisions on this or any weather information obtained from the Internet  :-P

finally...if i was so dissatisfied ,.....i wouldnt bother playing with your  :!: template and simply continue to use LEUVEN ! :twisted:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 12:22:48 PM
Yes I did include it in the plugin/block for fire danger, but using it is really up to you and how accurate you think it is. If I include it in the gauges, people who are unsure about what exactly it is will simply leave it enabled.
Just to give you an idea. Our algorithm at work uses tens of parameters. But even if you were ok with simplification, you would definitely need to take into account: solar radiation, soil type, vegetation, previous precipitation events, upcoming forecast, soil temperature, soil moisture.... none of these are included in the CBI calculation.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 27, 2016, 01:15:33 PM
I think there's a bug.. not sure what in though. I set the gauges and settings to how I like, but only one gauge shows. I deleted the whole folder, and started again, but it still does it.

I've narrowed it down..

$gaugeOrder = "T,D,H,P,W,G,C,R,S"; - Doesn't work
$gaugeOrder = "T,A,H,P,W,G,C,R,S"; - Doesn't work



$gaugeOrder = "T,H,P,W,G,C,R,S"; - Does work
$gaugeOrder = "T,D,A,H,P,W,G,C,R,S"; - Does work
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 01:32:45 PM
I think there's a bug.. not sure what in though. I set the gauges and settings to how I like, but only one gauge shows. I deleted the whole folder, and started again, but it still does it.

I've narrowed it down..

$gaugeOrder = "T,D,H,P,W,G,C,R,S"; - Doesn't work
$gaugeOrder = "T,A,H,P,W,G,C,R,S"; - Doesn't work



$gaugeOrder = "T,H,P,W,G,C,R,S"; - Does work
$gaugeOrder = "T,D,A,H,P,W,G,C,R,S"; - Does work

Thanks Tina for letting me know.... one stupid typo :D

Download the current file, everything should work now.

Sorry.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 27, 2016, 01:43:49 PM
I think there's a bug.. not sure what in though. I set the gauges and settings to how I like, but only one gauge shows. I deleted the whole folder, and started again, but it still does it.

I've narrowed it down..

$gaugeOrder = "T,D,H,P,W,G,C,R,S"; - Doesn't work
$gaugeOrder = "T,A,H,P,W,G,C,R,S"; - Doesn't work



$gaugeOrder = "T,H,P,W,G,C,R,S"; - Does work
$gaugeOrder = "T,D,A,H,P,W,G,C,R,S"; - Does work

Thanks Tina for letting me know.... one stupid typo :D

Download the current file, everything should work now.

Sorry.

Lovely jubbly!

We've got some wild weather coming tonight! The models are indicating 20 - 30mm of rain, with 60 - 70mph gusts. I may have to stay up late for that. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 01:55:51 PM
I think there's a bug.. not sure what in though. I set the gauges and settings to how I like, but only one gauge shows. I deleted the whole folder, and started again, but it still does it.

I've narrowed it down..

$gaugeOrder = "T,D,H,P,W,G,C,R,S"; - Doesn't work
$gaugeOrder = "T,A,H,P,W,G,C,R,S"; - Doesn't work



$gaugeOrder = "T,H,P,W,G,C,R,S"; - Does work
$gaugeOrder = "T,D,A,H,P,W,G,C,R,S"; - Does work

Thanks Tina for letting me know.... one stupid typo :D

Download the current file, everything should work now.

Sorry.

Lovely jubbly!

We've got some wild weather coming tonight! The models are indicating 20 - 30mm of rain, with 60 - 70mph gusts. I may have to stay up late for that. :)

 :shock: :shock: :shock:
Brings back memories to the time when I studied at the University of Edinburgh :D It actually wasnt as cold as it gets here, but the wind.... I remember one day I had to stay in the library for extra 2 hours because I literally couldn't get home... my house was about a mile from the campus and I walked and the wind was so strong and there were several roads one had to cross so I rather stayed inside until it calmed down a bit.
It finally got nice here, today we had even over 15C and almost sunny. But since we are a landlocked country and relatively deep inside the continent, we have relatively big differences between day and night. In fact end of March and April are months with largest daily temperature range. It is still freezing here almost every night, at my place it gets down to about 0, but I live right in the city center of a 500k city so it is much warmer here. And in April we often have temperatures below freezing point at night and then during the day it can get even above 25.
I dont like this too much because you have to wear a jacket in the morning otherwise you are cold and then during the day it gets to 25 and you have to carry all this extra clothes somewhere in your backpack :D
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 04:53:24 PM
When my site first starts the gauges are huge.  As soon as I hit a + or - it fits in the block.
Is there something I'm missing in setup?
Tom
Title: Re: Meteotemplate - new free website template
Post by: tstorm on March 27, 2016, 05:03:47 PM
When my site first starts the gauges are huge.  As soon as I hit a + or - it fits in the block.
Is there something I'm missing in setup?
Tom

  This is related to the browser that you're using.  On my Mac it comes up fine in FF, but with Safri the gauges come up huge.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 06:14:36 PM
When my site first starts the gauges are huge.  As soon as I hit a + or - it fits in the block.
Is there something I'm missing in setup?
Tom

  This is related to the browser that you're using.  On my Mac it comes up fine in FF, but with Safri the gauges come up huge.

No it isnt, I see the same problem in Chrome, but I never saw this before, there must be some clash in your CSS, I will try to find the problem and let you know.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 06:18:16 PM
When my site first starts the gauges are huge.  As soon as I hit a + or - it fits in the block.
Is there something I'm missing in setup?
Tom

Tom I need to rule out the possibility of CSS clash, what I therefore need you to do is try removing all blocks that are not originally part of the template and you created yourself. This will tell me if there is a problem in my code or not. I do not have the code for your customized blocks therefore it would be waste of time trying to find the problem if it was in those files, I wouldnt find it. Once we know that we can work further on trying to find the problem specifically.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 06:41:09 PM
Ok i do it.  I did try different browers and Firefox worked fine and Safari on a Mac worked fine.  I'll let you know how it goes in a few minutes.
Tom
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 06:45:19 PM
I did it and it worked.  If you want I'll add one at a time back to see which one is causing the problem.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 06:45:28 PM
Ok i do it.  I did try different browers and Firefox worked fine and Safari on a Mac worked fine.  I'll let you know how it goes in a few minutes.
Tom

I dont think it is a browser issue, except for the last testing phase I use Chrome exclusively and it shows messed up for me even with Chrome, which it does not on any other website that uses the gauges. It must be something specific to your page
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 06:46:11 PM
I did it and it worked.  If you want I'll add one at a time back to see which one is causing the problem.

That is exactly what I need you to do ;) THe first thing one tries when debugging :-)
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 06:59:16 PM
I've taken all my blocks out of the page and it still happens.  I've seen it on other sites.  When testing sometimes worked but a retry it wasn't.  Doesn't seem consistant.
My test is at www.shermanctweather.org/meteo/indextest.php

Even in my tests it works once then next time doesn't.
Even on my regular site with my blocks.
I've tried 3 other sites and two had the huge dials.

I have only had the problem with Chrome.  Firefox and IE have been fine every time I tried them.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 07:22:39 PM
Which is puzzling because Chrome is what I use and I checked 5 or more pages of other users and no problems...

Try the attached file, I changed one thing
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 27, 2016, 07:28:45 PM
I have opened and refreshed http://www.shermanctweather.org/meteo/indextest.php several times in IE and FF and your gauges are always the same size and look fine.  I am not at home so haven't added these new blocks yet to see how mine would look.

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 27, 2016, 07:32:43 PM
Oops, forgot to say that in Chrome it displays the huge dials...


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 07:35:20 PM
I sort of have an idea which parameter could be causing it, but what puzzles me is that if that one was not working, there would be problems with many other images/icons.

Tom if the one I sent does not help, then try the one I am attaching now
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 27, 2016, 07:39:32 PM
Wow - It's wild here!

I was just looking at your usermap Jachym..

Last update: 2016-03-27 22:32 UTC (66 minutes ago)
Data updated every 15 minutes

Updated!
I have the highest wind gust speed on your usermap.  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 07:51:40 PM
Last update: 2016-03-27 23:46 UTC (2 minutes ago)

The problem is that on days when I release something, there is much higher traffic and my server is no longer keeping up... the update is very time demanding and so when the server is overloaded, it times out...

Just to give you an idea.... when I set this all up, originally for my own personal website, I had around 10 to 15 visits a day... Never would imagine in a years time I will have that in a few minutes, when releasing something in even shorter interval...

I guess it is no surprise given I use the cheapest webhosting plan, unfortunately that was all I could afford because I also needed the ".com" domain and a test server. I will see if next yr Im able to afford an upgrade. If not then this is something that is not prioritized so when the server is overloaded, it preferentially serves the users rather than the network ;)
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 08:09:40 PM
I've tried both but no luck.

One thing I noticed is that It is good every other time in Chrome.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 08:21:29 PM
Next try
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 08:25:42 PM
Sorry, still no luck.

Actually last one is different.  Works for one gauge column(gauge too large).  Then have to keep hitting - to make the smaller.  Then when you reload it goes back to large gauge.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 08:36:24 PM
OK, I will need to look at this tomorrow when Im at work, where I have more possibilities. At home I have this slow laptop and Linux, so no possibility to test IE etc. I will have to do some more testing and debugging, the problem right now is that I am unable to replicate this on my site, even in Chrome. Just last try and then if that does not help, I will try tomorrow.

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 27, 2016, 08:54:09 PM
Sorry, still no luck.

Actually last one is different.  Works for one gauge column(gauge too large).  Then have to keep hitting - to make the smaller.  Then when you reload it goes back to large gauge.

In short, what's the issue again? I've just gone to your site, and the gauges look fine?!
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 27, 2016, 08:54:27 PM
Sorry, it's the same thing.  Starts as one column of gauges.  Then I reduce gauge size to my liking. 
I guess that's better than at first.
I'll test again tomorrow for you.
Tom

Gauges look fine in Firefox and IE but not Chrome.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 27, 2016, 08:57:21 PM
Ive Made it  ;)...still some tweeking but...

Like how you have it across the top - it's "banner" like and has nice use of screen real estate!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 27, 2016, 09:10:28 PM
Going to Tom's site in IE the gauges show in rows: 4 gauges, 4 gauges, and 1; the same in FF; and in Chrome 1 large gauge wide and 9 down.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 27, 2016, 09:37:09 PM
Chrome:

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2016, 09:40:51 PM
Weird....

Anyway I will have a look tomorrow after work,  also did any one of you try the ozone forecast and updated weather networks block? Just want to make sure it works
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 27, 2016, 09:56:45 PM
Should be able to try the other blocks and updates tomorrow when I am back home.


Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 27, 2016, 10:09:44 PM
Weird....

Anyway I will have a look tomorrow after work,  also did any one of you try the ozone forecast and updated weather networks block? Just want to make sure it works

I added this to my page and they seem to be working fine.  TY!
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on March 27, 2016, 11:02:58 PM
also did any one of you try the ozone forecast and updated weather networks block? Just want to make sure it works

I added both of these blocks and the updated gauges block on my homepage with no issues to report.

In the next update to the weather networks block, can you add the ability to link to our state CoCoRaHS map (e.g. http://data.cocorahs.org/cocorahs/maps/?country=usa&state=md) (http://e.g. http://data.cocorahs.org/cocorahs/maps/?country=usa&state=md))?

Thanks for steady stream of updates!

-Chris
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 27, 2016, 11:59:31 PM
OK, I will need to look at this tomorrow when Im at work, where I have more possibilities. At home I have this slow laptop and Linux, so no possibility to test IE etc. I will have to do some more testing and debugging, the problem right now is that I am unable to replicate this on my site, even in Chrome. Just last try and then if that does not help, I will try tomorrow.

I just installed the Gauges Block and it looks good on my site using Chrome, FF, IE and Safari.
Also added the new Networks block.

Thank you Jachym for the Easter presents  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 04:02:08 AM
also did any one of you try the ozone forecast and updated weather networks block? Just want to make sure it works

I added both of these blocks and the updated gauges block on my homepage with no issues to report.

In the next update to the weather networks block, can you add the ability to link to our state CoCoRaHS map (e.g. http://data.cocorahs.org/cocorahs/maps/?country=usa&state=md) (http://e.g. http://data.cocorahs.org/cocorahs/maps/?country=usa&state=md))?
Cocorahs is there already  :grin:

Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 28, 2016, 07:09:08 AM
I tracked my problem with the huge gauge showing to the fireDanger block.  When that block is removed the gauges work properly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 07:49:44 AM
Great,  thanks a lot,  that certainly makes things much easier for me to try to solve it and replicate the problem on my server
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on March 28, 2016, 11:30:30 AM
also did any one of you try the ozone forecast and updated weather networks block? Just want to make sure it works

I added both of these blocks and the updated gauges block on my homepage with no issues to report.

In the next update to the weather networks block, can you add the ability to link to our state CoCoRaHS map (e.g. http://data.cocorahs.org/cocorahs/maps/?country=usa&state=md) (http://e.g. http://data.cocorahs.org/cocorahs/maps/?country=usa&state=md))?
Cocorahs is there already  :grin:

Yes, but the link goes to the CoCoRaHS homepage. What I'd like is the ability to have the link go to my state map through an option in the settings.php.  I could modify the weatherNetworksBlock.php, but thought it would be a nice option for all in some future version.  Thanks for considering.

-Chris
Title: Meteotemplate 5.0 Kiwi!
Post by: Jáchym on March 28, 2016, 11:40:13 AM
(https://cdn.pbrd.co/images/2BBtbCZ2.png)

Hi guys,

happy Easter Monday and time for another template update!

Introducing Meteotemplate 5.0 Kiwi.

This new version adds several new features and a few bug fixes. The main new thing is a brand new section for mobile devices. This is in a sense a stripped down version of your entire page, which contains the most important pages optimized specifically for smaller screens. Font sizes, table layout, graph layouts – everything was adjusted to look better on mobile phones or screens with smaller widths. It does not contain all the pages and also not the plugins, this is mostly a section for your station data, the astronomy page and a few others.
In addition this mobile site has a completely different menu (the so-called “hamburger style” menu), which works good on small screens. It is shown as horizontal, but once the screen width reaches a certain threshold, it will become vertical, to see what I mean you can then try narrowing your browser window and see what happens.
Also the header and footer were optimized for small screens.
This means there is now also a new index. The original index, your current homepage, will of course remain, but it will be renamed to indexDesktop and there is now a new homepage indexMobile. The current index.php will only serve as a redirection script, which will redirect the user to either one of the homepages. The way redirection is decided is something you can of course configure yourself in the settings. And also, both desktop and mobile version, have a link to the other one in the footer so you can always jump to the other one from any site.

Next new feature is something I called “multiple block”. This is in a sense a block, which contains more than one block. It is especially useful for the mobile homepage, where you can now have certain blocks full-width, while others shown as 2, 3 etc columns.

Last new feature is built-in support for Google Analytics for tracking your webpage traffic.

More info about all the changes, how to do the update etc. are given in the block and in the wiki, which has been updated to reflect the new changes. Also the demo at meteotemplate.com is now running the new 5.0 version, but read the blog first where everything is explained:

http://meteotemplate.com/blog/?p=513 (http://meteotemplate.com/blog/?p=513)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 28, 2016, 12:24:02 PM
Hi Jachym,
Started to catch up on the new "weekend" blocks and then saw your Kiwi announcement.  Started with the updated weatherNetwork and ran into some issues which mostly I have overcome.  Should I continue with those new/updated blocks or go to Kiwi and then add/update?
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 12:27:22 PM
Hi Jachym,
Started to catch up on the new "weekend" blocks and then saw your Kiwi announcement.  Started with the updated weatherNetwork and ran into some issues which mostly I have overcome.  Should I continue with those new/updated blocks or go to Kiwi and then add/update?
 
Paul

Hi Paul,
no, nothing is changed with regards to the blocks, the new homepage etc. uses the exact same files, they are fully compatible. The only change about index is the way the blocks can now be arranged.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 12:28:39 PM
NOTE:
Again, please bear with the speed of meteotemplate.com, there is now very high traffic and my webhosting plan is very limited in terms of simultaneous PHP script executions so the page might be slow now.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 12:51:59 PM
DAMNED ! ](*,) ](*,) ](*,)


PISSES ME OOOOFFFFFFFFFF :twisted:

Followed instructions and.................................................and.................................have to admit :-(


it went frikkin well  =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 12:57:25 PM
Ahhhh...   :twisted: :twisted: :twisted:

I was just about to say "so who will be the first one to try kiwi and calm me down saying it works" :D And now you post and first thing I saw was the first line and I went... oh s*... :D

Well thanks for letting me know, I tested it on 3 independent servers and it always worked, so hopefully it will for the others too.

Also - BIG THANKS TO TOM FROM STATEN ISLAND FOR HELPING ME WITH TESTING THE MOBILE SITE - this would not be possible without him as I have no way of testing reliably (the online emulators don´t always work) myself
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 01:00:54 PM
well...you know me....

I may be a pita sometimes BUT...when it works......i can say it out loud hehehe

Juuuuuust a bit of tweeking on the mobile layout...the blocks arent not fully centered but hey.... ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 01:05:53 PM
well...you know me....

I may be a pita sometimes BUT...when it works......i can say it out loud hehehe

Juuuuuust a bit of tweeking on the mobile layout...the blocks arent not fully centered but hey.... ;)

I also see that huge link/iframe you put to my site :D Thanks :D If I could only have one suggestion... that temperature icon in the stationData block... thats really awful Carl :D
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 01:19:35 PM
yuppp.....in dark mode we dont see the white bg ...

ill put the original one

thats the old index...it will change... http://www.meteolacstjean.com/hebert/indexDesktop.php
Title: Meteotemplat 5.0 Kiwi
Post by: Jáchym on March 28, 2016, 01:27:03 PM
I see :-)
Well the new multiple block feature will allow you to do exactly what you wanted, the blocks now offer even more possibilities in terms of their layout (see the wiki, there are examples).
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 28, 2016, 01:39:09 PM
Jachym,

Thanks for the update.  All went smoothly.  I still need to set up mobile blocks.

Great work, you never cease to amaze.

Jay

http://jayswoodfurniture.com/meteo/
Title: Re: Meteotemplate 5.0 Kiwi!
Post by: SpringHillWeather on March 28, 2016, 01:45:45 PM
(https://cdn.pbrd.co/images/2BBtbCZ2.png)

Hi guys,

happy Easter Monday and time for another template update!

Introducing Meteotemplate 5.0 Kiwi.


http://meteotemplate.com/blog/?p=513 (http://meteotemplate.com/blog/?p=513)


I just installed it and its looking good on Desktop and Mobile.  Hamburger style menu works much better now.
Will have to play around with the dual blocks and tweak some of the new settings that you've included.

Thank you Jachym for the Latest update, Kiwi.



Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on March 28, 2016, 01:53:28 PM
Ahhhh...   :twisted: :twisted: :twisted:

I was just about to say "so who will be the first one to try kiwi and calm me down saying it works" :D And now you post and first thing I saw was the first line and I went... oh s*... :D

Well thanks for letting me know, I tested it on 3 independent servers and it always worked, so hopefully it will for the others too.

Also - BIG THANKS TO TOM FROM STATEN ISLAND FOR HELPING ME WITH TESTING THE MOBILE SITE - this would not be possible without him as I have no way of testing reliably (the online emulators don´t always work) myself

Jachym,

It's been my pleasure to help out with the testing for you.

Again thank you for taking the time and all your efforts creating, updating and supporting Meteotemplate for us.

Well I'm clicking that DONATE button again and hopefully others will do the same for all your hard work and support. ;)

THANKS!!!!
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 03:02:12 PM
Mobile background still causes problems...

looks like its related to the header width,it does not match the blocks width when re sizing....
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 03:24:41 PM
Ok..it looks like its related to the blocks ive maded / modified so...

never mind ;)

Title: Re: Meteotemplate - new free website template
Post by: SLOweather on March 28, 2016, 03:51:03 PM
Yes I did include it in the plugin/block for fire danger, but using it is really up to you and how accurate you think it is. If I include it in the gauges, people who are unsure about what exactly it is will simply leave it enabled.
Just to give you an idea. Our algorithm at work uses tens of parameters. But even if you were ok with simplification, you would definitely need to take into account: solar radiation, soil type, vegetation, previous precipitation events, upcoming forecast, soil temperature, soil moisture.... none of these are included in the CBI calculation.

The CBI is only one of many fire and ignition indices available. There are scholarly papers written about all of them, the parameters involved, what then output means, etc. Some, like the CBI, are done with only current or forecast date, while others rely on the results of previous calculations and thus have "memory". Many of the simple ones like the CBI were developed many years ago and made to be simple to calculate.

I have researched and written test scripts for the Fosberg Fire Weather Index, the Modified Fosberg Fire Weather Index with Fuel Availability Factor, Angstrom Ignition Index, the Nesterov Index, Keetch-Byram Drought Index,  and have worked on the Canadian index suite which is quite complex.

Since I first wrote and released my CBI script many years ago, there is an unintended consequence. It's harder to find the scholarly papers, as a lot of search engine hits now are to WxForum member sites using my original script or another implementation. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 04:44:44 PM
Thanks guys, Im glad you like the new additions.

Carl: The problems you have are because of the blocks you made yourself, so Im afraid I cant help you there, or you can email me the code and I will try to adjust it so that it is responsive.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2016, 04:58:31 PM
Yes I did include it in the plugin/block for fire danger, but using it is really up to you and how accurate you think it is. If I include it in the gauges, people who are unsure about what exactly it is will simply leave it enabled.
Just to give you an idea. Our algorithm at work uses tens of parameters. But even if you were ok with simplification, you would definitely need to take into account: solar radiation, soil type, vegetation, previous precipitation events, upcoming forecast, soil temperature, soil moisture.... none of these are included in the CBI calculation.

The CBI is only one of many fire and ignition indices available. There are scholarly papers written about all of them, the parameters involved, what then output means, etc. Some, like the CBI, are done with only current or forecast date, while others rely on the results of previous calculations and thus have "memory". Many of the simple ones like the CBI were developed many years ago and made to be simple to calculate.

I have researched and written test scripts for the Fosberg Fire Weather Index, the Modified Fosberg Fire Weather Index with Fuel Availability Factor, Angstrom Ignition Index, the Nesterov Index, Keetch-Byram Drought Index,  and have worked on the Canadian index suite which is quite complex.

Since I first wrote and released my CBI script many years ago, there is an unintended consequence. It's harder to find the scholarly papers, as a lot of search engine hits now are to WxForum member sites using my original script or another implementation. :)

Yes! Exactly! When I was first asked if I could make a plugin for it, I tried to find it and only found pages from users here. Then I finally discovered some long documentation from the Australian NWS and also Canadian. The problem is that even this, probably the most simplified version, should take into account at least the CBI from previous days, which again causes problems if the script is supposed to calculate it only from current values :D
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 05:26:28 PM
@Jachimme...thats why i wrote ''never Mind '' :-P

Only thing would be,increase font size for indexMobile... thats it

you did a great job (as always) on this one =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 05:33:33 PM
Jachym....im optimisttik that youll find a way around for that CBI thing :-P

Of course there are always official site that we can visit but  :-|...

And,like Here in northen Quebec,often wood workers / lumberjacks cant go to work cuz machinery  sometimes start (unwantedly) a fire...(hope my explanation is ok hahaha)

Title: Meteotemplate - Block update - Gauges 3.0
Post by: Jáchym on March 28, 2016, 06:42:02 PM
Jachym....im optimisttik that youll find a way around for that CBI thing :-P

Of course there are always official site that we can visit but  :-|...

And,like Here in northen Quebec,often wood workers / lumberjacks cant go to work cuz machinery  sometimes start (unwantedly) a fire...(hope my explanation is ok hahaha)

(http://i68.tinypic.com/2wpt0n8.png)
There you go Carl....

The gauges block has been updated, now includes option to display CBI and fire danger gauge.

Tom: the issue with the fire danger block is not resolved yet, I was not able to find the problem yet, but I am working on it.

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 28, 2016, 07:33:49 PM
Quote
Tom: the issue with the fire danger block is not resolved yet, I was not able to find the problem yet, but I am working on it.

Don't worry. I'll use the CBI gauge instead.
I did notice when I've been playing around with the multiple blocks I have fire danger block included and no problem with the gauges, but that was only using multiple blocks, still a problem with the single block style.

Thanks for all the updates.  What a great template.
Tom
Title: Re: Meteotemplate - new free website template
Post by: SLOweather on March 28, 2016, 07:45:46 PM
If you want an index with memory, check out the Nesterov:

https://illuminations.nctm.org/uploadedFiles/Content/Lessons/Resources/9-12/SmokeyBear-AS-NesterovIndex.pdf

Not the best reference, but the quickest I could find. Be aware that, since the only thing that resets it is 3mm of rain, it can run away in a dry climate. :)

Yes! Exactly! When I was first asked if I could make a plugin for it, I tried to find it and only found pages from users here. Then I finally discovered some long documentation from the Australian NWS and also Canadian. The problem is that even this, probably the most simplified version, should take into account at least the CBI from previous days, which again causes problems if the script is supposed to calculate it only from current values :D
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 09:43:13 PM
Hummm...im trying to add the 2 lines for GA and...i get a blank website... :roll:
in my page its...
$googleAnalytics = true; //
$GAcode = “UA-xxxxxxxx-x”; //

and where in config.php do we put these ?


you say...
So, for this to work, you need to add the following two lines in the config.php:

$googleAnalytics = false; // if you have a Google Analytics profile set up and want to track your visit count etc. then set this to true and enter your GA code below$GAcode = “UA-xxxxxxxxx”; // your GA code

thanks  ;)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 28, 2016, 10:00:07 PM
You need to get a valid UA number to replace the xxxxxxxxxx.

I have it just above the
###################
DO NOT EDIT BELOW THIS LINE


Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:01:13 PM
hehehe...i do have it Paul ;)

thanks
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 28, 2016, 10:01:24 PM
Hummm...im trying to add the 2 lines for GA and...i get a blank website... :roll:
in my page its...
$googleAnalytics = true; //
$GAcode = “UA-xxxxxxxx-x”; //

and where in config.php do we put these ?


you say...
So, for this to work, you need to add the following two lines in the config.php:

$googleAnalytics = false; // if you have a Google Analytics profile set up and want to track your visit count etc. then set this to true and enter your GA code below$GAcode = “UA-xxxxxxxxx”; // your GA code

thanks  ;)

So I have the same issue.  Once I removed the two lines my site loaded.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:04:43 PM
exactly...just tried again
 #-o
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:10:20 PM
got it ](*,)

 $googleAnalytics = false;
 $GAcode = "UA-xxxxxxx  -1";

replace those '' with the ones on your page ...like the others

its those '' on the blog that when copy /paste the code...theyre not the same  :roll:
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 28, 2016, 10:16:30 PM
got it ](*,)

 $googleAnalytics = false;
 $GAcode = "UA-xxxxxxx  -1";

replace those '' with the ones on your page ...like the others

its those '' on the blog that when copy /paste the code...theyre not the same  :roll:

But now yours says "false"?
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:17:29 PM
hehehe...dont worry,its set to yes  :lol:
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 28, 2016, 10:27:50 PM
hehehe...dont worry,its set to yes  :lol:

I still can't get mine to work - used the code, set to true, put in config and it just gives me a blank page.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:32:06 PM
It did that to but then,ive placed those 2 lines just like this .......take care of the ''

 $googleAnalytics = true;
 $GAcode = "UA-xxxxxxxx-1"; // your GA code

##############
################  DO NOT EDIT BELOW THIS LINE
################################

   
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:41:40 PM
I can say its working alright...

i see 2 live user on my dashboard.... Me and a russian? friend hehehe :lol:
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 10:55:12 PM
Can someone tell me ,what is Co.lumb in my template ?

i see this in the GoogleAnalytics/real time view /page title :shock:

after a few search,its a referrer spam

Jachym....your template is from that area...should we bother or ???

from a blog somewhere...
There's a ghost page showing up in my google analytics on my dashboard. This is the second time I've seen this. I would not advise clicking on these sites but It's showing up under "top pages" as "http://co.lumb.co/" and then showing "http://forum.topic56809347.darodar.com/" as the "top referrer"
I also noticed this yesterday when checking Analytics and it said the visit was from Russia. That forum.topic52599334.darodar.com link takes me to some deal extreme

interesting huh :shock:

take a look at this  :?
http://www.blockel.com/articles/co-lumb-co/
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 28, 2016, 11:13:37 PM
Can't help mines broke....
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 11:16:41 PM
Broke ??

whats broke ?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 28, 2016, 11:18:07 PM
Broke ??

whats broke ?

The google analytics
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 28, 2016, 11:20:39 PM
you mean you cant get it to work ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 05:59:42 AM
Hi guys,

sorry for that, I didn´t realize it automatically changed the quotation marks. The code works fine if you retype it, but just copy/pasting did not work. I think I was able to fix it, so the blog post should now be ok. Thanks for letting me know. The blog is actually the only part of the template where I use a third party template, in this case Wordpress, because it is much easier that way and I didn´t notice Wordpress automatically formats this unless you specifically tell it, it is a preformatted code.

If anyone still has problems let me know.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 29, 2016, 07:04:30 AM
Hummm...looks like someone deleted my posts about referrer spams...and Google analitics...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 07:28:37 AM
No-one did, they are on the previous page
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 29, 2016, 07:33:47 AM
Thats what happends with gmail and a smartphone...sorry hehe
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 07:35:44 AM
And just to comment on that, I have nothing in common with this and never seen this myself in my GA.

Also,

Quote
Jachym....your template is from that area...should we bother or ???
Quote
it said the visit was from Russia

Again, I have absolutely nothing in common with this, nor the template.

One more thing Carl - please do not in any way associate my country with Russia. We have probably as much common as you Canadians have with Kenyans. We are a bit sensitive to this because we were involuntarily under their regime for 50 yrs and "thanks" to the Communist era now trying to catch up with Western Europe.

I am already the generation that did not experience it, I was two when the Velvet revolution took place and we regained freedom, but it is true that the relationships are still a bit disturbed and we do not like when people say things like that. We are totally different, for example in terms of language, if someone speaks Russian, I do not understand at all, and with reading it is the same thing, because they have a totally different alphabet.

I know you probably didn´t mean to be offensive, so I do not take it personally, but I just want to let you know about this and maybe be a bit careful about these things in the future, not just because of me.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on March 29, 2016, 07:50:05 AM
Naaaaaa...its just that when you do some research....its ftrom template and your area....dont worry....im also bobarded with Leuven and had to install zdblock....and will do the same. With meteotemplate...it was implemented7777 in previous version so....

Again...nothong personnal Jachym....and if youre hurt....well...sorry for that
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 08:05:29 AM
Naaaaaa...its just that when you do some research....its ftrom template and your area....dont worry....im also bobarded with Leuven and had to install zdblock....and will do the same. With meteotemplate...it was implemented7777 in previous version so....

Again...nothong personnal Jachym....and if youre hurt....well...sorry for that

I often get bots from all around the world, in my case also Russia and also China etc. It is not because I am from that area, or Wim´s Leuven... it is simply because that´s the way things are... lot of stuff like that is going on in those countries and they attack sites all around the world, so the fact I or Wim are from Europe has absolutely nothing to do with it :D

I am not hurt, I know you didn´t mean it as an insult, I was just saying it so you know even in the future, people from countries like the Czech Republic, Slovakia, Poland etc., which were previously under the Communist rule, do not like to be associated with Russia like this.

And it is now the same with Czechoslovakia. Many people think we are Czechoslovakia, but that country split back in 1993 and we are now two totally independent countries -Czech Republic and Slovakia. And although we have very good relationships, I have many Slovakian friends, we want to be seen as independent, since I lived in the UK I would compare this to a person from Scotland being labeled as "from England" - they don´t like it either :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 29, 2016, 09:19:11 AM
Hi Jachym! Congrats on getting Kiwi out - I'm just in the process of doing a completely fresh install (I always like to do that) - I've got that issue with the rss news feed block updating every 6 seconds, when the gauges update.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 09:49:22 AM
Yes, I need to update the block, it is currently version 1.0, but I did the fix and I will upload version 1.1 later, probably tomorrow as there are more updated blocks that have some fixes.

I also noticed several things that do not work and also fixed them, since I sent emails about new version yesterday I don´t want to spam people today, so I will leave it all for tomorrow.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on March 29, 2016, 10:04:38 AM
Jachym,

  Thanks for the updated version of the template and new blocks.  I'm having a little bit of an issue with the 3 pages (interactive graph, guages, Metar) not fitting my Samsung Galaxy S5 smartphone.  I've attached screen shots for your thoughts on what I may adjust.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 10:28:43 AM
Hi,
the problem is that this is exactly what I meant... there are so many different screen sizes and especially mobile browsers (Android default, Safari, Chrome Mobile, Opera, Samsung default, HTC default, Dolphin, Maxthon....) and to make things worse I have none of those and Im really not sure how to help you, it works on the one I tested with Tom, the gauges might be a bit problematic, but that should be replaced by the homepage gauges now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 10:49:03 AM
Just a little note guys,

always keep in mind computers are dumb. Even if the code has several thousand lines, omitting one semi-colon, deleting one quotation mark, ignoring capitalization, will all lead to it not working at all.

Always make sure you read the instructions very carefully - in the blog and the wiki - and never just "assume things" and do not change code that you are not told to change, unless you know exactly what you are doing.

I am very happy to help you, but please be prepared it might take some time before I get to it, I have dealt with over 50 emails since morning, mostly during work breaks and I will try to do the rest when I get home tonight.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on March 29, 2016, 11:41:41 AM
Oh bloody hell. Go away and there's a new version. You're mad Jachym.

Now I have to do some work
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 29, 2016, 11:42:29 AM
Quote
and never just "assume things" and do not change code that you are not told to change,
Very good advice, but then it is always  ;) tempting #-o
 
And what continues to amaze me is the volume of code and files it takes to make the template suit our desires.  After updating to Kiwi I deleted an older version from webserver this morning and it took maybe 15 minutes or longer just to remove that old version files.  Gives another appreciation of the time, and commitment, that you have and are putting into this, what is a hobby for us... and a learning experience for many of us as well.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 29, 2016, 11:45:48 AM
I hope you don't mind Jachym.. I've had a little tinker with the gauges- mainly colours. I'll show them off later, when I've finished getting the new upload just how I like it. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 11:59:06 AM
Quote
and never just "assume things" and do not change code that you are not told to change,
Very good advice, but then it is always  ;) tempting #-o
 
And what continues to amaze me is the volume of code and files it takes to make the template suit our desires.  After updating to Kiwi I deleted an older version from webserver this morning and it took maybe 15 minutes or longer just to remove that old version files.  Gives another appreciation of the time, and commitment, that you have and are putting into this, what is a hobby for us... and a learning experience for many of us as well.
 
Paul

It is just like with everything... a never ending dilemma... :D

With regards to documentation:

1. make the documentation to the point and brief
 - more skilled people will appreciate it and easily update
 - less skilled people have no clue what to do and end up just emailing me their FTP :D
2. make the documentation detailed and step by step
 - less skilled people appreciate it and in most cases are able to update
 - more skilled people dont feel like reading it and find it too long so they just "assume" and try doing it the way they think it should be done - the result is they send me emails something is not working because I later notice they did something absolutely different than supposed to :D

Funny :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 29, 2016, 12:22:17 PM
I can confirm that the mobile version works fine on my Windows Lumia 640 phone (edge) maybe the gauges and graphs need some adjustments I did not installe the new version by myself, good job Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 01:15:08 PM
Ahhhh...   :twisted: :twisted: :twisted:

I was just about to say "so who will be the first one to try kiwi and calm me down saying it works" :D And now you post and first thing I saw was the first line and I went... oh s*... :D

Well thanks for letting me know, I tested it on 3 independent servers and it always worked, so hopefully it will for the others too.

Also - BIG THANKS TO TOM FROM STATEN ISLAND FOR HELPING ME WITH TESTING THE MOBILE SITE - this would not be possible without him as I have no way of testing reliably (the online emulators don´t always work) myself

Jachym,

It's been my pleasure to help out with the testing for you.

Again thank you for taking the time and all your efforts creating, updating and supporting Meteotemplate for us.

Well I'm clicking that DONATE button again and hopefully others will do the same for all your hard work and support. ;)

THANKS!!!!

Thank you Tom, your help is very much appreciated. The mobile section would otherwise not be possible :)
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 29, 2016, 06:04:36 PM
With regards to documentation:

1. make the documentation to the point and brief
 - more skilled people will appreciate it and easily update
 - less skilled people have no clue what to do and end up just emailing me their FTP :D
2. make the documentation detailed and step by step
 - less skilled people appreciate it and in most cases are able to update
 - more skilled people dont feel like reading it and find it too long so they just "assume" and try doing it the way they think it should be done - the result is they send me emails something is not working because I later notice they did something absolutely different than supposed to :D

3. Make the documentation based on FTP, and frustrate the bejeezus out of the person trying to do the update at a shell/command prompt and not in FileZilla.  #-o

Seriously though, my upgrade from 4.1 to 5.0 took a few minutes and appears to be working fine.  I even moved the whole thing (including all MySQL data) from my test deployment at home to an outside hosting company once I saw everything was working.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 06:25:31 PM
With regards to documentation:

1. make the documentation to the point and brief
 - more skilled people will appreciate it and easily update
 - less skilled people have no clue what to do and end up just emailing me their FTP :D
2. make the documentation detailed and step by step
 - less skilled people appreciate it and in most cases are able to update
 - more skilled people dont feel like reading it and find it too long so they just "assume" and try doing it the way they think it should be done - the result is they send me emails something is not working because I later notice they did something absolutely different than supposed to :D

3. Make the documentation based on FTP, and frustrate the bejeezus out of the person trying to do the update at a shell/command prompt and not in FileZilla.  #-o

Seriously though, my upgrade from 4.1 to 5.0 took a few minutes and appears to be working fine.  I even moved the whole thing (including all MySQL data) from my test deployment at home to an outside hosting company once I saw everything was working.....

Demo update took a bit more, but that is because there are some special functions added as it works slightly differently than the default.... but sometimes I am surprised myself what people are "able" to do :D I can show you printscreen of my Gmail today :D... or I cant actually because it shows max 50 emails/page :D

But Im glad people like it, so I dont mind :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 29, 2016, 06:32:39 PM
Quote
or I cant actually because it shows max 50 emails/page (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
I plead guilty :(
 
But hopefully also contribute a bit to the fixes and changes \:D/
 
If Jachym is not, I am enjoying!
Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 29, 2016, 06:34:28 PM
Quote
or I cant actually because it shows max 50 emails/page (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
I plead guilty :(
 
But hopefully also contribute a bit to the fixes and changes \:D/
 
If Jachym is not, I am enjoying!
Paul

Ditto.  But Jachym is a great sport and has taught me so much!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 06:41:52 PM
Quote
or I cant actually because it shows max 50 emails/page (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
I plead guilty :(
 
But hopefully also contribute a bit to the fixes and changes \:D/
 
If Jachym is not, I am enjoying!
Paul

No Paul, you are specifically one that always follows the instructions very carefuly and I would say "the ideal user".

The only problem in your case is really your server. It sometimes behaves ..... well.... strangely :D
But so far I think almost always we were able to find a solution relatively quick
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on March 29, 2016, 06:59:17 PM
ok I went through the directions twice and I must have still missed something. I have updated my website template at http://www.desotowiwx.com/template/. But on the live gauges page I got a error
Fatal error: Call to undefined function number_formatround() in /*****/*****/*******l/template/pages/station/live.php on line 47 (I removed parts of the url of the error because I was not sure if that would hurt my server showing that to the world)

anyway I found out that if I took line 47 from the old live.php and put it in the new live.php it did not give the error anymore.

My question is in doing that now did I mess something else up? or is it ok till the next great update?
Thank you for a great website template. and for having the patience for all my questions.    :oops:

I am going to see if I missed anything back in the wiki....
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 29, 2016, 07:26:16 PM
.... but sometimes I am surprised myself what people are "able" to do :D I can show you printscreen of my Gmail today :D... or I cant actually because it shows max 50 emails/page :D

But Im glad people like it, so I dont mind :-)

From someone who has been working in the IT field since before the iron curtain fell, may I suggest finding a way to package the template into something that can easily be deployed via cpanel or some other common web-hosting site management tool?  How about setting up a hosting deal for people looking for a turn-key solution with direct support?  At least you could make a few euros selling the hosting service.....
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 29, 2016, 07:40:55 PM
Found a bug with the 'riset' block on Kiwi 5.0 - The day/night pie chart is trying to escape..

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 08:03:59 PM
Found a bug with the 'riset' block on Kiwi 5.0 - The day/night pie chart is trying to escape..

 [ You are not allowed to view attachments ]

Yes I know about this, I know about several other bugs, I already have a fix, but didnt have time to put it all together.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 29, 2016, 08:25:48 PM
Found a bug with the 'riset' block on Kiwi 5.0 - The day/night pie chart is trying to escape..

 [ You are not allowed to view attachments ]

Yes I know about this, I know about several other bugs, I already have a fix, but didnt have time to put it all together.

Ah ok - No biggie.

I've just added my Google analytics details, then refreshed my page, and noticed on my realtime report, it counts as two hits..
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 29, 2016, 08:44:51 PM
Ok, I got a question that someone OTHER THAN JACHYM might be able to answer (he's running on too little sleep and a busy couple days answering emails, so I'm hoping he doesn't get so buried in stuff that he won't improve to version 6, kumquat, eventually because he knows what will happen.

Anyway, is Google Analytics a subscription tool you have to pay to get data back on site visits, or do they offer those items for free?

Dale

PS, I'm not sure if version 6.0 is kumquat or not, I'm just running out of fruits to pick from.

Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 29, 2016, 08:49:45 PM
Ok, I got a question that someone OTHER THAN JACHYM might be able to answer (he's running on too little sleep and a busy couple days answering emails, so I'm hoping he doesn't get so buried in stuff that he won't improve to version 6, kumquat, eventually because he knows what will happen.

Anyway, is Google Analytics a subscription tool you have to pay to get data back on site visits, or do they offer those items for free?

Dale

PS, I'm not sure if version 6.0 is kumquat or not, I'm just running out of fruits to pick from.

It is completely free.

http://www.google.com/analytics/standard/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 08:53:02 PM
Ok, I got a question that someone OTHER THAN JACHYM might be able to answer (he's running on too little sleep and a busy couple days answering emails, so I'm hoping he doesn't get so buried in stuff that he won't improve to version 6, kumquat, eventually because he knows what will happen.

Anyway, is Google Analytics a subscription tool you have to pay to get data back on site visits, or do they offer those items for free?

Dale

PS, I'm not sure if version 6.0 is kumquat or not, I'm just running out of fruits to pick from.

Name is chosen but it won't be kumquat,  sorry..... :grin:
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 29, 2016, 08:56:06 PM
Thanks.  One more thing to look into after I get Kiwi running.  I have a running system right now and while everyone for the most part is very happy, knowing my luck and foggy brain this evening I don't want to jinx it.
Dale
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on March 29, 2016, 09:04:06 PM
Jachym,
I hope you were smiling when you read kumquat...

Since he's already chosen Kiwi's successor's name, we should have a contest to gues what he'll name it.  We know previous version's fruit names are out, as well as kumquat, so after the dust settles, we can all guess. 

Too many emails of importance right now to fool around, though.

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 29, 2016, 09:31:05 PM
Well.. That's my page fully updated! I added an extra 12 new fonts in the design selection too- got a bit carried away.  :oops:

Thanks for all your hard work Jachym.

2:30am - time for bed. Ni ni folks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2016, 09:41:13 PM
Well.. That's my page fully updated! I added an extra 12 new fonts in the design selection too- got a bit carried away.  :oops:

Thanks for all your hard work Jachym.

2:30am - time for bed. Ni ni folks!

Nice
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 29, 2016, 10:59:43 PM
Quote
Well.. That's my page fully updated! I added an extra 12 new fonts in the design selection too- got a bit carried away.  :oops:

Looks really nice.  Now to update your "Weather Station" ;)


Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 30, 2016, 05:15:35 AM
Hi Jachym,
I have updated my site to 5.0 and once again I am very impressed with your work. Superb!
However it must be very difficult for you to develop for the mobile platform when you have no access to mobiles - let alone 3 or 4 different ones!
Why don't we assist you in funding a month or two of use of one of the emulator websites like https://www.browserstack.com (https://www.browserstack.com). This provides a huge range of options for you.
I am happy to denote $30 (to buy you a month) if it would significantly help you.
Just a thought.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 30, 2016, 07:49:53 AM
Hi Jachym,
I have updated my site to 5.0 and once again I am very impressed with your work. Superb!
However it must be very difficult for you to develop for the mobile platform when you have no access to mobiles - let alone 3 or 4 different ones!
Why don't we assist you in funding a month or two of use of one of the emulator websites like https://www.browserstack.com (https://www.browserstack.com). This provides a huge range of options for you.
I am happy to denote $30 (to buy you a month) if it would significantly help you.
Just a thought.

Hi Justin,
thanks a lot for your offer. The problem is that these emulators are not always 100% accurate. There are even free ones, which I used, but the best way really is probably the way I did it until now - help from other users and testing.
You have also pinpointed the problem - take the number of screen sizes, take the number of mobile OS and the number of third-party browsers. Multiply all those numbers together.... What works on one might not work on a different one.
I can work on it further of course and try to find the best compromise, but it will take time :-)
It would also not be ideal if it was subscription based because to be quite honest - I have a full-time job, a part-time job, which unfortunately I cannot skip to get by and then I also currently do external PhD study. This all means Meteotemplate is a night time hobby and that there are times when I have more free time and times when it gets quite hectic at work and so I never know in advance whether that particular day/week/month I will have more or less time for this.
So once again, I really appreciate your offer, but I don´t think investing in this would be very helpful. I do not believe this is significantly better than the free alternatives, still wont be 100% accurate and also put me in a sort of time stress because I would need to work on it while the subscription is active.
Title: Re: Meteotemplate - new free website template
Post by: justinhow on March 30, 2016, 07:55:45 AM
I understand.
I have an Android LG G4 (5.5" screen) running Marshmallow (6.0) if you ever need me to do any testing.
I also have a 5.5" Windows Phone (work phone).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 30, 2016, 08:08:45 AM
Yes, well the best thing to do is in case you find some problem, make a screenshot and email it to me and I will see what I can do. Sometimes it is also the case that things seem to work, but not for all, because it is related to particular sites.

What I mean... I will give a specific example.

So one of the pages looked quite good to me, but when I sent it to Tom, his page was all over the place. It turned out that it was because on my page, I have my city set to "Brno" - which is quite short. Whereas Tom´s was quite the opposite - very long four-word name and that overflew the div and it all got very disorganized. It is difficult to sometimes take into account all the possible scenarios and the only way of solving these is by testing.

Since the release of Kiwi two days ago I have already discovered few new problems, or I was emailed about it by other users, and I made a slight change in the way bugs will be fixed in the future. I am a bit busy right now, but I will post about this later today.
Title: Meteotemplate - Block updates + very important info about bug fixes
Post by: Jáchym on March 30, 2016, 10:26:35 AM
Hi guys,

I would like to inform you about a major change in the way bug fixes are released. As with many other things (translations, homepage etc.) over time I realized things are not ideal the way they were made at the beginning.

The current model of handling bug fixes is one of the things that is not very efficient and I was therefore thinking how this could be changed.

Current mechanism:
When a bug is discovered, I try to fix it and then release it as part of template updates.

Problem:
Sometimes it can be a relatively major bug, in which case a subversion is released. When it is a minor bug, I leave it till the next update. The problem is this – updating the template as such is relatively time consuming and complicated for me. I need to re-compile all the files, upload all the files again to the server, update the Downloads section, update documentation etc etc. With minor updates it is also problematic because often I have the fix ready very quickly, but releasing a new version of the template usually means that fix won´t be available for another few weeks or even months.

Solution – new way of releasing bug fixes
I therefore decided to try a different method. Please read this very carefully because it is very important. There is now a new section on the Downloads page at Meteotemplate.com. If you scroll below the links to update and template main files download, you will see a table and heading “Bug fixes”. The way this will work is as follows – when a bug is discovered, no matter if it is major or minor, I will try to fix it as soon as possible. Then, if I am able to fix it, I will post a link to updated version of this script in the table. This table also contains date, the exact path to the script concerned, instructions how to make the fix and of course a link. This link will download only that particular file.
This means you will be able to download and fix errors relatively quickly, you will not have to download all the other files normally included in the update/main template download file and for me it will also be much easier because I will not have to change the actual download files. Then, when a new version is released, I will take all the updated scripts and include them in the update file, in the main file and delete the bug fixes table. So if you then perform the update, you will have all the current versions of files and then once a new bug is discovered again, it will be again added to the table. To get the latest version and bug fixes you therefore always need to be using the latest template version + have all the files updated that are listed in the bug fixes table.

I hope it makes sense, if you have any questions feel free to ask. I think this will be much more efficient for all. You will get fixes soon and only have to download the problematic files and I will not have to worry about updating all the other files and the wiki.

Please note – this is only related to the actual template files! Plugins and blocks will continue to be updated individually because it is much easier for me to update those and so bug fix in an update or block will be released as a new version/subversion of that particular block/plugin.

There are already several files that I fixed/improved in the bug fixes table.

Last, I have updated four of the blocks, all these updates only include bug fixes, there was an error in one of the conversions for the current block and gauges block when using Weather Display for updates, an updated script for the RSS feed block which prevents a problem when used along with the current block/gauges and last, an update of the riset block, where the pie chart did not scale properly.

With regards to the pie chart, this problem is now in more places all over the template. Some graphs overflow the page. I found that this is caused by an update of the Highcharts script. When I used the older version of Highcharts, it showed fine. Unfortunately this old version caused problems elsewhere, which is why it was updated so I will slowly be updating the current scripts to make them work fine with the new Highcharts script (unfortunately, it is not that easy so it might take some time, but just to let you know I am aware of this).

Hope this makes things more efficient and thanks for support and providing valuable feedback and reporting bugs

Jachym
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 30, 2016, 10:53:27 AM
Jachym,

Great method on the updates/bug fixes.   One suggestion, could you put the date on the blocks page when a block is updated.  This would make it easier to know when they need to be updated on our sites.  I realize that you mention it on the blog and on this forum, but it would be quick to check the blocks page.

Thanks for all the work,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 30, 2016, 10:55:34 AM
Read carefully, and updated the four files. :)

Sorry to be a pedant, I only mention it because you've fixed the rounding of numbers for rainfall on a couple of things..

The rainfall in the 'weather station' menu.

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 30, 2016, 11:27:18 AM
Read carefully, and updated the four files. :)

Sorry to be a pedant, I only mention it because you've fixed the rounding of numbers for rainfall on a couple of things..

The rainfall in the 'weather station' menu.

 [ You are not allowed to view attachments ]

Hi Tina,
 
you are not pedant, you are a perfectionist - like me... so here is a fix :)

The problem is that this affects the menu.php which is something each one of you customized, so I do not want to release this as a new script, in the next version I will, but not right now as a bug fix, because people might accidentaly reset their menu to default.

To solve this, open your menu.php in the template root folder and find this section (somewhere around line 30):
Code: [Select]
while($row = mysqli_fetch_array($a)){
$lastDB = strtotime($row['DateTime']);
$currentT = convertT($row['T']);
$currentR = convertR($row['R']);
}

replace it with this:
Code: [Select]
while($row = mysqli_fetch_array($a)){
$lastDB = strtotime($row['DateTime']);
$currentT = convertT($row['T']);
if($displayRainUnits=="mm"){
$currentR = number_format(convertR($row['R']),1,".","");
}
else{
$currentR = number_format(convertR($row['R']),2,".","");
}
}
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on March 30, 2016, 11:37:53 AM
Perfect! Thank you! Much appreciated, as always. :)

Title: Re: Meteotemplate - new free website template
Post by: rainbow on March 30, 2016, 12:13:39 PM
Jachym,

excellent solution for Bug Fixes! Everything works perfectly.

Thank you!
Det

Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 30, 2016, 05:06:32 PM
Forgive Jachym have recovered LOGFILES past years and I would like to upload to the server, but I can not remember where it was the site for upload to the server, help me remember, please. Use Weather Display
Title: Re: Meteotemplate - new free website template
Post by: nitrx on March 30, 2016, 05:24:06 PM
Forgive Jachym have recovered LOGFILES past years and I would like to upload to the server, but I can not remember where it was the site for upload to the server, help me remember, please. Use Weather Display
I'm not Jachym :-) try yourdomain.com/install/WDimport.html
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 30, 2016, 05:25:31 PM
Thats fine Juan, see Tina's suggestion, if you need help let me know
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 30, 2016, 05:39:03 PM
Thanks, I made these operations a few months ago, but I can not agree as I did, if you tell me where I can read the instructions to follow the proper steps, I looked at the Wiki but can not find.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 30, 2016, 05:39:16 PM
I need instructions on how to import data from weather Display, thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 30, 2016, 06:44:06 PM
It is in the wiki under Weather Display here:
http://www.meteotemplate.com/web/wiki/wiki4GB.php
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 31, 2016, 07:23:14 AM
I have another block to share. Nothing fancy or too flash, just useful.
It displays the hottest day of year and wettest day of year.
And you can get it here...http://manorts.com/meteo/yearRecord.zip
Easy as dropping the folder in with all your other blocks and adding to the index.php

Dress it up and add your own styles if you wish.

(http://www.manorts.com/images/records.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2016, 07:27:08 AM
Thanks colin!

I actually got a few requests for this, I might do something similar with a bit more possibilities to set it up, but good job! And thanks for sharing!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2016, 07:33:26 AM
I will probably use your code (including credits to you of course), just add a few more settings, adjust the date/time formats to reflect config set up and maybe also do some localization so that it translates and also maybe add the possibility of "what days" you want to see - coldest, hottest, wettest etc.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 31, 2016, 07:53:39 AM
Thanks Jachym, I did not put any flash styles in but its pretty easy to just copy and paste the code into your "blank block template"
Forgot to add the display units but that is now done. I'm now figuring out a way to get the coldest day.
It's not as easy though. I think I have to get maximum daily temperatures first then get the lowest one of those.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2016, 08:06:41 AM
Very easy Colin :-)

Hottest:
Code: [Select]
SELECT DateTime,Tmax
FROM alldata
WHERE YEAR(DateTime) = YEAR(NOW())
ORDER BY Tmax DESC
LIMIT 1

Coldest:
Code: [Select]
SELECT DateTime,Tmin
FROM alldata
WHERE YEAR(DateTime) = YEAR(NOW())
ORDER BY Tmin
LIMIT 1
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2016, 08:08:58 AM
However, this is using the query you did, I guess it is a bit misleading, this is technically speaking not the "hottest day", it is the day with the highest temperature. For hottest day I will add a subquery that will first aggregate the daily averages and then select the max/min from that, which will produce hottest/coldest day
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 31, 2016, 11:21:47 PM
Hi Colin,
I have added the block...
Now to learn how to reduce the decimal places...
 
Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 31, 2016, 11:38:53 PM
I see it has shown up again. The same problem occurred with the Rain Block and Jachym modified the script to handle that.
The method I used to fix it was in the mysql db. Changed the Rain have only one decimal point. It has not caused any problems that I know of.
Jachym suggested it may cause a problem if units are changed to inches but I have not seen that yet. Not saying he is wrong, just saying I have not seen it.

More here http://www.wxforum.net/index.php?topic=26825.1950
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 31, 2016, 11:58:48 PM
this is technically speaking not the "hottest day", it is the day with the highest temperature.

 :???: Call me thick but I do not understand   :???:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 01, 2016, 12:53:27 AM
Thanks Colin, I recall that discussion.  I will use yours as is, and wait for Jachym's version instead of modifying my DB structure in case I screw it up.


I know Jachym takes his averaging very serious, and I have no issue with that...  I presume he is saying it can be the hottest for a short time but the rest of the day much cooler so the overall day is not necessarily the "averaged hottest day".  Personally I like to talk about what was the highest and the coldest actual temperature, wind, etc.


Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 01, 2016, 02:07:52 AM
I just made some changes that are better worded. www.manorts.com/meteo/yearRecord.zip
I know the highest temperatures are the same but that is because my records only go back eight months, so they are in fact the same  :-)

(http://www.manorts.com/images/newrecord.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2016, 05:34:49 AM
Hi Colin and Paul,

with regards to the rounding, for pressure and rain this cannot be set fixed globally. Temperature is fine - always 1 d.p., solar radiation humidity too, but pressure and rain is problematic because:
mm - 1 d.p. / in - 2 d.p.
hPa - 1 d.p. / inHg - 2 d.p.
Showing either 2 d.p. for mm/hPa would not look good and likewise, showing 1 d.p. for in/inHg would not be accurate enough. So you need to make sure when rounding these, you also check the current units and this is not just the units you have in config, but the currently set units, which can be also changed by the user using the gear icon and cookies. So you have to make an if statement and use either one or the other depending on this.

With regards to the wording... yeah you are right, I am a perfectionist, but what I was referring to is this:
Imagine the following situation:

Mar 15
Temperature:
Max - 19.5
Min - 6.5
Avg - 14.4

Mar 16
Temperature:
Max - 17.7
Min - 6.5
Avg - 16.6

Now, which one is the hottest day? In my opinion it is Mar 16, but your script would say Mar 15, it really is just details, but technically, your script provides not the hottest day, but day with the highest maximum temperature, for hottest day you would need to first run a subquery to calculate the daily averages and then take the maximum from that. If you simply take the maximum value from the db, it will give you that maximum temperature at one particular time, all the records will be sorted from highest to lowest and so the hottest day in this case will simply correspond to the date on which the absolute high was measured in that month/yr.
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 01, 2016, 06:57:27 AM
We are talking about two different things. I am talking about hottest day. You are talking about the highest average.
Assuming March does not get any warmer, the records will show March 15 as the hottest day.
Perhaps we should just leave it at that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2016, 07:16:30 AM
We are talking about two different things. I am talking about hottest day. You are talking about the highest average.
Assuming March does not get any warmer, the records will show March 15 as the hottest day.
Perhaps we should just leave it at that.

Sure, please don´t take this as criticism, maybe it is just my incorrect understanding of the English phrase "hottest day" - in my language, in Czech, "hottest day" is suggesting the overall warmest day of the period concerned. What you mean is "day with highest temperature" - but it could simply be my misunderstanding and in English it could mean the overall warmest day. Sorry, I am not a native speaker, and good job either way!
Title: Meteotemplate - updates and a sneak preview!!!
Post by: Jáchym on April 01, 2016, 07:20:24 AM
Hi guys,

just a few updates.

Block updates

I have updated two blocks – the current conditions block and the summary block. Both updates have to do with changes in the CSS to better fit in with the rest of the page. I modified the colors and size. They now use the same color as all the other blocks and also fit nicely even when included in the multiple block layout. No need to replace or change anything in your settings.php, just replace the block files.

New feature

I have added a new feature to the Blocks section at Meteotemplate.com. In addition to the screenshot, it is now possible to also view a live preview of each of the blocks, in both narrow and wide layout. Each block has also a link to this demo now.

And last… I decided to give you a little sneak preview of what is coming next, what I am working on and what you can expect in the future. If you want to know more, simply go to the page below.

Enjoy

Jachym

Sneak preview... (http://www.meteotemplate.com/web/special/quiz.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2016, 07:24:42 AM
Oh and please, those of you that will look at the screenshots from version 6, please do not share info about it here ;)
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 01, 2016, 07:39:33 AM
Cannot wait

(http://www.manorts.com/smiley/funny/omg.gif)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 01, 2016, 10:22:21 AM
Incredible  :!:   Can't believe it :shock:
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 01, 2016, 11:06:05 AM
Ill see it when its released......too long answering those questions and have other things to do so...Its spring here snow is melting but dog poop is growing  :mrgreen:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 01, 2016, 11:11:42 AM
Correct Carl, the questions aren't easy... I admit I failed the first time as I couldn't recall the difference in the two versions 3.0!  But you only have a very short while to have a peek.
 
Paul
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 01, 2016, 11:18:49 AM
Im with Jachym til the first tryouts...I may be one of the firsts to ask to have a copy or a verison of his meteopage template cuz i really liked it ,the layouts ect  :grin:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 01, 2016, 11:26:41 AM
Hi Jachym,
The updated blocks are working fine on my system!


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2016, 11:47:10 AM
Im glad you guys like it  8-)
Title: Re: Meteotemplate - updates and a sneak preview!!!
Post by: SpringHillWeather on April 01, 2016, 03:53:46 PM
Hi guys,

just a few updates.

Block updates

I have updated two blocks – the current conditions block and the summary block. Both updates have to do with changes in the CSS to better fit in with the rest of the page. I modified the colors and size. They now use the same color as all the other blocks and also fit nicely even when included in the multiple block layout. No need to replace or change anything in your settings.php, just replace the block files.

New feature

I have added a new feature to the Blocks section at Meteotemplate.com. In addition to the screenshot, it is now possible to also view a live preview of each of the blocks, in both narrow and wide layout. Each block has also a link to this demo now.

And last… I decided to give you a little sneak preview of what is coming next, what I am working on and what you can expect in the future. If you want to know more, simply go to the page below.

Enjoy

Jachym

Sneak preview... (http://www.meteotemplate.com/web/special/quiz.php)

I thought I knew all about Meteotemplate but after trying to answer the questions dozens of times I keep failing.....

I spend hours reading the Wiki, FAQ's and every page on the website and still failed the test!

Well I hope version 6.0 turns out to be good as others have said and not a lemon like the test  ;)







Title: Re: Meteotemplate - updates and a sneak preview!!!
Post by: Jáchym on April 01, 2016, 04:01:31 PM
Hi guys,

just a few updates.

Block updates

I have updated two blocks – the current conditions block and the summary block. Both updates have to do with changes in the CSS to better fit in with the rest of the page. I modified the colors and size. They now use the same color as all the other blocks and also fit nicely even when included in the multiple block layout. No need to replace or change anything in your settings.php, just replace the block files.

New feature

I have added a new feature to the Blocks section at Meteotemplate.com. In addition to the screenshot, it is now possible to also view a live preview of each of the blocks, in both narrow and wide layout. Each block has also a link to this demo now.

And last… I decided to give you a little sneak preview of what is coming next, what I am working on and what you can expect in the future. If you want to know more, simply go to the page below.

Enjoy

Jachym

Sneak preview... (http://www.meteotemplate.com/web/special/quiz.php)

I thought I knew all about Meteotemplate but after trying to answer the questions dozens of times I keep failing.....

I spend hours reading the Wiki, FAQ's and every page on the website and still failed the test!

Well I hope version 6.0 turns out to be good as others have said and not a lemon like the test  ;)

Which question turned out to be that difficult? :D
Title: Re: Meteotemplate - updates and a sneak preview!!!
Post by: SpringHillWeather on April 01, 2016, 04:17:02 PM
Hi guys,

just a few updates.

Block updates

I have updated two blocks – the current conditions block and the summary block. Both updates have to do with changes in the CSS to better fit in with the rest of the page. I modified the colors and size. They now use the same color as all the other blocks and also fit nicely even when included in the multiple block layout. No need to replace or change anything in your settings.php, just replace the block files.

New feature

I have added a new feature to the Blocks section at Meteotemplate.com. In addition to the screenshot, it is now possible to also view a live preview of each of the blocks, in both narrow and wide layout. Each block has also a link to this demo now.

And last… I decided to give you a little sneak preview of what is coming next, what I am working on and what you can expect in the future. If you want to know more, simply go to the page below.

Enjoy

Jachym

Sneak preview... (http://www.meteotemplate.com/web/special/quiz.php)

I thought I knew all about Meteotemplate but after trying to answer the questions dozens of times I keep failing.....

I spend hours reading the Wiki, FAQ's and every page on the website and still failed the test!

Well I hope version 6.0 turns out to be good as others have said and not a lemon like the test  ;)

Which question turned out to be that difficult? :D

I passed!  Found the answer after reading though all the documentation.

Thanks!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 01, 2016, 04:41:49 PM
What was version 3.0 called?!?

Or was it my server playing tricks again...


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2016, 05:13:55 PM
version 3 was Sour Cherry ;)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 01, 2016, 08:09:28 PM
I was pretty sure, in fact positive of that, but the question asked for me included 3.0 Sour Cherry or 3.0 Mango ;)


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2016, 08:18:33 PM
I was pretty sure, in fact positive of that, but the question asked for me included 3.0 Sour Cherry or 3.0 Mango ;)


Paul

Yes, so since 3.0 Mango is non-sense, the other one is correct :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 01, 2016, 08:25:45 PM
I get it now, high right and half wrong... like my server #-o

...but I was able to get through the security to the reward!

Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 02, 2016, 07:07:56 AM
Overnight, my stickers have decided to stop working.  :shock:


 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 02, 2016, 09:26:29 AM
The current output is like this:
http://www.warehamwx.com/wx/plugins/stickers/sticker800_170.php?parameter=S&text=Wareham%20Wx&color1=blue&color2=grey

It looks like it did not accept the header. Were there any changes made on your server? Maybe some upgrade or change in server settings?
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 02, 2016, 09:50:52 AM
The current output is like this:
http://www.warehamwx.com/wx/plugins/stickers/sticker800_170.php?parameter=S&text=Wareham%20Wx&color1=blue&color2=grey

It looks like it did not accept the header. Were there any changes made on your server? Maybe some upgrade or change in server settings?

It was working when I went to bed.
I came on here first thing this morning, and noticed it had stopped showing the sticker. I'm baffled!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 02, 2016, 10:22:49 AM
Do you have your own server or external webhosting? Could be some upgrade of some PHP component. The script did not change so it must have been something on your server.
Title: Absolute vs relative links - meteotemplate
Post by: Jáchym on April 02, 2016, 11:31:32 AM
Quote
Hi Jachym, in your code I noticed that all the icons for example and most images use absolute paths. Would it not be better and faster to use relative paths?

Let me answer this here as I was asked about this several times already.

In short - no, it would not. In the past, this was sometimes recommended as loading the image from your own server was faster than when the image link was treated as an external site due to absolute path.

However this changed for several reasons:
1. internet connection these days is much much faster and so the difference in loading time would be in the range of miliseconds. Today it is mostly for example javascripts, which are rendered by the browser, but very rarely will you find that it is the actual loading of icons - unless of course you are loading some large wallpapers...

2. browsers these days work differently than they did in the past - all - ALL - broswers these days use caching, this means that the image is saved locally once it is loaded so even if you really did save those several miliseconds, this would only be the very first time you loaded the page. Next time the image is loaded locally anyway.

OK, so there is no difference... well there is actually, but quite the opposite - there are several reasons why using absolute links today is a good idea:
1. it is much safer when you are moving files around on your server and ensures it will work
2. relative links are sometimes problematic for SEO - this means that your page might not be correctly interpreted by bots which then list your site in search engines
3. when you use absolute links, the actual link to your site is much more frequent in the actual HTML, which is also very good for SEO and increases your rating

Anyway... there are many articles about this so if interested I will also copy some other reasons for using absolute pathes:

Quote
if someone links to your site using yoursite.com rather than www.yoursite.com, the search engine will follow the link and start crawling. If you are using absolute links then the search engine will crawl your site and only see the pages as www.yoursite.com/index.html. If you use relative links the the search engine could crawl your site as yoursite.com/index.html, which is probably not what you want to happen

Quote
Google recommends absolute links because it is possible for crawlers to miss some relative links.

Quote
in todays world wide web, it’s no longer just a question of personal preferences - absolute paths are the safe and recommended way to link.

Quote
They are much easier to manage as there is less chance of broken links appearing when moving documents or pages around.

Quote
There are many more occurrences of your full domain name in the source code, which can only be good.

Quote
They are much more recognizable to your visitors who are then more likely to bookmark your site.

Quote
Search engines can't miss or mess up any links when crawling your site.

I therefore used absolute links in the template and do not plan to change this in the future.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 02, 2016, 04:06:39 PM
Do you have your own server or external webhosting? Could be some upgrade of some PHP component. The script did not change so it must have been something on your server.

Fixed!

I've recently added zbblock to help slow down the amount of bots that have been hitting my site. I had to put a small php line of code near the top of some files I accidentally left a blank space after it, and it caused the problem.  :oops:
Title: Kiwi Version 5.0
Post by: juppie on April 02, 2016, 06:09:27 PM
Hello Jáchym

I can not switch to iPad on my desktop page.

Greeting juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 02, 2016, 06:22:04 PM
Hi Juppie,

sorry can you be a bit more specific? I am not sure I understand what you mean.
THe mobile icon in the desktop footer should redirect you to the indexMobile.php. What exactly do you mean "switch to iPad"? Can you also provide a link to your site?

Thanks

P.S. How did you know my name is "Jáchym" :D That actually is the right way of spelling it, but I just never include it anywhere because the á is not in the English alphabet :D
Title: Re: Meteotemplate - new free website template
Post by: juppie on April 02, 2016, 06:42:30 PM
The iPad automatically opens the indexMobile.php and wants the iPad to open the index.php

PS.:
I may as well speak English and help me with a translation program.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 02, 2016, 06:54:06 PM
Hi Juppie,
in that case try in your index.php set tablets to false
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on April 02, 2016, 07:15:01 PM
Well.. That's my page fully updated! I added an extra 12 new fonts in the design selection too- got a bit carried away.  :oops:

Thanks for all your hard work Jachym.

2:30am - time for bed. Ni ni folks!

Hi Mapantz!

Where can I download these fonts?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 10:52:32 AM
For those of you who would like to try Yowindow in a Block...,its attached as a .zip

just go on yowindow website here http://yowindow.com/weatherwidget.php ...Find your location,then copy the code (at the bottom) and, in the yowindowBlock.php,

just replace my code in the <td></td> with yours...

you will have to adjust the widtht to fit  your needs  ;)

Do not use it in indexMobile.php...it wont work cus it uses flash  :???:

Hi Carl,
yes and I specifically recommended a while back not to use any plugins such as YoWindow for several reasons :D It is of course up to everyone, but I will definitely never make a plugin/block for it and I highly recommend not using it for three reasons:
1. poor scaling - it usually messes the responsive design and blocks do not size properly
2. more importantly! Just as you mentioned, this uses Flash - highly vulnerable and more and more unsupported extension, which will also completely stop working in even PCs next yr (discontinued by both Chrome and FF). Not working on mobiles/tablets even now. It is a high security risk.
3. heavy on computer resources, remember your homepage is already quite demanding due to the number of blocks etc. that have to be loaded and placing this into one of them does not make things much better, trust me
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 03, 2016, 10:58:14 AM
youre absolutely right....  ](*,)

i forgot about that...i should have remember,but...maybe a html5 version will popup some day ...

ive removed it ;)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 03, 2016, 11:00:12 AM
I agree yowindow is in flash it's even invisble with chrome I don't understand why yowindow has not stepped over to html 5
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 11:04:03 AM
(http://gadgtecs.com/wp-content/uploads/2015/08/dead-flash1.jpeg)
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 03, 2016, 12:26:33 PM
always the right answers yakim  =D&gt;  :-P
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 02:27:23 PM
So after a couple of hours getting Carl's yowindows added and struggling with my computer being totally bogged down every time I moved the mouse over the yowindow block I look in the forum and see Jachym's many reasons "not too"  :( :x #-o :oops:


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 03:07:04 PM
:-) Yes, always trust Jachym when it comes to Meteotemplate LOL
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 03:33:46 PM
and I wanted to show off my multipleblock page that I have been working on http://www.komokaweather.com/j-template/indexDesktopMultiBlock.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 03:38:30 PM
and I wanted to show off my multipleblock page that I have been working on http://www.komokaweather.com/j-template/indexDesktopMultiBlock.php

Paul

 \:D/ =D&gt; =D&gt;

Now this is something that is coming close to what I had in my head when I first got the idea with the blocks and thought about how this could be done in general and then technically... version 3 was just fixed blocks, version 4 was independent blocks, version 5 improved the layout possibilities and tweaked the styling ;) Version 6 will continue in leading the template in the direction I want it to go.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 04:11:51 PM
Thanks Jáchym, still building on it...


I have fixed a couple of other things but I am still getting this error:

Warning
:  Invalid argument supplied for foreach() in /home/content/96/5379896/html/j-template/homepage/blocks/worldWeather/worldWeatherBlock.php on line 298
  more

www.komokaweather.com/j-template/indexMobile.php


I have re-downloaded and double checked my API key, etc.  I am pretty sure it had been working up until a couple of days ago.  Any suggestions?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 03, 2016, 04:12:11 PM
and I wanted to show off my multipleblock page that I have been working on http://www.komokaweather.com/j-template/indexDesktopMultiBlock.php

Paul

Excellent! Really like that!  \:D/

I need to do that with my gauges I think?! :)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 03, 2016, 04:19:13 PM
Well.. That's my page fully updated! I added an extra 12 new fonts in the design selection too- got a bit carried away.  :oops:

Thanks for all your hard work Jachym.

2:30am - time for bed. Ni ni folks!

Hi Mapantz!

Where can I download these fonts?

Hi Brett!

No downloading needed! Just go to: https://www.google.com/fonts

I then copied the code Jachym created for the fonts in main.php

Code: [Select]
if($designFont=="Jaldi" || $designFont2=="Jaldi"){

     echo "@import url(http://fonts.googleapis.com/css?family=Jaldi:400,700&subset=latin,cyrillic-ext,latin-ext);";

}

And copied the code in settingExamples.php

Code: [Select]
@import url(http://fonts.googleapis.com/css?family=Jaldi:400,700&subset=latin,cyrillic-ext,latin-ext);
You will also have to add the name of them to the array further down the page of settingsExamples.php

Code: [Select]
$availableFonts = array( )
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 03, 2016, 04:27:25 PM
Is there a page anywhere to show me how to get the multiple block working? I'm not sure if I'm just having a senior moment, but I can't find a page on the meteotemplate site.   :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 04:30:55 PM
It is there Tina (you are having a senior moment LOL)

WIKI -> homepage setup -> at the bottom
http://www.meteotemplate.com/web/wiki/wikiHomepage.php

Paul:
Yes, this unfortunately is again due to Yahoo, their API has been EXTREMELY unreliable last few days, not much I can do at this point, even the right update methods dont work, the API seems totally unresponsive at times
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 04:32:23 PM
The wiki and click on "go to homepage setup" is really good.  For example, this is how I've done mine...
    $columnWidths = array(100); // this will create just a one-column homepage, where every block will occupy the full width of the homepage
    $column1 = array("gauges",
        "multipleBlock(greetings,15;text,30;location,20;dynamicText,35)",
        "multipleBlock(calendar,30;clock,20;calendarMonth,30;stationStatus,20)",
        "multipleBlock(current,50;stationData,50)",
        "multipleBlock(rain,25;windRose,25;yearRecord,25;indoor,25)",
        "multipleBlock(baroTrend,40;summary,60)",
        "multipleBlock(interactiveGraph,50;meteogram,50)",
        "warningsCA",
        "multipleBlock(ecForecast,50;forecast,50)",
        "multipleBlock(airQualityWorld,50;fireDanger,50)",
        "multipleBlock(warningsUS,50;warningsUSRegions,50)",
        "multipleBlock(nwsForecast,70;airQualityUS,30)",
        "multipleBlock(uvForecast,33;co2,34;ozoneForecast,33)",
        "multipleBlock(snow,40;cloudHeight,15;cloudTemp,15;dbInfo,30)",       
        "multipleBlock(riset,30;dayNight,20;moonPhase,30;meteors,20)",
        "multipleBlock(solarEclipses,33;lunarEclipses,34;astroEvents,33)"
       
        );
    #### NOTE: place a comma (,) after the last line entry before adding a new line - i.e. "yowindow","newBlock"
    #### NOTE: the ); must be after the last entry - i.e. "yowindows" - and spaces and extra blank lines are permitted
    $columns = array($column1);
   
    ############################################################################

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 04:39:44 PM
Thanks Jáchym,
I just remembered there was a fix you posted and had done that a few days ago, and just did it again.  Thanks for confirming and won't loose any more sleep snow watching over it.  Just as I got my lawn tractor tuned up, got the lawn raked, fertilized and ready to enjoy spring... been snowing for the third day in a row now and http://www.komokaweather.com//j-template/plugins/warningsCanada/index.php

A good excuse to stay inside...

Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 03, 2016, 05:17:32 PM
Ok, I've got the jist of it lol

But, Paul, how have you managed to make yours so that they still look like separate blocks? Mine have molded all in to one  :oops:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 05:28:18 PM
I don't know :oops:

I think I followed the examples in the Wiki.  Just used the included indexDesktop.php and added the blocks (code) as I posted, and renamed.


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 05:43:09 PM
Ok, I've got the jist of it lol

But, Paul, how have you managed to make yours so that they still look like separate blocks? Mine have molded all in to one  :oops:

Hi Tina, there is several possibilities - caching, not using the latest updated CSS or some other problem. I can do some further check, right now it seems like the border color is not correclty loaded, but with my home laptop Im glad it at least loaded, but I cannot play around with the console. I will try tomorrow on my PC in my office
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 07:18:41 PM
With our late season snow storm I've stayed inside and doing some fixes and found a new issue.   I had updated the rssFeed to v.1.1 a couple of days ago and thought it was working but found it is not opening the selected feed when pressing "More".  It reloads the template's index (indexdDesktop.php).  It happens for all the different feeds and topics.  I have tried it from the download as is - i.e. no edit in settings.

I have re-downloaded and installed v.1.1 again, looked in rssFeedBlock.php, but am unable to detect what the problem may be.  Is it my setup or anyone else have the issue?

I've re-uploaded v1.0 for now.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2016, 07:37:03 PM
Interesting, I will look at it tomorrow, but I havent changed anything in that part of the script, so it is weird that it worked before. Of course there could be a bug but then it would not work in 1.0 either.
Title: Re: Meteotemplate - new free website template
Post by: gus on April 03, 2016, 07:37:54 PM
Paul,
To get the "More" to open the source page with rssFeed ver 1.1, open the reader.php file and uncomment this line...

         (string)$itemLink = $x->item($i)->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;

should be around line 51
Gus
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 03, 2016, 07:55:51 PM
Thanks Gus, that fixed it.
I had looked in that file but then it was all code to me, that I couldn't decode #-o

Happy again,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on April 04, 2016, 03:50:09 AM
Well.. That's my page fully updated! I added an extra 12 new fonts in the design selection too- got a bit carried away.  :oops:

Thanks for all your hard work Jachym.

2:30am - time for bed. Ni ni folks!

Hi Mapantz!

Where can I download these fonts?

Hi Brett!

No downloading needed! Just go to: https://www.google.com/fonts



Cool! Thanks! :)
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 04, 2016, 06:19:46 AM
Jachym good day, I see a problem I appears in the template due to an error in the Weather Display Logfiles March 2016
Rushing the data is 11mm dia 20/03/2016 and error logfiles me repeat the information again the next day.
Once repaired the Logfiles upload it to the server again with the override option but does not change the erroneous data in the template, and no longer I can do.
Can you help me?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 07:06:11 AM
Hi Juan,
I would love to help you, unfortunately I do not understand your post, I guess the auto translation failed this time... I do not understand what you mean and what the problem is.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 04, 2016, 09:18:34 AM
Hello Jachym, monthly "REPORTS", daily chart, precipitation, month of March 2016.
   I see that precipitation of the day March 20, 2016 was 11mm.
  and precipitation of the day March 21, 2016 also 11mm. (Not having precipitated this day nothing)

I watch the Weather Display Logfiles and I see an error once I've solved, back up the database Logfiles all right, but not resolved in the template.
I hope I have explained better
As I can fix

Juan
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 04, 2016, 09:19:55 AM
...you cannot use the override and normal upload with WD...well you can but its messing up everything. so just use the normal upload...and turn everything to red led

you may delete the faulty lines in the database and see if it works  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 09:33:01 AM
Use the Admin section of the template to correct problematic values.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 04, 2016, 09:34:26 AM
Thanks for the answer, once I noticed the Logfiles the day that has the bug, I copied and renamed to "install" and then with WDimport.html using the scrip have returned to upload to the database, but not me change the content in the template.
I would like to resolve any inconsistencies to occur, so that the template be as reliable as possible.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 04, 2016, 09:42:34 AM
Thanks for your patience as I can manage Admin template ?, I tried to open the database and I dare not understand that I must play.

Rectifications is very complicated? or they can help in the basics.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 10:09:23 AM
Juan I am so sorry, but I really find it extremely difficult to understand your posts.

Maybe what we can do is this:
Send me a message here on the forum with your template password, the exact date and what you want to change and I will change it from your site.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 04, 2016, 10:34:52 AM
Thanks Jachym, I give you the information you ask me, although I would like to know how to do it, you think I could do it for other occasions?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 10:39:22 AM
If you click the "lock" icon in the footer, you will get to the Admin section. Then click MySQL administration, choose the day you want to change in the calendar and then next to each row is a button "Edit" and if you click it, you can edit the numbers, then just click "Save"
Title: Meteotemplate news
Post by: Jáchym on April 04, 2016, 11:48:42 AM
Hi guys,
a few things I want to mention/ask.

1. There is now a new weather network - Swiss Weather Network, which uses Meteotemplate scripts based on the Meteotemplate network. It is administered by Pierre and if interested you can have a look here: http://swiss-weather-network.ch/
(http://i68.tinypic.com/28gqqlj.png)

2. There is a major problem with the built-in WWO forecast. As of 1st of April, the WWO API is no longer free. Users that have already registered for the free API will not be affected by this, but it is no longer possible to create a free account (just a 60-day free trial). Also, I checked the price and if you wanted to get the features that were included in the free API and which are used by Meteotemplate, you would be paying 540USD/yr... which is in my opinion absolutely ridiculous and obviously not feasible. I am therefore thinking about discontinuing the WWO page altogether. The problem now is what to use to replace it... Yahoo in fact just recently is also very problematic. They again offer it for free without an API key, but it is more and more unrealiable and WU seems to be the same issue. Looks like the days of free APIs are coming to an end.... :( What do you think? Currently the only reliable free API seems to by the yrNo, but how long that will last... WWO will be probably deleted in the next update of the template and I am not very excited about replacing it with Yahoo.

3. If you sometimes look at the Meteotemplate network you might notice that also, more and more often, the data is outdated or some users missing. I am aware of this and there is unfortunately not much I can do. The number of users grows each day, another 5 new users in last 3 days, Im obviously quite happy about this, but my server not so much. The current hosting plan I have can simply no longer cope with this. The way it is set up is that the main site and demo at meteotemplate.com get a priority over the network so as the traffic increases and as the number of users it has to obtain data from also increases, this will probably be a problem in the future. Hopefully it is at least of some use.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 04, 2016, 12:12:25 PM
Hi Jáchym,
Success! Growing Pains!  These usually go together...

Sorry I can't offer any suggestions but if there is something I/we can do, other than be patient, please let us know.

Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 04, 2016, 12:18:15 PM
I don't know a solution even  :roll: Anyway how do I make a networkBlock.php  8-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 12:30:09 PM
I don't know a solution even  :roll: Anyway how do I make a networkBlock.php  8-)

What do you mean network block? There is a plugin for showing users, network is only at meteotemplate.com
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 04, 2016, 01:23:21 PM
I saw that the Switserlandnetwork has a module thats named networkblock.php anyway i was curious how those maps are made.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 01:36:37 PM
I saw that the Switserlandnetwork has a module thats named networkblock.php anyway i was curious how those maps are made.

I see...
Well that site uses the scripts from the Meteotemplate network, but I have further customized them for Pierre so that they work on his site and use the format of files used by his users. In addition, this Swiss network is completely independent of meteotemplate network, it uses its own CRON jobs and scripts to gather user data, saves them on its own server etc.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 04, 2016, 01:48:34 PM
Well i m not gonna make a network for the netherlands just 2 stations use it atm unfortunally, i wondered how those maps are made because there are only paid api 's for google maps.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 02:28:28 PM
Well i m not gonna make a network for the netherlands just 2 stations use it atm unfortunally, i wondered how those maps are made because there are only paid api 's for google maps.

Google maps are free
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 04, 2016, 06:38:11 PM
Who is paying for a reliable cron job...and wich one to use...

Cronjob dot org is nice/free  and is set to update at 5 minutes but...its more at 10 minutes with a lot of failed so...

what are you suggesting ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2016, 08:14:36 PM
Who is paying for a reliable cron job...and wich one to use...

Cronjob dot org is nice/free  and is set to update at 5 minutes but...its more at 10 minutes with a lot of failed so...

what are you suggesting ?

Carl,  cron job org is working fine,  this is more likely your server being overloaded so it times out
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 04, 2016, 08:34:33 PM
I've had similar cron job issues http://www.wxforum.net/index.php?topic=29087.msg284142#msg284142 and have started to log the failures so I can follow up with GoDaddy...

For today, for each hour since midnight I've had 5, 9, 7, 5, 4, 9, 7, 5, 8, 6, 12, 6, 4, 5, 10 and 7 failures for a total of 102 failures out of 795 cron jobs scheduled (about 15% failure rate) and that has been the norm over the past weeks.  A similar failure rate for each of the 5 different cron jobs I have schedule from 2 min to 30 min.

Then miraculously only 1 failures the last 6 hours so far today (none the last 5 hours) :grin:

Paul

Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 04, 2016, 09:58:54 PM
im now trying EasyCron... and it didnt missed an upload yet so...ill see tomorrow...its a 7 day trial so ill use them and if theres less errors well ;)

im also waiting for another one to reply and test...i have to try before i buy hehehe
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 04, 2016, 10:13:40 PM
@ Paul...take a look at https://www.easycron.com/user/plan

very satisfying for now
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 05, 2016, 12:39:14 AM
Thanks Carl, will have a look.  So far have not had a single failure with cron-job.org since mid afternoon.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 05, 2016, 04:24:19 AM
Jachym good day, thanks for your answer yesterday, is what I wanted to modify the database errors with your explanation, I solved the problem, it is also my simple, thanks again and hasto another occasion.

regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 05, 2016, 04:44:53 AM
Guys you can also check this one, it allows minutely CRONs and is for free:

http://mywebcron.com/
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 05, 2016, 05:42:10 AM
Updated to 5.0. Now need to work on the custom menu items for the mobile site

Thanks for keeping me away from my work
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 05, 2016, 06:31:15 AM
Updated to 5.0. Now need to work on the custom menu items for the mobile site

Thanks for keeping me away from my work

Simon the mobile menu should not be edited, it includes the pages that were optimized for mobile devices. It is not intended for you to add all the plugins etc. The mobile section is not an exact copy of the normal version, it is a stripped down section that contains the major weather station pages and reports, but it will not work well for other pages that are not already included in the menu.
Some plugins etc. simply cannot be viewed on a small screen, you can never fit a detailed map or a graph on a small screen, even if it scales right, it would not be readable. So I recommend you don´t add anything to that menu
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 05, 2016, 09:55:54 AM
Quote
Guys you can also check this one, it allows minutely CRONs and is for free:

http://mywebcron.com/  (http://mywebcron.com/)


Thanks Jáchym and Carl.  I will keep note of those alternates.


Don't know what happened or changed at my end, GoDaddy or cron-job.org, but there have been no further cron-job.org failures at all so far.  Also noticed in their FAQ
Quote
What should I keep in mind when developing my cron-controlled scripts?You should design your scripts in a way that they send as little data as possible, ideally just a short status message at the end of the execution, e.g. "OK" — or simply nothing. In case your script is written in PHP and needs more than 30 seconds of run-time, you can use the following trick to let it continue to execute in the backgroudn: Use the PHP function ignore_user_abort(true) to tell PHP to continue the script execution after disconnection.

If I get failures again I may look to add that suggested PHP function.  Any suggestion how/where I would put that in the /update/cumulus.php and bloomSky/update.php scripts?

Paul
   
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 05, 2016, 10:02:07 AM
Quote
Guys you can also check this one, it allows minutely CRONs and is for free:

http://mywebcron.com/  (http://mywebcron.com/)


Thanks Jáchym and Carl.  I will keep note of those alternates.


Don't know what happened or changed at my end, GoDaddy or cron-job.org, but there have been no further cron-job.org failures at all so far.  Also noticed in their FAQ
Quote
What should I keep in mind when developing my cron-controlled scripts?You should design your scripts in a way that they send as little data as possible, ideally just a short status message at the end of the execution, e.g. "OK" — or simply nothing. In case your script is written in PHP and needs more than 30 seconds of run-time, you can use the following trick to let it continue to execute in the backgroudn: Use the PHP function ignore_user_abort(true) to tell PHP to continue the script execution after disconnection.

If I get failures again I may look to add that suggested PHP function.  Any suggestion how/where I would put that in the /update/cumulus.php and bloomSky/update.php scripts?

Paul
   

I'm with GoDaddy, where do you view your Cronjob errors?

I've got five running: One every minute, two every five minutes, one at one hour and one at once every 24hrs.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 05, 2016, 10:20:23 AM
About mywebcron.... not a single update in database... since registration at 10 AM...and its now 10:20 AM :roll:
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 05, 2016, 11:06:25 AM
Updated to 5.0. Now need to work on the custom menu items for the mobile site

Thanks for keeping me away from my work

Simon the mobile menu should not be edited, it includes the pages that were optimized for mobile devices. It is not intended for you to add all the plugins etc. The mobile section is not an exact copy of the normal version, it is a stripped down section that contains the major weather station pages and reports, but it will not work well for other pages that are not already included in the menu.
Some plugins etc. simply cannot be viewed on a small screen, you can never fit a detailed map or a graph on a small screen, even if it scales right, it would not be readable. So I recommend you don´t add anything to that menu

Jachym

I'm not referring to the plugins. Most of the value in my site are the timelapses.

I need those visible but don't want them in the homepage blocks.

It's ok. Happy to fiddle
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 05, 2016, 11:49:55 AM
Quote
I'm with GoDaddy, where do you view your Cronjob errors?

I've got five running: One every minute, two every five minutes, one at one hour and one at once every 24hrs.

I don't think you can see the errors on GoDaddy, but if an email address is added in the cron job setup it should send notices of failure.  At least in my Linux hosting plan. 

I used to get several email notices when I first set up cron jobs on GoDaddy but that was due to errors in the cron setup.  I have not received a notice in many months from GoDaddy and have 6 crons run twice an hour (one at 00:xx and 30:xx, one at 05:xx and 35:xx, one at 10:xx and 40:xx, one at 15:xx and 45:45, one at 20:xx and 50:xx and one at 25:xx and 55:xx)

I didn't realize you can set GoDaddy to as low as 1 minute.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 05, 2016, 12:36:43 PM
Quote
I'm with GoDaddy, where do you view your Cronjob errors?

I've got five running: One every minute, two every five minutes, one at one hour and one at once every 24hrs.

I don't think you can see the errors on GoDaddy, but if an email address is added in the cron job setup it should send notices of failure.  At least in my Linux hosting plan. 

I used to get several email notices when I first set up cron jobs on GoDaddy but that was due to errors in the cron setup.  I have not received a notice in many months from GoDaddy and have 6 crons run twice an hour (one at 00:xx and 30:xx, one at 05:xx and 35:xx, one at 10:xx and 40:xx, one at 15:xx and 45:45, one at 20:xx and 50:xx and one at 25:xx and 55:xx)

I didn't realize you can set GoDaddy to as low as 1 minute.

Paul

Ah that's right.  I didn't know about the email thing for ages, when I logged in to my webcam, I had close to 100,000 emails. It would send one everything a cronjob ran haha
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 06, 2016, 09:04:22 AM
I'm thinking that maybe can could get a dynamic banner, based on data of current conditions (block "current") of each station.
In this way we would not be dependent on other external sources  :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 09:22:10 AM
I'm thinking that maybe can could get a dynamic banner, based on data of current conditions (block "current") of each station.
In this way we would not be dependent on other external sources  :roll:

Yes, that would of course be ideal, but I explained some time ago why there is no way you can do this.

The interactive banner doesn´t look at temperature, humidity etc. The main parameter is something like "cloudy", "partly cloudy", "heavy rain", "snowing" etc. There is no way you can get this just from the numbers. Weather Display has some sort of a guess, but first of all not everyone uses WD and second, this is really just a very rough estimate.

There is no way you could:
- differentiate accurately between snow/rain
- differentiate things such as cloudy/partly cloudy/mostly cloudy
- people with no solar sensor would not even be able to tell if it is sunny or overcast - likewise, at night it would be impossible for everyone

So the banner has to use external data to get the current conditions.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 06, 2016, 09:24:39 AM
Is there no way to use the nearest METAR ?
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on April 06, 2016, 09:40:13 AM
Is there no way to use the nearest METAR ?
I have to agree with that.
Even Yahoo uses the METAR data to generate the current conditions (CCN) for a lot of area's.
METAR specifies the CCN in detail   visibillity, cloud height, amount of precipitation, type of precipitation and more.
Already for years the METARs are used to have descriptive texts at the Saratoga- and Leuven-Templates

It was nice to use Yahoo as in one feed there was the CCN and a five day forecast. As long as the "0Ath" problems are not clarified, I will not use Yahoo and advised all user to switch back to METAR.

One negative point: The airports are not always located close enough to be used for all weather-values.

This is the source for processing a textual METAR: http://weather-template.nl/weather28/metar/wsMetarTxt.php?sce=view
Such a METAR is loaded from the NOAA site with this URL http://weather.noaa.gov/pub/data/observations/metar/stations/XXXX.TXT

A lot of thanks for the METAR processing as used in this script goes , as nearly always, to Ken True http://saratoga-weather.org/
Wim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 09:47:23 AM
Hi guys,

yes I completely agree and I would be much happier using METAR right from the beginning, but there is one fundamental problem... it has nothing to do with the technical side of things, I can easily make a script for it - in fact I dont even have to - Meteotemplate already has a page dedicated to METAR, where there is a code to decode the Metar string.

The main problem is - as you have even mentioned it yourself Wim - the data availability. And by that I mean the fact that there is not so many METAR stations and I know that people were complaining sometimes even about Yahoo being too far away from them. Not to mention my climate page, where I only had the METAR places in general.

The question therefore now is - do we want something probably more reliable (although the Yahoo thing works at the moment, just not in 100% cases) but probably much less accurate because of the distance, or is it better to use something which is not always available, but when is, is more accurate...

And this is a question I do not have an answer for and unfortunately there is no right and wrong. Making several versions of the header is not really something I am a big fan of
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on April 06, 2016, 09:54:32 AM
Hi guys,

yes I completely agree and I would be much happier using METAR right from the beginning, but there is one fundamental problem... it has nothing to do with the technical side of things, I can easily make a script for it - in fact I dont even have to - Meteotemplate already has a page dedicated to METAR, where there is a code to decode the Metar string.

The main problem is - as you have even mentioned it yourself Wim - the data availability. And by that I mean the fact that there is not so many METAR stations and I know that people were complaining sometimes even about Yahoo being too far away from them. Not to mention my climate page, where I only had the METAR places in general.

The question therefore now is - do we want something probably more reliable (although the Yahoo thing works at the moment, just not in 100% cases) but probably much less accurate because of the distance, or is it better to use something which is not always available, but when is, is more accurate...

And this is a question I do not have an answer for and unfortunately there is no right and wrong. Making several versions of the header is not really something I am a big fan of
I use a setting for that in Leuven-Template.  Users choose which CCN source will be used, either WD, Yahoo or METAR.

My "weather in nice cities" comes in two flavors Yahoo and METAR.
A few users ran  both, just to check the differences, almost identical for all parts of Europe, Yahoo sometimes lags a little behind, but that can be caused by Yahoo caching the METAR data and my script then caching Yahoo data.

So I wonder in which area's Yahoo has better CCN compared to METAR.

And there is always WU which also supplies current conditions, although I never displayed them so far.

Wim
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 06, 2016, 09:58:45 AM
I'm almost sure the conditions from yahoo are also extracted from metars ... or do you think they have an observer in every town ?
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 06, 2016, 10:02:40 AM
It's a bit of a tricky one, this.
The Metar idea is quite good, I guess you can incorporate some of the users station data in it.. ie; if X amount of rain falls in X amount of time, override Metar with drizzle banner/rain banner etc..

I'm quite happy with how Yahoo works at the moment as it has been updating all the conditions much better lately. The only thing that does set it back somewhat, is how CPU intensive it becomes when the banner turns animated.
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 06, 2016, 10:03:00 AM
Quote
There is no way you could:
- differentiate accurately between snow/rain
- differentiate things such as cloudy/partly cloudy/mostly cloudy
- people with no solar sensor would not even be able to tell if it is sunny or overcast - likewise, at night it would be impossible for everyone

    http://www.meteoelche.com/download.php (http://www.meteoelche.com/download.php)

  Download: http://www.meteoelche.com/meteoActual.rar (http://www.meteoelche.com/meteoActual.rar)

With a slight modification, you can be obtained certainly accurate images:

   http://kocher.es/curweat.php (http://kocher.es/curweat.php)
   http://kocher.es/curbannerweat.php (http://kocher.es/curbannerweat.php)

This is intended for users of Davis stations; but, really, it gets data from wind, temperature, dew point and rainfall.
Similarly, it could perhaps be done with the template, obtaining data from the database.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:05:33 AM
I think Yahoo uses metars, but it interpolates them, in other words it combines several nearby metars. Because I noticed it is not always the same.

This seems to be a never ending problem - I remember that the original banner actually used World Weather Online, many people complained saying it is not accurate for their location. So I changed it to Yahoo (looking back it was a wise choice, given WWO is 540USD/yr since beginning of April for new users...). And I did get a few emails about the original WWO banner being more accurate.

The most accurate forecast in general as well as great availablility and data consistency is yrNo. No doubt about that at least in my opinion. The only problem is that unfortunately yrNo only provides forecast, not current conditions.

The main problem is that the banner is something people see all the time and especially with precipitation I often got questions why the banner was/was not showing rain when it was/ was not raining etc. I was therefore considering using data from the rain gauge for this, but then there is the problem with rain/snow, most people dont have heated rain gauge so snow is not detected. And also, sometimes it can be just a very light drizzle, very difficult to detect with the rain gauge and I also don´t know how I would then do it. Like take the rain from last 30 minutes? But then there would still be 30 minutes delay before the bucket tips and then possibility of showing rain long after it has stopped and in some cases it is drizzeling so lightly I still have 0 on my station.

Wind is easy and in fact the current banner already uses wind speed from station data. So the main problem really is the "condition". WU is something I want to avoid at all costs (I think the reasons are quite obvious...).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:07:40 AM

Quote
intended for users of Davis stations

so unusable.... plus this only works during the day, there is no way any station can differentiate between for example overcast and clear sky at night
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 06, 2016, 10:10:06 AM

Quote
intended for users of Davis stations

so unusable.... plus this only works during the day, there is no way any station can differentiate between for example overcast and clear sky at night

This script  detect perfectly the conditions of day and night and, of course, the rain, snow... day and night  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 06, 2016, 10:11:47 AM
I've been using curconditions.php for Cumulus - http://sandaysoft.com/forum/viewtopic.php?f=14&t=12831

That's been spot on at knowing the difference between drizzle/rain. Might be worth looking at to get an idea. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:13:26 AM
It's a bit of a tricky one, this.
The Metar idea is quite good, I guess you can incorporate some of the users station data in it.. ie; if X amount of rain falls in X amount of time, override Metar with drizzle banner/rain banner etc..

I'm quite happy with how Yahoo works at the moment as it has been updating all the conditions much better lately. The only thing that does set it back somewhat, is how CPU intensive it becomes when the banner turns animated.

Yes I am aware of that CPU problem. In fact I was planning to change the banner completely. I was not able to find any usable scripts though that would be able to generate the drops and also their intensity etc.

This was in fact the first script I ever made and I even released it like a yr ago, long before Meteotemplate was created. It was originally created for my own webpage and it worked fine because I live in a large city with 2 professional stations nearby. I also did not realize the problems with the way this is programmed, I see it now, the reason why it sometimes gets so CPU demanding is that to create heavier rain, it overlays several "rain divs" on top of each other, each generating the droplets.

I guess this need a completely new script, not just data source, but also the actual code. But I havent figured out yet what would be the best option. The rain/snow etc. will always rely on some Javascript, the data source is obviously a problem and taking data from db likewise, even the rain would be a problem. Because I would have to decide on some interval and amount to be used as a threshold value and I have users who have several thousands of mm of rain each yr and users with less than 50/yr. And also the station accuracy is quite variable, Davis I guess is ok, but for example my station really sucks at this. I know that often it rains, the banner shows rain because it is taken from Yahoo and in the evening I check my station and it says 0, simply because it was not enough for the bucket to tip or because for some other reason it just wasnt detected.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:17:48 AM
This one is quite nice:
http://codecanyon.net/item/jquery-rain-and-snow/full_screen_preview/6252872

But it isnt for free.

Another option would be using just static bg images to show rain, snow etc.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 06, 2016, 10:21:05 AM
This one is quite nice:
http://codecanyon.net/item/jquery-rain-and-snow/full_screen_preview/6252872

But it isnt for free.

Another option would be using just static bg images to show rain, snow etc.

How much is it? And if you owned it for example, can you allow it to be used by other people?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:22:13 AM
This is exactly the problem Tina, it is 6USD, but even if I bought it it is always a license for one user obviously...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:25:11 AM
Combining station data with external data is also dangerous....

imagine for example a place such as the UK, where there are often strong winds and I remember very well from Edinburgh how quickly the conditions can change. So if for example I used the cloud cover from external source and precipitation from rain gauge, I might end up with a "sunny" and rain drops coming from the sky. If you use one source, there could be a delay, but at least it would be consistent.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 06, 2016, 10:29:26 AM
Snow and Clouds.. lol

http://codepen.io/montanaflynn/pen/orxwK
http://codepen.io/NickyCDK/pen/AIonk
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 06, 2016, 10:31:16 AM
 :shock: =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:40:47 AM
Thanks Tina,
I will have a look at it later, I cant right now, our work firewall blocks everything from codepan.

Though I am more and more thinking about making this like a little Javascript exercise and writing the code entirely myself from scratch. I know much more than I did yr ago, but I still have a much better knowledge of PHP than JS so at least I will learn something :D But I cannot promise it will be as nice as it is now, if I will be able to make it at all in the first place :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 10:50:03 AM
OK I found an alternative link for the clouds, but that is also not usable.
1. I find it a bit too distracting
2. does not work in IE at all
3. hard to tell difference between partly cloudy, mostly cloudy, overcast etc

I will see if I can make something myself.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 06, 2016, 11:00:34 AM

Jachym

I'm not referring to the plugins. Most of the value in my site are the timelapses.

I need those visible but don't want them in the homepage blocks.

It's ok. Happy to fiddle

I've built a custom folder structure under mobile similar to the desktop version and adapted the menu. Easy-peasy. Took me 20 minutes to do.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 06, 2016, 01:58:39 PM
I'm getting confused, playing with the multiple block feature and have somewhat strange results. Blocks are slightly different widths and some have vertical spacing between the rows and other don't??

http://www.sanfordweather.com/meteo/indexDesktopTest.php (http://www.sanfordweather.com/meteo/indexDesktopTest.php)

Here's the bits from my IndexDesktopTest file:
Code: [Select]
    // Multiple Block Layout!
    $columnWidths = array(100); // this will create just a one-column homepage, where every block will occupy the full width of the homepage
    $column1 = array("warningsCA",
        "multipleBlock(greetings,33;clockDigital,34;payPal,33)",
        "gauges",
        "multipleBlock(stationData,25;ecForecast,50;riset,25)",
        "interactiveGraph",
        "radarCA",
        "multipleBlock(rain,33;co2,34;weatherNetworks,33)",
        "multipleBlock(summary,60;meteogram,40)",
        "multipleBlock(forecast,50);worldWeather,50)",
        "multipleBlock(uvForecast,33;dbinfo,34;ozoneForecast,33)"
               
        );
    #### NOTE: place a comma (,) after the last line entry before adding a new line - i.e. "yowindow","newBlock"
    #### NOTE: the ); must be after the last entry - i.e. "yowindows" - and spaces and extra blank lines are permitted
    $columns = array($column1);

Ideas?

Oops, found the updated style.php file but it only corrected the width issue I was seeing, not the vertical spacing?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 02:45:08 PM
I'm getting confused, playing with the multiple block feature and have somewhat strange results. Blocks are slightly different widths and some have vertical spacing between the rows and other don't??

http://www.sanfordweather.com/meteo/indexDesktopTest.php (http://www.sanfordweather.com/meteo/indexDesktopTest.php)

Here's the bits from my IndexDesktopTest file:
Code: [Select]
    // Multiple Block Layout!
    $columnWidths = array(100); // this will create just a one-column homepage, where every block will occupy the full width of the homepage
    $column1 = array("warningsCA",
        "multipleBlock(greetings,33;clockDigital,34;payPal,33)",
        "gauges",
        "multipleBlock(stationData,25;ecForecast,50;riset,25)",
        "interactiveGraph",
        "radarCA",
        "multipleBlock(rain,33;co2,34;weatherNetworks,33)",
        "multipleBlock(summary,60;meteogram,40)",
        "multipleBlock(forecast,50);worldWeather,50)",
        "multipleBlock(uvForecast,33;dbinfo,34;ozoneForecast,33)"
               
        );
    #### NOTE: place a comma (,) after the last line entry before adding a new line - i.e. "yowindow","newBlock"
    #### NOTE: the ); must be after the last entry - i.e. "yowindows" - and spaces and extra blank lines are permitted
    $columns = array($column1);

Ideas?

Oops, found the updated style.php file but it only corrected the width issue I was seeing, not the vertical spacing?

Your code seems ok, not sure why it is doing this, either way, try deleting the "margin-bottom:10px" in
homepage/css/style
line 115 and 139
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 06, 2016, 02:46:37 PM
With regards to the banner, the problem is solved.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 06, 2016, 03:21:08 PM
I'm getting confused, playing with the multiple block feature and have somewhat strange results. Blocks are slightly different widths and some have vertical spacing between the rows and other don't??

http://www.sanfordweather.com/meteo/indexDesktopTest.php (http://www.sanfordweather.com/meteo/indexDesktopTest.php)

Here's the bits from my IndexDesktopTest file:
Code: [Select]
    // Multiple Block Layout!
    $columnWidths = array(100); // this will create just a one-column homepage, where every block will occupy the full width of the homepage
    $column1 = array("warningsCA",
        "multipleBlock(greetings,33;clockDigital,34;payPal,33)",
        "gauges",
        "multipleBlock(stationData,25;ecForecast,50;riset,25)",
        "interactiveGraph",
        "radarCA",
        "multipleBlock(rain,33;co2,34;weatherNetworks,33)",
        "multipleBlock(summary,60;meteogram,40)",
        "multipleBlock(forecast,50);worldWeather,50)",
        "multipleBlock(uvForecast,33;dbinfo,34;ozoneForecast,33)"
               
        );
    #### NOTE: place a comma (,) after the last line entry before adding a new line - i.e. "yowindow","newBlock"
    #### NOTE: the ); must be after the last entry - i.e. "yowindows" - and spaces and extra blank lines are permitted
    $columns = array($column1);

Ideas?

Oops, found the updated style.php file but it only corrected the width issue I was seeing, not the vertical spacing?

Your code seems ok, not sure why it is doing this, either way, try deleting the "margin-bottom:10px" in
homepage/css/style
line 115 and 139

Now the spacing is all the same!  Note That Paul's test site a couple pages back shows the same symptoms!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 07, 2016, 02:55:41 PM
Hey all!

Any thought to a clock for hurricane season?  Something that shows active hurricanes, stats and tracks?

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 07, 2016, 05:31:52 PM
Hi Jeff,
yes I am aware of this, obviously this is not relevant to us (lucky ones) in Europe, but I do know this is very important for the US.

The only problem is that if I remember correctly, the NWS page shows something like "the hurricane season starts on....".

The problem is that I cannot start developing the plugin/block until there is some data available, so that I can see the actual structure of the data and ways it could be used. Once it is developed it can be used in the future and disabled when it is out of season, but until I get a chance to see the actual outputs, I cant start. Im not sure when the season starts, but once it does I will do this ASAP.

Btw. did you guys know mangoes last much longer than kiwis, which actually go bad pretty quick?
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 07, 2016, 05:40:48 PM
Btw. did you guys know mangoes last much longer than kiwis, which actually go bad pretty quick?

 :lol:

Is it almost time to visit the grocery store to pick up some more fruit?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 07, 2016, 05:49:38 PM
Yeah, I think a truck full of fresh ###censored### is on its way.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 07, 2016, 08:27:18 PM
Atlantic Hurricane season officially starts June 1st.

Can you pull any useful info from the National Hurricane Center (NHC's) RSS feeds?

http://www.nhc.noaa.gov/aboutrss.shtml (http://www.nhc.noaa.gov/aboutrss.shtml)

There were archived samples from last year.....
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 09, 2016, 08:11:16 AM
Hi Jachym (and everyone else!)

I wonder what your thoughts are on inserting missing data, after an internet connectivity outage.

Obviously you could use the data import scripts to insert missing records.
However there is a mismatch in that the data logs are with minute intervals and the DB has been 'reformatted' to 5 minute intervals for query performance reasons.

A few options I see:


Any thoughts? The Excel route is probably what I will do as outages are fairly rare and usually casued by a strange issue I have (topic for another post) with the weather PC rather than an ISP issue.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 08:53:26 AM
I see

Thinking about it the easiest option would be an alternative reformat.php, where it was possible to set time span for the conversion, so you would first import the data to the db normally and then select to reformat just the time interval you want
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 09, 2016, 09:06:13 AM
I see

Thinking about it the easiest option would be an alternative reformat.php, where it was possible to set time span for the conversion, so you would first import the data to the db normally and then select to reformat just the time interval you want

Yes that would be optimal but does require work on your side  :grin:
Obviously the existing reformat.php creates a new table, would need to factor in updating the existing with the associated logic which could be tricky.
Clearly you can put a WHERE clause on the SQL SELECT statement to filter the date range but then you need to think about inserting them (as not to duplicate one of the minute records with the new 5 min record) and also then need to delete the minute records.
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on April 09, 2016, 11:00:35 AM
Btw. did you guys know mangoes last much longer than kiwis, which actually go bad pretty quick?

 :lol:

Is it almost time to visit the grocery store to pick up some more fruit?

I think your right, the kiwis may be getting overripe already :D

Although all the fruit has been great so far, nothing like fresh fruit to quench the appetite.
Title: Meteotemplate 6.0 Blueberry! Major update!
Post by: Jáchym on April 09, 2016, 12:22:06 PM
(http://i67.tinypic.com/j67w9l.png)
Hi guys,

you have probably noticed there has not been much new stuff recently. This is because version 5 did not have all the features I originally planned and some of the new stuff in this version affects all the files and blocks so I did not want to release any new stuff before this is finished.

Let me introduce to you a brand new major update – Meteotemplate 6.0 Blueberry!

What is new?

Well… a lot. And most importantly, most of the changes are now done all automatically, so update should be very simple. The update has lot of changes in the backend which you probably will not even notice, but will substantially improve the user experience and speed. This update is especially for YOU – the webmaster – many more options for customization as well as much easier administration!

Here is a brief list of new things:

- setup.php – all template setup (ie. the config) is now done using a graphical user interface! This has many advantages: reduced potential for making errors, much easier editing and direct realtime previews of changes and also very important – for me the possibility to make modifications to config, i.e. changes that affect the template globally – without you having to setup everything again! How this is done is explained in the updated wiki and also in the instructions for update below.
- new mechanism for block updates – there is now a page which will automatically detect your block versions and compare them with the latest ones available by checking at Meteotemplate.com automatically. You will immediately see if there are any new versions for any of your installed blocks. Just install a new block and it will appear here (again, more info below).
- block setup also now done from one global page using graphical user interface
- new interactive banner – although it looks the same, it has several major changes – it no longer uses unreliable and slow Yahoo. Instead, it will use your own station data together with information from the nearest METAR you specify. Also, I have completely replaced the original code for the banner, which used some libraries I found back when I was still just getting to know the first bits of JS and PHP. The new code I wrote is 80% less CPU intensive, most part is done using PHP, not JS, so in the HTML it will be about 75% shorter, and it is much faster and reliable because it no longer relies on Yahoo or WWO.

This update is also a lot about customization, the new setup allows me to add things to the config and thus change the things in the template as a whole. Here are some newly added features (all setup using live previews and graphical user interface inside setup.php)

- customizable top banner title
- customizable top banner subtitle
- customizable left image in the top banner – choose if you want to automatically use your country flag (just like until now) or specify custom image URL
- customizable page background (one color, custom linear or radial gradients, or custom picture, all with live preview)
- customizable page width
- menu can now be set to either the way it was now, or as “sticky” – will remain on top, once the user starts scrolling down the page
- customizable block borders, border widths, border radius and 3D effect
- optional: all headings with shadows, all body text with shadows
- globally increase/decrease template font size and graphs font size
- “debug mode” – in case something goes wrong you can activate this, which will then help me as a developer in trying to diagnose what is wrong with your template without having to ask you for FTP access or any further changes
- customizable text in the footer – autoinsert date, time, date and time or custom text
- customizable menu slidedown/slideup speed (I have also fixed the bug where the menu closed when you tried to hover over it too fast)
- customizable top banner image – use the interactive banner, or specify URL for your custom image file
- CSS tweaks – the multiple blocks should now align much better and symmetrically, also some minor problems in the “light” theme were corrected
- optimization of all icons and images – the update package is quite large because it contains all the images and icons – but overall they are smaller, so once you replace the original ones, they will take up less space and load faster

More info and update instructions in the blog:
http://meteotemplate.com/blog/?p=528
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 12:33:00 PM
This update makes lot of changes in the backend, which you wont see.

Although it has been tested independently on 4 servers, please if you have successfully updated, let me know to confirm it works :)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on April 09, 2016, 01:02:35 PM
Updated on my site without issue and its looking great!

Now to play around with all the configuration options and settings.

Thanks for all the new features in Blueberry Jachym it very much appreciated.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 01:05:32 PM
Great :-)

Btw. now I can again concentrate on new blocks and updates, I have been working on this new version exclusively for the past few weeks, so there will definitely not be any new version in the near future, but rather more blocks and plugins. I did not want to develop anything because now all the newly released stuff can already be in the format necessary for this new version :-)
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 09, 2016, 02:20:17 PM
Blueberry working great for me too.
Awesome work as always.

Quick question. For the forecast block what should I put as the defaultForecast if I want to use YrNo? Tried yrno but didn't like that. Using wu for now, really must get WXSim running again.

One more question, do you ever have time for the other fun stuff in life? Heck do you even have time to eat or sleep?  :-)
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 09, 2016, 02:25:34 PM
Please...stop the insanity!!!  :lol:  I installed MeteoTemplate V4.1 over the Easter weekend as a new site, just to have it go immediately obsolete when V5.0 came out.  Now, I just finished upgrading to V6.0 - all in the course of two weeks.

Anyway, I have not performed the block modifications step yet, but everything else appears to be working and I generated a new config file from the setup.php file.  A few questions/comments:

1) The METAR input box in setup.php is too small for 4-character entries.

2) Is the metarchecker.com link included in #1 is blowing chunks for anyone else?  (SQLSTATE error)

3) Am I the only person missing my admin section lock link from the footer?

I'm going back to check my work and do the block mods now.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 02:25:44 PM
Sorry, it should be in the documentation..... use "yrNo"

Code: [Select]
One more question, do you ever have time for the other fun stuff in life? Heck do you even have time to eat or sleep?
Occassionally I do sleep :D

But I must say I do this all from my own initiative, its not like I spend 99% of my free time doing this because "I have to" - which is the great thing about it.

I am not really into art, so I never really enjoyed visiting museums, going to concerts, watching movies, looking at historical sites (I am by no means suggesting this is good, its just the way I am)... I like biking and in the past I also did macrophotography, but then my camera broke so I found a different hobby :D And there are a very few movies that I did enjoy watching, my alltime favorite is Forest Gump and Star Wars, and just 5 days ago, I felt a bit sick so instead of working on Meteotemplate after coming back home after work, I watched the new episode VII, which I havent seen yet and I must say I really enjoyed it (except for one scene, but definitely better than all the prequels)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 02:32:13 PM
Please...stop the insanity!!!  :lol:  I installed MeteoTemplate V4.1 over the Easter weekend as a new site, just to have it go immediately obsolete when V5.0 came out.  Now, I just finished upgrading to V6.0 - all in the course of two weeks.

Anyway, I have not performed the block modifications step yet, but everything else appears to be working and I generated a new config file from the setup.php file.  A few questions/comments:

1) The METAR input box in setup.php is too small for 4-character entries.

2) Is the metarchecker.com link included in #1 is blowing chunks for anyone else?  (SQLSTATE error)

3) Am I the only person missing my admin section lock link from the footer?

I'm going back to check my work and do the block mods now.....

Hi,
yes I know, but I explained this earlier. When I was working on version 5, I had sort of an idea of what I want to be included. The problem was that some of these things were things people were asking for repeatedly here on the forum - the mobile version and the multiple blocks. I knew that I wont be able to finish this other stuff very soon, so rather than having people ask again, I changed my mind and I released just the first part of what I wanted as version 5 and since then, have only been working on finishing this other stuff which is now version 6.

but right now I can again focus on blocks and plugins. It will also be much easier for you to manage block updates and this requires some changes in the way I create these blocks so I didnt want to release any new blocks in the old format and instead released this new version ASAP. There will definitely not be version 7 any time soon, you can trust me on that :D

Now to your questions:
1. weird, I checked and it looks good for me in Chrome, IE and FF
2. yes, it is, I dont know why, their server is obviously not working. In this case simply use some alternative site where you can browse metar station, if this problem persists, I will change the link in the setup file, but it is really just to point you to a place where you can find out the metar, many other sites have that information too
3. this is strange, because under normal circumstances it should never disappear. There isnt any option anywhere in the template to disable this.
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 09, 2016, 02:50:13 PM
Thanks, should of course checked forecastBlock.php for the expected values, didn't think!
(or of course in the new Block setup interface, very nice!)

I was so excited by Ep VII and then never went to see it, oops.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 02:58:59 PM
here is one: http://en.allmetsat.com/metar-taf/

Paul: Yes, this really is one of the very few movies I enjoyed and was looking forward to a lot. I didnt get a chance to go see it over Christmas, cinema is not cheapest here and also, my friends wanted to go to see it in 3D and in Czech and I wear glasses and have a vision disability which means I dont see the 3D effect and instead see it as a blurry thing, so I wont enjoy it at all.
So I waited until it is out now and watched it at home in 2D and in the original version in English :D I highly recommend it ;) Maybe I could sometime in the future make a special "Star Wars Meteotemplate" design theme :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 09, 2016, 03:19:29 PM
Updating my site, rather the off-line version first but have a dumb question!

I've made multiple copies of a couple blocks with slightly different names ie radarUS and radarUSH so that I can get us either horizontal or vertical layout on different index files.

Do I just make a copy of the radarUSConfig.txt file as radarUSHConfig.txt or do I have to edit the txt files also?

Thanks

Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 09, 2016, 04:16:44 PM
1. weird, I checked and it looks good for me in Chrome, IE and FF

I probably should have been more clear.  The textbox accepts 4+ characters, but does not display them without scrolling left/right:

(http://i791.photobucket.com/albums/yy193/vreihen/metar-set_zpsa1n0sp8l.png)

I also just noticed the highlighted typo.  No big deal since everyone should only have to use the page once, but it confused me for a second when I was checking the imported values from my old config file.

Quote
2. yes, it is, I dont know why, their server is obviously not working. In this case simply use some alternative site where you can browse metar station, if this problem persists, I will change the link in the setup file, but it is really just to point you to a place where you can find out the metar, many other sites have that information too

I know what my local METAR stations are, but was not sure if you were expecting 3 or 4 character codes.  (Hence, #1 above leaving me wondering even more at first.)  Many of our airports have ASOS weather stations and are sometimes referenced by their 3-letter FAA/IATA codes and not 4-letter ICAO codes.
 
Quote
3. this is strange, because under normal circumstances it should never disappear. There isnt any option anywhere in the template to disable this.

I found them...hiding off the right side of the screen!  (One of the annoyances of a Mac is that they hide scrollbars when you really need them.)  The page looked totally normal on the screen, but the new "Custom Page Width" and its default setting of 1600px didn't work well on my tiny 1366x768 MacBook Air screen.  (The space to the right was just a black background on the blocks section, but the footer stretched over the entire 1600px.)  I changed that setting to 100%, and everything is back to 5.0 behavior.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 04:20:33 PM
Great :-)

I will correct the typo, but that really isnt a big deal.

With regards to the input size, this is probably also something to do with Safari, unfortunately I cannot test this browser, though it is strange that all the other ones display this normally. The input box should be exactly 4 characters wide and also the validation for that field will only accept 4letter code
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 09, 2016, 04:25:49 PM
Updated mine and love the new back end interface.  Also seems to be running quicker and smoother.  Love the ability to make some adjustments quickly to the GUI.  As always thanks!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 04:38:56 PM
Yes, it should run faster because of several things:
- icons/images - all optimized, there were some unnecessarily big icon files, which are always shown only very small so I reduced it
- more importantly however, it was the interactive banner that slowed it all down, especially in the recent few weeks. This is because it was getting data from Yahoo and then further processing it. On average this took 6.2s (I tested it). Now the new banner uses your database and NWS Metar, and the average time is down to 0.54s. And also, since Yahoo was having problems recently, the way the banner was done is that if no forecast was available from Yahoo, it did not cache anything and next time it tried to load it again. So whenever Yahoo was completely down or at least its APi (majority of cases recently), it tried to load new forecast every time you viewed the site. Now it caches it for 30 mins.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 09, 2016, 05:36:22 PM
With regards to the input size, this is probably also something to do with Safari, unfortunately I cannot test this browser, though it is strange that all the other ones display this normally. The input box should be exactly 4 characters wide and also the validation for that field will only accept 4letter code

FWIW, I am using Chrome.  Safari did the exact same thing.  I think it has something to do with the font size or proportional spacing, since I can type "iiii" and it fits fine.

I just found another minor issue in the new blockSetup.php function.  "moonPhase" is showing V1.1 as installed on my site, but 1.0 as the latest version.....
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 09, 2016, 05:45:24 PM
Jachym,

I have updated to Blueberry and I can't get the WU forecast to work or the webcam image.  Help!

Jay
http://www.jayswoodfurniture.com/meteo/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 05:51:33 PM
Jay, try downloading the updated block files from meteotemplate, I think there might be some problem with the new set up, let me know if it helped.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 09, 2016, 05:54:17 PM
Jachym,

I downloaded and updated all blocks when I updated the template.  They are all new.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 05:59:04 PM
With regards to the input size, this is probably also something to do with Safari, unfortunately I cannot test this browser, though it is strange that all the other ones display this normally. The input box should be exactly 4 characters wide and also the validation for that field will only accept 4letter code

FWIW, I am using Chrome.  Safari did the exact same thing.  I think it has something to do with the font size or proportional spacing, since I can type "iiii" and it fits fine.

I just found another minor issue in the new blockSetup.php function.  "moonPhase" is showing V1.1 as installed on my site, but 1.0 as the latest version.....

Thanks, it should now be fixed.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 09, 2016, 06:14:24 PM
Wow! I've not been about today- thought i'd pop on and have a look here, and I see we have some new vitamin C and antioxidants?! :D

Fantastic work once again Jachym, you never fail to amaze me on your work. I'll be updating on the lazy Sunday afternoon. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 06:20:57 PM
Wow! I've not been about today- thought i'd pop on and have a look here, and I see we have some new vitamin C and antioxidants?! :D

Fantastic work once again Jachym, you never fail to amaze me on your work. I'll be updating on the lazy Sunday afternoon. :)

Thanks Tina :)
Ive been waiting to hear from you as Im sure that if there is a bug somewhere, you will find it ;) (which is of course meant in a positive way, Im also a perfectionist ;)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 09, 2016, 07:04:36 PM
Running the new config script and ran into a problem I don't use Google Analytics so what do I put for the GA code?  Blank doesn't work neither does 0!

Bill

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 09, 2016, 07:07:39 PM
Hi Bill,
yes this is the only bug I found so far, I will fix it tomorrow.

What you can do for now is simply enter some random stuff, it wont have any effect than. Just make sure it starts with UA-........

Eg: UA-123456
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 09, 2016, 07:14:16 PM
OK, THanks!
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 09, 2016, 08:52:57 PM
Jachym,
Just updated and is running fine.  Sure runs quicker. 
It was easy to update and I really like the setup page.
Thanks for all your work. It's hard to keep up with you.
Thanks again.
Tom
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 10, 2016, 01:15:43 AM
I have all the blocks changed and everything uploaded (new install, but using various modified files from v.5.0, plugins, updated menu) but get stuck in the setup as haven't figured what I need to put in the MySQL section to get past the MySQL database "Test connection".  I've tried the normal FTP login as well as my DB login but these are shown as incorrect.  Will have to leave it until the morning when my head is clear...

Paul
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 10, 2016, 03:14:56 AM
I installed the new version Meteotemplate 6.0 Blueberry   =D&gt;

I thought it was a great improvement the graphical interface for configuring template.  :grin:

Small problems:
- I can not change Color1 or Color 2, despite doing and save the change, previous settings remains; that is, these changes are not saved
- The new banner indicates that it is raining, despite having a sunny day.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 03:51:24 AM
I installed the new version Meteotemplate 6.0 Blueberry   =D&gt;

I thought it was a great improvement the graphical interface for configuring template.  :grin:

Small problems:
- I can not change Color1 or Color 2, despite doing and save the change, previous settings remains; that is, these changes are not saved
- The new banner indicates that it is raining, despite having a sunny day.

Hi javier,

Colors probably don't change due to caching,  hold the refresh button longer.  I am not sure why your banner is showing nonsense.  Check what the metar reports for the place you selected,  there are sites on the Internet where you just put the code and it decodes the current one.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 03:52:56 AM
I have all the blocks changed and everything uploaded (new install, but using various modified files from v.5.0, plugins, updated menu) but get stuck in the setup as haven't figured what I need to put in the MySQL section to get past the MySQL database "Test connection".  I've tried the normal FTP login as well as my DB login but these are shown as incorrect.  Will have to leave it until the morning when my head is clear...

Paul

I will check it as soon as I come back from work and will be on my laptop
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 10, 2016, 07:01:04 AM
Jachym

I have upgraded to 6.0 with no issues except for the forecastBlock update.

I am now getting the error

If I look at the wu.txt it looks like this

Code: [Select]
"error": {
"type": "invalidformat"

,"description": "you must supply a valid output format"

The settings are exactly as is in the original forecastBlock.

The other sources work fine

Simon
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 10, 2016, 07:06:47 AM
Thanks for the BlueBerry Jachym I've updated it and no problems found , one thing I'm not very sure about but the banner gives thunderstorms and there are no thunderstorms at all atm in my country
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 09:15:58 AM
OK, so far so good, looks like the update is working, I did receive several emails with problems, but it was always just either a misunderstandning of the instructions or some other problem not related to the update as such.

The only problem I found so far (and should be fixed already) was the GA code. It required you to input the Google Analytics code and didnt let you validate the setup without it. You could enter some random text, it would then simply do nothing, but it was confusing and should now be ok.

With regards to the banner:
I noticed some smaller airports/stations sometimes report very outdated data or incorrect METAR format. What you can do is go to your METAR section in the template and have a look at what the conditions reported by that particular station are at that moment. The banner uses the exact same script, it in fact loads the data from this METAR, so you would see the same thing.

If you notice that the data is regularly incorrect, then I suggest trying some bigger city or station nearby.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 10, 2016, 09:35:10 AM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

See http://www.sanfordweather.com/meteo/

At least that's how it shows in Firefox!
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 10, 2016, 09:43:51 AM
 :shock:

first attempt full install not and update...

filled up the /install/setup and voila

now trying another fresh dload and upload in another directory :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 09:45:46 AM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

See http://www.sanfordweather.com/meteo/

At least that's how it shows in Firefox!

Looks good to me, try holding down the refresh button for slightly longer, it could be just CSS pulled from cache
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 10, 2016, 09:46:02 AM
Hi Jachym I noticed on my tablet (Nexus 10) that gauges are displayed very huge by default it seems also to happen on very much used devices from Apple ( iPad ) attached screnshot , any clues how this can be fixed ? As there are a lot iPad users (don't know how it behaves on iPhone)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 09:46:50 AM
:shock:

first attempt full install not and update...

filled up the /install/setup and voila

now trying another fresh dload and upload in another directory :roll:

Hi Carl,

sorry I dont really get your post, or rather dont understand if it is working or not and if not, what the problem was.
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 10, 2016, 09:48:31 AM
sorry i forgot to post the link  ](*,)

it wont work

http://www.meteolacstjean.com/hebertville/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 09:49:37 AM
Hi Jachym I noticed on my tablet (Nexus 10) that gauges are displayed very huge by default it seems also to happen on very much used devices from Apple ( iPad ) attached screnshot , any clues how this can be fixed ? As there are a lot iPad users (don't know how it behaves on iPhone)

Yes I know this and it is probably the only one thing right now that I just cant get my head around. It seems like it never affects FF and usually happens in Chrome, but the weird thing is that it seems to be totally random, it sometimes does happen, sometimes not. If I refresh the page it will occur on about 50% cases. And it only happens on some websites, not all. My for example where I run the demo, never does it.

And also looking at the code, I really dont see why it is not resizing the gauges correctly, if you click the zoom-in or zoom-out icon it gets back to normal, but those buttons use the exact same function as the initial loading one, which should shrink the gauges to fit the block.

This is something Im still (so far unsuccessfully) trying to solve, but it is as I said very difficult because I am unable to replicate the problem on my side and it happens completely randomly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 09:51:03 AM
sorry i forgot to post the link  ](*,)

it wont work

http://www.meteolacstjean.com/hebertville/indexDesktop.php

OK I see.. it is incorrectly set path.

You need:
path = "/hebertville/"
pageURL = "http://www.meteolacstjean.com"

Make sure you have this
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 10, 2016, 09:53:58 AM
 #-o

perfect  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 09:57:04 AM
Hi Jachym I noticed on my tablet (Nexus 10) that gauges are displayed very huge by default it seems also to happen on very much used devices from Apple ( iPad ) attached screnshot , any clues how this can be fixed ? As there are a lot iPad users (don't know how it behaves on iPhone)

OK, "good news"...

Your page seems to be doing this all the time, which is "good" because I can look at what exactly is going on and I think I know already. It seems to be a problem with XMLHttp request and that would explain it. Right now I think it is because on slower servers, it does not load jQuery fast enough and so it does not resize the gauges.

In other words, it loads the gauges before loading jQuery, this results in it not resizing and then it later loads jQuery, so when you try resizing it using the icons, it works. And it works on faster servers, because it loads jQuery in time and also explains why it sometimes does work and sometimes not - current server load.

So the solution should be trying to somehow force the gauges to only run the resize after jQuery is loaded. I will work on it.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 10, 2016, 10:03:11 AM
Hi Jachym I noticed on my tablet (Nexus 10) that gauges are displayed very huge by default it seems also to happen on very much used devices from Apple ( iPad ) attached screnshot , any clues how this can be fixed ? As there are a lot iPad users (don't know how it behaves on iPhone)

OK, "good news"...

Your page seems to be doing this all the time, which is "good" because I can look at what exactly is going on and I think I know already. It seems to be a problem with XMLHttp request and that would explain it. Right now I think it is because on slower servers, it does not load jQuery fast enough and so it does not resize the gauges.

In other words, it loads the gauges before loading jQuery, this results in it not resizing and then it later loads jQuery, so when you try resizing it using the icons, it works. And it works on faster servers, because it loads jQuery in time and also explains why it sometimes does work and sometimes not - current server load.

So the solution should be trying to somehow force the gauges to only run the resize after jQuery is loaded. I will work on it.
That's great news I saw it too that this happens random, I did not get the huge gauges on online simulators that confused me too, well I wait for yor solution it's no hurry
thanks in advance
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 10, 2016, 10:04:18 AM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

See http://www.sanfordweather.com/meteo/ (http://www.sanfordweather.com/meteo/)

At least that's how it shows in Firefox!

Looks good to me, try holding down the refresh button for slightly longer, it could be just CSS pulled from cache

Nope that didn't do it, just looked on my Wife's computer with both Firefox and IE with same results!

Not a biggie as long as I remember to scroll to the left if I want to access the Admin pages!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 10:10:47 AM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

See http://www.sanfordweather.com/meteo/ (http://www.sanfordweather.com/meteo/)

At least that's how it shows in Firefox!

Looks good to me, try holding down the refresh button for slightly longer, it could be just CSS pulled from cache

Nope that didn't do it, just looked on my Wife's computer with both Firefox and IE with same results!

Not a biggie as long as I remember to scroll to the left if I want to access the Admin pages!

Weird... I will check again on Monday when Im on my office PC, I have all different types of browsers there including FF, Chrome, IE, Vivaldi, Safari, Opera, Yandex and Maxthon :D

Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 10, 2016, 10:17:14 AM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

See http://www.sanfordweather.com/meteo/ (http://www.sanfordweather.com/meteo/)

At least that's how it shows in Firefox!

Looks good to me, try holding down the refresh button for slightly longer, it could be just CSS pulled from cache

Nope that didn't do it, just looked on my Wife's computer with both Firefox and IE with same results!

Not a biggie as long as I remember to scroll to the left if I want to access the Admin pages!

Weird... I will check again on Monday when Im on my office PC, I have all different types of browsers there including FF, Chrome, IE, Vivaldi, Safari, Opera, Yandex and Maxthon :D

Just looked at it again and seems I had zoomed in one step in FF, as soon as I Reset the zoom level everything is good  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 10, 2016, 10:20:12 AM
I noticed with the banner that the two small airports by me have metar but not TAF. They won't work.  The two larger airports have TAF.  They work but both show clear and one shows cloudy on the banner and the other shows mostly cloudy.
The two small airports are KDXR and KOKX.  The two larger are KHPN and KPOU.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 10:38:36 AM
Ron I think with your help by providing me access to your FTP I fixed the gauges! Something that was puzzling me for quite some time. Now, unfortunately I do not have a possibility to check in a different browser right now, so if you or anyone else could check your site and see if the gauges now resize properly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 10:42:21 AM
I noticed with the banner that the two small airports by me have metar but not TAF. They won't work.  The two larger airports have TAF.  They work but both show clear and one shows cloudy on the banner and the other shows mostly cloudy.
The two small airports are KDXR and KOKX.  The two larger are KHPN and KPOU.
Tom

I see, you are absolutely right and I see the problem now... I used a function which only supports TAF...  ](*,) ](*,) ](*,)

Try this and let me know if it worked:
Go to your header.php and find line 67

Code: [Select]
$metarData = (getTafFromWWW ($ICAO));
there, change it to:

Code: [Select]
$metarData = (getMetarFromWWW ($ICAO));
This will get the METAR instead of TAF
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 10, 2016, 10:49:31 AM
Ron I think with your help by providing me access to your FTP I fixed the gauges! Something that was puzzling me for quite some time. Now, unfortunately I do not have a possibility to check in a different browser right now, so if you or anyone else could check your site and see if the gauges now resize properly.

Well I tried it on my windows phone (Edge) and my Nexus10 (Chrome) tablet its seems to work fine now great job  =D&gt; Hopefully somebody with an iPad can confirm this
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 10, 2016, 10:54:07 AM
Jachym,
I changed the code but it still won't work. 
Tom
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 10, 2016, 10:54:48 AM
I noticed with the banner that the two small airports by me have metar but not TAF. They won't work.  The two larger airports have TAF.  They work but both show clear and one shows cloudy on the banner and the other shows mostly cloudy.
The two small airports are KDXR and KOKX.  The two larger are KHPN and KPOU.
Tom

I see, you are absolutely right and I see the problem now... I used a function which only supports TAF...  ](*,) ](*,) ](*,)

Try this and let me know if it worked:
Go to your header.php and find line 67

Code: [Select]
$metarData = (getTafFromWWW ($ICAO));
there, change it to:

Code: [Select]
$metarData = (getMetarFromWWW ($ICAO));
This will get the METAR instead of TAF

Great this fixed my conditions too !!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 11:01:42 AM
OK good news.

So I will (probably tomorrow) release an updated version of the gauges block which fixes this problem. And in the bug fixes section I will give instructions for people who want to use Metar instead of TAF how to do it.

Thanks guys
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 10, 2016, 11:05:38 AM
Jachym,
For mine to work I also had to change the line below the one you had us change(line68):
Code: [Select]
$condition = getWeatherGrafic($metarData["taf"],$ICAO);to
Code: [Select]
$condition = getWeatherGrafic($metarData["metar"],$ICAO);Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 11:09:36 AM
Jachym,
For mine to work I also had to change the line below the one you had us change(line68):
Code: [Select]
$condition = getWeatherGrafic($metarData["taf"],$ICAO);to
Code: [Select]
$condition = getWeatherGrafic($metarData["metar"],$ICAO);Tom

Oh yes... of course  ](*,) ](*,) ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 10, 2016, 01:25:56 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on April 10, 2016, 01:38:53 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?

Is the PATH correct in the settings?  Is it pointing to the correct location of clientraw.txt ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 01:41:48 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?

The path you have in current set up is " " - so you need to specify path to clientraw
Title: Re: Meteotemplate - new free website template
Post by: rainbow on April 10, 2016, 01:42:27 PM
Blueberries are very good and healthy fruits  :grin:
Jachym-thanks for the great work.

Det
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 10, 2016, 01:46:16 PM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

I reported this problem yesterday, and confirmed that your site has the same problem that mine did.  V6.0 has what appears to be a new setting for the default page width, with an initial value of 1600px.  The only thing that seems to be honoring that setting is the footer block, which is why everything else looks normal but the right side of the footer is missing until you scroll over to the right.  Changing that value from 1600px to 100% fixes the problem...and removes my personal pet peeve about web designers hard-coding screen dimensions in their code.....
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 10, 2016, 01:47:26 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?

Is the PATH correct in the settings?  Is it pointing to the correct location of clientraw.txt ?

I think so. If the path is wrong you just get the 'Loading'.
The Saratoga template is still active so I put a path of "../" to point to the clientraw.txt instead of uploading it to the meteotemplate directory. The DB updating works so it must be happy with the clientraw file.
I'll try an absolute path instead.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 01:53:45 PM
Hi,
yes that makes sense, because you have to remember the blocks are located in a different location. They are just loaded from the homepage, but the actual path to the file is relative to homepage/blocks/current, not the homepage. Use absolute path
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 10, 2016, 01:55:56 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?

The path you have in current set up is " " - so you need to specify path to clientraw

I've tried:

../
/ (I created a symbolic link in the meteotemplate directory back to the clientraw so it can 'exist' in both directories)
/public_html/paulrickwood.co.uk/Weather/

None of which work??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 01:57:07 PM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

I reported this problem yesterday, and confirmed that your site has the same problem that mine did.  V6.0 has what appears to be a new setting for the default page width, with an initial value of 1600px.  The only thing that seems to be honoring that setting is the footer block, which is why everything else looks normal but the right side of the footer is missing until you scroll over to the right.  Changing that value from 1600px to 100% fixes the problem...and removes my personal pet peeve about web designers hard-coding screen dimensions in their code.....

I think I found the problem, try this:
In your template root/css/main.php

Line 141
Code: [Select]
width: <?php echo $customMaxWidth?>;
Replace this with:

Code: [Select]
width: 100%;
max-width: <?php echo $customMaxWidth?>;

And let me know if it helped
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 01:57:43 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?

The path you have in current set up is " " - so you need to specify path to clientraw

I've tried:

../
/ (I created a symbolic link in the meteotemplate directory back to the clientraw so it can 'exist' in both directories)
/public_html/paulrickwood.co.uk/Weather/

None of which work??

Yes, I told you, it is not relative to the homepage, use absolute path.
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 10, 2016, 02:00:22 PM
Hi,
yes that makes sense, because you have to remember the blocks are located in a different location. They are just loaded from the homepage, but the actual path to the file is relative to homepage/blocks/current, not the homepage. Use absolute path
Ah yes of course.
But even with the relative paths of ../../../ or ../../../../ I still get the same. Plus the absolute path gives the same result :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 02:01:46 PM
ok, try absolute path again and leave it like that and I will look at the output in the console
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 02:04:19 PM
OK, I have to go to work now, I will be offline for several hours, but I will try to deal with all issues later tonight when Im back
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on April 10, 2016, 02:06:52 PM
When I switch my current block from db to wd (so I can pull UV from clientraw.txt as well) I don't get the right data.
Time is 01:00 and all data is 0 except temp which is -4.

Any ideas?

Is the PATH correct in the settings?  Is it pointing to the correct location of clientraw.txt ?

Try using the url to your clientraw.txt and see if that helps.

I think so. If the path is wrong you just get the 'Loading'.
The Saratoga template is still active so I put a path of "../" to point to the clientraw.txt instead of uploading it to the meteotemplate directory. The DB updating works so it must be happy with the clientraw file.
I'll try an absolute path instead.

For the Current block I'm using a URL ex: http;//myweatherstation.net/plugins/livegauges/mblive.txt

Try using the url to your clientraw.txt and see if that helps.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 10, 2016, 02:07:02 PM
Jachym,

My country detail is not working.  Getting errors on some of the details and I cannot change countries.  Can you please take a look.  I have downloaded and updated twice.

Thanks,

Jay
http://www.jayswoodfurniture.com/meteo/plugins/countryDetail/index.php
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 10, 2016, 02:07:56 PM
Jachym,
For mine to work I also had to change the line below the one you had us change(line68):
Code: [Select]
$condition = getWeatherGrafic($metarData["taf"],$ICAO);to
Code: [Select]
$condition = getWeatherGrafic($metarData["metar"],$ICAO);Tom

Oh yes... of course  ](*,) ](*,) ](*,)

Hey, it just stopped snowing on my site...and the sun is out!  :-P  Looks like this fix works for me.....
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 10, 2016, 02:09:16 PM
Minor glitch seems like the footer is a bit wider than the rest of the page, the mobile and admin icons are off screen to the left?

I reported this problem yesterday, and confirmed that your site has the same problem that mine did.  V6.0 has what appears to be a new setting for the default page width, with an initial value of 1600px.  The only thing that seems to be honoring that setting is the footer block, which is why everything else looks normal but the right side of the footer is missing until you scroll over to the right.  Changing that value from 1600px to 100% fixes the problem...and removes my personal pet peeve about web designers hard-coding screen dimensions in their code.....


I think I found the problem, try this:
In your template root/css/main.php

Line 141
Code: [Select]
width: <?php echo $customMaxWidth?>;
Replace this with:

Code: [Select]
width: 100%;
max-width: <?php echo $customMaxWidth?>;

And let me know if it helped

That helped for me!
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 10, 2016, 02:12:32 PM

For the Current block I'm using a URL ex: http;//myweatherstation.net/plugins/livegauges/mblive.txt

Try using the url to your clientraw.txt and see if that helps.

Ah excellent, yes the URL rather than a path works fine.
Many thanks.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 10, 2016, 02:19:08 PM
It fixed the problem for me!  I even set the page width back to 1600px from 100% in the setup.php script.  Thank you!!!!!

I think I found the problem, try this:
In your template root/css/main.php

Line 141
Code: [Select]
width: <?php echo $customMaxWidth?>;
Replace this with:

Code: [Select]
width: 100%;
max-width: <?php echo $customMaxWidth?>;

And let me know if it helped
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 10, 2016, 02:53:52 PM
Jachym

Just noticed an oddity with the worldWeather block, if you click on the More button the pressure line seems way off!

EG on your demo site it shows Brno with a pressure of 33152.7 hpa
My site shows similar numbers 34134.8 hpa for Mission Texas, 33491.4 hpa for Collingwood Ontario etc

Bill
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 10, 2016, 03:02:01 PM
Jachym

Just noticed an oddity with the worldWeather block, if you click on the More button the pressure line seems way off!

EG on your demo site it shows Brno with a pressure of 33152.7 hpa
My site shows similar numbers 34134.8 hpa for Mission Texas, 33491.4 hpa for Collingwood Ontario etc

Bill

Yes the same is happening for the Yahoo data in the Forecast Comparison Plugin, probably some changes at the Yahoo end.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 10, 2016, 03:25:25 PM
Jachym

Just noticed an oddity with the worldWeather block, if you click on the More button the pressure line seems way off!

EG on your demo site it shows Brno with a pressure of 33152.7 hpa
My site shows similar numbers 34134.8 hpa for Mission Texas, 33491.4 hpa for Collingwood Ontario etc

Bill

I don't have this issue
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 10, 2016, 03:39:43 PM
Jachym

Just noticed an oddity with the worldWeather block, if you click on the More button the pressure line seems way off!

EG on your demo site it shows Brno with a pressure of 33152.7 hpa
My site shows similar numbers 34134.8 hpa for Mission Texas, 33491.4 hpa for Collingwood Ontario etc

Bill

Yes the same is happening for the Yahoo data in the Forecast Comparison Plugin, probably some changes at the Yahoo end.

Didn't realize that the source was Yahoo, that explains it, I don't see it in the Forecast Comparison Plugin as I disabled Yahoo for that!!

I'm not gonna worry about it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 05:29:31 PM
It fixed the problem for me!  I even set the page width back to 1600px from 100% in the setup.php script.  Thank you!!!!!

I think I found the problem, try this:
In your template root/css/main.php

Line 141
Code: [Select]
width: <?php echo $customMaxWidth?>;
Replace this with:

Code: [Select]
width: 100%;
max-width: <?php echo $customMaxWidth?>;

And let me know if it helped

Cool :-)

OK, looks like we more or less found all the bugs, fortunately nothing major.

I will post updated versions of the following files in the "Bug fixes" section ASAP:

- setup.php - fixed the issue with GA code required in order to validate
- css/main.php - fix for the footer width
- header.php - change it from TAF to METAR
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2016, 05:32:35 PM
Jachym,

My country detail is not working.  Getting errors on some of the details and I cannot change countries.  Can you please take a look.  I have downloaded and updated twice.

Thanks,

Jay
http://www.jayswoodfurniture.com/meteo/plugins/countryDetail/index.php

Jay was the plugin working before? This has nothing to do with the update and it looks like the mysql table necessary for this plugin to work is not installed on your server.
I would assume you havent executed the script which creates the table (see documentation for the plugin). There is no way the update could have caused this.
Title: Meteotemplate 6.0 Blueberry - Bug Fixes
Post by: Jáchym on April 10, 2016, 05:53:18 PM
OK, thanks for all your feedback, I have (hopefully) corrected all the minor problems encountered so far.

I have updated both the update package and the complete template file.

I have also included the modified scripts in the Bug Fixes section (bottom of the Downloads page), so that those of you who have already downloaded it do not have to download the whole thing again.

Replace the files if the problems are relevant to you:

- install/setup.php - fix for GA - no longer required, the GA code is now optional
- css/main.php - fix for footer - now resizes correctly
- header.php - now uses METAR instead of TAF, which is not available for all METAR stations
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 10, 2016, 09:27:11 PM
Jachym,

The Country Detail was working at one time.  I'm not sure if it got mucked up during the previous update or not.  I have completely deleted the files and the database on the server and reinstalled everything.  Not sure I remember what is supposed to happen when I do the install but there is only one
choice and when that is run it successfully creates the table.  Where do I go now?

Jay
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 11, 2016, 02:50:47 AM
Jachym

Another small issue has cropped up on the summary block

 [ You are not allowed to view attachments ]

The text is "missing" from the dropdown
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 05:00:07 AM
Jachym

Another small issue has cropped up on the summary block

 [ You are not allowed to view attachments ]

The text is "missing" from the dropdown

Most likely caching issue, it works fine, and I checked other sites as well.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 11, 2016, 05:03:30 AM
Most likely caching issue, it works fine, and I checked other sites as well.

OK sorted

And my WU forecast problem, mentioned previously?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 07:13:52 AM
Jachym,

The Country Detail was working at one time.  I'm not sure if it got mucked up during the previous update or not.  I have completely deleted the files and the database on the server and reinstalled everything.  Not sure I remember what is supposed to happen when I do the install but there is only one
choice and when that is run it successfully creates the table.  Where do I go now?

Jay

Hi Jay,
sorry my mistake, it is actually the other way around. The MySQL is working, the problems are for parameters loaded from the files/us.txt. Make sure this file is on the server and has the right permissions. I see it in the browser, but that doesn´t mean it has permissions to be executed and loaded by the PHP script. Set the permissions for that file and the files folder to ideally 777.

Currently the problem is that based on what I see, it cannot load data from that txt file.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 07:19:51 AM
Most likely caching issue, it works fine, and I checked other sites as well.

OK sorted

And my WU forecast problem, mentioned previously?

Sorry Simon, tens of emails with questions (fortunately not bugs :D), lots of questions here and 3 important meetings at work :D

I just missed your post probably and I cant even find what exactly you mean, could you explain or just copy it again?

I appologize but hopefully I will be able to help
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 11, 2016, 08:52:38 AM
Sorry Simon, tens of emails with questions (fortunately not bugs :D), lots of questions here and 3 important meetings at work :D

I just missed your post probably and I cant even find what exactly you mean, could you explain or just copy it again?

I appologize but hopefully I will be able to help

Here you go

Jachym

I have upgraded to 6.0 with no issues except for the forecastBlock update.

I am now getting the error

If I look at the wu.txt it looks like this

Code: [Select]
"error": {
"type": "invalidformat"

,"description": "you must supply a valid output format"

The settings are exactly as is in the original forecastBlock.

The other sources work fine

Simon
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 09:28:24 AM
Sorry Simon, tens of emails with questions (fortunately not bugs :D), lots of questions here and 3 important meetings at work :D

I just missed your post probably and I cant even find what exactly you mean, could you explain or just copy it again?

I appologize but hopefully I will be able to help

Here you go

Jachym

I have upgraded to 6.0 with no issues except for the forecastBlock update.

I am now getting the error

If I look at the wu.txt it looks like this

Code: [Select]
"error": {
"type": "invalidformat"

,"description": "you must supply a valid output format"

The settings are exactly as is in the original forecastBlock.

The other sources work fine

Simon

OK, given the block works fine with v6 for other people it must be something to do with your settings. Can you PM me your settings.php for this block? Thanks
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 11, 2016, 09:28:43 AM
Jachym,

I have given the files folder nd all the files 777 permissions.  Still not working.  I think it must be something more serious.  Notice that you can't change countries either.

If you want my password for the template I can message it to you.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 09:37:39 AM
Jachym,

I have given the files folder nd all the files 777 permissions.  Still not working.  I think it must be something more serious.  Notice that you can't change countries either.

If you want my password for the template I can message it to you.

Thanks,

Jay

You cannot change the country because the PHP errors (generated due to missing info form the text file) mess up the Javascript and so the script ends like half way through when it encounters the first PHP error. And the country menu is populated at the end so it fails too.

Password would help, but in this case it would have to be your FTP, not the admin pass, that wouldn´t help much.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 11, 2016, 09:47:18 AM
Jachym,

Massage sent.

Jay
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 11, 2016, 10:15:07 AM
Jachym,

Problem solved  On the setup page you must use the lower case country initials.  us instead of US.  You might want to put that note on the setup page, or am I the only dense one here.

Thanks for the update to Blueberry.  I think I have everything working now.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 10:16:06 AM
Yes, I saw it now I was just about to tell you :-)

Instead of including this I will rather add a function in the actual script to convert to lowercase before doing anything.

Sorry for that and Im glad it works again.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 11, 2016, 10:34:31 AM
Set the permissions for that file and the files folder to ideally 777.

As a caution for everyone, I have observed that some hosting companies have Apache configured where it will refuse to access content or display pages of world-writable files.  It sort of makes sense on shared servers, to prevent another user (or their bad scripts) from "hacking" your site and changing the content.  775 for directories, 664 for files.

Can I also make a small architecture change request?  Several of the blocks have their own cache directories.  Going forward, can you make the cache directory a configurable global parameter and only have a single cache directory for everything?  My rationale for doing this is for both security (putting the folder out of the web server's filespace), and because I run my home instance on a Raspberry Pi and would like to utilize a RAM disk for cache in order to save the write cycles on the SD card's flash memory.  Yes, I could manually symlink all of the block cache dirs to the parent, but with the new blocks auto-update function it may get clobbered every time a new block update is released.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 10:51:23 AM
Hi,
yes that makes sense, this again goes back to the original template with no blocks, where it was easier because the paths were inconsistent. Now it is possible, but again something that will require changes in most blocks/plugins, so I will rather do it gradually and hopefully eventually get there.

All these things are things that I did not realize at the beginning and only notice once things are already done differently (just like the translations, the block updates etc.). I then try to look for more efficient solutions, and ways to incorporate them to the current system.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 11, 2016, 11:14:09 AM
The header doesn't seem to be working for me currently shows snow while the METAR from CYWG shows "Few Clouds" and it's rather sunny outside!

Tried both the original script and the update one with the same results.

Bill
http://www.sanfordweather.com/meteo/
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 11, 2016, 11:24:36 AM
Jachym...
about the header..
.if you could add a function to enable or stop that animated snow/rain. and have a simple image like before...its taking ages to load the page

thanks ;)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 11:24:43 AM
Looking at the history, it was snowing in the morning, this could be a problem with the permissions and the fact that the file cannot be replaced.

Try this:
Go to

pages/metar/buffer and there, delete everything inside taf and metar. Then reload the page.

If it now shows correct conditions, it means it is a problem with the permissions.
If it shows incorrect conditions, it means it is a problem in the metar decoding
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 11:25:24 AM
Jachym...
about the header..
.if you could add a function to enable or stop that animated snow/rain. and have a simple image like before...its taking ages to load the page

thanks ;)

Carl i dont understand what you mean. The rain and snow has ALWAYS been there and the animation was 80% more CPU intensive than it is now.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 11, 2016, 11:41:41 AM
Looking at the history, it was snowing in the morning, this could be a problem with the permissions and the fact that the file cannot be replaced.

Try this:
Go to

pages/metar/buffer and there, delete everything inside taf and metar. Then reload the page.

If it now shows correct conditions, it means it is a problem with the permissions.
If it shows incorrect conditions, it means it is a problem in the metar decoding

That looks better, I changed permissions on the two folders from 705 to 777

Will keep an eye one it!

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 11:43:25 AM
Makes sense...
it downloaded metar this morning, cached it and now was unable to delete the cache so it remained there
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 11, 2016, 11:44:05 AM
I haven't configured how I want my page yet, but I just wanted to say, that the setup is absolutely spot on! Loving the extra configuration e.g; the banner title/subtitle - text shadows etc.. very quick and easy.

http://www.warehamwx.com/template/indexDesktop.php#

I honestly don't know how you find the time to do all of this? Fantastic work as always. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 11:55:43 AM
I am putting together all the (fortunately minor) bugs and tomorrow I will probably release an update of the gauges (I fixed the error where in Chrome it sometimes displayed too big) and there is a bug in the canadian radar block settings.

The only other problem seems to be the header, but that really is probably related to the specific stations, some codes are not recognized, otherwise so far so good.
Title: Re: Meteotemplate - new free website template
Post by: Ian. on April 11, 2016, 03:25:43 PM
I've broken my template, oh well, back to the drawing board (I really should have backed everything up!)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 03:33:32 PM
I've broken my template, oh well, back to the drawing board (I really should have backed everything up!)

What did you do? It was working fine
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 03:34:25 PM
Sorry Simon, tens of emails with questions (fortunately not bugs :D), lots of questions here and 3 important meetings at work :D

I just missed your post probably and I cant even find what exactly you mean, could you explain or just copy it again?

I appologize but hopefully I will be able to help

Here you go

Jachym

I have upgraded to 6.0 with no issues except for the forecastBlock update.

I am now getting the error

If I look at the wu.txt it looks like this

Code: [Select]
"error": {
"type": "invalidformat"

,"description": "you must supply a valid output format"

The settings are exactly as is in the original forecastBlock.

The other sources work fine

Simon

Simon I found the problem. WU made some changes in the encoding. In your case the problem is caused by the space in "Cape Town".
I already prepared a fix, will release it tomorrow along with a few other block updates.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 11, 2016, 04:17:11 PM
Can the themes/fonts be changed in the setup.php at any time? I'm experiencing some issues with it. I've gone to change the font and the colours, but it is saying I'm using a different font and colours, I just checked the config file, and it doesn't match what the setup file is showing. If I change them in the setup, it doesn't do anything.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 04:22:06 PM
Hi,
Im a bit confused, what exactly happened? The setup.php should give you selection of the supported fonts and color themes
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 11, 2016, 04:26:12 PM
Hi,
Im a bit confused, what exactly happened? The setup.php should give you selection of the supported fonts and color themes

It seems to have sorted itself.

Every time I chose a new set of colours and changed the font, then hit save, it would go back to a set of colours and fonts that I wasn't even using. I have no idea what went wrong, but its working ok now.  #-o

ok - possible bug, or it might be the design - http://www.warehamwx.com/template/indexDesktop.php

Scroll down to the graphs block in the center, there's no 3D edging on the sides, unlike all of the other blocks.

I do like that effect though, gives it  a nice feel. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 05:35:08 PM
Hi,
Im a bit confused, what exactly happened? The setup.php should give you selection of the supported fonts and color themes

It seems to have sorted itself.

Every time I chose a new set of colours and changed the font, then hit save, it would go back to a set of colours and fonts that I wasn't even using. I have no idea what went wrong, but its working ok now.  #-o

ok - possible bug, or it might be the design - http://www.warehamwx.com/template/indexDesktop.php

Scroll down to the graphs block in the center, there's no 3D edging on the sides, unlike all of the other blocks.

I do like that effect though, gives it  a nice feel. :)

Yes I know Tina, it is an iframe and this is the best I can do with it. It works slightly differently than a normal block.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 11, 2016, 05:42:00 PM
Simon I found the problem. WU made some changes in the encoding. In your case the problem is caused by the space in "Cape Town".
I already prepared a fix, will release it tomorrow along with a few other block updates.

Awesome... 

I knew those spaces would come back and bite someone.  Now to test your block updates :)  Thanks for the great work... again... and again...

You need to come do some weather research in Cape Town.  Then I can introduce you to some awesome weather, scenery, wine, beer, food.
Title: Re: Meteotemplate - new free website template
Post by: Ian. on April 11, 2016, 05:48:53 PM
I've broken my template, oh well, back to the drawing board (I really should have backed everything up!)

What did you do? It was working fine

I went through all by Blocks to check the version number, I had to update 22 to the new version and in doing that I didn't transfer some of the settings over. I can't get my webcam back to display even though I know I have the right path entered, also I'm showing Offline , but the install/setup.php says my connection is fine, wx sim has stopped, again the path has been checked to be working and a few other things, so I've screwed it up a bit :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 05:52:38 PM
That is strange because the actual db updates should not be affected by the update. The update script is completely separate from anything included in the update.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 05:58:55 PM
For those that may be interested, I have modified my windRose block. Added the other wind icons.

(http://www.manorts.com/images/rose.png)

www.manorts.com/meteo/windRose.zip

OK just one little problem here. Paul asked me about his Current block. The wind was not working. I was desperately trying to find out where the problem is. Finally I found the source of the error. Unfortunately the code for the wind rose block developed by Colin has a few errors in the AJAX call, which will cause your current block to malfunction in terms of wind display. For now I guess if you see this problem, the only option is to use the gauges block, which also has wind rose.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 11, 2016, 06:01:20 PM
Jachym...
about the header..
.if you could add a function to enable or stop that animated snow/rain. and have a simple image like before...its taking ages to load the page

thanks ;)

Carl i dont understand what you mean. The rain and snow has ALWAYS been there and the animation was 80% more CPU intensive than it is now.

Mine seems to be running significantly faster with the animations. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 06:09:06 PM
It must be :D

Given how awful the original code was... I havent looked at it for quite a while, this was one of the very first scripts I have ever made in Javascript and PHP, sometime around Feb 2015 when I still had just my personal site and was taking my first steps in programming.

And I knew it is probably the worst part of the template, but it was so bad that I rather didn't even look at it and just left it like that :D

But since now, due to the changes with Yahoo, it was not just inefficient and CPU intensive, but also not working I had to do something about it :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 11, 2016, 07:36:46 PM
In the weather networks block, if I click the 'weathercloud' icon, it takes me to a 404. The ID is 100% correct. The url it is using, has the weathercloud ID in it, so anybody clicking it can get your ID.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 07:53:42 PM
In the weather networks block, if I click the 'weathercloud' icon, it takes me to a 404. The ID is 100% correct. The url it is using, has the weathercloud ID in it, so anybody clicking it can get your ID.

Tina I dont get what you mean. I just tried the demo, when I click WeatherCloud icon it takes me to the station profile of my site - which is the point. I also dont see why getting my ID is a problem - it is just like getting WU ID, it is your station identifier
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 11, 2016, 07:58:49 PM
In the weather networks block, if I click the 'weathercloud' icon, it takes me to a 404. The ID is 100% correct. The url it is using, has the weathercloud ID in it, so anybody clicking it can get your ID.

Tina I dont get what you mean. I just tried the demo, when I click WeatherCloud icon it takes me to the station profile of my site - which is the point. I also dont see why getting my ID is a problem - it is just like getting WU ID, it is your station identifier

Click my weathercloud icon: http://www.warehamwx.com//template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2016, 08:09:21 PM
This is your correct id: d0156999522
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 11, 2016, 08:50:27 PM
This is your correct id: d0156999522

Ohh I see the problem. You ask for the weathercloud ID, but it's not the actual ID, it's just the code for the public station. I was putting in the ID that weathercloud supply, as that's how it comes across.

I'm noticing that if you go to any plugin, the banners text, flag, moon, the footer and menubar don't match the main page. I think it may be the text size not matching the size I've set?

The rssfeed block has that issue again.. when i click 'more' to go to the website, it takes me to my own site hehehe
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 12, 2016, 02:00:30 AM
For those that may be interested, I have modified my windRose block. Added the other wind icons.

(http://www.manorts.com/images/rose.png)

www.manorts.com/meteo/windRose.zip

OK just one little problem here. Paul asked me about his Current block. The wind was not working. I was desperately trying to find out where the problem is. Finally I found the source of the error. Unfortunately the code for the wind rose block developed by Colin has a few errors in the AJAX call, which will cause your current block to malfunction in terms of wind display. For now I guess if you see this problem, the only option is to use the gauges block, which also has wind rose.

Jachym,

Could you point out the few errors I made so I can fix them?
What relationship do the two block have in common, that would make one break the other?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 05:31:49 AM
Hi Colin,

the problem is that in your AJAX call you probably copied the code from the current block, it is using the current block updater and more importantly, the problem is you left the fields with the same IDs. Now since the blocks are all loaded on the homepage this is something one must be very careful about. There can always be only one element with the same ID. IDs have to be unique, otherwise it fails. So since you included the same IDs in your script as the ones in the current block, it then doesn´t know where to insert it and fails to show anything.

However, when I look at the zip file, it looks like you changed the code. In that case I appologize, it looks ok. I saw this on Paul´s server so he was probably using some older version of this. That one actually had the updater.php included in an Ajax call and the same field IDs. This current version does not seem to be using the updater.

So it looks like you changed the realtime ajax updates, which should now fix it.

Sorry about that, though people that are still using the older version should update to this one, which is not realtime, but should work just fine.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 12, 2016, 05:54:36 AM
Simon I found the problem. WU made some changes in the encoding. In your case the problem is caused by the space in "Cape Town".
I already prepared a fix, will release it tomorrow along with a few other block updates.

Ok cool - lets see how well the auto updates work :)
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 12, 2016, 06:32:09 AM
Hi Colin,

the problem is that in your AJAX call you probably copied the code from the current block, it is using the current block updater and more importantly, the problem is you left the fields with the same IDs. Now since the blocks are all loaded on the homepage this is something one must be very careful about. There can always be only one element with the same ID. IDs have to be unique, otherwise it fails. So since you included the same IDs in your script as the ones in the current block, it then doesn´t know where to insert it and fails to show anything.

However, when I look at the zip file, it looks like you changed the code. In that case I appologize, it looks ok. I saw this on Paul´s server so he was probably using some older version of this. That one actually had the updater.php included in an Ajax call and the same field IDs. This current version does not seem to be using the updater.

So it looks like you changed the realtime ajax updates, which should now fix it.

Sorry about that, though people that are still using the older version should update to this one, which is not realtime, but should work just fine.

Well thats disappointing. You tell everyone my code has a few errors that cause the Current block to fail and advise them to use your gauges block instead.
THEN you check my code and see that it DOES NOT break the Current block. Thanks for that. No one will use it now will they.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 06:37:56 AM
Sorry Colin, but it is also not my fault that you changed your original code without telling anyone. I never used it and I was told about these problems by other user. I looked at his code and he told me it was this block, showing me the code as well.

I appologized to you. I would assume that if you make changes to the file you tell people. Look, Im not trying to defend myself, but just FYI, since the new release I have received over 200 emails. I try to deal with all of them, prepare bug fixes, customized scripts + my full time and part time job and I really don´t have the time to go checking if maybe you updated the file. All I can do is say sorry and next time make sure you post about the fact you modified the zip file. And also, it could be that many other people are still using your old code, in which case they would have this problem.

You probably also wouldnt like if I told you to check all the block files every day to see if maybe I updated some.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 12, 2016, 07:06:54 AM
Jachym,
I think I found an error in the header.php.  When I use the TAF and it is raining at the airport my header shows the rain.
When I use the metar from the same station at the same time it only shows clouds and no rain.
The TAF file is
Quote
2016/04/12 06:27
TAF KPOU 120521Z 1206/1306 17005KT 5SM BR VCSH OVC080 WS020/21040KT
      TEMPO 1210/1214 3SM -RA BR SCT012 BKN020
     FM121400 29012G22KT P6SM VCSH SCT015 BKN020 OVC035
     FM121700 31012G25KT P6SM SCT035
     FM130000 34005KT P6SM SKC
The metar is
Quote
2016/04/12 10:53
KPOU 121053Z 00000KT 2SM -RA BR OVC021 12/10 A2991 RMK AO2 SLP126 P0008 T01170100
I hope this helps.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 07:23:06 AM
Hi Tom,

the cache time for these is 30 minutes, so there are several possibilities:

1. they do not update the files at the same time so one shows older info
2. you did not load them at the same time, so one was still taken from cache

The cache files are stored in:
pages/metar/buffer/taf or metar

Also make sure these directories are writable so that it can delete the old cache file. have a look at the time of creation of these files.
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 12, 2016, 08:00:15 AM
Sorry Colin, but it is also not my fault that you changed your original code without telling anyone. I never used it and I was told about these problems by other user. I looked at his code and he told me it was this block, showing me the code as well.

Yes, completely my fault, sorry.
Matter closed, over & out.
Title: Meteotemplate - bug fixes
Post by: Jáchym on April 12, 2016, 08:34:34 AM
(https://firebearstudio.com/blog/wp-content/uploads/2015/02/magento-catalog-price-rules-bug.png)
Hi guys,

so looks like most of the issues are now solved, so I prepared updated versions of blocks with some bug fixes and also a bug fix update package for version 6.

Template

In the downloads section at meteotemplate.com is now a link to a ZIP file with updated files for version 6. Simply download it and just replace the corresponding files. The pages/metar directory you can replace completely, it contains all the files. Otherwise just replace the single files.

Blocks

I have added a section about how to update blocks in the wiki, but I will also explain here. The update procedure now is as follows:

there and then check your admin/block updates/set up. If you see a new version of some block is available, go to the download site and download the new version.
extract the files and replace the original files
now, this is important. Previously there was always a file called settings.php. This file might still be included in the old download files, but from now on it will not. The way it works now is that once you download the new block, upload it to your blocks directory, it will automatically appear in your admin section in block list. There will be a link "settings" if any set up is required. Once you click that you will get all the fields that need to be filled in. If you are updating the block, in other words, if the settings.php already exists, it will use it to prefill the values. You dont have to fill it again, or you can change it. If there are any new parameters to be set in the new version, it will prefill them with default values. Then once you click "save" it will either create or overwrite your original settings.php and use it.
then add your new block in the index.
it is important that you first do the set up (if necessary) before trying to load the block on the homepage, because it requires the settings.php to be either created or updated.

The following blocks were updated (bug fixes in all cases):
- twitter feed - now correctly limits the number of maximum posts displayed
- rss feed - corrects the issue with links
- forecast - fix for cities with space in the name
- gauges - fixes the problem with Chrome, where on some servers the gauges were huge
- radar Canada - fix for regional radar image

You should already see these new versions available in your admin section.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 12, 2016, 09:45:42 AM
Thanks for the bugfixes Jachym , now you have to fix the bug in your own weathernetwork  :? it seems down since yesterday
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 12, 2016, 10:00:27 AM
Jachym,

Great job on the updates.  I still see updates available for Lunar Eclipses, Moon Phase and Summary.  I downloaded them again and the update didn't take.  Seems the Moon and Lunar are missing the config.txt and the Summary config.txt still shows 2.0 version.

Thanks for the hard work,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 10:07:53 AM
Thanks for the bugfixes Jachym , now you have to fix the bug in your own weathernetwork  :? it seems down since yesterday

Too much traffic to the site.... I know about it, I just modified the script, I decreased the number of seconds it tries to retrieve data from each user, so it works now again, but if someone has a slower server they wont be on the map. It was originally set to 5s, I now reduced it to 3s.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 12, 2016, 10:12:06 AM
Thanks for the bugfixes Jachym , now you have to fix the bug in your own weathernetwork  :? it seems down since yesterday

Too much traffic to the site.... I know about it, I just modified the script, I decreased the number of seconds it tries to retrieve data from each user, so it works now again, but if someone has a slower server they wont be on the map. It was originally set to 5s, I now reduced it to 3s.

Ah thats a pain  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 10:13:41 AM
Jachym,

Great job on the updates.  I still see updates available for Lunar Eclipses, Moon Phase and Summary.  I downloaded them again and the update didn't take.  Seems the Moon and Lunar are missing the config.txt and the Summary config.txt still shows 2.0 version.

Thanks for the hard work,

Jay

Thanks, it was probably just me forgetting to change the version in the config file for the block, hopefully it should now be all fixed and in the future it won´t happen because I will always make sure this is ok. I probably just forgot or missed it while changing all the block files retrospectivally.

I updated the files. Let me know if it helped.

thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 10:22:08 AM
Thanks for the bugfixes Jachym , now you have to fix the bug in your own weathernetwork  :? it seems down since yesterday

Too much traffic to the site.... I know about it, I just modified the script, I decreased the number of seconds it tries to retrieve data from each user, so it works now again, but if someone has a slower server they wont be on the map. It was originally set to 5s, I now reduced it to 3s.

Ah thats a pain  :shock:

It works now... the problem is that the number of users increases as well as traffic to the site. Im of course happy about this, but the way I set it up is that if it is overloaded, it gives priority to users rather than the script for updating the network. Since Saturday when I released the new version, the traffic has been much higher than usual, so I guess it will calm down again. But looking at the log files, most of the user files are loaded within those 3s ok.

I am thinking about different ways of solving this in the future and having the network run separately.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 12, 2016, 10:34:07 AM
Jachym,

The Lunar Eclipses is still not updated.  The other two worked great.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 10:37:48 AM
Jachym,

The Lunar Eclipses is still not updated.  The other two worked great.

Thanks,

Jay

Fixed
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 12, 2016, 10:41:28 AM
Thanks!

Jay
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 12, 2016, 10:52:15 AM
Is there anything I can do to make the plugins pages (banner/menu/footer) match the home page? It looks a bit odd :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 10:57:17 AM
Tina Im not sure what the problem is, the footer, menu and header look fine to me
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 12, 2016, 11:00:33 AM
Tina Im not sure what the problem is, the footer, menu and header look fine to me

Open these in two separate pages:

http://www.warehamwx.com/template/indexDesktop.php

http://www.warehamwx.com/template/pages/astronomy/moonPhase.php

The banner text size changes, the flag is in a different place (as was the moon) the menu text changes size and the footer gets larger too- on all plugin pages.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 11:05:06 AM
I see. I havent even noticed it. It must be something in the CSS. I didnt even notice it was doing it, looks very similar, I will see and try to fix that, but it is not something urgent, so proabably in the next version.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on April 12, 2016, 12:16:39 PM
Jachym. I know you've been talking of lacking the funds or something to upgrade your hosting but have you thought of moving your stuff to Google Cloud or AWS? 

I'm looking at moving my different websites to my own VPC on AWS


Sent from my iPhone using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 12, 2016, 12:20:43 PM
Hi Jachym,
The new block update takes a little getting used to but have it mastered now #-o   I have done all the fixes, including replacing the /pages/metar folder in full, and all blocks to current version and settings updated as needed.

Had one issue in that rssFeed block had an error that it couldn't load include(settings.php).  Noticed settings2.php was in the new rssFeed block folder but not settings.php.  Uploaded settings.php from previous version and then the rssFeed block works.

I then thought I had everything good \:D/ , but then after about half an hour or so getting errors ](*,) re METAR www.komokaweather.com/j-template-60 (http://www.komokaweather.com/j-template-60)
I presume that after that 30 minutes or more the cache cleared and the new plugin pages took effect, causing the errors?

If you need a stripped down site (remove some blocks/plugins) so you can load it you can do that.

Paul

EDIT:
I did open the block update utility and then saved (no changes made in the settings).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 12:25:43 PM
Hi Simon,

I explained this earlier, the problem is slightly different.

We actually have a very good webhosting provider here in the Czech Republic. Even the cheapest plan has unlimited bandwidth and unlimited webspace. The only problem therefore is that there is a 30s max PHP execution time and maximum 5 simultanoues PHP script executions.

This means that it works pretty much ok for most of the time. Problems only arise under two scenarios:
- I release something new -> lot of people suddenly look at the site. In such case, it can only serve 5 at a time, but usually this is ok, it quickly does 5, then next 5 etc. So the only thing that can happen is that just after something new is released, the demo site is slower.
- the netowork -> in case of the network, the problem is that it needs to check everyone´s site and download the text file with current conditions. This script must execute within those 30s, otherwise it wouldn´t generate the proper text file that is then fed to the network script. Also, this takes up one of the 5 php slots so for those 30s there are only 4. Right now there are I think around 50 users in the network so depending on the speed of their servers, it will either load the data or not. I set the limit to max. 3s now. If someone´s server does not respond in 3s, it skips them. Usually the response is much faster, it is just a small JSON, so 50 users are usually ok in 30s. It was just recently that when I released this new version, I have about twice as many visits in the last 3 days than what is usual and I guess it will calm down again.

Thanks for the suggestion, I just don´t think that would work. The problem is not webspace. And the actual script is triggered every 15min by a CRON job.

It is sort of working now again :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 12:27:31 PM
Hi Jachym,
The new block update takes a little getting used to but have it mastered now #-o   I have done all the fixes, including replacing the /pages/metar folder in full, and all blocks to current version and settings updated as needed.

Had one issue in that rssFeed block had an error that it couldn't load include(settings.php).  Noticed settings2.php was in the new rssFeed block folder but not settings.php.  Uploaded settings.php from previous version and then the rssFeed block works.

I then thought I had everything good \:D/ , but then after about half an hour or so getting errors ](*,) re METAR www.komokaweather.com/j-template-60 (http://www.komokaweather.com/j-template-60)
I presume that after that 30 minutes or more the cache cleared and the new plugin pages took effect, causing the errors?

If you need a stripped down site (remove some blocks/plugins) so you can load it you can do that.

Paul

EDIT:
I did open the block update utility and then saved (no changes made in the settings).

Paul everything you are saying indicates you do not have the permisssions set correctly. It cannot write in that folder so no settings.php is created and likewise, it cannot write a new file for the header, so also causes problems. Make sure these directories are writable.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 12, 2016, 12:32:04 PM
Jachym

I've noticed a wee glitch with the worldWeather block and the new admin scripts for adjusting settings.  Or rather it may be a glitch in my understanding!

The settings implies you input a comma separated list of the WOID's you want to show, results in the following in the settings file
$citiesArr = '2452328,2449808,4285,4026,2151330'; which doesn't seem to work.

The old settings file had
$citiesArr = array(2452328,2449808,4285,4026,2151330);

Am I supposed to put array(245....etc in the box?

EDIT

Nope, tried it and the result is
$citiesArr = 'array(2452328,2449808,4285,4026,2151330)';
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 12:55:53 PM
Hi,
did you replace all the files? This was the old format, but it should now be ok with just the list.

Or it could be that it is simply yahoo not working - most likely
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 12:59:41 PM
OK I tested it, it works ok,
you just need to put in the numbers 123,456,789...

maybe I forgot to update the block file, I will do right away

EDIT: No the file is updated, make sure you have the current version. I guess the problem is that you tried to set it up without updating. It would work in the original set up or the new one, but you must always update all the files.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 12, 2016, 01:19:26 PM
Hi Jachym,
I have set all folders/files to 777
still get these errors:

Notice:  Undefined index: metar in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 279
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: cumulus in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 827
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: returner in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 678
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: minus in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 412
 
 Notice:  Undefined variable: minus in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 412
 
 Notice:  Undefined variable: returner in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 945


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 01:27:30 PM
Hi Jachym,
I have set all folders/files to 777
still get these errors:

Notice:  Undefined index: metar in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 279
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: cumulus in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 827
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: returner in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 678
 
 Notice:  Undefined variable: ktpos in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 247
 
 Notice:  Undefined variable: minus in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 412
 
 Notice:  Undefined variable: minus in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 412
 
 Notice:  Undefined variable: returner in /home/content/96/5379896/html/j-template-60/scripts/headerMetar.php on line 945


Paul


Paul, download the bug fixes package, then open setup.php and just click save, without changing anything, it will regenerate config and you should be ok
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 01:31:49 PM
Working fine now Paul, you still had the debug mode on, you need to turn that off. Those were not errors, but notices, which is ok in this case, it is just echoing these because the METAR does not always contain all the fields.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 12, 2016, 03:25:38 PM
OK I tested it, it works ok,
you just need to put in the numbers 123,456,789...

maybe I forgot to update the block file, I will do right away

EDIT: No the file is updated, make sure you have the current version. I guess the problem is that you tried to set it up without updating. It would work in the original set up or the new one, but you must always update all the files.

Downloaded the block again and it is working now, I thought I upgraded before but guess I didn't. 

Note to Self have to remember to re-download any block if it doesn't seem to work as expected.
Title: Re: Meteotemplate - new free website template
Post by: gus on April 12, 2016, 05:27:37 PM
Hi Jachym,
A little problem still in Gauges ver 3.2 when using rain as inches. It is necessary to round to one place to get the rain dial to space properly.

modify gaugesBlock.php - line 146
   $rainGaugeTicks = array(0);
   $current = 0;
   while($current<$rainGaugeMax){
      $current = $current + $majorTickIntervalR;
      $rainGaugeTicks[] = round($current, 1);       //round to one place
   }

Modify Settings.php
  $maxLimitMM = '50';
  $maxLimitCM = '5';
  $maxLimitIN = '2.0';
  $majorTickIntervalMM = '5';
  $majorTickIntervalCM = '0.5';
  $majorTickIntervalIN = '0.2';
  $minorTickCountR = '5';            // was 2 change to 5

Gus
http://www.halethorpeweather.com/meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 07:22:19 PM
Oh yes... you are right Gus, this is the solution I posted on WD forum right?

I wanted to update this but there was just so many other things I forgot about this. I will make an update soon for this. Thanks for reminding me.
Title: Re: Meteotemplate - new free website template
Post by: gus on April 12, 2016, 07:32:29 PM
Yes it is.
http://www.weather-watch.com/smf/index.php/topic,60996.msg500408.html#msg500408
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2016, 07:56:34 PM
OK, thanks, just making sure this is for the current version.

So I will see how it could be implemented globally. The problem is this won't work for the mm setting so I need to find a workaround.

Thanks Gus
Title: Re: Meteotemplate - new free website template
Post by: gus on April 12, 2016, 08:45:34 PM
I'm not seeing the problem with mm selected.
Gus
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 13, 2016, 12:31:10 AM
Well I think I have about 99.5% updated to Blueberry v6.0.  I had decided to do a full new install and then copy in all my modifications, plugins and blocks.  That turned out not to be the easiest especially with the changes in this new version in setting up config.php and the blocks updates.  After updating 75 blocks and checking 50 plugins, some of them 2 or more times because of my mistakes, finding the occasional bug, etc. I am tired... but I've got them working \:D/ www.komokaweather.com/j-template/

Thanks again Jachym for your work on this and your assistance in finding my mistakes and overcoming my issues =D&gt;   Next time I'll do the update method...

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 13, 2016, 04:58:49 AM
You are welcome Paul, it is to a great extent due to the fact your server behaves sometimes like no other, fortunately I already know most of the strange stuff it does :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 13, 2016, 05:03:46 AM
Well I think I have about 99.5% updated to Blueberry v6.0.  I had decided to do a full new install and then copy in all my modifications, plugins and blocks.  That turned out not to be the easiest especially with the changes in this new version in setting up config.php and the blocks updates.  After updating 75 blocks and checking 50 plugins, some of them 2 or more times because of my mistakes, finding the occasional bug, etc. I am tired... but I've got them working \:D/ www.komokaweather.com/j-template/

Thanks again Jachym for your work on this and your assistance in finding my mistakes and overcoming my issues =D&gt;   Next time I'll do the update method...

Paul

And HAPPY BIRTHDAY Paul !!!

 =D&gt; =D&gt; =D&gt;
Title: Meteotemplate - New plugin
Post by: Jáchym on April 14, 2016, 10:26:38 AM
(http://i67.tinypic.com/11qqtdt.png)
Hi guys,

it´s been a while since the last new plugin/block, so a new simple plugin is now available. It is called the ISS tracker.

It shows you the realtime updated position of the International Space Station along with some basic info about the station, current distance to your station, coordinates and upcoming pass times.

Optionally you can set the update interval for the map, but I recommend leaving it to 10s.

Info/download: http://www.meteotemplate.com/web/plugins/issTracker.php
DEMO: http://www.meteotemplate.com/template/plugins/issTracker/index.php

Enjoy

Jachym

EDIT: If you see the spinner just turning round and round it means too many people are currently connected to my site, so the API response is very slow. But it normally works fine.
Title: Re: Meteotemplate - new free website template
Post by: rainbow on April 14, 2016, 10:33:40 AM
Hi Jachym,

thank you very much for this plugin, it´s the perfect match for my ISS Live-stream!
Det
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 14, 2016, 10:53:24 AM
Hi Jachym. We have warnings out for rain today: http://www.meteoalarm.eu/en_UK/0/0/UK-United_Kingdom.html
 No warnings showing on the template though.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 14, 2016, 10:57:49 AM
It works fine, most likely it has just been published and your cache didn´t expire yet.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 14, 2016, 11:16:05 AM
I just checked your cache and there is nothing.

OK in that case, two options:
- incorrect setup in the settings of the block
- incorrect privileges, so no file can be written in the cache directory
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 14, 2016, 11:21:36 AM
I just checked your cache and there is nothing.

OK in that case, two options:
- incorrect setup in the settings of the block
- incorrect privileges, so no file can be written in the cache directory

The older site and the newer site are both exactly the same, same settings. The older site hasn't been touched, privileges are 0755 (which is how it has always been)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 14, 2016, 11:40:29 AM
Tried it on test server, downloaded the block again, went through the settings, set to "uk" and I have 16 warnings and cache file saved. Check the settings.php.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 14, 2016, 11:49:23 AM
Tried it on test server, downloaded the block again, went through the settings, set to "uk" and I have 16 warnings and cache file saved. Check the settings.php.

Well that's strange. In all the time I've used that block, I have always used 'gb' and it always worked.

Anyway, I have it working. However, the warnings don't make sense: http://www.warehamwx.com/template/indexDesktop.php#/

the warnings are only for rain, and 'Extreme high temperature' is showing up
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 14, 2016, 12:03:19 PM
I see it... problem is that when I checked the cache, it is what Meteoalarm is showing... those locations really have the code "5" assigned, which is "high temperatures"
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 14, 2016, 12:08:15 PM
I guess their whole RSS feed is completely messed up now, this is what I see for the Czech Republic:

(http://i67.tinypic.com/ajtqac.png)
Title: Re: Meteotemplate - New plugin
Post by: vreihen on April 14, 2016, 09:37:20 PM
it´s been a while since the last new plugin/block, so a new simple plugin is now available. It is called the ISS tracker.

Funny story - I was outside about an hour ago, and saw a bright star moving ESE.  I figured that it was the ISS, but had to confirm with an app on my phone just to confirm for two friends who were with me.  I wish that I had seen your post earlier, because I would have installed the new block and been able to reference my own web site to verify what I was seeing.....
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 14, 2016, 10:14:27 PM
HI Jachym,
I added the issTracker plugin and that looks nice www.komokaweather.com/j-template/plugins/issTracker/index.php.  While adding it in the menu I noticed that my asteroids.png icon has exploded, and the new issTracker stationBig.png and stationSmall.png icons also show up bigger than on your demo, and this is no concern.  The same asteroids.png shows up the normal size on my 5.0 version of the template.  I assume the asteroids.png change happened with the update to v6.0 as I hadn't noticed it before, but then not paid attention to it at the time.

I have copy and save the asteroid and iss station icons from your demo menu but they all show up larger on my menu.

Any suggestion where I can look to compare the asteroids.png display code in v6.0 to v5.0?  My v6.0 menu.php is the new version with all the previous links dropped in as per your instruction.

Paul
Title: Re: Meteotemplate - new free website template
Post by: gus on April 14, 2016, 11:40:52 PM
Hi Paul,
Check your menu.php
<img src="http://www.komokaweather.com//j-template/pages/astronomy/asteroids.png" class="astronommyIcon" alt="">
One too many m's in "astronommyIcon"
Gus
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 15, 2016, 12:51:23 AM
Thanks Gus =D&gt;
Yes changing astronommy fixed it.  Must have been a slip of the fingers when copying the <table> block for the new plugin and then didn't look at that part of the code, just playing with the source of the asteroids.png.

Only one more issue to resolve, ecForecast block.

Again, thanks for looking and finding the problem.
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2016, 05:01:00 AM
Thanks for helping Gus

Also, there is a bug in the ISS tracker script, I accidentaly hard-coded my own station location while testing it and the guy who was testing the script obviously did not notice this, I have a fixed version ready that I will release later this week. For now, just ignore the distance and pass times, the current location on the map is OK.
Thanks
Title: Re: Meteotemplate - new free website template
Post by: virusdunil on April 16, 2016, 09:32:37 AM
Salut Jachym..

A propos du plugin ISS...

Est ce possible d'ajouter en bas a gauche ,dans quelle direction il fut regarder pour voir son passage ?

Je suis désolé...mon anglais est partit pour le W-E  :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 10:00:44 AM
Bonne idée. Je vais le considérer pour actualisation future.
Title: Meteotemplate - New Plugin + plugin update
Post by: Jáchym on April 16, 2016, 10:53:32 AM
(http://i67.tinypic.com/33jl3ia.png)

Hi guys,

I hope you are enjoying the weekend.

Tide Heights

Several of you have asked for some kind of a plugin to display high tide and low tide times. The main problem was data source. NWS does not provide data that would be possible to download in bulk by a script and I really wanted to avoid HTML scraping, not to mention this would only work for the US anyway, other APIs that I found were great in terms of the ease of getting the info, but unfortunately the data itself was completely off.

I have therefore been looking for other ways and I found one source, which looked really good. I contacted the developers and have been granted permission for Meteotemplate users to use this (but please make sure you use the caching option in the settings, ideally set to 24 hours, the times do not change more often anyway).

So finally I was able to make this plugin. It shows you the local times for high and low tides, the corresponding heights, as well as times of sunrise, sunset and current time.

Information is visualized using a graph and a table.

Info/download: http://www.meteotemplate.com/web/plugins/tides.php
DEMO: http://www.meteotemplate.com/template/plugins/tides/index.php

ISS Tracker

I have also discovered a mistake I made in the ISS tracker plugin, the distance and pass times were not correctly calculated, which should hopefully now be fixed, simply download the new version 1.1 and since there is no set up necesary, simply replace the original file with the new one.

Enjoy
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 11:01:58 AM
One more thing I forgot to mention, the plugin is fully localized, which means new strings are available for translation. I have already inserted translations for the British, American and Czech language. Once new translations are submitted I will update the corresponding language files as soon as possible.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 16, 2016, 12:04:30 PM
Thanks Jachym,
I think I am current now...

However I couldn't find the tides for nearby Port Stanley on Lake Erie #-o http://www.tides.gc.ca/eng/station/Month?sid=12400&tz=EST&pres=2&type=1

Maybe we don't warrant recognition  ;)
Quote
Lake tides Large lakes such as Superior (https://en.wikipedia.org/wiki/Lake_Superior) and Erie (https://en.wikipedia.org/wiki/Lake_Erie) can experience tides of 1 to 4 cm, but these can be masked by meteorologically induced phenomena such as seiche (https://en.wikipedia.org/wiki/Seiche).[59] (https://en.wikipedia.org/wiki/Tide#cite_note-59) The tide in Lake Michigan (https://en.wikipedia.org/wiki/Lake_Michigan) is described as 0.5 to 1.5 inches (13 to 38 mm)[60] (https://en.wikipedia.org/wiki/Tide#cite_note-60) or 1 34 inches.[61] (https://en.wikipedia.org/wiki/Tide#cite_note-61)

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 12:10:09 PM
Hi,
well there isnt much I can do about that Paul, if it is not included in the station list available then either use a different location or do not install the plugin. I found maybe 10 different websites, the only one that had correct data was this one and the NWS.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 16, 2016, 05:08:17 PM
I probably put the  ;) in the wrong line...  I had used St John NB as the location for the plugin as I know they do get some tides there, so all is good.  We are a long ways away from where tides have an impact, not the 1-2 cm like Lake Erie :lol:

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 05:24:48 PM
Quote
We are a long ways away from where tides have an impact

Well.... my country is not even on the list :D :D :D

So that is also why it took me a while to do because I found like 5 websites and all 5 showed different times for the same location,.... and being a landlocked country, I had no clue which one is correct. I then went on some official national pages like the NWS and this way was able to find which ones are (hopefully) correct. This one seemed ok, but it is not a free API so I had to contact the website developers and ask them for permissions etc.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 16, 2016, 05:28:28 PM
I haven't gotten around to adding new stuff yet, very busy at the moment. I've also changed hosting, so I need to get my site working there.
The tides plugin could be perfect for me! I'm down on the South coast of England, and I go beach fishing/spinning a lot, and I have to read the tides carefully A: For fishing a tide up. B: Not to get stranded, as I do go to some tricky places. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 06:11:44 PM
I haven't gotten around to adding new stuff yet, very busy at the moment. I've also changed hosting, so I need to get my site working there.
The tides plugin could be perfect for me! I'm down on the South coast of England, and I go beach fishing/spinning a lot, and I have to read the tides carefully A: For fishing a tide up. B: Not to get stranded, as I do go to some tricky places. :)

I hope your hosting transfer goes smoothly and Im sure tides are important where you live :)
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 16, 2016, 06:23:53 PM
I haven't gotten around to adding new stuff yet, very busy at the moment. I've also changed hosting, so I need to get my site working there.
The tides plugin could be perfect for me! I'm down on the South coast of England, and I go beach fishing/spinning a lot, and I have to read the tides carefully A: For fishing a tide up. B: Not to get stranded, as I do go to some tricky places. :)

I hope your hosting transfer goes smoothly and Im sure tides are important where you live :)

I've had a nightmare with GoDaddy, so i went elsewhere. I found a new one using SSD's - got everything set up and migrated everything across, then found out, they don't allow you to FTP on port 21 unless you use implicit/explicit encryption, so that was no good for me running Cumulus. I managed to get a refund!
I then found another host using SSD's, did all the moving again, then they tell me I need to be whitelisted by the firewall to be able to use MySql remotely, and that can only be done by contacting a technician. The problem that causes is, my IP is dynamic. The way I get around it is by adding my own IP to the remote MySql - I'll do this if my internet goes down, fairly simple, the second host wouldn't allow this as they're far too security concious. I respect that, but they should make customers aware of these things.

Anyway, I've found YET another one, running on SSD's, set the server to be in Amsterdam and got everything going (almost)no issues, all straight forward, and its very fast!

What a faf it has all been!  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 16, 2016, 08:02:46 PM
I've been  viewing my error log in cpanel while i'm setting up my new hosting- handy to fix any issues..
I've spotted this:

Code: [Select]
2016-04-17 01:59:56.234 [INFO] [xx.xx.xx.xxx:60724] File not found [/home/warehamw/public_html/template/fonts/digital-7-mono.ttf]
I think it may be to do with the gauges block, however, there's no fonts folder anyway.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 08:16:24 PM
This shows up on all Meteotemplate pages now. I noticed it too. It does not in any way affect the functionality. The template fonts are dynamically loaded from Google Fonts repository, my guess is that this font is no longer included there.

I will delete it in the next version, but since this has no effect on the page as such right now, I will not release it as "urgent bug fix"
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 16, 2016, 08:28:36 PM
This shows up on all Meteotemplate pages now. I noticed it too. It does not in any way affect the functionality. The template fonts are dynamically loaded from Google Fonts repository, my guess is that this font is no longer included there.

I will delete it in the next version, but since this has no effect on the page as such right now, I will not release it as "urgent bug fix"

Ahh - That's ok then.
I seem to be seeing a lot more errors (not meteotemplate) since moving to this new host, i'm guessing something is set somewhere, to show up every little detail? On GoDaddy, it would just show errors that are likely to cause serious issues with web pages.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2016, 09:23:09 PM
I guess it could be notifications turned on. Notifications are not errors and so you can turn it off, it is more for the developer to alert him something could not be the way they planned it (though sometimes it could).

See if you can turn it off somewhere in your cPanel, or do it in some globally included PHP file by inserting the following line:

Code: [Select]
error_reporting(E_ALL & ~E_NOTICE);
However the above command will only turn off the notices displayed on the actual page, you need to do this in your cPanel for it not to appear in your error log.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 17, 2016, 11:10:50 AM
Jachym,

Can you check my World Weather Online forecast page.  Doesn't seem to connect.

http://www.jayswoodfurniture.com/meteo/pages/forecast/worldweatheronline.php

Not sure what the problem might be.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 17, 2016, 11:19:25 AM
Hi Jay,

it could be a problem with your API key. This page will be discontinued in the next version anyway.

I will remove WWO from all pages and plugins in v7.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 17, 2016, 11:22:17 AM
OK. Thanks.

I will remove it from the menu.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 17, 2016, 11:33:52 AM
Probably the best thing to do Jay...

This page was created for the original template, v1. Since then I have created blocks which use Yahoo, WU, NWS, EC Canada, yrNO etc. The problem with WWO is that since Apr 4, 2016 it is no longer a free API (540USD/yr... unbelievable for such unreliable service...). They said that the already existing accounts will remain active and free, but no more free registrations. But my guess is they will more and more restrict even the existing free ones and it will be even more and more unreliable.

And unfortunately, my guess is that Yahoo will soon be the same thing, taking into account how "profitable" Yahoo is now... and we can already see the first steps towards this by implementing the authentication.
Title: Meteotemplate - new plugin
Post by: Jáchym on April 19, 2016, 10:46:17 AM
(http://i64.tinypic.com/wr1cgl.png)

Hi guys,
I have created a new plugin. I actually think it is an extremely useful one and hard to believe I haven´t done this earlier.

The plugin is called “Deviations” and what it does it, it shows you differences between a selected period and the corresponding long-term average.

The plugin includes several pages, one that shows you a summary of all data, and then detailed pages for the particular parameters. Data is presented in sortable tables, interactive graphs and heatmaps. It is grouped by years, months and the individual days.

No need for any settings, just upload to your plugins folder, add a link to the menu and you are done 

Enjoy

Jachym

DEMO: http://www.meteotemplate.com/template/plugins/deviations/index.php
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 19, 2016, 11:22:03 AM
Jachym,

Great plugin!  Easy to see why some crops didn't do well last year.  Cooler growing season.  Thanks for the work.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2016, 11:39:00 AM
Thanks Jay, makes me particularly happy that it has some practical use :)
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 19, 2016, 04:11:46 PM
Very good work Jachym  =D&gt;

I think I'm a big fan of statistics and at this plugin found very interesting.

As a curiosity, I commented that the value of the total rainfall of the month of April / 2016, is incorrect in this plugin:

http://kocher.es/meteotemplate/plugins/deviations/indexR.php (http://kocher.es/meteotemplate/plugins/deviations/indexR.php)

http://kocher.es/meteotemplate/pages/station/climateR.php (http://kocher.es/meteotemplate/pages/station/climateR.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2016, 05:23:39 PM
Hi Javier,
well yes and no. It is a sligthly different calculation.

In the normal page, it simply shows you what the precipitation of that month is.

In this plugin however, the point is to compare values. So in a situation like this - i.e. this only happens for the current month, it converts the amount to the equivalent it will be if it was the full month like this.

For all the months it will show you the total as usual. Except for the month that is just now and not finished yet.

In order for this to be comparable, it interpolates the amount measured so far for the whole month, so that you can compare it with other Aprils. Because if it simply used the total, it would obviously show much less, since the month is not over, and it would be misleading. This plugin is especially intended for comparing comparable data.

But as I said, this is only the case of rain (not the other parameters) and only the value for the current, so far unfinished, month.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 19, 2016, 05:43:46 PM
I added the deviations plugin earlier. That's a great statistical plugin, extremely useful! :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2016, 05:56:58 PM
Hi Tina,
Im glad you like it, yes I agree, very useful, it does not happen very often that I would look at my own data :D I only use it for testing and running the demo, but this time even I was interested :D It should have been included long time ago in the base template, but there were a few obstacles that I didn't know how to do before, which is why I only made it now...
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 19, 2016, 06:21:37 PM
Hi Javier,
well yes and no. It is a sligthly different calculation.

In the normal page, it simply shows you what the precipitation of that month is.

In this plugin however, the point is to compare values. So in a situation like this - i.e. this only happens for the current month, it converts the amount to the equivalent it will be if it was the full month like this.

For all the months it will show you the total as usual. Except for the month that is just now and not finished yet.

In order for this to be comparable, it interpolates the amount measured so far for the whole month, so that you can compare it with other Aprils. Because if it simply used the total, it would obviously show much less, since the month is not over, and it would be misleading. This plugin is especially intended for comparing comparable data.

But as I said, this is only the case of rain (not the other parameters) and only the value for the current, so far unfinished, month.

   OK, perfect

I have to add to my "Central" statistical:   :grin:

                   http://kocher.es/central.php (http://kocher.es/central.php)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 19, 2016, 08:04:58 PM
Jachym,

  I've noticed that for custom pages created that the font for the footer is larger than other pages.  I've seen this on others custom web pages also.  An example can be seen below:

http://www.harpersferry-weather.com/meteotemplate/custom/sat.php (http://www.harpersferry-weather.com/meteotemplate/custom/sat.php)

Thanks,

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2016, 08:16:30 PM
Hi John,
I actually see more problems than just the font size, for example the image in the header. This could be some clash in the CSS, it is hard to tell because this is your custom page and I don't know what the styling and HTML of the elements included looks like.
Title: Re: Meteotemplate - new free website template
Post by: gus on April 19, 2016, 09:59:20 PM
Hi John,

The html validator shows several errors that may be causing problems.

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.harpersferry-weather.com%2Fmeteotemplate%2Fcustom%2Fsat.php

Gus
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 20, 2016, 07:35:06 AM
Hi John,

The html validator shows several errors that may be causing problems.

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.harpersferry-weather.com%2Fmeteotemplate%2Fcustom%2Fsat.php

Gus

Thanks Gus!  The main thing that was messing things up was that I needed to add <!DOCTYPE html> at the top.  I still have some other errors that I will work on to clear up.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2016, 07:40:19 AM
Hi John,
I could look at it if you cannot fix it, but I would need you to send me all the files by email. These are your customized scripts so I need to see the code to be able to do anything.
Title: Meteotemplate - new block - Trends
Post by: Jáchym on April 20, 2016, 12:40:43 PM
Hi guys,

I have made another block, which uses your station data. It shows you the trends for various parameters for the selected period (1h, 3h, ..... month).

The trend is shown as a smoothened line graph and the overall regression value of trend is given. The block uses Ajax for updating, so no need to reload anything.

Just upload to your blocks directory. It will automatically appear in your admin blocks settings, but there will not be any "settings" link, only the version check, because this block requires no set up.

Best regards

Enjoy

http://www.meteotemplate.com/web/blocks.php

(http://i67.tinypic.com/258tmaq.png)
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 20, 2016, 01:30:28 PM
Greetings Jachym

I found a chart that perhaps it would be interesting to incorporate into the script of deviations.

It is a graphic Highcharts type "bubble" that relates the deviations of the rainfall (in %) and temperature (in şC) per year. These deviations determine the position and color of the bubble (the perimeter and the core):

    http://kocher.es/graficos-highcharts/ecart_temperature_pluie_normes_arriola.php (http://kocher.es/graficos-highcharts/ecart_temperature_pluie_normes_arriola.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2016, 01:32:57 PM
Hi Javier,

yes I know this graph, I use it in one of the plugins, the one about comparing variables for countries.

It is a nice idea, remember that it was version 1, so I could make something similar for update.
Title: Re: Meteotemplate - new block - Trends
Post by: SpringHillWeather on April 21, 2016, 08:14:43 AM
Hi guys,

I have made another block, which uses your station data. It shows you the trends for various parameters for the selected period (1h, 3h, ..... month).

The trend is shown as a smoothened line graph and the overall regression value of trend is given. The block uses Ajax for updating, so no need to reload anything.

Just upload to your blocks directory. It will automatically appear in your admin blocks settings, but there will not be any "settings" link, only the version check, because this block requires no set up.

Best regards

Enjoy

http://www.meteotemplate.com/web/blocks.php

(http://i67.tinypic.com/258tmaq.png)

Thank you Jachym for creating another useful block.  It's been added and looks great.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on April 21, 2016, 04:13:14 PM
Hi Jachym:

Thanks for all the new updates.  Great stuff.

I'm seeing an odd problem with my site.  It seems that when the current block refreshes it "blinks" the entire page. Refresh interval is set to 30 seconds.
I've tested this in Firefox and Chrome and get the same result.  Have you seen anything like this elsewhere?

Thanks.

http://www.kpw3.com/meteo/indexDesktop.php (http://www.kpw3.com/meteo/indexDesktop.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2016, 05:10:42 PM
Hi,
Im not sure, but when I looked at your site, it looks fine, the only thing that blinks during update is the time in the current block, which is normal
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 21, 2016, 05:48:28 PM
Hi Jachym:

Thanks for all the new updates.  Great stuff.

I'm seeing an odd problem with my site.  It seems that when the current block refreshes it "blinks" the entire page. Refresh interval is set to 30 seconds.
I've tested this in Firefox and Chrome and get the same result.  Have you seen anything like this elsewhere?

Thanks.

http://www.kpw3.com/meteo/indexDesktop.php (http://www.kpw3.com/meteo/indexDesktop.php)

Yep - Your site is jumping for me too, on Opera Developer.
It pushed all the center blocks down and back up again, every time it updates.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on April 21, 2016, 05:55:44 PM
@Mapantz That's what I'm seeing, too. The whole page flashes.  If this is not happening to anyone else it must be something specific to my site.

Hmmmm..... :?: :?: :?:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2016, 05:57:29 PM
Interesting... I dont see it. I only see the time in the current block disappearing for like a second and then new values being inserted.

Either way, I know this was happening in the past, so my suspicion is that you might be using an older version of this block, or some other block that it clashes with (could be the rssFeed, that one was also causing problems, but also should be fixed now)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on April 21, 2016, 06:04:15 PM
Fairly certain all the blocks are the current versions but I'll double check.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2016, 06:16:19 PM
This is weird.... I checked again. And I really dont see any problem at all. The current block seems to be working perfectly fine for me. Every thirty seconds, the time disappears for like a split of a second and is replaced immediately by a new time and values, nothing moving, flashing or anything.

I am using the latest version of Chrome.

I am currently at home and on my very old laptop I have limited possibilities with regards to some testing. So I noted it down and I will have a look tomorrow when Im in my office where I have a better PC and several browsers installed.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 21, 2016, 07:32:44 PM
I'm using Chrome but I see the middle blocks moving down for a second when it is updating.
Tom
Edit:  I just noticed mine is doing the same thing.  Never noticed this before.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2016, 07:40:40 PM
I'm using Chrome but I see the middle blocks moving down for a second when it is updating.
Tom
Edit:  I just noticed mine is doing the same thing.  Never noticed this before.

Good news!!! Your site does NOT work fine for me :D Which means I can now try to find a fix.

It is a bit too late now, but I will look at it tomorrow and update the blog as soon as I find a solution, it is the spinner CSS causing it :) Thanks Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2016, 07:45:40 PM
OK guys, I think I found it, before I release it as update, you can test it for me and let me know if it helped.

In your currentBlock.php,

comment out line 122:
Code: [Select]
$("#currentTimestampValue").html("<span class='spinner' id='updateSpinner'>Loading…</span>");
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 21, 2016, 08:09:32 PM
Jachym,
That fixed it for me.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2016, 08:15:14 PM
Great and thanks for letting me know Tom. So now I know exactly what is/was causing it and I will update the block tomorrow.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on April 21, 2016, 10:00:30 PM
Same here, Jachym.  That seems to have done it.  Glad to know I wasn't going crazy!  :roll:

Thanks again.
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on April 22, 2016, 06:56:13 AM
Hi Jachym,

The trendblock is not good working. :(

Current conditions:
now 12:50: 21.1 C
yesterday 12:50: 17.8 C
difference
+3.3 C
but trend displaying 24h: - 4.8 C.
Humidity
now: 30 % 12:50
yesterday 12:50 : 31 %
difference: - 1%
but trend displaying 24h: + 20 %

Something here is very bad.  :?:
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 22, 2016, 07:09:30 AM
Yesterday morning was cold around 38F.  This morning it is 57F.  Much warmer but the 24 hour trend says -2.09F.  If I look at my interactive graph for 24 hours it depicts what the actual conditions were.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 22, 2016, 07:38:27 AM
Guys, the number is not the difference between what it was like -24h.

Example:
Today 12PM - 10 degrees
Yesterday 12PM - 5 degrees

The trend does not have to be -5. That would be what you see in the "history" page, that one takes the exact difference between the conditions time - X.

However, the trend is a regression coefficient. It takes into account all the number from that period, not just the number that was exactly -time x. So in the above example, the trend could even be negative, even though it was colder at the same time yesterday.

All the values from that interval are taken into account. It is as if you plotted all the values on a graph and then drew a linear trend line. The number is then the slope of that line.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 22, 2016, 07:42:14 AM
Hi Jachym,

The trendblock is not good working. :(

Current conditions:
now 12:50: 21.1 C
yesterday 12:50: 17.8 C
difference
+3.3 C
but trend displaying 24h: - 4.8 C.
Humidity
now: 30 % 12:50
yesterday 12:50 : 31 %
difference: - 1%
but trend displaying 24h: + 20 %

Something here is very bad.  :?:

So in your case for example, for the humidity.
I just looked at the humidity at your station for the past 24h. And I can see that 24h ago, it was almost the same, however, then it rose substantially and was much higher for most of the 24h period. Now in the morning, it dropped down to 30% again, but in that 24period, it was most of the time much higher, which is why you see such large trend upwards. The number looks at the period as a whole.
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on April 22, 2016, 08:03:33 AM
Thanks Jachym,

I see. The Weather Display misled. There the trend calculates from the simply difference. I was compared. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 22, 2016, 08:06:47 AM
No problem.

As I said, what you were referring to is the difference, not trend. That would be what you have in your history page (I guess I could make a block for that too...). This is simply linear regression coefficient from the selected period. This number describes the trend much better, but it is better to use either in shorter intervals (3h, 6h) or the opposite - week, month etc. - where you have equivalent periods (several 24h cycles, several hour cycles). The 24h one depends a lot on the time of the day.

But the main point is, if for example you had past day data like this:
25,15,10,5,5,5,5,5,20

Then the trend number would be negative. Because the trend is temperature going down, even though it now suddenly rose, the overall trend for that period is downwards
Title: Meteotemplate users
Post by: Jáchym on April 22, 2016, 11:40:43 AM
(http://i66.tinypic.com/4l59o7.png)

Hi guys,
so the community of Meteotemplate users now covers all the contintents!

Thanks to all

http://www.meteotemplate.com/web/users.php

P.S. OK, technically speaking we are still missing one, so if you happen to know someone from Antarctica, please ask them if they were interested in also using it ;)
Title: Re: Meteotemplate users
Post by: Skyview on April 22, 2016, 04:37:27 PM
P.S. OK, technically speaking we are still missing one, so if you happen to know someone from Antarctica, please ask them if they were interested in also using it ;)

Contact the scientists down there doing research, maybe they'd be interested  8-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 22, 2016, 05:05:20 PM
LOL

the only problem is that (at least this is how it is done on the Czech station), the station data is not transmitted in real time. The station is more or less autonomus for maybe 50 weeks/yr and then every spring a group of mostly geologists and also a few meteorologists, come to the station, live there for two weeks, while they download all the past data which they then process and analyze at home
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 22, 2016, 06:14:44 PM
the only problem is that (at least this is how it is done on the Czech station), the station data is not transmitted in real time. The station is more or less autonomus for maybe 50 weeks/yr and then every spring a group of mostly geologists and also a few meteorologists, come to the station, live there for two weeks, while they download all the past data which they then process and analyze at home

If you want something done right, leave it up to us Americans! :lol:  It appears that there are observations published every 6 hours from the south pole:

http://weather.noaa.gov/weather/current/NZSP.html (http://weather.noaa.gov/weather/current/NZSP.html)

https://www.wunderground.com/global/stations/89009.html (https://www.wunderground.com/global/stations/89009.html)

I got a chuckle out of the WU astronomy information block:

Code: [Select]
Astronomy
Apr. 23, 2016 Rise Set
Actual Time Sun does not rise Sun does not rise
Civil Twilight Sun does not rise Sun does not rise
Nautical Twilight Sun does not rise Sun does not rise
Astronomical Twilight Sun does not rise Sun does not rise

Moon No Moon Rise 12:null null null (null/null)

Length of Visible Light 0h 00m

Length of Day 0h 00m
Tomorrow will be 0m0s shorter.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 22, 2016, 06:21:46 PM
Nice :D

Well, theoretically.... it would probably work just fine. I have included all the abbreviations, country ISO code, there is even a flag for it :D

There would probably be only two problems, not really related to the weather data:
1. there could be a problem with the timezone, especially if it was right at the South Pole :D
2. some scripts might not work 100% correct due to the thing you already mentioned - no sun rise or set

But still, if you just happen to know someone who lives in Antarctica or have friends there, let them now, I am more than happy to help them and willing to install the template for them from scratch :D :D - given they will agree with being included in the user map of course  :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 23, 2016, 07:24:28 AM
The time zone problem has been addressed by convention:

https://en.wikipedia.org/wiki/Amundsen%E2%80%93Scott_South_Pole_Station#Time_zone (https://en.wikipedia.org/wiki/Amundsen%E2%80%93Scott_South_Pole_Station#Time_zone)

Quote
Time zone

The South Pole sees the sun rise and set only once a year. Due to atmospheric refraction, these do not occur exactly on the September equinox and the March equinox, respectively: the sun is above the horizon for four days longer at each equinox. The place has no solar time; there is no daily maximum or minimum solar height above the horizon. The station uses New Zealand time (UTC+12, UTC+13 during daylight saving time) since all flights to McMurdo station depart from Christchurch and therefore all official travel from the pole goes through New Zealand.

The zone identifier in the IANA time zone database is Antarctica/South Pole.

There's also a "live" webcam available...when it doesn't freeze!

http://www.esrl.noaa.gov/gmd/obop/spo/livecamera.html (http://www.esrl.noaa.gov/gmd/obop/spo/livecamera.html)

A few unofficial web sites:

http://www.adventure-antarctica.de/ (http://www.adventure-antarctica.de/)

http://www.southpolestation.com/ (http://www.southpolestation.com/)

If I were you, I would feed the available METAR data and camera feeds into a demo template, to both fill in the big gap on your continent list and also demonstrate that your code is so flexible that it even works at the south pole.....
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 23, 2016, 08:06:56 AM
Sigh... go away on a business trips for a few days and Jachym has been busy again  :grin:

Coincidentally Jachym I was in Edinburgh, your temporary home, weather was glorious amazingly!

Love the deviations plugin, statistical heaven. Great work as always.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 23, 2016, 08:57:27 AM
The time zone problem has been addressed by convention:

https://en.wikipedia.org/wiki/Amundsen%E2%80%93Scott_South_Pole_Station#Time_zone (https://en.wikipedia.org/wiki/Amundsen%E2%80%93Scott_South_Pole_Station#Time_zone)

Quote
Time zone

The South Pole sees the sun rise and set only once a year. Due to atmospheric refraction, these do not occur exactly on the September equinox and the March equinox, respectively: the sun is above the horizon for four days longer at each equinox. The place has no solar time; there is no daily maximum or minimum solar height above the horizon. The station uses New Zealand time (UTC+12, UTC+13 during daylight saving time) since all flights to McMurdo station depart from Christchurch and therefore all official travel from the pole goes through New Zealand.

The zone identifier in the IANA time zone database is Antarctica/South Pole.

There's also a "live" webcam available...when it doesn't freeze!

http://www.esrl.noaa.gov/gmd/obop/spo/livecamera.html (http://www.esrl.noaa.gov/gmd/obop/spo/livecamera.html)

A few unofficial web sites:

http://www.adventure-antarctica.de/ (http://www.adventure-antarctica.de/)

http://www.southpolestation.com/ (http://www.southpolestation.com/)

If I were you, I would feed the available METAR data and camera feeds into a demo template, to both fill in the big gap on your continent list and also demonstrate that your code is so flexible that it even works at the south pole.....

Hmm... no :D This would be against my philosophy - I dont steal data, which this in a sense would be :D I have a different idea, how about you make a little sacrifice to the community and move to Antarctica :D I would appreciate it and Im sure others will also be interested in what you then measure there :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 23, 2016, 10:38:16 AM
Jachym,
Do you want me to contact our local Labatt's brewery and see what we can arrange for the North Pole?  http://www.newswire.ca/news-releases/north-bound-budweiser-is-lighting-up-the-world-for-canada-567500411.html

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 23, 2016, 10:51:15 AM
LOL why not Paul...


Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 23, 2016, 11:48:12 AM
I have a different idea, how about you make a little sacrifice to the community and move to Antarctica :D I would appreciate it and Im sure others will also be interested in what you then measure there :D

Visiting Antarctica is on my bucket list.  I don't know how much you know about the process of getting onto a research team there, but I would be disqualified on the first round of screening for medical reasons.  Some of the cruise excursion operators would disqualify me as well. :-(

I have a friend who was on a research team about 10 years ago, and has the answer for the rhetorical question about how many polar explorers does it take to fix a snowmobile.....  #-o
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 23, 2016, 12:06:04 PM
I know quite a lot about it :D

The uni where I went to administers the Czech station and I knew a guy who went there, he studied geology. I also like cold so it was on my wish list, but right now I probably could only go there as a tourist, which is a relatively expensive trip :D

it is interesting though, my colleague just came from Svalbard, also interesting place and much more accessible for me.
Title: Re: Meteotemplate - new free website template
Post by: Skyview on April 23, 2016, 05:26:55 PM
it is interesting though, my colleague just came from Svalbard, also interesting place and much more accessible for me.

The land of the Ice Bears...lol!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 23, 2016, 10:33:13 PM
I know I brought this up, but is there any way to use the data from the website below to add it as a block on a page?  It's basically a map.  http://www.lightningmaps.org/realtime?lang=en#m=sat;r=0;t=4;s=0;d=2;a=2;dc=0;o=0;n=0;ra=1;dn=1;i=1;y=42.09520291884104;x=-70.18996455351216;z=5;
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on April 24, 2016, 01:40:25 AM
Jachym,

I finally found time to upgrade my site to 6.0 and I've got everything working except the Block version checking.  "My version" is fine, but the "Latest version" column shows 0.0 for all blocks.  After getting everything up to date, I'm looking forward to taking advantage of this new feature.

Also, my site is no longer showing up on the Meteotemplate Network page.  Did it get dropped because my server is too slow?

Thanks again for everything you've done to create an awesome template.

-Chris

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 09:08:28 AM
I know I brought this up, but is there any way to use the data from the website below to add it as a block on a page?  It's basically a map.  http://www.lightningmaps.org/realtime?lang=en#m=sat;r=0;t=4;s=0;d=2;a=2;dc=0;o=0;n=0;ra=1;dn=1;i=1;y=42.09520291884104;x=-70.18996455351216;z=5;

Hi Jeff,
yes i know Blitzortung very well. Unfortunately the answer is no, this cannot be used.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 09:15:49 AM
Jachym,

I finally found time to upgrade my site to 6.0 and I've got everything working except the Block version checking.  "My version" is fine, but the "Latest version" column shows 0.0 for all blocks.  After getting everything up to date, I'm looking forward to taking advantage of this new feature.

Also, my site is no longer showing up on the Meteotemplate Network page.  Did it get dropped because my server is too slow?

Thanks again for everything you've done to create an awesome template.

-Chris

Hi Chris,
if the latest version shows 0.0 then it means your server blocks the file_get_contents command which is used to get data about latest files from my server at meteotemplate.com. It surprises me however, because this actually sometimes happens and I have seen this in the past, but if that was the case, you would run into problem at many more sites where the same command is used.

Either way, see if you can enable it somewhere in your cPanel or server settings. What you need is enabled file_get_contents from external websites.

With regards to the network.... I just checked and your site should be included, but it isnt. I really dont know why it is not loading data from your site, yes it could be due to the server speed, either way, I am afraid I will have to stop the network soon anyway. There are two problems. First is - the more users, the higher load on the server and the harder it is to get within that 30s timeframe, which is fixed by my provider. Second, the more users makes things even worse not only by the fact there are more data to load, but also by the fact I obviously have more visits to the site and that loads the server and takes up more resources.

Obviously I am quite happy about more users and visits, and I therefore prioritized users and the network has a lower priority so that is why it is often failing, sometimes several intervals are skipped. I will see, if this continues to get worse I will just have a list of users. Not much I can do about this unfortunately.

Title: City conditions - Pressure problem
Post by: Jáchym on April 24, 2016, 09:19:25 AM
Jeff pointed out to me there is a problem with the City Conditions plugin. The pressure values did not correspond to the units. In his case it was showing "inHg" and a value in the range of 980-1030, which obviously is hPa, not inHg.

I went through all the scripts and everything looked ok to me. So I then checked the Yahoo output, here is part of the output I just downloaded for Prague:

Code: [Select]
<results>
        <channel>
            <units>
                <distance>mi</distance>
                <pressure>in</pressure>
                <speed>mph</speed>
                <temperature>F</temperature>
            </units>
            <title>Yahoo! Weather - Prague, Prague, CZ</title>
            <link>http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-796597/</link>
            <description>Yahoo! Weather for Prague, Prague, CZ</description>
            <language>en-us</language>
            <lastBuildDate>Sun, 24 Apr 2016 03:02 PM CEST</lastBuildDate>
            <ttl>60</ttl>
            <location>
                <city>Prague</city>
                <country>Czech Republic</country>
                <region> Prague</region>
            </location>
            <wind>
                <chill>41</chill>
                <direction>305</direction>
                <speed>7</speed>
            </wind>
            <atmosphere>
                <humidity>41</humidity>
                <pressure>976.0</pressure>
                <rising>0</rising>
                <visibility>16.1</visibility>
            </atmosphere>
            <astronomy>

Notice the following two lines:
<units>
                <distance>mi</distance>
                <pressure>in</pressure>

<atmosphere>
                <humidity>41</humidity>
                <pressure>976.0</pressure>
                <rising>0</rising>
                <visibility>16.1</visibility>
            </atmosphere>

As you can see.... Yahoo reports a pressure given in inHg and a value of 976. The script then therefore compares this and assumes there is no conversion necessary and just outputs 976. To make things worse, the current pressure in Prague is approximately 1008hPa....

Again, this is something I cant do much about other than hope they will fix it. It used to work fine, I am not sure for how long this has been going on, I will try to see if other people noticed it as well.

EDIT:

There we go.... https://community.openhab.org/t/yahoo-weather-api-returning-bad-value-for-pressure/9537
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 10:00:32 AM
Hi Jachym,
Yes from my site, mine and all other are showing in the range of 30000 plus when hPa selected and 1000 when inHg selected in the page view settings.

Paul




Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 10:05:53 AM
Makes sense, because in hPa, it assumes the value passed is in inHg and so applies the multiplication.

It is a known bug - unfortunately in this case "known" probably does not mean much to Yahoo.... and we can only hope that known at least means "being worked on"
Title: Meteotemplate - New plugin - Data Quality Control
Post by: Jáchym on April 24, 2016, 11:16:36 AM
(http://i66.tinypic.com/u5uf7.png)

Hi guys,

a new plugin is now available - data quality control. It is intended especially for you as a webmaster to find nonsense and potentially suspicious or incorrect values. The plugin is divided into several sections.

Main features
- graphical and tabular overview of gaps in data
- graphical and tabular overview of spikes (rapidly changing values, likely to be errors)
- graphical and tabular overview of outliers (numbers outside normal expected range)
- graphical and tabular overview of nonsense values (numbers which cannot be right, eg. negative wind speed etc.)
- direct link to correct these values via your admin password

Those of you who have been using Meteotemplate for longer may still remember the dbInfo page, which unfortunately I had to discontinue because of the errors it was showing.

I have thought about how to overcome these. The problem was that querying the whole database will often exhaust the memory allocated to PHP. This can be set in the server settings, however most webhosting providers have this preset and it cannot be changed and even the command you can use to increase the memory, cannot override this setting (as is the case of my webhosting too...). After lot of thinking and testing various things I came up with a workaround. The query is first split into chunks, which are analyzed separately and then finally the results are aggregated again. However - please take this feature as still experimental, I need more people to confirm this is working ok.

This plugin can potentially be very useful, but it is very important that you really take the time and read the install instructions, how it works and then set it up correspondingly.

DEMO: http://www.meteotemplate.com/template/plugins/dataCheck/index.php

Download/Info: http://www.meteotemplate.com/web/plugins/dataCheck.php

Note: The plugin is fully localized and I will add the corresponding language strings shortly (today or tomorrow)

Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 11:43:58 AM
Hi Jachym,
I have left all the settings as default.  When running the plugins/dataCheck/index.php I get this
Parse error:  syntax error, unexpected end of file in /home/content/96/5379896/html/j-template/plugins/dataCheck/gapLoader.php on line 1938

Line 1938 is the last line in gapLoader.php

It doesn't look like a memory error as I have tried increasing that 1 by 1 to 10 all with the same error.
Any suggestions where to look?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 11:49:33 AM
Hi Paul,
this is the error I have seen several times on your server. Im not sure why it does that. I will have to look where the problem is, but hopefully this is just you and overall the plugin works. I remember this error popping up many times.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 11:50:19 AM
I am doing some comparison on the stationCompare plugin www.komokaweather.com/j-template/plugins/stationCompare/index.php (http://www.komokaweather.com/j-template/plugins/stationCompare/index.php).  Anyone using that plugin on your site would you mind posting your URL to it or send by PM. 

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 24, 2016, 11:53:29 AM
I am doing some comparison on the stationCompare plugin www.komokaweather.com/j-template/plugins/stationCompare/index.php (http://www.komokaweather.com/j-template/plugins/stationCompare/index.php).  Anyone using that plugin on your site would you mind posting your URL to it or send by PM. 

Thanks,
Paul

this mine http://apeldoornmeteo.nl/plugins/stationCompare/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 11:58:23 AM
OK, can please someone confirm if the data control plugin works? I just need to make sure this error is only on Paul's server, which I know sometimes shows unexpected behavior
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 12:01:09 PM
Hi Jachym,
I had previously done a quick check for <? (with a space after ?) and didn't find any but a further check of each <? (without a space) occurance have found a few and will fix those and then report.

Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 24, 2016, 12:04:12 PM
I am doing some comparison on the stationCompare plugin www.komokaweather.com/j-template/plugins/stationCompare/index.php (http://www.komokaweather.com/j-template/plugins/stationCompare/index.php).  Anyone using that plugin on your site would you mind posting your URL to it or send by PM. 

Thanks,
Paul
Mine is here http://www.sanfordweather.com/meteo//plugins/stationCompare/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 12:06:11 PM
Paul I found it too, there was one more problem, it is now fixed, do not modify the file on your server, it works now
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 24, 2016, 12:07:25 PM
Seems to bee working here but think I've got to play with the pre-loaded limits!!

http://www.sanfordweather.com/meteo//plugins/dataCheck/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 12:10:07 PM
Hi Jachym,
I changed 8 occurrences and now it works (and can give you the line numbers if needed).  Thanks for the reminder.

I will now look at the results.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Paul on April 24, 2016, 12:12:42 PM
Data Checker works great for me Jachym, very useful. Great job.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 12:15:48 PM
Paul, I adjusted one more thing on your server and works fine now, I also updated the download file in case someone had similar problems. It should now all be working.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 12:28:14 PM
Jachym,
Thanks, I will download so I have the current files

Bill,
Thanks, I had looked on your site but wasn't able to find the link to stationCompare on the Menu.  I've now looked at it and it is very helpful, yours is behaving the same as mine.

Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 24, 2016, 12:37:34 PM
OK, can please someone confirm if the data control plugin works? I just need to make sure this error is only on Paul's server, which I know sometimes shows unexpected behavior
I m not by my pc will install tommorow and let you know
Title: Re: Meteotemplate - New plugin - Data Quality Control
Post by: SpringHillWeather on April 24, 2016, 12:41:16 PM
(http://i66.tinypic.com/u5uf7.png)

Hi guys,

a new plugin is now available - data quality control. It is intended especially for you as a webmaster to find nonsense and potentially suspicious or incorrect values. The plugin is divided into several sections.

Main features
- graphical and tabular overview of gaps in data
- graphical and tabular overview of spikes (rapidly changing values, likely to be errors)
- graphical and tabular overview of outliers (numbers outside normal expected range)
- graphical and tabular overview of nonsense values (numbers which cannot be right, eg. negative wind speed etc.)
- direct link to correct these values via your admin password

Those of you who have been using Meteotemplate for longer may still remember the dbInfo page, which unfortunately I had to discontinue because of the errors it was showing.

I have thought about how to overcome these. The problem was that querying the whole database will often exhaust the memory allocated to PHP. This can be set in the server settings, however most webhosting providers have this preset and it cannot be changed and even the command you can use to increase the memory, cannot override this setting (as is the case of my webhosting too...). After lot of thinking and testing various things I came up with a workaround. The query is first split into chunks, which are analyzed separately and then finally the results are aggregated again. However - please take this feature as still experimental, I need more people to confirm this is working ok.

This plugin can potentially be very useful, but it is very important that you really take the time and read the install instructions, how it works and then set it up correspondingly.

DEMO: http://www.meteotemplate.com/template/plugins/dataCheck/index.php

Download/Info: http://www.meteotemplate.com/web/plugins/dataCheck.php

Note: The plugin is fully localized and I will add the corresponding language strings shortly (today or tomorrow)

Enjoy

Jachym

Nice job Jachym on this plugin.  Very helpful fixing missing pressure readings on on several entries.  This was causing the graph to be off and now it looks much better after cleaning up the entries.  Still playing around to see if anything else was way off but it was easy to fix 0.00 entries!

Thank you!!!

SIW
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 12:51:42 PM
Paul, Bill:

I figured out what was causing the problem with the station comparison. I accidentally copied the incorrect file, in other words, I fixed the issue for version 1.1 and then zipped version 1.0 in the 1.1 package... so it wasnt fixed.

In your case the reason why you two are seeing this is because you are making conversions. Please try re-downloading the plugin for version 1.1 and let me know if it helped.

Sorry for that
Title: Re: Meteotemplate - New plugin - Data Quality Control
Post by: Jáchym on April 24, 2016, 12:52:20 PM
(http://i66.tinypic.com/u5uf7.png)

Hi guys,

a new plugin is now available - data quality control. It is intended especially for you as a webmaster to find nonsense and potentially suspicious or incorrect values. The plugin is divided into several sections.

Main features
- graphical and tabular overview of gaps in data
- graphical and tabular overview of spikes (rapidly changing values, likely to be errors)
- graphical and tabular overview of outliers (numbers outside normal expected range)
- graphical and tabular overview of nonsense values (numbers which cannot be right, eg. negative wind speed etc.)
- direct link to correct these values via your admin password

Those of you who have been using Meteotemplate for longer may still remember the dbInfo page, which unfortunately I had to discontinue because of the errors it was showing.

I have thought about how to overcome these. The problem was that querying the whole database will often exhaust the memory allocated to PHP. This can be set in the server settings, however most webhosting providers have this preset and it cannot be changed and even the command you can use to increase the memory, cannot override this setting (as is the case of my webhosting too...). After lot of thinking and testing various things I came up with a workaround. The query is first split into chunks, which are analyzed separately and then finally the results are aggregated again. However - please take this feature as still experimental, I need more people to confirm this is working ok.

This plugin can potentially be very useful, but it is very important that you really take the time and read the install instructions, how it works and then set it up correspondingly.

DEMO: http://www.meteotemplate.com/template/plugins/dataCheck/index.php

Download/Info: http://www.meteotemplate.com/web/plugins/dataCheck.php

Note: The plugin is fully localized and I will add the corresponding language strings shortly (today or tomorrow)

Enjoy

Jachym

Nice job Jachym on this plugin.  Very helpful fixing missing pressure readings on on several entries.  This was causing the graph to be off and now it looks much better after cleaning up the entries.  Still playing around to see if anything else was way off but it was easy to fix 0.00 entries!

Thank you!!!

SIW

Thanks Tom, Im glad you find it useful
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on April 24, 2016, 01:31:42 PM
Hi Chris,
if the latest version shows 0.0 then it means your server blocks the file_get_contents command which is used to get data about latest files from my server at meteotemplate.com. It surprises me however, because this actually sometimes happens and I have seen this in the past, but if that was the case, you would run into problem at many more sites where the same command is used.

Either way, see if you can enable it somewhere in your cPanel or server settings. What you need is enabled file_get_contents from external websites.

With regards to the network.... I just checked and your site should be included, but it isnt. I really dont know why it is not loading data from your site, yes it could be due to the server speed, either way, I am afraid I will have to stop the network soon anyway. There are two problems. First is - the more users, the higher load on the server and the harder it is to get within that 30s timeframe, which is fixed by my provider. Second, the more users makes things even worse not only by the fact there are more data to load, but also by the fact I obviously have more visits to the site and that loads the server and takes up more resources.

Obviously I am quite happy about more users and visits, and I therefore prioritized users and the network has a lower priority so that is why it is often failing, sometimes several intervals are skipped. I will see, if this continues to get worse I will just have a list of users. Not much I can do about this unfortunately.

Thank you Jachym.  I enabled error reporting and display in the blockSetup.php script and confirmed that file_get_contents is not working for external sites.  I couldn't find anywhere in cpanel that lets me change the settings for file_get_contents, so I've opened a support ticket with my hosting provider.

Sorry to hear that you'll have to shut down the network, but I understand.  The success of Meteotemplate is a tribute to your vision and dedication.

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 02:19:08 PM
Hi Chris,
usually it is possible to change it when you ask your provider, it would not be such a big problem to change it in this particular script, however you would run into many problems elsewhere too in many plugins and blocks that use external data.

I will have to see if the network works, now it is at least partially functional, so I will wait and see if it gets better or worse over time.
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on April 24, 2016, 05:30:20 PM
Hi Chris,
usually it is possible to change it when you ask your provider, it would not be such a big problem to change it in this particular script, however you would run into many problems elsewhere too in many plugins and blocks that use external data.

Jachym,

My provider unblocked the IP address for your site and it is now working.  Thanks again!

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 05:32:37 PM
Great, thanks for letting me know. I hope you find that feature useful.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 24, 2016, 06:26:56 PM
Quote
Please try re-downloading the plugin for version 1.1 and let me know if it helped.
Hi Jachym,

I missed this post of yours until now but I had re-downloaded and that fixed it.  Thanks,

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2016, 07:41:27 PM
No problem Paul, I am glad it works now.

There was a bug which I fixed in version 1.1, so it should be ok now.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 25, 2016, 03:54:57 AM
Hi Jachym the dataquality seems to work fine just had a netwerkoutage last night so no upload gap of 6 hours  :shock: One qouestion what does the memory limit mean ?

Thanks
Ron
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 25, 2016, 04:14:06 AM
Hi Jachym the dataquality seems to work fine just had a netwerkoutage last night so no upload gap of 6 hours  :shock: One qouestion what does the memory limit mean ?

Thanks
Ron

Aha found it I should have pushed the I button :) I could'nt check my 6 years data with the limit set to 1 (no data was given) with 1 I had 5 years when setting it to 2 I get all the data from the beginning (6 tears and almost 4 months)

Again well done have to fill the gaps LOL maybe some outliers
Title: Meteotemplate - gauges
Post by: ea1hmy on April 25, 2016, 04:39:57 AM
as the update for WD is put into
http://www.meteotorrelavega.com/template/homepage/blocks/gauges/updater.php
I get no script gauges in
http://www.meteotorrelavega.com/template/indexDesktop1.php
third row
Thank you
emilio

como se pone el update para WD en
http://www.meteotorrelavega.com/template/homepage/blocks/gauges/updater.php
no me sale el script de gauges en
http://www.meteotorrelavega.com/template/indexDesktop1.php
tercera fila
gracias
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 25, 2016, 05:09:15 AM
Hi Emilio,

I am not quite sure what exactly you have done. You have to download the gauges block, then upload it to your blocks directory and then go to your admin section, click the block settings and choose gauges, when you click the settings link, you will get a page where you will set up everything. You should not edit any PHP files, all the settings should be done from the admin section.

Jachym
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on April 25, 2016, 05:33:36 AM
Thank you
emilio
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 25, 2016, 10:18:49 AM
Looking at the data quality plugin, excellent work Jachym, I'm see I'm going to spend a lot of time with this one!
But I see two areas needing work in future versions.

In my case I had a hardware failure of the weather station which resulted in the data flat lining for about 10 days towards the end of March.  This plugin doesn't seem to pick up this kind of glitch, and it would be nice if it could!

Also at least in my case the page is very lengthy, it would be nice to have a "Go to Top" button along the side much like is present in the admin section when looking at the data base entries!

Just my $0.02

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 25, 2016, 10:34:09 AM
Looking at the data quality plugin, excellent work Jachym, I'm see I'm going to spend a lot of time with this one!
But I see two areas needing work in future versions.

In my case I had a hardware failure of the weather station which resulted in the data flat lining for about 10 days towards the end of March.  This plugin doesn't seem to pick up this kind of glitch, and it would be nice if it could!

Also at least in my case the page is very lengthy, it would be nice to have a "Go to Top" button along the side much like is present in the admin section when looking at the data base entries!

Just my $0.02

Bill
¨

Bill, the go to top button is there (or at least should be), once you load the analysis and start scrolling down, there should appear a Go to Top button on the right hand side of the screen
Title: Meteotemplate - new block + block/plugin updates
Post by: Jáchym on April 25, 2016, 10:37:51 AM
Hi guys,

one new block and several updates:

New Block - Dynamic Image
This block does exactly the same thing as the webcam block, it shows an image from specified URL. However, there is an option to specify updating interval and the image will update at this interval automatically without you having to refresh the whole page. This is ideal if for example you have an image from a webcam, that needs to be reloaded. The script automatically adds current timestamp to prevent browser caching the image.

Block update - Current Conditions
The current conditions block has been updated to version 3.3. The new version includes a fix for slower servers to prevent "flashing" of the spinner and also the unit labels are now properly formatted (eg. hpa is now hPa, kmh is now km/h etc.). If you are doing an update then just replace all the files and you do not need to use the settings option, there are no new parameters.

Plugin update - Evapotranspiration
The evapotranspiration plugin has been updated. There was a problem which caused this plugin was not working at all in version 6. This new version is now fully compatible with all template versions. Since there is no set up for this plugin, simply replace all the files.

Plugin update - Data Quality Control
I updated the yesterday released plugin for data quality control and fixed a bug with apparent temperature spikes calculation. There was a typo which caused the apparent temperature spikes not being calculated correctly. If you are doing an update, then you just need to replace the gapLoader.php, the other file where you did all the setup (index.php) is not changed.

Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 25, 2016, 10:56:01 AM
Looking at the data quality plugin, excellent work Jachym, I'm see I'm going to spend a lot of time with this one!
But I see two areas needing work in future versions.

In my case I had a hardware failure of the weather station which resulted in the data flat lining for about 10 days towards the end of March.  This plugin doesn't seem to pick up this kind of glitch, and it would be nice if it could!

Also at least in my case the page is very lengthy, it would be nice to have a "Go to Top" button along the side much like is present in the admin section when looking at the data base entries!

Just my $0.02

Bill
¨

Bill, the go to top button is there (or at least should be), once you load the analysis and start scrolling down, there should appear a Go to Top button on the right hand side of the screen

Ah! I see it now, my menu remains at the top of the visible page and covers the goto top box except for a wee bit of the bottom of it!

http://www.sanfordweather.com/meteo//plugins/dataCheck/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 25, 2016, 10:58:14 AM
Oh I see, I should fix that in the next version, it was developed before the sticky menu so I didnt take this into account.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on April 25, 2016, 05:12:21 PM
Hello - After a busy couple of days, I'm catching up! A few blocks to add I see? :-)

My Yahoo forecast seems to be missing an icon..  :shock:
And I'm guessing that the meteoalarm warning block is kaput? It doesn't show any of the warnings issued for me now :(
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 25, 2016, 05:13:25 PM
All up to date with blocks and plugins... all look fine!

and No, I have not added the new Dynamic Image to my indexDesktop, yet ;)


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 25, 2016, 05:32:34 PM
Hi Tina,

well, I really dont know. The website at Meteoalarm shows correct data, but the RSS contains absolutely random codes for the warnings.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 25, 2016, 05:41:25 PM
Just a quick update:

As I promised yesterday, new language strings for the data quality control are now added to the translation system and can be translated. I will then add the submitted translations ASAP.
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 27, 2016, 02:52:29 AM
Having a little problem with displaying the unit labels correctly. The latest change only fixed the labels for the Current block, all the others blocks and plugins did not change.
Then I found this in the config.php and changed the labels there. That changed the labels on all the blocks and plugins. It works quite well except......
If I click on the user settings and then click OK with or without making any changes, the labels revert back to what they originally were and also causes the Gauges plug-in and Interactive Graphs block and plug-in's to fail. By that I mean no labels or data is shown for Pressure or Wind speed and gust.
Fixed it in the meantime by turning off the user settings.
Should I restore config.php and make changes to all the affected blocks or is there another fix on the way?

Code: [Select]
// Units in MySQL database - specify the units in which your data is saved in MySQL database
$dataTempUnits = "C"; // C or F
$dataRainUnits = "mm"; // mm or in
$dataWindUnits = "km/h"; // ms, kmh, kt or mph
$dataPressUnits = "hPa"; // hpa, mmhg, inhg

// Display units - specify the default units in which you want your data to be shown on the web
$displayTempUnits = "C"; // C or F
$displayRainUnits = "mm"; // mm, cm or in
$displayWindUnits = "km/h"; // ms, kmh, kt or mph
$displayPressUnits = "hPa"; // hpa, mmhg, inhg
$displayCloudbaseUnits = "m"; // m or ft
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2016, 06:11:14 AM
Hi Colin,

no, you cannot do that. Yes, it would be great if I could just change it in the config and apply globally, unfortunately, this is another one of those mistakes I made at the beginning. It means I will have to specifically specify this for each block/plugin/page and right now I have only done it for the current. The problem is that the conversion functions and other functoins only recognize the original "kmh", "inhg", "hpa", so if you change it in the config, it displays ok on the page, but "hPa, km/h" etc. is not recognized by the other scripts so it cannot perform any of the conversions, outputs etc.
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 27, 2016, 08:27:08 AM
Thanks Jachym,

That will keep me busy for the next couple of weeks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2016, 08:29:18 AM
Hi,
I really suggest you don´t do it yourself, because I will try to do it myself and you would run into problems with any block update or plugin, because unless I make the same changes it would then throw errors.
Title: Meteotemplate - new block
Post by: Jáchym on April 27, 2016, 10:17:25 AM
(http://i63.tinypic.com/674co5.png)

Hi guys,

I created a new block, which basically summarizes your station history page. It is called simply "history" and shows the conditions that were at your station exactly an hour ago, day ago, week ago etc. for the various parameters.

No settings required.

DEMO narrow: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=history

Download: http://www.meteotemplate.com/web/blocks.php

Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 27, 2016, 05:41:16 PM
Hi Jachym,
I like it... www.komokaweather.com/j-template/indexMobile.php

However, a possible bug?  When I select the Wind Gust it shows correct unit for Hour, Yesterday, Week, Month and Year.  But for 2 years, etc. it shows °C instead of km/h.

Also, in the wind gust the 12.9 for Yesterday, Week, Month, Year, 2 year and 4 year seems a little suspicious.  I will have to investigate if that is accurate.

I just got home to install it and haven't seen that others have noticed the same, so maybe my system?

Regards,
Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2016, 06:45:47 PM
Hi Paul,
the numbers look ok to me, but you were right for the years it just showed the wind units as temperature units, the number is ok, it is just the unit label. Try downloading the block again, it should now be fixed. There is no set up, so just replace the whole folder.

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 27, 2016, 06:47:30 PM
Hi Jachym,
Checked the DB for a specific time and 10 of the 12 wind gusts were identical as the new block.  I will recheck later this evening when I am back home and have another look.

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 27, 2016, 06:48:54 PM
Hi Jachym,
I have to leave for a meeting so will be later this evening to re-download.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 28, 2016, 11:43:17 PM
Hi,
I really suggest you don´t do it yourself, because I will try to do it myself and you would run into problems with any block update or plugin, because unless I make the same changes it would then throw errors.

Sounds like a good plan.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2016, 05:19:34 AM
What I will do is probably do this along with other updates, in other words, I will try to make this in all new future blocks/plugins, but I will not update already existing ones just because of this and always add it when other changes are made and the block/plugin updated in general.
Title: Meteotemplate - new block + block update
Post by: Jáchym on April 29, 2016, 08:51:26 AM
Hi guys,

I hope you are enjoying Friday afternoon.

New block - Extremes
I have created a new block. I noticed most of you prefer blocks that use your own station data and another advantage of this is that you do not rely on any external data source.

So here is another interesting block called simply “extremes”. What it does is it shows you extreme values and dates of their measurement. You specify the parameter, grouping and number of items to show.

No need to set up anything so just upload to your blocks directory and that´s it J

Block update - History

I have also updated the history block. I fixed one bug which caused incorrect calculation of monthly gust (thanks to Paul from Komoka for noticing this) and there was also a little problem with the script responsible for the updates, so it would not show you there is update available in your admin settings. Some of you also asked if I could add a close button, so that is now also included in version 1.1. Since this block also does not require any set up, simply delete the entire history folder in your blocks directory and replace it with the new one.

Enjoy the weekend

Jachym

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=extremes
DOWNLOAD: http://www.meteotemplate.com/web/blocks.php

(http://i67.tinypic.com/xfuu83.png)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 29, 2016, 10:13:42 AM
Jachym,

  For some reason the extremes plugin is not showing me any of the extremes data after I select ok.  The block is located on my right hand column 3 blocks down.

John
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 29, 2016, 10:17:58 AM
Same here, extremes block not showing any data!
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 29, 2016, 10:31:14 AM
I have same problem.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2016, 10:53:18 AM
Hmm... odd... try again, I made a small change in the script
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2016, 11:15:13 AM
OK sorry for that, it was the station data block causing it. There was a clash in variable names, I did not have the station data block in the version where I tested, but it should be ok now.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 29, 2016, 11:16:17 AM
Mine is working now, great stuff!
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 29, 2016, 11:23:46 AM
Extremes block is also working for me now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2016, 11:43:59 AM
Great, I apologize, I didn´t realize I called one of the selectors same as one of the selectors in the station data block and since I was testing this in a version that did not have that block it worked.

Hope you enjoy it
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on April 29, 2016, 11:54:32 AM
Jachym,
It's working now.  Thanks
Tom
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 29, 2016, 12:32:50 PM
Both the Extremes and History are now looking great! www.komokaweather.com/j-template/indexMobile.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2016, 04:36:42 PM
OK good, so the issue with the ID is now solved and it works :-)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on April 29, 2016, 07:15:09 PM
Both the Extremes and History are now looking great! www.komokaweather.com/j-template/indexMobile.php

Paul

Same here, installed the new updated versions and both looking great!

Thank you Jachym!   =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2016, 09:05:52 PM
You are welcome Tom, Im glad it works and you like it.

Best regards to NYC :-)
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on April 30, 2016, 06:37:36 PM
Jachym Hello, good evening, when you can tell me how can I set the "time zone" in UTC, since I can not find the option in the "Config"
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2016, 07:03:51 PM
Hi Juan,

it was not included in the file, but I already added it for the next version so you can use the new file.

Simply change the extension to .php and replace your setup.php with this one

Best regards
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on May 01, 2016, 08:03:32 AM
Hi Jachym and everybody :)

The new blocks is greats and database quality checker is very useful.  =D&gt;

I little modified the "history" block. In parentheses displaying the differences.  Compared to the current value.

I attached the modified php.

 
Title: Meteotemplate - New Plugin - Week Days
Post by: Jáchym on May 02, 2016, 10:28:07 AM
(http://i64.tinypic.com/2s9eg7c.png)

Hi guys,

I hope you had a nice weekend.

Let´s start the week with a new plugin that I developed. People seem to prefer plugins/blocks that use their own station data, which makes sense and is also better because you do not rely on any external source of data. So here is another station-related plugin. This plugin shows you statistics and graphs for various parameters grouped by the day of the week.

Now I know you probably think this is absurd and I thought the same at the beginning. But i have read an article about this just recently and actually there are factors that could have an effect. For example in cities, there is obviously less traffic during weekends, which reduces the urban heat island effect. Also there is less pollution which influences cloud formation and could have effect on the weather conditions. And there is more examples of this. However, it is likely that the differences will not be large, so all numbers are shown to 3 decimal places to highlight the difference.

No need to set up anything, just download, extract, upload to your plugins directory and add a link in the menu.

Enjoy

Jachym

Demo: http://www.meteotemplate.com/template/plugins/weekDays/index.php
Download/info: http://www.meteotemplate.com/web/plugins/weekDays.php
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on May 02, 2016, 10:32:47 AM
I've spotted something after clicking your site Jachym. It is happening on my template too.. Have a look at the bottom horizontal scrollbar.. it keeps moving backwards and forwards, as if the webpage is getting wider and shrinking.

I'm wondering if it has anything to do with the animated banner? As my CPU useage is above 50% when viewing the page with an animation.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 02, 2016, 10:39:44 AM
Always something wrong :D

Yes, it is the rain causing this, it should not have any effect on anything though.

With regards to the CPU - yes it does obviously use lot because the drops are not easy to generate. It is still much better than the previous version of the interactive banner. There is now a possibility to turn off the interactive banner in the setup ;)
Title: Re: Meteotemplate - New Plugin - Week Days
Post by: nitrx on May 02, 2016, 10:46:47 AM
(http://i64.tinypic.com/2s9eg7c.png)

Hi guys,

I hope you had a nice weekend.

Let´s start the week with a new plugin that I developed. People seem to prefer plugins/blocks that use their own station data, which makes sense and is also better because you do not rely on any external source of data. So here is another station-related plugin. This plugin shows you statistics and graphs for various parameters grouped by the day of the week.


Now I know you probably think this is absurd and I thought the same at the beginning. But i have read an article about this just recently and actually there are factors that could have an effect. For example in cities, there is obviously less traffic during weekends, which reduces the urban heat island effect. Also there is less pollution which influences cloud formation and could have effect on the weather conditions. And there is more examples of this. However, it is likely that the differences will not be large, so all numbers are shown to 3 decimal places to highlight the difference.

No need to set up anything, just download, extract, upload to your plugins directory and add a link in the menu.

Enjoy

Jachym

Demo: http://www.meteotemplate.com/template/plugins/weekDays/index.php
Download/info: http://www.meteotemplate.com/web/plugins/weekDays.php

Very interesting Jachym, weekends have less sun over here and more wind so the weekend over here is at it best on thursday and friday   :grin: http://apeldoornmeteo.nl/plugins/weekDays/# thanks for the plugin and the new blocks.
BTW the days are not translated in Dutch..?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 02, 2016, 10:55:26 AM
Hi,
not yet, but you can do so now :)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 02, 2016, 10:58:53 AM
Hi,
not yet, but you can do so now :)

As soon as you've approved it  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 02, 2016, 11:01:09 AM
Done :D That was fast :D

P.S. Im not approving it, I manually add it one by one, it was automatic before, but people often submitted nonsense (usually by mistake) so I now double check everything and then add each record to the language db manually ;)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 02, 2016, 11:05:24 AM
Done :D That was fast :D

P.S. Im not approving it, I manually add it one by one, it was automatic before, but people often submitted nonsense (usually by mistake) so I now double check everything and then add each record to the language db manually ;)

Fast indeed , yep sometimes it's hard to translate if you don't know the context. great job !
Title: Meteotemplate - traduccion catalan
Post by: ea1hmy on May 02, 2016, 11:28:27 AM
Hello Jachym
I have translated the lan to catalan
as included in the template to see if everything is correct
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 02, 2016, 11:41:44 AM
Hi,
what exactly do you mean? Where did you translate it? If you want to add a new language, I would first have to activate it and create a new language file for a new language and then you can start translating and it will appear in the translations section.
Title: Re: Meteotemplate - new free website template
Post by: ea1hmy on May 02, 2016, 12:02:09 PM
solved
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 02, 2016, 12:03:40 PM
Hi,
what do you mean solved? :D Do you want me to add a new language?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 02, 2016, 12:55:00 PM
Hi Jachym,
Got the Week Days added http://www.komokaweather.com//j-template/plugins/weekDays/index.php

In our case Weekends (Saturday and Sunday) are the lowest precipitation which is great for most people, but Saturdays seem to be the coldest.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 02, 2016, 01:00:02 PM
Nice :-)

Im glad it works and thanks for helping me Paul with the testing.

In my case I don´t see any major patterns except that it is signficantly more windy during weekends
Title: Meteotemplate - warningsEUregions
Post by: ea1hmy on May 03, 2016, 11:38:41 AM
hello Jachym:
I'm watching the block:
 warningsEUregions
a long time ago it does not work,
always she tells me:
Currently Warnings issued in 90 regions
there is a problem?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 03, 2016, 11:55:56 AM
Yes, meteoalarm went crazy, just remove it
Title: Meteotemplate - new plugin
Post by: Jáchym on May 04, 2016, 08:51:08 AM
(http://i63.tinypic.com/b5ph0i.png)

Hi guys,

I have created a new plugin, which is basically an extension to the already available statistics regarding wind direction.

The plugin is divided into two pages. One shows monthly stats, the other one groups the data by years. What you then see is a break down of the wind direction, but rather than giving you the average direction calculated by averaging the degrees number in database, it groups data into 16 categories (N, S, W, E, NW, ....).

It includes tables, wind roses and I also got an idea of overlaying this over a Google map to allow better visualization of where exactly the wind is blowing from.

The plugin requires no installation and can be used out of the box, just adding a link to the menu, please let me know if there are any problems or just that it works.

Enjoy

Jachym

DEMO: http://www.meteotemplate.com/template/plugins/windDirection/index.php
Info: http://meteotemplate.com/blog/?p=585
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2016, 10:42:58 AM
Very interesting plugin Jachym, working here!

Thanks
Bill

http://www.sanfordweather.com//meteo/plugins/windDirection/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2016, 10:44:39 AM
OK, thanks for letting me know Bill :)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on May 04, 2016, 03:37:18 PM
Thank you Jachym for all the new plugins they are helpful.

It confirmed my theory that Trash Pickup is the windiest day of the week :)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2016, 04:48:13 PM
Lol,  of course  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 10:12:28 AM
There is a problem with the windDirection, it stopped working today. I checked everything and finally I know the reason... one of the scripts was automatically loading the most recent Highcharts file. They updated this file yesterday and now many forums are full of complains because there is a bug in the new file, causing many sites not working properly...

Hopefully Highcharts will fix this ASAP, this has happened in the past and they are usually quite quick about this. I will see if I can find a copy of the older version
Title: Meteotemplate - new plugin + important plugin update
Post by: Jáchym on May 06, 2016, 11:10:36 AM
(http://i67.tinypic.com/zn32h3.png)

Hi guys,

hope you have a nice Friday afternoon.

There is one new plugin and one important plugin update.

New plugin: GrLevelX
I have been asked by a few if I could make a plugin for the GrLevelX software. This is slightly problematic because I do not have that SW. However I tried to download the trial and use that to create a plugin, which therefore should still be treated as "experimental".

It shows the images for the radar dynamically updated without the need to refresh the page. In addition you can choose the animation transition effect, the transition interval and I have also included detailed description of each radar image type (this is only available in English and since this program as far as I know only works for the U.S. there is no point in translating this).

Plugin update: Wind Direction
New version of Highcharts has been released yesterday and there was a compatibility issue which made the plugin non-functional. New version 1.1 fixes this and also fixes a problem with wind direction images for languages other than English. Since there is no settings in this plugin simply download the new version and replace all the old files.

Best regards and enjoy

Also, please those of you that try the GrLevelX, let me know if it worked for you.

Jachym

Info/download: http://meteotemplate.com/blog/?p=589
DEMO: http://www.meteotemplate.com/template/plugins/grLevelX/index.php
Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 06, 2016, 01:33:45 PM
For the GRLevel plugin my radar image loop is moving from newest to oldest image when it should be from oldest to newest image.
http://www.harpersferry-weather.com/meteotemplate/plugins/grLevelX/

You can see a loop of how things should be moving at:
http://www.harpersferry-weather.com/wxgr3radar_2.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 01:40:23 PM
Thanks, I only had a few images and didnt notice this.
Try re-downloading the script, I made some modifications to it.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 06, 2016, 01:47:38 PM
Thanks Jachym!  That fixed it.    :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 01:53:35 PM
Thanks for letting me know. I only had two images for two parameters so it was difficult to spot this. Thanks.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 06, 2016, 02:33:32 PM
Jachym,

  There's still an issue.  When the page loads with Base Reflectively the loop is correct (oldest to newest).  After I added the Composite Reflectively to the menu and when I select it the radar loop goes from newest to oldest as it did before.  If I then go back to the Base Reflectively through the menu it will also loop incorrectly.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 02:45:20 PM
OK, I probably now, try re-downloading it again.

Sorry, it is a bit difficult given I cannot really use the SW myself, but Im sure we will make it work :-)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 06, 2016, 02:53:04 PM
Switching between the radar loops looks good now.  Thanks! :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 02:57:05 PM
 \:D/ \:D/

Thanks for your help!
Title: Re: Meteotemplate - new free website template
Post by: gus on May 06, 2016, 03:17:08 PM
Hi Jachym;

I am having trouble getting the grlevelX plugin to work.
Seeing these type errors in Chrome...
Failed to load resource: the server responded with a status of 404 (Not Found)
 
klwx_cr_0.jpg:1 GET  (Not Found)
klwx_cr_3.jpg:1 GET

Setting:
   $radarImage = "klwx"; // four-letter abbreviation of the radar site
   $imageType = "jpg"; // images format ('jpg' or 'png')
   $imageDir = "images/"; // path to images directory on your server
   $imageCount = 4; // number of images in the series (they are then labeled as _0, _1, _2 etc.)
   $availableImages = array('cr','cc1','kdp1','br'); // specify the available products
   $defaultImage = "cr"; // default image loaded when page loads
   $autoStart = true; // start looping the images automatically upon loading
   $transitionSpeed = 0.8; // interval between auto image transition in seconds
   $transitionAnimation = 'fade'; // transition effect - options: 'fade','horizontal','vertical','none'

Not seeing any new files in the images subdirectory.
Where am I going wrong?
Thanks,
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 03:21:02 PM
Hi Jachym;

I am having trouble getting the grlevelX plugin to work.
Seeing these type errors in Chrome...
Failed to load resource: the server responded with a status of 404 (Not Found)
http://www.halethorpeweather.com/meteo/plugins/grLevelX/images/klwx_cr_1.jpg
Failed to load resource: the server responded with a status of 404 (Not Found)
http://www.halethorpeweather.com/meteo/plugins/grLevelX/images/klwx_cr_0.jpg
klwx_cr_0.jpg:1 GET http://www.halethorpeweather.com/meteo/plugins/grLevelX/images/klwx_cr_0.jpg 404 (Not Found)
klwx_cr_3.jpg:1 GET http://www.halethorpeweather.com/meteo/plugins/grLevelX/images/klwx_cr_3.jpg 404 (Not Found)

Setting:
   $radarImage = "klwx"; // four-letter abbreviation of the radar site
   $imageType = "jpg"; // images format ('jpg' or 'png')
   $imageDir = "images/"; // path to images directory on your server
   $imageCount = 4; // number of images in the series (they are then labeled as _0, _1, _2 etc.)
   $availableImages = array('cr','cc1','kdp1','br'); // specify the available products
   $defaultImage = "cr"; // default image loaded when page loads
   $autoStart = true; // start looping the images automatically upon loading
   $transitionSpeed = 0.8; // interval between auto image transition in seconds
   $transitionAnimation = 'fade'; // transition effect - options: 'fade','horizontal','vertical','none'

http://www.halethorpeweather.com/meteo/plugins/grLevelX/index.php

Not seeing any new files in the images subdirectory.
Where am I going wrong?
Thanks,
Gus

Gus this is because you did not set the folder to which your GrLevelx images are being uploaded. This depends on your setting in GrLevelX, you must specify the folder in which to look for the images based on your FTP setup.
Title: Re: Meteotemplate - new free website template
Post by: gus on May 06, 2016, 03:37:14 PM
Thanks Jachym. It hadn't occurred to me that you have to have the GRLevel3 software installed before the plugin could be used.  :oops:
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 03:40:22 PM
Oh I see, no I apologize for not making this clear enough.

Basicaly, GrLevelX is a software used for generating radar images. It runs locally on your PC, but you can optionally set the images to be uploaded to your server. This plugin does not generate these images, it simply displays them on the page, shows it as animation and I added some description for it etc., but without the SW it will not work. I do not have it myself either as it is not freeware, the demo uses images I got from one guy who asked for this plugin and if you look carefully you will also see they are static, it is not updating the images in the demo.
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 03:44:37 PM
ok, so if i change the default to br, then go to cr, it loads the radar image over the top of the tool tip bar.  maybe it is any default page without images, so it is blank, then you go to one with images and this is what happens.


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 03:51:02 PM
Sorry I dont understand what exactly you mean and how you set it up. Can you also post a link?
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 03:53:31 PM
sorry, i guess i was just not being clear.

settings file i have BR set as the default.  i guess i dont have enough br images because they page loads blank since BR is the default radar type.

so, then i select the CR type it loads the CR but there is a layout issue.

http://www.kswxlink.com/meteo/plugins/grLevelX/index.php

thanks again for rocking this out so quick. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 03:55:28 PM
You need to specify which products are available and then the number of images available.

Example:
images available:
br_0, br_1, br_2 -> set image number to 3
Title: Re: Meteotemplate - new free website template
Post by: stormchaser911 on May 06, 2016, 03:56:32 PM
I wanna say this. Jáchym thank you for installing my new Grlevelx Plug in with out my Grlevelx I would be lost. I had Grlrvrlx on my website for a long time but since the new update came out it went away and Jáchym just installed it and to be honest it is awesome and Jáchym is a really good guy every one should use his website and plug ins and blocks as I have known him for awhile now and man never seems to amaze me
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 03:59:39 PM
sorry, i guess i was just not being clear.

settings file i have BR set as the default.  i guess i dont have enough br images because they page loads blank since BR is the default radar type.

so, then i select the CR type it loads the CR but there is a layout issue.

http://www.kswxlink.com/meteo/plugins/grLevelX/index.php

thanks again for rocking this out so quick.

You selected product which are not in the image folder:

Quote
ktwx_kdp1_2.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_2.png 404 (Not Found)
ktwx_br_1.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_br_1.png 404 (Not Found)
ktwx_kdp1_1.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_1.png 404 (Not Found)
ktwx_br_0.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_br_0.png 404 (Not Found)
ktwx_kdp1_0.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_0.png 404 (Not Found)
ktwx_br_2.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_br_2.png 404 (Not Found)
ktwx_kdp1_2.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_2.png 404 (Not Found)
ktwx_br_1.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_br_1.png 404 (Not Found)
ktwx_kdp1_1.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_1.png 404 (Not Found)
ktwx_br_0.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_br_0.png 404 (Not Found)
ktwx_kdp1_0.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_0.png 404 (Not Found)
ktwx_br_2.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_br_2.png 404 (Not Found)
ktwx_kdp1_2.png:1 GET http://www.kswxlink.com/meteo/g3/ktwx_kdp1_2.png 404 (Not Found)

Im at work and have to go home now, I will be back in about an hour
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 04:06:35 PM
ok, i removed other radar types from my settings file.  only looking for br, cr and srv.

still getting the layout issue.  get to page, no radar, but when i select cr from the drop down menu the radar since on top of the tool tip legend (usually it is underneath)

Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 04:07:37 PM
no worries on time.  like the previous person said, thanks.  i am glad i reached out because the other one i was playing with did not look this good :)

Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 04:44:49 PM
fyi, i figured out the radar types and everything is displaying fine.  i still think if you come to an empty page first and go do a radar that has images, the radar sits on top of the tool tip bar. 
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 05:01:41 PM
figured out how to change the size too.  have a couple of suggestions.  not necessary but if you want ideas :)

have block and plugin (map in block takes to the page with larger image on full page)
will there be anything displayed if no live images are there?  like if the images are older than x hours old?
dynamic live link in menu (live radar) if there are images newer than x hours old
block on front page only shows up if there are images newer than x hours old

cant wait to try this out with the spotter network overlay on grlevelx so me and the guys can use our site to view our gps coorinates.

thanks again man!!
Title: Re: Meteotemplate - new free website template
Post by: stormchaser911 on May 06, 2016, 05:06:25 PM
I'm not shure what u are asking but if u are asking for live updates Grlevelx Updates every 5 Min and also u have to Hit the refresh buton on your website to receive new images. Again 5 Min for Gelevelx and Hit the Resfresh buton on your website to het the newest images.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 05:36:09 PM
figured out how to change the size too.  have a couple of suggestions.  not necessary but if you want ideas :)

have block and plugin (map in block takes to the page with larger image on full page)
will there be anything displayed if no live images are there?  like if the images are older than x hours old?
dynamic live link in menu (live radar) if there are images newer than x hours old
block on front page only shows up if there are images newer than x hours old

cant wait to try this out with the spotter network overlay on grlevelx so me and the guys can use our site to view our gps coorinates.

thanks again man!!

Hi,
some of it is feasible some of it not.

Basically, a block in general surely is possible, but as I was not sure if this will work at all I first wanted to make sure it does and now I can see if I can make a block for it. I only had a few images available so I was not sure it will display correctly - which hopefully it looks like it does.

Adding the option to check the latest image age is not a problem.

Dynamic live link in menu (live radar) if there are images newer than x hours old - not sure what exactly you mean by this, you put a link to the plugin in the menu as always

Block on front page only shows up if there are images newer than x hours old - this wont be possible, or rather I should say it would, but only in the sense that it would show some text like "images currently N/A", but it is not possible to hide the block alltogether. It would be possible only if I made specific changes to index and that would require update of the whole template and would cause problems for people that do not use this plugin (which there is a lot since it is only for the US)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 05:43:58 PM
My idea is that the block would basically show just one type of product (you would choose - CR, BR1, ....) and the latest image.
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 06, 2016, 05:53:06 PM
@stormchaser - i was more meaning if the images are old, i dont want them playing in the loop.  i will probably only use this when one of us is out chasing, as opposed to the main radar on the front page running all the time.

Title: Re: Meteotemplate - new free website template
Post by: stormchaser911 on May 06, 2016, 06:02:49 PM
Ok i guess im confused as if i am out storm chasing i would love this in a loop as u can pause this
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2016, 06:04:23 PM
Steve, I think that what he means is that if for whatever reason your GrLevelX does not upload a new image for a certiain period, then show a message "images currently N/A" rather than displaying the old ones
Title: Re: Meteotemplate - new free website template
Post by: stormchaser911 on May 06, 2016, 06:15:12 PM
owwww ok
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 09, 2016, 06:42:28 PM
so, did some tweaking to my site this weekend and was able to patch together a gps location script with some php to create a private placefile for me and my buddies that chase. this overlays on my grlevel3 and uploads to our site so we can see where we all are on a chase day.  thanks again for putting this block out!!!

you can see it in action now, i am the only one publishing my location at the moment, and i am at work, so my icon is not moving.

www.kswxlink.com and click on the kswx radar link.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2016, 07:05:41 PM
Great job!

Just wondering, this is not a block, its a plugin, but we did talk about making a block. I was thinking about maybe a block where you would see like the most recent image of one of the products - in other words something simple, or what do you think
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 09, 2016, 07:07:46 PM
Quote
I was thinking about maybe a block where you would see like the most recent image of one of the products

I think that would be great especially if it can autoload latest image.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2016, 07:15:21 PM
Yes, thats what I was thinking, so basically there wont be any image cycling or possibility to choose a product - no point in duplicating the plugin, plus the homepage has all sorts of other stuff so the point is always to make each block simple and also not so demanding in terms of size/code.
Let me know if anyone is interested in this and I will see if I can make one, or suggest any other thing you think would be useful for this block
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 09, 2016, 07:22:59 PM
Yes something simple like the webcam block that auto updates the latest radar picture and clicking on block will send you to plugin.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2016, 07:29:47 PM
OK, so you meant like that it would update without refresh at particular intervals or just that it would load the latest image when loading the site?

The link to plugin... this is slightly problematic because remember that the way Meteotemplate blocks work is that they are absolutely independent, in other words someone might have just the block and not the plugin
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 09, 2016, 08:14:52 PM
Since you need the GR3 program I figured anyone who has the block would have the plugin but that isn't that important.
That it would update without refresh at particular intervals so the latest radar picture is always showing.
Tom 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2016, 08:22:09 PM
OK got it. Just one last question, how often are the images updated? Can you set this in GrLevelX? And if so, what is the possible range of intervals
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 09, 2016, 09:08:38 PM
They update more often with rain but even if image is updated every 10 minutes that would be fine.
Tonight it is clear and it says next update is in 8 minutes thirty seconds.
Tom
Title: New block + many block/plugin updates
Post by: Jáchym on May 10, 2016, 08:12:24 AM
Hi guys,

there is one new block and most importantly, many updates of current blocks/plugins. Something I intended to do long time ago....

New Block - Calculator
As a little Javascript exercise I made a simple weather calcultor. If functions as a normal calculator, but to make it a bit more interesting I also added some weather-related functions (unit conversions) and it is also possible to directly copy the result to clipboard.
DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=calculator

Block update - Interactive Graph
The interactive graph is now much better optimized for the light theme.

Plugin updates
All the following plugins are now translatable (where possible) and there are also some bug fixes for a few.
- earthquakes
- evapotranspiration
- contact
- cloud calculations
- snow
- unit conversions
- WxSim
- eclipses
- year normals
- year comparison


Please note - I have already added all the strings for the new translations. There is over 200 of them. Just a little note though - originally the system was inserting your submitted translations automatically, but this did not prove to be a good system as I often had to manually correct things and in the end it took me more time checking it than if I inserted each translation manually.
This means that I now do it all manually one by one and so please be patient. As there is now many new strings for many languages it can take me a little while before the translations you submit are available for download. I will try to do it as soon as possible, but this is just so you know that upon submitting it, it will not immediately appear in the language files.

Thanks
Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 10, 2016, 12:24:03 PM
Got them all downloaded, added and updated, and working (except wxSims which I don't have), including the contact ;)   I am up to date again \:D/

Well done again Jachym =D&gt;

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2016, 12:33:41 PM
:-) Glad to hear that Paul.... not far from a "100 blocks anniversary" right? :D \:D/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 10, 2016, 04:38:07 PM
80% there, and 55 plugins :)

Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 11, 2016, 02:44:16 AM
Is there really any point in having a weather forecast  :?:
Look at the forecasts for my village for the next 5 days

Yahoo                13,17,17,19,17
WU              15,18,19,22,21
Weatherzone   16,19,19,21,20
weather.com   13,14,16,16,14
Willyweather   14,17,17,18,19
Accuweather   10,13,13,15,15
Probably forget about Worldweatheronline
WWO      4,5,8,5,9
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 07:28:05 AM
:D Yes... well... you can remove the forecast block, thats about all I can recommend :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 11, 2016, 07:46:06 AM
:D Yes... well... you can remove the forecast block, thats about all I can recommend :D

I decided to make my own forecast block. It is a lot more accurate  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 07:49:47 AM
:D Dont blame me, I didnt come up with those values :D Write to those services :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 11, 2016, 08:21:53 AM
I like them all so that local visitors can see how variable forecasts are, and that my Davis and Sager 12-24 Hour forecasts aren't so far fetched  :-).

I'll have to see how I too can include the Sager in to a block.

Paul



Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 11, 2016, 08:28:40 AM
Colin,
Quote
THE WEATHER IN THE NEXT 5 MINUTES WILL BE VERY SIMILAR TO WHAT IS WAS 5 MINUTES AGO
but that is also often wrong!

By the way Colin, that picture block on your homepage is beautiful autumn scenery!

Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 08:35:23 AM
The accuracy will always differ depending on the particular synoptic situation, but in general I would never trust anything beyond 1 week ahead
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 11, 2016, 09:24:40 AM
Last Friday they forecast 20mm to 30mm of rain for Sunday. On Saturday they changed it to 10mm to 20mm for Sunday. Sunday morning they forecast 5mm to 10mm of rain for the day. We ended up getting 73mm rain on Sunday. They just don't know  :!:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 09:27:05 AM
Also depends to a great extent where exactly you live. There are places where obviously it is much more difficult to make forecasts. For example, in general, if you mean really long-term forecasts, then it is much easier to do for the American continent than for Europe. Then it depends on the continentality, the average wind speed, the wind patterns etc etc
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 11, 2016, 09:27:57 AM

By the way Colin, that picture block on your homepage is beautiful autumn scenery!

Paul
Yes Paul, the autumn here is fantastic.
Title: Re: Meteotemplate - new free website template
Post by: erikmm on May 11, 2016, 09:29:45 AM
Also depends to a great extent where exactly you live. There are places where obviously it is much more difficult to make forecasts. For example, in general, if you mean really long-term forecasts, then it is much easier to do for the American continent than for Europe. Then it depends on the continentality, the average wind speed, the wind patterns etc etc

I´m pretty sure, you have them hardcoded somewhere... ;-)
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 11, 2016, 09:56:32 AM
:D Dont blame me, I didnt come up with those values :D Write to those services :D
I am not blaming you for this. What I am saying is that the meteorologists must guesstimate what the forecast will be.
Our government closed down nearly 2000 stations across the state to cut costs. We used to have 5 stations within a 6km radius. Now the nearest one is 75km away.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 10:01:33 AM
Czech Republic is 78 000 km2 and in our network we have 198 fully equipped stations + another 120 that measure just precipitation
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 01:20:46 PM
Thanks to all who have already submitted translations, I am gradually adding them
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 11, 2016, 07:34:15 PM
Czech Republic is 78 000 km2 and in our network we have 198 fully equipped stations + another 120 that measure just precipitation

 :shock:  We have 102 and they are not all fully functional. Our state is 237,000 km2  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2016, 07:45:35 PM
We make sure they are all functional ;)
Title: Meteotemplate - New Block - Count Down
Post by: Jáchym on May 12, 2016, 10:26:43 AM
(http://i65.tinypic.com/282ntc2.png)
Hi guys,

a new block is now available called Count Down.

In this block you specify a certain date and time and it will show a graphical and textual dynamically updated count down to this date/time.

The counter automatically adjust to the block width and you can also specify the animation type (smooth or every second).

Just note that the count down takes into account real remaining time, in other words if there is a daylight savings time, it will then be shifted by one hour, because it shows the real remaining time.

Enjoy

Jachym

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=countDown
Download: http://www.meteotemplate.com/web/blocks.php

(http://i64.tinypic.com/fleusj.png)
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 12, 2016, 12:47:08 PM
just figured i would ask again about the grlevelx plugin.  having it not show images if they are older xx time.  this would be helpful if you are not continually uploading your radar data.  like a message if no images are new enough, and also if there is only one new image, the rest are old, would not want to loop through 2 old images and 1 new image (for instance).

can there be a refresh added to the plug in too?  instead of having to hit refresh on the browser?

i finally have a fully functional gps script creating my placefile every minute on my server for my version of grlevelx to call to get gps locations of me and my team.  took some tweaking on the queries, but finally working how it should.

http://www.kswxlink.com/meteo/plugins/grLevelX/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 12, 2016, 12:59:48 PM
Hi,
yes I have it on my to-do list, you have to be patient :D

Im just not sure what exactly you meant by this:

Quote
can there be a refresh added

the images are constantly loaded from the grlevelx folder, so if grlevelx uploads new images they would be used
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 12, 2016, 01:55:57 PM
maybe the patience comes in there too. im gonna sit on the page and let it just run to see the outcome.  :)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 12, 2016, 02:57:18 PM
I will try asap, but this really is just a hobby - i love doing it and I do it 100% of my free time (voluntarily, I enjoy it), but I still have full- and part-time job and also, the more users, the more ideas and suggestions :D And I also prioritize those that need help with setting it up from scratch, so just this week I installed it to 3 people.

Have that said, I will definitely work on it, I in fact already have the grLevelX block almost finished, so once that is done, I will see if I can improve the plugin as well.

Thanks for patience, I definitely will try to do my best with it and it hopefully won´t take too long :-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 12, 2016, 03:06:47 PM
Any luck on getting data for a tropical weather block to deal with the hurricane season?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 12, 2016, 04:03:28 PM
Well, there is no problem with the data source. I know exactly where to get the data. The problem is that I need to see what the output looks like before I even begin trying to develop something.

I want to use the NOAA official tropical weather feed, but all it has been showing for the past half a year is:
Quote
The Atlantic hurricane season runs from June 1st through November 30th.

So June 1st is the earliest I can look at it and then obviously it will take some time before I come up with something.
Title: Re: Meteotemplate - new free website template
Post by: kocher on May 12, 2016, 04:16:10 PM
Saludos Jachym

Congratulations for the great updates.  =D&gt;

I just installed the Countdown block.
Curiously, the values are off center in circles:

                  http://kocher.es/meteotemplate/indexDesktop.php (http://kocher.es/meteotemplate/indexDesktop.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 12, 2016, 04:43:33 PM
Hmm.... strange, it is not doing this on my page, do you have any custom blocks?

When I look here, it looks fine:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=countDown
Title: Re: Meteotemplate - new free website template
Post by: kocher on May 12, 2016, 05:07:48 PM
Yes, I have several:
all blocks that appear in bold:

$columnWidths = array(25,50,25);
$column1 = array("stationStatus","stationData","trends","rain","cloudHeight","cloudTemp","sunmoon","location","map","rssFeed","earthquakes","dbInfo","qrCode");
$column2 = array("current","countDown","forecast","wxsim3en1","interactiveGraph","webcam","timelapse","radareusk","graphtransp","gauges","worldWeather");// "gaugeswind"
$column3 = array("greetings","clock","calendarMonth","calendar","riset","dayNight","moonPhase","fireDanger","astroEvents","meteors","solarEclipses","lunarEclipses","nasaImg","glossary","co2","mareas","images","spainUV","weatherNetworks","info");
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 12, 2016, 05:14:03 PM
OK, I am unable to replicate the problem on my server, I guess I will have to wait what other people say - whether it is a global problem or just you and then based on that I will try to see what is going on.

Looking at the download log, the block has been downloaded over 30 times already today, so hopefully someone will let us know if it works for them.
Title: Re: Meteotemplate - new free website template
Post by: kocher on May 12, 2016, 05:18:16 PM
Perfect, thank you very much  :grin:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 12, 2016, 05:28:04 PM
Just added the countDown blocks and looks ok to me. 

Quite big in the http://www.komokaweather.com/j-template/indexMobile.php page, and ok in the indexDesktop page.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 12, 2016, 05:34:55 PM
Just added the countDown blocks and looks ok to me. 

Quite big in the http://www.komokaweather.com/j-template/indexMobile.php page, and ok in the indexDesktop page.

Paul

thanks for the update Paul, in which case it is probably something particular to your site javier, I will need to look into this a bit deeper, but I need my office PC, so I will do it tomorrow
Title: Re: Meteotemplate - new free website template
Post by: kocher on May 12, 2016, 05:44:50 PM
I installed the block in the mobile index:

            http://kocher.es/meteotemplate/indexMobile.php (http://kocher.es/meteotemplate/indexMobile.php)

No error

Quote
Hmm.... strange, it is not doing this on my page, do you have any custom blocks?

Surely the problem as produced by the custom blocks  :grin:

I discovered that if I change the block to the No. 1 column, the error disappears:

                      http://kocher.es/meteotemplate/indexDesktop.php (http://kocher.es/meteotemplate/indexDesktop.php)  :grin:

Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 13, 2016, 10:22:48 AM
Jachym Hi, I'm watching the Block, "warningEUregions" of Spain, indicates 90 regions, which is incorrect, is there anything we can do?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2016, 10:43:52 AM
Hi Juan,
no, not really, I know about it and it has been like this for several weeks. Im not sure what happened, the Meteoalarm RSS feed is completely incorrect. I guess I will remove that block if they dont fix it soon. The webpage is ok, but their RSS feed shows crazy stuff.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2016, 10:44:57 AM
I installed the block in the mobile index:

            http://kocher.es/meteotemplate/indexMobile.php (http://kocher.es/meteotemplate/indexMobile.php)

No error

Quote
Hmm.... strange, it is not doing this on my page, do you have any custom blocks?

Surely the problem as produced by the custom blocks  :grin:

I discovered that if I change the block to the No. 1 column, the error disappears:

                      http://kocher.es/meteotemplate/indexDesktop.php (http://kocher.es/meteotemplate/indexDesktop.php)  :grin:

OK, in which case either leave it there or if you want to have it where it was, then remove all the custom blocks and then try adding them one by one to find out which one is causing it and then let me know and I would see if I can figure out what is wrong with your custom block.
Title: Meteotemplate - New blocks and plugins
Post by: Jáchym on May 16, 2016, 09:14:01 AM
Hi guys,

I hope you had a nice weekend and to start the new week I have prepared several new blocks and plugins.

New Plugin - Night Sky
This is a very simple plugin that will show you the current night sky image for your station location. No set up required, just download and upload to your plugins directory and add a link, probably to the astronomy tab in your menu.
DEMO: http://www.meteotemplate.com/template/plugins/nightSky/index.php

New Plugin - Marine
This plugin contains marine-related information, I will probably expand it in the future. For now there are two pages - one that shows current marine traffic and the other one, which shows current buoys location and information. Again, no set up required, just download and upload to your plugins directory and add a link to the menu.
DEMO: http://www.meteotemplate.com/template/plugins/marine/index.php

New Plugin - Weather Symbols
I have decided that it would be nice to have a section in Meteotemplate that will actually educate your users (and maybe you as well :D) in the field of meteorology and climatology. Over time I would like to include more pages that will show general information about how the weather is measured, some diagrams, graphs... I will try to make it intersting, interactive and fun, while making sure it is accurate and complete.
The first plugin for this section is Weather Symbols. I downloaded the official documentation from the World Meteorology Organization and then created icons for all the weather symbols used. This includes symbols for reporting current conditions, symbols used in synoptic maps to show fronts, symbols for cloud cover and symbols for the various cloud types. There is always of course also the description of that particular symbol included. And to make it a bit more fun there is also a quiz you can then play to test your knowledge.
I have created a new tab for it in the menu "Meteorology" and as I mentioned above. Let me know what you think about this idea and whether you would like me to develop more Meteorology related plugins.
There is no need to set up anything.
DEMO: http://www.meteotemplate.com/template/plugins/weatherSymbols/index.php

New Block - NOAA radio
If you would like to put a NOAA radio stream on your homepage then use this new block that will add a player to your site and allow the user to play it.

New Block - GrLevelX
Some of you asked for a block for GrLevelX, so it is now available. It is not a duplicate of the plugin and as with all the other blocks, the point is to make it simpler. So in this case it will only show the most recent image for the various products. In addition I have added a function that will auto-update the images without the need to reload the site and you can also specify the maximum age of the image to show and if no new image is available, it will just show a message to the user that there is no uptodate image.

Enjoy
Best regards
Jachym

Note: Sorry if the page loads slowly, the server is currently overloaded, I asked my provider about this, hopefully it should be all fine soon.

Also, please let me know if there are any bugs or things not working and whether the meteorology related plugins is something you would like me to expand in the future.
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 16, 2016, 11:34:00 AM
did the grlevel plugin get updated too for the refresh and 'no current image to display'?

i did leave my browser up all day friday and even though i was updating my grlevel image directory, the same 3 images were on rotation, fyi. (not auto refreshing)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 11:38:08 AM
did the grlevel plugin get updated too for the refresh and 'no current image to display'?

i did leave my browser up all day friday and even though i was updating my grlevel image directory, the same 3 images were on rotation, fyi. (not auto refreshing)

Hi,
no this is now only related to the new block. The plugin hasnt been updated.
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 16, 2016, 11:41:36 AM
ok, just though i would check :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 11:45:31 AM
I have the script finished, but I didnt get a chance to properly test it so it will be released later. I added the same feature as is in the block - i.e. check image existence and its age.
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on May 16, 2016, 11:48:08 AM
has anyone ever recommended a pollen count block? 

love the night sky!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 11:53:59 AM
Yes... me including, but on-one was able to find a data source that could be used.

When I checked it I realized that each country/state has their own page for it and own limits etc. There was one page that aggregated them all and it was shut down in March because of copyright problems.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 11:55:38 AM
love the night sky!!

thank you, Im glad you find it useful
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 16, 2016, 12:29:10 PM
Jachym,
Thanks for the GRLevelX block. Working fine.  Took a couple of tries to get the path right.  One question I have is can the bottom margin be less so the margins match all around? I tried to adjust but didn't work.
I also love the night sky.
Tom
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 16, 2016, 12:32:00 PM
Up to date again with plugins and blocks.  All uploaded and working (except grLevelX)

My initial score is 1/5 in the Weather Symbols  :oops:   I'll do better next time 8)

I guess I'll need to find another NOAA radio station as I can't understand the nearest one.
Alll French to me :!: :?: :!:


Well done again Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 12:37:44 PM
Jachym,
Thanks for the GRLevelX block. Working fine.  Took a couple of tries to get the path right.  One question I have is can the bottom margin be less so the margins match all around? I tried to adjust but didn't work.
I also love the night sky.
Tom

Hi Tom,
thanks, with regards to the margin,
try commenting out this line:
Code: [Select]
$("#grLevelXImageDiv").height(widthGrLevelX); (should be line 56)
Let me know if that helps. I was probably using some images with different format, I dont have the SW myself so I only had limited number of images to try.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 12:39:36 PM
Up to date again with plugins and blocks.  All uploaded and working (except grLevelX)

My initial score is 1/5 in the Weather Symbols  :oops:   I'll do better next time 8)

I guess I'll need to find another NOAA radio station as I can't understand the nearest one.
Alll French to me :!: :?: :!:


Well done again Jachym,
Paul

Hi Paul,
thanks, do you think it would be worth adding more stuff to the Meteorology section? I have lots of ideas, but I first want to see if people would be interested in putting some theory on their site in the first place. Because it is true that it takes time to do, I want to make sure the information is accurate and also try to make it a bit more interesting by adding interactive features, quizes etc. In this case probably the longest took making all the icons and then going through all the WMO documentation :D I also learned lot of new symbols that I didnt know before, dont worry, I did probably as bad as you on the quiz :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 16, 2016, 01:04:05 PM
Quote
do you think it would be worth adding more stuff to the Meteorology section?

I am probably not the right person to ask that questions ;) as I enjoy them and will add all blocks and plugins.  I do get hits to my Metetotemplate site and mostly the home page or the topical plugins.

The Weather Symbols plugin will be helpful to me to learn more about weather and conditions, etc. and always enjoy a mental exercise.  Not sure how many visitors will stumble on the link though.

So for me, that kind of information is useful, and thanks again for providing it
Paul

Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 16, 2016, 01:13:43 PM
Jachym,
Thanks, commenting out that line made it much better.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 01:44:17 PM
OK, I changed it in the download file
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on May 16, 2016, 02:05:29 PM
Jachym,

In the new grLevelX block the image seems to time out at the set interval even if there is a new one available.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 02:09:31 PM
Hi,
I think there is some problem with your server in general. The block works fine on other sites and, more importantly, I was not even able to load your site at all, the index.php timed out as well, so I guess it is overloaded, which is why it is also unable to load the image file.
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on May 16, 2016, 02:13:43 PM
That's strange because if I keep increasing the maximum image age it works just fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2016, 02:18:03 PM
The images could be loaded from cache, either way, when I now click the link to your website it just keeps on spinning and showing "Waiting for...." and not even the index, which is just a few kb big redirection file, does not load
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 16, 2016, 08:37:59 PM
Quote
My initial score is 1/5 in the Weather Symbols  :oops:   I'll do better next time 8)
Well, 2nd time I got 5/5 \:D/

I guess studying helps ;)
Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 16, 2016, 08:41:07 PM
Jáchym - Thank you for the NOAA block.  Works great on my site.  I will work on the grLevelx later this week!!!

Best,

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 17, 2016, 05:01:26 AM
Jáchym - Thank you for the NOAA block.  Works great on my site.  I will work on the grLevelx later this week!!!

Best,

Jeff

Thanks, Im glad you like it.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 17, 2016, 09:21:52 AM
Best regards Jachym, as could translate the "PLUGIN" Weather History of English to Spanish?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 17, 2016, 09:53:51 AM
Hi Juan,
no, this is unfortunately not possible, because there is just too much text there, the translations are just for strings, not whole paragraphs or texts. Also, lot of the information in this plugin is only for the U.S. so probably not of much interest to others.
Title: Re: Meteotemplate - new free website template
Post by: ch8ch on May 18, 2016, 06:42:03 AM
Love the new Marine plugin....awesome work  =D&gt; =D&gt;
Title: Meteotemplate - new plugins, blocks and important updates for all users!
Post by: Jáchym on May 18, 2016, 08:57:46 AM
Hi guys,

this is very important and affects all. There have been some changes made in the Google Maps API last weekend, which made several plugins and pages of the template either completely non-functional or malfunctioning. I have therefore prepared updates to these plugins and also a bug fixes file for the template, which will solve this. There is also one new block and two new plugins.

New Plugin - Global Forecast Model
I have been granted special permission for Meteotemplate users to use map data from one very nice server so I have used it in a new plugin. There are map images with forecast for upcoming 2 to 3 days for various parameters for each continent. This includes: temperature, wind speed, precipitation (rain and snow), pressure, cloudiness and thunderstorm activity. All you have to do is set your default continent in the settings.
Demo: http://www.meteotemplate.com/template/plugins/globalModel/index.php

New Plugin - Netherlands Climate
A new plugin probably most interesting for users from the Netherlands. It uses climate data from several stations in the Netherlands and shows data about average temperatures and precipitation. The data updates dynamically so each month there will be a new value added. Data is shown in sortable tables and zoomable graphs, grouped by months and years.
Demo: http://www.meteotemplate.com/template/plugins/netherlandsClimate/index.php

New Block - Italy - climate
A new block for the homepage, probably most interesting for users in Italy. It shows climate characteristics for many Italian regions. All you need to do is select your default region. This includes temperature, precipitation, average daily sunshine hours.
Demo: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=italyClimate

Plugin updates
The following plugins had to be updated due to changes in the Google Maps API. Luckily, none of these updates requires any set up, so simply replace/add the included files. The userMap plugin also contains the most up-to-date version of the file with user data.

Plugins affected:
- earthquakes
- disasters
- userMap
- cityConditions

Template update
The changes in the Google API also affect some pages in the main template. More information about what changes need to be made and how to do it are in the corresponding blog post:
http://meteotemplate.com/blog/?p=609

Let me know if there are any problems, I tried to fix the issues as quickly as possible so hopefully there is no problem in the fix.

Enjoy
Jachym
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 18, 2016, 10:38:49 AM
Updates applied and all seems fine here!

Tnx again for all the great work!

Bill
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 11:25:32 AM
Hi Jachym thanx for the updates and new plugins especially the Dutch Climate ofcourse great job  =D&gt; Any chancge to include station 275 Deelen my nearest METAR http://www.knmi.nl/nederland-nu/klimatologie/daggegevens these are zipfiles... or by a cgi script http://www.knmi.nl/kennis-en-datacentrum/achtergrond/data-ophalen-vanuit-een-script unfortanlly the pages are written in Dutch I've studied these data but I can't make no sense of it  :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 11:36:33 AM
Updates applied and all seems fine here!

Tnx again for all the great work!

Bill

Hi Bill, thanks for letting me know, thats good to hear.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 11:37:59 AM
Hi Jachym thanx for the updates and new plugins especially the Dutch Climate ofcourse great job  =D&gt; Any chancge to include station 275 Deelen my nearest METAR http://www.knmi.nl/nederland-nu/klimatologie/daggegevens these are zipfiles... or by a cgi script http://www.knmi.nl/kennis-en-datacentrum/achtergrond/data-ophalen-vanuit-een-script unfortanlly the pages are written in Dutch I've studied these data but I can't make no sense of it  :roll:

Hi Ron,
yeah it was a bit of a challange trying to understand the Dutch NWS page...

The problem is that they only provide data for these.
This is where the data comes from:
http://www.knmi.nl/nederland-nu/klimatologie/maandgegevens
If you can find similarly formatted files for other locations it would be great of course.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 11:44:38 AM

Hi Ron,
yeah it was a bit of a challange trying to understand the Dutch NWS page...

The problem is that they only provide data for these.
This is where the data comes from:
http://www.knmi.nl/nederland-nu/klimatologie/maandgegevens
If you can find similarly formatted files for other locations it would be great of course.

Yep it's a shame  :grin: well if I can find something I let you know anyway thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 11:55:38 AM
Theoretically, if you created a file with the exact same structure for your station, it would work, just that it would not be updated automatically each month
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 12:49:18 PM
Theoretically, if you created a file with the exact same structure for your station, it would work, just that it would not be updated automatically each month

Maybe I can figure this out will have to study your script , this guy has done something the same but extracted more statistics http://www.mscha.org/knmi/month.cgi?station=260&month=5

I need this file I think... http://cdn.knmi.nl/knmi/map/page/klimatologie/gegevens/daggegevens/etmgeg_275.zip
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 01:06:08 PM
Of course if you help me with it we can try to do more, this was just a first shot and even though the webpage is excellent, it is slightly more complicated when you don´t speak Dutch :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 01:07:33 PM
Oh yes, I looked at your file, I did see this, I also found that but decided not to use it because it is way too big and I wanted something simpler
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 01:09:53 PM
Haha but I've to investigate more because I don't even understand the pages in Dutch hardly  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 01:11:07 PM
Oh yes, I looked at your file, I did see this, I also found that but decided not to use it because it is way too big and I wanted something simpler

Indeed it's aprox 3 mb ....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 01:55:16 PM
Oh yes, I looked at your file, I did see this, I also found that but decided not to use it because it is way too big and I wanted something simpler

Indeed it's aprox 3 mb ....

Yes and I thought I would only use temperature and precipitation anyway. If we could somehow extract the data to use the same format as the others, it could be included. I dont know why they only give the summaries for those few stations, probably have the longest series of measurement.
Maybe a script to parse it would be the simplest solution.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 02:03:56 PM
I don't know why they give these stations (I think they have major airports or milatary) http://projects.knmi.nl/klimatologie/daggegevens/selectie.cgi is a source where you can make selections and here are instuctions how to get data by a  script http://www.knmi.nl/kennis-en-datacentrum/achtergrond/data-ophalen-vanuit-een-script

But as said it's too complex for me to understand even in Dutch , I have to study on it and even then ....LOL
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 18, 2016, 02:22:37 PM
One more question about Global Forecast Model can the legends at the bottom in reversed order I mean temperature colors andso-on are shown from high to low I think from low to high is more logic reading I think.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2016, 04:57:40 PM
I don't know why they give these stations (I think they have major airports or milatary) http://projects.knmi.nl/klimatologie/daggegevens/selectie.cgi is a source where you can make selections and here are instuctions how to get data by a  script http://www.knmi.nl/kennis-en-datacentrum/achtergrond/data-ophalen-vanuit-een-script

But as said it's too complex for me to understand even in Dutch , I have to study on it and even then ....LOL

That is not actually complex, I do understand what they mean and I have even looked at that myself a few days ago. But what I meant by complex is that the actual file contains too much information. It has data for like 20 parameters in daily intervals. That was why I rather used the one that only has monthly data and only precipitation and temperatures.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 18, 2016, 10:22:40 PM
Hey guys.  I'm going crazy trying to get grlevel to work with my site.  Had it once then it was gone.  I have images going to my site but I must have a setting off.  Anyone willing to share their web publishing settings, which radars are you using and your block settings?

Jeff

www.linyweather.net

My images are going to www.linyweather.net/grlevelx
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 18, 2016, 10:57:51 PM
Hi Jachym,
I have the new and updated plugins installed, and working well.

Also updated the Template BugFixes 6.1 and all looks fine.

Paul



Title: Re: Meteotemplate - new free website template
Post by: gus on May 18, 2016, 11:20:37 PM
Hi Jachym,

The ver 6.1 google map updates when well, and the global forecast model is working well.
However, it appears that the settings icon in the header area will not function while displaying the global forecast model.
Please see if you can identify the problem.
http://www.halethorpeweather.com/meteo/plugins/globalModel/index.php
http://www.komokaweather.com//j-template/plugins/globalModel/index.php
http://www.meteotemplate.com/template/plugins/globalModel/index.php

Thanks,
Gus 
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 19, 2016, 07:10:04 AM
Jeff,
Watching your site your CR image was there then it went to image outdated.  I see the image was about 20 minutes old.  Try increasing maximum image age.  I use 30 minutes.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2016, 07:13:32 AM
Hi Jachym,

The ver 6.1 google map updates when well, and the global forecast model is working well.
However, it appears that the settings icon in the header area will not function while displaying the global forecast model.
Please see if you can identify the problem.
http://www.halethorpeweather.com/meteo/plugins/globalModel/index.php
http://www.komokaweather.com//j-template/plugins/globalModel/index.php
http://www.meteotemplate.com/template/plugins/globalModel/index.php

Thanks,
Gus

strange I will look at it later
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 19, 2016, 07:22:55 AM
Hi Jachym,

The ver 6.1 google map updates when well, and the global forecast model is working well.
However, it appears that the settings icon in the header area will not function while displaying the global forecast model.
Please see if you can identify the problem.
http://www.halethorpeweather.com/meteo/plugins/globalModel/index.php
http://www.komokaweather.com//j-template/plugins/globalModel/index.php
http://www.meteotemplate.com/template/plugins/globalModel/index.php

Thanks,
Gus

strange I will look at it later
It works fine for me I think there is confusion that the first chart that is shown gives percipation instead of temperature...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2016, 07:42:28 AM
Hi Jachym,

The ver 6.1 google map updates when well, and the global forecast model is working well.
However, it appears that the settings icon in the header area will not function while displaying the global forecast model.
Please see if you can identify the problem.
http://www.halethorpeweather.com/meteo/plugins/globalModel/index.php
http://www.komokaweather.com//j-template/plugins/globalModel/index.php
http://www.meteotemplate.com/template/plugins/globalModel/index.php

Thanks,
Gus

strange I will look at it later
It works fine for me I think there is confusion that the first chart that is shown gives percipation instead of temperature...

No, thats fine, what he meant was that the gear icon in the header shows an error, it is strange though, i dont see why it is showing that, there is a problem with loading the jQuery for that part.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 19, 2016, 08:17:43 AM
Ah sorry did not read it well indeed I've that 'problem'too http://www.apeldoornmeteo.nl/plugins/globalModel/
Title: Meteotemplate - new free website template
Post by: SimonB on May 20, 2016, 11:12:47 AM
Shoo. A few weeks in Abu Dhabi and I'm waaaay out of date.

BTW Jachym. I'm being nailed by Wunderground for over 500 API calls a day.

I know 96 of these come from my weathercam. My meteotemplate forecast should not account for the balance (another 12) but I don't  know where else to look. I don't have anywhere else using the API


Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2016, 11:14:51 AM
Shoo. A few weeks in Abu Dhabi and I'm waaaay out of date.

BTW Jachym. I'm being nailed by Wunderground for over 500 API calls a day.

I know 96 of these come from my weathercam. My meteotemplate forecast should not account for the balance (another 12) but I don't  know where else to look. I don't have anywhere else using the API


Sent from my F35 Lightning II using Tapatalk

Hi Simon,
I really dont know but remember that there might be more plugins using WU, make sure you have caching for all, forecastComparison, forecasts, but I think thats it
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 20, 2016, 01:16:37 PM
Quote
BTW Jachym. I'm being nailed by Wunderground for over 500 API calls a day.
I had also received a few messages from WU this past week on 4 consecutive days about going over 500 (507, 504, 501 and 503).  Not sure where they all would come from but I also use Brian's Homeweather which has crons for WU forecast so have reduced the frequency of these and not had a WU notice since May 16th.

I still have 28 raindrops and 16 used (ever).

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2016, 01:41:16 PM
That is really strange, especially since I have not changed anything in those plugins, there could be a bug of course, but that would manifest itself immediately. Does Simon also use Brian´s template? Or maybe some error at WU side?
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 20, 2016, 05:31:38 PM
Stupid question - is there a way to "block-ify" this USA NWS text product?????

http://forecast.weather.gov/product.php?site=NWS&issuedby=OKX&product=AFD&format=txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2016, 05:46:16 PM
Hi, I guess there is a way of blockifying it :D Though I would probably be more inclined to pluggiying it :D :D :D

It is quite long, so even if it was a collapsable block it would still be quite big, unless I cut it in sections by the headings... I would need to look more closely at the format of it and the possible ways it can look like
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 20, 2016, 06:36:29 PM
Maybe a "block" that shows a preview to the page with a link to the "plug" from the block?  I think I understand what he is looking for but I also get that the block would be huge...
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 20, 2016, 07:02:39 PM
It is quite long, so even if it was a collapsable block it would still be quite big, unless I cut it in sections by the headings...

Keep in mind that the headings generally vary by forecast office, and I suspect that there is no standard for titles.  Land-locked states don't need the marine forecasts, tides, or some won't need the aviation stuff specific to this NYC example.  WU calls this particular NWS product their "Scientific Forecaster Discussion," and I find it interesting at least in our area because they explain why they are making certain forecast decisions against what the models are indicating especially during coastal storms.

There's also a link on the page for other text data products that can be derived through URL twiddling, including one that has text forecasts by zones within each NWS office's territory.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2016, 07:59:06 PM
OK, looks like more people would be interested in having it, in which case I will have a look at it. I do in general prefer plugins with global scope, but obviously the number of users in the US is quite large ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2016, 08:57:59 PM
...the number of users in the US is quite large ;)

to be more specific... 23.4% :D Just looked :D
Title: Meteotemplate - New Block - Area Forecast Discussion U.S.
Post by: Jáchym on May 21, 2016, 12:10:13 PM
Hi guys,

I created a new block for U.S. users that allows viewing the area forecast discussion provided by the NWS.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=areaForecastDiscussion

Available for download in the blocks section as always.

Best regards
Jachym

P.S. The data source is not really ideal so I tried to format it the best I could, if you encounter any problems, let me know.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 21, 2016, 01:09:31 PM
I have it added on my mobile page www.komokaweather.com/j-template/indexMobile.php

I tried to have Port Huron selected as it is not too far west of us but Detroit will work fine for information.

Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2016, 01:26:33 PM
Great :-) Lucky you live close to the borders, I didnt find anything similar from the EC, do you know if they have something like this too?
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 21, 2016, 02:07:07 PM
Awesome job!  Even better than I thought could be done!  I'll have to install it later, when I get home from my annual weekend day at work duties.  Thank you!!!!!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 21, 2016, 04:36:59 PM
Hi Jachym,
Yes, location has its benefits.  I am not aware of anything from EC like those Weather Discussions.  The text type of forecast I have is https://weather.gc.ca/forecast/public_bulletins_e.html#AB.

Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 21, 2016, 05:34:36 PM
Awesome job!!!  Can't wait until I get back from this weekend and add this.  We can probably do the same with the tropical discussion but add more data once that flows.

Great work again and very quick!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2016, 05:50:54 PM
Yes, well hopefully I will have time, because I have exams end of June, I already started revising and I will have to put more time into it in the upcoming weeks. And unfortunately I cannot afford to temporarily interrupt my part-time job, so it will be a bit difficult time wise - especially since I prioritize helping new users, fixing bugs etc. rather than developing new stuff.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 22, 2016, 09:49:17 PM
Jeff,
Watching your site your CR image was there then it went to image outdated.  I see the image was about 20 minutes old.  Try increasing maximum image age.  I use 30 minutes.
Tom

Forgot to reply back.  All seems well now.  Thanks for the suggestion!!!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: SimonB on May 23, 2016, 12:49:27 PM
How about some African related plugins


Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 23, 2016, 12:55:11 PM
How about some African related plugins


Sent from my F35 Lightning II using Tapatalk

Hi Simon,
looking at the official SA weather site.... the problem is that for example the climate data are only available in PDF format and... sorry but Im not rewriting the tables into PHP :D And there is not much else, a forecast, which however is in a format that cannot be used unless I use HTML scraping (which I always try to avoid) and plus that wouldnt even have much added value since there are other blocks/plugins that have forecast for SA as well.
Title: Meteotemplate - new plugin + updates
Post by: Jáchym on May 24, 2016, 09:55:01 AM
Hi guys,
one new plugin and two updates.

New plugin – Scales
This plugin goes to the new meteorology section. It explains various scales used in meteorology to classify for example tornadoes, hurricanes, earthquakes, wind speed and hail sizes. No need to set up anything, just upload and add a link to the menu.
DEMO: http://www.meteotemplate.com/template/plugins/scales/index.php

Plugin update – Weather Symbols
A new page was added that shows symbols used to describe pressure trends.
DEMO: http://www.meteotemplate.com/template/plugins/weatherSymbols/index.php

Block update – Station Data
The station data block, now in version 2.0, also includes times (and dates if necessary) of when the actual value was measured. Make sure you replace all the files.
DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationData

Enjoy
Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 24, 2016, 12:16:46 PM
New plugin added, plugin and block updated .  Simple and fast!


p.s. The scales definition is very informative. and like the time of day on the station data.  Thanks again.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 24, 2016, 12:18:15 PM
Great, thanks for letting me know it works fine, if it works on your server then it will work on all :D :D :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 25, 2016, 03:14:05 AM
Hi Jachym thanks for the plugins and updates , just one thing for the Station Data block there is no date time for the Solar it gives allways 'null' is this by design ? If not it's better to leave it away... http://apeldoornmeteo.nl/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 05:36:46 AM
Hi Ron,
I see why, the problem is that I do not have a solar sensor on my station so I didnt notice this bug because it will always show "null" for me. I see the problem now. Interesting that the block was downloaded over 50 times since yesterday and no-one said anything....

OK I will fix it sometime this week and release an update, thanks for letting me know.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 25, 2016, 06:36:00 AM
Hello, some partner could show me how to set the Block, grLevel to Spain, I have it installed but not get any result.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 06:45:56 AM
Did you set the images directory correctly? Are the images uploaded to your server regularly?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 25, 2016, 07:21:42 AM
Hi Ron,
I see why, the problem is that I do not have a solar sensor on my station so I didnt notice this bug because it will always show "null" for me. I see the problem now. Interesting that the block was downloaded over 50 times since yesterday and no-one said anything....

OK I will fix it sometime this week and release an update, thanks for letting me know.

Ok would be great Thanks in advance.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on May 25, 2016, 08:15:28 AM
Jachym

I've just been going through the updates and now blocks and plugins.  Thank you

A couple of things:

1) I cant see the cityConditions among the plugins for me to download.  Am I Blind?
2) The Marine Traffic - I've made a change to it to use MarineTraffic.com.  The number of vessels is considerably higher than vesselfinder.  It's also free
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 08:57:10 AM
I should add a column with the plugin namespace... the cityConditions in the list is called "Weather around the world"

http://www.meteo.capetown/plugins/marine/marineTraffic.php - does not work for me, marinetraffic.com is problematic, Im not sure about the license and it does cause problems with cross-origin when loaded via iframe, which is probably why I see just blank window
Title: Re: Meteotemplate - new free website template
Post by: SimonB on May 25, 2016, 09:41:45 AM
I should add a column with the plugin namespace... the cityConditions in the list is called "Weather around the world"

http://www.meteo.capetown/plugins/marine/marineTraffic.php - does not work for me, marinetraffic.com is problematic, Im not sure about the license and it does cause problems with cross-origin when loaded via iframe, which is probably why I see just blank window

Odd that it's not working for you - works across all browsers for me.

Have you given it time to load - it does take a little time
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 25, 2016, 09:48:51 AM
Sorry, Jachym not know what you mean, well, actually I have not the remotest idea that images mean, I believe that the configuration was automatically, not that I have to check.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on May 25, 2016, 10:02:52 AM
Jachym

An issue on the Data Check

For pressure it's picking up null values as outliers. I don't know if this is by design
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 10:10:58 AM
Jachym

An issue on the Data Check

For pressure it's picking up null values as outliers. I don't know if this is by design

Thats strange, it shouldnt do this, the formula it uses is:

Code: [Select]
if($row['P']>=${"maxP".$a}){
where the rowP is the actual value and maxP corresponds to whatever maximum you defined (a is the month 1-12)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 10:14:48 AM
marine...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 10:17:24 AM
Sorry, Jachym not know what you mean, well, actually I have not the remotest idea that images mean, I believe that the configuration was automatically, not that I have to check.

Did you go through the settings for that block/plugin? Make sure that you correctly specify the directory with the images.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 25, 2016, 10:50:15 AM
marine...

Works for me  :shock:
Title: Re: Meteotemplate - new free website template
Post by: SimonB on May 25, 2016, 10:58:27 AM
marine...

It's also doing the same when evaluating spikes.  I had a problem with the temp sensor and the barometer, hence no data for these at the time

 [ You are not allowed to view attachments ]

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 11:09:29 AM
Yes, with the spikes it does make sense because "null" is interpreted as 0, so when you have say 25 and then suddenly no value, it would interpret that as 25 deg difference.

But the pressure outlier doesnt make sense, because outlier is defined in case of pressure by exceeding the max, so if no data is available, it checks your defined max pressure with 0 and that 0 should not be greater than or equal to the max P limit for outliers
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 11:12:04 AM
With regards to marine traffic... I remember I checked that site too and I remember I decided not to use it for some reason.... well I now went to that website again and finally found it:

Terms and conditions:
Quote
...copying, modifying, publishing, distributing by any means of the Website’s content without prior written permit of the Provider is prohibited. Furthermore copying, modifying, decompiling or by any means unauthorized use of the Website’s software is prohibited...
Title: Re: Meteotemplate - new free website template
Post by: SimonB on May 25, 2016, 11:20:57 AM
With regards to marine traffic... I remember I checked that site too and I remember I decided not to use it for some reason.... well I now went to that website again and finally found it:

Terms and conditions:
Quote
...copying, modifying, publishing, distributing by any means of the Website’s content without prior written permit of the Provider is prohibited. Furthermore copying, modifying, decompiling or by any means unauthorized use of the Website’s software is prohibited...

They do allow one to embed their stuff in your site

http://www.marinetraffic.com/en/p/embed-map
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 25, 2016, 11:26:33 AM
Aha, thanks for sharing that, in which case I can have two pages for both.
Title: Re: Meteotemplate - new free website template
Post by: dory on May 28, 2016, 12:48:43 AM
Hello...I have just started using these templates and they are fantastic!  My website is here ==> www.bensvilleweather.net

I have a few issues on the homepage with blocks that I cannot work out. 

1st block on the left is current conditions....not picking up data from clientraw.txt I think but cannot figure out why (note current conditions works fine on the weather station page current data link?
1st block on the right is cloud height....not sure if this is also a clientraw.txt issue but I think so
Underneath the radar is a block for gauges....nothing showing at all.  I think this is also a clientraw.txt issue however I see no place to set this location in any of the block configurations so has me stumped.
At the bottom worldWeather block is not working either.  No idea about that one.

Any ideas on how to resolve this would be greatly appreciated.  Thanks Dory
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 08:52:05 AM
Hi Dory,
I wanter to look at your site, but unsure if it is just me, but the page times out after like 30s. It doesnt even load the index, which is just a very tiny HTML code to redirect me and there is also nothing that could be wrong, so my suspicion is either you have my country IP blocked or there is some server issue.

Im more than happy to help you with fixing the problems or anything else you might need, also add you to the user list, but I obviously need access and be able to see the page.

Can anyone else please check if they can access the site? It could also be that our company firewall is blocking it, I am at work now (in which case I would look tonight when I come home around 11PM my time)
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 28, 2016, 09:02:43 AM
I get to the homepage but it has only the template block.
Tom
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on May 28, 2016, 09:05:34 AM
The page started to load for me with a number of blocks, but then I got a 404 error:

The requested URL /meteotemplate/meteotemplate/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 09:06:49 AM
Really strange...

now it works, it starts loading, I see the blocks and then just suddenly when it is half-way loaded, it crashes and just throws a blank page - which it should never do even if there was a server error because the blocks are loaded independently, the only thing that could happen is one particular block would not work. This could only happen if there was a server error on the actual indexDesktop.php, which there cannot be since it already loaded and the error showed once some block was loaded...

but it works and doesn´t 10 sec later... really strange
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on May 28, 2016, 09:07:04 AM
Something on his page is adding an extra /meteotemplate in the URL.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 09:08:08 AM
And now it just shows "Not Found"

my suspicion is that Dory is just playing around with it as we are trying :D
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on May 28, 2016, 09:11:03 AM
I think you are correct.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 28, 2016, 09:36:37 AM
Very slow to load and then about 15 seconds in I get the 404...
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on May 28, 2016, 10:41:53 AM
I didn't think but I was using my iPad when I tried so I got to the mobile site. The desktop index starts to load then the can't be found message.
Tom
Title: Re: Meteotemplate - new free website template
Post by: dory on May 28, 2016, 07:43:27 PM
And now it just shows "Not Found"

my suspicion is that Dory is just playing around with it as we are trying :D

No was not playing with it last night.  Was probably in bed by the time most of you guys came online!  I have taken a screenshot of what it looks like for me when I load the pages.  I have only just created this domain and website so I am wondering if DNS propagation may be an issue for some who are getting the 404 error.  Hopefully the access works itself out so you guys can have a look.  My webhost is zuver.net.au if there is any other useful information I can provide please let me know?

 [ You are not allowed to view attachments ]

 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 08:01:49 PM
Hi Dory,

for some strange reason, your page loads normally, then suddenly after a few seconds, something forces the page to redirect to some non-existent index and I get:

Quote
Not Found

The requested URL /meteotemplate/meteotemplate/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 08:03:42 PM
I suspect there is something wrong with the paths or it could also be somewhere in your cPanel, some sort of auto redirect.

With regards to the blocks, I cannot really look because before I try it redirects me....

See if you can try to find the problem, if not then if you want you could create a temporary guest FTP account and send me the login info to jachymcz@gmail.com. I would look myself at your config and what exactly is going on on your server and blocks.

Best regards
Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 28, 2016, 08:44:08 PM
I can see the page fine.  The first block on the right column is not loading so either the block is not uploaded or a typo in the index.Desktop.php.  The current block on the left column has no data so possibly an error in the settings.php for the realtime file path.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 08:48:16 PM
I think there must be something wrong in one of the blocks because as soon as one of them starts to load, it forces redirection to a non-existent page. Unfortunately, just viewed from the browser I cannot tell which one it is because it happens so quickly that you dont have time to open and inspect the console.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 28, 2016, 08:58:53 PM
I can see the page just like Paul.  I do see the following 3 issues in the console

GET XHR http://www.bensvilleweather.net/meteotemplate/homepage/blocks/cloud/cloudBlock.php [HTTP/1.1 404 Not Found 539ms]

GET http://www.bensvilleweather.net/meteotemplate/imgs/forecastImgs/weather_status/nad.png [HTTP/1.1 404 Not Found 264ms]

SyntaxError: expected expression, got '*' jquery.min.js:3:41
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 09:22:20 PM
cloudBlock does not exist, I never made such block, it is cloudTemp and another one cloudHeight

But I still get redirected after a few seconds. In addition, I see some issues with the paths to the clientraw, causing problems in the current block. Unfortunately without seeing what exactly is going on on the server I cannot find the issue because as soon as the script encounters this problematic part, it immediately redirects me and so I cannot see it in the console.

I will have to go to bed soon :D But I will look tomorrow or if Dory wants she can make a temporary FTP account with access to just the meteotemplate folder and Im more than happy to look at it.

I already added you to the user map Dory, so you can delete that text at the bottom of your homepage.
Title: Re: Meteotemplate - new free website template
Post by: dory on May 28, 2016, 09:24:24 PM
I suspect there is something wrong with the paths or it could also be somewhere in your cPanel, some sort of auto redirect.

With regards to the blocks, I cannot really look because before I try it redirects me....

See if you can try to find the problem, if not then if you want you could create a temporary guest FTP account and send me the login info to jachymcz@gmail.com. I would look myself at your config and what exactly is going on on your server and blocks.

Best regards
Jachym

Thanks Jachym I have sent you an email :-)


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2016, 09:27:49 PM
Thanks Dory,
just got it.

4AM, time for dinner and then I will go to bed :D I will look tomorrow after work, which should be around 5-6PM my time and so by the time you get up on Monday I will probably still be online here and you will have a message here or I will send you an email.

I will fix the blocks, the updates and also try to find why this redirection occurs. Also I will delete that text at the bottom of your homepage which says to let me know so that I can add you to the user map.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 29, 2016, 11:11:15 AM
Hi Dory,

just looked at your site.

Let me just summarize what I did so that you know and also mention some very important things (also useful for other potential new users).

I first disabled all your blocks to see if there is a problem with the homepage, or with some block. When I did that, the page worked fine. So I then continued by enabling the blocks one by one until I found that the current block was not working and that the gauges were the block that was causing the redirection.

First I tried to fix the current. I noticed that you did not create the settings file. This is very important. For all blocks that require the settings file, you MUST create it in your admin section of the page, otherwise it will NOT work. So I created it, however, I was still seeing some very strange JS error in the console. I was looking for what could possibly be causing it and it just didnt make sense to me. Well, after quite some time I finally found the problem.... you uncommented some lines in the actual block file. This is something you must never do. Never make edits to any other files than told to, in case of the blocks, all setup is done via the admin section. In case of the plugins, all setup is done in the settings.php, and it is always very clearly shown in the file where the edits section begins and where it ends.

NEVER make any modifications in other parts of the code, unless you really know exactly what you are doing. The problem is that if you do this, it is then extremely difficult for me to try to find the problem, because I know what the code looks like and therefore can try to guess what the problem could be, but once you modify the actual code, it is close to impossible for me because I would have to go line by line through thousands of lines of code and try to find the differences.

Well either way, I found your modifications, changed it back as it was and it now works fine.

The gauges had the same problem. You did not create the settings file in the block admin section and once I did that, the gauges now work and there is no longer this redirection.

I also added you to the usermap at meteotemplate.com and I deleted that one line at the bottom of your homepage saying to let me know about your site.

I hope you enjoy using Meteotemplate and let me know any time you run into any problems, have a question, suggestion etc. But please, always follow the instructions in the wiki, otherwise it will be very difficult if something goes wrong.
Title: Re: Meteotemplate - new free website template
Post by: dory on May 29, 2016, 06:22:45 PM
Jachym

Thanks so much for looking at this for me.  I am so thankful.  I will take your advice and not uncomment anything else.  Thanks again.

Dory


Hi Dory,

just looked at your site.

Let me just summarize what I did so that you know and also mention some very important things (also useful for other potential new users).

I first disabled all your blocks to see if there is a problem with the homepage, or with some block. When I did that, the page worked fine. So I then continued by enabling the blocks one by one until I found that the current block was not working and that the gauges were the block that was causing the redirection.

First I tried to fix the current. I noticed that you did not create the settings file. This is very important. For all blocks that require the settings file, you MUST create it in your admin section of the page, otherwise it will NOT work. So I created it, however, I was still seeing some very strange JS error in the console. I was looking for what could possibly be causing it and it just didnt make sense to me. Well, after quite some time I finally found the problem.... you uncommented some lines in the actual block file. This is something you must never do. Never make edits to any other files than told to, in case of the blocks, all setup is done via the admin section. In case of the plugins, all setup is done in the settings.php, and it is always very clearly shown in the file where the edits section begins and where it ends.

NEVER make any modifications in other parts of the code, unless you really know exactly what you are doing. The problem is that if you do this, it is then extremely difficult for me to try to find the problem, because I know what the code looks like and therefore can try to guess what the problem could be, but once you modify the actual code, it is close to impossible for me because I would have to go line by line through thousands of lines of code and try to find the differences.

Well either way, I found your modifications, changed it back as it was and it now works fine.

The gauges had the same problem. You did not create the settings file in the block admin section and once I did that, the gauges now work and there is no longer this redirection.

I also added you to the usermap at meteotemplate.com and I deleted that one line at the bottom of your homepage saying to let me know about your site.

I hope you enjoy using Meteotemplate and let me know any time you run into any problems, have a question, suggestion etc. But please, always follow the instructions in the wiki, otherwise it will be very difficult if something goes wrong.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 29, 2016, 06:48:37 PM
No problem Dory,
you are by far not the first person who has done this. The main thing to remember is that you should only make changes where you are told to and if you make changes anywhere else then only do so if you know exactly what you are doing and you want to change the default functionality. Otherwise, the plugins, blocks and everything is created in such a way that the default functionality should be working just modifying whatever is specified in the wiki/documentation.

Feel free to let me know if you see any other problems or in the future if you have any suggestions etc.

Best regards to Australia
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 29, 2016, 06:51:19 PM
One thing I also forgot to mention - go to your admin section and open the Gauges block settings. I used the default setting, but you should change it the way you want it. For example disable the sensors and gauges you do not have, select the design you like etc.
Title: Re: Meteotemplate - new free website template
Post by: dory on May 29, 2016, 07:47:32 PM
Hi Jachym,

If your still awake the worldWeather block at the bottom of the page still does not appear to be working correctly.  I have changed the pwd on the admin account but I think that i have given the original account i setup for you the correct privileges now so you can use that to view the site.

Thanks again for the awesome templates. 
Cheers Dory
 
No problem Dory,
you are by far not the first person who has done this. The main thing to remember is that you should only make changes where you are told to and if you make changes anywhere else then only do so if you know exactly what you are doing and you want to change the default functionality. Otherwise, the plugins, blocks and everything is created in such a way that the default functionality should be working just modifying whatever is specified in the wiki/documentation.

Feel free to let me know if you see any other problems or in the future if you have any suggestions etc.

Best regards to Australia
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 29, 2016, 08:20:51 PM
Hi Dory,

no problem, I will do it "today", but after I go to bed and get up :D

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 06:05:50 AM
Hi Jachym,

If your still awake the worldWeather block at the bottom of the page still does not appear to be working correctly.  I have changed the pwd on the admin account but I think that i have given the original account i setup for you the correct privileges now so you can use that to view the site.

Thanks again for the awesome templates. 
Cheers Dory
 
No problem Dory,
you are by far not the first person who has done this. The main thing to remember is that you should only make changes where you are told to and if you make changes anywhere else then only do so if you know exactly what you are doing and you want to change the default functionality. Otherwise, the plugins, blocks and everything is created in such a way that the default functionality should be working just modifying whatever is specified in the wiki/documentation.

Feel free to let me know if you see any other problems or in the future if you have any suggestions etc.

Best regards to Australia
Jachym

Hi Dory,
the original login info works, but it does not have any folders assigned to it, so I see just a blank folder as before. Just by looking at your homepage, I cannot tell why it isnt working.

Title: Re: Meteotemplate - new free website template
Post by: dory on May 30, 2016, 09:41:24 AM
Hi Jachym,

I will email you the new admin password.  My cpanel skills are not so good!!

Dory
[/quote]

Hi Dory,
the original login info works, but it does not have any folders assigned to it, so I see just a blank folder as before. Just by looking at your homepage, I cannot tell why it isnt working.
[/quote]
Title: Meteotemplate - New Plugins, Blocks and updates
Post by: Jáchym on May 30, 2016, 09:44:21 AM
Hi guys,

several new plugins and blocks and also some updates.

(http://i63.tinypic.com/1z544f8.png)
New Plugin – Continentality

This plugin allows you to calculate the continentality index (two indexes available). This is a very important climatological paramter. By default it will use your station data, but you can change this and use whatever data you want. There is also a scale that explains what the numbers mean and the formula used for the calculation.

Demo: http://www.meteotemplate.com/template/plugins/continentality/index.php

(http://i64.tinypic.com/211w7pt.png)(http://i68.tinypic.com/2edwn4w.png)
New Plugin – Degree Days

This plugin is for calculating heating/cooling degree days. Using your station data it will calculate heating/cooling days and show you the statistics in sortable tables and clear graphs, grouped by days, months as well as seasons. Averages for particular months are of course also available. In the settings you set your base temperature, calculation method and the month of season beginning. This can, however, be changed on the actual page, so the settings is only to select default values.

Demo: http://www.meteotemplate.com/template/plugins/degreeDays/index.php

(http://i64.tinypic.com/8xsmdd.png)
New Plugin – Growing Degree Days

A characteristic very important in agriculture. The concept is similar to calculating the cooling degree days, however the plugin has some additional things that can be set. You can select not just season beginning, but also season end and it will also show you more cumulative tables and graphs.

Demo: http://www.meteotemplate.com/template/plugins/growingDegreeDays/index.php

(http://i64.tinypic.com/15xwdwm.png)
New Plugin – NOAA Climate Report

Inspired by Ken´s script for NOAA-style climate report I created a similar thing that uses your database data. There are three versions available, one that uses the standardized terms in English, one which is translated and uses user selected language strings and one that is interactive. All reports can also be directly exported as an image file, text file or Excel spreadsheet.

Demo: http://www.meteotemplate.com/template/plugins/noaaReport/index.php

Plugin Update – Marine

I added a new page to the Marine plugin, which uses data from marinetraffic.com.

Demo: http://www.meteotemplate.com/template/plugins/marine/index.php

New Block – Tide Heights

This probably does not need much explanation. It is based on the tides plugin. However, this works as a block, so you can put it on your homepage. It is a simplified version of the plugin, which only shows high and low tides for today and tomorrow. Note – as always, the blocks are independent, so even though this is based on the tides plugin, you do not need to have this plugin installed for this to work and theoretically you can even set a different location for the block and plugin (though I don’t really see why someone should do that :D)

Demo: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=tides

Block Update – Rain

The new version of the Rain block does not show just the actual amounts, but I have also added information about the date and time of last rain.

Demo : http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=rain

Block Update – Station Data

Updated version fixes a bug with calculating the date/time of maximum solar radiation.



As always, please let me know if there are any problems or the opposite - if it works fine :-)


Enjoy

Jachym
Title: Re: Meteotemplate - New Plugins, Blocks and updates
Post by: nitrx on May 30, 2016, 10:33:15 AM


As always, please let me know if there are any problems or the opposite - if it works fine :-)


Enjoy

Jachym

Great work Jachym , you've been busy again thanks. !

I looked at the marinetraffic are the units also avialble in Celsius , hPa instead of those stupid Imperial units  ;)

I have to intall some more like the NOAA reports too


For the stationdata thanks for fixing the solardata I do miss the date , it shows only the hour time ... is it possible to add this ?

Thanx again,
Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 10:39:51 AM
Oh I see what you mean, yes it is possible, I will update it (again, sorry for this, it is all because I dont have solar myself so this one is always problematic, given it shows 0 for everything on my server...)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 10:42:39 AM
Try re-downloading the stationData block, I made some changes, please let me know, I have no way of testing it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 10:50:39 AM
Hi Jachym,

I will email you the new admin password.  My cpanel skills are not so good!!

Dory

Hi Dory,
the original login info works, but it does not have any folders assigned to it, so I see just a blank folder as before. Just by looking at your homepage, I cannot tell why it isnt working.


Dory I fixed your block. The problem was in your settings.

The numbers were supposed to be given in the format as shown by the default value, ie. for example:
"12345,23456,45666,45656,...."

You have put in:
"array(12345,23456,....)"

The block expects the numbers normally as a string, this confused the script because you have changed the variable type from string to array.

It now works fine, I changed it in your setting.

Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 30, 2016, 11:01:51 AM
Try re-downloading the stationData block, I made some changes, please let me know, I have no way of testing it.

Yes working fine now thanks, I know you could test it hard because lack of a sensor, I'm going to shelter now heavy thunderstorms begin  8-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 01:00:19 PM
Thanks for letting me know.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 04:49:41 PM
OK, given that the new plugins and blocks were downloaded over 100 times since release and no-one has so far complained about anything I take it it is all working for you :-)
Title: Re: Meteotemplate - new free website template
Post by: dory on May 30, 2016, 06:02:11 PM
Hi Jachym,

I will email you the new admin password.  My cpanel skills are not so good!!

Dory

Hi Dory,
the original login info works, but it does not have any folders assigned to it, so I see just a blank folder as before. Just by looking at your homepage, I cannot tell why it isnt working.


Dory I fixed your block. The problem was in your settings.

The numbers were supposed to be given in the format as shown by the default value, ie. for example:
"12345,23456,45666,45656,...."

You have put in:
"array(12345,23456,....)"

The block expects the numbers normally as a string, this confused the script because you have changed the variable type from string to array.

It now works fine, I changed it in your setting.

Thanks again Jachym,  your support for the templates is amazing.

Dory
Title: Re: Meteotemplate - new free website template
Post by: dory on May 30, 2016, 06:44:47 PM
OK, given that the new plugins and blocks were downloaded over 100 times since release and no-one has so far complained about anything I take it it is all working for you :-)

tides block works for me!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2016, 06:56:57 PM
Quote
Thanks again Jachym,  your support for the templates is amazing.

Dory

Thanks

Quote
tides block works for me!
Great :-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 30, 2016, 09:05:12 PM
Finally my report:
Plugin update - marine works fine.
Plugin new - continentality, degreeDays and growingDegreeDays are all fine.  noaaClimateReport needed that correction to <?php on line 402 in international.php and standardized.php, and on line 419 in inyrtactive.php then all good.
Block new - tides work fine
Blocks update - rain and stationData work fine,

I think I am up to date!

Thanks Jachym, all are very interesting.
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 30, 2016, 10:59:22 PM
Hi Jachym,
I've quickly compared the heating and cooling degree days compared to the NOAA reports script by Murry Conarroe (Wildwood Weather) for the Saratoga template and...
2016 January Meteotemplate 677.0 and Murry's 676.9
For February 576.9 vs 574.0
March 434.3 vs 445.4
April 363.0 vs 369.0
and May 153.8 vs 157.0 (not yet complete)

For cooling April Meteotemplate 7.3 vs 7.1 and for May 43.8 vs 37.4 (Murry's does not update until after midnight)

I'd say they are very close  =D&gt; =D&gt;

Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 30, 2016, 11:03:53 PM
Finally my report:
Plugin update - marine works fine.
Plugin new - continentality, degreeDays and growingDegreeDays are all fine.  noaaClimateReport needed that correction to <?php on line 402 in international.php and standardized.php, and on line 419 in inyrtactive.php then all good.
Block new - tides work fine
Blocks update - rain and stationData work fine,

I think I am up to date!

Thanks Jachym, all are very interesting.
Paul

I too have updated/installed the updates and new stuff and all seems fine here also

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2016, 04:55:40 AM
Hi Jachym,
I've quickly compared the heating and cooling degree days compared to the NOAA reports script by Murry Conarroe (Wildwood Weather) for the Saratoga template and...
2016 January Meteotemplate 677.0 and Murry's 676.9
For February 576.9 vs 574.0
March 434.3 vs 445.4
April 363.0 vs 369.0
and May 153.8 vs 157.0 (not yet complete)

For cooling April Meteotemplate 7.3 vs 7.1 and for May 43.8 vs 37.4 (Murry's does not update until after midnight)

I'd say they are very close  =D&gt; =D&gt;

Paul

Thanks for letting me know guys, good to hear it works.

Paul I think the numbers pretty much match, there are two calculation methods, the standard one is slightly optimized for speed. I was originally using a different integration method, it took about 2-3 times longer to load and when I then optimized it, it loaded 2-3 times faster and even though it is not so accurate, the differences were within 1-2% of the original, so I thought it would be a reasonable compromise to use.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 31, 2016, 11:32:40 AM
Hi Jachym:      
see the radar in Europe and Australia but I can not set them look the US and Canada, this is the configuración in menu.php, you see something that's wrong please?   


         <a href='<?php echo $pageURL.$path?>plugins/radarEU/europeRadar.php'>
                     <img src="<?php echo $pageURL.$path?>imgs/continentOutlines/europe.png" class="hoverIcon tooltip" alt="" title="<?php echo lang("Europe","c")?>">
                  </a>
               
                  <a href='<?php echo $pageURL.$path?>plugins/radarAustralia/australiaRadar.php'>
                     <img src="<?php echo $pageURL.$path?>imgs/continentOutlines/australia.png" class="hoverIcon tooltip" alt="" title="<?php echo lang('Australia','c')?>">
                  </a>
                  
                  <a href='<?php echo $pageURL.$path?>plugins/usRadar/radar.php'>
                     <img src="<?php echo $pageURL.$path?>plugins/usRadar/icons/menuIcon.png" class="hoverIcon tooltip" alt="" title="US">
                  </a>
                  
                  <a href='<?php echo $pageURL.$path?>plugins/canadaRadar/radar.php'>
                     <img src="<?php echo $pageURL.$path?>plugins/canadaRadar/images/menuIcon.png" class="hoverIcon tooltip" alt="" title="<?php echo lang('Canada','c')?>">
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2016, 12:51:28 PM
Can you send me a link to your site
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2016, 12:54:50 PM
Oh I see

Download the icons separately and then place them into the appropriate folders:

http://www.meteotemplate.com/template/plugins/usRadar/icons/menuIcon.png - place inside plugins/usRadar/icons/

http://www.meteotemplate.com/template/plugins/canadaRadar/images/menuIcon.png - place inside plugins/canadaRadar/images/
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 31, 2016, 01:32:40 PM
http://www.meteo-badalona-progres.com/template/indexDesktop.php

Tank You
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2016, 01:33:48 PM
See my reply above

Quote

Download the icons separately and then place them into the appropriate folders:

http://www.meteotemplate.com/template/plugins/usRadar/icons/menuIcon.png - place inside plugins/usRadar/icons/

http://www.meteotemplate.com/template/plugins/canadaRadar/images/menuIcon.png - place inside plugins/canadaRadar/images/
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 31, 2016, 06:23:46 PM
Thanks Jachym, solved the issue of radars US and Canada.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2016, 08:21:14 PM
Just a quick announcement.

I have no idea where this rumor is coming from, but just to make one thing very clear. I have never intended to and do not intend in the future, to impose any kind of fee on the plugins or blocks.

They are extra, but they will remain for free as well as the rest of the template. My goal in creating this template is not to make money and given the donations, which are totally voluntary cover the costs (which they do in vast majority of months), my goal is fulfilled.

So once again - if you were told by anyone or heard "somewhere", that I plan to charge for the extras (plugins, blocks) - it is a total nonsense, which I have never said or mentioned to anyone and not even considered, it is just totally made up.

I am happy to see people find it useful and just this week I added at least one new user each day.

Thanks for all your kind comments and the great community that we have here on the forum (not just in this thread, in general)

:-)
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on May 31, 2016, 09:45:54 PM
Thanks, Jachym,
I appreciate all that you do!!
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 01, 2016, 12:47:06 PM
Hello Jachym, would be possible in ID CLIMATE find an identifier for my city Badalona, since that meeting corresponds to Barcelona.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2016, 01:16:57 PM
Hi Juan,

I have explained this many times here already. The climate database in meteotemplate was compiled by myself and from over 20 different sources. The main problem was to make it all compatible and comparable. Obviously, I was limited by time and could not include every single city. The database contains over 3500 locations now and even that took me about 2 months to do (I did it about 2 years ago for my personal purposes back then).

If you can find data for Badalona, then we can add it.

You would need monthly average temperatures (ideally minimum, maximum, average), precipitation and also humidity, day length and sunlight. If you find that info, then I could add your city to the database.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 02, 2016, 06:34:15 AM
How can I change the names of the plugins to Spanish ?, someone can guide me?

Tank You
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2016, 06:35:46 AM
Hi Juan
which plugins, which names, where
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 02, 2016, 11:16:34 AM
Fire Danger Index;Year Comparison;Annual Normals;Distributions;Extender Graphs;Station Extremes;Station Compare;
Wind Direcction;Station Diary;Snow Statistics;Live Gauges;Deviations;Week Days;Degree days;Growing Degree Days;Evapotranspiration;Cloud Calculations;Continentality;World Time;Data Check;Marine;Station Climate;Noaa Report;ClimateUS;ClimateCanada;ClimateSpain;ClimateNetherlands;Space Weather;Iss Tracker;Nigth Sky;Weather History;Snow/Ice;Tides;Forecast Comparison;CO2 Levels and Emision;Disasters.


If you tell me how to do it myself translate

Tanks
Title: Re: Meteotemplate - new free website template
Post by: gand on June 02, 2016, 02:04:28 PM
Hi Juan

Maybe you could start here:

http://www.meteotemplate.com/web/translations/index.php

You have 93 untranslated words.

Rgds
Gert

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2016, 06:13:28 PM
Thanks Gert

yes I already received his translations :-)
Title: Meteotemplate - new plugin - Satellite Images! + plugin update
Post by: Jáchym on June 03, 2016, 10:20:29 AM
(http://i65.tinypic.com/14mxjrs.png)
Hi guys,
one new plugin and one plugin update.

New plugin – Satellite Images

I’m very excited to release a brand new plugin that I have been working on for quite some time to make sure it includes lot of useful information.This plugin is for displaying global satellite images, grouped by months and auto updated each month. In addition, there is a detailed description of how to interpret each image, what it means and also possibility to export the image in high resolution.

Currently available images:

Temperature
- average daytime land surface temperature
- average night time land surface temperature
- average daytime surface temperature anomaly
- average night time surface temperature anomaly
- day time land surface temperature
- night time land surface temperature
- global temperature anomaly
- sea surface temperature
- sea surface temperature anomaly

Radiation
- solar insolation
- UV
- net radiation
- albedo
- outgoing longwave radiation
- reflected shortwave radiation

Vegetation
- leaf area index
- vegetation index
- net primary productivity
- chlorophyll concentration

Atmosphere
- true color
- false color
- world
- cloud fraction
- aerosol optical density
- aerosol particle radius
- cloud optical thickness
- cloud water content
- carbon monoxide
- nitrogen dioxide
- ozone
- water vapor
- active fires

Precipitation
- precipitation
- snow cover
- permafrost

Terrain
- topography
- bathymetry

DEMO: http://www.meteotemplate.com/template/plugins/satelliteImages/index.php

Plugin update – UK extremes

I have added the possibility to sort the regions geographically and fixed a bug, which prevented one of the regions from being displayed in the graphs. If you are performing an update, replace all the files except your settings.php, which means you do not have to set up anything again.

DEMO: http://www.meteotemplate.com/template/plugins/extremesUK/index.php

ENJOY

Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2016, 10:44:05 AM
Note: new strings for translation will be added shortly
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 03, 2016, 11:18:26 AM
New plugin up and running!

WOW!

Haven't had time to check out all the options but what I have is looking good.

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2016, 11:23:56 AM
New plugin up and running!

WOW!

Haven't had time to check out all the options but what I have is looking good.

Bill

Hi Bill,
thanks, just one little thing - I suspect you copied the HTML of the menu from my site and you forgot to replace the link with your own, remember that in the HTML you already see the output of the PHP, so in the HTML it has my address and your menu is now redirected to meteotemplate.com.

In the original menu.php I used the pageURL+path string (but in the final HTML this gets converted to meteotemplate.com/template).

You might just want to fix that :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2016, 11:45:37 AM
And I also forgot to mention... I updated the EU regional warnings block and it is now working fine. It was not working due to changes at Meteoalarm.eu, but I updated the script to reflect those changes. The block (version 1.2) can now be downloaded from the Blocks section.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 03, 2016, 01:11:38 PM
New satelliteImages and updated extremesUK plugins both working fine.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2016, 01:22:29 PM
New satelliteImages and updated extremesUK plugins both working fine.

Paul

Great, so I didnt forget "<?php" this time :-) Thanks for letting me know Paul.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 03, 2016, 02:02:53 PM
New plugin up and running!

WOW!

Haven't had time to check out all the options but what I have is looking good.

Bill

Hi Bill,
thanks, just one little thing - I suspect you copied the HTML of the menu from my site and you forgot to replace the link with your own, remember that in the HTML you already see the output of the PHP, so in the HTML it has my address and your menu is now redirected to meteotemplate.com.

In the original menu.php I used the pageURL+path string (but in the final HTML this gets converted to meteotemplate.com/template).

You might just want to fix that :)

Oops!  Fixed
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on June 03, 2016, 03:20:27 PM
New satellite plugin - very cool

Title: Re: Meteotemplate - new free website template
Post by: Paul on June 03, 2016, 03:58:04 PM
Fab work Jachym, thanks.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 04, 2016, 06:05:49 AM
It is normal for the "Fire Danger Index" plugin look veiled and do not let me calculate.

http://www.meteo-badalona-progres.com/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 04, 2016, 07:59:55 AM
Im not sure what you mean, I dont see the fire danger block on your homepage and the plugin looks normal.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 04, 2016, 08:11:21 AM
Sorry, the plugin seems to me that does not look good, paracer this as fog
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 04, 2016, 08:13:57 AM
translator use, and perhaps translations are not perfect that I want

The Fire Danger image plugin, see it as veiled. It is normal?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 04, 2016, 08:25:45 AM
I see... it is because your background is set to white. I guess I should change this because this was developed before it was possible to change the background color.

What did you select for the background color/picture in your setup.php?
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 04, 2016, 12:02:24 PM
Forgive Jachym, where is setup.php? please
to change the background color.
I understand very little of templates.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 04, 2016, 12:08:56 PM
Juan, in version 6, there is a completely new setup page, it is all explained in the wiki:

http://www.meteotemplate.com/web/wiki/wiki3GB.php

You need to setup your template, use:

.... your URL /install/setup.php?password=XXXXX

XXXX is your password for meteotemplate. Then, at the bottom you can set up background, block colors etc.
Title: Meteotemplate News - Newsletter + new block and plugin
Post by: Jáchym on June 06, 2016, 11:33:56 AM
(http://i68.tinypic.com/20a6kg7.png)
Hi guys,
first of all one very important change. I have decided to change the way I have so far informed you about new things. This is related to those of you who have subscribed to the Meteotemplate updates and are getting emails about new things. I decided to change the way I informed you about new things. Instead of getting an email every time I release something, you will now receive one weekly newsletter, most likely every Monday. In this newsletter you will find information about what was new the previous week, but also information about future plans and other information related to the template.

Why this change? The problem is that I obviously do not want to spam you with emails too often, so I always released more new features in bulk. This however is not easy for me and it would make things a lot easier if I could do this one by one. Meanwhile, sometimes I needed to just inform you about something and that meant I also wanted to wait until there is more stuff so that you are not getting these emails too often.
So, from now on, I will be releasing things separately, always just one block or plugin at a time, but probably more often. Every time I do so, I will post about it immediately on the blog and also on the forums. Therefore you can always check there before actually getting the newsletter. Then, every week you will get one of these updates, where there will be a list of all the things since last newsletter was sent out as well as some other additional info. The only exception to this will be a situation where something stops working and an immediate bug fix is required, in such case you would get an email immediately.

Advantages of this solution:
1.   easier for me  - it is easier when I just have to upload and check the download file, write the documentation etc. for one thing at a time

2.   more convenient for you – you will not receive too many emails

3.   less bugs – this is also important, right now, when I send out this email, many people download the new stuff at once. If there is a bug that I missed, it is a problem. However, now, it is more likely that some people will notice even before I send out this email (in the blog, on the forum), so if there is a problem, I will have time to fix it before too many people download the problematic version

4.   I can add extra info in the email not just information about new features


And now the new things for today:

(http://i66.tinypic.com/2hqqsd0.png)
New Block – Density Altitude

A new block especially useful for those interested in aviation. It calculates the density altitude, as well as the virtual temperature and vapor pressure.
DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=densityAltitude

(http://i63.tinypic.com/9vfspu.png)
New Plugin – Real Earth
This plugin is a world map with tens of different overlays to choose from, animated to the past as well as future forecasts.
DEMO: http://www.meteotemplate.com/template/plugins/realEarth/index.php

Enjoy
Jachym
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 06, 2016, 09:40:29 PM
Both installed, and seem to be working fine.  And I think I've figured out how to use RealEarth.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 07, 2016, 05:18:58 AM
Thank you for letting me know Paul.
Title: Meteotemplate - new block - Hurricane RSS
Post by: Jáchym on June 08, 2016, 08:14:14 AM
(http://i66.tinypic.com/5k4m5g.jpg)
The hurricane season has began so it would be useful to have some possibility to show the hurricane-related information on your page. I have therefore created a new block for displaying a hurricane map and also an RSS feed with information about hurricanes from both the Atlantic and Eastern Pacific.

Details of each report can be viewed directly on the page and data is being cached every 60 minutes from NOAA.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=hurricaneRSS
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 08, 2016, 08:26:16 AM
You are AWESOME!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 08:30:47 AM
I will make more stuff later on, but I have a very difficult PhD exam next Friday so until then I concentrate on that (btw.... I found a great way of learning things... whenever there is something I cannot remember, I simply make a plugin/block for it and by doing that I memorize it immediately and since I enjoy developing, I also kill two birds with one stone, because I no longer see it as "studying" and so my brain is able to remember it :D, so there will be more climatology related plugins soon :D, also the continentality was something I found hard to memorize (the indices etc.).

This I made just so that there is at least something for now, but I will probably do some more stuff as a plugin as well.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on June 08, 2016, 10:36:14 AM
Just installed the Hurricane block, and it is working fine for me.  Thanks again for another useful addition!  I'm biting my tongue about the extreme artistic license taken when creating the icon though, since it resembles a bent sun more than the NOAA tropical storm/hurricane map symbol with only two arms.....
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 08, 2016, 10:52:12 AM
It works great Jachym.  I love your method of learning.  I follow the same general path....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 11:34:34 AM
Just installed the Hurricane block, and it is working fine for me.  Thanks again for another useful addition!  I'm biting my tongue about the extreme artistic license taken when creating the icon though, since it resembles a bent sun more than the NOAA tropical storm/hurricane map symbol with only two arms.....

I know what you mean, I sort of like this one more, it looks like a real hurricane on a satellite image, but you can replace it if you prefer the conventional one :-)
Title: Re: Meteotemplate - new free website template
Post by: vreihen on June 08, 2016, 01:03:13 PM
I have a crazy suggestion for once you're Dr. Jáchym (and not one minute before).  Can the icon change to the current NWS coastal warning flag(s) based on either the local location or maybe the largest storm in either basin at the time?????

http://www.nws.noaa.gov/om/marine/cwd.htm (http://www.nws.noaa.gov/om/marine/cwd.htm)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 01:17:38 PM
I have a crazy suggestion for once you're Dr. Jáchym (and not one minute before). 

I will not be "Dr. Jachym" even if I complete it :D So you would wait forever :D
I am now Mgr.Jachym  and after I would be Mgr.Jachym XXX PhD.

And either way, this is just one of the exams, it is my first yr of PhD study, I do it externally, and it takes 3-7 years. I hope to finish all my compulsory exams this and next yr so that I have my third yr only to write the thesis. However, it could take longer since I have to do this all in my own time while having a normal full-time and part-time job and, of course, working on my big project :D


With regards to the icons, yes I guess it would be possible, but... the problem is Im not sure how to get the current warning just using the RSS feed. The RSS feed is really just a textual forecast/report, which uses normal "human language" so computers cannot understand it, it would need to be some kind of a parameter somewhere if you see what I mean.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 08, 2016, 02:58:56 PM


And either way, this is just one of the exams, it is my first yr of PhD study, I do it externally, and it takes 3-7 years. I hope to finish all my compulsory exams this and next yr so that I have my third yr only to write the thesis. However, it could take longer since I have to do this all in my own time while having a normal full-time and part-time job and, of course, working on my big project :D


May I ask which field? Climate?

Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 03:50:59 PM
It is very complicated :D

I originally studied Molecular biology and Genetics, thats in what I did my bachelor´s and master´s degree. But while still at uni I was very interested in weather so I also tried looking for jobs in that field. I was accepted at an internship to the Czech NWS and I worked there in my last yr of uni. The director, however, liked me and said that in long term he prefers people who are motivated and interested in the job tasks, rather than someone who studied it. Also, I read many books, so I already knew quite a lot and learned a lot during that last yr. So I was offered a full-time job as a meteorologist/climatologist.

Then after a yr I decided to try a PhD degree, also because this time I wanted to already do it in the field of meteorology. I am probably most interested in climate, bur department concentrates on drought, so the topic of my PhD thesis is "methods of calculating evapotranspiration", basically like various alternatives to Penman-Monteith, their comparison and using some examples and tests applying it to our data. Ideally the results would then also be used to improve the algorithm of our ET calculating model here at our institute.

I will have 4 exams in total, the one next week is from climatology.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 08, 2016, 06:11:40 PM
I have added hurricanesRSS and updated densityAltitude.

Both working fine, and I prefer the replaced hurricane icon.

Good to get caught up again after my ISP was down for most of the day yesterday - no internet, no cable, no home phone, no support ](*,) Still to update MySQL for the missed data.

Paul
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on June 08, 2016, 06:34:35 PM
http://www.meteo-badalona-progres.com/template/indexDesktop.php

Tank You

That's pretty cool Juan, having your site rendered on all the popular templates...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 07:19:24 PM
I have added hurricanesRSS and updated densityAltitude.

Both working fine, and I prefer the replaced hurricane icon.

Good to get caught up again after my ISP was down for most of the day yesterday - no internet, no cable, no home phone, no support ](*,) Still to update MySQL for the missed data.

Paul

OK, looks like you all prefer the conventional icon :D I will replace it in some future update of that block
Title: Re: Meteotemplate - new free website template
Post by: tstorm on June 08, 2016, 08:05:15 PM
Attached is hurricane icon which Jachym created for me sometime ago.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 08:21:27 PM
:D Yes, but it is almost identical to the one I posted above :D

I thought people would like the original one, which IMHO looks more like a real hurricane, but I guess everyone is used to the symbol used by NOAA so in future update I will replace it :D
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on June 08, 2016, 09:31:24 PM
Dr. Jach,

I'm trying to catch up with all the new blocks and plugins, been busy lately so it has been slow to get them installed but all looking great so far.

Thanks!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2016, 09:41:29 PM
If you really have to then I am not Dr but Mgr lol
Title: New feature on the website
Post by: Jáchym on June 09, 2016, 09:08:32 AM
Hi guys,

to make it a bit easier, I added a table of all blocks to the Blocks page. It is therefore now possible to quickly sort the blocks by release date as well and you can immediately see the recently published/updated blocks.

The rest of the page is the same (the download, previews etc. stay the same).

http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 09, 2016, 06:12:15 PM
Thanks Jachym.  Yes that makes it a lot easier/quicker to find new or updated blocks and to get the correct file name, similar to what can be done with the plugins.

Paul
Title: Meteotemplate - new plugin + block update
Post by: Jáchym on June 10, 2016, 08:55:18 AM
Hi guys,

(http://i63.tinypic.com/2u8vypi.png)
New plugin - Sun/Moon

a new astronomy related plugin is not available. The new Sun/Moon plugin calculates the position of the Sun and Moon. Either you can set it to update every second and use your station coordinates, alternatively you can stop the updates and select your own coordinates and date and time. There is description of the parameters and a direct link to Wikipedia for more info.

In addition there are also current Sun images taken at several wavelengths and current image of the Moon.

DEMO: http://www.meteotemplate.com/template/plugins/sunMoon/index.php
More info/download: http://www.meteotemplate.com/blog/?p=652

Block update - Hurricane RSS

The new version of the hurricanes block also includes Western Pacific and Indian Ocean areas and based on your feedback I changed the icon to a more conventional one.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=hurricaneRSS

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 10, 2016, 10:37:03 AM
Added and updated.  Easy as usual.

Can you come up with a plugin to make the days longer so there is more time to look at all the plugins and enjoy them more often :lol:

Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 10, 2016, 10:52:36 AM
Hi Paul,

thanks for letting me know.


P.S. Yes, I can customize the clock block for you so that it adds one second every two seconds if you want :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 10, 2016, 05:58:48 PM
Is something going on with Real Earth?  I get an error before it shows on my page "Error Product Not Found"... 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 10, 2016, 06:04:06 PM
Yes I see that, the IR image isnt available at the moment, could be some problem with the satellite, but if you try any other layer it works fine.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 10, 2016, 06:24:56 PM
Thanks!
Title: Meteotemplate - new block and plugin
Post by: Jáchym on June 11, 2016, 10:03:08 AM
Hi guys,

I hope you are enjoying the weekend, here we have completely overcast and windy :D

(http://i68.tinypic.com/157zrxs.png)
New Block - Near Earth Objects

If you like astronomy you will enjoy the new block, which shows near Earth objects passing our planet today and tomorrow. You will only need to get a free API key at NASA (link provided in the settings of the block) and you are good to go.

Demo: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=nearEarthObjects



(http://i68.tinypic.com/2dhy7lt.png)
New Plugin - Air Traffic

To make it complete, in addition to the marine traffic plugin you can now also include a plugin showing the current air traffic around your station location.

Data is taken from two different sources and in addition you can customize the plugin by selecting if you do/do not want to show airports and also if you want to include labels next to the planes and if so, what that label should show (speed, altitude, from/to etc.).

Demo: http://www.meteotemplate.com/template/plugins/airTraffic/index.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 11, 2016, 01:07:51 PM
Yes enjoying the great weather here, at least for now until the storms come through - and watching that will be nice as well except it will spoil the social BBQ where we will be going to.

Oh, and the new block and plugin look nice and work great - quick and easy!

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 11, 2016, 01:55:19 PM
Yes enjoying the great weather here, at least for now until the storms come through - and watching that will be nice as well except it will spoil the social BBQ where we will be going to.

Oh, and the new block and plugin look nice and work great - quick and easy!

Paul

Thanks for letting me know.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 11, 2016, 02:11:41 PM
Both work great.  My only comment is on the block, the colors make it hard to read when you open an object.  Maybe its a function of the color scheme I have?

Storms rolled through here.  Cant wait to start building my Blitzortung tomorrow!

Thanks, Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 11, 2016, 02:17:35 PM
I see,
try re-downloading it, I made some changes in the download file.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 11, 2016, 02:21:43 PM
Thanks!
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on June 11, 2016, 02:35:39 PM
New block and plugin up and running.  Great additions.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 11, 2016, 02:35:52 PM
So still light - I deleted and completely reinstalled and refreshed:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 11, 2016, 02:41:13 PM
OK, now it should be fixed. Just replace the nearEarthObjectsBlock.php, you can leave your settings etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 12, 2016, 11:31:43 AM
Something odd happened to the NASA image block. The RSS feed works fine in a browser, but for some reason cannot be loaded by the script.

It is surprising, given this is an RSS feed so obviously has no restrictions in terms of being able to load it. I tried both http and https and even a different CURL function, including the user agent. What also surprises me is that sometimes it times out, but other times it just takes ages, but then eventually loads.

Really strange, well I guess if this continues I will remove that block, I dont know what else to do with it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 12, 2016, 12:17:21 PM
Hmmm....

so it looks like this is not a general problem. For some reason the block does not work on my server and couple of others, but I noticed that it does work on many others. One thing I noticed is that all the pages where it does not work are in Europe and all pages where it does are in the US/Canada...

can someone confirm this?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 12, 2016, 02:47:35 PM
Mine seems to be working ok in Canada.  I've looked at a few in Europe but haven't found one yet that has the block added.

Paul
Title: Meteotemplate - New plugin
Post by: Jáchym on June 12, 2016, 05:34:36 PM
Hi guys,

simple new plugin for Sunday evening  :grin:

(http://i68.tinypic.com/71gpb6.png)

Pressure Conversion

A simple new plugin for converting between station and sea-level pressure. There are two methods of calculation. One, which only requires you to specify the station elevation above sea level, and second, which is more accurate, but also requires temperature to be given.

DEMO: http://www.meteotemplate.com/template/plugins/pressureConversion/index.php

Enjoy
Title: Meteotemplate Newsletter
Post by: Jáchym on June 13, 2016, 09:37:29 AM
Hi guys,

as mentioned last week, I prepared the very first issue of Meteotemplate Newsletter, which summarizes all new things from last week and in the future will hopefully also include other interesting things - if you would like to participate and contribute your own text - present your website, your station, share your opinions about anything, or if you want I can even do a questions/answers section, so if you have any questions that you think could also be interesting for others, send it to me and I will publish an answer in the newsletter.

Best regards
Jachym

Link to newsletter:
http://meteotemplate.com/blog/?p=666
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 13, 2016, 10:08:48 AM
Well done and very professional!  Thank you!!!
Title: Meteotemplate - new plugin - Radial Graphs
Post by: Jáchym on June 14, 2016, 09:36:13 AM
(http://i63.tinypic.com/1t969x.png)

New plugin - Radial Graphs

Hi guys, I made a new plugin to visualize your station data. This time however, it is not so much informative, but rather an experiment of how you can visualize the data as such. The graphs are actually quite interesting to look at, something you are probably not used to and I thought would be fun to include.

DEMO: http://www.meteotemplate.com/template/plugins/radialGraphs/index.php
Title: New plugin - For all WD users (not just Meteotemplate)
Post by: Jáchym on June 14, 2016, 09:38:36 AM
This plugin will surely be appreciated by all Weather Display users – and by that I don´t mean just WD users using Meteotemplate. This plugin is an advanced Weather Display clientraw parser, which can parse any clientraw file just by providing the URL of it.

There are several features that will make analyzing your files easier. For example, the clientraw data can be sorted by field number, but also by category. I added a category parameter because sometimes certain related fields are scattered throughout the file and not next to each other. You can now group them very easily. Also the history data is grouped in a single sortable table and also visualized as a graph.

In addition the actual values are shown in several units and graphs converted to the units you have set for the template (which can also be changed by the user if you allowed this in the setup.php). The plugin also uses icons and translates the text where possible.

DEMO: http://www.meteotemplate.com/template/plugins/wdParser/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on June 14, 2016, 12:46:54 PM
Radial Graphs

Very interesting.  Not all my visitors know what the symbols mean so could the description show above the graph?
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 14, 2016, 01:09:19 PM
It is very complicated :D

I originally studied Molecular biology and Genetics, thats in what I did my bachelor´s and master´s degree. But while still at uni I was very interested in weather so I also tried looking for jobs in that field. I was accepted at an internship to the Czech NWS and I worked there in my last yr of uni. The director, however, liked me and said that in long term he prefers people who are motivated and interested in the job tasks, rather than someone who studied it. Also, I read many books, so I already knew quite a lot and learned a lot during that last yr. So I was offered a full-time job as a meteorologist/climatologist.

Then after a yr I decided to try a PhD degree, also because this time I wanted to already do it in the field of meteorology. I am probably most interested in climate, bur department concentrates on drought, so the topic of my PhD thesis is "methods of calculating evapotranspiration", basically like various alternatives to Penman-Monteith, their comparison and using some examples and tests applying it to our data. Ideally the results would then also be used to improve the algorithm of our ET calculating model here at our institute.

I will have 4 exams in total, the one next week is from climatology.

Thanks for info.

I totally agree with your director, motivation can bring people very far and learn you what what ever you want to learn, your template is a very good example of this! :-)

I have two questions (for now :-) ) concerning your template:

I can see that you are using HighCharts and I guess the charts are pulling the data from the MySQL. Was it difficult setting up this?

And, are the charts getting data from the database everytime a user loads/updates the site or is the user loading a pre-made datafile that is updated regularly?

Thanks :)

Kind Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 14, 2016, 01:17:30 PM
Hi,

first your second question - everything is loaded and calculated in realtime, so it always takes into account even the latest record in the database.

first question.... well Im not sure what to answer, depends... I mean for someone it could be difficult, for someone it could be extremely easy.... all i can say is that I first met HTML, PHP, Javascript etc. yr and half ago and I only do this in my free time during nights, never had any formal IT education, read a book or took any course. So I guess you could say it is probably easy for most :-)
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 14, 2016, 01:21:27 PM
Hi,

first your second question - everything is loaded and calculated in realtime, so it always takes into account even the latest record in the database.

first question.... well Im not sure what to answer, depends... I mean for someone it could be difficult, for someone it could be extremely easy.... all i can say is that I first met HTML, PHP, Javascript etc. yr and half ago and I only do this in my free time during nights, never had any formal IT education, read a book or took any course. So I guess you could say it is probably easy for most :-)

Thanks for your answear.

I think I got my HTML, CSS and PHP and JS/J-QUERY is getting there.

Do you keep the data in a separate data-file so it wont flood your html?
Can you post a simple sample of the code making a chart with SQL-commands and HightChart options?

Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 14, 2016, 01:23:29 PM
Hi,

I make a query to the database to load the data and that is then used to feed the graph.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 14, 2016, 01:24:33 PM
Hi,

I make a query to the database to load the data and that is then used to feed the graph.

Ok.

Can you show the code?

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 14, 2016, 01:32:22 PM
Ok, so this for example is one of the queries used for the monthly report to get the data from the database:

Code: [Select]
$result = mysqli_query($con,"
SELECT avg(T), avg(Tmin), avg(Tmax), avg(H), avg(P), avg(D), avg(W), avg(G), avg(A), avg(S), max(T), max(Tmin), max(Tmax), max(H), max(P), max(D), max(W), max(G), max(A), max(S), min(T), min(Tmin), min(Tmax), min(H), min(P), min(D), min(W), min(G), min(A), min(S), stddev(T), stddev(Tmin), stddev(Tmax), stddev(H), stddev(P), stddev(D), stddev(W), stddev(G), stddev(A), stddev(S), max(RR)
FROM alldata
WHERE $span
GROUP BY YEAR(DateTime), MONTH(DateTime)
"
);

But it wont be much of use to you, because this always depends on how exactly you structure your tables and database.

It then all gets more complicated once you start using Ajax so that the page does not have to be refreshed to load new data.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 14, 2016, 01:34:56 PM
Also you should be careful and protect your scripts from SQL injections
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 14, 2016, 01:35:56 PM
Ok, so this for example is one of the queries used for the monthly report to get the data from the database:

Code: [Select]
$result = mysqli_query($con,"
SELECT avg(T), avg(Tmin), avg(Tmax), avg(H), avg(P), avg(D), avg(W), avg(G), avg(A), avg(S), max(T), max(Tmin), max(Tmax), max(H), max(P), max(D), max(W), max(G), max(A), max(S), min(T), min(Tmin), min(Tmax), min(H), min(P), min(D), min(W), min(G), min(A), min(S), stddev(T), stddev(Tmin), stddev(Tmax), stddev(H), stddev(P), stddev(D), stddev(W), stddev(G), stddev(A), stddev(S), max(RR)
FROM alldata
WHERE $span
GROUP BY YEAR(DateTime), MONTH(DateTime)
"
);

But it wont be much of use to you, because this always depends on how exactly you structure your tables and database.

It then all gets more complicated once you start using Ajax so that the page does not have to be refreshed to load new data.

Thanks, but how do you load it into HighCharts?  8-)

Kind Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 14, 2016, 05:04:48 PM
Depends if you want to use Ajax or not, if you simply want to have it as a static graph, then you create an array from the query results and then echo it wherever your Highcharts script is. With Ajax it is much more complicated, it looks much better and is much more convenient for the user, but for you as a developer it means you need to set up the ajax call, create a separate script to generate the results and then use JSON to parse it and then insert into the graph.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 14, 2016, 05:09:38 PM
Depends if you want to use Ajax or not, if you simply want to have it as a static graph, then you create an array from the query results and then echo it wherever your Highcharts script is. With Ajax it is much more complicated, it looks much better and is much more convenient for the user, but for you as a developer it means you need to set up the ajax call, create a separate script to generate the results and then use JSON to parse it and then insert into the graph.

Ajax :grin:
Is it possible to see the separate script and JSON/parsing/inserting?

Kind Regards
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 14, 2016, 05:36:50 PM
Radial Graphs added, and yes quite interesting to look at.  Took me a while to get my head around it but think I now understand it.

Again, thanks Jachym

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 14, 2016, 06:28:53 PM
Depends if you want to use Ajax or not, if you simply want to have it as a static graph, then you create an array from the query results and then echo it wherever your Highcharts script is. With Ajax it is much more complicated, it looks much better and is much more convenient for the user, but for you as a developer it means you need to set up the ajax call, create a separate script to generate the results and then use JSON to parse it and then insert into the graph.

Ajax :grin:
Is it possible to see the separate script and JSON/parsing/inserting?

Kind Regards

OK, so lets assume a simple situation where you just want to update the data (it becomes even more complicated when you are changing also the parameters, because then you need to update not just the data, but also the axis lables, units etc.).

So your first script has the code with the Highcharts graph and the HTML. And it has no data specified.
Then there is an ajax call which can be triggered by either some user interaction (pressing a button etc.) or on load.
This script calls the other script and sends some parameter, so for example you click a button "today" so it would send "today" to that script.
This script takes this parameter, based on that creates the query to the database and then encodes the results in JSON and sends it back to the original script. This script than decodes the JSON and updates the graph with this data.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on June 15, 2016, 03:02:15 AM
(http://i68.tinypic.com/2dhy7lt.png)
New Plugin - Air Traffic

To make it complete, in addition to the marine traffic plugin you can now also include a plugin showing the current air traffic around your station location.

Data is taken from two different sources and in addition you can customize the plugin by selecting if you do/do not want to show airports and also if you want to include labels next to the planes and if so, what that label should show (speed, altitude, from/to etc.).

Demo: http://www.meteotemplate.com/template/plugins/airTraffic/index.php

I've actually got an ADS-B receiver on my roof.



Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 15, 2016, 04:54:09 AM
Depends if you want to use Ajax or not, if you simply want to have it as a static graph, then you create an array from the query results and then echo it wherever your Highcharts script is. With Ajax it is much more complicated, it looks much better and is much more convenient for the user, but for you as a developer it means you need to set up the ajax call, create a separate script to generate the results and then use JSON to parse it and then insert into the graph.

Ajax :grin:
Is it possible to see the separate script and JSON/parsing/inserting?

Kind Regards

OK, so lets assume a simple situation where you just want to update the data (it becomes even more complicated when you are changing also the parameters, because then you need to update not just the data, but also the axis lables, units etc.).

So your first script has the code with the Highcharts graph and the HTML. And it has no data specified.
Then there is an ajax call which can be triggered by either some user interaction (pressing a button etc.) or on load.
This script calls the other script and sends some parameter, so for example you click a button "today" so it would send "today" to that script.
This script takes this parameter, based on that creates the query to the database and then encodes the results in JSON and sends it back to the original script. This script than decodes the JSON and updates the graph with this data.

Thanks, that is also how I would do it, I guess.

Can you show the code?  :grin: Just for one parameter, fx temperature.

Kind Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 15, 2016, 05:36:16 AM
Hi,
I deliberately didnt show the code - not that it would be a secret :D I mean you can download the entire template with all the scripts, but more because this is highly specific. It depends on exactly how you structured your database, how you structured your graphs etc. Ajax is actually something that took me quite a while to understand and the best thing is to start with something simple. I then built it up and what you would see now in the template is the result of this, but posting the code here would rather confuse you, especially if you do not know how my template works in the back end, because many parts in the code have nothing to do with Ajax as such and are connected with other functions that are part of the template. In other words, they would not work if you simply copy/paste it, because it is all interconnected with the rest of the template.
If I were you I would start with just static Highcharts graphs if you want to see how to work with it with MySQL. And then start building it up gradually and once this is working, look on the internet for some simple Ajax examples and go from there. It would not be good I think for me to now post the code here because that would only confuse you - for example some functions are included in other files so they would not be in the code even though they are otherwise needed etc.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 15, 2016, 05:41:26 AM
Hi,
I deliberately didnt show the code - not that it would be a secret :D I mean you can download the entire template with all the scripts, but more because this is highly specific. It depends on exactly how you structured your database, how you structured your graphs etc. Ajax is actually something that took me quite a while to understand and the best thing is to start with something simple. I then built it up and what you would see now in the template is the result of this, but posting the code here would rather confuse you, especially if you do not know how my template works in the back end, because many parts in the code have nothing to do with Ajax as such and are connected with other functions that are part of the template. In other words, they would not work if you simply copy/paste it, because it is all interconnected with the rest of the template.
If I were you I would start with just static Highcharts graphs if you want to see how to work with it with MySQL. And then start building it up gradually and once this is working, look on the internet for some simple Ajax examples and go from there. It would not be good I think for me to now post the code here because that would only confuse you - for example some functions are included in other files so they would not be in the code even though they are otherwise needed etc.

Hi

I understand what you are saying.

I already use HighCharts with static non-sql data so I already know a thing or two  :grin:

I will take a look at your template.

Thanks Jáchym, have a nice day.

Kind Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 15, 2016, 06:09:50 AM
Hi,
feel free to ask, please dont take it I dont want to help you or dont want to share the code.... as I said, you can even download it all, the only problem is that if I posted the code, it would not be ideal for three reasons:
- things are "missing" (because they might be included in other files of the template, which are loaded on each page)
- things are different (for example there are functions for the language translations, unit conversions etc. - these are my custom made functions which are included in those other files and would throw an error on your site, because are not normally part of PHP)
- things are redundant - parts of the code deal with other stuff necessary for the template but otherwise not needed for a general Ajax call

Since you havent used Meteotemplate it would be hard for you to tell what is what because you dont know how it works in the back end. If you want I can help you install it. You could give it a try and you would see how it works and you could then also modify it to your likings. Maybe that would be even better for you because you would just be modifying something that already works which is always easier :D
Title: Important Changes!
Post by: Jáchym on June 15, 2016, 07:31:52 AM
Hi guys,
due to changes at the NWS website it is necessary to update some scripts in your template. If you do not do so, your interactive banner and the METAR section of your page will NOT WORK as of tomorrow. It should not be difficult to fix this, just go to the Downloads section at Meteotemplate.com and download the latest bug fixes package that I prepared yesterday, which includes the updated files. Then simply replace the original and things should be working again.

Best regards
Jachym

http://www.meteotemplate.com/web/download.php
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on June 15, 2016, 10:27:03 AM
Hi Jachym,

The new clientraw parser plug-in is very cool. :) I like it!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 15, 2016, 01:20:41 PM
I have added a new station icon for Raspberry Pi in the Extras section:

http://www.meteotemplate.com/web/extras.php

(http://i67.tinypic.com/5mekjo.png)

There is now a new user that uses it.

I am also posting this so that in case you also own a station that looks nothing like any of the icons available at the moment, let me know and I will make one for you too.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 15, 2016, 01:48:36 PM
Hi,
feel free to ask, please dont take it I dont want to help you or dont want to share the code.... as I said, you can even download it all, the only problem is that if I posted the code, it would not be ideal for three reasons:
- things are "missing" (because they might be included in other files of the template, which are loaded on each page)
- things are different (for example there are functions for the language translations, unit conversions etc. - these are my custom made functions which are included in those other files and would throw an error on your site, because are not normally part of PHP)
- things are redundant - parts of the code deal with other stuff necessary for the template but otherwise not needed for a general Ajax call

Since you havent used Meteotemplate it would be hard for you to tell what is what because you dont know how it works in the back end. If you want I can help you install it. You could give it a try and you would see how it works and you could then also modify it to your likings. Maybe that would be even better for you because you would just be modifying something that already works which is always easier :D

Thanks Jáchym  :-)

Regards

Title: Plugin Updates
Post by: Jáchym on June 16, 2016, 07:14:00 AM
Hi guys,

two plugin updates:

Scales 2.0
The new version now also includes Fujita Enhanced scale and the Australian tropical cyclone classification. Big thanks goes to Gavin for his ideas and data provided.

DEMO: http://www.meteotemplate.com/template/plugins/scales/index.php

Radial Graphs 2.0
Based on your feedback I updated the recently released Radial Graphs plugin. New version includes icon tooltips to make it more clear for your users.

DEMO: http://www.meteotemplate.com/template/plugins/radialGraphs/index.php

Enjoy
Jachym
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 16, 2016, 09:45:57 AM
Jachym Hello, I see that you have created two new tabs, "Meteorology and Regional" how I can create plugins to add them?

Thanks as always for your invaluable help.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 16, 2016, 09:47:22 AM
Hi Juan,

look at the demo page HTML code and see if you can figure it out. I promise I will try to somehow make the menu easier for the next Meteotemplate version.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 16, 2016, 10:11:05 AM
Hi guys,

I forgot mentioning I have two new regional blocks.

(http://i63.tinypic.com/2cfcnc5.png)

Forecast - Spain
I was asked if I could create a fully localized textual forecast for Spain, so here it is. It is a 2-day forecast for all the Spanish provinces.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=forecastSpain


(http://i68.tinypic.com/kef8y9.png)

Current Conditions - Sweden
And another regional block, this time for Sweden, which shows the current conditions for all the major Swedish cities (temperature, humidity, pressure, precipitation, wind speed and wind gust). Data is cached and can be sorted easily in the table.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=weatherSweden
Title: Meteotemplate - New Plugin
Post by: Jáchym on June 17, 2016, 10:39:26 AM
(http://i65.tinypic.com/14ww1ky.png)


New Plugin - Climate Classification

Hi guys,
I am glad that my PhD exam from climatology is successfully completed (the grade even surpassed my expectations  ) and as part of the revision I made for myself an interactive page that covered one of the chapters, in particular the one about climate classification.

I thought some of you might be interested so I made it into a plugin.

There is a brief description of the various classification schemes and then several described in detail, including images, animations, graphs, interactive calculators (find what climate type you live in based on a particular climate classification and your station data, you can also change the numbers and recalculate), maps and examples.

- Koppen’s classification scheme – description, calculator, maps, examples, past and current data in animations and pictures
- Trewartha’s classification scheme – description, calculator
- Alisov’s genetic classification scheme
- Thornthwaith’s genetic classification scheme – description, calculator

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/climateClassification/index.php
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 17, 2016, 01:48:23 PM
Congratulations is in order for you on your exam!!!

Best,

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 17, 2016, 02:03:03 PM
Thanks Jeff,
looking for the weekend... finally I can again just relax with Meteotemplate - which is what I actually did even last weekend, but the difference being I had to try to memorize all the stuff I was doing (and much more :D)
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 18, 2016, 06:53:29 AM
Code: [Select]
Can you show the code?  :grin: Just for one parameter, fx temperature.

Kind Regards

Droiddk:

Here I leave you some links that I find very interesting:

Highcharts tutorial in English, French and Spanish:
http://www.boock.ch/meteo/tuto_mysql_highcharts/tuto_mysql_highcharts_01-en.php (http://www.boock.ch/meteo/tuto_mysql_highcharts/tuto_mysql_highcharts_01-en.php)

French forum for Highcharts:
http://www.boock.ch/meteo/forum.php (http://www.boock.ch/meteo/forum.php)

Jachym:

Thank you very much for your new plugin on the classification of climates =D&gt;


Greetings from San Sebastian
Title: Re: Meteotemplate - new free website template
Post by: Paul on June 18, 2016, 07:44:15 AM
Congrats Jachym.
When you create this much stuff when you are busy I shudder to think how much stuff is coming our way when you have more free time :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 18, 2016, 08:39:45 AM
LOL, not much more, because I try to use the time as efficiently as possible.

It is true that I was studying a lot last few days, but as you can see, often I spend that time and killed two birds with one stone... I studied climatology and I was working on Meteotemplate. Similar thing was with some other plugins and blocks I developed in the past, for example the Scales plugin, one other I havent released yet, the Weather Symbols plugin... basically the entire "Meteorology" section and a few others :D
Title: Meteotemplate - New country package
Post by: Jáchym on June 18, 2016, 09:18:40 AM
(http://i68.tinypic.com/1zqq6f6.png)

Hi guys,

I created another “country package”, this time for Norway.

This package consists of 3 new blocks:


Norway – forecast

Last block is a detailed forecast for upcoming approximately 10 days. The forecast summarizes the data at the top and you can then view details for each day including icons and parameters such as temperature, precipitation, wind speed, wind direction and pressure.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastNorway

Norway – radar

This block is a regional Norwegian radar. There are several locations to choose from and various image types available (base reflectivity animation etc.).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=norwayRadar

Norway – alerts

This block shows current Norwegian weather alerts with their description in Norwegian.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=norwayAlerts

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: droiddk on June 18, 2016, 11:58:13 AM

Here I leave you some links that I find very interesting:

Highcharts tutorial in English, French and Spanish:
http://www.boock.ch/meteo/tuto_mysql_highcharts/tuto_mysql_highcharts_01-en.php (http://www.boock.ch/meteo/tuto_mysql_highcharts/tuto_mysql_highcharts_01-en.php)

French forum for Highcharts:
http://www.boock.ch/meteo/forum.php (http://www.boock.ch/meteo/forum.php)

Wow, thank you very much, looking good!

Regards
Droiddk

Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on June 19, 2016, 10:31:45 PM
where can i find an updated menu to reflect the demo?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 20, 2016, 05:53:21 AM
I just add it to the demo, the menu is always updated when a new version of the template is released. In the wiki there is a detailed info how to modify the menu whatever way you like :-)
Title: Meteotemplate - newsletter
Post by: Jáchym on June 20, 2016, 07:05:59 AM
Hi guys!

Another issue of the newsletter is now available in the blog.

In this new issue of Meteotemplate newsletter you will find a summary of all new features since last newsletter was published, a Q&A section and also an important article about what is coming next, for which I would very much appreciate your feedback too. This is not “my template” – this is “meteotemplate – your template”, which means I want to make things the way majority of people want them to be so that everyone is happy with it.

Best regards

Read it: http://meteotemplate.com/blog/?p=698

Jachym
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on June 20, 2016, 09:16:33 AM
I just add it to the demo, the menu is always updated when a new version of the template is released. In the wiki there is a detailed info how to modify the menu whatever way you like :-)

I looked for it in the 6.0 release that I downloaded and it's the same as the one from 4.0?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 20, 2016, 09:26:57 AM
It shouldnt, in the main template download file of 6.0 should be menu.php that has all plugins uncommented that were available at the time it was released.

Either way, this is something that will be changed in v7, I know this is a problem and I have a solution already, which is being tested by one user now.
Title: Meteotemplate - Future Plans - Seeking opinions
Post by: Jáchym on June 20, 2016, 11:19:09 AM
Hi guys,
Meteotemplate is not my template, it is a template by me for others, it is therefore important to me to know what the users and potential users want and based on that make corresponding changes/feature additions etc. If you are not using MT, then your opinion is still very much welcomed

In today´s newsletter I briefly outlined my current plans and I would also like anyone who wishes to read this here, to feel free and tell me what they think. Who wants to read the whole thing can do so, otherwise I highlighted the important parts in bold.

Next month we will see the first birthday of Meteotemplate. Time flies and I can tell you I would never have imagined this would take off and so many users would use it. Originally I made this template just for my own personal site and when I received a few emails about people asking for some scripts, I decided to give it a try. I thought maybe 2 or 3 users would test it and use parts of it. Well… there is now over 170 users from all the continents, increasing almost daily.

As you all know, I am not a programmer, never had any formal IT education, never took any course or read a book from A to Z. I am completely self-taught and I do this mostly during nights, purely as a hobby, which although I now dedicate really 100% of my free time, is still just a hobby.

Why am I saying this. Well, because I already realized many times that sometimes the way I designed things at the beginning, is not ideal and efficient in long term. Either I learned a new, better way of doing things, or the original method is no longer usable for this number of users. One great example of this is the Translations. Originally people simply sent me the words they translated, but that turned out to be problematic once there was new stuff coming out much more often and once there were 16 languages. I simply could not send out emails all the time to all those people willing to translate, so I came up with the current system, which works great.

Also, some of you might still remember the old homepage with no blocks. Believe it or not, I had the idea of blocks in my mind even back then, but I simply did not know how to code it. Then in version 3 I found a way. But it was still static. In version 4 I finally achieved the result I was after and created independent blocks that can be organized the way you want. But it all took time and I could go on with this (the mobile section, the GUI for the config etc etc. – those were all things that I added either because I saw it as a new and better way of doing things, or because I wanted it like this right from the beginning, but didn´t know how to do it).

Now I finally get to the main point of this, which is – What is coming. OK, so right now, I have a plan as to what I want to do in the upcoming few weeks/month. As a little teaser I can tell you that I have a new version of the template – Meteotemplate 7.0 – more or less ready and I am currently testing it. You can look forward for several new features. Some of them will make life easier to you as a webmaster, some of them, however will also be something that will be “visible” on your site and I am sure you will like some of those new things.

Then, however, I want to either completely stop, or at least significantly slowdown in terms of releasing new things and instead, I would like to go back and go back to every single script I have made. First I want to start with the core scripts of the template, then continue with the weather station section etc. Those pages were mostly created for version 1 and even though they should work perfectly fine, I do want to make some changes and optimizations. Then I want to continue and gradually update all the plugins and blocks.

Some things I already changed in previous versions, which did not work ideally the way they were designed originally:
- translations (new system since version 4.1)
- config setup (now finally using GUI and with remembring your current setup, so no need to set up everything from scratch with each update, since version 6.0)
- block setup using GUI (since version 6.0)
- block auto version check (since version 6.0)
- immediate bug fixing - new section for immediate bug fixes without the need to update the whole template file (since version 5.0)
- responsive mobile section - since version 5.0
- advanced design customizations with realtime preview - since version 6.0
- summary of new features and info about MT in general - newsletter

Here is a list of some general points I wrote down as main goals that I have not yet got to (there might be some things missing that I already have prepared in v7):

•   database query optimization – see if it would be possible to reduce the number of calls or aggregate them so that the whole page runs faster and smoother
•   better error handling – I always test the scripts and make sure they work, but after that year I realized very often some servers of other users behave differently and I never needed this when I was just developing things for my own website, if it worked, it worked, but obviously, now the situation is different. One thing that I know is a weakness of this template is that when things don´t work, it is hard to find the problem (at least for you as a user) and sometimes it would be ideal if it either have an alternative method of doing things if the original one does not work, or if it at least had some fallback mechanism to deal with a situation when something does not work – in other words, not just throw a PHP/server error displayed on the page.
•   fixing minor issues – I know about a few minor details that are not crucial, but would be nice to fix (also since I am a perfectionist, such details are sometimes bugging me a lot…). For example, on some pages the pressure units are displayed as “hpa” instead of “hPa” etc. There are also some minor design and CSS issues, that have no effect on the overall functionality of the page, but would still be nice to fix.
•   add more comments to the code – again, something I was not used to doing because I never needed it when I was developing just for myself, but now I realize it would be desirable to add more comments to the code, and not just for others, but I have now written so many pages and lines of code that even I start to forget why I did certain things and what certain lines do, unless I study the previous code for some time.
•   correct or language issues (typos, grammatical errors)

So, the plan now is – I want to release version 7.0 soon because those new features are more or less ready and some of them were things people have asked for so I want to make it available.
However, I will then start working on version 8.0 and I can already tell you that in this version I will concentrate purely on what I outlined above, so for some this might be a bit disappointing – there will not be much new, however, I think that overall it is now better to really go back and check everything again. Things changed from the time I first time sat down and start writing Meteotemplate and in long-term it will I hope be a good thing to do, which sooner or later I would probably have to do anyway if it continues to grow like this.
And same goes for the plugins and blocks. I already have a few things on my to-do list that I want to change/add to already existing features and I want to make sure the whole template is more reliable.

This does not mean I will completely stop with releasing new features, but it would probably temporarily be much less frequently.

OK, so those of you that were so patient and got through this whole thing, I now have a few questions and the more answers and feedback I get, the more efficient this will all be, and if you are not using MT, then your opinion is still very much welcomed

1. Should I concentrate now more on adding stuff or would you rather I temporarily concentrated purely on updating stuff (blocks, plugins, core template files)?
2. Do you have any particular suggestions?
3. Is there anything you would like to change or add to what I outlined above?

Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on June 20, 2016, 12:59:37 PM
It shouldnt, in the main template download file of 6.0 should be menu.php that has all plugins uncommented that were available at the time it was released.

Either way, this is something that will be changed in v7, I know this is a problem and I have a solution already, which is being tested by one user now.

I will check when I get home from work...for some reason the 6.0 has a meteorology section on the demo but I can't seem to find it in the 6.0 menu.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 20, 2016, 01:00:55 PM
Yes that makes sense, that was introduced after v6 release, just like the "regional" section. Either read the wiki and see if you can figure it out or wait for v7, hopefully wont take long.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on June 20, 2016, 01:16:04 PM
My vote is to spend the time cleaning up the core, because I hate to see things grow out of control like the dirty snowball theory.  Optimize now, before the template grows too big/dirty to do it later.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 20, 2016, 01:27:31 PM
Thanks for the feedback.

Just to clarify one thing.. I was not suggesting that every page is full of bugs, is not working correctly etc. I hope most pages work ok, but that does not mean it cannot be optimized /for exmaple in terms of speed or potential for further expansion/ and some changes such as adding comments, etc might not even be apparent at all on the front end. Also the error handling is something that most of you hopefully dont have to worry about. Usually things work ok, but not always and it is also those users that I want to take into account.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 20, 2016, 01:30:36 PM
Some Feedback

 Some ideas
  And congrats on passing your PhD exam! Bill
Title: Re: Meteotemplate - new free website template
Post by: vreihen on June 20, 2016, 06:47:49 PM
Just to clarify one thing.. I was not suggesting that every page is full of bugs, is not working correctly etc.

I understand completely what you meant.  As I say about Windows, it is a skyscraper built on the foundation of a lawn shed.  Now that you've seen how the template turned out and how features are implemented, it is time to go back and re-visit the foundation before the skyscraper grows too tall.....
Title: Re: Meteotemplate - Future Plans - Seeking opinions
Post by: SpringHillWeather on June 20, 2016, 08:45:36 PM
Hi guys,
Meteotemplate is not my template, it is a template by me for others, it is therefore important to me to know what the users and potential users want and based on that make corresponding changes/feature additions etc. If you are not using MT, then your opinion is still very much welcomed

Jachym,

First thank you for creating Meteotemplate.  Your dedication to improving and supporting it is very much appreciated!

MT has come along way and for me it has covered all the bases in regards to what a weather template should provide.   At this point since everything is running smooth and all the functionality is there  I can finally just site back and watch the weather :D

The main things for me were:

    Database
    Real-time reporting
    Webcam
    Graphs
    Plugins
    Customization

Thanks again and I'm sure any new versions or features will be a great addition.

Keep up the great work, SIW
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 21, 2016, 05:29:31 AM
Hi Tom,
thanks, for the comment, Im sure you will like some of the new features and hopefully also benefit from the subsequent code optimization.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 21, 2016, 09:53:12 AM
Just back from Turkey some days 40 degrees Celsius  #-o now back to normal however I've read your plans and new things Jachym I think its gonna be a hot summer  :grin:
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on June 21, 2016, 10:59:16 PM
Yes that makes sense, that was introduced after v6 release, just like the "regional" section. Either read the wiki and see if you can figure it out or wait for v7, hopefully wont take long.

just an FYI...i checked the template download... the menu.php does not reflect anything as far as uncomment to add sections and links on them...

i say this because i'm not that good at HTML and i pretty much added all the plugins so i was wanting a copy of the menu.php...it could even be the demo menu.php and i can just comment stuff out?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 22, 2016, 05:14:58 AM
You can comment stuff out, thats how it works, but obviously it does not have the changes that were made after it was released. Whenever I release a new version of the template, I update the menu.php and add the new things that were added since last release.

So, for example when I released version 6, I added all things that I developed since version 5. So it is always a copy of what was available at the time of release. What you are talking about are all things that were developed after version 6, this includes the two new tabs "meteorology" and "regional", which is why you dont see them there.
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on June 22, 2016, 07:34:15 AM
You can comment stuff out, thats how it works, but obviously it does not have the changes that were made after it was released. Whenever I release a new version of the template, I update the menu.php and add the new things that were added since last release.

So, for example when I released version 6, I added all things that I developed since version 5. So it is always a copy of what was available at the time of release. What you are talking about are all things that were developed after version 6, this includes the two new tabs "meteorology" and "regional", which is why you dont see them there.

so I downloaded a fresh version of v6....first thing I did was open menu.php and searched for the new sections of meteorology and regional...they are not there....also air traffic is not anywhere to be seen in other, same as marine.  I don't see them to uncomment to make them show.

I did try to follow the wiki to add the links but like I said, I'm not good at HTML....when I added a section and then added a link to the section, the whole template did not like it...lol...so I was, honestly, looking for an easier way.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 22, 2016, 08:25:34 AM
OK, sorry, I think you are confused, I tried to explain several times already - yes you downloaded version 6, but version 6 was release over 2 months ago - these sections did not exist at that time. Thats what Im trying to explain. Every time I release a new version I update the menu.php with stuff that was released since the last version so every time I release a new version of the template, the menu.php is up to date. However, as I just explained, v6 is 2 months old and the stuff you mention is very recent.

And I also told you several times that I know about this and that it will work differently in the future, but for now I just cant do more.
Title: Meteotemplate - New Page
Post by: Jáchym on June 22, 2016, 11:28:44 AM
(http://i68.tinypic.com/2hzn86s.png)

Hi guys,

as part of the planned upcoming optimization, I have also created a new section at meteotemplate.com, called Bugs/Suggestions.

In this section, you can directly report bugs or send ideas for new features. Your issues will be emailed to me and I will then review them and add them to the table.

In the table you will then see the issue descriptions, date they were added/last updated, their current status and my comments. I hope this will again make it more efficient and make a good start for the upcoming plan.

I will review all the issues submitted, the possible states will probably be:
- In progress - being worked on
- Resolved - issue solved (meaning either the suggestion was realized or the bug was fixed) - this will also include information of whether the resolved issue has already been released or will be released in the next version
- Deprecated - for reasons given in my comments the issue is deprecated (irrelevant, impossible to realize etc.)
- Considered - not yet decided about whether it will be realized or not (this can for example be in situations where I need to find suitable data source and I havent been successful yet or when there is a bug that I have not yet found a way of solving and therefore am considering what to do next)

Main advantages:
- helps me to keep track of what the current issues are
- saves time to me and you because it will prevent duplicate issues being emailed to me
- easy way of directly sending your suggestions/bug reports from the page


If you have any suggestions of how to further modify this new page please let me know.

http://www.meteotemplate.com/web/issues.php


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 22, 2016, 01:58:39 PM
(http://i66.tinypic.com/6qjnn4.jpg)
Title: Re: Meteotemplate - new free website template
Post by: Paul on June 22, 2016, 05:09:05 PM
Got to be CloudBerry, yum! (Not that I have ever tried one)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 22, 2016, 05:28:22 PM
Maybe... you will see.

Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on June 22, 2016, 09:10:53 PM
did i miss something in current block settings?  showing 0 degrees.
Title: Re: Meteotemplate - new free website template
Post by: sydeburnz on June 22, 2016, 09:18:21 PM
strange, now it is working.  :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 22, 2016, 09:26:38 PM
Let me know if you have any further problems with it
Title: Meteotemplate 7.0 Pomegranate!
Post by: Jáchym on June 23, 2016, 08:17:25 AM
(http://i65.tinypic.com/awqlpd.png)
Hi guys,

as I recently promised, a new version of Meteotemplate, Meteotemplate 7.0 Pomegranate, is now available for download! The update procedure should be very easy, smooth and fast.

As I also mentioned in my last newsletter, this update brings some useful new features and the next version will fully concentrate on code optimization, refactoring and overall improvement of user experience, also trying to make it even more simple for you as a webmaster.

But let´s not jump ahead.

If you want to read full description including screenshots as well as instructions for the update, go to the blog. Also the demo has been updated and now includes the new features.

http://www.meteotemplate.com/template/

Also, once someone of you does the update, please let me know if everything went ok.

New features

Menu blocks

Over time I noticed some of you find it hard to decide, which blocks they want to put on their homepage and hard to resist not including some. Although you can theoretically put as many blocks on your homepage as you like, it is obviously not ideal due to the length of the page and also size. I knew I have to come up with a solution to this. And so I now introduce to you the concept of “menu blocks”, which further enhances the possibilities of how you can arrange your homepage.

Just like the multiple blocks introduced in version 6, it is extremely easy to create a menu block. And so what is a menu block? A menu block is a dynamic block. Probably best explained using an example. Let´s say you want to create a block for “radar images”. There are several radar blocks available – one for Australia, one for Europe, Canada, U.S.,…. Now you can group all those blocks into one single block. First you specify which blocks you want to be included, then you select the default one. Then, when the user opens your page, they will see the default block, however in the top-left corner will be a menu symbol. When you click that menu symbol, a drop-down will appear and you will get a list of all the blocks you included in that particular menu block. You select the one you want. At that moment, the current block loaded will unload and your selected one load. This way you can basically put as many blocks you want into one block slot and also not overload your pc because always just one is visible.

What is even better, you can freely combine these with normal and multiple blocks, you can put a menu block into any slot you want on your homepage and you can create as many menu blocks on one homepage as you like. Instructions how to create a menu block are given in detail in the updated Wiki.

Several menu blocks are now included in the demo at meteotemplate.com for you to look at.

Station warnings

Another new feature allows you to display warnings on your page based on your station data. How it works? Once you update your site to version 7, a new set of parameters will appear in your setup.php. First you select if you want to enable this feature at all. If so, you will specify thresholds for various parameters – high temperature, low temperature, high wind etc. Then, if this threshold is exceeded, a warning icon will appear below the header with the particular icon depending on which threshold has been exceeded (more than one can be at the same time, eg. low temp + wind). On hover it will show you the actual value. More about how this works is described in the setup.php.

Menu.php

Something so many of you have been asking for and I think I finally have a solution. The menu.php will now be available for download separately in the downloads section and I will update it every time a new plugin is available, so downloading the latest menu.php will always guarantee you you have all the links needed. But that is not all. I also changed the script completely and you no longer have to uncomment anything. The script now automatically scans your plugins directory and shows those links that correspond to the plugins you have installed. Install a new one and a new link will appear automatically. Delete one, it will hide.

There is only one problem. If you customize the menu then obviously this will bring the menu back to the default state. However, the assumption is – if you are able to customize the menu yourself, then you don´t need this automation and you can simply add the links to the new plugins you install yourself.

Other new features

- interactive graph now includes dew point
- METAR now includes wind direction
- Scottish flag added to the country flags

Updates
- CSS tweaks for the homepage for more precise block alignment
- Highcharts CSS tweaks
- all bug fixes since version 6 release included - changes in climate maps (reflecting changes in Google Maps API), changes in METAR (reflecting changes at NOAA website)
- improved translation functions

Bug fixes
- fixed problem with exporting solar radiation in the interactive table

Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 23, 2016, 09:11:53 AM
Updated tto 7.0 and all seems fine!

Kept my old menu.php for now

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 09:27:02 AM
Yes Bill, that was probably a good idea.

I think most people will find it better to simply add links themselves and customize the menu, but there are users who find this difficult and now everything will be automatic. And for them this will be very useful because they only use the available plugins, blocks and pages so the default version will work perfectly fine.

Thanks for letting me know and I hope the new features will further enhance the template functionality. I just noticed my station is showing a high-temp warning.... no wonder, it is 34°C in my office here and of course no A/C :D Tomorrow it is supposed to be even more and then over the weekend it will hopefully drop to something more bearable
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 23, 2016, 10:11:36 AM
Jachym,

Updated without issue.  I haven't played with the block menus yet, but will work on that.  I did use the default menu.  One question.  If the plugin is not installed then I assume it won't show on the menu?

Thanks for the new version.

Jay

OK.  I read more carefully and answered my own question.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 23, 2016, 10:17:42 AM
Good afternoon!

Congratulations on v7.0! :)

I'm doing a full install of it, I say 'doing' I have done it lol - I have used the new menu.php, even though I knew h ow to edit the other, I was feeling lazy. It works perfectly, downloaded the air traffic plugin and there it was in the menu! :D

Time to add more plugins!

I've tried adjusting the thresholds for the warnings, but every time I hit save, it goes back to the default thresholds.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 10:31:59 AM
Tina:

I just tested it, it works fine, are you sure the directory is writable? It must be able to create the config. I suspect yours is not writable so it cannot overwrite the existing config.php with the new one so since the old one does not contain the new parameters, it loads the defaults.

Jay:

Yes, the way it works now is this:
The menu.php has all plugins included, but it first scans your Plugins directory. Then it makes a list of every plugin you have there and shows links for those. So if you install a new one, it inserts a link, if you delete one, it doesnt find it any more and automatically hides it.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 23, 2016, 10:47:49 AM
Solved! My browser was bugging out on me. I closed it and started again, and it worked. Phew!

I'm getting the warning triangle which says 0.0C in the last 10 minutes? Is that the temp change?
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 23, 2016, 10:55:43 AM
Jachym,

I found a small but important error in the wiki while trying a menuBlock.  The bold face example is correct, but you have the items separated by a comma and they must be separated by a semi-colon in the smaller example.

I really like this feature.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 11:31:15 AM
Jay:

Thanks! Fixed, I updated the wiki.

Tina:

No, that is not correct, that means that your config does not contain the value, so it treats it as 0. The value should be the actual value. Check that you have the thresholds saved in the config by manually inspecting it in a text editor.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 23, 2016, 11:42:00 AM
Jay:

Thanks! Fixed, I updated the wiki.

Tina:

No, that is not correct, that means that your config does not contain the value, so it treats it as 0. The value should be the actual value. Check that you have the thresholds saved in the config by manually inspecting it in a text editor.

It was because I forgot to change the path to my realtime.txt when I downloaded the updated template.  :oops:

All the plugins I need are now added. There's just a minor issue with the font size on the footer, for a few of the plugins:

http://www.warehamwx.co.uk/meteo/plugins/earthquakes/index.php
http://www.warehamwx.co.uk/meteo/plugins/eclipses/eclipses.php
http://www.warehamwx.co.uk/meteo/plugins/radarEU/europeRadar.php
http://www.warehamwx.co.uk/meteo/plugins/forecastModelEU/europeModel.php
http://www.warehamwx.co.uk/meteo/plugins/cityConditions/cityConditions.php
http://www.warehamwx.co.uk/meteo/plugins/worldExtremes/extremes.php
http://www.warehamwx.co.uk/meteo/plugins/warningsEU/warningsEU.php
http://www.warehamwx.co.uk/meteo/plugins/history/history.php

The header font changes as well
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 11:49:33 AM
OK, so working ok?

I hate such warm weather we have here today, again broke the record for Jun 23.... but at least it has one advantage - the warning on the demo page shows up without me having to set the threshold temporarly to something very low so that people can see it :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 23, 2016, 01:13:38 PM
Need a hint as to how to use menuBlock inside a multipleBlock the following gives an error

     
    // Multiple Block Layout!
    $columnWidths = array(100); // this will create just a one-column homepage, where every block will occupy the full width of the homepage
    $column1 = array("warningsCA",
        "multipleBlock(greetings,33;clockDigital,34;payPal,33)",
        "gauges",
        "multipleBlock(interactiveGraph,55;ecForecast,45)",
        "multipleBlock("menuBlock(radarUSH;radarEU;radarAU;radarCA)",75;stationData,25)",
        "multipleBlock(webcamL,30;webcamC,40;webcamR,30)",
        "multipleBlock(worldWeather,60;trends,40)",
        "multipleBlock(history,33;extremes,34;rain,33)"       
        );
    #### NOTE: place a comma (,) after the last line entry before adding a new line - i.e. "yowindow","newBlock"
    #### NOTE: the ); must be after the last entry - i.e. "yowindows" - and spaces and extra blank lines are permitted
    $columns = array($column1);
 
     
Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 01:22:00 PM
Need a hint as to how to use menuBlock inside a multipleBlock the following gives an error

     
    // Multiple Block Layout!
    $columnWidths = array(100); // this will create just a one-column homepage, where every block will occupy the full width of the homepage
    $column1 = array("warningsCA",
        "multipleBlock(greetings,33;clockDigital,34;payPal,33)",
        "gauges",
        "multipleBlock(interactiveGraph,55;ecForecast,45)",
        "multipleBlock("menuBlock(radarUSH;radarEU;radarAU;radarCA)",75;stationData,25)",
        "multipleBlock(webcamL,30;webcamC,40;webcamR,30)",
        "multipleBlock(worldWeather,60;trends,40)",
        "multipleBlock(history,33;extremes,34;rain,33)"       
        );
    #### NOTE: place a comma (,) after the last line entry before adding a new line - i.e. "yowindow","newBlock"
    #### NOTE: the ); must be after the last entry - i.e. "yowindows" - and spaces and extra blank lines are permitted
    $columns = array($column1);
 
     
Bill

Wiki:


Quote
you can freely combine normal blocks, multiple blocks and menu blocks, however, it is not possible to nest them - it is not possible to put a menu block within a multiple block and vice versa (multiple block inside menu block).

 ;)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 23, 2016, 01:24:24 PM
Oops, missed that!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 01:27:11 PM
No problem, I did try it, it was "working", but since the blocks inside the multipleBlock have different heights it was doing some very strange things for certain blocks, so I decided to disable it.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on June 23, 2016, 01:29:30 PM
Update was easy.  I changed the menu to see how it worked.  Looks good and everything is working fine.
 Didn't try the menuBlock yet.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 01:38:01 PM
The menu.php is probably especially for those that are less experienced and so struggle with updating the menu when installing a new plugin or setting up the menu on first install. If you have already been using MT, then unless you never edited and added any custom page, this wont be much use to you, but as I said, I know about several users who just want to download and use and the menu was the last difficult thing in the template, since setup is now also using GUI.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 02:01:25 PM
I will be offline now for several hours, I do not have access to internet in my part-time job, but hopefully things seem to be working. If there is any problem either report it using the new bugs/suggestions page or post here.
Btw. 422 downloads (blocks,plugins,template) in just the last 3 hours that surpassed my expectations :D
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on June 23, 2016, 04:42:45 PM
Seems to be working fine now other than that strange problem we discussed offline.

I'm using many menuBlocks now and it is the way to go.  Once you get the hang of it you can group things together and makes load quicker and can fit everything without having so a long page.  Nice idea Jachym to move it in that direction and it gives us more flexibility customizing the site.

Thanks!   =D&gt; =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 23, 2016, 05:15:36 PM
Seems to be working fine now other than that strange problem we discussed offline.

I'm using many menuBlocks now and it is the way to go.  Once you get the hang of it you can group things together and makes load quicker and can fit everything without having so a long page.  Nice idea Jachym to move it in that direction and it gives us more flexibility customizing the site.

Thanks!   =D&gt; =D&gt; =D&gt;

I was waiting for someone to do it first, so I could see it in action. Thank you for that!  :grin:
Looks interesting - so essentially, you can show more block info without having a huge page of separate blocks?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 05:39:52 PM
Yes :)

And block-lovers like Paul from Komoka can now have all the over 70 blocks on their homepage without it having over 20MB and allowing me to view his site at home on my laptop, where 1GB RAM just cant cope currently :D
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on June 23, 2016, 05:44:49 PM
Seems to be working fine now other than that strange problem we discussed offline.

I'm using many menuBlocks now and it is the way to go.  Once you get the hang of it you can group things together and makes load quicker and can fit everything without having so a long page.  Nice idea Jachym to move it in that direction and it gives us more flexibility customizing the site.

Thanks!   =D&gt; =D&gt; =D&gt;

I was waiting for someone to do it first, so I could see it in action. Thank you for that!  :grin:
Looks interesting - so essentially, you can show more block info without having a huge page of separate blocks?

Yes.  Technically you can have one menuBlock with every block availble listed under it.

Demo Here (http://donganhillsweather.net/indexDemo)

LOL   
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 05:47:31 PM
LOL, Tom is bored :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 23, 2016, 05:50:24 PM
haha

In all seriousness, that addition to meteotemplate is probably the best yet! In my opinion of course..  ;)

I do really like the menublock idea, but I do have a small gripe with it.

Here's some pictures to try and illustrate what I mean:

 [ You are not allowed to view attachments ]   [ You are not allowed to view attachments ]

 [ You are not allowed to view attachments ]   [ You are not allowed to view attachments ]

The burger menu pushes down the items/text, leaving an empty space above it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 08:10:51 PM
Hi,

yes Tina, this was necessary, because some blocks have icon in the top-left corner, which would otherwise overlap.

One other thing I forgot to mention:

If you are hesitating with the update, or simply want to leave it for later, the new menu.php script will work fine even in all older versions of Meteotemplate and automatically update the menu.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 23, 2016, 08:55:02 PM
I am only part way on getting to v7 :oops:   Followed steps 1 through 13.  In step 15 of the update instructions, I don't have "Station Warnings" listed.

What did I miss, or do wrong?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2016, 09:01:09 PM
Paul you need to replace the setup.php and createConfig and then open setup in your browser and you should have a section for station warnings there
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on June 23, 2016, 09:17:41 PM
Jachym,
Well, I'm finally going to do it this weekend, so I'm on my way to 7
Remember that I'm on 5 now.

My plan is to upload 7 as a fresh upload.
Use the settings for where my MySQL files are and permissions to access.
Make sure the Weather Display upload of the data are still pointed to correctly for the updates (I don't think any of the two above things would change.
Do the settings setup which wasn't in 5, to make sure all the station settings are correct.
Start 7 in it's own space on the server to make sure all is set up well and tweak the positions of the blocks.
Point to 7 when I get it all going alright.

Do you see anything wrong with this plan, to do a fresh install without having to fiddle around with the database, which sort of scares me.

Dale

PS, I think that your published intention to bring Meteotemplate up to what your initial vision was is perfect.

I'm sure some very minor new things will come to someone's mind, but so much of what you already offer is above and beyond what I'll implement that to wait awhile for you to carefully and thoughtfully modify your program is well worth the wait.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 23, 2016, 09:22:18 PM
Thanks Jachym,
I actually had forgotten about setup and was looking in the admin section :oops: (I did go to the wiki and must have missed it there as well, double :oops: :oops: )

Now onto menu blocks...

Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 24, 2016, 06:50:04 AM
Help Jachym all my blocks are gone after the update the only message is Your template is now ready, please let me know at jachymcz@gmail.com so that I can add you to the user map. It will also get you priority support should you need it. Thanks. Jachym ??

I thought I follwoed the instructions well but .... see http://apeldoornmeteo.nl
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 07:23:02 AM
Jachym,
Well, I'm finally going to do it this weekend, so I'm on my way to 7
Remember that I'm on 5 now.

My plan is to upload 7 as a fresh upload.
Use the settings for where my MySQL files are and permissions to access.
Make sure the Weather Display upload of the data are still pointed to correctly for the updates (I don't think any of the two above things would change.
Do the settings setup which wasn't in 5, to make sure all the station settings are correct.
Start 7 in it's own space on the server to make sure all is set up well and tweak the positions of the blocks.
Point to 7 when I get it all going alright.

Do you see anything wrong with this plan, to do a fresh install without having to fiddle around with the database, which sort of scares me.

Dale

PS, I think that your published intention to bring Meteotemplate up to what your initial vision was is perfect.

I'm sure some very minor new things will come to someone's mind, but so much of what you already offer is above and beyond what I'll implement that to wait awhile for you to carefully and thoughtfully modify your program is well worth the wait.

Hi Dale,
yes, you can migrate your config. The setup.php is smart enough to import whatever is already specified in config, so you will only need to specify the new paramters, which will load with default values. Let me know if there are any problems.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 07:24:50 AM
Help Jachym all my blocks are gone after the update the only message is Your template is now ready, please let me know at jachymcz@gmail.com so that I can add you to the user map. It will also get you priority support should you need it. Thanks. Jachym ??

I thought I follwoed the instructions well but .... see http://apeldoornmeteo.nl

Have you copied the set up at the top of your original indexDesktop? In the instructions I said to copy your homepage block configuration, paste it in the new indexDesktop and then upload it, you probably just uploaded the default file in the update package, in which case you will need to set up your blocks again, though it hopefully shouldnt take you very long and then delete that "Your template..." directly in the HTML of indexDesktop.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 24, 2016, 07:37:26 AM
Yes I did that put this in
Code: [Select]
$theme = "dark";
$morningSwitch = 7; // if you selected "variable" above, then here you specify the hour in the morning for the switch. If you used any other option, you can ignore this parameter. The number should be given in the 24h format - in other words a number from 0 to 23
$eveningSwitch = 19; // if you selected "variable" above, then here you specify the hour in the evening for the switch back to dark theme. If you used any other option, you can ignore this parameter. The number should be given in the 24h format - in other words a number from 0 to 23

$blockColor = $design; // choose whether you want the blocks to have color1 or color2 of your design combination for the template. For color 1 use "design", for color 2 use "design2"
$blockRadius = 1; // The following parameter sets the "roundedness" (border-radius) of the blocks. You can specify the number of pixels for the radius. 0 means the borders will not be rounded at all, the higher the number, the more rounded the block borders will be.
############################################################################

# BLOCKS - see documentation at http://www.meteotemplate.com/web/wiki/wikiHomepage.php

$columnWidths = array(25,50,25);
$column1 = array("stationData","rssFeed","dynamicText","info","location","images","partnerStations","history");
$column2 = array("current","gauges","interactiveGraph","forecast","meteogram","radarEU","summary");
$column3 = array("text","riset","moonPhase","dynamicImage","map","nasaImg","uvForecast");

############################################################################

The
Code: [Select]
$menus = 0; was not in the oldindex.php I think I setup  all from scractch ( seems my station is broken too  ](*,))
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 07:46:42 AM
Hi,
copy the blocks part and paste it into the new indexDesktop, there are many new functions below it, so you need to use the new file and only copy your block setup
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 24, 2016, 07:47:56 AM
I added 'Myown1' theme to suit my tastes, the template looks awesome on my 10.1" tablet. :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 24, 2016, 07:53:43 AM
Hi,
copy the blocks part and paste it into the new indexDesktop, there are many new functions below it, so you need to use the new file and only copy your block setup

But I did that .. can you have a look and want a ftp acces ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 08:00:47 AM
Ok, let me just explain again, try that and if that doesnt help, send me a link to your homepage

1. Take your original indexDesktop.php
2. Open it and copy the lines with the blocks (ie. the column1=......  and all the other columns.
3. Open indexDesktop.php from the update package
4. Paste the column1,..... settings in this new indexDesktop
5. In the new indexDesktop.php with the pasted text, scroll down and delete the "Your template is now ready..." line
6. Overwrite your original indexDesktop.php in the root folder of your template
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 24, 2016, 08:09:39 AM
Ok, let me just explain again, try that and if that doesnt help, send me a link to your homepage

1. Take your original indexDesktop.php
2. Open it and copy the lines with the blocks (ie. the column1=......  and all the other columns.
3. Open indexDesktop.php from the update package
4. Paste the column1,..... settings in this new indexDesktop
5. In the new indexDesktop.php with the pasted text, scroll down and delete the "Your template is now ready..." line
6. Overwrite your original indexDesktop.php in the root folder of your template

OMG I need more coffee haha thanks I did what you mentioned I thought I had done that thanks for your patience evrythihg works fine now , up to the menu-blocks  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 08:56:28 AM
Excellent :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 24, 2016, 12:15:27 PM
I think I got the menuBlock figured out www.komokaweather.com/j-template/indexDesktopTest.php

Now to decide which blocks to include as menuBlocks :?

Thanks Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 24, 2016, 12:27:10 PM
Hi Jachym just found another minor issue http://www.apeldoornmeteo.nl/plugins/stickers/stickers.php only shows the large stickers the small ones don't show up any ideas ?

Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 12:30:15 PM
The demo works fine, are you sure you have all the pages uploaded for that plugin and correct permissions? The scripts are the same so I see no reason why one would work and not the other one. There are sometimes problems when GD is not installed on the server, but that obviously isnt the case since then no images would work.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 24, 2016, 12:34:04 PM
The demo works fine, are you sure you have all the pages uploaded for that plugin and correct permissions? The scripts are the same so I see no reason why one would work and not the other one. There are sometimes problems when GD is not installed on the server, but that obviously isnt the case since then no images would work.

Ah I see I did not install php 5.6 (was 5.3) works fine now thanks.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on June 24, 2016, 12:55:59 PM
Jachym,
 
  Thanks for 7.0.  I really love the menuBlock feature.  I have used it in several of the blocks.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 01:03:44 PM
Great, Im glad you guys found it useful and that the update seems to be without any problems.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 01:04:39 PM
If you discover a bug or want to suggest a new feature, submit it here:

http://www.meteotemplate.com/web/issues.php

It helps me to keep track of things and also you see what has already been reported and what the current state is.
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 02:12:05 PM
The MenuBlock works very well.   :grin:  =D&gt;

The little problem I have is that these menu items can not be seen, having a black background that displayed menu. I can only see the items by placing the cursor over them  :roll:

    (http://kocher.es/cajon/menublock1.JPG)

    http://kocher.es/meteotemplate/indexDesktop.php (http://kocher.es/meteotemplate/indexDesktop.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 02:35:51 PM
Hi Javier,

yes this is because you are using the weird color scheme... the rainbow color scheme was only experimental and worked well in version 1 and 2, but I think I already told you that it will cause many problems. Please choose any other theme and I should also remove it from the theme file. It really was just for v1 and v2, more like a test of the colors. The problem there is that the shades are not from lightest to darkest.
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 02:51:02 PM
Thank you very much Jachym

Greetings from San Sebastian
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 02:55:23 PM
You would have many problems on other pages too, graphs etc. This was just a test. Any other color is ok except this one.
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 03:35:26 PM
I can only see menu items, if I choose one of these colors in $ design2 =" " of file config2.php

- yellow
- amber
- orange
- Deep_orange
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 03:40:49 PM
why config2? Config2 will not work, all files are looking for config.php
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 03:48:02 PM
Sorry, I think I'm totally confused.     :oops:
I have updated the template and can not find any file "config.php". I have only my old files "config.php" and "config2.php"
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 03:55:04 PM
Yes, you dont use the config yourself anymore. Now you use the setup.php, this file will create and update your config automatically. Do not open or do anything with config.php. It is no longer done this way. Use setup.php to set everything up and setup.php will create/update your config.
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 04:12:11 PM
Ahhhh

Now I must go to the address:

http://kocher.es/meteotemplate/install/setup.php?password=xxxxxxxx?
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 04:16:52 PM
I was lost .... :roll:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 24, 2016, 04:45:49 PM
Quote
I was lost .... (http://www.wxforum.net/Smileys/default/icon_rolleyes.gif)
so was I yesterday, but found my way back though with Jachym's good guidance!

Paul
Title: Re: Meteotemplate - new free website template
Post by: kocher on June 24, 2016, 04:51:35 PM
 :grin: :grin: :grin: :grin:

PaulMy: Congratulations on your beautiful images of webcams
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 24, 2016, 05:04:18 PM
I've just downloaded (first time) and added the trends block as part of the menuBlock, I get weird things happening when hovering over it. Is it supposed to show a tooltip?  I can run my mouse over all of it, and occasionally I might get one appear, for the wind gust trend, but that's it. Is that the normal behavior for it?

Also, clicking 12hr gives a value to two decimal places, then as you go to 24hr and up to 1 month, you get this:

 [ You are not allowed to view attachments ]

A bit of rounding is needed. :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 05:52:43 PM
The problem there is that it uses SparkCharts, a very simple library that creates inline charts, and it is only very simple and it calculates the averages etc. and obviously does not really care about rounding... I will see if anything could be done about it, but I worry not. Tina please report problems in the new bugs section at meteotemplate. The problem is that given I receive tens of emails and questions, bug reports, suggestions every day, I would lose track and that makes it easier for me and you also see my comments and what the status is.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 24, 2016, 06:44:05 PM
The problem there is that it uses SparkCharts, a very simple library that creates inline charts, and it is only very simple and it calculates the averages etc. and obviously does not really care about rounding... I will see if anything could be done about it, but I worry not. Tina please report problems in the new bugs section at meteotemplate. The problem is that given I receive tens of emails and questions, bug reports, suggestions every day, I would lose track and that makes it easier for me and you also see my comments and what the status is.

Are the tooltips supposed to show for each sparkline? I only get one for wind gusts.

Re The bugs sections; I'll be sure to go there in future. :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 24, 2016, 06:51:01 PM
Tina, I tried going to your site using the globe link and get
Quote
Server not found

Firefox can't find the server at www.warehamwx.com.

p.s. my trends behave the same as you mention.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 24, 2016, 06:57:05 PM
Tina, I tried going to your site using the globe link and get
Quote
Server not found

Firefox can't find the server at www.warehamwx.com.

p.s. my trends behave the same as you mention.

Paul

Remove the 'www' it doesn't use that now for whatever reason. The same with warehamwx.net - The main url in use now is http://www.warehamwx.co.uk/meteo :)

PS: Or click the banner
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 07:22:35 PM
A mystery...

the code for all sparklines is exactly the same - and all are rounded...

Eg (wind and gust):

Code: [Select]
// Wind speed
$("#trendsWDiv").text(json['data']['W']);
trendW = json['trend']['W'];
trendW = trendW.toFixed(2);
$("#trendsWNumber").text(getSign(trendW) + trendW + " <?php echo $displayWindUnits?>");
$("#trendsWImgDiv").html("<img src='homepage/blocks/trends/icons/<?php echo $theme?>/"+getTrendImg(trendW)+"' class='trendImgIcon'>");
$('#trendsWDiv').sparkline('html',{
type: 'line',
width: '100%',
height: '30px',
lineColor: '<?php echo $sparkTrendColor?>',
fillColor: null,
lineWidth: 1.5,
spotColor: false,
spotRadius: 3,
minSpotColor: '#cfbfff',
maxSpotColor: '#69008c',
highlightSpotColor: null,
highlightLineColor: null,
drawNormalOnTop: false,
disableInteraction: true,
});
// Wind Gust
$("#trendsGDiv").text(json['data']['G']);
trendG = json['trend']['G'];
trendG = trendG.toFixed(2);
$("#trendsGNumber").text(getSign(trendT) + trendT + " <?php echo $displayWindUnits?>");
$("#trendsGImgDiv").html("<img src='homepage/blocks/trends/icons/<?php echo $theme?>/"+getTrendImg(trendG)+"' class='trendImgIcon'>");
$('#trendsGDiv').sparkline('html',{
type: 'line',
width: '100%',
height: '30px',
lineColor: '<?php echo $sparkTrendColor?>',
fillColor: null,
lineWidth: 1.5,
spotColor: false,
spotRadius: 3,
minSpotColor: '#cfbfff',
maxSpotColor: '#69008c',
highlightSpotColor: null,
highlightLineColor: null,
disableInteraction: false,
});
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 24, 2016, 07:26:57 PM
Im really puzzled by this.

Both use the exact syntax... I will have to do some testing and see if I can figure out why it is doing what it is doing
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on June 25, 2016, 07:12:40 AM
Hi Jachym,

Error message with Meteotemplate 7.0:

Warning: Invalid argument supplied for foreach() in /home/weathers/public_html/template/scripts/functions.php on line 266

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 09:46:57 AM
Try inserting this somewhere at the top of your config:

Code: [Select]
$errorLog = array();
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 05:22:20 PM
Meteotemplate development temporarily ceased until the temperature in my flat drops below 90F at least during night  :grin: :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on June 25, 2016, 06:43:04 PM
I can only commiserate.  We now have central air conditioning and use it.

I lived many a summers on the farm with only the shade of the cottonwood trees to help with cooling.

Today I have low 90s and dewpoints in mid 70s with a density altitude of 3100 plus feet.

Miserable.

Even the wind feels hot.

Best wishes for a speedy cool down.  We are supposed to get a cold front tonight and already had some instability thunderstorms in front of the front.

Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 25, 2016, 06:45:39 PM
I've never officially recorded over 30°C here. I got close in 2013.. wish I could have that now, Summer is turning out to be another Autumn here. :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 06:52:14 PM
No worries...

development continues :D

The cold front finally arrived, I was at work today talking to my colleague from the forecast deparment, it was coming, I just didnt know when. Now it already started raining, wind speed increases and I can hear the thunder. The temperature will no go down very quickly. Some parts of the Czech Republic experience hail right now! But I live in a relative shade by the mountains, so it never is that bad here. Just heavy rain. Temp dropped by several degrees in just last hour :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 06:54:56 PM
Have a look :)

http://radar.meteopress.cz/

Brno is on the southeast. There is just one problem... I live in a roof flat and all my windows are sort of in an angle, so when it is raining I cant open it otherwise water comes inside... so it is much better outside now, but I will have to wait before it stops rainig heavily before I can finally fully open them
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 06:59:21 PM
LOL :D

6 PM - 34.3°C (94F) , 54%
8:36 PM - 30.5°C (87F),  64%
22:36 PM - 27.2°C (80F), 71%
0:36PM - 22°C (71F), 91%

Goes quite quickly, but in my flat still over 30C (86F) :D
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on June 25, 2016, 07:36:32 PM
can you open windows to get cross ventilation to cool the interior down some?

Glad it is cooling a bit.

I cannot imagine our ancestors who had to mow and haul hay, do chores and chop wood and do heavy labor day in and day out in weather like this.

I always felt I like cold better than humid hot.  I can only (legally) take so many clothes off.  I can always put more sweaters and pants on.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 07:53:42 PM
I can of course open the windows, but only when it isnt raining. It is now not raining so much any more so I did open them, but it will take some time before it cools down a bit.
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on June 25, 2016, 08:32:09 PM
Letting in rain is never a good way to cool down.

We were in a building once that had older windows that were supposed to slide up, and either have open to the outside or a screen to minimize bugs coming in, especially at night. 

Well, someone had painted them, generously, and that caused them to be 'glued' shut.  And the resulting loss of air was oppressive.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 08:34:56 PM
It stopped raining now, so I can open them fully, but it is not very windy, so it will take time. Fortunately my flat is just a one-room studio basically with a kitchenette, so it isnt big.

The other problem is that I cannot leave the windows open when Im not here even when I know that it definitely wont rain. The other problem is that during the day there are pigeons on the roof and even though it never happened, the risk that one of them somehow gets in... that would be a disaster, so I always have to completely close all of them and then sometimes, when it is like 95F and Im gone for the whole day, you come in and it is like a sauna :D
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 25, 2016, 08:48:25 PM
I thought i'd mention it in here, but the Met Office WoW site has changed, so the link that users add in to meteotemplate (networks) no longer works. It seems there has been a big cock-up made as well, thousands of stations have been unregistered. Thankfully, mine wasn't, but I do have data issues. It seems they have also changed how often it gets updated as well, I used to send my data every minute, but it looks to be a maximum of 5 minute intervals now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2016, 08:53:19 PM
Tina, please use the bug reports section at meteotemplate.com. It is then very difficult for me to keep track of the problems. People send me emails, some post comments in the blog, some post it here and I sometimes just "remember someone mentioned some bug" and I have to go through tens of posts to find it.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on June 26, 2016, 08:24:43 AM
It's not a meteotemplate bug, it's just a reminder for those who use the Met office WoW to check their account, and update their config with the newer WoW link.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 26, 2016, 08:33:05 AM
Aha, ok, I thought the link changed.
Title: Meteotemplate - New block - Current Conditions - Australia
Post by: Jáchym on June 26, 2016, 03:35:30 PM
(http://i65.tinypic.com/25ic9x1.png)

Current Conditions - Australia


Hi guys,

a new block is now available for showing current conditions in major Australian cities. In the settings you specify your territory. The actual block will then show you the current temperature, humidity, pressure, wind speed and direction and rain since 9AM and in the expanded view also wind gust, daily high/low temperature, times of measurement etc. Data is always shown for stations that currently have data available and the data is cached.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentAustralia

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 26, 2016, 05:29:01 PM
Looks good Jachym.  And I can take advantage of menuBlocks as well...

Paul
Title: Meteotemplate - Newsletter
Post by: Jáchym on June 27, 2016, 09:38:37 AM
Hi guys,
I have published a new issue of the Meteotemplate newsletter.

You can read it here:
http://meteotemplate.com/blog/?p=740

There is as always a summary of new features and some other info about the template in general.

If you would like to see the previous issue, the link is here:
http://meteotemplate.com/blog/?p=698
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 27, 2016, 05:34:02 PM
Hi
 I upgraded to Update 7.0 and open the template cuandi salre me this.Your template is now ready, please let me know at jachymcz@gmail.com So THAT I can add you to the user map. Also will it get you priority support Should you need it. Thanks. Jachym

www.meteo-badalona-pogres.com/template
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 27, 2016, 05:38:33 PM
http://www.meteo-badalona-progres.com
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 27, 2016, 05:47:55 PM
Juan you probably didnt copy your original setting from your original page. In the instructions I said you have to go to your original homepage and copy your block settings and then paste it in the new one before uploading it. Have you done that?
Title: Re: Meteotemplate - new free website template
Post by: Daali on June 28, 2016, 11:03:59 PM
Jáchym,

I really want to thank you for the template!  My site has come so far (I have 0 skills and it looks professional) in such a short period of time.

Thank you again!
John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2016, 07:08:47 AM
Great John, thanks.
Title: Feedback
Post by: Jáchym on June 29, 2016, 09:20:56 AM
I would like to ask you, those of you who want to of course and no matter if you use MT or not, to send me your feedback about the template in general. By that I mean maybe 1 or 2 sentences that would summarize your overall impression and feeling about Meteotemplate in general. I would like to use this for references and maybe also include it in the future on the page as “user comments”. I am definitely not looking for only positive feedback, I am looking for your objective feedback and both positive and negative comments are welcomed. In case I choose yours, I would always include just your first name, so you do not have to worry about your privacy.

Thanks in advance!
Title: Meteotemplate - New Web
Post by: Jáchym on June 29, 2016, 03:22:18 PM
Hi guys,
I hope you will like the completely new website I created. I think based on what has Meteotemplate become, it needs slightly more professional and user friendly look, less scrolling, responsive, everything is not black :-).

Complete redesign and what is more - a completely new Wiki, now a very easy to follow step-by-step tutorial, which reflects the most recent changes and ways things now work.

See for yourself :-)

www.meteotemplate.com

(http://i66.tinypic.com/2iaby2f.jpg)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on June 29, 2016, 03:51:05 PM
Nice Jachym, looks good.

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2016, 04:45:08 PM
Thank you Tom and thank you for sending me your feedback, I really appreciate it.
Title: IMPORTANT NOTICE FOR ALL USING GOOGLE MAPS!
Post by: Jáchym on June 29, 2016, 05:57:00 PM
Hi guys,
it was pointed out to me by several people, who have recently installed Meteotemplate, that their maps are not working.

Doing some Google search I relatively quickly found the problem:

https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update

What this means:

Anyone using Google Maps on their site (I am not talking about Meteotemplate, this applies to anyone) will now have to get an API key and will also have a daily quota. Users who already have been using Google Maps on their sites prior June 22 now have 90 days to make changes in their scripts and include API key. After that it will stop working. New users have to get the API key right from the beginning - and that also explains why any new user of my template does not currently have maps working.


I will make the corresponding changes and prepare instructions how to proceed for all Meteotemplate users, but I wanted to mention this to anyone, because I know that many people use Google maps on their sites, and honestly - there is no alternative that would get even close to what Google Maps can do. Fortunately, the daily quota seems to be ok for all users like us, who dont have tens of thousands of daily visits.

One problem is that this is obviously something you cannot cache, so caching here will not help.
Title: Re: Meteotemplate - new free website template
Post by: Daali on June 29, 2016, 09:06:16 PM
Thanks Jáchym

I got my key (although I must be grandfather'd in by Google) at the ready when you update!

Anyone can get a key here https://developers.google.com/maps/documentation/javascript/get-api-key
Title: Re: Meteotemplate - new free website template
Post by: robv60 on June 29, 2016, 09:18:33 PM
Daali is correct, this is what I did to get mine working; created a browser API key for google maps and applied to pages that called for it. Tedious but it got me going. Works like a champ.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 05:44:20 AM
Hi guys,

yes the change is not difficult to make, but obviously I do have to go and change those things in the past and implement this into the setup.php.

One thing that is problematic is that the actual setup.php uses that as well, which means a problem - ideally this should be set up in the setup, but the setup.php already needs it :D I will try to find a way... I could try to use different Map service for getting your coordinates, but the great thing about Google in this case is that it also geocodes your location and automatically pre-fills your country code, city etc. And Im not sure any other service can do this.

Anyway it is now priority No.1. Google really should have said something. Yes I know, existing users still have 3 months to make a change, but it is problematic for developers because it does not work for new users immediately and obviously it does take some time to make changes in all the scripts. The message in the console about the requirement for Api key should have appeared before that change was made.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 30, 2016, 08:22:05 AM
Hi Jachym,
nice look and feel of the meteotemplate.com site well done  :!:
Ron
Title: Meteotemplate - Bug Fixes Package
Post by: Jáchym on June 30, 2016, 08:34:33 AM
As I posted yesterday (see above), Google Maps now requires an API key, however, existing users still have 90 days to implement the changes.

1. Current Template Users
Since you still have 90 days when you can use the maps without an API key, you do not need to immediately apply the fixes in the just released bug fixes package. Of course you can if you want, but within those 90 days there will be a new version of the template which will have these changes implemented.

2. New Template Users
You do not need to apply this bug fix package, it has already been changed in the main download file and so just follow the update instructions in the Wiki.

3. Users who downloaded and installed Meteotemplate between Jun 22 and Jun 30
You downloaded version that does not have API key implemented, but already required. Download the bug fixes package and follow the instructions in setup.php or in the wiki.

http://www.meteotemplate.com/web/download.php - section Bug Fixes
Title: Re: Meteotemplate - new free website template
Post by: weatherc on June 30, 2016, 01:13:06 PM
Quote
Anyone using Google Maps on their site (I am not talking about Meteotemplate, this applies to anyone) will now have to get an API key and will also have a daily quota.

The quotas have been there for long time, they just puts the API-key in force now...
One should also be aware of the prices when free quota of 25K maploads/24h are exceeded. Its not cheap.
Example...
Having 100K maploads a day costs 32.50$ per day.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 01:23:27 PM
It looks like the problem is not fixed, there is one major obstacle....

Since I used these before Jun 22, my site will work until October, just like all other previous users. However, there is no way for me to test if I fixed the problem for new users, because I see it working, but I don´t know if it works because Im still in that 3 month period or because I fixed it. And it checks your domain, so I cannot change that. And even if some other user gave me access to their FTP it wont help because I would need FTP of someone who has just installed the template and never used Google Maps API on their domain.
Title: Re: Meteotemplate - new free website template
Post by: Daali on June 30, 2016, 01:27:17 PM
If based by domain name only, I could give you access to a parked domain and account to play with.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 01:35:01 PM
I would basically need access to someone´s FTP account, where MT is installed and where it was not installed prior Jun 22, 2016. It could even be some limited account for access just to the MT folder, but I need to play around with it, try plugins etc.
Title: Re: Meteotemplate - new free website template
Post by: Daali on June 30, 2016, 01:40:51 PM
You have PM
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 01:40:59 PM
Ok thanks John, I will have a look tonight and hopefully find a fix.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 03:00:06 PM
OK, I found the problem, it will be fixed hopefully tomorrow. I will need to change many pages and all plugins that use Google Maps
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 03:20:14 PM
It might take longer... tens of pages will have to be changed... isnt it nice when they tell you the day they deactivate it...
Title: Re: Meteotemplate - new free website template
Post by: robv60 on June 30, 2016, 03:58:59 PM
Excellent!  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2016, 05:39:53 PM
OK, so just to keep you guys updated about what is happening.

Basically, Google Maps API now requires an API key. Old users still have 3 months to make the corresponding changes in their scripts, however new users have to have the key already.

My original idea was:
- include the script with the key in the header and therefore only that script would need to be changed. On pages where this is used, the script would then be loaded twice - once as part of the header and with the API key and once in the actual body of the page, without it. Of course this is not a very elegant solution, but I would of course over time delete that duplicate during updates of those plugins and pages concerned, or during new version release.

Unfortunately, as it turned out, this will not work. Since the header is loaded first, it loads the script with the API key. So far so good. However, it then continues to the body section and here it is loaded again, this time without it. And at that moment, it ignores the original and thinks you did not include the API key.

There are therefore only two possibilities:
1. include it in the header like now, but delete it in all those pages where it is included currently, without the API key
2. dont include it in the header and change the code in those pages

Since it is not required to be loaded on each site in the header and since I would have to change all those pages concerned anyway, there really is no point in having it in the header, so I will go with option number two.

However, just doing some very quick analysis, when counting all the core pages of the template + blocks + plugins, it will be over 61 changes, so it might take me a few days before I update it all. Current users who installed the template prior to Jun 22 can still use the old scripts, but I recommend you also update it, since there really is no point in postponing it, because sooner or later you will have to do it. It will stop working in September.
Title: Meteotemplate - Plugin Updates + Bug Fixes Package
Post by: Jáchym on July 01, 2016, 07:12:17 AM
Ok guys,
spent the last night going through all the files and making the necessary changes. As I mentioned earlier, you will sooner or later have to update these, however, existing users still have 90 days to do so, so no need to rush.

First go to meteotemplate.com Downloads section and download the latest bug fixes package 7.1 (if you have downloaded the one I released yesterday please ignore it, it was not solving the problem). Then follow the instructions in the readme file. Once you have all your files updated and set up, you can update the following plugins, mostly it is just the change with Google Maps, in a few cases however, I also did some minor tweaks:


Updated plugins:


usExtremes 1.1
earthquakes 2.2
disasters 2.2
cityConditions 2.2
userMap 1.2
countryDetail 1.1
climateUS 1.1
climateCanada 1.1
issTracker 1.2
windDirection 1.1
marine 2.1

Best regards
Jachym
Title: Meteotemplate - new block: Current Conditions U.S.
Post by: Jáchym on July 01, 2016, 08:14:22 AM
(http://i65.tinypic.com/2us8lds.jpg)
Hi guys,

to make it a bit more interesting, in addition to the updates and bug fixes (see today´s previous post), I also have a new block for you which is similar to the recently released Current Conditions Australia.

New block: Current Conditions U.S.

This one is for the United States. Simply choose any number of any U.S. cities (using METAR code) and see the current conditions all in one sortable table. Data is of course cached and you can also set the maximum age of the observation, and if older, it would be skipped. Units automatically adjust based on your template units set up.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentUS
Title: Re: Meteotemplate - new free website template
Post by: robv60 on July 01, 2016, 01:10:30 PM
I like the new block.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 01, 2016, 01:26:18 PM
Jachym,

  Thank you for the new Current Conditions block.  I love it!  I have 7 locations added to it and it loaded very quickly the first time (non cache).

Update

  If an xml file has a heat index in it the block doesn't show it in the feels like column.  Example xml files are http://w1.weather.gov/xml/current_obs/KDCA.xml and http://w1.weather.gov/xml/current_obs/KMRB.xml

John
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 01, 2016, 03:51:27 PM
Strangely, I'm not able to get the new CurrentUS block working.  #-o

Tries to load forever and never retrieves the cached data.

httpd error log shows:
Code: [Select]
PHP Parse error:  syntax error, unexpected end of file in /var/www/html/meteo/homepage/blocks/currentUS/currentUSBlock.php on line 341
Which would lead me to believe there is a missing } somewhere but I can't find it. Besides, Jachym doesn't make those kinds of mistakes!

Ideas?

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 01, 2016, 04:09:45 PM
Strangely, I'm not able to get the new CurrentUS block working.  #-o

Tries to load forever and never retrieves the cached data.

httpd error log shows:
Code: [Select]
PHP Parse error:  syntax error, unexpected end of file in /var/www/html/meteo/homepage/blocks/currentUS/currentUSBlock.php on line 341
Which would lead me to believe there is a missing } somewhere but I can't find it. Besides, Jachym doesn't make those kinds of mistakes!

Ideas?

--Kurt

What's your web address?
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 01, 2016, 04:20:25 PM
www.kpw3.com/meteo (http://www.kpw3.com/meteo)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2016, 05:38:01 PM
Strangely, I'm not able to get the new CurrentUS block working.  #-o

Tries to load forever and never retrieves the cached data.

httpd error log shows:
Code: [Select]
PHP Parse error:  syntax error, unexpected end of file in /var/www/html/meteo/homepage/blocks/currentUS/currentUSBlock.php on line 341
Which would lead me to believe there is a missing } somewhere but I can't find it. Besides, Jachym doesn't make those kinds of mistakes!

Ideas?

--Kurt

Hi,
I think I know what it could be, it has to do with how PHP is set up on your server. I made a slight modification in the script, try re-downloading it and let me know if it helped.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2016, 05:58:30 PM
Jachym,

  Thank you for the new Current Conditions block.  I love it!  I have 7 locations added to it and it loaded very quickly the first time (non cache).

Update

  If an xml file has a heat index in it the block doesn't show it in the feels like column.  Example xml files are http://w1.weather.gov/xml/current_obs/KDCA.xml and http://w1.weather.gov/xml/current_obs/KMRB.xml

John

Hi John,
when I was developing it, none of the locations had that so I wasnt even aware this is possible. That brings me to a conclusion not many locations have this, maybe a few, a bit more have the wind chill (which is what it currently shows in the last column) and most have none.
I dont really want to add another column, there isnt that much space on the homepage and if only so few locations have this... and putting wind chill together with heat index is also problematic, both are calculated differently, wind chill takes into account wind and temp, heat index temp and humidity. And what then if some locations had both... they shouldnt be mixed in one column.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 01, 2016, 09:21:53 PM
That's solved the problem, Jachym.  Thanks!

New template and website look great, too.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 02, 2016, 09:59:09 PM
Well, after a trying week, I have gotten to the updates and additions,  I think I have them all updated and added, including the Google API key.  Everything seems to be working.

Paul
Title: Re: Meteotemplate - new free website template
Post by: staccermaccer on July 03, 2016, 05:25:27 AM
Hi, Jachym

You are really the man! I think it will be difficult now to enhance your template even more, fantastic work! I humbly go down on my knees..

Marc from Antwerp AKA staccermaccer.

(http://www.akker.be/template/plugins/stickers/sticker800_170.php?parameter=T&text=Hello&color1=blue&color2=orange)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 08:08:41 AM
Thanks guys,
don´t worry, I still have many ideas and that includes not just new features, but also things that must be improved. Next version is still long way to go, definitely not any time soon, but I have already started working on it and it will again be something to look for.
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 03, 2016, 10:53:53 AM
Updated to 7, good work Jachym, many thanks.

Only one issue that I can't figure out. The City Conditions (2.2) plugin does not display the map, if I look at the Elements in the Chrome 'console' the map is there but with a zero pixel height.

Other Google maps are ok such as the User Map since I applied the API Key.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 11:20:20 AM
This could be a problem with Yahoo, I need to check if their API is working, I think they never fixed the pressure error which has been reported by me and hundreds of other developers back in March. The problem is their API shows pressure around 1000 and units as inHg. That on its own would not be such a big problem, you would think they just accidentally messed up the units, however... that value unfortunately, though looking like hPa, is totally wrong. The pressure simply does not correspond to the pressure at that particular location. Right now for example, the difference between the real value and the one reported by Yahoo is over 20 hPa - i.e. unusable.
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 03, 2016, 01:44:56 PM
I was able to fix it by editing the CityConditions.php so the the main div had a height of 100% declared:

<div id="main" style="text-align:center;height:100%">

After reading this:

http://stackoverflow.com/questions/16349476/map-isnt-showing-on-google-maps-javascript-api-v3-when-nested-in-a-div-tag (http://stackoverflow.com/questions/16349476/map-isnt-showing-on-google-maps-javascript-api-v3-when-nested-in-a-div-tag)

It is strange though when I tried on your site it was working fine without this.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 03, 2016, 03:00:41 PM
Strangely, I'm not able to get the new CurrentUS block working.  #-o

Tries to load forever and never retrieves the cached data.

httpd error log shows:
Code: [Select]
PHP Parse error:  syntax error, unexpected end of file in /var/www/html/meteo/homepage/blocks/currentUS/currentUSBlock.php on line 341

Jachym:

As I posted earlier regarding the currentUS block, today I found that my server, which is running PHP 5.6.22, gives this same "end of file" error on all of the noaaReport pages.

Looking back at your fix for the original error I changed the php tag on line 402 of standardized & international.php, and line 419 of interactive.php from:
Code: [Select]
<?to
Code: [Select]
<?phpand the problem was solved on all pages. It's an easy fix but I don't know enough about PHP to know why it is requiring the strict interpretation of the tag.

Working now in any case!  :-)

Edit:  I found that
Code: [Select]
<?is a PHP "short tag" and not all servers support it.  Apparently mine is one of those.

I think I could change that by setting the short_open_tag property in php.ini  ...but I don't think I will!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 03:23:41 PM
Hi,
yes thanks for letting me know. There is another user (PaulMy), whose server does that too. Vast majority of servers are ok with just <?. However, I of course try to always make sure I only use <?php. "Unfortunately" my server supports <? as well so if I forget it, everything works fine and it is hard to notice it until someone tells me :D There is another problem in the NOAA report plugin, so I will update that plugin soon.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 03, 2016, 03:24:20 PM
Quote
It's an easy fix but I don't know enough about PHP to know why it is requiring the strict interpretation of the tag.
Welcome to the club... I have had that issue in the past and know Jachym does try hard not to use the short tag form so as to avoid such error.

Paul


Edit - I see Jachym was quicker with his response.
Title: Re: Meteotemplate - new free website template
Post by: lrosenman on July 03, 2016, 03:36:25 PM
new user here (just getting it set up).  Noted that it wasn't taking all my updates.  I had to modify
.../template/update/meteobridge.php line 28 from 5*60 to 4*60 since I'm sending data every 5 minutes.

Thanks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 03:37:08 PM
Thanks for letting me know guys, I found it in the code and corrected it. In addition I know there is another bug in that report plugin, it incorrectly displays E/W in the coordinates, so I will release an updated version for that plugin.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 03:38:19 PM
new user here (just getting it set up).  Noted that it wasn't taking all my updates.  I had to modify
.../template/update/meteobridge.php line 28 from 5*60 to 4*60 since I'm sending data every 5 minutes.

Thanks.

Yes, I am aware of that problem and it is already fixed (will be part of next version release). This problem arises on slower servers, where there can be a few seconds delay, which can then prevent some updates.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 03:45:02 PM
new user here (just getting it set up).  Noted that it wasn't taking all my updates.  I had to modify
.../template/update/meteobridge.php line 28 from 5*60 to 4*60 since I'm sending data every 5 minutes.

Thanks.

Let me know if you have any problems or need help with explaining how to add the blocks/plugins. Also if you send me a link I would add you to the user map and if you want let me know and I will also add you to the list of subscribers. You would get an email approximately once per week about what is new and an email when some unexpected and immediate fix is necessary.
Title: Re: Meteotemplate - new free website template
Post by: lrosenman on July 03, 2016, 03:50:15 PM
new user here (just getting it set up).  Noted that it wasn't taking all my updates.  I had to modify
.../template/update/meteobridge.php line 28 from 5*60 to 4*60 since I'm sending data every 5 minutes.

Thanks.

Let me know if you have any problems or need help with explaining how to add the blocks/plugins. Also if you send me a link I would add you to the user map and if you want let me know and I will also add you to the list of subscribers. You would get an email approximately once per week about what is new and an email when some unexpected and immediate fix is necessary.

WIll send in a bit.  I'm a 35+ year IT person, and your documentation is excellent.  Will let you know of any issues.

Is there a reason the update script has a (fake) email in it, and no instructions to change it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 03:54:23 PM
Hi,
:D yes good point, it is something I forgot to mention in the wiki... it is for sending alerts when your station is not reporting ... Thanks for letting me know I will update the wiki. And in the future I should include this in the setup... something I completely forgot about, it was new in I think version 4 before I created the setup.php GUI.

Thanks a lot for your comment about documentation, the wiki is quite new. Though Im sure you will find many errors and not really "ideal" things. As I explained in the wiki, unlike you, I have absolutely no IT background, I only do this as a night-time hobby for the past yr and half, so Im still learning a lot and therefore also changing things as I realize how to do them more efficiently (if you are interested read the About section in the wiki or FAQ).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2016, 06:03:17 PM
I just got a message from one of the users who was scared when he realized you can view the Google Maps API key by accessing the text file where it is saved.

I therefore think I need to explain a little bit how this works.

In fact, not only can you see it in that text file, you can actually see it in the source code of any page that loads the Google Maps API.

You must differentiate between:
- API keys used in PHP
- API keys used in HTML or Javascript

PHP is a server-side language, so the actual code is not visible to the user. It is therefore not a problem to include the API key in the actual code. However, Javascript is a browser language, therefore anything you do in Javascript is always in the source code. There obviously has to be a different way of protecting your key, since everyone can see it in the source code.

To overcome this problem there is the so-called referrer. When you create your API key, it is extremely important that you also specify the referrer - and I did emphasize this in the wiki.

Let's look at an example, when I was setting up my key, I specified the following referrer:
- http://www.meteotemplate.com/*
- http://meteotemplate.com/*

The asterix simply means "any page from this domain".

The API key is then assigned to the domains specified for the referrer (you can use more than one), but the point is - if this key is used on any other domain, it will not work. You are therefore protected. Knowing the key is useless. To misuse it that person would have to gain access to your Google account and add their referrer to the list. Of course this would be a problem if you left the referrer blank, thus letting anyone use your key.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 03, 2016, 09:38:08 PM
Hey, is anybody able to view the blocks on my site, www.hsncweather.com?  I am in the process of setting up the homepage and whatnot, but none of the blocks seem to load.  My guess is that maybe it is a setting or something on my server, as the site is on my local server.  The blocks are located in the correct directory and indexDesktop.php is setup correctly.  For reference, the server is Server 2012 R2 with IIS and PHP 7.0

(http://i64.tinypic.com/2cd8w09.jpg)

Also, I know something is off because this is how the admin page looks when I go to the Blocks Setup section

(http://i66.tinypic.com/24lr8me.jpg)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 03, 2016, 11:48:03 PM
No, the blocks do not show for me.  Some of your plugins also do not show.

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 03, 2016, 11:56:22 PM
Hi,
If you have uploaded your blocks the same way as you've downloaded from meteotemplate.com and unzipped as shown in your attachment that may be the problem.  I upload the full block that is within the download i.e. airQualityUS not airQualityUS_1.0

Paul
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 12:13:25 AM
Hi Paul,

I have not worked on any of the plugins yet, so that in understandable.  I get what you are saying about uploading and unzipping the block files.  I think (hope) that is the issue.  I will get back to you shortly.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 12:28:04 AM
Awesome call, Paul!  It's amazing how obvious something looks when you see it through someone else eyes.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 05:24:05 AM
Thanks Paul,

looks like the problem is solved :)
Title: Meteotemplate - Newsletter
Post by: Jáchym on July 04, 2016, 08:50:41 AM
Hi guys,
I have published a new issue of the Meteotemplate newsletter.

You can read it here:
http://meteotemplate.com/blog/?p=749

Older issues:
http://meteotemplate.com/blog/?tag=newsletter
Title: Meteotemplate - Updates
Post by: Jáchym on July 04, 2016, 11:32:26 AM
Hi guys,

and also a few updates:

Block update - Current 4.0

The current block now in addition to daily precipitation, also shows current rain rate. When updating, just replace all files in the zip package and leave your settings.php as it is. No need to set up anything else.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Block update - Current Conditions U.S. 2.0

For the apparent temperature, the block now takes into account both the windchill and heat index, depending on data availability. When updating, just replace all files in the zip package and leave your settings.php as it is. No need to set up anything else.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentUS

Plugin update - NOAA report 1.1

This update contains a few minor bug fixes. To update, just replace all the files, no settings required.

DEMO: http://www.meteotemplate.com/template/plugins/noaaReport/index.php


Enjoy

Jachym
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 02:23:44 PM
Has anyone had an issue with it taking a long time for their API key to work?  It has been over two hours, and it still does not work.  Any site with a map shows an error where the map is
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 02:31:48 PM
Can you include a link so that I can look at?
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 02:36:31 PM
Sure.  Try

http://www.hsncweather.com/plugins/issTracker/index.php

or

http://www.hsncweather.com/plugins/realEarth/index.php

FYI, all the plug ins were freshly downloaded last night/this morning.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 02:47:03 PM
Hi,
I see, I think those are the two that still dont work. All the other maps should work fine.

Iss tracker Im not sure why it is doing this, RealEarth is external plugin, that must be fixed by the developer of that API
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on July 04, 2016, 02:47:51 PM
Hi Jachym,

Am in the process of setting up Pomegranate.  I had a look at the template many moons ago so everything is completely different now.  As such, setting up from scratch.  I'm having an issue setting up the current conditions block.  Reference is made to setting the config.php of the block to show where to draw current data from.  I see no config.php in my downloaded block.  Did I get an incorrect version or something?

Cheers!

Chris
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 02:48:55 PM
Okay, thanks for checking, Jachym.  I'm sorry if I missed the mention somewhere else...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 02:51:06 PM
Hi Jachym,

Am in the process of setting up Pomegranate.  I had a look at the template many moons ago so everything is completely different now.  As such, setting up from scratch.  I'm having an issue setting up the current conditions block.  Reference is made to setting the config.php of the block to show where to draw current data from.  I see no config.php in my downloaded block.  Did I get an incorrect version or something?

Cheers!

Chris

Hi Chris,
read the Wiki about the blocks, in the newest versions blocks are no longer set up directly in the code, the settings file is created automatically and therefore not included in the ZIP file. It is done via the Admin section - see wiki.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 02:53:30 PM
Actually, it may still be something with my API key.  Try any of the world/US locations under climate such as

http://www.hsncweather.com/pages/climate/index.php?q=3825

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 02:57:29 PM
OK I see the problem. The key is blank. Did you fill it in in setup.php? It is not there. Check your setup.php and make sure you have the API key there and also make sure that it correctly saves it in config.php, that file must be writable.
Title: Re: Meteotemplate - new free website template
Post by: chrisgrainger on July 04, 2016, 03:03:16 PM
Jachym,

Thanks for the point in the right direction.  I had read the wiki page on the block, but not the section on homepage.  doh!

Sorry

Chris
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 03:07:07 PM
Good call on config.php  Although setup.php was correct, for some reason config did not update.  Fixed!  Thanks!

Another one for you.  Climate -> Station Climate (http://www.hsncweather.com/pages/station/climateIndices.php); does this page take multiple months or years of data to populate and work?  Currently I just get page does not exist, though the file is there in the correct location on the server.  I looked at the sample you have on your site, and it is historical data for the station, of which I have nearly none of course.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 03:09:35 PM
Well it probably wouldnt show much, but it should still not say "Page not found" - thats not an error, that simply means the file either isnt there at all, or does not have the correct privileges
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 03:10:45 PM
Jachym,

Thanks for the point in the right direction.  I had read the wiki page on the block, but not the section on homepage.  doh!

Sorry

Chris

Yes... good idea to read the wiki :D But dont worry, you are not the first one... just today maybe fifth person who has problems and after being direceted to the wiki they find the answer... though it does make me think if there is any point in actually writing it :D I sometimes have the feeling that no matter how much I write there and explain it, it doesnt make much difference :D
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 03:17:55 PM
Sorry, should have verified first.  It is actually an http server 500 error.  I checked all the permissions and they're fine.  Something server side I guess
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 03:22:41 PM
Try temporarily turning on the "debug mode" in setup.php, that should enable display of all errors including notices
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 04, 2016, 03:25:47 PM
With debug on, when I try to get to that page, I get:
Warning: file_get_contents(C:\inetpub\wwwroot/lang/.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\header.php on line 26
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; moonPhase has a deprecated constructor in C:\inetpub\wwwroot\scripts\functions.php on line 891
Warning: array_key_exists() expects parameter 2 to be array, null given in C:\inetpub\wwwroot\scripts\functions.php on line 40
Warning: array_key_exists() expects parameter 2 to be array, null given in C:\inetpub\wwwroot\scripts\functions.php on line 40
Notice: Undefined index: metar in C:\inetpub\wwwroot\scripts\headerMetar.php on line 279
Notice: Undefined variable: ktpos in C:\inetpub\wwwroot\scripts\headerMetar.php on line 247
Notice: Undefined variable: ktpos in C:\inetpub\wwwroot\scripts\headerMetar.php on line 247
Notice: Undefined variable: cumulus in C:\inetpub\wwwroot\scripts\headerMetar.php on line 829
Notice: Undefined variable: ktpos in C:\inetpub\wwwroot\scripts\headerMetar.php on line 247
Notice: Undefined variable: ktpos in C:\inetpub\wwwroot\scripts\headerMetar.php on line 247
Notice: Undefined variable: returner in C:\inetpub\wwwroot\scripts\headerMetar.php on line 680
Notice: Undefined variable: ktpos in C:\inetpub\wwwroot\scripts\headerMetar.php on line 247
Notice: Undefined variable: minus in C:\inetpub\wwwroot\scripts\headerMetar.php on line 414
Notice: Undefined variable: minus in C:\inetpub\wwwroot\scripts\headerMetar.php on line 414
Notice: Undefined variable: returner in C:\inetpub\wwwroot\scripts\headerMetar.php on line 947
Notice: Undefined variable: firstFrostDays in C:\inetpub\wwwroot\pages\station\climateIndices.php on line 327
Warning: array_sum() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\pages\station\climateIndices.php on line 327
Notice: Undefined variable: firstFrostDays in C:\inetpub\wwwroot\pages\station\climateIndices.php on line 327
Warning: Division by zero in C:\inetpub\wwwroot\pages\station\climateIndices.php on line 327
Fatal error: Uncaught Error: Call to a member function format() on boolean in C:\inetpub\wwwroot\pages\station\climateIndices.php:329 Stack trace: #0 {main} thrown in C:\inetpub\wwwroot\pages\station\climateIndices.php on line 329
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2016, 03:36:29 PM
Hi,
that seems to be a problem with too little data in your db, I need to check that in the script as well. But also check that you have the language selected in setup.php. That is probably unrelated to this, but the warnings are also partly caused by undefined language in setup.php.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 04, 2016, 11:36:20 PM
Hi guys,

and also a few updates:

Block update - Current 4.0

The current block now in addition to daily precipitation, also shows current rain rate. When updating, just replace all files in the zip package and leave your settings.php as it is. No need to set up anything else.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current (http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current)

Block update - Current Conditions U.S. 2.0

For the apparent temperature, the block now takes into account both the windchill and heat index, depending on data availability. When updating, just replace all files in the zip package and leave your settings.php as it is. No need to set up anything else.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentUS (http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentUS)

Plugin update - NOAA report 1.1

This update contains a few minor bug fixes. To update, just replace all the files, no settings required.

DEMO: http://www.meteotemplate.com/template/plugins/noaaReport/index.php (http://www.meteotemplate.com/template/plugins/noaaReport/index.php)


Enjoy

Jachym

I have these updated and looks to be working correctly.

One difficulty is in doing the Blocks settings from the browser.  I had setup the original v1.0 currentUS with 10 locations.  With the update to v2.0 I had to redo the settings but couldn't remember the codes for my original 10 locations.  In the past I could just go to the previous version on my computer to get the settings info for copying in the updated version.  I will have to get in the habit of downloading the settings whenever these are edited.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 09:25:08 AM
Paul,
Im not sure, either there is a bug, or you did not understand how updating blocks works now.

The way it should be is this:
When you download a block, it does not contain the settings file, but rather an additional text file, that contains information about the version of that plugin and if any settings is necessary.
Two possible cases:
1. no settings necessary - when you open the blocks setup page, the script reads the values in that small text file, where it gets the version number and also sees no settings is required, so hides the "Settings" link for that block

2. settings required - the same script does the same check and now sees you need to set something up. So it shows you the Settings link. Now, the very first time you click this, it will see that the settings.php for this block does not exist yet, so, it will prefill all the fields with default values (also set in that text file for that block). You can of course change these and as soon as you hit "Save" for the first time, it saves these values (either the default ones you left there or your new ones) into a settings.php, which is then the file used by the block.

Then, any time you open the Settings link for that block, it first checks if the settings.php already exists and if so, it prefills it with your current values, if not, uses the default ones.

Based on the above, the block update should look like this:
1. you download the zip file with the updated block file
2. the zip file contains the actual block (and any additinoal scripts if necessary) file + the text file (config) for that block
3. the zip file DOES NOT contain the settings.php
4. you therefore replace all the files, including the text file (which contains info about the new version number and also, it can contain for example additional fields for the setting, in other words, if you then run your block settings it will use that file and if there are any new fields to be filled in, it will use default values and let you change it)
5. you do nothing to the settings.php, which has already been created previously for the previous version
6. the new files should be able to use that settings.php, in other words, you should only have to fill in in the settings parameters that are new for that version.

Now back to this particular block, the actual codes for the cities did not change and neither was there any new parameter to be set in the settings. So ideally the update should simply mean you replace all files in the zip package (which does not contain settings.php), the settings.php you created for previous version will not be therefore replaced with anything and just stay as it is. Your block should then normally use this settings file, even though it is now the new version.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 05, 2016, 09:39:29 AM
Thanks Jachym,
I think I have a fair understanding how they work, it is my practice of uploading that presented my issue.  I usually rename/remove the old block and do a full new "block" folder upload so that does not have my previous setting (my previous settings were in the renamed block folder so wasn't too hard to overcome).  I will change my update practice and all will be well.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 09:43:59 AM
Hi Paul,
yes this then explains it. But I think the way it is done now is in fact much more efficient. Because if you remember, the previous system, that used what you mentioned, always require you to copy the original code, and paste it in the new settings.php.

And it is not ideal if everytime you update something you have to go directly to the code and do complicated copy/pasting, look for new parameters, deleting depracted ones etc.....
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 05, 2016, 10:52:05 AM
Jachym:

There seems to be a bug (at least on my site) with the calculations on all three noaaReport pages:

Code: [Select]
Max >= 90.0: 0
Max <= 32.0: 0
Min <= 32.0: 0
The values above always equal zero regardless of the actual data.

Thanks,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 10:57:19 AM
Hi,
strange, it does work in the demo, I will double check that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 11:09:55 AM
OK, this is really weird... I thought I might have made a mistake with the units, I checked the code again, but I cannot see any problem.

Then I looked at websites of other guys from the U.S., eg:
http://www.nyupstateweather.com/meteotemplate/plugins/noaaReport/standardized.php

And Steve´s website indeed shows the correct numbers....

Hmm
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 05, 2016, 11:13:36 AM
Yes, I checked other sites as well and they work.   :roll:  Maybe a Linux permissions or executable issue. 

I'll check the perms.

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 11:21:56 AM
Yes, I checked several others and it really does seem to be working fine. And double-checking the code I really cannot see any reason why it would not work.

Edit: Now I see..... Look at the temperatures... there is not a single Max above 90°F, so no wonder it shows 0 days :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 11:23:13 AM
And here there are and it works fine:

http://www.kpw3.com/meteo/plugins/noaaReport/standardized.php?year=2015&month=8
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 05, 2016, 11:32:44 AM
Check my February 2015 report for some very cold temps. 

http://www.kpw3.com/meteo/plugins/noaaReport/index.php (http://www.kpw3.com/meteo/plugins/noaaReport/index.php)

I changed all the file perms to 777 in the noaaReport folder but no change.
Title: Meteotemplate - Menu.php update
Post by: Jáchym on July 05, 2016, 11:34:18 AM
Hi guys,

as some of you pointed out (thanks) I did forget to include some plugins in the menu.

The updated menu.php can now be downloaded in the Downloads section.

Added:
- live gauges Cumulus
- live gauges MB
- BloomSky

Just one thing regarding the gauges. In the menu, the page will load the index.php. If you use this plugin, you know there are several versions, named index, index2, index3, .... which differ in their layout, colors etc.

Before the menu was automatic, you simply put a link to the one you wanted to use. Now, however, it is hard-coded to the "index.php". Therefore what you need to do is before uploading the plugin to your plugins directory, rename the files so that the index.php corresponds to the one you want to be used on the page.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 11:39:17 AM
Check my February 2015 report for some very cold temps. 

http://www.kpw3.com/meteo/plugins/noaaReport/index.php (http://www.kpw3.com/meteo/plugins/noaaReport/index.php)

I changed all the file perms to 777 in the noaaReport folder but no change.

OK you are right, I see that it is not working as it should, but it only seems to be a problem with the low temps, not high. The "good news" is that it doesnt work in the demo either so I can use it to test stuff. I will try to find the problem. Thanks for letting me know.
Title: Meteotemplate - plugin update
Post by: Jáchym on July 05, 2016, 11:47:43 AM
Hi guys,

thanks to Kurt for pointing this out.... I guess it is not "freezindDays", but "freezingDays"... stupid typo ;)

I updated the plugin, version 1.2 fixes this bug.
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on July 05, 2016, 11:48:46 AM
Updated to 7.0 today, no issues.   Nicely done on the auto-menu feature!

However, I think you missed a plugin for the menu.php, one on the Astronomy page for NASA Image of the Day....

Created a bug report for this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 11:49:58 AM
Hi,
I just updated the menu, I did miss some plugins, it should now be correct.

The NASA image however is not a plugin, that is a block ;)
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on July 05, 2016, 11:59:54 AM
Ah, a block..  Thought it was a plug-in should have dbl checked.  Now my bug report is wrong on that count too.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 05, 2016, 12:01:38 PM
I just saw that too when I turned on debugging.
Code: [Select]
Notice: Undefined variable: freezindDaysMax in /var/www/html/meteo/plugins/noaaReport/interactive.php on line 492
Notice: Undefined variable: freezindDaysMin in /var/www/html/meteo/plugins/noaaReport/interactive.php on line 497

Good catch!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 12:07:31 PM
Yes, and thank you very much for letting me know. The plugin is now updated. I should have noticed it, but since I use notepad++ it does not have all the fancy features of the more sophisticated PHP IDEs like PHP Storm or Netbeans that would check these things :-) So I rely on people like you :-)
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on July 05, 2016, 12:55:25 PM
Just a suggestion on block menu placement, shouldn't the blocks "Earthquakes" and "Tide Heights" show on the "Regional" page instead of the "Weather" page? 

It would seem more logical, to me at least.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 01:06:16 PM
Hi,
well the idea is to only include plugins that are specific to a particular country/region to the regional tab. It is maybe a bit confusing due to the name, but "Regional" here means for a specific region - ie. US, Spain, Canada etc. Tide heights and EQs are both plugins that cover the whole world - you can choose any location.

Though I do see your point now... hmm... will have to think about that :D
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on July 05, 2016, 01:09:09 PM
Ok, just a suggestion but they seem regional to me.

As far as the Nasa Image of the Day, I forgot I had installed the block in the plugins folder and was using it like a plug in.

Copied it back to the main directory and now it's part of home page. :)
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on July 05, 2016, 01:12:33 PM
Ok, just a suggestion but they seem regional to me.

As far as the Nasa Image of the Day, I forgot I had installed the block in the plugins folder and was using it like a plug in.

Copied it back to the main directory and now it's part of home page. :)

For that matter, to me so do the AirTraffic and Marine plugins since you are most likely to be interested in local hence regional air and marine traffic.   
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 05, 2016, 01:15:05 PM
Yes, I see the problem now....

It sort of makes sense for the demo, since it shows to you what plugins are available for regional, but on a normal webpage of a user that has a particular location, it does not make much sense... I will have to think about how to best re-organize this. The menu was originally much smaller, and just was building up and up so I might make some more major changes and re-organization of the stuff since there is now many more plugins
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on July 05, 2016, 01:48:59 PM
Yep, understand, always design choices to be made for the masses and the "power users" can can modify as they like...

I moved mine...
Title: Menu update
Post by: Jáchym on July 06, 2016, 10:07:25 AM
Hi guys,

I again update the menu.zip in the Downloads section.

New:
- now should finally include all possible plugins available - I added Metetemplate user map plugin
- since the WorldWeatherOnline no longer offers free API, new users cannot get an API key, meanwhile however, existing users can still use it for free, so I dont want to delete that page.

Now, if you left the API key for WWO blank in the setup, the link will not show in the menu - ie. new users will not have it in their menu. Now they just have a link that would show "no data". Existing users, who have API key for WWO specified, will still have that link as they do now.
Title: Meteotemplate - block updates
Post by: Jáchym on July 06, 2016, 11:09:35 AM
Hi guys,
the following two blocks were updated:

Moon Phase 1.2

The update version just fixes a problem with icons. The full Moon and new Moon icons in the dark theme were the other way around.

Warnings Canada 2.0

In the new version there is a new parameter in the settings, where you can select if you want to auto-open the details about a warning, when there is a warning issued (i.e. if you want the “more” text to be “clicked” by default).
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 06, 2016, 01:41:05 PM
Jachym:

The cityConditions plugin on my site seems to only display pressure in MB despite my having inHG selected as my default UoM.

http://www.kpw3.com/meteo/plugins/cityConditions/cityConditions.php (http://www.kpw3.com/meteo/plugins/cityConditions/cityConditions.php)

I note that when I go to your site and change the UoM to inHG I get the same result.

Bug?

Thanks,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 06, 2016, 01:51:52 PM
Hi Kurt, I couldn't change your site either, and on mine I use hPa but the value seems to be multiplied by about 30 times.  So seems the same issue as yours.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2016, 04:55:42 PM
hi guys,
please refer to the bugs/suggestions section at meteotemplate.com.

This is a known problem about which I posted back in I think March.

It is a problem with Yahoo API, if you do a little google search you will find tens of developers complaining to Yahoo about this. There is nothing we can do about it, I get emails about it from users, but nothing I can do about it because...

even though at first sight it just looks like they messed up the units - if you look at the raw input from Yahoo, it will show something like "1012" and for units "inHg". I could of course make a patch by forcing the template to think it is in fact hPa, that would actually be relatively easy to fix. Unfortunately.... this is not the only problem. This is what I wanted to do, however, that number even though "looks ok" is not ok. The pressure is simply wrong. Right now for example, the converted value for Brno, where I live, is 18 hPa off.... usually it is around 20 hPa off, sometimes 18, sometimes 25, sometimes 13... there is therefore no way to fix this, they simply dont care though because I guess since it is a free API it makes no point for them to invest any time.... it has been reported hundreds of times by other developers since March when it first happened.

If you go back through this forum you will find my post, some time in March and unfortunately, nothing changed since then.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2016, 05:20:31 PM
At least they again no longer require the awful OAuth they did back then...

"Yahoo is Allowing YQL Requests Without Oauth Again Due to Developer Outrage"

I proudly add that I was also one of those who complained about it :D :D :D

Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 06, 2016, 05:26:07 PM
Sorry, Jachym I was aware of the yahoo problem but I didn't realize that was the data source for the city conditions page.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2016, 05:31:34 PM
No problem Kurt, yes it is the data source. Yahoo not seems to be basically the last still free global API :( WWO is gone, Accuweather, Weather Channel etc. those are all paid. And the main advantage of the Yahoo API in this particular case is that they allow you to make a single call and get all the results back in a single response. Because with other APIs you would have to query each city separately which would extremely increase the loading time of the block.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 06, 2016, 05:56:13 PM
I have updated the 2 blocks, and these seem ok.

Re the Current Conditions issue I couldn't find anything in the Bugs/Fixes until I realized Current Conditions is called cityConditions, and have now noticed the comment.  If this issue is going back to early spring this year, I thought that cityConditions had worked for me but must have been mistaken.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2016, 05:57:29 PM
Yes, the name of that plugin was confusing, I changed it to better reflect its actual namespace and yes this issue is unfortunately persisting since early spring.
Title: Meteotemplate - new plugin + plugin updates
Post by: Jáchym on July 07, 2016, 10:01:01 AM
Hi guys,

Plugin Updates


first of all several plugin updates. These updates are all just very minor CSS tweaks and changes in the script that are necessary to make it fully compatible with HTML5 and especially servers using https - in other words if you are using these plugins already, you will only see fixed appearance of slightly larger footer. The updates are not urgent, though you should probably do them sooner or later.

Plugins concerned:
- Apparent Temperature 1.1
- Earthquakes 2.3
- Eclipses 2.1
- European Forecast Model 1.1
- European Weather Warnings 1.1
- NWS warnings 1.2
- Radar - Australia 1.1
- Radar - Europe 1.2
- Social Networks 1.1
- U.S. Extremes 1.2
- Unit Conversions 2.1

And to make it a bit more interesting...

(http://i67.tinypic.com/10r8epv.png)
New Plugin - Station Feed

I created a new plugin, which especially more advanced users will find useful. This plugin makes it very easy to use the station data in other projects or RSS feeds as it generates a machine-readable output of the data.

Features:
- JSON formatted data about current conditions and daily data
- XML formatted data about current conditions and daily data

DEMO XML: http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=xml
DEMO JSON: http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=json

menu.php has been updated as well to include this new plugin.

Enjoy

Jachym
Title: Re: Meteotemplate - new plugin + plugin updates
Post by: nitrx on July 08, 2016, 02:04:00 AM
Hi guys,


I created a new plugin, which especially more advanced users will find useful. This plugin makes it very easy to use the station data in other projects or RSS feeds as it generates a machine-readable output of the data.

Features:
- JSON formatted data about current conditions and daily data
- XML formatted data about current conditions and daily data

DEMO XML: http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=xml
DEMO JSON: http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=json

menu.php has been updated as well to include this new plugin.

Enjoy

Jachym

Hi Jachym it seems there is no setting for xml or json output the new menu picks up only plugins/stationFeed/index.php what to do ?
TIA Ron
Title: Re: Meteotemplate - new free website template
Post by: gus on July 08, 2016, 02:13:45 AM
Ron,

Set the path in the menu to start the plugin as...

http://www.apeldoornmeteo.nl/plugins/stationFeed/index.php?format=xml
-or-
http://www.apeldoornmeteo.nl/plugins/stationFeed/index.php?format=json

Gus
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 08, 2016, 02:29:37 AM
Ron,

Set the path in the menu to start the plugin as...

http://www.apeldoornmeteo.nl/plugins/stationFeed/index.php?format=xml
-or-
http://www.apeldoornmeteo.nl/plugins/stationFeed/index.php?format=json

Gus
Thanks Gus but when I do this it seems the menu is overwritten  on the server  :? (I use the seperate menu from Jachym)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2016, 05:20:39 AM
Hi,
yes, well in the menu I set it without the format because obviously I dont know which one you want to use. And on the index page, when no format is set, it gives you a message that you should specify the format, so I thought this would be the best option. Plus, this is more likely to be used as a URL in some other reader etc., you yourself are probably not going to look at it.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 08, 2016, 05:25:53 AM
I know most people will not look at it but now it gives an error I don't like that is there an alternative
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2016, 05:52:21 AM
Im not sure what you mean, I dont see any error, this is what I get when I dont specify the format:

http://www.meteotemplate.com/template/plugins/stationFeed/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2016, 05:55:49 AM
It is not an error what you see. It is quite clearly telling you you have to specify the format and how to do it.

If I just hard-coded one of the formats in the menu, what if someone wants to use the other one.
Title: Meteotemplate - US warnings - update
Post by: Jáchym on July 08, 2016, 08:40:15 AM
Hi guys,

US Regional Warnings 2.0 - Block update

I released a new version of the US regional warnings block.

In version two, it is now possible to click on the individual warnings (if one is issued) and it will show you all the details about it in a dialog window.

Previous version only listed the warnings.

I have set the demo to a location that just has a warning right now and set the cache time to really long so you can see it in action in the demo at meteotemplate.com

Enjoy

jachym

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 08, 2016, 06:03:52 PM
 \:D/ got all the plugins and blocks updated.  Also added stationFeed plugin.  All looking good.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2016, 06:35:39 PM
Good :-) Thanks for letting me know Paul.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 08, 2016, 07:51:59 PM
I was going to ask when you introduced the alert icon in the top header, then realized it is part of the new alert settings.  The first time I've seen an alert.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2016, 09:03:51 PM
Hi Paul,
yes, this is now standard part of Meteotemplate, as of version 7.0
Title: Re: Meteotemplate - US warnings - update
Post by: Daali on July 08, 2016, 09:09:38 PM
Hi guys,

US Regional Warnings 2.0 - Block update

I released a new version of the US regional warnings block.

In version two, it is now possible to click on the individual warnings (if one is issued) and it will show you all the details about it in a dialog window.

Previous version only listed the warnings.

I have set the demo to a location that just has a warning right now and set the cache time to really long so you can see it in action in the demo at meteotemplate.com

Enjoy

jachym

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions

Awesome update!  Thank you!
Title: Meteotemplate - new block - Lightning
Post by: Jáchym on July 09, 2016, 10:33:53 AM
(http://i65.tinypic.com/5a2ee0.jpg)

New block - Lightning 1.0

Hi guys,

I have developed another new block. This block shows the current lightning strikes on a map. Map is available for each continent or for the whole world. In the settings you set the default map loaded. The image also auto-updates automatically without refresh on the homepage and you can set this update interval in the settings.

The block gets data from the Blitzortung network and is used with permission.

Hope you enjoy it

Jachym

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=lightning
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 09, 2016, 10:52:57 AM
Great work Jachym!  I have been so busy with work lately so I have a lot of catching up to do.  Once again thank you for all you do to support the community!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 09, 2016, 12:58:28 PM
Thanks Jeff,
I knew you will like this one :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 09, 2016, 03:17:29 PM
Blitzortung block added, and easy to move from World to the regions.

Paul
Title: Re: Meteotemplate - new block - Lightning
Post by: cjohlandt on July 09, 2016, 03:50:14 PM
(http://i65.tinypic.com/5a2ee0.jpg)

New block - Lightning 1.0

Hi guys,

I have developed another new block. This block shows the current lightning strikes on a map. Map is available for each continent or for the whole world. In the settings you set the default map loaded. The image also auto-updates automatically without refresh on the homepage and you can set this update interval in the settings.

The block gets data from the Blitzortung network and is used with permission.

Hope you enjoy it

Jachym

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=lightning

Great addition Jachym!  This one has been on my personal wish list since I started using Meteotemplate.

Thank you!
-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 09, 2016, 05:14:14 PM
Thanks guys,
the block is pretty simple, now that I have permission to use some other images as well there is more to come regarding this, though I cannot say when at this point. There are obviously many other things Im working on/plan on doing :-) But its hopefully a good start :-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 09, 2016, 05:23:22 PM
Thanks Jeff,
I knew you will like this one :D

Working great on my site!  Now I need to figure out the multiple blocks and see about consolidating and figuring out the best design...  Still have to finish building my antenna for my Blitzortung...  Hope to get that done this week.  Thanks again!!!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 09, 2016, 05:35:11 PM
I actually also thought about getting one sensor myself. Funny thing is that this was about 2 yrs ago, and guess what :D That was why I registered on this forum! :D I wanted to ask about it and thats how I found this forum in Google. It will be 2 yrs in about 3 weeks :) And I soon found out this is not for me. First of all there were no new units available at that time (they ran out), second, I soon realized that me, a total anti-talent in terms of anything that has to do with electricity related stuff - I mean like circuit boards etc. Likewise, for example I know nothing about computer hardware, yes I do sort of have an idea what is inside, but I have never built a PC myslef, dont know where to plug in what etc. So this would be a problem. And third, probably most important thing, I live in a relatively large city, right in the center, many trams, trains etc. and obviously these wires cause huge interference and make the device more or less useless.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 09, 2016, 11:41:35 PM
Hey Jachym,
So I just noticed on my dayNight block, the sun rises at 6:08am local time, which is a little over 6 hours from now.  However, the block doesn't see to recognize that it is 6:08am tomorrow, not today.  So currently it says the time to rise is about 17 hours and 27 minutes away, as in 6:08am earlier today.  Is this just an issue for me?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2016, 09:47:48 AM
Hi Stefan, Im not quite sure I understand what you mean:

Quote
a little over 6 hours from now.  However, the block doesn't see to recognize that it is 6:08am tomorrow

The block shows sunrise/sunset for "today"
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 10, 2016, 10:10:22 AM
I should have grabbed a screenshot, but I wasn't thinking of it....
If it is the same way this evening, or ever again, I will bring it back up.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 10, 2016, 10:14:07 AM
Actually, I haven't refreshed the web page on my server since I noticed this last night.  Mind you this was at like 11:30pm or so.
(http://i67.tinypic.com/2mhfyn8.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2016, 10:18:54 AM
Hmmm I will have to check that on my server, this could be that PHP incorrectly detected the offset for your timezone. I will let you know, I need to check this also sometime after sunset for my location.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2016, 10:19:54 AM
Please report it via the bugs report section so that I dont forget :D It is sometimes difficult to keep track when people send me emails, post here, post on the other forum etc and I then only vaguely remember someone mentioned something "somewhere" and have to go back through all the posts :)
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 10, 2016, 10:25:51 AM
Not a problem.  Posted!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2016, 11:05:00 AM
Thanks, I will look into it, just have to wait for the "right time" :D
Title: Meteotemplate - Block update - Radar U.S. 3.0
Post by: Jáchym on July 10, 2016, 04:32:41 PM
Block Update – Radar U.S. 3.0

Hi guys,

as one of you suggested, I have added a new feature to the U.S. Radar block. You can now click the images to trigger a new dialog window to pop-up, which shows a zoomed image of whatever radar image you clicked on.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS

Enjoy

Jachym
Title: Re: Meteotemplate - Block update - Radar U.S. 3.0
Post by: SpringHillWeather on July 10, 2016, 05:48:13 PM
Block Update – Radar U.S. 3.0

Hi guys,

as one of you suggested, I have added a new feature to the U.S. Radar block. You can now click the images to trigger a new dialog window to pop-up, which shows a zoomed image of whatever radar image you clicked on.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS

Enjoy

Jachym

Not sure who asked but yes I missed the zoom function so this works well.  It's really needed on any map IMO.
Thank you Jáchym!
Title: Re: Meteotemplate - Block update - Radar U.S. 3.0
Post by: Daali on July 10, 2016, 05:53:57 PM
Block Update – Radar U.S. 3.0

Hi guys,

as one of you suggested, I have added a new feature to the U.S. Radar block. You can now click the images to trigger a new dialog window to pop-up, which shows a zoomed image of whatever radar image you clicked on.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS

Enjoy

Jachym

Not sure who asked but yes I missed the zoom function so this works well.  It's really needed on any map IMO.
Thank you Jáchym!

I agree! this is great!  Nice work and Thank you Jáchym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2016, 05:59:14 PM
Thanks guys,  I'm glad you like it
Title: Re: Meteotemplate - Block update - Radar U.S. 3.0
Post by: jeffm5690 on July 10, 2016, 06:41:02 PM
Block Update – Radar U.S. 3.0

Hi guys,

as one of you suggested, I have added a new feature to the U.S. Radar block. You can now click the images to trigger a new dialog window to pop-up, which shows a zoomed image of whatever radar image you clicked on.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS

Enjoy

Jachym


Awesome as always and works perfectly!!!  Love it!
Title: Meteotemplate - Newsletter + block updates
Post by: Jáchym on July 11, 2016, 08:00:59 AM
Hi guys,

a I have just published a new issue of the weekly newsletter, it contains all the info about new stuff since the last issue as well as updates and in addition some other interesting information and Q&A section.

You can read it here:
http://meteotemplate.com/blog/?p=789

Older issues:
http://meteotemplate.com/blog/?tag=newsletter

Also, I have updated two blocks:


Block Update - Calendar 1.2
I accidentally forgot to include some of the icon files, the update is only necessary if you have problems with displaying some of the icons. In such case simply replace all the files, there is no set up required.


Block Update - Lightning 2.0
In addition to a small bug fix it is now also possible to click the image to view it in a larger window, similar to the US radar block update I released yesterday.
DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=lightning
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 11, 2016, 08:16:58 PM
All up to date, and seems to be working fine.

Paul
Title: Meteotemplate - new plugin - Webcam
Post by: Jáchym on July 12, 2016, 08:45:45 AM
(http://i65.tinypic.com/28bb49u.png)

Hi guys,

New Plugin - Webcam

some of you might have seen the BloomSky plugin, this plugin is actually quite similar. However, it can be used with any webcam that uploads data to the internet, just by providing the URL of where the most recent image is located.

It allows you to save the images to your server. In addition, it also creates image thumbnails and then allows you to view the images by days, including the corresponding weather conditions at that moment, filter them etc.

Main Features

- most recent image shown and updated automatically at an interval you specify without refreshing the site
- periodical saving of images to your server using a CRON job
- saving weather conditions at the time the image was saved
- interactive calendar to view images from particular day
- daily summary (max/min of all the parameters)
- possibility to color the images based on the weather data
- calculation of sunrise/sunset and showing the image closest to this time (if no image is available +/- hour from the sunrise/sunset, no image is displayed)


Make sure you read carefully how to install this, you will need a new CRON job to save the image periodically.

Demo is also available, but it is very limited as I do not have a webcam myself.

More info and how to install is in the Plugins section
http://www.meteotemplate.com/web/plugins.php

I have also updated the menu.php file in the Downloads section, so the updated version also adds this plugin to the menu if you install it.
Title: Re: Meteotemplate - new free website template
Post by: Daali on July 12, 2016, 09:24:12 AM
Works great!!

www.jeffersonweather.com/plugins/webcam/

Albeit it is really foggy this morning.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 12, 2016, 09:50:02 AM
Thank for this plugin Jachym works fine http://www.apeldoornmeteo.nl/plugins/webcam/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 12, 2016, 10:04:14 AM
Added www.komokaweather.com/j-template/plugins/webcam/ (http://www.komokaweather.com/j-template/plugins/webcam/) and working very nicely.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2016, 10:05:11 AM
Great :-)
There is actually quite a lot I can add there. In the update script I added more than it currently uses so there is potential for some more features in some future update.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2016, 12:19:17 PM
The http://tgftp.nws.noaa.gov/ server is down.... just to let you know and that is why the page cannot load currently, database updates are not affected
Title: Meteotemplate - TEMPORARY SOLUTION
Post by: Jáchym on July 12, 2016, 12:48:01 PM
Hi guys,

the NWS server which provides the METAR data is currently down. Your page therefore loads extremely slowly.

There is, however, an easy temporary fix. In your setup.php disable the interactive banner by setting it to "Custom". This will stop the page from trying to load the banner data. When the problem is fixed and NWS server up and running again, you can switch it back to interactive banner.

Best regards
Title: Re: Meteotemplate - new free website template
Post by: Daali on July 12, 2016, 01:12:11 PM
Thanks for the fix Jáchym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2016, 01:19:42 PM
EDIT:

Problem solved, NWS server is back up. Though at least I have something to consider for the next version. This should be done automatically - i.e. if there is a certain delay, auto-disable the banner
Title: Re: Meteotemplate - new plugin - Webcam
Post by: SpringHillWeather on July 12, 2016, 03:51:27 PM
(http://i65.tinypic.com/28bb49u.png)

Hi guys,

New Plugin - Webcam

some of you might have seen the BloomSky plugin, this plugin is actually quite similar. However, it can be used with any webcam that uploads data to the internet, just by providing the URL of where the most recent image is located.

It allows you to save the images to your server. In addition, it also creates image thumbnails and then allows you to view the images by days, including the corresponding weather conditions at that moment, filter them etc.

Main Features

- most recent image shown and updated automatically at an interval you specify without refreshing the site
- periodical saving of images to your server using a CRON job
- saving weather conditions at the time the image was saved
- interactive calendar to view images from particular day
- daily summary (max/min of all the parameters)
- possibility to color the images based on the weather data
- calculation of sunrise/sunset and showing the image closest to this time (if no image is available +/- hour from the sunrise/sunset, no image is displayed)


Make sure you read carefully how to install this, you will need a new CRON job to save the image periodically.

Demo is also available, but it is very limited as I do not have a webcam myself.

More info and how to install is in the Plugins section
http://www.meteotemplate.com/web/plugins.php

I have also updated the menu.php file in the Downloads section, so the updated version also adds this plugin to the menu if you install it.


You mean I have to buy another camera now to test this block?  :lol: 

More gear vs a better Station, hmmm  tough choices :)
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 12, 2016, 03:52:59 PM
Saludos Jachym

The new plugin "Web Camera" is very very good:   :grin:

    http://kocher.es/meteotemplate/plugins/webcam/ (http://kocher.es/meteotemplate/plugins/webcam/)

I think the main image is not updated; in my case I set the interval to 60 seconds (That is the interval at which the image is updated on my server), but only updated to refresh the page.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2016, 05:13:57 PM
Hi Javier,
I will have look, one possibility is that the browser caches it. In which case we would need to add current time to the image
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 12, 2016, 06:01:46 PM
What is curious is that if I position the mouse pointer on the image, every 60 seconds the "hourglass" appears; ie seems to want to update the image, but can not.

It's nothing important. A possible solution may be to add a button to update.
Perhaps another possible solution could be that every 60 seconds showing the last image "$ lastDbDayWebcam" (What I have written is nonsense)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2016, 06:30:28 PM
Yes, what you added would prove my suspicion.

The script works fine, it does trigger the update, but the browser then uses image from cache because it has the same URL.

Try this, go to the webcam/index.php and right at the bottom, replace the window.onload function with this:

Code: [Select]
window.onload = function (e){
var d = new Date();
var timeNow = d.getTime();
imgSrc = "<?php echo $webcamImgURL?>?"+timeNow;
$("#currentTS").html("<span class='spinner' id='updateSpinner'>Loading…</span>");
$("#current").html("<img src='"+imgSrc+"' id='currentImg'>");

setTimeout(window.onload, <?php echo $updateInterval?>*1000);
}

Let me know if it helped.
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 12, 2016, 06:40:05 PM
Code: [Select]
Try this, go to the webcam/index.php and right at the bottom, replace the window.onload function with this:
jjjj
With this new code, now it works perfectly  \:D/

   http://kocher.es/meteotemplate/plugins/webcam/ (http://kocher.es/meteotemplate/plugins/webcam/)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2016, 06:49:50 PM
Great, so it was as I though problem with caching.
I will include this change in some future update of this plugin.
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 13, 2016, 05:21:50 AM
Webcam Plugin, suggestions for the future:

- Allow restrict the number of images from sunset to sunrise.

- Allow view images of one day in an animated sequence.

- Add a link to the top of the page.     :grin:

Saludos desde San Sebastian

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 05:25:26 AM
Hi Javier,
please do not post suggestions here, use the Suggestions section on my web. It is then very difficult for me to remember these and look for it later on when I have to go through all the other posts. This is why I created that section.

Animated sequence is a bit problematic because the images are loaded separately and it would only work nicely if you have a very fast internet connection.
"Add a link to the top of the page" - link for what
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 05:29:29 AM
Oh and Im also not sure what you mean by restricting the number of images from sunrise to sunset. It always shows you the one closest to each.
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 13, 2016, 05:29:53 AM
Quote
please do not post suggestions here, use the Suggestions section on my web. It is then very difficult for me to remember these and look for it later on when I have to go through all the other posts. This is why I created that section.

Sorry Jachym  :?

Now they are already reflected in Meteotemplate suggestions Bugs / Suggestions  :-)

Quote
Oh and Im also not sure what you mean by restricting the number of images from sunrise to sunset. It always shows you the one closest to each.

Since the night images are usually more monotonous, it would be interesting to limit the number of them or even avoid, not to meet with dozens of similar images 


Quote
"Add a link to the top of the page" - link for what

When there are many recorded images, moving down the page, it would be interesting to have a button that will take us to the top of the page, not have to do scroll:

http://kocher.es/meteotemplate/plugins/webcam/ (http://kocher.es/meteotemplate/plugins/webcam/)



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 05:52:07 AM
OK I see, so some parameter to set when not to record.

The only problem is that this would be slightly complicated. You cannot use a fixed interval, it would have to be like you suggested, from sunrise to sunset, but often you have very nice images even after sunset, it is not immediately dark and the problem here is that yes I could set for example "one hour after sunset, stop recording", but it gets dark faster or slower, depending on a particular location and conditions there
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 13, 2016, 05:59:10 AM
Quote
I could set for example "one hour after sunset, stop recording", but it gets dark faster or slower, depending on a particular location and conditions there

In my opinion, this would be the perfect solution  :idea:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 06:12:04 AM
OK, something to think about, there is actually much more I can add to this plugin in the future.


Off-topic: Javier, always when I see your posts it makes me wonder - why do you have two banners in your signature? I thought these are from different stations, but it looks like the data is always the same :D
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 13, 2016, 06:21:35 AM
Heh, heh, heh, heh .... mystery!   :lol:

The two banners present data station at the present time, but when you click on them, point to two different directions (my old template and meteotemplate)

    :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 06:30:24 AM
I see now :D In which case did you consider using the meteotemplate banner for the meteotemplate site and the current one for your other website? It would make it more obvious and also interesting than having two equal images ;)
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 13, 2016, 06:33:25 AM
You're absolutely right, I will modify  =D&gt;
Title: Meteotemplate - block updates
Post by: Jáchym on July 13, 2016, 11:46:26 AM
Hi guys,

Hi guys,

I updated the following blocks:

Radar - Australia 2.0

Instead of the inner image zoom function you can now simply click the image and view it in a popup window bigger. No setup necessary.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarAU

Radar - Europe 2.0

Instead of the inner image zoom function you can now simply click the image and view it in a popup window bigger. If you are updating this block, simply replace all the files and maintain your settings.php, no need to set up anything again.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarEU

Webcam 2.0

You can now click the image and view it in a popup window bigger and there are also some CSS tweaks.  If you are updating this block, simply replace all the files and maintain your settings.php, no need to set up anything again.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=webcam

Snow 1.2

This update fixes a bug which meant snow units were not correctly displayed. You will need to go through the settings to specify the actual units.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=snow


The above updates also fix a bug which incorrectly showed the radar image when hovering over the header.

Enjoy

Jachym
Title: Re: Meteotemplate - block updates
Post by: nitrx on July 13, 2016, 12:16:34 PM
Hi guys,

Hi guys,

I updated the following blocks:



Webcam 2.0

You can now click the image and view it in a popup window bigger and there are also some CSS tweaks.  If you are updating this block, simply replace all the files and maintain your settings.php, no need to set up anything again.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=webcam



Enjoy

Jachym

Hi Jachym thanks for the updates for some reason the webcamimage doesn't popup for me (the url to the webcamimage is not the same url as the template I host the webcamimage from my local server maybe this is the issue...)

Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 12:30:36 PM
OK, lets see if anyone else has that issue, but I cant see why it is doing that, the code looks fine, did you modify the code in any way?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 12:31:56 PM
Never mind, I see the problem... you are not using the webcam block, but the dynamicImage block, Im not quite sure what you have done, but that is not the webcam block.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 13, 2016, 01:23:42 PM
Lol I did not know that im on tablet now will check tommorow, thanx in advance
Ron
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 13, 2016, 02:01:00 PM
Lol I did not know that im on tablet now will check tommorow, thanx in advance
Ron

Jachym you're right sorry for bothering  :grin:
thanks anyway Ron
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 13, 2016, 07:24:39 PM
I have them all updated but having a problem with webcam.

Using the original settings.php which worked fine with v1.0 but now with v2.0 get an error
Quote
Warning:  explode() expects parameter 2 to be string, array given in /home/content/96/5379896/html/j-template/homepage/blocks/webcam/webcamBlock.php on line 13
 
 Warning:  explode() expects parameter 2 to be string, array given in /home/content/96/5379896/html/j-template/homepage/blocks/webcam/webcamBlock.php on line 14
Have tried by entering the URLs and description in the online block update but still no go.

My settings are:
Quote
$webcamURLs = array("../pictures/hvipimage/hvipimage.jpg","../weather/wu/image_wu.jpg");
    $webcamTitles = array("Hikvision looking West","Logitech looking SouthEast");

I have re-downloaded, unzipped, and upload the full block folder, editing only the settings.php with the URL and description from v1.0 and get the same error message.

Any idea where I have gone wrong?

Paul
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 07:28:26 PM
Paul I think the settings.php changed too in version 1.1, maybe you were still using 1.0.

I would suggest you simply delete everything, including the settings.php and then set it up again. This same suggestion I gave to Jeff and it solved the problem. Make sure you use the new settings.php and use the format specified in there.
Title: Re: Meteotemplate - new free website template
Post by: Daali on July 13, 2016, 08:16:44 PM
I have them all updated but having a problem with webcam.

Using the original settings.php which worked fine with v1.0 but now with v2.0 get an error
Quote
Warning:  explode() expects parameter 2 to be string, array given in /home/content/96/5379896/html/j-template/homepage/blocks/webcam/webcamBlock.php on line 13
 
 Warning:  explode() expects parameter 2 to be string, array given in /home/content/96/5379896/html/j-template/homepage/blocks/webcam/webcamBlock.php on line 14
Have tried by entering the URLs and description in the online block update but still no go.

My settings are:
Quote
$webcamURLs = array("../pictures/hvipimage/hvipimage.jpg","../weather/wu/image_wu.jpg");
    $webcamTitles = array("Hikvision looking West","Logitech looking SouthEast");

I have re-downloaded, unzipped, and upload the full block folder, editing only the settings.php with the URL and description from v1.0 and get the same error message.

Any idea where I have gone wrong?

Paul

try single quotes in the settings.php   ' instead of "

$webcamURLs = '../pictures/hvipimage/hvipimage.jpg,../weather/wu/image_wu.jpg';
$webcamTitles = 'Hikvision looking West,Logitech looking SouthEast';
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 08:23:24 PM
In PHP it makes no difference, only rule is you have to use the same opening and closing quote type. My guess is it is the format in which the URL is specified in his settings.php because that was changed in previous version of that block and there were two other guys with the same problem already and setting up the settings from the block setup in admin section solved it
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 13, 2016, 08:25:42 PM
I must have missed v1.1 as was still at v1.0

I haven't been able to get the correct settings to make v2.0 work...  I had 2 URLs working in v1.0 but now just trying to get 1 to show.  What exactly would I put in:
For URL
array

$webcamURLs = array("../weather/wu/image_wu.jpg");
or
array("../weather/wu/image_wu.jpg");
or
???

Not had any problem in the past to figure out blocks and plugin settings but this one is baffling me.

Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 13, 2016, 08:35:25 PM
I must have missed v1.1 as was still at v1.0

I haven't been able to get the correct settings to make v2.0 work...  I had 2 URLs working in v1.0 but now just trying to get 1 to show.  What exactly would I put in:
For URL
array

$webcamURLs = array("../weather/wu/image_wu.jpg");
or
array("../weather/wu/image_wu.jpg");
or
???

Not had any problem in the past to figure out blocks and plugin settings but this one is baffling me.

Paul

Paul,

If you use the template block settings, in the first box you need to put the actual address.  So in my case, it was

http://www.linyweather.net/homepage/bloomsky/bloomSkyLatest.php

If you use the settings.php file this is what you would need.  So it's http://www.yoursite.com/wherever the file is stored/file name

Hope this helps.

Jeff


Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 13, 2016, 09:25:35 PM
Thanks Jeff, as simple as that.  I got sidetracked by the settings default having array, and having $webcamURLs = array(" "); from when I also had my Hikvision working in v1.0.

Regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2016, 09:45:44 PM
Thanks Jeff
Title: Meteotemplate Mobile 0.1 Strawberry Cheesecake
Post by: Jáchym on July 14, 2016, 11:30:47 AM
(http://i64.tinypic.com/aw3v5k.png)


Meteotemplate Mobile 0.1 Strawberry Cheesecake
Hi guys,
some time around Christmas I wanted to take a little break from all the new stuff I was learning about PHP, Javascript, HTML, CSS…. and just out of curiosity I looked at what exactly is “a mobile app”, how it works etc etc.I soon realized it is something totally different, just like if you knew English and someone said – hey, English is a “language”, so surely you can also speak Chineese, that is also a “language”. I then several times looked back at it.

Obviously, a major problem in this case is that I do not have a smartphone or tablet, so I rely purely on online emulators, which are far from ideal. I knew it would be extremely complicated to develop something and even if I did have a good test environment, the problem is that when you are a mobile developer, you are a mobile developer, in other words, I would have to concentrate on this rather than web development and working on Meteotemplate as such. It is a paradox for someone without an Android developing an app for Android but... well we will see if it works :)

Recently when I released the new Station Feed plugin, the idea came back to me and I tried to put together whatever I already had and came up with…. well I would not even call it an app… more like a big experiment. Something like Meteotemplate Mobile version 0.001. To my absolute surprise, one of you already tried it. I was quite amazed it even installed, I didn’t expect it would get that far :D Then we tried it and it actually worked! Now… just to make one thing clear – it “works”, but all it does is it displays your current conditions and auto-updates them every 5 seconds – nothing more, nothing less.

I only post it here in case somebody was interested. I expect many of you will have problems with it, it probably wont scale properly, it might not even work at all and you will surely uninstall it very soon. However, just in case you did want to give it a try… The instructions for use are simple. Just download the app from the Extras section at Meteotemplate.com. Then, try to install it and open it on your device. You will need the Station Feed plugin installed. Then, you click the “Settings” button and you must specify the URL of your station feed, with the JSON format, eg:

http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=json

It is actually very difficult to type in that box, so I highly recommend you go to that page of your site in a browser, copy it and then paste it in the app. Then check the box whether you do or do not have a solar sensor and click save. At that point, it should save this information in your device (so next time you open the app, it should not be necessary to specify this again if it works). It does not give you any notification, I simply don’t know how to do that and Im not even sure the Save function works :D So just click Go back and then click the second button “Load data”. And in the absolute ideal situation you will see your current data on the display, which auto-updates every 5 seconds.vHowever, by that I mean it checks your database every 5 seconds, but since your db only updates every 5 minutes, the numbers will only change when there is a change in the database, the 5 seconds interval is just how often it tries to load new data.

So, in conclusion, if you are lucky you will end up with a very ugly-looking app that will show you current conditions, but I warned you, it is just an experiment and I only did it for fun.

Have fun with it, I enjoyed making it and it was nice to try something new again :D

Enjoy

Info and instructions are in the blog: http://meteotemplate.com/blog/?p=799
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 14, 2016, 01:53:19 PM
Hi Jachim just tried it on my nexus 10 tablet  :grin: with your feed it works except the temperature is not shown

Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 14, 2016, 02:11:37 PM
Hi,
no it does not work, if you look the values are for different parameters. Make sure you check the solar sensor option.

In my case, I dont have one, but I have my template set to "yes" because I want it to be shown in the demo, despite the fact it shows 0 all the time.

With your URL it doesnt work?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 14, 2016, 02:19:41 PM
I turned on the solar button now it shows fine the values are according to your json file I ve not setup the feed on my template will do that, your app looks promising needs some fancier or colorfull gui :) But its v.01 beta
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 14, 2016, 02:37:02 PM
Question is if there is any point in developing this any further, it was more like fun for me, but I dont see much use of it. You can always check the browser, most of the pages of the template show fine, at least in the mobile version and show much more than just the values...
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 14, 2016, 02:57:15 PM
For me and my visitors it might be usefull i ' ve a nice windowsphone app but not an android app but when i m the only one i think you shouldnt put much time in it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 14, 2016, 03:16:17 PM
OK we will see what others think and if any further development would be worth it, Im still very much surprised you got any further than trying to install it...
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 14, 2016, 07:17:45 PM
Jachym, any idea as to how I might add some code in indexDesktop.php to have the website auto-refresh after X minutes?  Reason I ask is that I keep it up on one of my monitors at work just to see what is going on.  While some of the blocks update at various intervals throughout the day, others do not unless I refresh the page.  Ideally, I would set it to a large interval; say 30 minutes after the page is opened.  I doubt anyone would have my page open that long besides me.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 14, 2016, 07:29:59 PM
:D Thats what I was about to say :D No-one is going to stare at it for hours, but I get the point.

Simplest option is adding a meta tag:

Code: [Select]
<meta http-equiv="refresh" content="30">
This would refresh the page every 30 seconds. However... it takes the control of a page away from the user. Using "refresh" will cause a failure in W3C's Web Content Accessibility Guidelines.

Instead I would add the following to your head section:

Code: [Select]
<script type="text/javascript">
window.setTimeout(function(){ document.location.reload(true); }, 30000000);
</script>

That would refresh it every 30 minutes (the number must be in milliseconds, that is what Javascript uses)
Title: Re: Meteotemplate - new free website template
Post by: Daali on July 14, 2016, 07:31:14 PM
Jachym, any idea as to how I might add some code in indexDesktop.php to have the website auto-refresh after X minutes?  Reason I ask is that I keep it up on one of my monitors at work just to see what is going on.  While some of the blocks update at various intervals throughout the day, others do not unless I refresh the page.  Ideally, I would set it to a large interval; say 30 minutes after the page is opened.  I doubt anyone would have my page open that long besides me.

http://www.w3schools.com/Tags/att_meta_http_equiv.asp

Example
Refresh document every 30 seconds:
Code: [Select]
<head>
<meta http-equiv="refresh" content="30">
</head>


edit:  Jáchym is too fast LOL
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 15, 2016, 07:01:43 AM
Haha awesome.  Thank you.  Just added it now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 15, 2016, 08:21:25 AM
OK, I could theoretically add this somewhere in the setup for everyone as an option, but I wonder how many people would actually use that. I see exactly why you do it that way, but I dont think there will be too many people with one spare monitor for this.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 15, 2016, 08:36:23 AM
Yeah I understand.  The code is just a simple add anyway.  I added it through remote desktop over my phone but it does not appear to be working.  I will check it out when I get home this evening since it is tough to do it through my phone.  I bet I just messed something up when adding it.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 15, 2016, 10:20:24 AM
Attached is a screen shot of the mobile app from a Galaxy S5.  I do have a solar sensor and click on it in the seetings but it's not showing up on the display.  I think it would be good to continue working on it as time permits.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 15, 2016, 10:52:19 AM
Yes, that is "correct" - the solar data is not there, it is only to tell the script the correct field numbers for the other parameters because if the solar is there, some indexes are shifted.

i guess it would be possible to add all sorts of things like daily max/min etc. But I will see, depends how many ppl will really use it and feedback I get. This is more just an idea as such.
Title: Meteotemplate - Amazing new block ;-)
Post by: Jáchym on July 15, 2016, 11:11:31 AM
(http://i68.tinypic.com/24loupd.png)

Hi guys,
I guess the title of this post is a bit of a clickbait :D

But Im sure you will all be very excited about the new block I just released  \:D/

New Block - Radar Czech Republic 1.0

This block is a zoomable radar for the area of the Czech Republic.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarCzech

Enjoy
Title: Google Browser API key
Post by: Jáchym on July 15, 2016, 11:42:01 AM
I guess this will be a common question and the Google Developer Console is not really intuitive for someone who has never used it.

I have therefore prepared a little guide that I included in Meteotemplate wiki, but it can be used by anyone who needs the key.

It is available here as a PDF file:

http://www.meteotemplate.com/web/wiki/wiki3GB.php
Title: Meteotemplate - news
Post by: Jáchym on July 16, 2016, 07:50:35 PM
Hi guys,

just a short update:

1. on the meteotemplate.com homepage I added section "Partners", accessible via the menu on the left directly on the main site
2. Meteotemplate is now also available in Portuguese, making it the 17th available language for the template (not all strings are available yet, but I am working with Paulo on completing it)

Title: Meteotemplate - 1st Anniversary!
Post by: Jáchym on July 18, 2016, 08:00:02 AM
(http://sl.uploads.im/t/xlG4C.png) (http://uploads.im/xlG4C.png)

Hi guys,

as unbelievable as it may sound, Meteotemplate celebrates today its first anniversary! Today´s newsletter is therefore a special issue, which provides a very short recap at what happened, how it all began and also mentions what is coming next.

The only thing other thing I want to emphasize again here is that this would never be possible without you and your support! Thanks to everyone who helped me in any way, be it offering feedback, translations, a donation without which this would also not be possible, or co-operated in any other way. This is what motivates me to continue doing this and enjoy working on it as much as I do. I will not name anyone in particular because there are so many of you that it would be impossible to choose and I would certainly later on realize I forgot someone.

Best regards

Jachym

Special Issue:    http://meteotemplate.com/blog/?p=808

(http://sm.uploads.im/t/QXeTo.jpg) (http://uploads.im/QXeTo.jpg)



Title: Re: Meteotemplate - new free website template
Post by: Daali on July 18, 2016, 09:13:22 AM
Congrats on your cake day!  Thank you for the template and all your hard work!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 10:24:48 AM
Thanks John
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 18, 2016, 10:52:32 AM
Up to the next 10 years great ! =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 11:06:19 AM
Lol
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 18, 2016, 02:42:59 PM
Very interesting read Jachym.
Congratulations on what you have achieved in such a short  time and of course many thanks for all your support and hard work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 03:08:19 PM
Thanks Paul, it wont be where it is now without all you guys.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 18, 2016, 03:37:51 PM
and from the other Paul... so much has been done over these 12++ months and enjoyed by so many.  I personally have learned a great deal over that time, even to the point I have helped an occasional new user.

Congratulations Jachym.

Best regards,
Paul
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 18, 2016, 03:46:12 PM
Jachym:

Congrats on the "birthday" of Meteotemplate!  So many improvements over the past year. Every time I go to your site it is like Christmas morning.  There is always a new present to open.   :-)  Well done!
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 18, 2016, 04:00:42 PM
Of course I have a problem, though!

My severe weather alerts are not working properly in the warningsUS block.  My county is under a severe thunderstorm warning right now but the block is not showing it.

This url shows the alerts: https://alerts.weather.gov/cap/wwacapget.php?x=ME125608723DE4.SevereThunderstormWarning.12560872629CME.CARSVRCAR.63d1f896e159241188a9e9e8d74f1a6e (https://alerts.weather.gov/cap/wwacapget.php?x=ME125608723DE4.SevereThunderstormWarning.12560872629CME.CARSVRCAR.63d1f896e159241188a9e9e8d74f1a6e)

and here... https://alerts.weather.gov/cap/me.php?x=0 (https://alerts.weather.gov/cap/me.php?x=0)

For some reason I am still showing "No warnings or alerts currently in effect"

This is probably a NWS problem but I thought I'd let you know.

--Kurt

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 05:07:24 PM
Hi Kurt,

either it was still getting data from cache, or some weird format of the warning, actually when I tried that link, it showed the warning does not exist
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 18, 2016, 05:11:42 PM
I'm wondering if NWS has changed their formatting or something.  I've had several severe WX alerts this past week and none have shown up on my homepage.
http://www.kpw3.com/meteo (http://www.kpw3.com/meteo) and am still under several as I type this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 05:13:06 PM
Well that of course could be. Are you talking about warningsUS or warningsUSRegions
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 18, 2016, 05:28:03 PM
I am referring to warningsUS.

Here is the output of https://alerts.weather.gov/cap/me.php?x=0
 (https://alerts.weather.gov/cap/me.php?x=0)
Code: [Select]
<entry>
<id>https://alerts.weather.gov/cap/wwacapget.php?x=ME1256087283D0.SevereThunderstormWarning.125608728F88ME.CARSVRCAR.cd3818a353585b83365ed83f1d8f1299</id>
<updated>2016-07-18T17:00:00-04:00</updated>
<published>2016-07-18T17:00:00-04:00</published>
<author>
<name>w-nws.webmaster@noaa.gov</name>
</author>
<title>Severe Thunderstorm Warning issued July 18 at 5:00PM EDT until July 18 at 5:30PM EDT by NWS</title>
<link href="https://alerts.weather.gov/cap/wwacapget.php?x=ME1256087283D0.SevereThunderstormWarning.125608728F88ME.CARSVRCAR.cd3818a353585b83365ed83f1d8f1299"/>
<summary>THE NATIONAL WEATHER SERVICE IN CARIBOU MAINE HAS ISSUED A * SEVERE THUNDERSTORM WARNING FOR... CENTRAL HANCOCK COUNTY IN SOUTHEASTERN MAINE... SOUTH CENTRAL PENOBSCOT COUNTY IN EAST CENTRAL MAINE... * UNTIL 530 PM EDT * AT 500 PM EDT...A SEVERE THUNDERSTORM WAS LOCATED OVER BANGOR...</summary>
<cap:event>Severe Thunderstorm Warning</cap:event>
<cap:effective>2016-07-18T17:00:00-04:00</cap:effective>
<cap:expires>2016-07-18T17:30:00-04:00</cap:expires>
<cap:status>Actual</cap:status>
<cap:msgType>Alert</cap:msgType>
<cap:category>Met</cap:category>
<cap:urgency>Immediate</cap:urgency>
<cap:severity>Severe</cap:severity>
<cap:certainty>Observed</cap:certainty>
<cap:areaDesc>Hancock; Penobscot</cap:areaDesc>
<cap:polygon>44.73,-68.94 44.91,-68.87 44.81,-68.13 44.55,-68.22 44.73,-68.94</cap:polygon>
<cap:geocode>
<valueName>FIPS6</valueName>
<value>023009 023019</value>
<valueName>UGC</valueName>
<value>MEC009 MEC019</value>
</cap:geocode>
<cap:parameter>
<valueName>VTEC</valueName>
<value>/O.NEW.KCAR.SV.W.0028.160718T2100Z-160718T2130Z/</value>
</cap:parameter>
</entry>

My state zone is MEZ015.  As you can see there is no reference to that zone in the CAP code.  There is a reference to MEC019 which is Penobscot, my county.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on July 18, 2016, 05:38:28 PM
I thinks it's a NWS problem.  I see the block and the plugin must get their data from different NWS sections because the block has no watches or warnings and the plugin has the whole state under a watch. See attached pictures taken at same time.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 18, 2016, 05:43:09 PM
@weatherbee that is the very same thing I had on my site this afternoon here in Maine. Many state warnings were posted on the NWS General warnings page but nothing in the block.  Apparently the NWS data formatting is not consistent.  :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 05:51:09 PM
that is correct, they use different source feed, so NWS probably updates them irregularly and independently
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on July 18, 2016, 05:53:17 PM
I have been finding the plugin is more reliable. The feed for the blocks are very inconsistent.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 05:59:29 PM
yes, but the feed used by the plugin is nationwide, so thats why it is maybe more up to date. The block is from regional feeds, Im afraid there isnt much I can do
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on July 18, 2016, 06:17:02 PM
What I have noticed (at least this time) if you use the county code instead of the zone code the watch will appear.
Tom
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 18, 2016, 06:35:36 PM
WeatherBee, do you know where to get the county code?  I think I am having the same warnings issue, and I currently have a zone code (which also happens to be for my county)

Jachym, congrats on 1 year!
One quick question.  I am using the code you provide last week to make my page auto-refresh, however, it does not appear to be working.  Any ideas?

Code: [Select]
<script type="text/javascript">
window.setTimeout(function(){ document.location.reload(true); }, 30000000);
</script>
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on July 18, 2016, 06:39:48 PM
https://alerts.weather.gov/  Is location for zone and county alerts.

Also on that auto refresh use 1800000 instead of 30000000.  That will refresh every 1/2 hour.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 06:51:08 PM
WeatherBee, do you know where to get the county code?  I think I am having the same warnings issue, and I currently have a zone code (which also happens to be for my county)

Jachym, congrats on 1 year!
One quick question.  I am using the code you provide last week to make my page auto-refresh, however, it does not appear to be working.  Any ideas?

Code: [Select]
<script type="text/javascript">
window.setTimeout(function(){ document.location.reload(true); }, 30000000);
</script>

OK I will then use jQuery for it, I will test it tomorrow and send you a working code
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 18, 2016, 06:52:19 PM
Interesting.  So I changed the code from NCZ041 to NCC183 in settings.php, however the block still says Wake (NCZ041) North Carolina.
And if it is 1800000 instead of 30000000, then I must have had it set to some ridiculously large time!
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 18, 2016, 06:52:47 PM
Okay, thanks Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 06:56:26 PM
Interesting.  So I changed the code from NCZ041 to NCC183 in settings.php, however the block still says Wake (NCZ041) North Carolina.
And if it is 1800000 instead of 30000000, then I must have had it set to some ridiculously large time!

you must delete the cache file
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 18, 2016, 07:03:38 PM
Ughh  ](*,)
For an IT guy, sometimes I frustrate myself haha
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 18, 2016, 08:17:16 PM
Jachym,

Congratulations on such a wonderful achievement!  You have re-ignited a passion in me and I thank you!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2016, 08:26:22 PM
Thanks Jeff and all the others who posted. I am quite excited about what is coming next because this really finally brings the template to where I wanted it to be for quite some time, just didnt know how to do things. I am not saying this to teas you, but rather to give you something to look for and it also explains why there hasnt been much new stuff recently - though there will be one very cool plugin tomorrow, I have it more or less ready (though technically speaking today, since it is long after midnight here) :-)

Again, thanks for all your support, I am really glad you guys find it useful.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 18, 2016, 08:35:36 PM
Thanks Jeff and all the others who posted. I am quite excited about what is coming next because this really finally brings the template to where I wanted it to be for quite some time, just didnt know how to do things. I am not saying this to teas you, but rather to give you something to look for and it also explains why there hasnt been much new stuff recently - though there will be one very cool plugin tomorrow, I have it more or less ready (though technically speaking today, since it is long after midnight here) :-)

Again, thanks for all your support, I am really glad you guys find it useful.

Another plugin?  Yay!  I'm like a kid in a candy store!!!
Title: Meteotemplate - New plugin - Data Display
Post by: Jáchym on July 19, 2016, 08:11:44 AM
(http://i65.tinypic.com/2isjep3.png)

Hi guys,

I made a new plugin for viewing current conditions.

New plugin - Data Display

This plugin allows you to display current conditions in full-screen. It is ideal if for example you have a spare monitor or mobile device and you simply want to have the current data all the time available. In addition, you can set the update interval, font size, font type and display type. Unlike all the other pages of your template, this one really is focused on simple clean display - i.e. the header is hidden, the menu is hidden etc.

You can set the font size and type to best suit the dimensions of the screen on which you are viewing it and in the settings you can also specify which parameters you want to display, in which order and how often you want them to be updated and from which source (db, clientraw, cumulus, mbLive).

DEMO: http://www.meteotemplate.com/template/plugins/dataDisplay/index.php

Also the menu.php has been updated and so a link will be automatically added once the plugin is installed in the Weather Station tab if you download the most recent menu.php from the Downloads section.

Enjoy
Jachym
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on July 19, 2016, 09:02:54 AM
Installed the new plugin but noticed that the option to change the update interval doesn't seem to work! Further playing showed that it was misunderstanding on my part as to how it should work!
Also can the default view be changed to show all parameters at once rather than one at a time?  I know it can be done in the menu but ...

oops forgot to include a link http://www.sanfordweather.com//meteo/plugins/dataDisplay/index.php (http://www.sanfordweather.com//meteo/plugins/dataDisplay/index.php)

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 19, 2016, 09:15:37 AM
I tried changing the interval and it worked fine, just make sure you never let that box to be empty, that will cause problems
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on July 19, 2016, 09:25:27 AM
I had mistakenly thought I could just click on the 5 to the right of the box and it would change, didn't realize I had to edit the content of the box, my mistake!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 19, 2016, 09:31:37 AM
oh I see, sorry it is slightly confusing...

the thing is - it is not actually a five, it is a lower case "s", i.e. "seconds"
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 19, 2016, 10:05:07 AM
A neat gadget instead of a screen saver!

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 19, 2016, 10:17:01 AM
Thanks Paul, yes that was sort of the idea. I know there are some users who for example have a spare monitor or a tablet on their table, where they had page loaded and the current conditions. However, this was not ideal on smaller screens, the menu, header, footer - all that takes up space, so this is just a really simple display, ideal for these smaller screens and it also updates in realtime.
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on July 19, 2016, 12:32:53 PM
Happy Birthday Meteotemplate!

Great job on all you've accomplished and many thanks for all your efforts Jachym.

I know you have new and exciting things coming out soon which will be much welcomed.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 19, 2016, 01:32:24 PM
thanks Tom
Title: Re: Meteotemplate - new free website template
Post by: droiddk on July 19, 2016, 02:53:16 PM
Congratulation Jáchym.

You have done a very inspiring job  :grin:

Regards
Droiddk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 19, 2016, 06:21:31 PM
Thanks, your site looks very good too!
Title: Meteotemplate - New block - Maps France
Post by: Jáchym on July 20, 2016, 07:57:37 AM
(http://i66.tinypic.com/2ut00fm.png)

Hi guys,

I created a new block to display maps of current conditions for various parameters such as temperature, precipitation, insolation, pressure, humidity, wind speed etc. The image auto-updates. You can choose a particular region and view a detailed map. Each image can also be clicked and displayed in a popup in full-screen mode.

Although the maps are centered on France, the area covered also includes the nearby countries (Belgium, Netherlands, Germany, northeastern Spain, southern part of the UK and western part of Italy).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=mapsFrance

Enjoy
Title: Meteotemplate - Block Update - Interactive Graph 3.0
Post by: Jáchym on July 20, 2016, 07:06:06 PM
(http://i67.tinypic.com/34px2dx.png)

Block Update - Interactive Graph 3.0

Hi guys,

based on a suggestion from one of you I updated the interactiveGraph block. In the new version, you can now set the colors of the individual graphs. Just be careful and make sure if you change the “default” that the color you choose is nicely visible using the theme you chose for your homepage.

Update process:

Simply replace all the files and then follow the instructions in the block settings.

Since as you know I am not a big fan of fancy 3D effects, shadows and colors and prefer simple, clean design, I did not use this option in the demo ;)

Enjoy
Title: Meteotemplate - New Plugin - Daily Weather Maps U.S.
Post by: Jáchym on July 21, 2016, 07:00:09 AM
(http://i65.tinypic.com/t6qb9f.png)

New Plugin - Daily Weather Maps U.S.

Hi guys,

one new region-specific plugin, this time for the United States. This new plugin shows you several weather maps, grouped by days, with data available since 2003.

The maps included are:
- synoptic maps
- daily max/min temperature
- precipitation sum

Each map can be clicked to show more information and detail.

I also updated the menu file to include this plugin.

Enjoy

Demo: http://www.meteotemplate.com/template/plugins/dailyWeatherMapsUS/index.php
Title: Re: Meteotemplate - new free website template
Post by: Daali on July 21, 2016, 01:57:07 PM
Works like a champ, love the old school maps!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 21, 2016, 02:21:56 PM
OK, great :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 21, 2016, 08:09:16 PM
WeatherBee, do you know where to get the county code?  I think I am having the same warnings issue, and I currently have a zone code (which also happens to be for my county)

Jachym, congrats on 1 year!
One quick question.  I am using the code you provide last week to make my page auto-refresh, however, it does not appear to be working.  Any ideas?

Code: [Select]
<script type="text/javascript">
window.setTimeout(function(){ document.location.reload(true); }, 30000000);
</script>

Hi Stefan,
just to let you know I didnt forget, I will look at it as soon as I can. I did try it and it didnt work, I think it is because the way the blocks work, but I will try alternative method and keep you updated how it goes.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 21, 2016, 08:31:19 PM
Updated interactiveGraphs and added the new blocks and plugin.  All up to date again!

Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 21, 2016, 08:39:36 PM
Great,  thanks for letting me know Paul
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on July 21, 2016, 09:56:24 PM
LOVE the new signature banner!  Something to look forward to?
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 23, 2016, 11:04:56 AM
Jachym. I have updated my blocks but for some reason the current conditions are not displaying properly, both desktop and mobile.

Only 3 icons showing and no values.

The settings.php is correct.

(http://uploads.tapatalk-cdn.com/20160723/89d43958457ce78f5bf70ab21a72e5b6.png)


Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 23, 2016, 11:08:49 AM
Hi Simon,
I dont think this could be an error in the script, simply because there is no script in that part of the code, it is just an HTML to display all the icons and when I looked at the HTML of your block, it just ends in the middle of a tag.

Most likely this seems like the file is corrupted. Either it got corrupted while you were downloading/extracting it, in which case you would need to re-download the block from meteotemplate.com, or it could get corrupted while it was being uploaded via FTP (more likely) in which case you should try re-uploading it.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 23, 2016, 12:02:54 PM
Hi Simon,
I dont think this could be an error in the script, simply because there is no script in that part of the code, it is just an HTML to display all the icons and when I looked at the HTML of your block, it just ends in the middle of a tag.

Most likely this seems like the file is corrupted. Either it got corrupted while you were downloading/extracting it, in which case you would need to re-download the block from meteotemplate.com, or it could get corrupted while it was being uploaded via FTP (more likely) in which case you should try re-uploading it.

I've done that, twice, before I posted, and tried again now.  No difference
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 23, 2016, 12:16:54 PM
OK, aha, I see the problem now. It is because the new version is not compatible with 6.0.

Basically, if someone decides they do not want to update the whole template then you must not update any other blocks or plugins, when an update is released, it assumes the user uses the latest version of the template. I implemented some new functions in 7.0 and they are quite useful so obviously I want them to be used in the blocks and plugins.

It is ok to not update the template, but then it just has to stay "fixed" - no more changes, including no new blocks/plugins or their updates.

Either revert back to your original Current block or you need to update to Pomegranate.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 23, 2016, 12:46:50 PM
Ok - is the old menu compatible with Pomegranate?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 23, 2016, 12:53:25 PM
yes, the menu never changed. I explained in the wiki, there is no "new menu", the new menu just adds the plugins automatically, I would please ask you to read the wiki and the section about the menu, which explains the way it works now.

In general:
When the template is updated, I make sure all currently available plugins and blocks are compatible with it - or I release update to those as well. However, later any changes or new things already assume the template is in its most recent version and take advantage of the new/improved things.

It does not work the other way around. If you want to use older version, then simply also use older version of the block, but sometimes I update a block particularly because I can now do more with it in the new template version so it is impossible to create several versions for each template version.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on July 23, 2016, 04:31:14 PM
OK, aha, I see the problem now. It is because the new version is not compatible with 6.0.

Suggestion - Version checking in each block/plugin to ensure that others do not make this mistake in the future?????  #-o
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 23, 2016, 05:17:43 PM
This would not always work, but I guess I should emphasize this in the wiki and with each update instructions:

Everything will remain working in the previous version, but not updating the main template means you should not update anything since then.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 23, 2016, 08:03:01 PM
The problem is that there is no way the template (or me...) can prevent you from downloading a new block/plugin and simply replacing it via FTP. The blocks/plugins do not have information about which of their version is compatible with which template version.

The best I can do is emphasize more in the update instructions that not updating the template means no future updates for anything.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 24, 2016, 09:41:00 AM
OK, aha, I see the problem now. It is because the new version is not compatible with 6.0.

Suggestion - Version checking in each block/plugin to ensure that others do not make this mistake in the future?????  #-o

What I'd like to see is a script that at least compares versions.



Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 24, 2016, 09:59:58 AM
Not sure what you mean by comparing versions, versions of what?

It is actually really simple. Whenever a new update of the template is released, then all subsequent updates might use some of the new features - not necessarily, but they can. So whenever an update of the template is released, you should not update any blocks or plugins since then unless you updated the template as well.

I can always guarantee back compatibility with current stuff - i.e. when you update new version of the template all your blocks and plugins will work, or I will release an update to those that will make them work, but not the other way around.

Technically it would be possible, but in practice it is absolutely impossible for me to make several versions of each block for each template version. That would take me ages. It is up to you if you want to be up-to-date with everything or are ok with whatever you have already.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 24, 2016, 10:19:41 AM
Jachym. I mean a script to examine the versions of plugins installed on one's site and compare to the latest on your site.

I know you post regular updates on your site but it's very hard for me to keep track what is installed  versus what you have updated. Considering I generally only visit this forum and your site maybe a couple of times a month.

Not it's not a criticism. I'm not asking for lots of versions to be kept. It's more a case of quickly looking to see what's changed. And if a change then it's up to me to see if it needs to be applied.


Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 24, 2016, 10:23:13 AM
Simon I see your point, but you dont really need to know what plugin/block version is the most recent one.

That is what I was trying to explain, the version of plugin/block is irrelevant. The only thing that interests you is the version of the template. So an easy way to go about this is:

1. whenever you want to update something, you have to go to my site anyway, so check the template version and see if there is an update of the whole template available - this does not happen so often
2. if there is, then simply either update the template and then apply any other updates, or do not update anything.

You dont need to know plugin/block latest version, all that interests you is template version. If you have the latest one, you are ok with doing any other update. If not, then just dont update anything.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 24, 2016, 02:50:30 PM
Two users already have contacted me that they have a problem with the moonPhase block. It just doesnt load. I tried it on my server and everything worked fine, so I am a bit lost and dont know where to look for the problem. Unfortunately, none of them has access to the error log, so I have no clue what could be the problem. This block in particular uses no external source so that is also not an issue.

I just wanted to ask if anyone else had any problems with this block and if yes, if you can provide the error shown in your error log for this block.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 24, 2016, 03:20:02 PM
I am using moonPhase v1.2 and seems to be working fine on my page www.komokaweather.com/j-template

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 24, 2016, 03:24:26 PM
thanks Paul
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 24, 2016, 03:43:28 PM
I am also using 1.2 without issue.
http://www.jayswoodfurniture.com/meteo/indexDesktop.php

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 24, 2016, 03:49:36 PM
Thanks Jay,

strange.... they both have the same problem, the block just shows the loading spinner and never loads
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 24, 2016, 06:09:02 PM
OK, the issue is solved now, I found the problem. Thanks guys for helping out.
Title: Meteotemplate 8.0 Pineapple!
Post by: Jáchym on July 25, 2016, 09:35:30 AM
(http://i65.tinypic.com/2v0y9w7.png)

Hi guys,

the promised new version of the template is here! Meteotemplate 8.0 Pineapple! As I promised, this version is more about improving the existing and as you will now see, will make your life much easier and also greatly improve the user experience as it not only corrects many bugs, but also speeds up many pages.

The main purpose of this update was therefore to optimize the already existing files and most importantly – make it all much easier and smoother for you as a webmaster to use the template as such. This means a completely new mechanism for logging-in was implemented, which hugely increases the security. Next, many database queries were optimized and some sophisticated new caching functions implemented, which in combination with more use of Ajax, hugely speeds up certain pages. My long-term goal has been to move all template setting “from the code to GUI” – i.e. allow you as a webmaster to completely bypass having to go to the code and simply do everything directly from your page. For this reason I introduced a new control panel (previously known as Admin Section), and most importantly, I changed the homepage layout setting and plugin setup also to GUI. In addition, there are some very useful small tweaks such as direct download of updated file, without you having to visit Meteotemplate.com and choose the download file. These other minor, but useful tweaks include for example proper unit formatting (hpa vs hPa, inhg vs inHg, kmh vs km/h) or addition of tooltips to icons.

Main features

New SmartCaching function which substantially speeds up certain station-related pages (eg. monthly report v7 loading time 8.5s, v8 loading time 0.5s)

Brand new Control Panel for the template
- all blocks now set up via GUI
- all plugins now set up via GUI
- homepage blocks and layout now setup all via GUI
- database backup to server and to your computer as a ZIP file
- template settings files back up to server and to your computer as a ZIP file (config, all blocks settings, plugins settings and homepage setting)
- editing info pages (about station, about location, about www) in a GUI via control panel
- plugin/block update directly from your page (bypassing meteotemplate.com) + auto version check
- new features in setup.php - set up redirect options via GUI

Completely new system for admin access
no more passwords in URLs via GET parameter and a much more secure way of template administration

Minor tweaks and improvements
- all units now with proper formatting (i.e. km/h vs kmh, hPa vs. hpa etc.)
- design tweaks
- adding tooltips etc.

New color schemes available – pastel colors

Tens of backend changes for much better error handling, including ensuring compatibility with HTTPS

Bug fixes

Some pages were changed on the front-end and many pages in the back-end.

- station pages now show correct format of units (eg. km/h vs kmh, hPa vs hpa)
- tooltips added to many icons
- weather station -> calendar – a new table added, which shows the actual values
- station -> live data – redesign, optimization (loads in a fraction of the original time)
- new login/logout page
- pages -> climate indices – translatable (previously only in English)

Update

The update process is divided into two parts. First one should be fairly easy and fast. The second one will take you longer - the plugins unfortunately have to be update in order for them to be able to use the new versioning and setup via GUI. However, you can do this anytime later, the plugins will work even if you do not update them immediately, you will just not be able to use the admin features of them.

The fact your page will load faster will show up over time as the cache is created (each time you for example load a new monthly report, it will create the cache or modify it, so next time, the same report will load much faster, and likewise for the annual reports and a few other pages, always with the exception of current month and current year, which are not cached).


I updated all the plugin files, the wiki, the demo etc.

PLEASE READ THE INSTRUCTIONS FOR THE UPDATE VERY CAREFULLY!!! THIS TIME YOU WILL BE MAKING MODIFICATIONS TO THE CORE FILES, INCLUDING THE FILES RESPONSIBLE FOR UPDATING YOUR TEMPLATE - NECESSARY FOR THE IMPROVED SECURITY AND NEW CONTROL PANEL!

Also, although I have tested the update several times, it is possible there could be something not working. I had to update almost all the files, all the plugins, all plugin documentations and big chunks of the wiki. Please let me know as soon as possible if you discover a problem and also make sure you do what you are told right at the beginning of the update process: Backup your original files. Even though it might not look like it, it is the biggest update so far to the template for me as a developer.
 
More info: http://meteotemplate.com/blog/?p=834

Enjoy

Jachym

P.S. Once someone is done with the update and sees that it is working (at least the first part), please let me know, I will then send email to the subscribers about the update, just in case there was a major problem, in which case I would obviously fix it first.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 10:40:18 AM
Attached is an example of the new Control Panel
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 25, 2016, 11:02:37 AM
Hi Jachym,
It will be this evening before I can update and hopefully give any feedback.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 12:28:18 PM
Thanks Paul - I know you will, you always did, in fact I still remember you were one of the very first users overall, testing it even before version 1 and using some of the scripts I originally had for my old webpage :-) Time flies... :D
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on July 25, 2016, 12:40:37 PM
Jachym,
I've updated desktop page and everything seems to be fine.
I think it will be easier to setup homepage, it just takes getting use to new way of doing things.
I haven't done plugin updates yet.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 12:51:07 PM
Hi Tom,
great!

I hope.... I hope this was the last time you have to learn new ways of doing things. I basically had a choice - will I maintain the current system of setting the homepage layout and setting plugins or do I transfer it to GUI?

For existing users it probably is not much different, you already got used to the original system, but for new users it is now much easier. I always emphasized that I am learning how to do stuff all the time. Things would be 100% easier for me if I did things differently a year ago... just an example... originally, the settings of each plugin was directly in the code and directly in the index file of that plugin. Everything worked... but I soon realized this is a problem because each plugin update meant the setting was reset. So I separated the settings file. But I did not use JSON and also did not use some universal structure for this so now when I thought I could try transferring the plugin setup to GUI, it was quite problematic because each plugin was set up differently.

I updated all plugins and as much as I could I tried to make it easy for you so that you only have to update those plugins that still used the original very inefficient method of setting up directly inside those files. I did not use JSON, that would be easier, but you would have to update all of them. Like this you only have to update about 20%.

Same with the versioning... the plugins contain the version number, but each plugin has this in a different file and so I could not create a script that would load the version number of each plugin and simply display it.

Right now, I think more or less everything is done via GUI and the next step now will be doing the same thing I just did to the template (optimization, error handling, minor tweaks, compatibility etc.) to all the plugins. But that should be a piece of cake compared to this update :D
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on July 25, 2016, 03:17:16 PM
Jachym,

Upgraded to Pineapple and all looks good.

Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 03:20:24 PM
Great thanks for letting me know Tom.


there is just one problem that seems to occur to some.

There is a mechanism that checks your config.php is writable, to make sure it does not try to save the file, fail and you would have to set it up again.

However, the problem is that what I didnt know is that the server caches this information. This means that when you then go and set the permissions correctly, it still gets the information from the cache and will show that the file is not writable. However, you can ignore it, since it isnt and it is only using the information it got before you changed the permissions.
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 25, 2016, 06:22:27 PM
I'm on Pineapple and with the new wd.php that you provided everything new is working perfectly.

Thank you!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 06:46:02 PM
Great, hopefully it will save you time in the future, being able to do basically anything via the Control panel.
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 25, 2016, 07:11:14 PM
The control panel is sheer genius!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 08:09:18 PM
I hope it makes your life easier.
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 25, 2016, 08:41:18 PM
For some reason RealEarth is now telling me that I don't have a Google API. All other maps seem to be working fines such as the location map in setup, disasters, etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2016, 08:56:44 PM
Yes because that must be fixed by the developer of that site,  they must also get a key,  nothing we can do about this
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 25, 2016, 10:40:53 PM
I bypassed the realEarth.js and simply called the http://realearth.ssec.wisc.edu/ site in an iframe.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 05:16:37 AM
Yes, but that is not going to help you in long term, because Google will only tolerate this until September, this is what you get when you go to their site and view the console:

Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Title: Meteotemplate - Block updates
Post by: Jáchym on July 26, 2016, 10:01:06 AM
Hi guys,

just some smaller updates to two blocks.


Radar EU 2.1
- bug fixes

WeatherNetworks 3.0
- I was asked to include LineaMeteo.it, so it is now included in the possible networks
DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=weatherNetworks

Just replace all files and go through the set up in the control panel

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 10:37:08 AM
I get the no API warning now when using the plugin. It works without the plugin, so something in the plugin is the culprit.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 26, 2016, 10:47:28 AM
Jáchym,

Well,  tried and it seems to have mucked up somehow.  When I try to save the Google API on the control panel it won't save.  The location map farther down on the page won't display.  I looked into the config.php and the API shows there.  All was working before.  Not sure what to do.

Jay
http://jayswoodfurniture.com/meteo/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 11:04:49 AM
Jay it looks like you pasted your API key behind the default:XXXXX,
your API key looks like this on your page:
XXXXXXAIzaSyAxrP7ZyhBegCa3C8N0fhM4XXGcezZSDbA

I think you need to delete the XXXX at the front
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 26, 2016, 11:28:54 AM
Jáchym,

That's the problem.  I have changed the permissions on the server for config.php.  The only thing that doesn't seem to be sticking is the Google API.  I just put it in again.  I think the XXXXX is gone now.

Jay

I think I just figured it out.  I needed to edit the googleMapsKey.txt file.  Just did that and it seems to work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 11:37:39 AM
Yup, working fine now:

http://www.jayswoodfurniture.com/meteo/pages/climate/map.php

:-)
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 11:40:25 AM
Jáchym I want to say how incredibly noble it is of you to develop this software and give it to us for free.

The world could use more people with your dedication.

I hope what you are learning on this project leads you to a long and prosperous career.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 11:55:19 AM
Thanks a lot - and I want to say it is people like you that make you think what you are doing is worth it and you enjoy doing it - which automatically means you learn fast, you spend time with it etc etc.

And yes indeed I learned much more than just coding :)
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 12:09:03 PM
I just added the rain block and have a question. In Weather Display I show 4.42" of rain for the year, in the rain block and station data it shows 467.52" of rain for the year. Any way to find this other than looking day by day with the data edit in the control panel?
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 12:14:25 PM
The interactive graph says I got 76" on June 1st, but the data edit shows no rain for that date.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 12:20:09 PM
PM me link to your site and your admin password
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 12:25:04 PM
Sent
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 12:27:45 PM
Your graph shows it was Jun 22, not Jun 1
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 12:29:23 PM
Looking at your data though it looks a bit strange, there is many data points with no data, which means your station/Meteobridge or whatever file you use to update your site, actully had current time, but it had no data in it.
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 12:32:44 PM
There were several periods in the past where my station was down so the WU import probably imported nothing, could that be it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 12:37:22 PM
Yes what is your WU ID?
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 12:43:13 PM
KAZTUCSO36
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 12:47:12 PM
Yes, well that explains it, the template works fine, look at your data for that day :D

https://www.wunderground.com/personal-weather-station/dashboard?ID=KAZTUCSO36#history/s20160622/e20160622/mdaily
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 12:54:28 PM
Wow, that's embarrassing! Thanks for finding that. I'll fix the database with phpMyAdmin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 12:58:43 PM
Yes, it is embarassing indeed - but not for you but for WU, they should have mechanisms to deal with this - 76in of rain in 5 minutes.... very likely :D Not to mention that they cannot even calculate the min/max right when you have data missing
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on July 26, 2016, 01:07:12 PM
Love the Control Panel.
Will make things so much easier.
Thanks for what you do!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 01:09:29 PM
Quote
Will make things so much easier.

Once you get used to it and take the time to update all the necessary plugins it will :-) This was the best I could do in terms of you having the least work with it.
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 01:20:46 PM
I'm now back to a believable 4.26" of rain for the year.

Thanks again for looking at this and giving me direction.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 01:29:06 PM
It was actually useful as well because I realized there should be some kind of a function that would allow you to reset daily rain. Like this since it is a cumulative value, if it rains just after midnight you have to delete it one by one for each record (unless you are familiar with phpMyAdmin obviously, but many users are not...)
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 26, 2016, 01:40:30 PM
Excellent - we both learned from this!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 26, 2016, 04:21:50 PM
I just have to say it again.  I am in awe over how much you have done.  I can truly say you have done an amazing job.  With every tweak you make it just gets better.  I am proud to be a Meteo user and find it to be such a useful and fun way to not only enjoy my hobby but to learn as well.  The support and help you provide is far better than any other software or hardware support I have ever needed and I have to thank you.

HATS OFF TO JACHYM!!! :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on July 26, 2016, 05:13:43 PM
Jachym can have my hat also!

All updates to 8.0 done I think, only problems were self generated, either fat fingers or crossed eyes!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 26, 2016, 05:36:36 PM
Thanks a lot guys.


One funny thing, slightly off-topic :D :D :D

I think I mentioned it several times in the past. I have a very cheap FineOffset plastic weather station, which in addition is sited absolutely inadequately. Unfortunately, I do not have the possibility of placing it anywhere else than right on top of an asphalt roof and the wind sensor is above the roof but I am surrounded with much higher buildings... Overall it means that the data is only correct in terms of pressure and the temperature and humidity are usually ok during night, but during the day.... and no shield would help, the temperature on the roof simply is much higher than the real one.

I knew about this and that was also why I knew that at the time when I only had my own page, it was useless. No-one looked at it. The numbers are wrong and also, I live in a very large city and there are 2 professional stations nearby, so why would anyone look on my site (assuming they even knew about it, which no-one did...)

Well anyway, I dont really care right now, because I know I cant do much about it and it actually completely fulfills its purpose - it provides data for the demo and for testing purposes and for that, I dont really care if it is a few degrees off, the number sort of make sense... only the missing solar radiation is sometimes problematic, but better than nothing. 

What is also funny is that I actually never look at the numbers... I never look at the statistics from my station, or rather I should say yes I do, but I just look at whether the graphs shows up, if the labels are ok - in other words I only check it from the developer's perspective, but I dont look at the actual values...

Despite all that I report the data to certain networks - I know I shouldnt but I set this up right at the beginning when I got it, when I was really excited about it and when I had no page and I did look at the numbers back then. I left it that way because I also use it as a back up in case something went wrong with my site and I used it because before I had my own site this was an easy way of getting my data online and looking at it from anywhere. And with Meteobridge it is really easy to set it up.


And so today, after almost 5 yrs, they finally realized it :D I got an email that I was permanently banned from AWEKAS :D
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on July 27, 2016, 04:22:41 AM
Hello Jachym, please contact me, as you saw'm already registered with the new Meteotemplate 8.0 operating normally, the main problem I have is that I can not change the colors through the Setup, because I make changes and keep but I would not change in the template.

Thanks and regards
Title: Re: Meteotemplate - new free website template
Post by: corwyyn on July 27, 2016, 06:50:07 AM
Jachym, first off thanks for all the effort to make this template set  :grin:

Now a problem: I just went to meteotemplate.com to try and download the latest version (I had previously downloaded v1.1 but never got a round to installing it).  When I click on the link icon at the bottom of the download page I get sent to http://www.meteotemplate.com/web/downloadedTemplate.php but never see a download start and don't see a link on the second page.  Just wondering if it might be a glitch in the link?  I trying to download it with Chrome v52, I had downloaded the previous version with an earlier version of Chrome and experienced no problems. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 27, 2016, 07:17:32 AM
Hello Jachym, please contact me, as you saw'm already registered with the new Meteotemplate 8.0 operating normally, the main problem I have is that I can not change the colors through the Setup, because I make changes and keep but I would not change in the template.

Thanks and regards

Hi Juan,
what exactly is the problem with the colors? Does the color selection in the setup not work?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 27, 2016, 07:20:34 AM
Jachym, first off thanks for all the effort to make this template set  :grin:

Now a problem: I just went to meteotemplate.com to try and download the latest version (I had previously downloaded v1.1 but never got a round to installing it).  When I click on the link icon at the bottom of the download page I get sent to http://www.meteotemplate.com/web/downloadedTemplate.php but never see a download start and don't see a link on the second page.  Just wondering if it might be a glitch in the link?  I trying to download it with Chrome v52, I had downloaded the previous version with an earlier version of Chrome and experienced no problems.

Hi,
no I dont think there is a problem with the download link given so many people downloaded it already and I use Chrome as well. The most likely issue is that you have popups blocked in your browser. See if there is this little notification at the top that a popup has been blocked, if so, simply allow it and the download should trigger automatically.

Title: Re: Meteotemplate - new free website template
Post by: corwyyn on July 27, 2016, 07:47:56 AM
Yes that was the problem, odd since I've never run into this when downloading from other sites.  But adding an exception to the blocker let it come thru just fine.

Anyway I'll try to get it installed this coming weekend.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 27, 2016, 10:27:27 AM
Jeez Jachym I can't keep up with you


Sent from my F35 Lightning II using Tapatalk
Title: Meteotemplate - New Plugin
Post by: Jáchym on July 27, 2016, 10:41:18 AM
(http://i64.tinypic.com/98ao03.png)

Hi guys,

I created another country-specific plugin, this time for Germany.

New plugin - Climate Germany

This plugin shows average temperature, precipitation and sun shine duration for various German regions and Germany as a whole, grouped by years, months or seasons. The plugin includes both graphs and tables, which are sortable and also some general statistical information.

DEMO: http://www.meteotemplate.com/template/plugins/climateGermany/index.php

No need to set up, just update your menu.php.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 27, 2016, 10:47:10 AM
I created a duplicate folder on webserver and tried it but couldn't get it to work/set up properly so v7.0 is still the prime www.komokaweather.com/j-template.  This however is not working correctly now (several blocks are not loading) and I am pretty sure it is a webhost issue as having problems with each my template sets.  Have had 2 long discussions with GoDaddy yesterday and now have set error log so I have more ammunition when I talk to GoDaddy again tonight.

V8.0 is at www.komokaweather.com/j-template-v70_to_v80 and the setup link still shows as komokaweather.com/j-template/admin/login.php instead of komokaweather.com/j-template-v70_to_v80/admin/...

I will again go through the update instructions item by item once I have the GoDaddy issue resolved.

Frustrating,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 27, 2016, 10:53:54 AM
Paul, this seems like an issue with the "path" parameter in the setup.php, can you check that?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 27, 2016, 11:31:25 AM
WeatherBee, do you know where to get the county code?  I think I am having the same warnings issue, and I currently have a zone code (which also happens to be for my county)

Jachym, congrats on 1 year!
One quick question.  I am using the code you provide last week to make my page auto-refresh, however, it does not appear to be working.  Any ideas?

Code: [Select]
<script type="text/javascript">
window.setTimeout(function(){ document.location.reload(true); }, 30000000);
</script>

Hi Stefan,
so i was experimenting with this reload function and got it to work. Instead of "true" in the above function simply use "1", like this:

Code: [Select]
setTimeout(function(){
  window.location.reload(1);
}, 1800000);


Insert this in your indexDesktop.php inside the
$(document).ready function.

The number in the function is the number of milliseconds after which you want to reload, in the above example I used 1,800,000 = 30*60*1000 = 30 minutes
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 27, 2016, 01:14:24 PM
Yes that was the problem, odd since I've never run into this when downloading from other sites.  But adding an exception to the blocker let it come thru just fine.

Anyway I'll try to get it installed this coming weekend.

Great, Im glad it is solved. Let me know if there are any problems when you try to install it.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 27, 2016, 03:10:14 PM
Jachym:

Fabulous work on the new template!  I have it all updated and running on my site.  Very few problems to overcome.

I did notice two very minor issues that I thought you might want to know about

1. The title of the dataDisplay plugin setup page is "Contact - Setup"
2. The title of the nwsWarnings plugin setup page is "Airport traffic - Setup"   :grin:

No effect whatsoever on operation, though.

Thanks,

--Kurt

www.kpw3.com/meteo (http://www.kpw3.com/meteo)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 27, 2016, 05:16:05 PM
Hi Kurt, thanks for letting me know, you are right. It has no effect on the setup, it is simply me forgetting to replace this when I copied the file. In some cases the setup scripts are very similar so I copied it from other plugin and then modified it so in these cases I simply forgot to modify the heading... I will fix it in some future update, but probably no point in updating the whole plugin just because of that.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 28, 2016, 08:45:30 AM
Ok I've updated everything...  great work Jachym

Just a couple of minor issues.

In the main setup page, for some reason it's not reading the Google API key correctly, even though I can see it in the config.php.  It's substituting it with "XXXXX", and if I save it writes "XXXXX" back to config.php.

Possibly related is the error thrown with the station location section

 [ You are not allowed to view attachments ]

Then, how do I override the colours in dataDisplay?  It is quite difficult to read.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 08:55:01 AM
Hi Simon,
you need to specify the API key inside the googleMapsKey text file in the install directory.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on July 28, 2016, 09:01:06 AM
Hi Simon,
you need to specify the API key inside the googleMapsKey text file in the install directory.

Ah, missed that bit of the instructions...  :shock:
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 28, 2016, 12:46:44 PM
For anybody using cron-job.org for their cron jobs, do you have a backup that you use in case the site goes down (as in right now....)?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 12:56:35 PM
There are two CRON job sites recommended in the wiki, make sure however the backup one is normally turned off
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 28, 2016, 01:09:40 PM
Stickers...Won't display on my site. 

I don't think this is a template issue but I'll post here in case anyone has seen this before.

(http://www.kpw3.com/meteo/plugins/stickers/sticker800_170.php?parameter=T&text=Hello&color1=grey&color2=dark_red)

The Apache error log shows:
Code: [Select]
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
I'm running Fedora 23 on the server and libpng is the current version.  One forum poster suggested that converting png-24 images to png-8 would fix this but I don't know how to do that since the png images seem to be generated on the fly.

Maybe by this function: (??)
Code: [Select]
function hex2rgb($hex){
                $hex = str_replace("#", "", $hex);
                if(strlen($hex) == 3) {
                        $r = hexdec(substr($hex,0,1).substr($hex,0,1));
                        $g = hexdec(substr($hex,1,1).substr($hex,1,1));
                        $b = hexdec(substr($hex,2,1).substr($hex,2,1));
                }
                else {
                        $r = hexdec(substr($hex,0,2));
                        $g = hexdec(substr($hex,2,2));
                        $b = hexdec(substr($hex,4,2));
                }
                $rgb = array($r, $g, $b);
                return $rgb;

Anyone seen this before?

Thanks,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 01:12:40 PM
There are plenty of paid ones, but they are always limited.

But one interesting I found is this:
http://cronless.com/pricing.php

This looks like unlimited number of jobs with minute intervals... theoretically we could have one for Meteotemplate users
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 01:13:31 PM
Stickers...Won't display on my site. 

I don't think this is a template issue but I'll post here in case anyone has seen this before.

(http://www.kpw3.com/meteo/plugins/stickers/sticker800_170.php?parameter=T&text=Hello&color1=grey&color2=dark_red)

The Apache error log shows:
Code: [Select]
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
I'm running Fedora 23 on the server and libpng is the current version.  One forum poster suggested that converting png-24 images to png-8 would fix this but I don't know how to do that since the png images seem to be generated on the fly.

Maybe by this function: (??)
Code: [Select]
function hex2rgb($hex){
                $hex = str_replace("#", "", $hex);
                if(strlen($hex) == 3) {
                        $r = hexdec(substr($hex,0,1).substr($hex,0,1));
                        $g = hexdec(substr($hex,1,1).substr($hex,1,1));
                        $b = hexdec(substr($hex,2,1).substr($hex,2,1));
                }
                else {
                        $r = hexdec(substr($hex,0,2));
                        $g = hexdec(substr($hex,2,2));
                        $b = hexdec(substr($hex,4,2));
                }
                $rgb = array($r, $g, $b);
                return $rgb;

Anyone seen this before?

Thanks,

--Kurt

No Kurt, that function is for converting color codes
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 01:24:29 PM
One thing that is really strange is that I tried looking for alternatives and many pages offering cron jobs are down... DDoS on CRON job sites??

http://webcron.org/
http://www.cronjobservices.com/
Title: Re: Meteotemplate - new free website template
Post by: KC5JIM on July 28, 2016, 01:26:17 PM
One thing that is really strange is that I tried looking for alternatives and many pages offering cron jobs are down... DDoS on CRON job sites??

http://webcron.org/
http://www.cronjobservices.com/

It definitely seems like something is up. I'm lucky that I use Weather Display and it's updating normally.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 01:29:56 PM
Well that would actually be "good" in that it would be more likely it is not an issue with cron-job.org in particular and that it will hopefully be back up.

Though I was thinking several times about making some global account for meteotemplate that would execute CRON jobs for those who cannot set it unless using external, potentially unreliable service.

For me it is not an issue for example, I use the built-in Meteobridge HTTP request execution, also ok for users that use WD from a 24/7 computer or who use CRON jobs that are offered by their provider.

With free sites however, this is something you must be prepared for, especially if it is like us who need minutely CRON jobs. There are many who offer like hourly, which normally is enough, but this is a very specific case (our weather stations).

You can all help me try to find a service that would offer unlimited number of minutely cron jobs. And then we can look at the price, the number of people who would potentially be interested, calculate price/person and see if people would be willing to pay for this higher reliability.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 28, 2016, 02:56:16 PM
There are two CRON job sites recommended in the wiki, make sure however the backup one is normally turned off

Ha, figures that the second site is down too.  As a work around, I installed a Chrome extension that can refresh the webpage every X sec/min.  So I have it refreshing the update URL every minute right now.  I think I may just setup a VM and run a cron job on there since running it locally using Windows Task Scheduler failed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2016, 04:53:12 PM
Looks like the page is back up, but it is really odd.... I dont understand why several main CRON job offering sites where down at the same time... different domain, different provider, different country... only same sort of service they offer
Title: DATA EDITS
Post by: juppie on July 28, 2016, 10:40:29 PM
Hello Jachym
Since the update of 7.0 to 8.0, I can not edit the database.

Gruss juppie
Title: Meteotemplate - bug fix
Post by: Jáchym on July 29, 2016, 08:07:48 AM
Hi Juppie,

thanks for letting me know, I guess me and the testers missed this.


Bug Fix Package 8.1 is now available in the Downloads section.
Title: Meteotemplate - New Plugin - Weather Terminology
Post by: Jáchym on July 29, 2016, 12:02:52 PM
(https://cdn.pbrd.co/images/2gqGwy87g.png)

New Plugin - Weather Terminology

Hi guys,

because I recently needed some definitions for some weather-related terms, I thought I could make a plugin about this too. This is a simple plugin that includes official definitions of commonly used vocabulary in weather-forecasting.

DEMO: http://www.meteotemplate.com/template/plugins/weatherTerminology/

No setup required, so just upload, and update your menu.php.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on July 30, 2016, 07:25:33 AM
Hello Jachym, have introduced the Google API in the Setup, but when I open the Block Maps, I get error, and says to look in the console JavaScrip, and not have to do to make it work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 30, 2016, 09:32:40 AM
Please post the URL to the problematic page
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 30, 2016, 09:37:05 AM
I've the same problem on my main page with the map http://apeldoornmeteo.nl I had created a key as wriiten in the wiki sometimes the map shows up and sometimes I get an error  :shock:

Edit with the prefix www its seems to work (strange I made a key with *.apeldoornmeteo.nl/*  )
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 30, 2016, 10:08:28 AM
Yes, you need to be careful how your subdomains are structured.

If you are accessing your page using eg:

http://apeldoornmeteo.nl/

then as you can see there is no "." at the front, in this case you would use:

*apeldoornmeteo.nl/*

the asterix symbol simply means "anything"
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 30, 2016, 10:19:27 AM
Yes, you need to be careful how your subdomains are structured.

If you are accessing your page using eg:

http://apeldoornmeteo.nl/

then as you can see there is no "." at the front, in this case you would use:

*apeldoornmeteo.nl/*

the asterix symbol simply means "anything"

Aha ok thanks I'll make a new key soon

Thanks
Ron (furthermore it's a great update thanks again !)
Title: Meteotemplate - New Plugins
Post by: Jáchym on July 30, 2016, 10:21:31 AM
Hi guys,
I had some plugins unfinished which I finally managed to prepare for release.

(http://i64.tinypic.com/rmti82.jpg)

New plugin - Weather Terminology - French

English is not the only language so I developed a similar plugin to the one released yesterday, just that the words and definitions are in French.

DEMO: http://www.meteotemplate.com/template/plugins/weatherTerminologyFR/index.php


(http://i67.tinypic.com/2agnosg.png)

New plugin - El Nino

This plugin provides some general information about the El Nino phenomenon and also includes current data (textual summary + temperature maps) and updating historical table.

DEMO: http://www.meteotemplate.com/template/plugins/elNino/index.php


Both plugins require no setup, just upload them to your Plugins directory (versioning for Meteotemplate 8.0 Pineapple already automatically included) and don´t forget to update your menu.php which I updated in the Downloads section.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on July 30, 2016, 11:29:32 AM
Hola Jachym, my URL, http://www.meteo-badalona-progres.com/template8/

Block Maps, failed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 30, 2016, 11:38:19 AM
Google Maps API error: RefererNotAllowedMapError

This shows you have incorrectly set your referrer, can you post here exactly which URL you put in the referrer?

make sure in your case it is:

*.meteo-badalona-progres.com/*
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on July 30, 2016, 12:00:27 PM
Thank you, does not place the asterisk at the end and now works again thank you very much
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 30, 2016, 12:53:00 PM
OK great, Im glad we fixed it.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 30, 2016, 04:54:55 PM
Hi Jachym,
well after my other websites issue is now resolved, and Meteotemplate V70 was working again I got back to updating.  I had all the files moved, etc. but couldn't get into the install at the time.  I now am able and started the setup but appears my Google API key is not correct so could not fully complete the setup.  Also I get an error www.komokaweather.com/j-template

I can't recall if this has been discussed over the past days as I was otherwise occupied.  I have rechecked my key which I had saved on my computer, as well as in the googleMapsKey.txt file that I had uploaded for v70 July 3rd.

Any suggestion on the error? and the Google API key?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 30, 2016, 06:25:09 PM
Well first thing I noticed is that notices are displayed, which means for some reason you turned on the debugging mode. Switch that off.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 30, 2016, 07:05:11 PM
I though turning on debug was a good thing ;)

I have it turned off now.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 30, 2016, 07:22:23 PM
No :D Unless everything works you dont turn it on, because it shows everything including notices, which are not errors or warnings and have no effect on functionality.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 30, 2016, 11:12:21 PM
Got it updated to v8.0 \:D/ using all former blocks and plugins.

Still need to do those block and plugin updates as well as the update/new blocks and plugins recently introduced.  And bug fix 8.1.

Thanks Jachym for your help in overcoming those little self-caused challenges.

Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 08:46:27 AM
No problem Paul, I am glad it is working now and also glad that your site is now working as such. It actually reminded me I should also check my access log. I didnt have major problems, but who knows... and I might put a few blocks in the .htaccess as well.
Title: Meteotemplate - New Block + update
Post by: Jáchym on July 31, 2016, 01:09:17 PM
Hi guys,

first I updated the NWS forecast block, this update includes just some minor CSS tweaks. Simply replace the original files, no setup required.

New Block - NWS Forecast - Multiple

As I was updating the previous block I got an idea that it would be nice to have the possibility of displaying more than one location. In this block therefore, you can specify as many coordinates (locations) as you want and display the forecast for them (only includes the temps and icons, not the detailed forecast). You can also limit the number of forecasts/icons you see for each location and of course the cache time in minutes.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecastMultiple

NOTE: This block uses data from the NWS and only works for the U.S. (not sure about Canada)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 31, 2016, 02:52:29 PM
I have the bug fix added, and also the blocks update and new NWS Forecast - Multiple.  The new NWS Forecast - Multiple works nice, and I tried tricking it a few fractions of ° east of USA/Canada border to catch a Komoka forecast - but that didn't work so using 3 Michigan locations from about 50 to 100 miles west from me.

The NWS Forecast gives a "NWS Forecast currently not available" which I assume is a temporary NWS issue and not a template one.

So I think up to date with blocks.

Plugins to follow.

Paul
Title: Re: Meteotemplate - new free website template
Post by: vreihen on July 31, 2016, 05:06:42 PM
Jáchym,

I noticed a possible bug with the new 8.0 alarm system.  We had 1.56 inches of rain overnight, followed by several dry hours.  When it started to rain again, the alarm (set for 0.50 inches) was triggered.  Hovering over it, I'm told that 1.56 inches of rain fell in the last 30 minutes, when in reality it was under 0.4 inches.  Is it using the old rainfall and not the difference in one or more of these calculations?  It could also be a cache artifact, but something doesn't seem correct.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 05:13:16 PM
Hi,
not really a bug - or rather yes, but not in the sense you think it is.

It is a "bug" in me incorrectly explaining what it shows.

The thing is - the alert does not show the value from the db - simply because that is daily cumulative value, so if it rained in the morning and I took that, it would show the alert right until the next midnight... which obviously is undesirable.

Instead it uses the current rain rate, which in the db is saved as mm/h or in/h, depending on which one you use. When the db is updated, it checks the difference between the rain cumulative value and checks the number of minutes since last update and converts that to rain rate in amount/hour.

Therefore the number you see there in reality means "a rain rate of XY mm or in/h was observed in the last 30 minutes"

So I guess it is calculated and working ok, but rather not well described in the tooltip.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 31, 2016, 06:14:35 PM
Is anybody using the Gauges block and have an issue with the numbers being rounded off?

(http://i64.tinypic.com/2w3e4g6.jpg)

The pressure lines should read 28.5, 29, 29.5, 30, 30.5, and 31, and the rain lines should read every 0.25 of an inch.  I am not sure how (or is it possible) to get it not to round up/down.  It does not seem to make any difference what intervals I select in settings.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 06:37:43 PM
I see the problem Stefan, I will update that block to fix this....


P.S. Grrrr... why cant you also use the hPa and C as basically all the other countries in the world :D
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 31, 2016, 07:01:24 PM
Haha, sorry.  Metric units make sense to me since that is what we used while I went for my degree, but nobody else has any idea what it means when it is 35°C out hahaha.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 07:05:04 PM
In my case it is the same thing, just totally opposite....

I always use - and everyone here - metric and I never knew what 80 F feels like etc.... but in the last yr I have done so much stuff for this and had to always use both that I know sort of know what 90 is, 85 is etc. without having to convert it in my head (which is also PIA since it is not a simple add or subtract :D)

But back to the topic... I just tried setting my units to inHg and this is what I get:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 07:06:27 PM
Which looks ok to me...

my other setting:
$majorTickIntervalPINHG = '1';
$minLimitINHG = '28';
$maxLimitINHG = '31';
$minorTickCountP = '5';
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on July 31, 2016, 07:28:00 PM
I have tried to do a update....but I belive I broke something. In the settings page it is giveing me this warning

"Your existing config.php is not writable! Any changes you make now will not be saved! Check the permissions of config.php in the root of your template and make sure the file is writable so that changes in template set up can be made."

I have checked and it is writable. I even renamed the first one to .old so it would make a new file and that one after it makes it gives me the same error.

Did I miss a step someplace?
Thank you for any help.
http://desotowiwx.com/template/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 07:36:07 PM
Hi,

most likely everything is ok. And this seems like the most common "problem" with the update.

So, one thing I was not aware of, is that the command that determines whether a file is writable in PHP, is actually cached by the server...

So what happens is this:
- your config is not writable and this is detected by the script, giving you this warning
- you change the permissions so it now is writable
- you run the script again - and here comes the problem, the server sees you are trying to detect writability of the same file and so simply uses the cached info it has - i.e. that it is not

But, since you know your file is writable, if you try saving the changes it should work perfectly fine - i.e. just ignore that message.

I will try to find a solution for the next version to somehow empty the cache or not cache it at all.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 07:46:54 PM
Found it :-)

Code: [Select]
clearstatcache()
but obviously it is not implemented in the current files... I might update the download file so that it causes less problems for those who havent updated yet, but I have to do it from my office after working hours, I have a better PC there and uploading big files is something my laptop at home does not like very much :D Hopefully I will get to it tomorrow and for those who have this file without that command, just ignore it, if you make sure your config IS writable then just ignore it
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on July 31, 2016, 07:48:35 PM
Found it :-)

Code: [Select]
clearstatcache()
but obviously it is not implemented in the current files... I might update the download file so that it causes less problems for those who havent updated yet, but I have to do it from my office after working hours, I have a better PC there and uploading big files is something my laptop at home does not like very much :D Hopefully I will get to it tomorrow and for those who have this file without that command, just ignore it, if you make sure your config IS writable then just ignore it

Thank you for all the hard work you are doing on this!
:)
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 31, 2016, 07:55:58 PM
Which looks ok to me...

my other setting:
$majorTickIntervalPINHG = '1';
$minLimitINHG = '28';
$maxLimitINHG = '31';
$minorTickCountP = '5';


Well, if you set majorTick to 0.5, does it then give you the decimal?  Cause for me, I get what was in the screenshot.  For pressure, your screenshot doesn't look that bad.  However for rain, the decimal is highly desirable.  I'd even be fine with just the .5 decimal, and not .25 or .75, but in my opinion, it just looks better being more fine tuned then just 0, 1, 2, 3.  My current settings are below:

$minLimitINHG = '28.5';
$maxLimitINHG = '31';
$majorTickIntervalPINHG = '0.5';
$minorTickCountP = '5';

$maxLimitIN = '3';
$majorTickIntervalIN = '0.25';
$minorTickCountR = '4';
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 08:12:30 PM
I need to look more into this, the problem is that these gauges are made to work with one set of units. And I cannot simply hardcode two versions, (which would also work), because the limits must differ.

What I mean is:
Ideally I would create one version for mm and one for in.
But...
For someone with average annual rain of 1000 mm, I need to make sure even such high number is on the gauge, but then obviously the ticks will have larger interval. But, then, if someone from a place with annual rain of 100mm installs it, their gauge will be more or less 0 for the entire yr.

And combining the two things - i.e. different unit sets + different intervals - makes it very hard to test and to find the optimal solution... I will see what I can do about it
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 31, 2016, 08:25:08 PM
Okay, makes sense.  Even if there was just like an option to specify number of decimal points, like 0, 1, 2, that would probably cover everyone's situation, though maybe not since showing a temp of 100.00 is dumb.. :lol:.  For now I will back it off to 28-31, and 0-3.  Thanks for looking into it!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2016, 09:17:11 PM
Yes the decimal places are also tricky
Title: Re: Meteotemplate - new free website template
Post by: corwyyn on July 31, 2016, 11:17:11 PM
Which looks ok to me...

my other setting:
$majorTickIntervalPINHG = '1';
$minLimitINHG = '28';
$maxLimitINHG = '31';
$minorTickCountP = '5';


Well, if you set majorTick to 0.5, does it then give you the decimal?  Cause for me, I get what was in the screenshot.  For pressure, your screenshot doesn't look that bad.  However for rain, the decimal is highly desirable.  I'd even be fine with just the .5 decimal, and not .25 or .75, but in my opinion, it just looks better being more fine tuned then just 0, 1, 2, 3.  My current settings are below:

$minLimitINHG = '28.5';
$maxLimitINHG = '31';
$majorTickIntervalPINHG = '0.5';
$minorTickCountP = '5';

$maxLimitIN = '3';
$majorTickIntervalIN = '0.25';
$minorTickCountR = '4';
Stefan, I haven't set up my template yet but it looks like the major and minor values are swapped?  As in you would want the minor tick value to equal your fine divisions (0.25 or 0.5) but I could be wrong.

Sent from my Nexus 6 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 05:30:13 AM
No I think that is ok, the minorTick is not interval, but count. But Stefan you could try setting it to 5, it could be because 0.25 cannot be easily divided by 4
Title: Questionnaire
Post by: Jáchym on August 01, 2016, 07:38:30 AM
Hi guys,

I hope you have nice summer and in case you find time to work on your website, I published a new issue of the Newsletter, which summarizes the new/updated features from the recent past.

One more important thing I would like to bring your attention to is a questionnaire I made. It is similar to the one I did around Christmas time, but I modified a few questions and also, many things changed since then or were added. This is your chance to give me feedback and as you all know I consider each of your comments and very often implement whatever suggestion you have, if possible of course. Also remember that I don´t want you to be “nice”. If there is something you don´t like, don´t keep it to yourself, positive feedback is nice, but it doesn´t really help me in any way. Version 8 pretty much implemented everything I wanted to have in the template in long-term and so the question is where we want to go next.

Link to the questionnaire: http://bit.ly/2aIqUbG - this is by no means only for Meteotemplate users! I appreciate feedback from anyone!

Newsletter: http://meteotemplate.com/blog/?p=882

Best regards
Jachym
Title: Meteotemplate - New Plugin - My Station
Post by: Jáchym on August 01, 2016, 10:16:45 AM
(http://i66.tinypic.com/2m5mcnc.png)

Hi guys,

a new plugin is now available referred to as "My Station".

New Plugin - My Station

This plugin replaces the default "About station" page with a more detailed page that describes the station configuration, sensor specifications etc. Using the Plugin setup page you can easily specify all the parameters of your station and the plugin will automatically create the icons etc. Then, if the page detects this plugin is present, the menu will automatically redirect the "About station" link to this page instead of the default one.

Main features:
- detailed information about your station
- supported sensor types: indoor/outdoor thermometer, indoor/outdoor humidity, pressure, rain gauge, wind speed, wind direction, solar radiation, UV sensor, sound sensor, CO2 sensor, leaf wetness sensor, soil temperature sensor, soil moisture sensor, lightning detector, visibility sensor, snow depth sensor
- other features include webcam, photo of the station, connection type, memory, power, internet connection etc.

Once you update your menu, the "About Station" page will be redirected to this plugin. If you then deleted it, it would again go back to the default "About station" page that is part of the core template.

DEMO: http://www.meteotemplate.com/template/plugins/myStation/index.php

The menu file is now updated as well, new strings added in the Translations section and this plugin already fully supports the versioning and setup via the CPanel.

Enjoy

P.S. Thanks very much to all who have already filled in the questionnaire! It is for your own benefit ;)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 01, 2016, 12:36:11 PM
I have not yet installed any of the new plugins since v80 but have updated/converted all the prior plugins.  All seems good except a couple of my customized which I will look into, the countryDetail which comes up Data Quality Control so will likely re-download, usersData ;) , and the most important (not) Social Networks for which I haven't figured exactly what to enter in settings - I've tried many full URL, komokaweather only, etc. - 78 plugins and 98 blocks.  It was a good exercise for checking the status of plugins and blocks, and also to remember again what all there is...

Thanks Jachym, I know you have put a tremendous amount of time and effort into this.  Two major upgrades in just over a month!   The new method for set up and plugins will be easier in many ways but I miss not having exactly what is on my webserver also in my \j-template folder on my computer.

Regards,
Paul



 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 12:46:30 PM
LOL.... if you want you can still edit the settings file directly from your server :D I sometimes do that myself because it is faster :D

With regards to plugin updates - I think in two cases I accidentally forgot to change the title of the setup page, so just ignore that, it is just the title, the parameters are ok for that plugin.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 01, 2016, 02:23:20 PM
I think everything is working as v80 \:D/   A bit more writing to do in myStation.

Paul

Title: Re: Meteotemplate - new free website template
Post by: gus on August 01, 2016, 04:26:56 PM

I like the new myStation plugin, its working well.
Took some searching to get the specs filled in.
Thanks,
Gus
http://www.halethorpeweather.com/meteo/plugins/myStation/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 04:50:24 PM
Looks very nice Gus!
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on August 01, 2016, 06:49:39 PM
Is there something else I need to do with the weather station status icon? it is showing that my station is offline. But the station is updating.
Thanks!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 06:52:39 PM
Hi,
no your station is not updating, remember that the current block and gauges take data directly form the text files, but your db is not being updated. Most likely problem with the CRON not being executed.
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on August 01, 2016, 06:57:41 PM
Hi,
no your station is not updating, remember that the current block and gauges take data directly form the text files, but your db is not being updated. Most likely problem with the CRON not being executed.

I checked the updateing script and it is showing this:

Latest DB record timestamp detected: 2016-07-31 16:51:58
Latest cached timestamp detected: 1969-12-31 18:00:00
Smallest interval between uploads to database set to: 300 seconds.
Difference between latest db timestamp and cached timestamp: -1470001918 seconds.
The difference between last db update and current data is not yet larger than the set interval. Current data is saved into temporary cache.


I may have to just deleted it all and start over....looks like something is a miss?
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on August 01, 2016, 07:04:23 PM
I had that issue in the start.  That means there is no data in your sql table.  Assuming you already had data, make sure that the path did not change for some reason and make sure the permissions are correct.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 07:11:44 PM
No Stefan, it is exactly the other way around, read carefully what the update script shows:

last db is fine - there is data in db

but it cannot find data in the text file that is used for updates.


Make sure you have the update path correctly, send me the link to the page you have set for your cron job
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 07:13:05 PM
No Stefan, it is exactly the other way around, read carefully what the update script shows:

last db is fine - there is data in db

but it cannot find data in the text file that is used for updates.


Make sure you have the update path correctly, send me the link to the page you have set for your cron job

it must be the path, it cannot find the file from which to update the db, thats what the date shows, yr 1969 in computer language is "0", so it means it didnt find it
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on August 01, 2016, 07:17:02 PM
No Stefan, it is exactly the other way around, read carefully what the update script shows:

last db is fine - there is data in db

but it cannot find data in the text file that is used for updates.


Make sure you have the update path correctly, send me the link to the page you have set for your cron job

it must be the path, it cannot find the file from which to update the db, thats what the date shows, yr 1969 in computer language is "0", so it means it didnt find it

I changed the way it updates. now I use meteobridge update script (meteobridge.php) it is back to being online again. my Weather Display computer might be on the blink right now....it looks ok but who knows.

Thanks for the help guys
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 07:23:53 PM
If you want to use the wd.php script instead there are two important things to check (your password is correct based on the output you see)

1. make sure the path inside wd.php is correctly set to your clientraw.txt
2. make sure your clientraw is present at that location and being updated

Based on the output either it did not find the file at all, or it is empty or corrupt
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on August 01, 2016, 07:37:28 PM
 #-o read it too quickly
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2016, 07:39:07 PM
No problem :-)

We are dealing with it via PM as some of the things cannot be posted publicly ;)
Title: Re: Meteotemplate - new free website template
Post by: Fox_Of_The_Wind on August 01, 2016, 09:22:25 PM
No problem :-)

We are dealing with it via PM as some of the things cannot be posted publicly ;)

The path thing was it. I was going into to much detail. It works great both ways now.

Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Paul on August 02, 2016, 06:09:36 AM

I like the new myStation plugin, its working well.
Took some searching to get the specs filled in.
Thanks,
Gus
http://www.halethorpeweather.com/meteo/plugins/myStation/index.php

Nice work Gus, I feel some plagiarism coming on if that is OK by you?!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 02, 2016, 07:46:16 AM
I originally wanted to include some sort of a function that would auto-insert parameters of the most commonly used stations, but I then realized there are so many different options and configurations that it would be impossible...
Title: Meteotemplate - Plugin Update - Stickers 3.0
Post by: Jáchym on August 02, 2016, 08:49:48 AM
Hi guys,

I updated the "stickers" plugin.

Version 3.0 is a major update of this plugin and introduces a brand new "interactive sticker".

This sticker is much more sophisticated than the other ones (though you can of course still use them and some of you might find them better, they are simpler and more clear).

This interactive sticker allows you to set for example the background (I prepared almost 200 possible backgrounds. They are either made by me or modified from open-source images so no worries about licenses), the background/border color, custom image on the left, border width, shadows, text etc.

You can also use a random image/background and the last thing that is also possible - base the background on current conditions and time of the day.

Everything is explained, including examples, in the setup page of this plugin, which you can access via the new Control Panel.

Also make sure that you look at not just the examples, but also follow the installation instructions.

Examples:
http://meteotemplate.com/blog/?p=888

And I am sure we will very soon see many other examples on this forum :-)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 02, 2016, 09:18:03 AM
Thanks very nice have to investigate all the options  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 02, 2016, 09:21:22 AM
Yes, your bg is changing and showing various images corresponding to "day" :D

HINT:
If you are using this sticker on this forum and you also use the image in the sticker, instead of the IMG tag in your forum profile signature use this:

Code: [Select]
[img width=800]
otherwise the image will be too wide on smaller screens
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 02, 2016, 09:42:33 AM
Thanks for that  \:D/ Curious for the Olympic block in Rio  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 02, 2016, 09:53:44 AM
Olympic block?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 02, 2016, 09:58:02 AM
Olympic block?

The weatherconditions and local time in Rio , Brasil I was just kidding saw there is worldwideweather but don't know how to ad the block I did it by modifying my indexdesktop but I get only a block with 'more' it does how nothing (I filled onlt the number for Rio the Janeiro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 02, 2016, 10:26:31 AM
Hmmm... Im not a sports fan :D I find watching TV in general extremely boring and waste of time and if I do watch TV (about once per month in my mom´s flat) then usually max hour and some documentary and some days I watch the news, but I do that online, I dont even have a TV myself.
I was about to say this is a weather template, not a sports template, but maybe weather conditions would make sense... I will think about it :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 02, 2016, 11:31:36 AM
Well I'm not a really sportsfan but events like the Olympics are rare I love the effort from athlets for beating a record with  a thousand of a second  8-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 02, 2016, 11:36:10 AM
Thats true, the only part I usually watch is the opening ceremony (but I usually do something else while watching it and only sort of look sometimes, it is way too long :D) and then the 100m final, that is interesting and does not last very long :D

And to the topic - yes, though the question is, how many of your site visitors are going to Rio to watch it, or are there already :D
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 02, 2016, 03:19:17 PM
Hello Jachym, not I'm doing wrong, but I edit the database in Setup
rectify the date of interest, admits, I keep and also supports it, but when I look in the template data are still not rectified, there are some further step not run properly ??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 02, 2016, 05:27:05 PM
Make sure you apply the bug fix 8.1 from the Downloads section
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 03, 2016, 03:56:12 AM
Thats true, the only part I usually watch is the opening ceremony (but I usually do something else while watching it and only sort of look sometimes, it is way too long :D) and then the 100m final, that is interesting and does not last very long :D

And to the topic - yes, though the question is, how many of your site visitors are going to Rio to watch it, or are there already :D

I like the short sports also ;) I've no idea who my vistors are  :-)
Title: Meteotemplate - Block updates/news
Post by: Jáchym on August 03, 2016, 09:59:18 AM
Hi guys,
if you remember I previously mentioned that I want to concentrate on optimizing the template and improving the already existing things. That is what version 8 was mostly about.

Now it is time for the plugins and blocks. I will go through all the blocks and plugins and add new features and make sure they all work - also taking into account what some of you suggested or simply what I find useful. Also many things I wanted to do right at the beginning but didn´t know how to.

So here is a list of blocks I have just updated and improved.

Block Update - Calendar 2.0
In the updated calendar block I introduced a new parameter that you specify in the settings, which decides whether you want to use meteorological or astronomical seasons. The astronomical seasons are the ones that the block used before and it corresponds to season beginning/end at equinox or solastice. In meteorology however, we use the 1st day of the month, you can now set that. If you are updating the block, simply replace all files and go through the Settings.

Block Update - Calendar - Month 2.0
In the new monthly calendar block, there are two new parameters. In addition to the current month with today´s day highlighted, you can now specify the number of previous and subsequent months you want to display and this is displayed when the user clicks the "more" link. If you are updating the block, simply replace all files and go through the Settings.

Block Update - Clock (analog) 2.0
I totally redesigned the analog clock block. The original one was not very nice and in addition, did not scale properly. Now you have a brand new clocks. I prepared over 20 different clock faces, including some very old-looking ones, wooden faces, but also some very modern looking ones. To update the block, delete the entire clock folder from your blocks section and upload the new one. Then go to the Blocks section and there is a screenshot of all the available designs. Each design has a number: 1, 2, 3.... Once you upload the block, go to the Settings and just specify the number you want to use. Choose the one you like the most!

Enjoy

Jachym

(http://i63.tinypic.com/ixffjp.png)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on August 03, 2016, 11:28:24 AM
Thank you Jáchym for all the new plugins and updates. 

I have the stickers working but have to catch up on all the new things you've been busy creating for us.



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2016, 01:41:34 PM
Thanks Tom
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on August 03, 2016, 05:46:52 PM
Hi Jachym!

Now I have a bit of free time, i'm in the middle of installing version 8.0. However, for some reason, it will not save my Google API key, it just reverst back to XXXXXXX each time. It won't show the map when I put my coordinates in either, I have a an error box, saying: Oops! Something went wrong.

Any ideas?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2016, 05:50:46 PM
Did you follow the instructions from the wiki? It tells you you must specify the API key in the text file in the install directory (see wiki).
It is so because the key must be specified before doing the actual setup, which is why I had to put it separately, it cannot be set in the setup, which already requires it.
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on August 03, 2016, 06:03:31 PM
Woops! My bad.

The other thing is, I have a lot of overlapping going on.. the menu is transparent by the looks of things? I didn't see any option in the setup regarding this.

 [ You are not allowed to view attachments ]

 [ You are not allowed to view attachments ]


Title: Re: Meteotemplate - new free website template
Post by: Mapantz on August 03, 2016, 06:09:48 PM
Wow - what a cock up!

I installed the new template to /newmeteo which I always do first, so I can get it all in order, before remove the old one and changing it back to /meteo
The new install has interfered with my current one and messed it all up!
How is that possible? They're not even in the same directory?
I have no data on my current template, and things are missing from the home page..

I can't even select and save theme colours in the config setup either, they just revert back to 'red' when I hit save, and no changes are made to the template.


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2016, 06:14:54 PM
Dont know what you have done, do you have the "path" correctly set up in both of your folders? Also, if you change the settings in the main setup, it should work, but if you change it via the Settings box on the actual page, then that wont because that uses cookies and they will interfere because they are from the same domain. Also empty your browser cache
Title: Re: Meteotemplate - new free website template
Post by: Mapantz on August 03, 2016, 06:59:22 PM
ok - After figuring that nightmare out. How do you add a single block that isn't menu/multiple? I can't see anything on the WiKi that explains that.

n/m - I see you just start typing the block name itself. If i'm honest, i'm finding this more of a confusing practice than manually doing it all via an FTP client.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2016, 07:01:32 PM
It is all explained there Tina :D

And it is also explained on the actual page, simply type the name of the block - one line, one block.

Eg:

stationData
current
clock
menuBlock(earthquakes.....
radarEU
...
...

in each corresponding column
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on August 03, 2016, 07:15:14 PM
If i'm honest, i'm finding this more of a confusing practice than manually doing it all via an FTP client.

Once the block page is complete you will find it much more easier to maintain and customize your site.
Its just a new way of doing it so it can be frustrating until you understand how all the new bells and whistle work and play around with it for a while.

The main issue is not reading Jachym documentation, most of us just jump into it and then have problems.  I'm guilty of that myself.

Now that I'm on version 8 I'm finding it much easier to update blocks and plugins since all settings are now done through the Browser setup pages.

Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on August 03, 2016, 07:19:03 PM
Yes, your bg is changing and showing various images corresponding to "day" :D

HINT:
If you are using this sticker on this forum and you also use the image in the sticker, instead of the IMG tag in your forum profile signature use this:

Code: [Select]
[img width=800]
otherwise the image will be too wide on smaller screens

I received a PM today asking how I made my banner signature smaller.
Here is the code I use in my Forum Profile to get it to fit better.

Code: [Select]
[url=http://donganhillsweather.net][img width=600]http://donganhillsweather.net/plugins/stickers/stickerInteractive.php?text=Dongan%20Hills%20Weather&type=interactive[/img][/url]
Hope it helps
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2016, 07:25:35 PM
Quote
The main issue is not reading Jachym documentation, most of us just jump into it and then have problems.  I'm guilty of that myself.

Me too, I always do that with other SW too :D Usually I figure it out, but I dont recall ever reading documentation :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2016, 07:47:16 PM
Looks like Sun is setting in NYC :D
Title: Meteotemplate - Plugin updates/New plugins
Post by: Jáchym on August 04, 2016, 01:21:22 PM
(http://i66.tinypic.com/2vn579l.png)(http://i67.tinypic.com/5f1x0g.png)(http://i68.tinypic.com/2i06mpx.png)(http://i65.tinypic.com/1zbfq8l.png)(http://i66.tinypic.com/292b4ea.png)(http://i65.tinypic.com/s4yvrr.png)(http://i65.tinypic.com/4q5gn.png)(http://i63.tinypic.com/2ps21eb.png)

Hi guys,

so I spent couple of evenings playing around with various languages and created plugins for "weather terminology" for several of them. Since some contain over thousand terms I also redesigned the plugin, it is not a table, but rather a dictionary-style page. For that reason I have also updated the already released English and French version.

The following plugins are now available (you can install more than one, they are all independent and the terms are not the same, depending on availability and source).

Plugin Updates:

- Weather terminology 2.0 (the default English version)
- Weather terminology FR 2.0 (updated French version)


New Plugins:
- Weather terminology ES - Spanish version
- Weather terminology DE - German version
- Weather terminology IT - Italian version
- Weather terminology NL - Dutch version
- Weather terminology DK - Danish version
- Weather terminology NO - Norwegian version


There could of course be mistakes, I tried my best, but I do not speak all of the above languages obviously, so I relied on Google translate in some cases ;) If you find problems of course let me know!


I have also updated the menu.php accordingly.

In addition, I forgot to include the country climate plugin link in the menu so I suggest you all download the updated menu file even if you don´t install any of the above new/updated plugins.

Enjoy

Jachym

DEMO English: http://www.meteotemplate.com/template/plugins/weatherTerminology/index.php
In the menu "Meteorology" tab you can select other demos for the other languages
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 04, 2016, 01:39:06 PM
Well done Jachym , I looked at the Dutch version aon my tablet and you suprised me well done  !   !! i ll install it asap
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 04, 2016, 02:18:18 PM
LOL

Didnt you know Im absolutely fluent in Dutch  :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 04, 2016, 03:39:28 PM
Jachym Hello, I installed the 8.1 Bug-fix to solve the problem of being able to modify the database when errors are detected, and feel, there is still not working properly.
Edit: Error rain 6mm
Modified: Correct rain 8mm
Save: Ok
But when I check again it has not changed the corrected amount

Http://www.meteo-badalona-progres.com/template8/
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on August 04, 2016, 04:13:56 PM
Looks like Sun is setting in NYC :D

Yes, I saw last night the interactive banner did change the background.    8-)

Excellent job with the new stickers Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 04, 2016, 04:44:48 PM
Jachym Hello, I installed the 8.1 Bug-fix to solve the problem of being able to modify the database when errors are detected, and feel, there is still not working properly.
Edit: Error rain 6mm
Modified: Correct rain 8mm
Save: Ok
But when I check again it has not changed the corrected amount

Http://www.meteo-badalona-progres.com/template8/

Juan remember that the rain is cumulative, so if you want to change the rain, make sure you change it in all the necessary fields for that day.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 04, 2016, 06:03:33 PM
I'm sorry to not change anything, nor rain coincides month, with the sum of the daily rain a month, quierpo fix it but not as hacerlo.Hay some tutorial that explains how to do ???
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 04, 2016, 06:04:39 PM
I'm sorry to not change anything, nor rain coincides month, with the sum of the daily rain a month, I want to fix it but not as .There are some tutorial that explains how to do ???
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 04, 2016, 06:12:16 PM
Hi Juan,
Im sorry, I dont understand your post, I dont know what you need.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 04, 2016, 10:38:53 PM
Hi Jachym,
I think I am all up to date with blocks and plugins again.

I have modified and added to the initial version menu.php quite a bit and was looking for the easiest way to bring it closer to your current download version - trying to keep plugins in similar tabs as yours.  I thought by uploading your current version with a different name (i.e. menuCopy.php) would work - wrong assumption!  and it throws up errors.

I have used DiffMerge to look at both side by side, but too many differences and code changes to make it easy to merge them.  Will have to re-look at it when we return from our lake cottage in about a week.

Paul

 

Title: Re: Meteotemplate - new free website template
Post by: Colin on August 05, 2016, 01:51:45 AM
I have been off the grid for a few months and now I see there is version 8.
Thought I would have a look but have ran into some problems and concerns.
I downloaded and installed everything on my server only to find I need a Google account to install and set the site up.
Would of preferred NOT to have a Google account.
At any rate, I got the API and proceeded to install via install/setup.php keeping most of the default settings.
After which it generated the config.php file. Although I could not see it on my server using my FTP program, it was visible when I logged onto cPanel File Manager. I do not know why it does not show up using my FTP program.
Thinking everything was okay, I opened the page. Looked okay but noticed a couple of things needed changing, including date format.
I logged in via the admin button and ran setup again. I got a message saying the config.php cannot be written to and any changes would not be saved.
My only option was to delete it and start again. Not ideal.
I rather liked previous versions where I could modify files manually. I know it is easier for some using the GUI but it has made it harder for others.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 05, 2016, 02:38:15 AM
Hello Jachym, monthly data history gives the option to view any month of any year, in addition to checking whether the data are adjusted to reality, for example, in March 2010, 22th, rain 8.4mm and the next day also indicates the 8.4 and this same amount has not rained all day, both LogFiles as the database server in the 23th also indicates that it has not rained all, where be ground to solve.

Juan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 05, 2016, 05:31:21 AM
I have been off the grid for a few months and now I see there is version 8.
Thought I would have a look but have ran into some problems and concerns.
I downloaded and installed everything on my server only to find I need a Google account to install and set the site up.
Would of preferred NOT to have a Google account.
At any rate, I got the API and proceeded to install via install/setup.php keeping most of the default settings.
After which it generated the config.php file. Although I could not see it on my server using my FTP program, it was visible when I logged onto cPanel File Manager. I do not know why it does not show up using my FTP program.
Thinking everything was okay, I opened the page. Looked okay but noticed a couple of things needed changing, including date format.
I logged in via the admin button and ran setup again. I got a message saying the config.php cannot be written to and any changes would not be saved.
My only option was to delete it and start again. Not ideal.
I rather liked previous versions where I could modify files manually. I know it is easier for some using the GUI but it has made it harder for others.

Hi Colin,

ok, let me answer both of your questions:

1. Google account - yes you need a google account. Now, this is not something I am very happy about, but Google Maps is by far the best maps API available and although there are others (OWM, Leaflet etc.), none of the offer as many possibilities in terms of layers etc. And also, all the current scripts (earthquakes, disasters, location block, city conditions plugin, wind direction plugin,... over 60 pages) already used it so it would take me ages to rewrite it. And since the daily quota is very good, there is no way anyone should under normal circumstances exceed it. And so it is basically still free. And I am not going to rewrite all those pages (and delete a few where implementing other library would not be possible) just because it requires a google account. There is no need to have a google account with your name etc. If you dont like it, just create a fake one, it has no effect on the code, you just need the API key.

2. I have never encountered something like this before. If you prefer manually editing the file then this is still very well possible, the config.php is still there with all its parameters and for example when I need to make a change I also do it usually directly in the code because it is faster. The way I designed this is great in that the setup page really is just a wrapper above the config, but the structure of the config and all its parameters stayed untouched, so you can still edit it and your changes would be reflected in the template. The setup page just simply loads data from it in a GUI form and when you save it, it rewrites just the variable values in the config. And this holds for even the other pages like block settings, plugin settings... these files are all there and you can edit them directly, but you also have an option of doing so via the GUI (which is what probably 99% of users want).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 05, 2016, 05:32:15 AM
Hello Jachym, monthly data history gives the option to view any month of any year, in addition to checking whether the data are adjusted to reality, for example, in March 2010, 22th, rain 8.4mm and the next day also indicates the 8.4 and this same amount has not rained all day, both LogFiles as the database server in the 23th also indicates that it has not rained all, where be ground to solve.

Juan

Please send me URL to that site where you see the problem.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 05, 2016, 06:02:14 AM
Hello Jachym, solved, I entered Pages / Station / Cache, I deleted the cache and has been successfully updated.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 05, 2016, 06:10:34 AM
Aha, I see, yes you must always do that when you edit the database.
Title: Meteotemplate - reminder
Post by: Jáchym on August 05, 2016, 06:39:57 AM
Hi guys,

just a little reminder, over the weekend I will go through each submitted questionnaire you sent me. As I promised, I will consider all your comments. I have already briefly looked at it, some of the points are very interesting, some a bit more problematic and there are a few which rather suggest I should maybe explain certain things better or you asked for something that is not technically possible.

I will answer some of the questions (anonymously) directly in the upcoming newsletter. One important thing to remember though is that unless you provided your name or email, there is no way of me directly contacting you so if you asked about something related directly to your page and did not make any mention of who you are, there is not much I can do.

Either way, thanks everyone for taking the time to answer this and it will be to your own benefit as you know I always take your ideas into consideration.

If you want, the questionnaire is still available at:
http://bit.ly/2aIqUbG
And anyone, of course including those who do not use it, can fill it in and I appreciate it.
Title: Meteotemplate - New Plugins
Post by: Jáchym on August 05, 2016, 10:15:01 AM
(http://i66.tinypic.com/nlzl1i.png)(http://i63.tinypic.com/jigm79.png)(http://i68.tinypic.com/25h2wir.png)(http://i65.tinypic.com/13zbd6a.png)

Hi guys,

Meteotemplate is used by users from all over the world who also speak many different languages. I try to reflect that and so I prepared 4 new languages for the Weather Terminology Plugin.

And yes I am patriotic, so the Czech one contains by far the most strings and equations :D

New Plugins:

Weather Terminology - Czech
Weather Terminology - Portuguese
Weather Terminology - Greek
Weather Terminology - Hungarian


DEMOs available at meteotemplate.com in the Demo section

Menu updated as well.

Enjoy
Title: Meteotemplate - block updates
Post by: Jáchym on August 05, 2016, 01:09:03 PM
Hi guys,

as part of the process of checking functionality and adding new features to blocks I updated two blocks:

Cloud Height 2.0
In the new version you see not just the cloud height above the ground, but also the same value converted to sea level. However, make sure you have your station elevation filled in the setup file and also the units (m or ft).
DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=cloudHeight

CO2 2.0
In the new version I added percentage changes and also an expandable section which shows table of past values.
DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=co2

The update process is very simple. In both cases just delete the entire block folder and replace it with this one. No settings for these blocks.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 09:37:50 AM
Yesterday I noticed someone is loading one of my sites every 5 minutes, probably an incorrectly set CRON job which pointed to my site. Obviously this was not desirable, especially given my server is not the fastest.
Using Google Analytics and Locate IP I was able to find it is someone from the Eastern coast of Australia close to Brisbane. But obviously you cannot pinpoint that person down to a street and I looked at my user map and there are three people just in the radius of 20 km around Brisbane. I therefore sent a bulk email to all those three, politely asking them to please check their cron jobs and saying that I do not currently know who it is, so to please ignore this message if it is not related to them. Of course I could have just denied access to that person in .htacess file, but I didnt want to do that because I suspected it was accidental.

So far I have not been able to find who it is, but just to give you an idea of the things I sometimes have to deal with, this is the answer I received today from one of those people, and I should also add that I have helped this person for several hours in the past and he never donated a single cent (and you will understand why I say that once you read it):

Quote
Hi,
I wounder what type of person blames people for no reason and no proof? What the hell is wrong with you? That could be anyone! Are you for real I wonder? I have been using your template for some time now and was just about to give it a praise. How can you just come and blame a group of people like that? I would suggest to you that if you can not afford this project give it to someone that can. As it is an good project. The IP that you gave is more near Bungerberg then Brisbane! Get your SHIT strate be fore all the blame game!! IT WAS NOT ME!!!!! Find out who it is be for sending SHIT like this!! THIS IS RUBBISH!!!!! To to blamed for no reason!! I don't know who did what to you or, your server and it's not my problem! If you need a better hosting company fine. Dont take it out on us, your strange!!! If you need money or better server just say it. Dont come and and accuse me and my fellow aussies that have done nothing!.. Remember we don't need you.. As we have other options. The bottom line is this, I have not ever been scolded by any developer not ever..
 You are a strange bloke for sure :)
Regards
Jerry
furthermore, Stop blaming people
f**k YOU AND YOUR CRAP!! I AM DONE WITH YOU AND YOUR SHIT. This really Has to be be an eastern europe thing!!!!!!! f**k YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!

Well I will of course just ignore that idiot, but it makes me wonder that someone like this even "exists".... absolutely not appreciating anyone elses work, which was even offered to them absolutely voluntarily and for free and then blaming them for things they never did (I never accused anyone, I politely asked and emphasized I am sending this email to several of them, they were all in the "to" field, he could see Im not sending this just to him). And he then goes on to even complain about my resources... yes I have a very old slow laptop, no smartphone and these things do make it sometimes difficult, but I try and use whatever I have and it really is surprising someone like him is complaining, not to mention the fact that if he wants me to have a better server, then fine, but in such case why doesnt he help... I never asked anyone for money for this, I appreciate it, because obviously with my two other jobs this is only a hobby and I also have to pay for the hosting, domain etc. And I in fact did upgrade the server recently, but I need to break even and then if there is anything extra, I use it to for example that server upgrade. But this really annoys me that someone then wants me to invest even more, taking everything for granted and then even wording their email as they did above.... just because of one polite sentence asking to check cron job....


Well fortunately this was probably the worst I have seen so far, there were a few cases where I felt a bit disappointed by that person´s attitude, but never this bad. I also have to say that I never judge people by their contribution, but I do by their attitude and I emphasized that in the wiki as well. Im in fact very glad this person is hopefully never going to email me again and I regret all the time I wasted with them.

Sorry for bothering you with it here, just wanted to make it clear that otherwise all of you were in 99% cases extremely nice and I am enjoying working on this, learning not just coding, but also geography, languages, meteorology :D And I will of course just ignore this and continue working on it. It is a bit frustrating to read this, but I will get over it.


And one of the reasons I am writing about this is also the fact that I have not so far been able to identify that person, so in case you are from Eastern Australia, please check your cron jobs, I have regular accesses to my site at meteotemplate.com and it is unfortunately one of the download links, which is why it could in long-term oveerload the server, it is not a very fast server and there is not much else I can do.

This was the original email from me:
Quote
Hi guys,
I am writing to you because I noticed in my access log, that someone from close to Brisbane is loading one of my sites at meteotemplate.com in regular intervals.
This is putting a load on the server, I would therefore like to ask you all to please check your cron jobs or browsers.
Someone from near Brisbane is loading the following page every 5 minutes:
www.meteotemplate.com/web/downloadedTemplate.php
It looks like a CRON job is set to this URL
Obviously it is only one of you, so if this is not relevant to you, sorry for spamming :)
Thanks
jachym

And I believe that was ok. What probably really annoyed me was the mention of Eastern Europe.... that really is just absurd.
Title: Meteotemplate - MyStation 2.0
Post by: Jáchym on August 06, 2016, 10:02:47 AM
I forgot to post here yesterday, I updated the MyStation plugin, you can now have more than one image of the station, simply update all the files, keeping your settings.php on your server untouched to make sure you do not have to set it up again. Then once you overwrite the setup.php you can go back to the plugin settings and you will see that in the field for the URL of the image you can put more than one, delimited by a semi-colon.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on August 06, 2016, 10:09:50 AM
I'd be putting an IP block on the address and pray it is the idiot's IP.

If he does not understand that not everyone's personal resources are the same in every country then he is obviously just what his email indicates he is - an Ahole that deserves that capital A.

Normal person replies - I checked my jobs, it's not me... or if the offender - Oops sorry Jachym, it was me, what's an acceptable interval for the job?

Ahole person - his reply.

Brush it off, you can see where it came from, total ignorance.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 10:15:41 AM
Thanks :)

"what's an acceptable interval for the job"

none, the problem is that you should not be running any cron jobs on my site at meteotemplate.com. I suspect someone probably misunderstood the wiki, it could in fact be even some new user, which is why I didnt blame anyone.

Basically, someone from that area is downloading the template at exactly 5 minute intervals....
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on August 06, 2016, 10:16:34 AM
Ah, the whole template, now I get it.  Yeah that might cause a bit of load lol.

Perhaps the one fellow was on his 4th Fosters, they are big sized cans :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 10:24:04 AM
Yes, if it was just some one page every 5 mins I would probably still try to find out who it is, but it wont be a big deal, but this was urgent, 40MBs every 5 minutes.... and obviously it didnt even make sense, it had to be accidental.... that person is now blocked so I guess they will notice sooner or later, I denied the IP for the entire domain
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on August 06, 2016, 10:44:17 AM
Ok I know Jachym will not be happy at all with me for this post but at the risk of irritating him greatly I will say what needs to be said here.

Jachym works tremendously hard (and constantly) on this template.  He has to pay all the hosting costs and his site gets a ton of hits.   He has a few hardware/technology challenges.

So, if you - and only if - do have the personal resources to donate a few dollars and are using the template and like the continual improvements and appreciate all the support time he gives us forum users I would most respectfully and politely ask that you consider donating a few bucks to keep the work going and even make it better.  It's only fair he gets some support from his user base.

If all the users (again if resources allow) just donated a few dollars now and then (maybe at new releases? any size contribution would be greatly appreciated I'm sure) he could probably upgrade his hosting, maybe even eventually some of his equipment.

Jachym would never ask  but I have no such qualms about doing so on his behalf. 

DO NOT blame Jachym for this post.   I know the next PM I get will be from him telling me to take this post down as he does not like to ask for donations 
I will politely decline :).
Title: Re: Meteotemplate - new free website template
Post by: Paul on August 06, 2016, 10:44:36 AM
Unbelievable, unfortunately you'll always have these 'outliers' (see what I did there? :-) )

I'm sure you are well aware that the vast majority of the community are highly appreciative of your work and indeed most normal people would not react in this way to a perfectly reasonable request.

Like sundevil I suspect he was well into his Fosters session, or more likely Castlemaine given his propensity for XXXX
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 10:59:50 AM
Ok I know Jachym will not be happy at all with me for this post but at the risk of irritating him greatly I will say what needs to be said here.

Jachym works tremendously hard (and constantly) on this template.  He has to pay all the hosting costs and his site gets a ton of hits.   He has a few hardware/technology challenges.

So, if you - and only if - do have the personal resources to donate a few dollars and are using the template and like the continual improvements and appreciate all the support time he gives us forum users I would most respectfully and politely ask that you consider donating a few bucks to keep the work going and even make it better.  It's only fair he gets some support from his user base.

If all the users (again if resources allow) just donated a few dollars now and then (maybe at new releases? any size contribution would be greatly appreciated I'm sure) he could probably upgrade his hosting, maybe even eventually some of his equipment.

Jachym would never ask  but I have no such qualms about doing so on his behalf. 

DO NOT blame Jachym for this post.   I know the next PM I get will be from him telling me to take this post down as he does not like to ask for donations 
I will politely decline :).

 :evil: :evil: :evil:
You know you asked about this before and I particularly forbid you from doing so.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 11:06:58 AM
Since you already did, I would just like to add one thing:

As I emphasized in the wiki, I do not judge people by their contribution and I hope you know that. Instead I look at their attitude.

I know it very well what it feels like when no matter how much you would like to help someone, you simply cannot afford it - I have used some freeware programs in the past too and as a student....

So I always wanted to make sure, everything, blocks, plugins... remains for free (and I did get several emails from users suggesting I should only make the core template for free).
But it then makes me feel really good when someone installs it, enjoys it and I know they would like to help, but simply cannot and I am absolutely ok with that.
Likewise, if someone offered me hundreds, but showed absolutely no appreciation of my work, was impolite etc., I would decline.
I do not differentiate between "this guy donated" and "this guy did not".
As long as I break even, I am fine and whatever resources I have is what I use. The current hosting plan is more or less ok, in this particular case, it would probably be able to cope even with this (50MBs/5min), but the problem is that it was obviously unintentional, there is no reason for doing this so it would be useless bandwidth, that was the only reason why I tried to deal with it.

Thanks a lot Terry for your support, though I at least had to say this since you posted what I several times asked you not to because you offered it to me via PM.
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on August 06, 2016, 11:16:20 AM
Ah you'll get over it, the post will quickly fade into the others and nobody has to give a cent if they don't want to. 

It's simply a polite and respectful request from one user to the others.   It's totally free but even free is not truly free, open source or anywhere else and users should support if able what they like.

Sorry to go against your express wishes, don't block my ip :(.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on August 06, 2016, 11:25:07 AM
I agree with everything that has been said.  I have donated in the past and will continue going forward.  No matter how small the amount it's the right thing to do. 
Title: Re: Meteotemplate - new free website template
Post by: droiddk on August 06, 2016, 11:43:33 AM
Wow!
I cant believe a person wrote that, that boy must be having some serious issues! One thing is finding the email misplaced but writing so much crap in one mail is simply unbelievable!

Is the person active on this forum?

Keep up the good work Jáchym!

Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 11:49:47 AM
Hi,
I think not, as I said, it was absolute exception and I primarily want to find out who really is loading the data, I cut them off now, but I didnt want to do that. Downloading the template every 5 minutes is absolutely useless so it must be unintentional.
And no, I think that guy does not have a profile here - as far as I know... and I am glad they wrote this, i already spent several hours with him and sooner or later it would end up like this, Im suree he must have serious problems in real life too with other people, so Im glad I didnt waste any more time with him, even if he sent me millions Im not talking to him any more :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 06, 2016, 12:33:04 PM
Anybody have any idea why I cannot seem to disable the mobile part of my site?  I have it set to all go to the desktop but I keep getting the Mobile on my phone...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 12:34:16 PM
Post here exactly what you specified in the setup for each of the redirect parameters
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 06, 2016, 12:45:30 PM
I am on my phone so I attached a screenshot of the setup.  Thank you!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 01:04:25 PM
Try changing that 1200px to 0px
Title: Meteotemplate - new block - Soil
Post by: Jáchym on August 06, 2016, 01:07:26 PM
(http://i64.tinypic.com/24xqss4.png)(http://i64.tinypic.com/a2alv8.png)(http://i66.tinypic.com/242cpwy.png)

New Block: Soil 1.0

Hi guys,

I created a new block for users of Weather Display software who have a sensor for soil temperature, soil moisture or leaf wetness.

In the settings you specify which of those sensors you want to enable and the path to your clientraw.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil

Note: The demo does not update because since I don´t have any of these sensors, I hard-coded some numbers just to show you how it works.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 06, 2016, 01:09:30 PM
Thanks Jachym!  That worked!
Title: Re: Meteotemplate - new free website template
Post by: juppie on August 06, 2016, 05:25:24 PM
Hello Jachym
Despite input the Google API, the user map is not loaded, look after here:
http://wetter-lehmschlenke.de/template/plugins/userMap/index.php

 [ You are not allowed to view attachments ]

Gruß juppie

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 06:38:35 PM
Hi,
this is the error you have on your page:

ApiNotActivatedMapError   Error   
The Google Maps JavaScript API is not activated on your API project. You may need to enable the Google Maps JavaScript API under APIs in the Google API Console.
Title: Re: Meteotemplate - new free website template
Post by: juppie on August 06, 2016, 07:20:19 PM
Thank Jachym
It works  :grin: :-) :-)

From the new myStation- and Webcam plugin I find very good  =D&gt;.

juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 07:37:49 PM
OK great, you need that for all the maps, so it is important to have this correct :)
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 06, 2016, 08:41:35 PM
Hello Jachym,

Thanks for responding to the post about my version 8 problems I encountered.
I will try installing it again. I really do prefer to edit the code. I do not mind being a 1% user. Actually I am probably more like 0.5% because I really dislike Google and have not installed any of their software on my iMac. My site at the moment is very minimal and although a lot of your blocks and plugins are very good I prefer a very simplistic site. That is what I find an excellent feature of Metotemplate, ability to modify.
Keep up the good work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 06, 2016, 08:54:21 PM
Hi,
despite the fact we are in a sense totally different (Im a big "Google fan" :D I use almost everything from Google - Gmail, GCalendar, GDocs (instead of Office), GMaps, YouTube, Google Analytics, GDrive.... and if my laptop supported it I would install Chrome OS because it is lightweight... on my Linux I only use freeware SW, so it is ideal, and in fact I quite dont like the policy of Apple and even find it difficult to work with their devices, we used to have Macs in our library and the more I worked with it, the more I hated it :) But it just shows everyone has a different taste :-)
I understand you want a simple site, why not and the new GUI should really not prevent you from doing things the way you did, it is just a wrapper above the settings file, which is still where the settings is loaded from and you can edit it directly - you are "too advanced user" :D
Title: Meteotemplate - Block Update - Webcam 3.0
Post by: Jáchym on August 07, 2016, 08:43:48 AM
Block Update - Webcam 3.0

Hi guys,

I updated the webcam block. You can now specify auto-update interval. The images will then update automatically in those intervals. This is useful if your image is not a video, but a still image that updates at regular intervals. The script also makes sure the image is not cached so that you always get current one.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on August 07, 2016, 10:49:23 AM
Hi, Jáchym

Thanks for hungarian weather terminology! :)

...and new clock desings awesome.  \:D/

Title: Re: Meteotemplate - new free website template
Post by: droiddk on August 07, 2016, 02:48:54 PM
Hi Brett001

I get a lot of errors on your site when I choose Danish as language.

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 07, 2016, 06:29:23 PM
That means he probably did not update the dk.php or some of the pages still use the version 4 and lower translation system.
Title: Meteotemplate - New Plugin - Drought U.S.
Post by: Jáchym on August 08, 2016, 10:44:39 AM
(http://i64.tinypic.com/w0jjbb.png)

New Plugin - Drought U.S.

Hi guys,

I created a new plugin, I think quite useful at this time of the year :-)

This plugin shows various drought-related parameters for the United States (national and for the individual states).

Main features:

- maps of drought-related parameters
- current drought conditions, drought outlook
- soil moisture
- groundwater drought indicator
- evapotranspiration
- wildland fire potential outlook

DEMO: http://www.meteotemplate.com/template/plugins/droughtUS/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on August 08, 2016, 03:03:41 PM
Hi Brett001

I get a lot of errors on your site when I choose Danish as language.

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathers/public_html/template/scripts/functions.php on line 40

Regards

Hi,

fixed... :)

Brett
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 08, 2016, 04:24:41 PM
Yup,  now it works fine  8-)
Title: Meteotemplate - Plugin Update - World Time 1.1
Post by: Jáchym on August 08, 2016, 07:00:30 PM
Hi guys,

just a quick note, I update the World Time plugin. This update only includes bug fixes.

Update should be pretty simple, you can pretty much replace all the files. The only one that is obviously not included is the settings.php, which you created in the control panel and that will therefore stay untouched on your server (do not replace the entire folder, that would delete your settings.php and you would have to set it up again).

Enjoy
Title: Meteotemplate - Bug Fixes Package 8.2
Post by: Jáchym on August 09, 2016, 08:09:50 AM
Hi guys,

I wanted to wait to see if there are any more problems. Right now it seems like all the major issues were identified. The just released Bug Fixes package 8.2 contains fixes for all these.

Follow the instructions in the readme file. Special attention should pay users of Weather Display (see the readme).

The package can be downloaded as always from the Downloads page, section Bug Fixes
Enjoy
Title: Meteotemplate - Block updates + New Block
Post by: Jáchym on August 09, 2016, 12:50:13 PM
Hi guys,
several new things in terms of blocks.


(http://i64.tinypic.com/jgtvup.png)
New Block - Weather - New Zealand

This is a new block that shows current conditions in many locations around New Zealand. You specify the default location which is shown right at the top, then in the collapsed view there is a sortable table of all available locations. Data is loaded once per hour.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=weatherNZ

Block Update - Webcam 3.1
This update only includes some changes to make the auto-refresh compatible with all servers and browsers.

Block Update - Current 5.0
In the new version you can now specify if you want to show the title "Current Conditions" at the top. Simply update the block and review your settings for that block from the control panel.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 09, 2016, 07:02:28 PM
Just please if you try any of the above new updates or blocks/plugins, let me know if they work for you, obviously I test on my server but... :)

Also, tomorrow there will be another newsletter, in which I will address some of your comments that you provided via the questionnaire.

And also, as I promised, I consider each suggestion (sometimes you just have to be patient...). Example - the current block title, the webcam real-time updates... those were all suggestions I received from users :) Obviously I cannot do everything, sometimes it is impossible technically, sometimes due to licenses etc. but I consider every suggestion :-)
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on August 09, 2016, 08:41:18 PM
I've added almost all the new plugins, menu and bug fixes.

All looking good so far.

Thanks again for the new additions  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 09, 2016, 09:09:32 PM
Yesterday I noticed someone is loading one of my sites every 5 minutes, probably an incorrectly set CRON job which pointed to my site. Obviously this was not desirable, especially given my server is not the fastest.
Using Google Analytics and Locate IP I was able to find it is someone from the Eastern coast of Australia close to Brisbane. But obviously you cannot pinpoint that person down to a street and I looked at my user map and there are three people just in the radius of 20 km around Brisbane. I therefore sent a bulk email to all those three, politely asking them to please check their cron jobs and saying that I do not currently know who it is, so to please ignore this message if it is not related to them. Of course I could have just denied access to that person in .htacess file, but I didnt want to do that because I suspected it was accidental.

So far I have not been able to find who it is, but just to give you an idea of the things I sometimes have to deal with, this is the answer I received today from one of those people, and I should also add that I have helped this person for several hours in the past and he never donated a single cent (and you will understand why I say that once you read it):

Quote
Hi,
I wounder what type of person blames people for no reason and no proof? What the hell is wrong with you? That could be anyone! Are you for real I wonder? I have been using your template for some time now and was just about to give it a praise. How can you just come and blame a group of people like that? I would suggest to you that if you can not afford this project give it to someone that can. As it is an good project. The IP that you gave is more near Bungerberg then Brisbane! Get your SHIT strate be fore all the blame game!! IT WAS NOT ME!!!!! Find out who it is be for sending SHIT like this!! THIS IS RUBBISH!!!!! To to blamed for no reason!! I don't know who did what to you or, your server and it's not my problem! If you need a better hosting company fine. Dont take it out on us, your strange!!! If you need money or better server just say it. Dont come and and accuse me and my fellow aussies that have done nothing!.. Remember we don't need you.. As we have other options. The bottom line is this, I have not ever been scolded by any developer not ever..
 You are a strange bloke for sure :)
Regards
Jerry
furthermore, Stop blaming people
f**k YOU AND YOUR CRAP!! I AM DONE WITH YOU AND YOUR SHIT. This really Has to be be an eastern europe thing!!!!!!! f**k YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!

Well I will of course just ignore that idiot, but it makes me wonder that someone like this even "exists".... absolutely not appreciating anyone elses work, which was even offered to them absolutely voluntarily and for free and then blaming them for things they never did (I never accused anyone, I politely asked and emphasized I am sending this email to several of them, they were all in the "to" field, he could see Im not sending this just to him). And he then goes on to even complain about my resources... yes I have a very old slow laptop, no smartphone and these things do make it sometimes difficult, but I try and use whatever I have and it really is surprising someone like him is complaining, not to mention the fact that if he wants me to have a better server, then fine, but in such case why doesnt he help... I never asked anyone for money for this, I appreciate it, because obviously with my two other jobs this is only a hobby and I also have to pay for the hosting, domain etc. And I in fact did upgrade the server recently, but I need to break even and then if there is anything extra, I use it to for example that server upgrade. But this really annoys me that someone then wants me to invest even more, taking everything for granted and then even wording their email as they did above.... just because of one polite sentence asking to check cron job....


Well fortunately this was probably the worst I have seen so far, there were a few cases where I felt a bit disappointed by that person´s attitude, but never this bad. I also have to say that I never judge people by their contribution, but I do by their attitude and I emphasized that in the wiki as well. Im in fact very glad this person is hopefully never going to email me again and I regret all the time I wasted with them.

Sorry for bothering you with it here, just wanted to make it clear that otherwise all of you were in 99% cases extremely nice and I am enjoying working on this, learning not just coding, but also geography, languages, meteorology :D And I will of course just ignore this and continue working on it. It is a bit frustrating to read this, but I will get over it.


And one of the reasons I am writing about this is also the fact that I have not so far been able to identify that person, so in case you are from Eastern Australia, please check your cron jobs, I have regular accesses to my site at meteotemplate.com and it is unfortunately one of the download links, which is why it could in long-term oveerload the server, it is not a very fast server and there is not much else I can do.

This was the original email from me:
Quote
Hi guys,
I am writing to you because I noticed in my access log, that someone from close to Brisbane is loading one of my sites at meteotemplate.com in regular intervals.
This is putting a load on the server, I would therefore like to ask you all to please check your cron jobs or browsers.
Someone from near Brisbane is loading the following page every 5 minutes:
www.meteotemplate.com/web/downloadedTemplate.php
It looks like a CRON job is set to this URL
Obviously it is only one of you, so if this is not relevant to you, sorry for spamming :)
Thanks
jachym

And I believe that was ok. What probably really annoyed me was the mention of Eastern Europe.... that really is just absurd.

Jachym,

I am just following up on the forum as I have been busy at work.  I want to first thank you for all you have done and how you have helped me along the way.  I am appalled by the reply you received and will say that I think your outgoing email was very well written and not at all accusing.  People like this have nothing better to do except complain.   Actually I feel bad for people like this as they must live a terrible life.

Thanks again,

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 10, 2016, 05:18:13 AM
Tom: Thanks for letting me know.

Jeff: Thanks, yeah, I dont care that much. What is interesting though... so just to add what the situation is like now... so the other guys basically politely answered they are not aware of having any CRON job. I then went back to my access log and? And I discovered that the site loading stopped about 10 minutes before I received the email from this guy.... coincidence? Or was it just the case he in fact was the one doing it (and so quite pissed off I discovered?...) Either way, I havent been in contact with him since then and I hope I wont be in the future.
Title: Meteotemplate - Block Update - Regional U.K. Forecast 2.0
Post by: Jáchym on August 10, 2016, 07:06:44 AM
Hi guys,

I updated the Regional U.K. forecast block.

In version 2.0 it is now possible to view the forecast for also other regions, not just the one you specify in the settings. That one is loaded by default, but the user can then choose any other region they want.

Simply replace all the files if performing an update (maintaining your settings.php created automatically and not included in the block update files).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=regionalUK

Enjoy
Title: Newsletter
Post by: Jáchym on August 10, 2016, 08:16:04 AM
Hi guys,
Another newsletter issue is available. In this issue you will find a list of all recently added new blocks and plugins as well as plugin and block updates.

In addition there is also a section with my replies to some of your comments from the questionnaire.

Newsletter: http://meteotemplate.com/blog/?p=934

Best regards
Jachym
Title: Meteotemplate - New Block - North America Satellite
Post by: Jáchym on August 10, 2016, 02:47:34 PM
(http://i66.tinypic.com/2n8q2vm.png)
New Block - North America Satellite
Hi guys,

since I noticed you in particular like satellite and radar images I created a new block, which includes close to 50 different satellite images from several Earth-orbiting satellites covering the area of North America (and a few including South America and Atlantic + Europe), primarily Canada. There is a dynamic slider so you can change the time period.

DEMOs:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=naSatellite
http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=naSatellite

No need to set up anything, just upload :)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 10, 2016, 11:01:45 PM
Had a look at the latest Meteotemplate newsletter and took note of a request to capture indoor humidity and indoor temperature, save it to the database and display it on the site.
This is something I looked into quite a while ago and I now do exactly that. I display it on the Interactive Graph and Current Conditions blocks.
It is not that difficult to do and contrary to what others believe, I have found it quite useful and not non-sense.
We have a wood heater so we cannot control the temperature via a thermostat. Different woods burns at different temperatures.
By logging the indoor humidity, I found that the lower the humidity level went, the higher the incidence of my wife having a dry sore throat and irritated sinus.
By looking at the logged data, I found the humidity went as low as 32% late at night/early morning. So not putting wood on the fire after the sun goes down and leaving a window open, the air did not dry as much, the humidity is not as low and the health of my wife has improved.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 11, 2016, 05:35:38 AM
I see.

OK, the "problem" is that this would have to be a separate table, not the alldata one. Simply because this would then slow down all your pages, even all the station pages, where those columns would not be necessary.
Creating a new table and feeding data there is of course not a problem, and some plugins already do that - eg. the Snow plugin.

The only "problem" in this case is you need another CRON job to do this because this obviously has to be executed at regular intervals. One option is modify the currently existing update script, but that I also wouldnt recommend because then every time I update that script there would be a problem.


Because you mentioned it I will mention one more thing I havent talked about yet. Basically, I have an idea for several very useful blocks and plugins, some of which I was already even asked to try. There is however one thing that makes it all problematic. I have been thinking about it for quite a while and I think I finally came up with a very efficient solution to this problem. This plugin/block is exactly one of those that would use this feature.
But it is still just in my head and I plan this as one of the major changes in the upcoming template version. Until then I will not try this because if I implement that new feature, it would make this and all the other plugins/blocks much easier and efficient to do, not just for me, but for you as a user especially.

I have already discussed this with one MT user and he also thinks it could work, but of course until I really sit down and code it and test it, I cannot tell. I cannot say right now when the next version will be ready, obviously I want to wait until more than just this is added, for me it is not a big deal, but I understand people dont want a major update every 2 weeks.

So lets just leave it for now, I already noted it down on that list of blocks/plugins I have that could potentially use this feature and I will definitely get back to it.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on August 11, 2016, 12:10:38 PM
Just wondering if anyone else has noticed a small issue with the stationData block layout?  When used with rounded corners or a border, the column/row background overlays the corners and borders.  Is it my web browser or something that I did wrong, or is this a problem with the block for others?????
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 11, 2016, 12:23:43 PM
you mean like the top-left corner?
Title: Re: Meteotemplate - new free website template
Post by: vreihen on August 11, 2016, 01:54:16 PM
you mean like the top-left corner?

(http://i791.photobucket.com/albums/yy193/vreihen/Screen%20Shot%202016-08-11%20at%201.49.39%20PM_zpstijliy28.png)

Yes, and the top/left borders.....
Title: Meteotemplate - new NWS block and block update
Post by: Jáchym on August 12, 2016, 08:28:55 AM
Hi guys,

one NWS block update and one new NWS block.

Block Update - NWS Forecast - Multiple 2.0
In the new version you can enable so-called "compact mode". Use this if you are using this block in a wider column, it will use the space more efficiently.

New Block - NWS Forecast - Custom
This new block shows a map where you can freely drag the marker and it will display forecast for that particular location.
Note:
The block uses your station coordinates by default, so in the demo you see N/A because my station is outside the U.S. Simply drag the marker to wherever you want to change the forecast.


DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecastCustom

Enjoy
Title: Meteotemplate - New Plugin - Weather Records
Post by: Jáchym on August 12, 2016, 10:49:14 AM
Hi guys,

those of you who now me better already know that I am most interested in climate. In the past I very often read about the weather extremes around the world. There are pages that give you this data, but always just as either a number or in the best case a table. I often wished there was more - so I now created it :D and I thought maybe some of you could find this interesting as well so I converted it into a plugin.

In this plugin there is a table of the world records grouped by countries.

So what is the added value?

First you will see a big map of the world. The actual data points are undercolored based on the value making it very easy to see right away the value.

Then there is a table below where you have all the data. You can sort it based on the actual value or for example by date when it was measured, btw. notice the dates when the absolute maximums were measured and look at how many were recorded in the last two years.... If you click a row in the table, it will take you to the map and show you where that point is.

And one more thing I have added is something I called the "latitude index" - obviously the value of extreme temperature depends to a large extent on latitude, so to make it more comparable I devised this unitless ratio that compares the latitude and the value and so you can see where it really is exceptionally hot.

I am sure you will have fun playing around with it and discovering interesting relationships (at least I have ;-))

The temperature units will automatically adjust based on your template settings (C or F).

For now only maximum temperatures are available. The problem with this plugin is that as I said, I have not found anything similar anywhere else and that means I had to find the coordinates and information for each data point, copy all the data etc. This is obivously quite time consuming.

Based on the feedback I get I will consider if it is worth adding additional parameters.

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/weatherRecords/maxT.php

Installation:
No setup, just update your menu and a link will be added to your Climate tab.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 12, 2016, 07:33:41 PM
One moment you think to yourself, ok what am I gonna do next.... you then go through questionnaire responses and end up with a to-do list with 122 bullet points for blocks, plugins and template changes/new features :D  :roll: :roll:
Title: Re: Meteotemplate - New Plugin - Weather Records
Post by: Paul on August 13, 2016, 08:26:46 AM

Based on the feedback I get I will consider if it is worth adding additional parameters.

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/weatherRecords/maxT.php


Good work, interesting. Would definitely be interested in Tmin, Wind and daily precipitation.
If i can help collate information let me know.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 13, 2016, 08:40:47 AM
OK Paul, I will see what is possible then. Minimum temps should not be a problem, the other ones probably yes, I dont think you will find data for it anywhere. You have the overall maximums for the whole world, but I doubt you or me will be able to find maximum wind speed or even precipitation, broken down by countries.
Title: Re: Meteotemplate - new free website template
Post by: Paul on August 13, 2016, 10:55:42 AM
Yes you are right of course, wind and rain data for each country is pretty difficult to find.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 13, 2016, 11:57:43 AM
It sort of makes sense....

I dont think you can find data for max wind speed, or even precipitation for the various countries. Simply because the data really is N/A. We both live in a first-world country, but remember many countries have very limited weather station networks, just look how many are included in the temps, there is over 200 countries, yet that plugin has maybe 50... and thats only because temps are usually something most frequently measured.
For the other Im afraid data is only for world as a whole - maybe try searching, I havent been able to find anything myself.
And if there is something then my guess is that in most cases modern weather monitoring in most countries has a relatively short history and there is not really any point in looking at maximum absolute precipitation if it is data from lets say 20 years. In climatology, you need at least a normal (30 yrs) to be able to make some kind of judgements
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 13, 2016, 12:08:36 PM
The Nehterlands had a rainfall of 208 mm 03-08-1948 (august) in village Voorthuizen ( anyway measured over 24 hours so you will also have to define what is the highest rainfall)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 13, 2016, 12:15:23 PM
Yes... I can find you such info for the Czech Republic as well, but the problem is that:

1. we are both European countries, my guess is that data is available for probably most EU countries + US + Australia and a few Asian
2. in this case however, you would probably have to look for each particular value on the website of each individual country´s NWS website (which is extremely time consuming, not to mention the language barrier).
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 13, 2016, 01:17:11 PM
Yes thats true indeed very difficult, but minimum temps would be nice
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 13, 2016, 01:20:03 PM
ok
Title: Meteotemplate - Plugin update - Weather Records 2.0
Post by: Jáchym on August 13, 2016, 01:25:18 PM
Hi guys,
based on feedback and suggestions I have added minimum temperatures to the Weather Records plugin.

DEMO: http://www.meteotemplate.com/template/plugins/weatherRecords/minT.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 13, 2016, 02:12:42 PM
LOL...
just noticed today we are getting close... still remember creating this topic ;)

Quote
Topic: Meteotemplate - new free website template  (Read 99999 times)
Title: Meteotemplate - major plugin update - Station Extremes 2.0
Post by: Jáchym on August 14, 2016, 10:29:34 AM
Plugin update: Station Extremes 2.0

Hi guys,

I have updated the Station Extremes plugin, based on the feedback from the questionnaire, you particularly like plugins related to your own station, which in addition do not rely on any external source, so here is another addition for all statistic freaks like me :).

This major update includes two new pages:

- daily overview – on this page you can view overview for each day of selected month, what are the extremes for that day, in which year it was measured and in addition you can of course sort the tables or even highlight a particular year
- monthly overview – same as the above, just grouped by months

DEMO: http://www.meteotemplate.com/template/plugins/stationExtremes/index.php

No need to setup anything so just replace entire directory of your stationExtremes plugin.

Enjoy
Title: Re: Meteotemplate - major plugin update - Station Extremes 2.0
Post by: Paul on August 14, 2016, 10:38:51 AM
Plugin update: Station Extremes 2.0

Enjoy
I am enjoying, truly excellent work Jachym, better than I had hoped for. Going to dig into that SQL now and see how you did the query in the end  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2016, 10:45:19 AM
What I did is I only made one query and did the rest of the calculations in PHP, it would have been much easier to do all in mySQL but it would take subtantially longer to load.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2016, 10:45:45 AM
And the year filtering is done via jQuery which also speeded it up.
Title: Re: Meteotemplate - new NWS block and block update
Post by: N0BGS on August 14, 2016, 03:07:07 PM
Hi guys,

one NWS block update and one new NWS block.

Block Update - NWS Forecast - Multiple 2.0
In the new version you can enable so-called "compact mode". Use this if you are using this block in a wider column, it will use the space more efficiently.

New Block - NWS Forecast - Custom
This new block shows a map where you can freely drag the marker and it will display forecast for that particular location.
Note:
The block uses your station coordinates by default, so in the demo you see N/A because my station is outside the U.S. Simply drag the marker to wherever you want to change the forecast.


DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecastCustom

Enjoy

This is VERY cool!  Nice work.

I think you may have meant to name nwsForecastCustomConfig.php nwsForecastCustomConfig.txt in the zip file though.

Well done,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2016, 04:26:27 PM
Yes... Thanks for letting me know,  fortunately not directly affecting the script
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 14, 2016, 05:24:02 PM
Looks like 5 pages of posts to read, and then back to catching up to blocks, etc.  Oh, and by the way I didn't have access to internet over the past 8 days and my cell phone had no access either so missed what was going on in the world, a very good feeling!  But then tornado a few km away from Komoka, which is very rare for us, the ISIS supporter shooting in nearby Strathroy.  Maybe next year we won't go away... but then from the photo's we have, we'll go back for my 49th year in 2017.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2016, 05:29:26 PM
Nice, I thought you were somewhere "off the grid" since I know you always react and you havent been online for several days :-)
Take your time going through what is new, there were a few plugins/blocks you might like, one for Canada in particular.
Title: Meteotemplate - New Plugin - Guestbook
Post by: Jáchym on August 15, 2016, 09:18:54 AM
(http://i66.tinypic.com/2poxnvk.png)

New Plugin - Guestbook 1.0

Hi guys,

I created a new plugin for users to be able to leave comments on your site, something I wanted to add long time ago, but didnt know how to, I didnt like the scripts available so I had to wait until Im able to create my own :D

Main features
- possibility to add comments
- enable/disable approval requirement
- enable/disable emoticons (smileys)
- enable/disable email notifications
- possibility to ban IPs
- captcha to prevent spam
- secured against scripts hacks etc.

There are several things you can set up. First you can set if you want each post to require approval. If you enable this, then every time someone leaves a new comment, it will only be visible to you when you are logged in as an admin and you will see an icon next to it "approve", and only when you click that icon, it will become publicly visible. If you disable approval requirement, each post will automatically be approved and immediately visible to everyone.

You can also enable or disable possibility to add emoticons (smileys) and specify if you want the posts to appear from the oldest to the newest or the other way around.

It is important to know that the page will look differently if you view the guestbook while you are logged in as an administrator. In such case, you will see all posts (including those that are not yet approved) and in addition, you will also see the IP address of whoever posted the comment and below each post you will also see an icon that will allow you to delete that particular post and an icon to ban the IP of that user.

Last useful feature is the possibility to set up email notifications. If you enable this, then you also specify an email address in the setup, to which a notification will be sent whenever someone signs your guestbook. In order for this to work however, make sure you have correctly configured mail server on your server (ideally test it yourself to see if it works, it should if you are also using for example the Contact plugin).

DEMO: http://www.meteotemplate.com/template/plugins/guestbook/index.php

Install instructions:
- download the file
- upload to your Plugins directory
- set up via Control panel
- update menu.php

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on August 15, 2016, 03:32:58 PM
Hi guys,

just a quick note about a few updates:

Block Update - Station Data 3.0
Updated version includes a new option "last 365 days" and CSS tweaks.

Plugin Updates - Forecast Model U.S. 1.1 and Weather Extremes 1.1
Updated versions only include compatibility fixes for HTTPS sites

Enjoy

P.S. Just please if someone could confirm the guestbook works
Title: Re: Meteotemplate - new free website template
Post by: tstorm on August 15, 2016, 07:46:02 PM
Jachym,

  I've installed and tested out the Guestbook and everything looks good.

http://www.harpersferry-weather.com/meteotemplate/plugins/guestbook/

Thanks,

John
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 15, 2016, 10:45:50 PM
I've got all the plugins added and updated and only need to do further work on MyStation.

Also updated/added all the blocks which are good (yes, like the naSatellite maps) except nwsForecastCustom.  It shows in my setup screen that it is installed, but without a version number (I've downloaded 3 times to make sure I hadn't missed something).  On my homepage the map shows and the pointer to my location but underneath it says NWS Forecast N/A.  I know the nwsForecast is only for USA locations (I've tried it and shows the installed version number but gives a "NWS forecast not available" message.  The nwsForecastCustom lack of version number leads me to think it is something different. 

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 16, 2016, 05:15:32 AM
Hi Paul, there is a typo, the nwsForecastCustomConfig should have "txt" extension instead of "php". It does not affect the block directly, but it makes the update feature non-functional. I will fix it soon.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 16, 2016, 10:12:05 AM
Thanks Jaschym, I should have noticed that.  With that change now the version numbers match.  However still nothing on the map except the pointer to my location.

I expect it is because I am out of the USA.  I got the nwsForecastMultiple to work by setting to nearby USA locations as this block has a settings option.  I presume the nwsForecast and newForecastCustome take the location from my Lat/Lon settings for the CustomLoader.php as these don't have a settings option.  Could I, and if so how, override my station location and have the blocks hard coded with a Michigan location?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 16, 2016, 10:43:48 AM
Paul, by default this loads your station coordinates, for which there is no forecast (outside US). Just drag the marker to US and it will change dynamically.
Title: Re: Meteotemplate - reminder
Post by: SimonB on August 16, 2016, 10:45:38 AM
Hi guys,

just a little reminder, over the weekend I will go through each submitted questionnaire you sent me. As I promised, I will consider all your comments. I have already briefly looked at it, some of the points are very interesting, some a bit more problematic and there are a few which rather suggest I should maybe explain certain things better or you asked for something that is not technically possible.

I will answer some of the questions (anonymously) directly in the upcoming newsletter. One important thing to remember though is that unless you provided your name or email, there is no way of me directly contacting you so if you asked about something related directly to your page and did not make any mention of who you are, there is not much I can do.

Either way, thanks everyone for taking the time to answer this and it will be to your own benefit as you know I always take your ideas into consideration.

If you want, the questionnaire is still available at:
http://bit.ly/2aIqUbG
And anyone, of course including those who do not use it, can fill it in and I appreciate it.

Only saw this now - completed
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 16, 2016, 10:51:33 AM
Thanks Simon,
I already answered some of the comments in recent newsletter and I contacted those where I had some further questions (given they provided their name or at least an email, in some cases people asked something or mentioned something that I needed to ask about and they did not include any indication of who they are :D)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 16, 2016, 10:51:54 AM
I will look at your feedback tonight.
Title: Re: Meteotemplate - updates
Post by: SimonB on August 16, 2016, 11:01:29 AM
P.S. Just please if someone could confirm the guestbook works

Works fine http://www.meteo.capetown/plugins/guestbook/index.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 16, 2016, 11:52:12 AM
I think my Guestbook works fine as well.

Quote
Just drag the marker to US
Always something to learn, I didn't know I could move the pointer #-o I'll blame it on the manual (I didn't read it)
Paul
Title: Meteotemplate - Block updates
Post by: Jáchym on August 16, 2016, 12:01:29 PM
NWS Forecast 3.0
- possibility to set default location
- minor bug fixes

NWS Forecast Custom 2.0
- possibility to set default location
- minor bug fixes

Riset (rise/set) 3.0
- changed the pie chart to show day/night ratio
- replaced Highcharts with pure CSS

More info in the blog

enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 16, 2016, 01:04:01 PM
All up to date again...  and working fine.  I don't necessarily like :P the work associated with keeping up to date (and do know how much work you, Jachym, put into them and the whole template for us to enjoy) but the updates is a good exercise to go back to the plugins/blocks to be reminded of them and how and what they show - I often forget to remember what all we have!

Enjoying, and thanks again Jachym =D&gt;
Paul

p.s. should I go and read the Blog?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 16, 2016, 01:42:29 PM
Thanks Paul,

the thing one has to realize though is that very often I update stuff based on particular user request and you never "have to" update it. All the blocks and plugins work independently, you do not need to update one for another to work and so you can take advantage of updating it, or you simply can decide to just use whatever you already have.

Someone could say the updates are too frequent, but... if someone asks for something or I have an idea, why post-poning it... those who want it will update it/install it, those who dont can simply ignore it. I always give you the choice :)
Title: Re: Meteotemplate - new free website template
Post by: SimonB on August 17, 2016, 07:10:33 AM
Jachym

The guestbook plugin is vulnerable to spam.  I have approvals and email notifications switched on but I am now enjoying the attention of viagra sellers.  :lol:

I think you probably want to enable some other antsipam measure, as the "I am not robot" isn't working
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2016, 07:28:20 AM
Interesting, I never had that problem and it is also used in the Contact plugin and no-one ever said anything (and I have been using it on several other sites and did not have a single spam email)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 17, 2016, 09:13:59 AM
I have not had any problems with the guestbook or contact me...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2016, 09:22:17 AM
It really surprises me because in the past on my personal page I tried various things, for example generating random numbers and then asking the user to add them.

Now the problem with the above is quite obvious. Lets say you use numbers that add up to something <100.... in such case, a simple bot will get pass this in a matter of milliseconds and obviously I cannot ask the user to do an integration of square root of log base 13 of 3.24825.... which would probably prevent the bot, but not sure how many users would get pass that :D

The Captcha I used is nothing more than a simple div element and what it checks is you clicking on that div. Bots dont click divs because divs are usually standard parts of HTML code. The only thing I can think of is that the div is called "captcha", but I really did not have a single spam in over 2 yrs I have been using this... strange
Title: Re: Meteotemplate - new free website template
Post by: SimonB on August 17, 2016, 11:26:04 AM
I'm getting them about every 5 minutes now.  I'll enable Cloudflare on that domain and see if it helps


Sent from my F35 Lightning II using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2016, 11:28:30 AM
If it is still the same one then simply ban that IP, there is that feature
Title: Meteotemplate - updates
Post by: Jáchym on August 17, 2016, 12:15:04 PM
Hi guys,

Block Update - Station Status 2.0
The updated version of this block also shows the last time of update and the time elapsed since then.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationStatus

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: corwyyn on August 17, 2016, 10:54:17 PM
Started working on installing the template tonight and got the basic setup complete, checked the main page and it is showing the default version (yay!).  Now I am trying to get the Cumulus setup completed but need some clarification:  am I going to be opening the local version of the cumulus.php file and editing it then uploading it to the /update folder or do I edit the version that is already on the server?  I've tried opening the remote version a couple of times but get an "Incorrect upload password!" error.  Tried doing a keyword search here on the forum but haven't had any luck digging out information.  I think once I get past this I'll be able to complete my setup then update everything to the latest template release.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 17, 2016, 11:07:20 PM
Other than the "blocks" and "plugins" which settings can be edited from the webserver, all other files needing editing are done on my computer and then upload/replace that on the webserver.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: corwyyn on August 18, 2016, 02:36:34 AM
Thanks Paul, that got me where I needed to be.  Got the cumulus file updated and a cron job set up so at this point I need to get into the control panel and finish the installation.  Unfortunately the password I thought I saved when going thru the initial setup isn't working  ](*,)  Tried re-running the setup page but it now tells me I have to log in as an admin first  ](*,)  ](*,)  So I'm guessing I need the default password that Jachym sets in the initial setup or else a way to reset the password.

On the bright side I just checked on my cron job and it seems to be running just fine so once I get the login issue squared away I should be up and running.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 18, 2016, 05:46:00 AM
Hi,
you have two options:

1. delete the config.php which was created by the setup file in your template root directory - that would reset the password, but remember it will also delete any setting you have made already
2. easier option is to simply download the config.php to your pc and then look inside it and see what you have for the password, the variable is simply "adminPassword"
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 18, 2016, 10:59:48 AM
Hi
How can i setup (import)  the solardata from WD? (5 Years)
Title: Meteotemplate - new languages available!
Post by: Jáchym on August 18, 2016, 02:51:16 PM
(http://i66.tinypic.com/de1ld1.png)(http://i67.tinypic.com/2quncbk.png)

Hi guys,¨

big thanks goes to Paulo and Grzegorz for helping with translation of the template into Portuguese and Polish. The language strings can now be downloaded from the Translations section at meteotemplate.com.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 18, 2016, 02:52:33 PM
Hi
How can i setup (import)  the solardata from WD? (5 Years)

Hi, you need to create a monthly log file in weather display, which is then used for the import of data. It is not possible to import just the solar radiation, you must do it along with importing the other variables as well, it is paired with the timestamps etc.
Title: Re: Meteotemplate - new free website template
Post by: juppie on August 18, 2016, 09:38:33 PM
Hello Jáchym
Is it possible for soil parameter and indoor conditions also for my eusotec to program.

http://www.eusotec.de/data/eusoport/astart.php?sn=deb883749&key=&nopic=

Here are ways that eusotec provides:
__________________________________________________________________________
Integrate current data into your own Web pages

Customers of the Eusotec cloud services have the opportunity to integrate the current data on your own Web pages. This can be presented easily customized solutions with current weather data. This was to ensure that the interface is kept simple.
The current data are generally caused by following call:
http://www.eusotec.de/data/eusoport/values_request.php?SN=cloud-Benutzername & newPage = own website the following parameters must be specified:
SN = username of the cloud was informed by Eusotec
newPage = URL to the new display page

The website is called and receives current weather data as = parameter data example:
Get current data and show it on the page test4.html.

The result should look like this:

Current data of the: 09.05.2014 08:17:30
Air pressure: 1017.0 hPa
Indoor temperature: 22.9 ° C
Humidity: 53%
Outdoor temperature: 15.7 ° C
Gust: 19.3 km/h

And here are the instructions for generating:

The call can be applied z.B for user deb123456 as a link:
<a href="http://www.eusotec.de/data/eusoport/values_request.php?sn=deb123456&newPage=http://mydomain.de/test4.html">Show current data</a>

We now see the specified file "test4.html":
First a few explanations:
The parameters passed can be with the "split" easily command, so that the values in the array "values" are saved in the example. values
values [1] 1 contains the value of the sensor then values [2] 2nd etc. then contain the value of sensor
And here is the HTML code of the test4.html file<html>
 <head>
 </head>
 <body>
 <pre>
  <script type="text/javascript">
    var arg = window.location.href.split("=");
    var values = arg[1].split(";");   // get values

    // date/time format: dd.mm.yyyy_hh:mm:ss
    document.writeln("Aktuelle Daten vom: ",values[0].substr(0,10)," - ",values[0].substr(11,8));

    document.writeln("Luftdruck: ",values[1]," hPa");
    document.writeln("Innen-Temperatur: ",values[2]," °C");
    document.writeln("Feuchte: ",values[3]," %");
    document.writeln("Außen-Temperatur: ",values[4]," °C");
    document.writeln("Windböen: ",values[5]," km/h");
  </script>
 </pre>
 </body>
</html>

_______________________________________________________

XML interface:

The acronym XML stands for "Extensible Markup Language", and means a markup language that is used to communicate hierarchically structured data in text form. If you are using the program of EusoCharts, this text format is used for the exchange of data. The program does the communication and shows you the data that you request.
Should write their own applications, so we want to support you here, and we have therefore decided that XML data format to disclose.
The command is sent over port 10001 to the Eusoport and has the following format:
<Cmd>1| StartZeit | End times | Increment. Number parameter n | Par_1 | Par_2 |.. | Par_n</Cmd>

Please take care to enter spaces between the parameters.
<Cmd>1: 1 stands for data retrieval, in later versions of other commands could be supplemented, which accept for example a control of the connected device.
Start time: start date and start time of the desired time interval
End time: End date and end time of the desired time interval

Format: YYMMDDhhmm
YY: last two digits of the year
MM: Month DD: day hh: hour
mm: Minute

All date and time values are in UTC time to understand. So the calling application must take account of the time difference for summer and winter time. If you want to retrieve the current values that every 10 seconds be queried by the connected device, so you enter please as a start and end time "0000000000".
Step size:
Here, the following increments (5 minute intervals) are allowed:
1 returns all stored values
2 memory values, whose minute 00, 10, 20, etc
3 memory values, whose minute 00, 15, 30 or 45's
6 memory values, whose minute 00 or 30 is
12 memory values, their minute is 00 (all hourly values)
24 memory values, their minute 00 and hour 00, 02, etc. is
other allowed values are 48, 72, 144, 288 when you want to retrieve all the values so, enter a 1.
Number of parameters:
Here you specify how many parameters you want to retrieve.
Parameters: Specify the numbers of the parameters (separated by the "|") Character) to which you want to retrieve. They wanted only the values of the 3 sensor, then enter the 3.
</Cmd>: A command must be terminated with this string.
Example:
Retrieve all stored data from the sensors 2,3,4 and 23 in the period of the 12.3.2013 10:43 (UTC: 9:43 am) to 12.3.2013 11:42 (UTC: 10:42).
<Cmd>1 | 1303120943 | 1303121042 | 1 | 4 | 2 | 3 | 4 | 23</Cmd>

As output, you get the following data:<?xml version='1.0' encoding='iso-8859-1'?>
<Response><Prot>1 <Dev>Davis Vantage</Dev><Cmd>1</Cmd><Start>1303120943</Start><End>1303121042</End><IntervalStep>1</IntervalStep><Parameters><Par no='2' unit='°C'><Values>130312104000 | 21.2 | 1 | 130312103500 | 21.1 | 1 | 130312103000 | 21.1 | 1 | 130312102500 | 21.1 | 1 | 130312102000 | 21.1 | 1 | 130312101500 | 21.1 | 1 |
130312101000 ¦ 21.0 | 1 | 130312100500 | 20.9 | 1 | 130312100000 | 20.8 | 1 | 130312095500 | 20.8 | 1 | 130312095000 | 20.7 | 1 | 130312094500 | 20.7 | 1 | 130312094000 | 20.6 | 1 |
</Values> <Min>130312094000 | 20.6 | 1</Min><Max>130312104000 | 21.2 | 1</Max>



</Par><Par no='3' unit='%'><Values>130312104000 | 45 | 1 | 130312103500 | 45 | 1 | 130312103000 | 45 | 1 | 130312102500 | 45 | 1 | 130312102000 | 45 | 1 | 130312101500 | 45 | 1 |
130312101000 ¦ 45 | 1 | 130312100500 | 46 | 1 | 130312100000 | 46 | 1 | 130312095500 | 46 | 1 | 130312095000 | 46 | 1 | 130312094500 | 46 | 1 | 130312094000 | 46 | 1 |
</Values> <Min>130312104000 | 45 | 1</Min><Max>130312100500 | 46 | 1</Max>


</Par><Par no='4' unit='°C'><Values>130312104000 ¦ 19.6 | 1 | 130312103500 | 19.6 | 1 | 130312103000 | 19.6 | 1 | 130312102500 | 19.6 | 1 | 130312102000 | 19.5 | 1 | 130312101500 | 19.5 | 1 | 130312101000 |
19.4 | 1 | 130312100500 | 19.4 | 1 | 130312100000 | 19.3 | 1 | 130312095500 | 19.3 | 1 | 130312095000 | 19.3 | 1 | 130312094500 | 19 2 | 1 | 130312094000 | 19 2 | 1 |
</Values> <Min>130312094500 | 19.2 | 1</Min><Max>130312104000 ¦ 19.6 | 1</Max>



</Par><Par no='23' unit='%'><Values>130312104000 | 46 | 1 | 130312103500 | 46 | 1 | 130312103000 | 46 | 1 | 130312102500 | 46 | 1 | 130312102000 | 46 | 1 | 130312101500 | 46 | 1 |
130312101000 ¦ 47 | 1 | 130312100500 | 47 | 1 | 130312100000 | 47 | 1 | 130312095500 | 47 | 1 | 130312095000 | 47 | 1 | 130312094500 | 47 | 1 | 130312094000 | 47 | 1 |
</Values> <Min>130312104000 ¦ 46 | 1</Min><Max>130312101000 ¦ 47 | 1</Max>


</Par>



</Parameters>





</Prot>
</Response>

Greeting Juppie
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 03:27:53 AM
Hi
In my Settings the Stickers are blank why, and can i fix this??
http://www.synoy.de/template/plugins/stickers/stickers.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 05:31:43 AM
Hello Jáchym
Is it possible for soil parameter and indoor conditions also for my eusotec to program.

http://www.eusotec.de/data/eusoport/astart.php?sn=deb883749&key=&nopic=

Here are ways that eusotec provides:
__________________________________________________________________________
Integrate current data into your own Web pages

Customers of the Eusotec cloud services have the opportunity to integrate the current data on your own Web pages. This can be presented easily customized solutions with current weather data. This was to ensure that the interface is kept simple.
The current data are generally caused by following call:
http://www.eusotec.de/data/eusoport/values_request.php?SN=cloud-Benutzername & newPage = own website the following parameters must be specified:
SN = username of the cloud was informed by Eusotec
newPage = URL to the new display page

The website is called and receives current weather data as = parameter data example:
Get current data and show it on the page test4.html.

The result should look like this:

Current data of the: 09.05.2014 08:17:30
Air pressure: 1017.0 hPa
Indoor temperature: 22.9 ° C
Humidity: 53%
Outdoor temperature: 15.7 ° C
Gust: 19.3 km/h

And here are the instructions for generating:

The call can be applied z.B for user deb123456 as a link:
<a href="http://www.eusotec.de/data/eusoport/values_request.php?sn=deb123456&newPage=http://mydomain.de/test4.html">Show current data</a>

We now see the specified file "test4.html":
First a few explanations:
The parameters passed can be with the "split" easily command, so that the values in the array "values" are saved in the example. values
  • format contains date and time in UTC (format: dd.mm. yyyy_hh: mm: ss)

values [1] 1 contains the value of the sensor then values [2] 2nd etc. then contain the value of sensor
And here is the HTML code of the test4.html file<html>
 <head>
 </head>
 <body>
 <pre>
  <script type="text/javascript">
    var arg = window.location.href.split("=");
    var values = arg[1].split(";");   // get values

    // date/time format: dd.mm.yyyy_hh:mm:ss
    document.writeln("Aktuelle Daten vom: ",values[0].substr(0,10)," - ",values[0].substr(11,8));

    document.writeln("Luftdruck: ",values[1]," hPa");
    document.writeln("Innen-Temperatur: ",values[2]," °C");
    document.writeln("Feuchte: ",values[3]," %");
    document.writeln("Außen-Temperatur: ",values[4]," °C");
    document.writeln("Windböen: ",values[5]," km/h");
  </script>
 </pre>
 </body>
</html>

_______________________________________________________

XML interface:

The acronym XML stands for "Extensible Markup Language", and means a markup language that is used to communicate hierarchically structured data in text form. If you are using the program of EusoCharts, this text format is used for the exchange of data. The program does the communication and shows you the data that you request.
Should write their own applications, so we want to support you here, and we have therefore decided that XML data format to disclose.
The command is sent over port 10001 to the Eusoport and has the following format:
<Cmd>1| StartZeit | End times | Increment. Number parameter n | Par_1 | Par_2 |.. | Par_n</Cmd>

Please take care to enter spaces between the parameters.
<Cmd>1: 1 stands for data retrieval, in later versions of other commands could be supplemented, which accept for example a control of the connected device.
Start time: start date and start time of the desired time interval
End time: End date and end time of the desired time interval

Format: YYMMDDhhmm
YY: last two digits of the year
MM: Month DD: day hh: hour
mm: Minute

All date and time values are in UTC time to understand. So the calling application must take account of the time difference for summer and winter time. If you want to retrieve the current values that every 10 seconds be queried by the connected device, so you enter please as a start and end time "0000000000".
Step size:
Here, the following increments (5 minute intervals) are allowed:
1 returns all stored values
2 memory values, whose minute 00, 10, 20, etc
3 memory values, whose minute 00, 15, 30 or 45's
6 memory values, whose minute 00 or 30 is
12 memory values, their minute is 00 (all hourly values)
24 memory values, their minute 00 and hour 00, 02, etc. is
other allowed values are 48, 72, 144, 288 when you want to retrieve all the values so, enter a 1.
Number of parameters:
Here you specify how many parameters you want to retrieve.
Parameters: Specify the numbers of the parameters (separated by the "|") Character) to which you want to retrieve. They wanted only the values of the 3 sensor, then enter the 3.
</Cmd>: A command must be terminated with this string.
Example:
Retrieve all stored data from the sensors 2,3,4 and 23 in the period of the 12.3.2013 10:43 (UTC: 9:43 am) to 12.3.2013 11:42 (UTC: 10:42).
<Cmd>1 | 1303120943 | 1303121042 | 1 | 4 | 2 | 3 | 4 | 23</Cmd>

As output, you get the following data:<?xml version='1.0' encoding='iso-8859-1'?>
<Response><Prot>1 <Dev>Davis Vantage</Dev><Cmd>1</Cmd><Start>1303120943</Start><End>1303121042</End><IntervalStep>1</IntervalStep><Parameters><Par no='2' unit='°C'><Values>130312104000 | 21.2 | 1 | 130312103500 | 21.1 | 1 | 130312103000 | 21.1 | 1 | 130312102500 | 21.1 | 1 | 130312102000 | 21.1 | 1 | 130312101500 | 21.1 | 1 |
130312101000 ¦ 21.0 | 1 | 130312100500 | 20.9 | 1 | 130312100000 | 20.8 | 1 | 130312095500 | 20.8 | 1 | 130312095000 | 20.7 | 1 | 130312094500 | 20.7 | 1 | 130312094000 | 20.6 | 1 |
</Values> <Min>130312094000 | 20.6 | 1</Min><Max>130312104000 | 21.2 | 1</Max>



</Par><Par no='3' unit='%'><Values>130312104000 | 45 | 1 | 130312103500 | 45 | 1 | 130312103000 | 45 | 1 | 130312102500 | 45 | 1 | 130312102000 | 45 | 1 | 130312101500 | 45 | 1 |
130312101000 ¦ 45 | 1 | 130312100500 | 46 | 1 | 130312100000 | 46 | 1 | 130312095500 | 46 | 1 | 130312095000 | 46 | 1 | 130312094500 | 46 | 1 | 130312094000 | 46 | 1 |
</Values> <Min>130312104000 | 45 | 1</Min><Max>130312100500 | 46 | 1</Max>


</Par><Par no='4' unit='°C'><Values>130312104000 ¦ 19.6 | 1 | 130312103500 | 19.6 | 1 | 130312103000 | 19.6 | 1 | 130312102500 | 19.6 | 1 | 130312102000 | 19.5 | 1 | 130312101500 | 19.5 | 1 | 130312101000 |
19.4 | 1 | 130312100500 | 19.4 | 1 | 130312100000 | 19.3 | 1 | 130312095500 | 19.3 | 1 | 130312095000 | 19.3 | 1 | 130312094500 | 19 2 | 1 | 130312094000 | 19 2 | 1 |
</Values> <Min>130312094500 | 19.2 | 1</Min><Max>130312104000 ¦ 19.6 | 1</Max>



</Par><Par no='23' unit='%'><Values>130312104000 | 46 | 1 | 130312103500 | 46 | 1 | 130312103000 | 46 | 1 | 130312102500 | 46 | 1 | 130312102000 | 46 | 1 | 130312101500 | 46 | 1 |
130312101000 ¦ 47 | 1 | 130312100500 | 47 | 1 | 130312100000 | 47 | 1 | 130312095500 | 47 | 1 | 130312095000 | 47 | 1 | 130312094500 | 47 | 1 | 130312094000 | 47 | 1 |
</Values> <Min>130312104000 ¦ 46 | 1</Min><Max>130312101000 ¦ 47 | 1</Max>


</Par>



</Parameters>





</Prot>
</Response>

Greeting Juppie

Hi Juppie,

my answer is "maybe" - the problem is that XML could be used, but the text you posted above tells me nothing about whether that data is inside that XML and if so, which field number etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 05:32:40 AM
Hi
In my Settings the Stickers are blank why, and can i fix this??
http://www.synoy.de/template/plugins/stickers/stickers.php

Your server does not support the open-sans fonts for GD in PHP.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 06:43:28 AM
Hi
i try to translate many Words for Warnings up in the template (the Tooltip).
see picture..
Try this in the language.de.
Entered "in the last" to germany "in den letzten"
After restart Page (F5) its not translated (same as before.... "in the last")
(http://www.synoy.de/template/icons/warnings/warningSun.png)
how can i fix this?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 07:17:49 AM
Stefan I told you that all German strings have been translated, I dont understand why you simply do not download the latest German language file. You are probably using some old version of the DE.php, always go to meteotemplate.com and download the latest file.

100% of the German language strings is currently translated already. So just go here:
http://www.meteotemplate.com/web/translations/index.php

And download the up-to-date version and then put it in your langs directory, this is how it works. You should not be modifying the files yourself, it will not work.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 07:33:53 AM
Hi
I download and set the new language as described "in the last" is translated from you but shown not "in den letzten" always shown "in the last"
Clear my Browser cache but the same litte Error
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 08:03:02 AM
Hi
I download and set the new language as described "in the last" is translated from you but shown not "in den letzten" always shown "in the last"
Clear my Browser cache but the same litte Error

OK there could of course also be a problem in the file, I will check that.
Title: Meteotemplate - New Block - METAR weather
Post by: Jáchym on August 19, 2016, 08:04:44 AM
New Block - METAR Weather

Hi guys,

I created a new block for showing current conditions grouped by countries.

The Yahoo current conditions block/plugin is problematic, I have mentioned this before. Yahoo is unreliable in accessibility and to make things worse, reports completely non-sense pressure data.

It took me a while to find a usable solution and I decided to use METAR reports, which are much more reliable and accurate (but also more difficult to work with and they do not contain all the variables Yahoo did).

However, I still think that many of you will find this new block useful and there is lot of things I did not use for now because the block is limited in space and you can therefore expect also a plugin in the future based on this, which will show much more and have many more cool new features.

Main features:

- current weather conditions grouped by countries for official METAR stations
- temperature, humidity, pressure, wind speed, wind direction, wind gust, apparent temperature, dew point
- summary statistics for country as a whole
- automatic unit conversions based on template setup
- auto caching
- fully localized

Data is available for all countries in Europe, Asia, Africa, Australia and Oceania, and South America.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=metarWeather

No need to install, just upload to your Blocks directory and add to the homepage.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 08:22:47 AM
Hi
In my Settings the Stickers are blank why, and can i fix this??
http://www.synoy.de/template/plugins/stickers/stickers.php

Your server does not support the open-sans fonts for GD in PHP.

I have installed  the open sans fonts on the server, the same Problem as before stickers are blank
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 08:26:39 AM
No it has nothing to do with the font, it is the extension of PHP for GD library, it must be installed on your server. Some servers do not support this. It is not the font type.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 08:31:59 AM
the interactive works perfect only Stickers in the setup are blank.
i check as you suggested for the extension...
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 08:57:24 AM
in the phpinfo stands:

GD Support   enabled
GD Version   bundled (2.1.0 compatible)
FreeType Support   enabled
FreeType Linkage   with freetype
FreeType Version   2.5.2
GIF Read Support   enabled
GIF Create Support   enabled
JPEG Support   enabled
libJPEG Version   8
PNG Support   enabled
libPNG Version   1.2.50
WBMP Support   enabled
XPM Support   enabled
libXpm Version   30411
XBM Support   enabled
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 09:07:06 AM
Strange, I just tried the script on my server again and it works perfectly fine, but one user did send me an email with similar issues and a possible solution, I will look at it over the weekend.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 19, 2016, 09:14:31 AM
ok thanks,i will wait and look here after the weekend whether it is solved or not.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 19, 2016, 10:52:30 AM
metarWeather block works very nice Jachym.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 11:51:03 AM
thanks for letting me know Paul
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 19, 2016, 03:01:59 PM
Hi
In my Settings the Stickers are blank why, and can i fix this??
http://www.synoy.de/template/plugins/stickers/stickers.php
Stegrie:

See my post #3552.  Are you getting that same error in the Apache error log?

In Linux it seems to be related to the conversion of PNG-24 graphics.

So far, I have not found a fix, either.

Viel Glück!

--Kurt

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 19, 2016, 06:04:56 PM
Thanks for help Kurt, I need to look at that plugin, it seems to cause problems.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 19, 2016, 09:56:53 PM
Thanks for help Kurt, I need to look at that plugin, it seems to cause problems.
Yes, something is going on with it. 

As an experiment, I saved all of the top level png files ../stickers/apparent.png, dewpoint.png, etc as PNG-8 files.  That got rid of the Apache error log warning:
Code: [Select]
libpng warning: Interlace handling should be turned on when using png_read_imageand made the icons look a lot worse..but it STILL won't display the sticker properly! :evil:

Seems to be some kind of a Linux thing but I'm not certain what.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 20, 2016, 04:52:18 AM
i have problems with wxsim.
Importet the Data over WD to my Server but in http://www.synoy.de/template/plugins/wxSim/forecast.php no Data active.
I set the relative Path to latest.csv and plaintext.txt.
How can i show the Data?
Data are in httpdocs

Stefan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 08:55:46 AM
I dont see any problems, it works ok for me
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 20, 2016, 09:10:33 AM
Yes i have long play with, now works.
Another Question,is this possible the Forecast from wxsim (plaintext.txt) to tranlate?
There is a special plaintext-parser-lang-de.txt available on my other Site ot translate wxsim into german.
Ca you do the same with wxsim on your Template?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 09:26:43 AM
Hi,
the WxSim text forecast is only available in English
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 20, 2016, 09:30:35 AM
no changce for a programming into german? This is not uefull for german users who read these Forecasts
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 09:33:41 AM
No because I dont have WxSim meaning it is very difficult for me to work with it. And I spent ages just to get it working the way it is working now, it really is impossible to do it without having the software myself.

In addition, there are bugs in the log files which the developer has not fixed and also there is absolutely no documentation for the strings.
Title: Meteotemplate - New Plugin - Weather - METAR
Post by: Jáchym on August 20, 2016, 12:25:54 PM
New plugin - Weather METAR

Hi guys,

as I promised yesterday, here is a plugin similar to the block released yesterday. It shows current conditions loaded from METAR reports.

This is an alternative to the cityConditions plugin, however it is not a duplicate. It uses METAR reports, not Yahoo weather, this has some advantages as well as disadvantages. The advantage is much more reliable data and some extra parameters. The disadvantage is that not all data is available like in the Yahoo weather plugin - there is for example no information about the actual conditions (cloudy, sunny etc.) and there is for example no info about daily precipitation.

There is one new thing that I have never tried before and this is sort of the first experiment.... I spent quite some time experimenting with the Leaflet Map API, so this plugin does not use Google Maps, but uses Leaflet freeware maps. This has some advantages - for example you do not need an API key for this, there are some new layers available, I also added some very cool features such as turning globe, measuring distance tool, day/night visualization etc.

Main features:
- current conditions (temperature, humidity, pressure, dew point, apparent temperature, wind speed, wind gust) from METAR reports, grouped by countries
- additional info about stations (latitude, longitude, distance to your station, elevation, day/night time)
- data shown on a map, colored by values
- interactive globe to view current position
- map allows viewing day/night
- map measuring distance tool
- several map layers
- sortable tables
- summary table


Supported areas:
- Europe, Asia, Africa, Australia + Oceania, South America, Central America

As I mentioned, this is the first time I used this map and I will try to add some additional features to this plugin in the future such as extra map layers etc.

No setup required.

DEMO: http://www.meteotemplate.com/template/plugins/weatherMETAR/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 20, 2016, 03:37:42 PM
Quote
No setup required..
And working well http://www.komokaweather.com/j-template/plugins/weatherMETAR/index.php, other than a portion of the world not included :?

Thanks Jachym,

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 06:13:51 PM
Quote
other than a portion of the world not included

96% of world's population is covered

:D :D :D

LOL
But yes I know what you mean.... those two countries missing are a problem (obviously otherwise they would be included). I will see what I can do, I will try to add at least one of them (the one you would probably want) sometime in the future, but "the other one" is really a problem so not sure about that now. Plus there were several similar blocks/plugins for the US recently, which can work as an alternative to this.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 20, 2016, 06:25:21 PM
Out of interest
Quote
those two countries missing are a problem
what is the problem?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 06:31:56 PM
The problem is the amount of data.

Right now, the most METAR stations of all is I think for the UK, something around 150 and that already is just about the maximum possible.

Why?

If I disregard the fact that the table is infinitely long, then there is a much more serious problem in the memory limit for PHP. Many users have lower limits, including me and being on external webhosting I cannot increase them. An option would be loading it all in parts but - that would require substantial changes in the script and then you could run into a different problem - loading time and timing out of the script - again, something many people cannot change, plus you dont want to wait 30s for this to load.

If I remember correctly, the US had over 1300 stations...

The data is grouped by countries.

Basically I probably would be able to find a way, but it would not work with the mechanism it currently works, so it would mean I would have to make many changes for each of those countries, which would be very time-consuming and so I thought since there is already quite a few plugins/blocks that are the other way around - only work for the US and CA, this one (at least for now) will not include these.

Just want to emphasize this really is the real reason, it is not like I did this on purpose :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 06:40:17 PM
To make it simple...

For all the other countries, one part of the script could be fully automated.

For US and CA, this part of the script I will have to do completely manually and so will be very time-consuming. Canada, since it does not have as many as the US, is not so bad so I might try even that, but that was the reason why right now it is not included.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 07:11:29 PM
hmmm... ok just got another email asking for Canada.... so you got my word Canada will work, I guess this will be a long night considering it is already past 1 :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 20, 2016, 07:38:20 PM
Thanks for the explanation Jachym, and I thought it might have been the quantity.  And I know you have done quite a bit for North America in the past.  Was just asking if there might have been another cause.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 07:46:13 PM
No and I really should have made it clear it was not like "oh they've got enough already, lets just exclude CA and US" :D Dont worry,Im not like that :D But just try loading the UK, that is 1/10 of what is available for the us, so try multiplying the loading time by ten (it is linear)....unusable. Caching wont help either, you cant have the cache too old as this updates quite often and so the cache would have to be refreshed often.

I just had my regular 2AM snack, and this is the time of the day I am most productive, so I already started working on it :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2016, 10:18:15 PM
Ok it is ready but it is too late now so I will compile and release it tomorrow
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 21, 2016, 07:01:31 AM
Strange, I just tried the script on my server again and it works perfectly fine, but one user did send me an email with similar issues and a possible solution, I will look at it over the weekend.
Have you found any Solution for this?
Stefan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 21, 2016, 07:07:00 AM
No it must be something with server configuration,  try what Kurt suggested
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 21, 2016, 08:13:16 AM
No it must be something with server configuration,  try what Kurt suggested
Works now with PHP5.4 (as you described in WIKI) with 5.3 i had before works not.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 21, 2016, 08:30:22 AM
OK, that explains it, 5.3 is problematiic sometimes for certain things
Title: Meteotemplate - Plugin Update - Weather METAR 2.0
Post by: Jáchym on August 21, 2016, 09:37:18 AM
Plugin Update - Weather METAR 2.0

Hi guys,

the updated version of the Weather METAR plugin includes:

- auto-load of your country when page first loaded
- brand new map tiles including National Geographic maps, NASA night Earth map and many more
- support for Canada

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/weatherMETAR/index.php
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 21, 2016, 11:04:42 AM
Thanks Jaschym,
However the map does not come up for Canada, nor any data and says Data N/A http://www.komokaweather.com/j-template/plugins/weatherMETAR/index.php.  The other countries are fine.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 21, 2016, 11:12:15 AM
Paul, try re-downloading it, make sure you delete the entire original weatherMETAR folder and replace it with the new one.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 21, 2016, 12:12:49 PM
Hi Jachym,
Yes this works good =D&gt; http://www.komokaweather.com/j-template/plugins/weatherMETAR/index.php

The map array blocks have the images of Europe, but the actual map display is correct for Canada.

Does this mean the USA version will have 50 state selections (5 times the work)? :(

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 21, 2016, 12:19:44 PM
What do you mean by

Quote
The map array blocks have the images of Europe

You see the flags of whichever continent you click.


Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 21, 2016, 12:30:01 PM
Yes, all that works well.   Just the map image at the bottom left of the main map, when you hoover over it it is faint but appears to me to be Europe.  No issue as when click on any of the map blocks it does show correct for Canada on the main map.  Likely just the selection of icons that popup.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 21, 2016, 12:33:58 PM
Oh I see, yes those are fixed images meant as icons of possible map tiles. It is not interactive, it is a fixed image that just shows an example of what that particular map type looks like. When you then click it, it changes the actual map.

There are quite a few to choose from including National Geographic maps, NASA night Earth maps or normal OSM maps.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on August 21, 2016, 03:33:36 PM
I've been away for 3 weeks and came back to find a whole mess of new and updated plugins and blocks, great work Jachym!

Just installed the weatherMETAR plugin and noticed that once you are on that page when you click on any of the menu items the map covers the bottom portion of the menu choices!

See screen shot below
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 21, 2016, 06:20:13 PM
Hi,
thanks for spotting this. Yes, as I mentioned in my earlier post, this was the first time I tried experimenting with the Leaflet Map API, it has some cool features, but also some disadvantages compared to Google Maps, so I will probably in the future use both depending on what I need (I dont plan on replacing google maps with this in already existing scripts, it would not be possible in all cases and also the code is quite different so it would take me quite some time to rewrite it and the daily quota for google maps is 25000 loads, which is absolutely sufficient for everyone). But one thing I obviously did not know and notice is that the Leaflet map probably has a high "z-index", which represents how "on top" it is. So the menu is now below.

This should not be a big deal to fix, I will look tomorrow and update it, there is one more thing I need to change, currently everyone who sets their country to "Canada" has by default loaded Ontario :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 21, 2016, 09:49:44 PM
Quote
currently everyone who sets their country to "Canada" has by default loaded Ontario (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
"There's No Place Like This"

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2016, 05:06:21 AM
LOL, yes I understand you like that Paul, but I will still probably make this configurable :D
Title: Meteotemplate - new block/updates.... -71­°C / -95F
Post by: Jáchym on August 22, 2016, 08:43:47 AM
Block Update - METAR weather 2.0

Updated version includes support for Canada.

New Block - ...... surprise

I thought it is time to have a little bit of fun and so I created a new block, definitely not something for those who want especially regional weather information. Data updated once a day.

More info: http://meteotemplate.com/blog/?p=991

Enjoy ;-)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 22, 2016, 12:23:35 PM
Hi Jachym,
Updated/added, and looks/works good.

Just a little display glitch.  in metarWeather when selecting Canada the Province pulldown pops up and that all works well.  Then if selecting another country in the same America section the Province selection still shows up and a pull down shows the Canadian provinces, but the data is ok for that other selected country.  However if selecting another region i.e. Europe after having selected America then the Province pull down disappears and the block works as expected.

It will most likely affect Canadian users who have Canada as default.  If changing from say Europe to America region then selecting on any country other than Canada the Province pulldown doesn't popup, which is correct.


Paul
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on August 22, 2016, 12:28:51 PM
like the new surprise block.

looking good
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2016, 02:05:26 PM
Thanks for letting me know Paul, I will look at it.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 23, 2016, 05:18:08 AM
Hi
In the Contact Formular is the signature slip to the left.
How can i fix this?

(http://www.synoy.de/images/contact.PNG)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2016, 06:54:49 AM
Hi Stefan,
the problem is caused by the translated string, it does not fit well because the German text is longer and I didnt realize this because at the time I was developing it there was no German translation.
I will make adjustments to the scipt and update it probably later today or tomorrow.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 23, 2016, 06:57:57 AM
Ok i will look at this in your Blog if you tell this there.
Thanks Stefan
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 23, 2016, 07:11:23 AM
Another Qestion.
Is possible to remove the dropdown menu of the home page?
(http://www.synoy.de/images/menue.PNG)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2016, 07:27:08 AM
which drop-down menu?
Title: Meteotemplate - Block update - US Regional Warnings
Post by: Jáchym on August 23, 2016, 07:42:29 AM
Block update - warningsUSRegions 3.0

Hi guys,

I have updated the US regional warnings block. In version 3.0 it is now possible to set multiple locations to check the warnings.

Simply set as many zones as you want (however bear in mind that more zones = longer loading time, so I do not recommend setting more than 5) and separate them by a comma in the block settings page.

If you are updating this block, make sure you replace all the files and also that you delete all files in the cache directory of that block. Otherwise it will not work because the previous format of the cache file is different.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions

I have particularly chosen two locations that just happen to have a warning right now for the demo and set the cache time for very long so that you can see it in action.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 23, 2016, 08:12:29 AM
These here see Picture
(http://www.synoy.de/images/menue1.PNG)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2016, 08:14:27 AM
This is because you created a menu block.

Either use a normal block or if you want menu block then this menu symbol is for switching the menu blocks
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 23, 2016, 08:23:21 AM
How to set a normal block?
there is 2 Options: menuBlock(block1;block2;block3) or multipleBlock(block1,width1;block2,width2)
no find normalBlock
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2016, 08:31:13 AM
Aha, I see. You need to look in the wiki.
A normal block is simply the name, nothing else.

Example:

current
gauges
radarEU

...
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 23, 2016, 08:39:30 AM
ok many thanks
Title: Meteotemplate - block/plugin updates
Post by: Jáchym on August 23, 2016, 12:35:46 PM
Hi guys,

finally had time to finish a few updates and one new block.

New Block - Radar Australia - regional

a new region-specific block is now available, this time for Australia. This block shows an animated regional radar image. Follow the instructions in the setup. The time should be converted to your station timezone.

Note: in the demo I intentionally increased the cache interval to 1 hour so the image will be a bit outdated in order to decrease load on the server, your image will update more often (10 minutes, which is how often the images are updated)..

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarAURegional

Plugin/block Update - METAR weather


I updated the block and plugin for the METAR weather.

Update of both includes:
- support for all states in the U.S.
- bug fixes

Make sure that while updating it, you also delete the entire cache directory. The requirement for setup will only display to users from Canada and U.S. who need to set their default province/state.

DEMO Plugin: http://www.meteotemplate.com/template/plugins/weatherMETAR/index.php
DEMO Block: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=metarWeather

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 23, 2016, 05:56:29 PM
All updated!

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 23, 2016, 06:06:56 PM
Thanks for letting me know Paul, I fixed that problem you mentioned, the updated file should now be fine.
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 24, 2016, 05:36:55 AM
Hi
In the Contact Formular is the signature slip to the left.
How can i fix this?

(http://www.synoy.de/images/contact.PNG)
Have you a Chance today for fix this?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 05:41:17 AM
Hi,
no not yet, I had/have too much work in my normal job currently, I will do it when I can.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 07:29:25 AM
There you go Stefan :)

http://meteotemplate.com/blog/?p=1000
Title: Re: Meteotemplate - new free website template
Post by: johnny on August 24, 2016, 10:07:37 AM
Hi Jachym,
Regarding the indoor conditions block, i was wondering if it is possible to keep records of the indoor values and store them in the server database, so i can call them any time i want just like the Station data block where we are able to check the average and extreme values in a specific period. Is there possible to include it in that block, or at least, have the option to review it in statistics or history section?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 10:33:58 AM
Hi Johnny,
I mentioned this in the past, there are several complications with this:

First, it would have to be a separate database, because many people don´t use this and no matter if you have data or not, if it was included in alldata table, it would slow down everything significantlly.

Second, I personally don´t see much point in tracking this, there is nothing really interesting, I mean - if you have a higher average it just means you turned up the thermostat :D
Title: Re: Meteotemplate - new free website template
Post by: johnny on August 24, 2016, 11:45:51 AM
Hi Johnny,
I mentioned this in the past, there are several complications with this:

First, it would have to be a separate database, because many people don´t use this and no matter if you have data or not, if it was included in alldata table, it would slow down everything significantlly.

Second, I personally don´t see much point in tracking this, there is nothing really interesting, I mean - if you have a higher average it just means you turned up the thermostat :D
I think it's better to quit this project from my mind... :-( Perhaps you 're right, it doesn't make any sense either i can keep records or not...
Thank you anyway Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 11:47:59 AM
It could work like the snow plugin, that also has a separate mysql table, so theoretically yes, you would have to tell me how you wanted to use that info and also based on that I would need to create some page that actually uses that table.
Title: Meteotemplate - New Block
Post by: Jáchym on August 24, 2016, 12:42:46 PM
Hi guys,

(http://i66.tinypic.com/245lrfr.png)
New Block - Trivia 1.0

I created a new block which shows interesting facts about weather, astronomy etc. There is a default set of strings, but you can easily modify them by simply changing the string text files.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=trivia

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: johnny on August 24, 2016, 01:28:34 PM
It could work like the snow plugin, that also has a separate mysql table, so theoretically yes, you would have to tell me how you wanted to use that info and also based on that I would need to create some page that actually uses that table.
Sure, if it's possible why not? I am interested only for min,max and average values of temperature and humidity in a single 24h length and, further for a month and entire year. The table is not needed to be updated as often as the one for meteotemplate does...
Thanks in advance!
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 24, 2016, 04:09:36 PM
I am trying to figure out why my METAR weather block is giving me the "Data NA" message.
 [ You are not allowed to view attachments ]
Completely deleted and re-installed.  Set perms on folders and files to rwxrwxr--

No go.

Also, in the cache folder the value of US.txt is "null." if I click on the North America icon, then the US flag icon, all the values appear.

Maybe I don't understand how it is supposed to work?  Ideas??

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 05:38:36 PM
US.txt should not exist, the cache files for US should have the format "usXX" where XX is state abbreviation.

Can you send me a link to your site?
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 24, 2016, 05:57:55 PM
What?? You don't have all of them memorized??!!  :lol:

www.kpw3.com/meteo (http://www.kpw3.com/meteo)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 24, 2016, 05:59:27 PM
NOGBS, I got your metarWeather block to work http://www.kpw3.com/meteo/indexDesktop.php (http://www.kpw3.com/meteo/indexDesktop.php)  When I first tried it it said Data N/A but after clicking on another country and then USA it worked.  Your WeatherMETAR plugin doesn't give me a dropdown for selecting states, just defaults to Maine.  Try re-downloading both the blocks and plugin as I think there was a little change made since the initial release.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 06:01:57 PM
The plugin works perfectly fine, no Data N/A when I loaded it, any state loads fine too 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 24, 2016, 06:09:34 PM
And here I thought I knew all about Meteotemplate :oops:
You have to click on the Region Map and then Country Flag, and all works =D&gt;

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 06:17:05 PM
Now, I have a little question or a little task for you all...

Does anyone know about a page that would have a list of all METAR stations? What I need is a list of the METAR abbreviations along with the name of the station, its coordinates and optionally elevation.

The problem is that there are many on the internet, but they all seem to come from the identical source which is from around 2003 and I noticed that quite a few stations are missing.

For example these identifiers (and many more) were not on any of those lists:
OTBH, MGTU, MMPQ, SECA etc etc
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 24, 2016, 06:32:16 PM
Now, I have a little question or a little task for you all...

Does anyone know about a page that would have a list of all METAR stations? What I need is a list of the METAR abbreviations along with the name of the station, its coordinates and optionally elevation.

The problem is that there are many on the internet, but they all seem to come from the identical source which is from around 2003 and I noticed that quite a few stations are missing.

For example these identifiers (and many more) were not on any of those lists:
OTBH, MGTU, MMPQ, SECA etc etc

I'm sure you have seen this.  It's the one I was using but I'm thinking it's probably outdated and not complete.

http://www.weathergraphics.com/identifiers/master-location-identifier-database-20130801.csv

Or

http://weather.rap.ucar.edu/surface/stations.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 06:36:26 PM
Hi Jeff,
thanks, unfortunately yes, this is exactly the one I have already (and you too... in your weatherMETAR plugins directory :D), but if you try searching for the examples of METAR codes I gave in my previous post, you wont find them, however when you google them specifically you do find the location name etc. And looking for each missing one individually and adding it to the list would be extremely time consuming and Im thinking that the pages that you find on Google that do have this in their db also have to have that list from "somewhere"
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 24, 2016, 06:46:03 PM
Hi Jeff,
thanks, unfortunately yes, this is exactly the one I have already (and you too... in your weatherMETAR plugins directory :D), but if you try searching for the examples of METAR codes I gave in my previous post, you wont find them, however when you google them specifically you do find the location name etc. And looking for each missing one individually and adding it to the list would be extremely time consuming and Im thinking that the pages that you find on Google that do have this in their db also have to have that list from "somewhere"

Open the CSV file in the first link.  I saw MMPQ and MGTU.  Maybe I'm not looking at the right thing?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 07:02:43 PM
OK I see you edited your post, I was looking when there was just link to the text file.

I tried the CSV, but unfortunately, it is probably quite a big one and when I opened it, my laptop froze so I had to reboot and I will rather not try again. I will leave it for tomorrow and look from my PC in my office.

Thanks for helping out
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 24, 2016, 07:12:00 PM
and https://www.aviationweather.gov/docs/metar/stations.txt has MMPQ and SECA

Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 24, 2016, 07:13:46 PM
OK I see you edited your post, I was looking when there was just link to the text file.

I tried the CSV, but unfortunately, it is probably quite a big one and when I opened it, my laptop froze so I had to reboot and I will rather not try again. I will leave it for tomorrow and look from my PC in my office.

Thanks for helping out

Anytime!  Hope it's helpful.  It is a huge file with many stations listed and a lot of other data.  I it still proves to be too large, I can send you a sample and then maybe remove the data you need and make the file smaller and more useable.  Just let me know.  Have a good night!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 24, 2016, 07:33:50 PM
Thanks, I appreciate your help, its ok though, I will convert the CSV to a normal txt file tomorrow at work and even my damn old laptop can still handle text files :D Its not urgent.
Title: Meteotemplate - Newsletter Aug 25, 2016
Post by: Jáchym on August 25, 2016, 06:56:23 AM
Hi guys,

I just released a new newsletter, which includes information about all recently released/updated plugins and blocks.

Newsletter: http://meteotemplate.com/blog/?p=1006
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2016, 12:37:47 PM
OK Jeff, I looked at the CSV and it is amazing! It has even more than I thought it would have, most importantly, it even has a timezone, which will allow me to add local time :-)

Now only one little problem... the person who was saving this used incorrect encoding which means that some symbols/letters are replaced with just a "?" (many of the Czech names and also other languages).

So now the question is if we can find the same file from a different source where the symbols are ok...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2016, 12:49:47 PM
If anyone is going to look for it, then a simple check would be finding for example this Czech station in the file:

Quote
Tabor|M?šice;Airport

and in this particular case it should be:

Quote
Tabor|Měšice;Airport

or at least

Quote
Tabor|Mešice;Airport

The same problem is for many letters that are not in the English alphabet (in the Slavic languages, Arabic etc.)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 25, 2016, 02:38:59 PM
The plugin works perfectly fine, no Data N/A when I loaded it, any state loads fine too
So am I safe to assume that "Data N/A" is normal until I select a state? That is what I see in all browsers after clearing the cache.
If that is the case, why chose a default state in the setup?

Thanks,

--Kurt

(Thanks for your input too, Paul.)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2016, 05:59:03 PM
No thats not normal, it should show the default state when loaded first. This would suggest you incorrectly set your default state.

I just looked at your plugin and I see no data N/A, I see normally working site, default state loaded

http://www.kpw3.com/meteo/plugins/weatherMETAR/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 25, 2016, 06:04:21 PM
OK, I see, you mean the block, the problem is there is no state specified, this is what I see:

Code: [Select]
state=""
check the settings.php that was created for that block in the block folder
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 25, 2016, 09:57:27 PM
OK, I see, you mean the block, the problem is there is no state specified, this is what I see:

Code: [Select]
state=""
check the settings.php that was created for that block in the block folder
Here is what is in settings.php:
Code: [Select]
// metarWeather settings file
// Version: 3.0
// Created: 2016-08-25 14:37:15

$defaultProvinceCA = '';
$defaultUSState = 'ME';
Does it need to be lower case?  (me)
Title: Meteotemplate - bug fixes
Post by: Jáchym on August 26, 2016, 05:31:19 AM
Hi guys,

noticed a few bugs so I updated the following blocks and plugins, update should be very easy, just replace all the files.

Plugin updates:

Earthquakes 2.4 - fixed issue with map being hidden
City Conditions 2.3 - fixed issue with map being hidden

Block update:

METAR weather 3.1 - fixed bug with default US state not shown correctly (only affects users from the U.S.)
Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 26, 2016, 07:47:40 AM
Jachym Hello, I want to ask and reflect UV radiation in the template, since the station Weather Display and measure it, because I find the variable.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2016, 07:55:08 AM
Hi Juan,
I am not sure what you mean, but UV is included in the Current and Gauges block if you set it to WD and enable it in the block settings.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 26, 2016, 11:18:28 AM
All up to date, and working.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2016, 11:55:46 AM
Good to know Paul, thanks ;) as always :)
Title: Re: Meteotemplate - bug fixes
Post by: N0BGS on August 26, 2016, 12:19:23 PM
Hi guys,

noticed a few bugs so I updated the following blocks and plugins, update should be very easy, just replace all the files.

Block update:

METAR weather 3.1 - fixed bug with default US state not shown correctly (only affects users from the U.S.)
Enjoy

That's done for me, Jachym.  Working.

Thanks,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2016, 12:27:35 PM
Yes I know, there was a typo, sorry about that... should be ok now.
Title: Re: Meteotemplate - new free website template
Post by: juppie on August 26, 2016, 12:30:24 PM
Hello Jáchym

On this page, it works
Example: http://wetter-lehmschlenke.de/template/pages/other/aboutLocation.php

Please use the link "Zeige AKTUELLE DATEN von WETTERSTATION"on the page


Script:
<p align="center"><a href="http://www.eusotec.de/data/eusoport/values_request.php?sn=deb883749&newPage=http://wetter-lehmschlenke.de/template/pages/other/aboutLocation.php" >Zeige aktuelle Daten von Wetterstation</a></p>
<html>
 <head>
 </head>
 <body>
 <pre>
  <script type="text/javascript">
    var arg = window.location.href.split("=");
    var values = arg[1].split(";");   // get values

    // date/time format: dd.mm.yyyy_hh:mm:ss
    document.writeln("Aktuelle Daten vom bitte die Zeit +2h nehmen: ",values[0].substr(0,10)," - ",values[0].substr(11,8));

    document.writeln("Boden-Temperatur +5 cm:  ",values[16]," °C");
    document.writeln("Boden-Temperatur -10 cm: ",values[15]," °C");
    document.writeln("Boden-Feuchte -10 cm:    ",values[42]," cb");
    document.writeln("Blatt-Feucht:            ",values[46]," idx");
    document.writeln("Innen-Temperatur:        ",values[2]," °C");
  </script>
 </pre>
 </body>
</html>




I want to use the script for a blankBlock.
When I call up the data in a block - example: http://wetter-lehmschlenke.de/template/indexDesktop.php ( The block is left up on my page)- the data in the block are written but it opens a new page.


Greeting juppie





Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2016, 12:41:35 PM
Where are you getting the data from? It looks like it is trying to get the data from URL, which is not going to work in a block because it is loaded by Ajax
Title: Re: Meteotemplate - new free website template
Post by: juppie on August 26, 2016, 01:48:07 PM
Yes, the data is loaded from a URL.
I have another side for my eusoport.

http://www.eusotec.de/data/eusoport/astart.php?sn=deb883749&key=&nopic=
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2016, 01:51:44 PM
This will not work like this, I mean it probably can work, but not using the script you are currently using.

You would need a customized script for that and so you have to tell me where you get the data that you want to display. What you posted is just a link to a page that already shows the data, but where does it come from.
Title: Re: Meteotemplate - new free website template
Post by: juppie on August 26, 2016, 02:17:10 PM
I don't know where the data is coming from.
There I'll do me thoughts.
I'll even in the Forum at eusotec ask for.

Thanks for the effort

Greeting juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 26, 2016, 08:08:26 PM
OK, if you know where it comes from then I can see if anything can be done and used.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on August 27, 2016, 09:20:48 AM
Thanks Jachym, was confused and thought that was the data the database server is already solved.

I want to ask about the plugin WebCam, and is working properly but the images that are sent to the server, not occupy much space?, Or after a certain time they are erased.

Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2016, 09:44:20 AM
Hi,
so what exactly is the problem with the UV?

Webcam images - yes they are saved on the server, where else would you want to save them :D :D :D
But if you have limited webspace, then simply delete them directly from the folder using your FTP client. They are saved inside the webcam plugin directory. But they are not deleted automatically because many people have unlimited webspace and want to keep the images and those who do not, like you, can easily just delete them in FTP.

Title: Meteotemplate - Plugin update - Weather Records 3.0
Post by: Jáchym on August 27, 2016, 10:38:02 AM
Plugin Update - Weather Records 3.0

Hi guys,

I have updated the Weather Records plugin.

In version 3.0 there is now not just temperature records, but also many world records for precipitation, snowfall, deadliest tornadoes, highest wind speeds, lowest pressure, hail etc.

DEMO: http://www.meteotemplate.com/template/plugins/weatherRecords/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: vreihen on August 27, 2016, 12:28:33 PM
Can I make a new feature request?  I would like to see a gold star in the site banner, that turns on and off with no pre-shared logic other than chimpanzees and dart boards.....  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2016, 12:30:57 PM
Noted down on my to-do list.

Expected release of this feature: Apr 1st, 2017

;)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on August 27, 2016, 12:43:45 PM
LOL !
Title: Re: Meteotemplate - Plugin update - Weather Records 3.0
Post by: SpringHillWeather on August 27, 2016, 07:01:24 PM
Plugin Update - Weather Records 3.0

Hi guys,

I have updated the Weather Records plugin.

In version 3.0 there is now not just temperature records, but also many world records for precipitation, snowfall, deadliest tornadoes, highest wind speeds, lowest pressure, hail etc.

DEMO: http://www.meteotemplate.com/template/plugins/weatherRecords/index.php

Enjoy

Thank you for the updated plugin, working good.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2016, 07:04:15 PM
Some of the records are hard to believe... I cannot imagine some of the precipitation maximums...
Title: Re: Meteotemplate - new free website template
Post by: SpringHillWeather on August 27, 2016, 07:11:27 PM
Yes, some are hard to imagine.

Max wind (Doppler)
301mph
Moore, Oklahoma (US)
May 03, 1999

I guess this was an F5 back then?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 27, 2016, 07:17:25 PM
Yup...

Quote
The May 3, 1999, tornado that hit Moore and nearby areas, which was rated an F5 on the Fujita scale, was the most costly tornado in history at the time (not adjusted for changes in inflation and population). The tornado, which occurred during the 1999 Oklahoma tornado outbreak, had an approximate recorded wind speed of 301 mph (484 km/h) as sampled by mobile Doppler radar, the highest wind speed ever recorded on Earth. It left a swath of destruction over 1 mile (1.6 km) wide at times, and 38 miles (60 km) long. It killed a total of 36 people in the Oklahoma City metropolitan area. This was the deadliest F5 tornado recorded since the Delhi, Louisiana tornado in 1971 until this mark was eclipsed by several tornadoes in 2011.
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on August 28, 2016, 04:11:03 PM
Hi Jachym,

   i have a frech copy of the version and it show this kinda weird page... Did i miss something? :(

http://www.meteostalphonse.com/template/indexDesktop.php

Thanks

Steven
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 28, 2016, 04:15:23 PM
Hi Steven,

looking at the errors in the console, most likely you are missing a slash in the path:

You probably have in setup:

path: "template"

There has to be a slash at the end, like this>

path: "/template/"
Title: Re: Meteotemplate - new free website template
Post by: Météo Québec on August 28, 2016, 04:38:27 PM
Hi Steven,

looking at the errors in the console, most likely you are missing a slash in the path:

You probably have in setup:

path: "template"

There has to be a slash at the end, like this>

path: "/template/"

Right on :)

Thanks very much for your fast response Jachym!!!

Truly,

Steven
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 28, 2016, 04:41:33 PM
Great, let me know if there is any other problems, hope you like Pineapple :D
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 29, 2016, 07:59:43 AM
I have tested this Template on a other Domain and now i will it move to the rigth Domain.
What should I note to flawlessly move this?
So that all data then back are on the new domain. Without "/template"  only /

Stefan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 29, 2016, 08:13:42 AM
Hi Stefan,
when transfering to a different domain/URL, you just have to do the following:

1. make sure the MySQL details are the same (if not, change them accordingly)
2. change pageURL and path parameter in the setup to reflect new URL
3. make sure paths to files are correct (make sure that for example the path to the update file is correct - clientraw/realtime/ etc. or in case of Meteobridge, make sure the right address is in the control panel)
4. change CRON job URLs accordingly
Title: Re: Meteotemplate - new free website template
Post by: Kylo on August 29, 2016, 08:27:51 AM
Hi Jáchym,

I have changed the template in the Root folder. It works, but any graphics not show .The path is correct like: http://bswetter.de/icons/settings.png but is no showing.
Any Idea ? Or better a full new install in root path ?
 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 29, 2016, 08:36:21 AM
Hi Jáchym,

I have changed the template in the Root folder. It works, but any graphics not show .The path is correct like: http://bswetter.de/icons/settings.png but is no showing.
Any Idea ? Or better a full new install in root path ?

Hi Klaus,
I know exactly why that happened. Please go to the wiki and in part C (Configuration), read very carefully the red box:

"NOTE FOR LINUX APACHE SERVERS!!!"

Your new server is probably Linux and so you will need to follow the instructions in that info box.
Title: Meteotemplate - new plugin - Bio Indexes
Post by: Jáchym on August 29, 2016, 08:38:41 AM
(http://i67.tinypic.com/eitjx5.png)

New plugin - Bio Indexes

Hi guys,

one of you suggested to me to make a plugin for calculating various bio indexes which try to reflect the level of comfot/discomfort based on the combined effect of air temperature and humidity.

This plugin therefore does exactly that – you can calculate the various indexes and it will also show you what that particular value means.

Main features
- heat index calculation
- summer simmer index calculation
- Scharlau winter index calculation
- Scharlau summer index calculation
- humidex calculation
- relative strain index calculation
- Thom's discomfort index calculation
- definitions and categories for each index

No need to set up, just upload to your plugins directory and update your menu.php.

DEMO: http://www.meteotemplate.com/template/plugins/bioIndexes/index.php

Enjoy
Title: Meteotemplate - Block update - Rain 3.0
Post by: Jáchym on August 29, 2016, 10:31:39 AM
Block Update - Rain 3.0

Hi guys,
a little update for the Rain block. The new version shows the numbers as an animated gauge (circular gauge with animated wave effect).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=rain

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on August 29, 2016, 01:31:12 PM
Hi Jachym,
I remember when you first discussed a little over a year ago changing your old website, that you customized for a few other users, and making a new template and had many ideas for plugins and I think you mentioned like 60 or 70.  And I thought, yes Jachym is very talented and ambitious, with just a little exaggeration...  I am now at 100 plugins and 107 blocks and all up to date once again :lol:

I like the updated rain block...

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 29, 2016, 01:35:26 PM
:D yes I guess the conclusion is Im under estimating myself right :D :D :D

And I would never imagine that in a yr´s time there would be 250 users (just added 2 new today, 2 new yesterday....)...
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 29, 2016, 03:52:15 PM
Hi Stefan,
when transfering to a different domain/URL, you just have to do the following:

1. make sure the MySQL details are the same (if not, change them accordingly)
2. change pageURL and path parameter in the setup to reflect new URL
3. make sure paths to files are correct (make sure that for example the path to the update file is correct - clientraw/realtime/ etc. or in case of Meteobridge, make sure the right address is in the control panel)
4. change CRON job URLs accordingly
It works perfectly thanks Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 29, 2016, 04:12:05 PM
OK great, can you just post your new URL so that I can change it in the user map
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 29, 2016, 04:43:20 PM
Hi,
www.wetterstation-johanngeorgenstadt.de
(since 2010)
 Now its Bedtime, thank you!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 29, 2016, 04:46:24 PM
Thanks and good night :-) For me the "meteotemplate time" just about begins now :D
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on August 29, 2016, 04:54:08 PM
I had forgotten to ask, it is possible in the current conditions (or today report), the current snow height installed, so in addition to wind and rain, etc.
This is important for the Winter.
Perhaps switched off for who Users do not want (i want if its possible)
Title: Re: Meteotemplate - new free website template
Post by: Kylo on August 29, 2016, 05:16:26 PM

Hi Klaus,
I know exactly why that happened. Please go to the wiki and in part C (Configuration), read very carefully the red box:

"NOTE FOR LINUX APACHE SERVERS!!!"

Your new server is probably Linux and so you will need to follow the instructions in that info box.

Thanks Jáchym, it´s OK now with index.html link ! http:bswetter.de (http://http:bswetter.de)  \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 29, 2016, 06:13:02 PM
The snow can be logged using the Snow plugin, but it uses a different mySQL table and is optional, so it is not included in the files that are part of the core template.

The blocks and plugins have one common feature - they are independent, which means you can use any combination of them. Sometimes this also means that you have to set the same thing twice, but that is necessary because someone might only use one of them. And also, there could be users who do not have the other plugin/block installed in which case it would show an error.
Title: Meteotemplate - Plugin Update - Weather METAR 4.0 - View the whole world!
Post by: Jáchym on August 30, 2016, 09:47:19 AM
Plugin Update - Weather METAR 4.0

Hi guys,

I updated the Weather METAR plugin.

It now includes something I have always wanted to achieve but it was problematic. What it is is simply loading and viewing current data for the whole world. Technically it is a problem mostly because of loading time. If you have several thousand stations you cannot load each one separately.

Finally I found a way. This new page loads raw METAR data directly from the NOAA ftp. Then it processes it and views it in an interactive map, just like it does for the country page (which is still included). You can filter out and visualize and color-code stations by temperature, humidity, wind speed, pressure, distance from station, sort the data etc. You can view day/night, and in this new page you even see cloud layers and weather conditions and local time.

There are of course certain disadvantages as well. First of all - this is as I said, raw data and so not all stations are always available. The data is updated once every hour. When the cache is refreshed it might take about 10s before it is finished. Also keep in mind that when viewing the entire world, it will take time - this is not because of the server but will depend on how powerful your PC is - it needs to render several thousand of points in the table and on the map, which obviously takes up quite some resources.

You can view data by countries, continents, the whole world, certain radius from your station etc.

Tables can be sorted so you can find the currently coldest/warmest place on Earth (from the data available of course), windiest and much more. Also, once the cache is refreshed, all countries, continents etc. will load instantly (depending on computer power) because the cache includes the whole world.

There is definitely lot of potential for future additions and I already have several ideas how to improve this.

In addition this update includes some minor bug fixes and tweaks.

DEMO: http://www.meteotemplate.com/template/plugins/weatherMETAR/worldIndex.php

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: tstorm on August 30, 2016, 02:13:45 PM
Thanks for the updated weatherMetar plugin.  One thing that's interesting is that the raw metar's from the NOAA ftp site don't include the major airports for the US (ex Chicago, Atlanta, New York City, Washington DC area to name a few).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 30, 2016, 06:05:25 PM
There is also one more thing, I noticed that what they do is they dynamically update the file, what I mean is this:

Imagine that the update time is at 2PM.

Then at 2PM the first station reports. The text file is created with the 2PM timestamp. Then in the next couple of minutes, more and more stations report and they update the text file, which therefore grows and grows. I originally tried always searching for the latest available file, but I had to hard-code a 20-minute delay because when I loaded it eg. 5 minutes after full hour, it only contained about 1/4 of the stations.

So maybe for some reason these stations have a longer delay.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 30, 2016, 06:08:22 PM
or...

there are two additional mechanisms:

1. checking METAR validity - if for some reason the METAR is badly formatted, it is skipped to prevent error during decoding
2. checking data availability - often a station only shows date, time, station id and coordinates, which is useless so it checks that at least one of the parameters (temperature, dew point, wind speed etc.) is available

The entire file when complete has cca 4MB, I can send you a link to it and you can check some of the older files (to make sure they are complete) and see if you can find the ICAO there
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 30, 2016, 06:29:55 PM
OK I think I found out why....

this is going to be tricky...

so if you look at for example today's file from 12PM:

http://eoas.fsu.edu/rawdata/metar/20160830/2016083012.metar

The problem is that as you will see, the file is very messy. Lot of blank spaces, various formats, missing data, some are really weird codes...

Well and I checked the ones you mentioned and they are in fact there so there is some problem in the script that I didnt notice (because the EU airports seem to work fine)

I will look into it, but not now, I need to do this in my office after working hours because there is no way I can run this script on my laptop at home :D It freezes after about 5 s :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 31, 2016, 08:39:15 AM
there is no way I can run this script on my laptop at home :D It freezes after about 5 s :D

Maybe time to upgrade.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 31, 2016, 08:55:20 AM
there is no way I can run this script on my laptop at home :D It freezes after about 5 s :D

Maybe time to upgrade.

I appreciate all you do Jachym!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 09:05:38 AM
there is no way I can run this script on my laptop at home :D It freezes after about 5 s :D

Maybe time to upgrade.

Its been time to upgrade for about 5 yrs now... it is unbelievable what that laptop managed to do... i mean I got it when I was at high school, even back then it was one of the lower-end Acer laptops with 1GB RAM and slow 60GB HDD. And I used it my entire High School, then 5 yrs at the Uni and now another 2 yrs.
90% of Meteotemplate was done on it, the remaning 10% would be in my office where I sometimes stay after working hours, mostly because my laptop is so slow it does not even manage XP so I use Linux at home and sometimes I need to test something in Windows so I have to use the PC in my office (which is just a regular office PC with i3 and 4GB RAM).

But as I said, it is unbelievable - it has never been in service, never a single hardware problem except that the battery now lasts about 10 seconds, but thats logical given how old it is and given there were days when it was on for 16h/day.... (during exam periods, before my state exams etc.).

Yes it is slow, but it is now much better. 2 yrs ago I uninstalled XP and I have the lightweight version of Linux now - Lubuntu - which needs much less resources. The only problem is with Chrome. The browsers these days are more and more demanding and it now takes up almost all my RAM, which is why I sometimes cannot load certain sites. I must make sure I never open more than 2 tabs, otherwise it freezes and if I use internet I can only have one additional program running (usually Notepad++ :-) But it still works :) And to certain extent it helped me too - on one hand I could say that it is very limiting at times because I cannot use any of the fancy PHP editors like PHP Storm, Netbeans etc. which greatly help you with automating things, checking for bugs etc. On the other hand, given I have to do everything myself in Notepad++ it was useful to me because remember that I am still learning a lot and I just began programming as a hobby yr and half ago. So I know every single line of the code and the only downside is that things sometimes take a bit longer. But you get used to waiting 30s for programs to start after time :-)

There is only one single thing that I really cannot find an alternative for and that was TeamViewer. Several times users asked me for support and needed help and because they were sometimes running it locally the only way I could help was if I was able to stream their desktop, which is something my laptop would never handle. In such case however we again simply found time when I could stay longer in my office and I did it from there.

There is always a way. Similar for the mobile version of the site. Im sure you remember when many people were asking for it and I said I cant do it because given I do not have smartphone or tablet, there is no way for me to test and the online emulators are not very reliable. But even that was later possible because several users helped me with testing and sent me screenshots of what they see on their phones :-) - just took a bit longer, but it more or less works.

 :-) :-) :-)

You must always use whatever resources you have and as I mentioned above, there are always pros and cons to everything, so just try concentrating on the pros :-) No point in me feeling frustrated every day about how I need a new PC etc or even giving up on things, if I did that, there would be no Meteotemplate at all
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 09:30:59 AM
there is no way I can run this script on my laptop at home :D It freezes after about 5 s :D

Maybe time to upgrade.

I appreciate all you do Jachym!!!

Thanks Jeff, Im glad when people find it useful
Title: Meteotemplate - New Plugin - Solar System
Post by: Jáchym on August 31, 2016, 10:01:11 AM
(http://i68.tinypic.com/10ro19t.png)

New plugin - Solar System

Hi guys,

a new astronomy-related plugin is now available. This plugin, called simply the Solar System, give some general information about the Sun, the Moon and the eight planets, including an animated solar system visualization and a table with detailed planets data and descriptions of what each parameter means.

Main features:

- description of planets and Sun and Moon
- table comparison of planet parameters
- animated solar system visualization

Just place in your plugins directory and update your menu.

DEMO: http://www.meteotemplate.com/template/plugins/solarSystem/index.php

Enjoy
Title: Re: Meteotemplate - New Plugin - Solar System
Post by: vreihen on August 31, 2016, 12:26:54 PM
This plugin, called simply the Solar System, give some general information about the Sun, the Moon and the eight planets, including an animated solar system visualization and a table with detailed planets data and descriptions of what each parameter means.

Can you please make an alternate version of this plugin for us planet-change deniers who still count nine planets in the solar system?????  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 12:54:17 PM
I was curious if someone is going to ask about Pluto :D

Well the problem is that the template would then be inaccurate.... Pluto is not a planet, and it does not satisfy the criteria for being a planet (btw. it was decided that it is not a planet a few yrs ago in Prague ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 12:56:36 PM
And just curious... why do you deny this?

I mean this reminds me of the global warming issue and I sort of have a feeling people sometimes just have to be in opposition :D But in this case, unlike the global warming which is harder to prove, I dont really see why you "deny it". It was us humans who set the criteria for a planet and later found out one of them is in fact not a planet, thanks to our more accurate measurements, so unlike the global warming, there is not really any doubt about this, we, humans set the criteria so whatever we decide satisfies them, is what is a planet.
Title: Re: Meteotemplate - New Plugin - Solar System
Post by: SpringHillWeather on August 31, 2016, 01:07:28 PM
(http://i68.tinypic.com/10ro19t.png)

New plugin - Solar System

Hi guys,

a new astronomy-related plugin is now available. This plugin, called simply the Solar System, give some general information about the Sun, the Moon and the eight planets, including an animated solar system visualization and a table with detailed planets data and descriptions of what each parameter means.

Main features:

- description of planets and Sun and Moon
- table comparison of planet parameters
- animated solar system visualization

Just place in your plugins directory and update your menu.

DEMO: http://www.meteotemplate.com/template/plugins/solarSystem/index.php

Enjoy

Added the Solar system plugin with only 8 planets...  :roll:
Title: Re: Meteotemplate - New Plugin - Solar System
Post by: Jáchym on August 31, 2016, 01:10:00 PM
(http://i68.tinypic.com/10ro19t.png)

New plugin - Solar System

Hi guys,

a new astronomy-related plugin is now available. This plugin, called simply the Solar System, give some general information about the Sun, the Moon and the eight planets, including an animated solar system visualization and a table with detailed planets data and descriptions of what each parameter means.

Main features:

- description of planets and Sun and Moon
- table comparison of planet parameters
- animated solar system visualization

Just place in your plugins directory and update your menu.

DEMO: http://www.meteotemplate.com/template/plugins/solarSystem/index.php

Enjoy

Added the Solar system plugin with only 8 planets...  :roll:

Any problems with that? :D Let me paraphrase your statment:

Added the Solar system plugin with all the planets included

;)
Title: Re: Meteotemplate - New Plugin - Solar System
Post by: Jáchym on August 31, 2016, 01:24:48 PM
This plugin, called simply the Solar System, give some general information about the Sun, the Moon and the eight planets, including an animated solar system visualization and a table with detailed planets data and descriptions of what each parameter means.

Can you please make an alternate version of this plugin for us planet-change deniers who still count nine planets in the solar system?????  ;)

The other problem being that if we say Pluto is a planet then I would have to add several other dwarf planets, some of which are even bigger than Pluto
Title: Re: Meteotemplate - new free website template
Post by: kocher on August 31, 2016, 02:15:30 PM
Jachym, I found very good plugin Solar System.  :grin:
I've seen running on your page, but mine does not see the animation:

                   http://kocher.es/meteotemplate/plugins/solarSystem/index.php (http://kocher.es/meteotemplate/plugins/solarSystem/index.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 02:50:17 PM
Hi Javier,

this file is missing on your server, make sure it is uploaded and has the correct permissions:

solarsystem.json
Title: Re: Meteotemplate - new free website template
Post by: kocher on August 31, 2016, 03:02:06 PM
Saludos Jachym.

Thanks for your prompt response.

I think if I have it on the server:

(http://kocher.es/cajon/solarsystemjpg.JPG)
Title: Re: Meteotemplate - new free website template
Post by: kocher on August 31, 2016, 03:06:04 PM
Hi Javier,

this file is missing on your server, make sure it is uploaded and has the correct permissions:

solarsystem.json

   Now that I think, I see that on my server the files with extension .json do not work   :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 03:10:47 PM
OK, try this,

change the extension to just solarsystem.txt

Then in index.php on line 1780 also change solarsystem.json to solarsystem.txt.

Maybe this will help
Title: Re: Meteotemplate - new free website template
Post by: kocher on August 31, 2016, 03:11:17 PM
Ok
Title: Re: Meteotemplate - new free website template
Post by: kocher on August 31, 2016, 03:14:44 PM
jjjjjj, ˇˇˇ Solved !!!

           http://kocher.es/meteotemplate/plugins/solarSystem/index.php (http://kocher.es/meteotemplate/plugins/solarSystem/index.php)

Muchas gracias Jachym  =D&gt;

Saludos desde San Sebastian
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 03:24:18 PM
Great
Title: Re: Meteotemplate - new free website template
Post by: vreihen on August 31, 2016, 05:52:48 PM
And just curious... why do you deny this?

It seems like millenial's political correctness run amok again, changing the definition of planet to exclude Pluto because some kid missed the question on his already watered-down science test.

Back in the early 1970's (when man was still walking on the moon and slide rules ruled the engineering scene), there used to be a book publisher that gave catalogs out to kids in our public schools.  The most expensive book in that catalog cost $1.00, and was titled "Answers about the Moon, Stars, and Planets."

https://www.amazon.com/Answers-about-moon-stars-planets/dp/B0006CPCZK/ (https://www.amazon.com/Answers-about-moon-stars-planets/dp/B0006CPCZK/)

(https://images-na.ssl-images-amazon.com/images/I/916jenpy2eL.jpg)

(https://images-na.ssl-images-amazon.com/images/I/91MpvsXiqPL.jpg)

Although you can laugh about the $1.00 price and it being the most expensive book in the catalog, keep in mind that this 6-year-old paid for it out of his own pocket and cherished every single page/picture as fact.  If it said that Pluto was a planet, then Pluto was a planet...and anyone who denies this is f'in Goofy in my $1.00 book!!!!!  :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 06:18:44 PM
The problem is that we later discovered that there are many "planets" like Pluto and some even bigger so it was easier to label Pluto as no longer a planet than adding many new planets to the list. They were just like Pluto so you would have to add them too.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 31, 2016, 08:09:38 PM
OK, try this,

change the extension to just solarsystem.txt

Then in index.php on line 1780 also change solarsystem.json to solarsystem.txt.

Maybe this will help

So interestingly enough - it didn't work for me and then I used another browser and it worked fine.  For some reason the animation does not work in Safari :(

Jeff
Title: Re: Meteotemplate - new free website template
Post by: tstorm on August 31, 2016, 08:26:36 PM
The animation for the Solar System doesn't work for me with FF.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 08:28:53 PM
Yes that is possible,  I don't know about macs,  I usually test chrome,  my primary browser,  then ff and opera,  ie also only runs on windows and edge even just win 10. And ie always causes problems
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 31, 2016, 08:29:36 PM
The animation for the Solar System doesn't work for me with FF.

Strange
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 05:15:54 AM
The animation for the Solar System doesn't work for me with FF.

If you have problems viewing this in FF then please try re-downloading the script, I made some changes in the styling.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on September 01, 2016, 06:48:16 AM
The problem is that we later discovered that there are many "planets" like Pluto and some even bigger so it was easier to label Pluto as no longer a planet than adding many new planets to the list. They were just like Pluto so you would have to add them too.

Fine.  We could always use *more* planets!

I stood around silently when the heliocentric folks spread their heresy to us geocentric believers that the universe revolved around the sun and not the Earth.  I bit my tongue when the "ball Earth" folks re-wrote our textbooks because Columbus didn't sail off the edge of the world or get eaten by sea monsters.  However, I'm drawing the line in the sand on Pluto still being a planet.....  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 07:14:29 AM
I see your point, however, since I really pay attention to accuracy and I want my template to be accurate, I only have two options:

1. leave it as it is - i.e. only include "planets"
2. include Pluto, which is a dwarf planet, but in this case as I said I would have to also include the other dwarf planets, which are sometimes even bigger than Pluto. Basically, the only reason why Pluto was labeled as a planet was because we discovered it early, but it is no different from the other dwarf planets.

Now, you are suggesting I should go with option 2. The problem with that is purely time...

Here is a list of those:
https://en.wikipedia.org/wiki/List_of_possible_dwarf_planets

And I really don´t feel like adding 200 additional space objects :D

If you send me a file that contains all the info in arrays, all the data about all the dwarf planets we currently know, which I would only have to easily add to the current plugin, then I will make that option possible for the user to choose if they want to include those as well
 :-P
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 01, 2016, 07:17:55 AM
Please don't add Pluto as a planet because it isn't  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 07:44:41 AM
Yes thats what I was suggesting too.

The only thing that makes Pluto special is that it was discovered earlier, that was the only reason why it is a "special" dwarf planet, but there are other dwarf planets, which are even bigger and heavier than Pluto and theoretically therefore are even more "a planet" than Pluto.
Title: Meteotemplate - plugin update - Diary 3.0
Post by: Jáchym on September 01, 2016, 07:46:41 AM
Plugin update - Diary 3.0

Hi guys,

I updated the Diary plugin. There is now a new feature, in fact a whole new concept that I have never used before, but probably will be using more often in the future.

As you know, I have always said that all plugins and blocks will work independently, in other words, you can use any combination. Now, this is something that will definitely not change. However, this plugin update introduces a new concept, where the plugins are in fact connected, but it is not a requirement to have the other one.

Best explained using this particular example.

In this updated Diary plugin, the plugin also checks if you have the Snow plugin installed. If not, then it simply ignores it and works perfectly fine. If, however, it detects you do have snow data in your database and you do have this plugin correctly installed, it will load the settings for that plugin too (units, decimal places etc) and it will load the data from the “snow” table. Then, in the diary, those days for which you did enter some amount of snow, it will show this next to the precipitation icon.

I hope this will make the plugin again a bit more sophisticated and I am likely to use this sort of interconnecting in the future as well.

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/diary/diaryIndex.php

Note: I do not use this plugin myself, but it is installed in the Demo and there are some dummy snow data just to show you how it works. So if you want to see what it looks like, choose year 2013 and look at November.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 01, 2016, 08:26:55 AM


The only thing that makes Pluto special is that it was discovered earlier, that was the only reason why it is a "special" dwarf planet, but there are other dwarf planets, which are even bigger and heavier than Pluto and theoretically therefore are even more "a planet" than Pluto.

Indeed I know this futhermore Pluto doesn't approve all 3 major conditions  to be a planet
Title: Meteotemplate - major plugin update - Climate U.S. 2.0
Post by: Jáchym on September 01, 2016, 09:24:11 AM
Plugin update - Climate U.S.

Hi guys,

a major update to the Climate U.S. plugin.

This update adds new quite interesting climate maps. Tables and data text files are nice, but I think it is much better to actually be able to see the data in an easier way by putting them on a map, coloring them based on the value and also including a table which can be sorted. I took many statistics of the U.S. climate and for each city/place I found the right coordinates and placed it on a map.

This way I got dozens of interesting maps. Interested to know which cities have the most thunderstorms? Which cities have on average the lowest humidity in the morning? What are the absolute highs and lows of tens of major US cities? What about the number of clear days, number of hurricanes since 1900 in various cities, temperatures in the summer, winter etc etc. If you answered yes then you are going to like this update and you will actually be able to find out much more.

Maps included:

1. Extreme Weather

- coldest: absolute coldest places, average coldest places, most often freezing, coldest major cities (absolute), coldest major cities (average), major cities lowest normal daily mean for summer and winter, lowest normal daily min/max for summer and winter, major cities with most freezing days, major cities record lows

- warmest: absolute warmest places, average warmest places, most 100-degree places, warmest major cities – average, number of days >50, warmest cities – highest daily max, normal daily mean, max, min and same for winter and summer separate, major cities record highs

- precipitation: driest major cities, cities with most dry days, driest places, wettest places, places with most days with precipitation, wettest major cities, major cities with most rainy days

- snow: places with most snow on one day, heaviest yearly snowfall, most days with fresh snow, highest snowfall in one year

- sun: sunniest places, most clear days, sunniest places in winter, most clear days in winter

- clouds: most days with heavy cloud, cloudiest places, most cloudy days, major cities with most partially cloudy days, cloudiest places in winter, most partially cloudy in winter, major cities – most cloudy in winter, major cities – most cloudy days in winter, major cities – most partial cloudy days in winter

- storms: major cities – most rainstorms, most snowstorms, most thunderstorms, most hurricanes, least rainstorms, least thunderstorms

- wind: windiest major cities

- humidity: major cities – lowest humidity, lowest morning humidity, lowest afternoon humidity, highest humidity, highest morning humidity, highest afternoon humidity

2. Averages for major US cities

- temperature – highs, lows
- annual precipitation
- snow – annual amount, days with snow
- sun – annual sunshine hours, average number of clear days
- days with fog
- humidity – average, morning, afternoon
- wind speed average

The units should convert automatically based on your settings.

Please note: as I mentioned, I had to find all the coordinates and values so it is quite possible I could make a mistake somewhere, in which case just let me know and I will fix it.

Hope you enjoy it

DEMO: http://www.meteotemplate.com/template/plugins/climateUS/statistics.php
Title: Re: Meteotemplate - new free website template
Post by: juppie on September 01, 2016, 02:43:30 PM
Hello Jachym


This will not work like this, I mean it probably can work, but not using the script you are currently using.

You would need a customized script for that and so you have to tell me where you get the data that you want to display. What you posted is just a link to a page that already shows the data, but where does it come from.



The source for weather information you can find here:
http://www.eusotec.de/data/eusoport/deb883749/actData.txt

The "actData.txt" every 10 sec updated.

The text line is structured as follows:
           date
      time (Time is in UTC format)
   1 Pressure
   2 Indoor temperature
   3 Indoor humidity
   4 Temperature (outdoor)
   5 Wind gust
   6 Wind speed
   7 Wind Direction Degress
   8
   9
   .
   .
   .
   etc.
   15 soil temperature
   23 humidity (outdoor)
   31 Rain Last Minute
   33 Solar Radiation
   42 soil moisture
   46 leaf wetness

Greeting juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 03:34:39 PM
OK so its a text file, now depending on what exactly you need just load that file in PHP and then extract the variables you want, probably best using the blank block as a template.
Title: Re: Meteotemplate - new free website template
Post by: juppie on September 01, 2016, 04:14:36 PM
Thanks for the quick response

OK so its a text file, now depending on what exactly you need just load that file in PHP and then extract the variables you want, probably best using the blank block as a template.


I would be grateful if you would write to me the appropriate code.
Just as the block: Indoor conditions and Soil Parameters

juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 04:34:59 PM
Hi,
I dont think the field numbers you specified are correct, because for example just date and time are 0 and 1, so the other ones do not correspond, pressure cannot be 1 etc.

The indoor and soil temperature are not the same blocks

Title: Re: Meteotemplate - new free website template
Post by: juppie on September 01, 2016, 05:03:19 PM
Hi,
I dont think the field numbers you specified are correct, because for example just date and time are 0 and 1, so the other ones do not correspond, pressure cannot be 1 etc.

The indoor and soil temperature are not the same blocks

Yes true Jachym

   0 date
   1 time (UTC Format)
   2 Pressure
   3 Indoor temperature
   4 Indoor humidity
   5 Temperature (outdoor)
   6 Wind gust
   7 Wind speed
   8 Wind Direction Degress
   9
   10
   .
   .
   .
   etc.
   16 soil temperature
   24 humidity (outdoor)
   32 Rain Last Minute
   34 Solar Radiation
   43 soil moisture
   47 leaf wetness

juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 05:08:53 PM
OK but I still dont quite understand why you included wind gust etc., those are not included in the indoor or soil temp blocks... sorry, Im just confused, Im not sure what it is you want :D
Title: Re: Meteotemplate - new free website template
Post by: juppie on September 01, 2016, 05:25:16 PM
OK but I still dont quite understand why you included wind gust etc., those are not included in the indoor or soil temp blocks... sorry, Im just confused, Im not sure what it is you want :D

Excuse the confusion of, I want the blocks Indoor conditions and Soil Parameters to work with me.

   0 date
   1 time
   2
   3 Indoor temperature
   4 Indoor humidity
   5
   6
   7
   8
   9
   10
   .
   .
   .
   und so weiter
   16 soil temperature
   24
   32
   34
   43 soil moisture
   47 leaf wetness

juppie


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 05:29:52 PM
OK, now you will have to give me some time for this, because I will have to basically rewrite lot of stuff in the code
Title: Re: Meteotemplate - new free website template
Post by: juppie on September 01, 2016, 05:36:34 PM
OK, now you will have to give me some time for this, because I will have to basically rewrite lot of stuff in the code

Yes, ever thank you for the effort
 :-)
Gruss Juppi
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 07:00:05 PM
I will try sometime this week or weekend
Title: Re: Meteotemplate - new free website template
Post by: tstorm on September 01, 2016, 07:12:36 PM
The animation for the Solar System doesn't work for me with FF.

If you have problems viewing this in FF then please try re-downloading the script, I made some changes in the styling.

The animation still doesn't work for FF.  It does work using Safari for me now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 07:17:03 PM
Thats really odd, I tried it today in my office with FF and it originally showed up incorrectly, but was ok with the new setting
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 07:20:51 PM
If anyone else uses FF please try this page and let me know if the solar system animation shows up correctly:

http://www.meteotemplate.com/template/plugins/solarSystem/
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 01, 2016, 08:31:01 PM
If anyone else uses FF please try this page and let me know if the solar system animation shows up correctly:

http://www.meteotemplate.com/template/plugins/solarSystem/

Not working for me on Firefox or Safari -
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 01, 2016, 08:49:00 PM
Thanks,  I will remove it altogether
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 01, 2016, 09:09:48 PM
If anyone else uses FF please try this page and let me know if the solar system animation shows up correctly:

http://www.meteotemplate.com/template/plugins/solarSystem/ (http://www.meteotemplate.com/template/plugins/solarSystem/)

Nope not in Chrome either!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 01, 2016, 10:32:52 PM
If anyone else uses FF please try this page and let me know if the solar system animation shows up correctly:

http://www.meteotemplate.com/template/plugins/solarSystem/ (http://www.meteotemplate.com/template/plugins/solarSystem/)

Nope not in Chrome either!
Sorry, late to the show... the animation seems to be ok for me using FF.  On my site the plugin seems to work fine in IE10, FF and Chrome.

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 01, 2016, 11:07:15 PM
The updated plugins diary and  climateUS work well \:D/

Paul.

Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 02, 2016, 01:41:36 AM
If anyone else uses FF please try this page and let me know if the solar system animation shows up correctly:

http://www.meteotemplate.com/template/plugins/solarSystem/
Works for me in Chrome
Title: Re: Meteotemplate - new free website template
Post by: Colin on September 02, 2016, 01:45:55 AM

Sorry, late to the show... the animation seems to be ok for me using FF.  On my site the plugin seems to work fine in IE10, FF and Chrome.

Paul
It also works with Opera but not Safari
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 05:28:03 AM
Really weird, I dont get how come it only works for some even using my link, which means it cannot be server-related.

Attached is a screenshot from Chrome and FF

Now, I wouldnt be surprised if it did not work in IE, that browser is a nightmare and I resigned, likewise Edge, which can only be installed on Win10, so I ignore it
Title: Re: Meteotemplate - new free website template
Post by: weather34 on September 02, 2016, 06:01:58 AM
Really weird, I dont get how come it only works for some even using my link, which means it cannot be server-related.

Attached is a screenshot from Chrome and FF

Now, I wouldnt be surprised if it did not work in IE, that browser is a nightmare and I resigned, likewise Edge, which can only be installed on Win10, so I ignore it

Jachym it could be lack of rotate where the transform is in the script , the original script from http://bl.ocks.org/emeeks/c8ef9d67acc044b368ef does not work at all unless its viewed with chrome but someone else produced something similar using the rotate function in the scripts http://bl.ocks.org/codybuell/fc2426aedabef2d69873

try this one its far more attractive but you may need to add your bits and bobs to it and its browser compatibility is better and tablet friendly ..:-) 

demo http://boutiquehotelitaly.net/jachymsolar/index.html

you can get the download at https://github.com/juliangarnier/3D-CSS-Solar-System

also you need to address the rain gauge feature the annual value shows lower than a monthly guess its related to max value ?? probably needs some fine adjustments

ps i have a grade 9 student doing a half year project on weather/earthquakes  we hope to use your template will let you know if we need help , unfortunately it is on a private school server which I can only access via the internal network on site its basically a server setup for 500+ students to use for the projects and presentations. so please be patient with us if we have any issues .

hope its of help





Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 06:07:20 AM
Hi Brian,
yes I am aware of the CSS functions, but the thing I dont understand is how is it possible that it works in my Firefox and some others´ and not in other "firefoxes".

I can understand one thing works in one browser and not the other, but how can the same thing not work and work in the same browser, same version.....

Ad rain - where did you see that? That is weird because it works fine on my site and most others when I add the numbers. Can you send me a link to the site where this occurs? There could be some problem with the data
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 06:15:18 AM
Oh, OK I see what you mean Brian.

Yes that is correct because the user can specify min/max for each gauge separately.

The problem is that if these numbers were the same, ie. all would have the same maximum, then you would hardly ever see anything for the daily precipitation.

Think about it. For example I have the annual max set to 600mm. But normally we dont have many days with rain>10mm and so the first gauge would practically always look empty. And more or less the same thing goes for the month. It is usually around 50-70.

So in the block setup, the user can specify daily max, monthly max and annual max.

Then, this can result in the screenshot you provided - annually they are below average, monthly above average. If the user wanted to have this consistent, then they can set the maximum same for each gauge (it would have to correspond to the annual one), but they would then have the problem I described above.
Title: Re: Meteotemplate - new free website template
Post by: weather34 on September 02, 2016, 06:23:46 AM
Oh, OK I see what you mean Brian.

Yes that is correct because the user can specify min/max for each gauge separately.

The problem is that if these numbers were the same, ie. all would have the same maximum, then you would hardly ever see anything for the daily precipitation.

Think about it. For example I have the annual max set to 600mm. But normally we dont have many days with rain>10mm and so the first gauge would practically always look empty. And more or less the same thing goes for the month. It is usually around 50-70.

So in the block setup, the user can specify daily max, monthly max and annual max.

Then, this can result in the screenshot you provided - annually they are below average, monthly above average. If the user wanted to have this consistent, then they can set the maximum same for each gauge (it would have to correspond to the annual one), but they would then have the problem I described above.

sorry i dont know which site it was, ive used that script many months ago so I'm not that familiar with it anymore but visually it looks wrong based on the screenshot, it wasn't me that spotted it was the student, we were going through different sites using your template to get an idea of what we can do and how useful it will be for a presentation, it was few days ago we looked at many so i cant remember which one it was i just took a  screenshot on the iPad and thought i would pass it on . we had some other issues on the iPad but i guess when we get around to installing it we can pass it along if we have any major issues but we liked what we saw , it was a  minefield of vast information so congrats on that alone you get a GOLDSTAR  :lol: ..

sorry i cant help much ...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 06:34:22 AM
Hi Brian, thanks for your feedback.

As I said, I see what you mean and that can be done if the user specifies this in the setting (simply using the same maximum). But I also see the problems with that because then really the first gauge always and the second gauge most of the time would look completely empty. Think about what the first gauge would "show" if the maximum was set also to 600mm and the daily rain was 2mm.... you wouldn´t be able to tell at all.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 06:35:08 AM
OK, now you will have to give me some time for this, because I will have to basically rewrite lot of stuff in the code

Yes, ever thank you for the effort
 :-)
Gruss Juppi

Hi Juppi,
I have the files ready for you, but it wont accept it here, I will email them to you.
Title: Meteotemplate - plugin update
Post by: Jáchym on September 02, 2016, 08:50:43 AM
Plugin Update - Climate Canada 2.0

Hi guys,

I have updated the Climate Canada plugin. The changes are more or less the same as what I described in the previous post about Climate U.S.

I added dozens of climate maps and data, just that this time it is for Canadian cities/places.

DEMO: http://www.meteotemplate.com/template/plugins/climateCanada/statistics.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 02, 2016, 09:39:00 AM
I added dozens of climate maps and data, just that this time it is for Canadian cities/places.  =D&gt; =D&gt; \:D/ \:D/

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 10:51:49 AM
Thanks Paul... dozens...  ;)
Title: Re: Meteotemplate - new free website template
Post by: juppie on September 02, 2016, 02:32:54 PM
OK, now you will have to give me some time for this, because I will have to basically rewrite lot of stuff in the code

Yes, ever thank you for the effort
 :-)
Gruss Juppi


Hi Juppi,
I have the files ready for you, but it wont accept it here, I will email them to you.

Hello Jachym
It works  :-) :-) =D&gt; =D&gt;, thanks again

http://wetter-lehmschlenke.de/template/

(http://wetter-lehmschlenke.de/template/plugins/stickers/sticker800_170.php?parameter=T&text=Gruesse%20aus%20Kirchhellen"&color1=indigo&color2=blue)

Gruss Juppi
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 06:43:21 PM
OK thats great, Im really glad it did what you wanted and that it works.

Just make sure that if in the future I update these blocks, you do not download and update it with the released new version, because I made many changes to that script. In such case please contact me first (because I wil probably forget :D) and I will try to make the changes in your customized version of the script again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 02, 2016, 07:32:53 PM
OK guys, just a little announcement.

Tomorrow is a very special day :D The one day in the year when I take a day off because I go to Prague to visit my dad. This means there will only be very limited support (I can use his tablet if necessary, but only to answer urgent emails) and I will most likely not reply to any emails until Sunday. I might read the posts here and reply very briefly, but no extended support available tomorrow :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 02, 2016, 09:09:33 PM
OK guys, just a little announcement.

Tomorrow is a very special day :D The one day in the year when I take a day off because I go to Prague to visit my dad. This means there will only be very limited support (I can use his tablet if necessary, but only to answer urgent emails) and I will most likely not reply to any emails until Sunday. I might read the posts here and reply very briefly, but no extended support available tomorrow :D

Jachym,

Enjoy the time with your dad.  I have learned recently how much it really means to have the time.  I was in Prague years ago when lecturing in Leipzig Germany.  Beautiful.  Safe travels.

Jeff

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 03, 2016, 04:45:53 PM
Thanks Jeff,  on my way home and ready for another 364 days of work and night time fun with meteotemplate and support  :-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 03, 2016, 04:48:57 PM
Thanks Jeff,  on my way home and ready for another 364 days of work and night time fun with meteotemplate and support  :-)

We are waiting for the arrival of the huge storm - Post Tropical Hurricane Hermine!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 03, 2016, 07:42:12 PM
I read about it,  I hope you are ok
Title: Meteotemplate - Plugin update - Bio indexes 2.0
Post by: Jáchym on September 04, 2016, 11:03:20 AM
Plugin Update - Bio Indexes 2.0

Hi guys,

just a minor update, I included a description table for the Heat index in the Bio indexes plugin.

DEMO: http://www.meteotemplate.com/template/plugins/bioIndexes/index.php

Enjoy
Title: Meteotemplate - New Block - Tides & Currents U.S.
Post by: Jáchym on September 04, 2016, 11:31:16 AM
(http://i63.tinypic.com/29ooq68.png)

New Block - Tides and Currents U.S.

Hi guys,

I created a new block with information about current water levels, water temperature etc. for various stations in the U.S., provided by the NOAA.

In the setting you specify which station to use, units and cache time. The block also includes description of the abbreviations. For the current conditions you will see the difference between the particular datum and current conditions, in the "more" section are the actual levels for the datums and at the top you will see current air and water temperature. Thanks to Alex for the suggestion and info about the API!

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=tidesCurrentsUS

Enjoy
Title: Re: Meteotemplate - New Block - Tides & Currents U.S.
Post by: jeffm5690 on September 04, 2016, 04:26:48 PM
(http://i63.tinypic.com/29ooq68.png)

New Block - Tides and Currents U.S.

Hi guys,

I created a new block with information about current water levels, water temperature etc. for various stations in the U.S., provided by the NOAA.

In the setting you specify which station to use, units and cache time. The block also includes description of the abbreviations. For the current conditions you will see the difference between the particular datum and current conditions, in the "more" section are the actual levels for the datums and at the top you will see current air and water temperature. Thanks to Alex for the suggestion and info about the API!

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=tidesCurrentsUS

Enjoy

Works great!!!  Love the enhanced data that is available.  Thank you.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 04, 2016, 05:54:04 PM
Thanks Jeff, there is just a little bug that I missed and Gus emailed me about. The last two parameters in the datums are times so the correct units should be "h" not feet or meters. I will fix this asap.
Title: Meteotemplate - block update - Tides and Currents 1.1
Post by: Jáchym on September 04, 2016, 06:48:28 PM
Block update - Tides and Currents U.S.

Hi guys,

just a minor update of the recently release block for US tides and currents. This update (as you can tell by the version number) only includes a minor bug fix for units in the datums overview.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 04, 2016, 07:04:41 PM
Thanks Jeff, there is just a little bug that I missed and Gus emailed me about. The last two parameters in the datums are times so the correct units should be "h" not feet or meters. I will fix this asap.

Great catch Gus...  Totally did not even see it!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 04, 2016, 07:19:34 PM
Gus is always very good at spotting mistakes, this is not the first time :)

Thanks Gus!

In fact I also noticed it, but I noticed it 10 minutes before I had to go to my part-time job so I thought I will leave it until tomorrow. Then I came home and had an email from Gus about this bug, which was bugging me so much I tried to update it even using my crappy laptop at home :D Something I always try to avoid, but this time it worked :-)

I always appreciate all bug reports, as having it bug-free is obviously one of the (probably unachievable) goals :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 05, 2016, 09:12:39 AM
Hi guys,
in the last couple of days I have been adding on average 3-4 new users a day. This weekend was probably a record - 8 new users... including several from Italy, Spain, Greece, France and Dominican Republic.
I probably got too excited so I tried to again activate the Meteotemplate network.
Unfortunately as some of you might have noticed, the entire site completely crashed this morning and meteotemplate.com was not accessible at all in the last approximately 2 hours. I therefore had to quickly remove the network again and for now there really is no way this can work.
I am really happy for all new users, but unfortunately it can no longer be handled by the current hosting plan I have and I cannot afford to upgrade it. Some of you offered me they would run it on their sites, unfortunately this is technically not possible because of the way it is programmed and connected to my MySQL database, which cannot be accessed externally (security measure of my webhosting provider).

So please excuse today´s inaccessibility, it should be ok now and it just proved me that it really is no longer possible to use the network. It worked when there were 50 of you this spring, now there is almost 250.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 05, 2016, 09:28:10 AM
Hi guys,
in the last couple of days I have been adding on average 3-4 new users a day. This weekend was probably a record - 8 new users... including several from Italy, Spain, Greece, France and Dominican Republic.
I probably got too excited so I tried to again activate the Meteotemplate network.
Unfortunately as some of you might have noticed, the entire site completely crashed this morning and meteotemplate.com was not accessible at all in the last approximately 2 hours. I therefore had to quickly remove the network again and for now there really is no way this can work.
I am really happy for all new users, but unfortunately it can no longer be handled by the current hosting plan I have and I cannot afford to upgrade it. Some of you offered me they would run it on their sites, unfortunately this is technically not possible because of the way it is programmed and connected to my MySQL database, which cannot be accessed externally (security measure of my webhosting provider).

So please excuse today´s inaccessibility, it should be ok now and it just proved me that it really is no longer possible to use the network. It worked when there were 50 of you this spring, now there is almost 250.

How much are we talking about to change plans.  I'm sure as a community we can come together and keep you going.  We all owe you for what you do.

Jeff
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 05, 2016, 09:36:01 AM
Hi guys,
in the last couple of days I have been adding on average 3-4 new users a day. This weekend was probably a record - 8 new users... including several from Italy, Spain, Greece, France and Dominican Republic.
I probably got too excited so I tried to again activate the Meteotemplate network.
Unfortunately as some of you might have noticed, the entire site completely crashed this morning and meteotemplate.com was not accessible at all in the last approximately 2 hours. I therefore had to quickly remove the network again and for now there really is no way this can work.
I am really happy for all new users, but unfortunately it can no longer be handled by the current hosting plan I have and I cannot afford to upgrade it. Some of you offered me they would run it on their sites, unfortunately this is technically not possible because of the way it is programmed and connected to my MySQL database, which cannot be accessed externally (security measure of my webhosting provider).

So please excuse today´s inaccessibility, it should be ok now and it just proved me that it really is no longer possible to use the network. It worked when there were 50 of you this spring, now there is almost 250.
How much would it cost in order to upgrade your current hosting plan?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 05, 2016, 09:42:20 AM
Thanks Jeff, I appreciate it. Now, this is slightly more complicated. Because...

I dont like to talk about this much, but since you asked...

So primarily the donations are to cover the essential costs - hosting (which I already had to upgrade because the original was no longer usable) and domain and a few other things I had to pay to make the website functional. The incomes are usually quite random and sometimes I get two donations in one week, sometimes nothing for several weeks, in general it is usually enough to break even so I never thought about upgrading.

Now the question is however - what should I do if the donations are higher than the above mentioned costs. I do not want to use this for stuff like a new laptop etc., these are not really costs of meteotemplate and I only want to use the donations towards this project, and also this would obviously be a quite major expense so a few extra dollars wouldnt help that much.

So basically there are then two options: I could either as you are suggesting upgrade the hosting and enable the network again. Or, there is an alternative option. I have a full time and a part-time job. The part-time job is not regular, I simply take orders as I want to and I know how many I need to fulfill to get the desired amount I need to get by. So one option would be that if I make more via Meteotemplate, I could simply take less orders and use the time instead to offer support and for development, it is true that the last couple of weeks about 50% of the time at least goes towards support, making customized scripts for people with unusual server configuration etc.

As I said, so far I did not really have to make that decision, but if I will, I would probably go for the second option, simply because I think the template would benefit more from that than from the network (not to mention the fact that obviously I enjoy more working on this than what I do in my part-time job).

The important thing right now is that without the network the server can handle it quite good :)  (always positive thinking ;)
Title: Meteotemplate - Block Update - Mars Weather 2.0
Post by: Jáchym on September 05, 2016, 09:51:15 AM
Block Update - Mars Weather 2.0
Hi guys,

the updated version includes a title for the block and a collapsable “more” block with information about the last 7 days. Currently the rover seems to be quiet 😀 Has not reported since Aug 31, but that is really not a problem with the block, but the data is simply N/A. Hopefully it gets back to us soon again 🙂

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=marsWeather

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: vreihen on September 05, 2016, 10:10:05 AM
So basically there are then two options: I could either as you are suggesting upgrade the hosting and enable the network again. Or, there is an alternative option. I have a full time and a part-time job. The part-time job is not regular, I simply take orders as I want to and I know how many I need to fulfill to get the desired amount I need to get by. So one option would be that if I make more via Meteotemplate, I could simply take less orders and use the time instead to offer support and for development, it is true that the last couple of weeks about 50% of the time at least goes towards support, making customized scripts for people with unusual server configuration etc.

There is a third option.  Open a reseller hosting account, and offer template users the *option* of hosting it on your reseller host using their domain name for a reasonable fee that covers costs and maintaining the main site as well.  As a plus, you can offer the site pre-installed with the correct versions of all required packages instead of wrestling with unusual server setups all over the web.  Doing this will make the template accessible to an even larger user base who can't manage their own web server and get it installed, and minimize your support burden.

One other point.  While I understand and appreciate the open-source philosophy, profit is not a dirty word...well, at least until you have a Ferrari that's newer than mine parked outside your flat.....  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 05, 2016, 10:33:08 AM
Hi,
this is absolutely not possible... remember I dont have a hosting myself, I use a Czech equivalent of something like Go Daddy. And first of all, I know nothing about servers so there is no way I could be configuring them, everything regarding the server, installing PHP as such etc. is just "done for me". And second, remember that I already spend 100% of my free time with this, there is no way I could do that even if I completely abandoned my part-time job (in which case I would need to replace the incomes by this).

The other advantage of the second option I mentioned above is that as I said, it is quite irregular and if I upgraded the hosting, I would basically commit myself to paying the monthly fee, whereas in the other case if I received less than I need, I would simply reduce the time spent on this and take more orders for the part-time job again. It is really difficult to describe this as it is something I dont like to talk about, but the other problem is that often, people download it and they do donate, but then remember that if I commit myself to paying for the better hosting plan, I would need a constant flow of incomes and usually people dont do that, which is ok with me, just that it then is not possible to do the upgrade.

And I mentioned several times that I really do not want this to be paid for several reasons. One - I know myself that sometimes you really are in a situation that you cannot afford it, and if that person appreciates it and is nice, then thats fine with me. Likewise, if someone finds it useful and enjoys using it, then they simply have the option to support the project. I also use Linux, Libre Office, GIMP... simply because I dont want to steal software, but I cannot afford Photoshop, MS Office etc. And I try to support software developers by for example translating stuff (I translated several very popular SW to Czech). So I understand this very well.
Second problem is licensing - remember that as soon as you start charging for it, even if it was just 1 dollar, you are no longer offering a non-commercial product. In such case I would for example immediately have to stop using highcharts, which is used for all the graphs... or I would have to get the developer license, which is I think 4k a year - and that would mean that if I really did that, the price would not be 1 dollar, but more likely something like 50 and it would not be a one-off payment, but as a subscription, because I would need to renew that license every year (and many other scripts and libraries in the template are also only for non-commercial purposes)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 05, 2016, 10:37:32 AM
And one more very important thing... I am NOT a programmer! By no means! I just started learning this yr an half ago, purely as a hobby. Which means there are often bugs, or things that I try to solve and they take time. And like this, even though I do always try to help people and solve any potential problems, I know that if Im unable to do so, they know that they got it for free so nothing is lost. As soon as you start charging people you are much more responsible for it, and I would feel really bad if for some reasons things stop working as they should and people also expect you to fix these because they paid for it. And I cannot guarantee 100% functionality and would not feel good about it if people paid for it and it does not work perfectly :-)

This is something I am unwilling to negotiate... it was free, is free and will be free, including all plugins and blocks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 05, 2016, 01:44:59 PM
One thing I forgot to mention :), in case you are using the user map plugin, dont forget to update your users file it has been updated a lot in the last couple of days/weeks :)
Title: Meteotemplate - new plugin - Climate Maps - my favorite ;)
Post by: Jáchym on September 06, 2016, 08:03:14 AM
New Plugin - Climate Maps 1.0

Hi guys,

sometime around Christmas I thought about a plugin that would allow creating very sophisticated and complex climate maps. I started working on it, but never succeeded because there was just too many problems I couldn´t get over. Those of you who filled in the questionnaire probably remember the question asking what is your favorite plugin. Well 2 weeks ago, one of you asked me what is my favorite plugin and I thought about it and suddenly I remembered this unfinished plugin… I tried using the knowledge I gained since then in terms of programming and after some time I solved basically all the problems and so I now want to present to you my favorite plugin…. the Climate Maps plugin.

This plugin allows very complex data filtering and if you take the time you can experiment with it and find interesting relationships.

However, because it is so complex, please read carefully how this works. Once you understand it, you will be able to generate many very interesting and useful maps. The instructions are available directly on the page by simply clicking the “Info” icon.

Main features

- filter locations by many weather parameters (temperature min, max, avg, humidity, precipitation, day length, sunshine duration, etc.)
- filter by other parameters - continent, country, elevation, size, climate type etc
- specify how you want the map to look like - point colors, point sizes, labels on/off
- view detailed statistics of filtered out locations
- export map as JPG file

To give you an idea of what you can for example do, here are a few examples of filters you can apply:
- create a map with only European capitals + United States and Canada, where only capital cities are displayed on the map, the color of the point corresponding to average minimum January temperature on a scale from blue to red, and size of the points corresponding to annual total precipitation.
- create a map of all locations on the Northern hemisphere with summer maximum temperatures above 30 degrees C, precipitation between 350 and 500 mm, annual monthly humidity range of maximum 30% and elevation between 500 and 1000 m. Color the points based on the ration between annual average temperature and total precipitation and size based on annual monthly humidity range. Only include Koppen climate types A and B.

The possibilities are endless….

Have fun and enjoy

Note: this is again one of the most complicated scripts I have done so far, if you find a problem please bear with me and let me know and I will try to fix it as soon as possible.

DEMO: http://www.meteotemplate.com/template/plugins/climateMaps/index.php

The example below is a map of all world capitals, colored by average annual temperature, size of point based on annual total precipitation and with hidden labels.

(http://i63.tinypic.com/e719jr.png)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 06, 2016, 10:10:27 AM
All up to date, and figured out how to set the climateMaps filtering \:D/

Thanks Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 06, 2016, 10:20:46 AM
Hi Paul,
thanks for letting me know. It does take some time before you get how it all works, but once you do, you can do virtually anything. I tried to make it as intuitive as possible, but I know that it can still be a bit confusing, so there is the help section included.
Title: Meteotemplate - new block
Post by: Jáchym on September 07, 2016, 09:09:49 AM
New Block - Portugal Current Conditions

Hi guys,

a new block for current conditions from many stations in Portugal.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=weatherPortugal

Enjoy
Title: Meteotemplate - new block
Post by: Jáchym on September 07, 2016, 12:22:22 PM
New block - Greece - Radar

Hi guys,

one more new region-specific block, this time for Greece. The block shows current radar image with weather conditions for the area of Greece and also a map of daily min/max temperatures.

Enjoy

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarGR
Title: Meteotemplate - New Plugin - Conditions U.S.
Post by: Jáchym on September 08, 2016, 11:00:56 AM
New Plugin - Conditions U.S.

Hi guys,

do you also think text files are boring?

I found some interesting data from the U.S. Climate prediction center, which shows recent conditions. The data can be very interesting, unfortunately it is provided as text files, which are not very useful if you have thousands of stations.

I therefore created a plugin that uses this data. It is again slightly "experimental", this time I again tried using the Leaflet maps instead of Google Maps, so no API key is required and also the data loading time should be very fast. Let me know if you find any problems or simply what you think about it :-)

Main features
- temperature and precipitation data
- data by days (past 7 days) - maximum/minimum temperature, precipitation
- data by weeks (past 6 weeks) - average temperature, total precipitation, normal temperature, normal precipitation, temperature and precipitation deviation
- data by months (past 6 months) - average temperature, total precipitation, normal temperature, normal precipitation, temperature and precipitation deviation
- maps of actual values, normal values and deviations

DEMO: http://www.meteotemplate.com/template/plugins/conditionsUS/index.php

Enjoy
Title: Re: Meteotemplate - new block
Post by: johnny on September 08, 2016, 12:10:33 PM
New block - Greece - Radar

Hi guys,

one more new region-specific block, this time for Greece. The block shows current radar image with weather conditions for the area of Greece and also a map of daily min/max temperatures.

Enjoy

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarGR

It works like a charm Jachym!  \:D/
Thank you !
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 08, 2016, 12:31:55 PM
Thanks Johnny, Im glad you find it useful.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on September 08, 2016, 01:54:41 PM
Jachym,

  Thanks for the Conditions U.S. plugin.  I find it very useful displayed on a map instead of a bunch of text.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 08, 2016, 01:57:05 PM
Hi John,
thanks, yes I agree, the text is useless if you dont get an overview, it is quite interesting to look at the deviations and station data :-)

Title: Re: Meteotemplate - New Plugin - Conditions U.S.
Post by: N0BGS on September 08, 2016, 05:54:22 PM
New Plugin - Conditions U.S.

Hi guys,

do you also think text files are boring?

I found some interesting data from the U.S. Climate prediction center, which shows recent conditions. The data can be very interesting, unfortunately it is provided as text files, which are not very useful if you have thousands of stations.

<SNIP>

Jachym:

Can you explain a little about how the logic works in the conditionsUS plugin?  It's very cool, btw.  \:D/

What I am wondering specifically is how it chooses which stations to display on a state-by-state basis.

For example, the nearest METAR location to me is KBGR.  I see that location is included in the stations.txt file
Code: [Select]
99999  4480   6883   59 156 19 0KBGR BANGOR_INTL_ARPT       UNITED STATESDespite that, KBGR doesn't get displayed as you can see here: http://www.kpw3.com/meteo/plugins/conditionsUS/monthly.php (http://www.kpw3.com/meteo/plugins/conditionsUS/monthly.php)

Is there a way I can include KBGR on the map?

Thanks much,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 08, 2016, 06:10:48 PM
Hi Kurt,
yes I will explain :-)

Basically, the files from NOAA with the actual data, do not contain full names of the stations but just their ID and name for some, but usually shortened.

So, what I did is I took the list of all stations that exist and saved it separately - that is the stations.txt you see and that file is static. It does not contain any weather information, just list of stations with their name and co-ordinates.

Then it downloads the actual monthly/weekly/daily files. Once that is done, it goes one by one and compares the station ID with the stations.txt and assigns the corresponding names.

So, you see it in the stations.txt, but that is just its name and co-ordinates. If, however, you look at for example the last month's file:
http://www.cpc.noaa.gov/products/analysis_monitoring/cdus/prcp_temp_tables/mly_glob1.txt
you will see it is not there.

So the stations.txt is only to lookup the names of the stations.

Your station is not included simply because there is no data for it, sorry, not much I can do.

Check here:
http://www.cpc.noaa.gov/products/analysis_monitoring/cdus/prcp_temp_tables/index.shtml
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on September 08, 2016, 06:18:03 PM
That's really weird because KBGR has been an official NOAA WX site for decades and you can find all kinds of record from it on their own site.

I guess that's government logic for you.

Thanks for the explanation.

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 08, 2016, 06:20:41 PM
No clue how they decide it. You can check if the weekly or daily files include it or if some older monthly files do, it could be that just this last month there was some problem. Otherwise I really don't know.

Either way, the plugin does not in any way "choose stations", it takes everything that is available in the weather data file. The stations.txt has all the stations that exist so it is the weather data file that determines which station will show up on the map.
Title: Meteotemplate - New Plugin
Post by: Jáchym on September 09, 2016, 08:49:21 AM
New Plugin - Canada - Monthly Summaries

Hi guys,

yesterday I released a new plugin for the U.S., showing recent conditions.

Now I created a similar plugin for Canada, but ... it is even more sophisticated, showing more parameters and going as far back as 1840, also including possibility to switch map layers and with a sortable table of values. Again, this plugin is using the Leaflet maps API, so no API key is required and data loading should be very fast.

Obviously this was a lot of maps and data so if you find any bug or problem please let me know or just let me know how you like it :-)

Main features
 - monthly summaries for
    - Average temperature
    - Mean Temperature difference from Normal (1981-2010)
    - Highest Monthly Maximum Temperature
    - Lowest Monthly Maximum Temperature
    - Snowfall
    - Percent of Normal (1981-2010)
    - Snowfall
    - Total Precipitation
    - Percent of Normal (1981-2010) Precipitation
    - Snow on the ground at the end of the month
    - Number of days with Precipitation 1.0 mm or more
    - Degree Days below 18 °C
    - Degree Days above 18 °C
 - interactive map with many map layers available
 - data overview in sortable table
 - data from latest to 1840

DEMO: http://www.meteotemplate.com/template/plugins/canadaMonthlySummary/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 09, 2016, 10:24:34 AM
Hi Jachym,
I have it installed and working well http://www.komokaweather.com/j-template/plugins/canadaMonthlySummary/index.php and very nice and like it.

Checking the London, ON airport average temp for August is 22.3°C and my August 2016 was 22.5°C (my 8 year average is 20.7°C) so August was not as much above average as I had thought.

As there are so many stations reporting in Canada (and in the US conditions as well) and the geographical regions are so large and so different it is a bit of a challenge to look at specific places... most of the places, maybe 90%, I have never heard of or don't know where they actually are.  I presume the default table is from west to east.  The alpha sort is very useful.

Thanks again,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 09, 2016, 10:34:07 AM
Yes, I am sure you will find some interesting info there and also interesting to compare with your station.

The station selection is purely based on what EC provides, the template does not in any way filter them, it simply loads the available data as a CSV file and then processes it to create the map, tables etc.
Title: Meteotemplate - New Plugin
Post by: Jáchym on September 09, 2016, 11:08:01 AM
New Plugin - Australia Weather Maps

Hi guys,

I created a new plugin and this time for Australia. This plugin shows recent weather maps for the region of Australia, including temperature, humidity, solar radiation, precipitation and vegetation. The maps are available for several parameters (max, min, total, anomaly etc.) and in several intervals (daily, weekly, monthly, etc.).

DEMO: http://www.meteotemplate.com/template/plugins/australiaWeatherMaps/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on September 09, 2016, 05:03:06 PM
Here's a curious thing from the summary block, station data tab:   http://www.kpw3.com/meteo/indexDesktop.php (http://www.kpw3.com/meteo/indexDesktop.php)

"Neither today nor yesterday there was any rain observed. Since the 1st of this month, the cumulative rainfall is 0.05 in. The maximum daily precipitation in September 2016 is 0.05 in, measured on the 6th. In general, the average daily precipitation in September is 0.11 in and overall February average total rainfall is 2.79 in. This month's daily average of 0.01 in is therefore below the daily average 0.11 for September."

Why February?  :lol:

--Kurt



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 09, 2016, 06:07:17 PM
Yes I remember this, I made a typo in the code, but I thought I corrected it... I have to check that :D Maybe I did and forgot to upload the corrected ZIP file :D Im sure I fixed this :D
Title: Meteotemplate - Block Update - Summary 2.2
Post by: Jáchym on September 09, 2016, 06:37:15 PM
Block Update - Summary 2.2

Hi guys,

just minor bug fixes in the summary block. You can now download the updated 2.2 version from the Blocks page and update by simply replacing the main block and config file.

Thanks Kurt

Title: Re: Meteotemplate - new free website template
Post by: N0BGS on September 09, 2016, 08:34:30 PM
That's done it!  =D&gt;




(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=interactive)
Title: Meteotemplate - Plugin Update - Guestbook 1.1
Post by: Jáchym on September 10, 2016, 11:26:38 AM
Plugin Update - Guestbook 1.1

Hi guys,

just a minor update. This updated guestbook version has some additional spam prevention mechanisms. If anyone of you had problems with spam in the guestbook let me then know if this made it any better.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: stormchaser911 on September 10, 2016, 06:55:30 PM
Hello Gang, I just wanted to say. 1@1 Website hoasting sucks as they messed me up in the worst way as I needed my website rederected in or pointing at a certain file and they messed with all kinds of files and so on. To make a long story short. They Basickly took down my website as they messed up many files and I needed big help I was afraid to ask but I asked Jáchym to help me and my god I cant believe it but he was able to get my website back up in running within hrs. But he said they messed with many files . I would not suggest this Hosting company to any one.   Thank you Jáchym much apreshiated
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 10, 2016, 07:53:41 PM
Im glad your site is now working again Steve.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 10, 2016, 10:33:30 PM
I must say that I've been using 1&1 Hosting for over 10 years and not had any problems at all.

Sorry that you've had a problem but don't want to see them painted with a black brush due to one person's experience!

Your mileage may vary!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2016, 02:31:25 PM
I agree, I recommended 1and1 to several ppl and never had any problems, however it is true that this time whoever was trying to change the redirection on Steve´s website, had absolutely no idea what the are doing and completely messed it up and it took me over 2 hours to fix all the errors they made because Steve didn´t have a backup and also had some custom scripts that I could not simply copy from the main template files.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 11, 2016, 06:27:19 PM
Plugin Update - Guestbook 1.2

Hi guys,

looks like the previous update was not enough in terms of preventing spam. In the updated version you will now find a new function. If you are logged in as the admin, at the bottom you will find a button "Ban custom IP". Using this button you can specify your own IP you want to ban and - most importantly - I made it so that you can also use wild cards, so for example XXX.XXX.XXX.* would ban all IPs beginning with XXX.XXX.XXX.

Hopefully this will help a little bit. Also, if you are updating this plugin, make sure you do not replace the bannedIPs.txt, it would reset your already saved banned IPs.

Enjoy
Title: Meteotemplate - Plugin update + new newsletter
Post by: Jáchym on September 12, 2016, 07:47:12 AM
Hi guys,

I have just published a new issue of the newsletter, which includes information about recent new plugins and blocks and updates.

Newsletter: http://meteotemplate.com/blog/?p=1080

Plugin Update - Solar System 2.0

In addition I have also updated the Solar System plugin, because it turned out the visualization is not displaying correctly across all browsers, so I replaced it with a different one. To update just replace all the files. It will unfortunately not work 100% correct in older versions of IE. Hopefully not many users use this outdated and IMHO very bad browser. It works fine in Chrome, FF, Opera, Safari and I do not have the possibility to check in Edge (because unlike all other browsers, it only works on Windows, in this case even just Windows 10).

DEMO: http://www.meteotemplate.com/template/plugins/solarSystem/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 12, 2016, 09:31:45 AM
Up to date and working well.

Have read the newsletter :)

Paul
Title: Meteotemplate - New Block
Post by: Jáchym on September 12, 2016, 12:08:19 PM
New Block - Warnings Germany

Hi guys,

this new block shows regional warnings for Germany. In the settings you select the default state. Warnings for this state are then displayed directly on the homepage. Other state warnings can be viewed by clicking the "more" link. There is also a zoomable map.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsDE

Enjoy
Title: Meteotemplate New block + news
Post by: Jáchym on September 13, 2016, 11:53:23 AM
New Block - Radar U.K.

Hi guys,

a new block is now available, showing current radar image for the United Kingdom. The image is displayed as a map overlay so can easily be moved or zoomed in. Image is updated every 15 minutes and uses data from MetOffice, so you will need an API key if you already don´t have one (free registration).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUK

Enjoy

(http://i65.tinypic.com/2z902ab.png)
Title: Mac Support
Post by: nineback on September 13, 2016, 12:30:51 PM
I am using a Mac and WeatherCat software.  I do not see any Mac software that is supported by the template.  Is there any Mac native weather software supported by the template?

Tom
weather.kq5s.com
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 12:47:32 PM
Hi,
probably not, I dont know, no-one has ever asked about this and I dont have any Apple device myself. I dont actually know what programs are used for Mac. If you tell me which ones I could have a look and see if it would be possible to create a script for it (and I would of course need someone to then provide me the log files to see their format).
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 12:58:41 PM
I am using WeatherCat software.

http://wiki.trixology.com/index.php/WeatherCat_Webtags_with_Cumulus_Equivalents (http://wiki.trixology.com/index.php/WeatherCat_Webtags_with_Cumulus_Equivalents)

Saratoga and Leuven scripts support WeatherCat.  I have attached the link that shows the cross walk to Cumulus which I believe you support.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 01:13:09 PM
OK, what I need is a sample of the text file that is produced that contains the current conditions and the field descriptions so that I can make a script to extract them. And also a list of the possible units for the various parameters to make sure all possibilities are included.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 01:50:48 PM
Looking at the parameters it can generate it looks like it should be possible to use, but Meteotemplate does not use the testTags, I need some sort of a log file regularly uploaded to the server, something like clientraw (WD) or realtime (Cumulus)
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 01:54:14 PM
How about this attachment?

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 02:01:11 PM
Is similar file being uploaded periodically to your server at ideally like minutely intervals? If yes then it probably shouldnt be a problem.
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 02:04:54 PM
How about this?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 02:17:17 PM
Yes that will probably be even easier, but as long as such file is being uploaded periodically (and ideally as often as possible) then I can simply create a script that will work with that particular text file format. This second one would probably be easier to work with, but both would do.
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 02:21:23 PM
The second one I set to upload every 30 seconds.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2016, 05:53:21 PM
Quote
I am using a Mac and WeatherCat software.  I do not see any Mac software that is supported by the template.  Is there any Mac native weather software supported by the template?
Not used it myself but I understand CumulusMX runs on Mac.

Paul
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 06:03:10 PM
I believe it does and I looked at it and it requires running something called mono from Microsoft and best I can tell you have to start the program from the command line.  I am already familiar with WeatherCat and it is a native Mac app.  I have been running weather display on my windows machine but had a Mac Mini doing nothing so decided to dedicate it to weather stuff.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 06:13:25 PM
OK, last question. Those files are built-in WeatherCat? What I mean is, can any user of this SW easily re-create this exact format? Or did you somehow have to create it yourself? And does WC automatically upload this to the server? What I need to know is whether the generation of this file and its upload to personal FTP is somehow built-in to WeatherCat so that anyone can then easily do it and use it with Meteotemplate
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 06:20:09 PM
It is built into WeatherCat.  In the programs preference settings you set up the FTP address for your server and upload frequency and the program does the rest.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 06:21:11 PM
OK and that goes for both files? You can choose which one of those two you posted you want to generate? (i.e. can I choose the one that I like more?)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 13, 2016, 06:54:46 PM
Quote
I am using a Mac and WeatherCat software.  I do not see any Mac software that is supported by the template.  Is there any Mac native weather software supported by the template?
Not used it myself but I understand CumulusMX runs on Mac.

Paul

I never used MX, even when I still used windows, as far as I know, the MX version does not support 32-bit systems and cannot be installed on Windows XP. I do have some experience with Weather Display and the "normal Cumulus", just while I was developing stuff for it, never used it for my own station, but I must say that I prefer WD much more in terms of what it can do, the overall user experience, installation etc. so if I wanted to use some SW with my station (which is currently not possible because I cannot have my PC on 24/7, which is why I use Meteobridge), then I would definitely go with WD.
And I looked at some screenshots of WeatherCat and I can understand why someone might prefer using it.
Title: Re: Meteotemplate - Plugin update + new newsletter
Post by: jeffm5690 on September 13, 2016, 08:20:26 PM
Hi guys,

I have just published a new issue of the newsletter, which includes information about recent new plugins and blocks and updates.

Newsletter: http://meteotemplate.com/blog/?p=1080

Plugin Update - Solar System 2.0

In addition I have also updated the Solar System plugin, because it turned out the visualization is not displaying correctly across all browsers, so I replaced it with a different one. To update just replace all the files. It will unfortunately not work 100% correct in older versions of IE. Hopefully not many users use this outdated and IMHO very bad browser. It works fine in Chrome, FF, Opera, Safari and I do not have the possibility to check in Edge (because unlike all other browsers, it only works on Windows, in this case even just Windows 10).

DEMO: http://www.meteotemplate.com/template/plugins/solarSystem/index.php

Enjoy

Another great job!  All updated and working smoothly.  Love to see the animation :)
Jeff
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 10:55:59 PM
Yes.  You tell the program to generate the realtime.wc.txt file and to FTP it at some interval and you tell it to generate the tags.wc.txt file and FTP it at some interval.

OK and that goes for both files? You can choose which one of those two you posted you want to generate? (i.e. can I choose the one that I like more?)
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 13, 2016, 10:57:43 PM
I prefer WD as well but WD on the Mac is not so good.  If I were using Windows, which I did for a long time, it would be an easy choice for WD.

Tom

Quote
I am using a Mac and WeatherCat software.  I do not see any Mac software that is supported by the template.  Is there any Mac native weather software supported by the template?
Not used it myself but I understand CumulusMX runs on Mac.

Paul

I never used MX, even when I still used windows, as far as I know, the MX version does not support 32-bit systems and cannot be installed on Windows XP. I do have some experience with Weather Display and the "normal Cumulus", just while I was developing stuff for it, never used it for my own station, but I must say that I prefer WD much more in terms of what it can do, the overall user experience, installation etc. so if I wanted to use some SW with my station (which is currently not possible because I cannot have my PC on 24/7, which is why I use Meteobridge), then I would definitely go with WD.
And I looked at some screenshots of WeatherCat and I can understand why someone might prefer using it.
Title: Re: Meteotemplate - new free website template
Post by: Colin on September 13, 2016, 11:36:58 PM
If you were to run Fusion or Parallels on the Mac Mini it would opens a few more options.
I had no choice but to use Fusion on my Mac because there was no Mac development tool for PIC controllers.
Just a thought.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 13, 2016, 11:39:47 PM
Quote
the MX version does not support 32-bit systems and cannot be installed on Windows XP. I do have some experience with Weather Display and the "normal Cumulus"
I don't know about CumulusMX on 32-bit and think correct on not running in XP.  However the output from CumulusMX such as realtime.txt is identical as in Cumulus 1, in fact all the data files are fully interchangeable between both versions, back and forth... regardless which OS CumulusMX is being used with.

Paul
Title: Re: Meteotemplate - new free website template
Post by: BeaumarisWX on September 14, 2016, 03:32:34 AM
Hi Jachym,
Just a friendly heads up, on the Meteotemplate/AustralianWarnings script it works perfect for general warnings for every State in Aus, however for all "Severe Weather Warning 1" (High Level 1) Warnings for all States it does not.
Reason being they wrongly in my opinion use a different format for "Severe Weather Warning 1" .
Currently your dataloader looks for div.product (sadly this does not exist in the "Severe Weather Warning 1" html pages) so results in nil being returned for High Level 1..
Normal Warning : http://www.bom.gov.au/tas/warnings/marinewind.shtml (http://www.bom.gov.au/tas/warnings/marinewind.shtml)
Severe Warning : http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html (http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html)
RSS: excert for the level one.
Code: [Select]
<item>
<title>14/16:46 EST Severe Weather Warning 1 (TAS)</title>
<link>
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html
</link>
<pubDate>Wed, 14 Sep 2016 06:46:45 GMT</pubDate>
<guid isPermaLink="false">
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html
</guid>
</item>
Not sure what you can do about it, just thought you and other Aussie's would like to know.
Kind regards,
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 05:14:15 AM
Hi Jachym,
Just a friendly heads up, on the Meteotemplate/AustralianWarnings script it works perfect for general warnings for every State in Aus, however for all "Severe Weather Warning 1" (High Level 1) Warnings for all States it does not.
Reason being they wrongly in my opinion use a different format for "Severe Weather Warning 1" .
Currently your dataloader looks for div.product (sadly this does not exist in the "Severe Weather Warning 1" html pages) so results in nil being returned for High Level 1..
Normal Warning : http://www.bom.gov.au/tas/warnings/marinewind.shtml (http://www.bom.gov.au/tas/warnings/marinewind.shtml)
Severe Warning : http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html (http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html)
RSS: excert for the level one.
Code: [Select]
<item>
<title>14/16:46 EST Severe Weather Warning 1 (TAS)</title>
<link>
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html
</link>
<pubDate>Wed, 14 Sep 2016 06:46:45 GMT</pubDate>
<guid isPermaLink="false">
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html
</guid>
</item>
Not sure what you can do about it, just thought you and other Aussie's would like to know.
Kind regards,

Hi Tony,
thanks for letting me know. It is not really "wrong", but inconsistent, which obviously is a problem. I will look into it once Im finished with a few other things Im working on right now, I will put it on my to-do list.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 05:17:17 AM
Quote
the MX version does not support 32-bit systems and cannot be installed on Windows XP. I do have some experience with Weather Display and the "normal Cumulus"
I don't know about CumulusMX on 32-bit and think correct on not running in XP.  However the output from CumulusMX such as realtime.txt is identical as in Cumulus 1, in fact all the data files are fully interchangeable between both versions, back and forth... regardless which OS CumulusMX is being used with.

Paul

Yes you are right about that indeed. I was just suggesting that in my opinion WD is a far better SW and from the screenshots, WeatherCat also seemed more attractive to me than Cumulus, so I understand why Tom wants to stick to it. As I said, Im not suggesting Cumulus is a bad piece of SW, definitely not, but in my opinion if I were to choose one, I dont see a single advantage of Cumulus over WD, well maybe that it is simpler meaning for people that dont need that much stats and features WD can offer, but thats exactly what I like about WD :D And I guess you too Paul :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2016, 07:27:13 AM
Quote
but thats exactly what I like about WD (http://www.wxforum.net/Smileys/default/icon_biggrin.gif) And I guess you too Paul (http://www.wxforum.net/Smileys/default/icon_biggrin.gif)
INCORRECT!

And I would/will not change for my usage.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 07:36:08 AM
OK Paul, sorry if it seemed like Im saying you should use WD, that was not what I meant, when I said "you too Paul" I was referring to the previous part of the sentence, i.e. that we both like lot of statistics and detailed info :-) Not that we both prefer WD :-)
It is about personal preferences, for me it is hard to find any advantage of Cumulus over WD, but thats just my opinion and I will include support for many other SW for Meteotemplate, not just WD.
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 14, 2016, 07:41:41 AM
I do in fact have Parallels on my Mac.  I am trying to stick with a native Mac app but in the end I may go back to WD and run it under parallels on my mini mac or I might mess around with WD for Mac and see if it is stable enough.  It hasn't been in the past.

Tom

If you were to run Fusion or Parallels on the Mac Mini it would opens a few more options.
I had no choice but to use Fusion on my Mac because there was no Mac development tool for PIC controllers.
Just a thought.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 07:42:25 AM
But it is also possible that I simply dont know the SW that well or was using some older version of Cumulus, so if you know about some cool features WD does not have, feel free to write them here. When I say I prefer WD it would be because of several reasons:
- it does offer more things (more graphs, more stats etc.)
- as a developer it is always much easier to work with WD because it is consistent, Cumulus log files for example are very hard to work with, not only do they use various units (that can be solved though because there is a field for the unit, but it is extra work), but also date formats are different, time formats are differnt, field separators, decimal separators... I still sometimes get an email that the scripts for Cumulus are not working and when I get that person´s log file, it is yet different to anything I have came across before
- unprecendented level of support - I have never seen any other SW, where a user would ask for something on the SW forum and the developer would release a new build with that feature that same day.... And Brian has been extremely helpful and even made some modifications to WD particularly for MT users to make it easier for them to use
- the clientraw files contain absolutely exhaustive number of parameters, allowing me to use it for example for the soil temperature plugin (as far as I know, this is not included in realtime.txt).

I do not want to say WD is the best, it would be my choice number one if I was to use a SW for my weather station, but it is my subjective opinion. Right now I am very happy with my Meteobridge that I have been using for over 4 years.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 07:44:34 AM
I do in fact have Parallels on my Mac.  I am trying to stick with a native Mac app but in the end I may go back to WD and run it under parallels on my mini mac or I might mess around with WD for Mac and see if it is stable enough.  It hasn't been in the past.

Tom

If you were to run Fusion or Parallels on the Mac Mini it would opens a few more options.
I had no choice but to use Fusion on my Mac because there was no Mac development tool for PIC controllers.
Just a thought.

Hi Tom,
based on what you said it does not look like it should be a problem to include WeatherCat support. What I would therefore ask you to do is if you could provide me a URL to the second file you posted, which is being updated on your server. I would use that URL temporarily for testing it. I will create a new script for it and I need some source file to work with. I am talking about the second file you posted, the one with just one long line. If everything goes ok, it should be ready relatively soon.


EDIT:
OK looking at it I will need some more info.

For example, in the file, the "rfall" variable, does that correspond to daily rain?
Then, what about the wind units, yours has "MPH", but how are the other ones designated, "KMH", "KM/H",.... and what are all the options, is it also MS, KT and how are all these abbreviated. What about pressure, is it just inhg and hpa? Or is it also mmhg, or is hpa defined in mb?

I need some sort of a list of what is all possible to be able to take into account all possible settings of all WeatherCat users.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 14, 2016, 08:32:19 AM
Quote
the clientraw files contain absolutely exhaustive number of parameters, allowing me to use it for example for the soil temperature plugin (as far as I know, this is not included in realtime.txt).
I don't know the clientraw files and I am sure it is what you say.  Cumulus realtime.txt is the same since its early development and I believe that is so that it can continue to be compatible to all post and inter-versions, and it contains most if not all what is usually expected.  However with the hundreds of web tags in Cumulus a similar file can be very easily created and processed and uploaded in the same real time so it meets the need of the user.  I in fact have more than 1 realtime.txt for specific purposes.

We are getting away from this thread's purpose, but wanted to correct any mis or incomplete information that is easily misinterpreted.  The time/date format that Cumulus generally uses is based on the set format that the user uses on their computer OS, which is therefore flexible and needs to be understood by the program user to best suit them.  I understand this can be confusing for third-party all-purpose development.  Of the now nearly 200 blocks and plugins for Meteotemplate I can only think of one that is not available to me as a Cumulus user.  That speaks to the usefulness of Cumulus, but even more so to your development work.  Thank you!

Enjoy,
Paul

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 08:53:02 AM
Yes Paul, though my opinion about for example the date and time is that this should be consistent. Why? Simply because if that was saved for example as a timestamp, then both the Cumulus and me in MT scripts or anyone else, we all know we have a timestamp and we convert it to whatever we need to. Cumulus would simply save it as a timestamp and then before showing it to the user in the program it would convert the timestamp to whatever setting the user has in their OS. Likewise, I would take the timestamp and convert it to whatever I need for that particular purpose. Same with units, if it was always the same, you as a developer, or Steve in Cumulus, would do the conversion afterwards, before showing it to the user, but leaving it the same in the log files.
And with regards to consistency - clientraw files were also made years ago and when Brian adds new things to it, he always adds it to the end, which means that the numbering of the already existing parameters in the clientraw file does not change, preventing any potential compatibility issues ;)
Yes you are able to use almost everything with Cumulus but.... first it is much more complicated for developers to work with and second, it is not the case for all Cumulus users. For some I had to make customized changes in the script.

And with regards to price - it is basically the same too. Cumulus can be tested out for free and if you like it you are supposed/should donate, it is not a free software. With WD it is similar, you have a free trial. If you decide this is not for you, then you dont pay anything, if you find it useful and want to use it, you pay a one-off payment which also allows you to download free future updates and includes Brian´s support.

But I agree, this would be a topic for a different thread :D
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 14, 2016, 10:07:57 AM
Please look at this link.  I gives what all the variables are, how they relate to Cumulus, and the units that can be used.

http://wiki.trixology.com/index.php/WeatherCat_Webtags_with_Cumulus_Equivalents (http://wiki.trixology.com/index.php/WeatherCat_Webtags_with_Cumulus_Equivalents)

Here is the link to the real time file:

http://www.kq5s.com/weather28/uploadWC/realtime.wc.txt (http://www.kq5s.com/weather28/uploadWC/realtime.wc.txt)


EDIT:
OK looking at it I will need some more info.

For example, in the file, the "rfall" variable, does that correspond to daily rain?
Then, what about the wind units, yours has "MPH", but how are the other ones designated, "KMH", "KM/H",.... and what are all the options, is it also MS, KT and how are all these abbreviated. What about pressure, is it just inhg and hpa? Or is it also mmhg, or is hpa defined in mb?

I need some sort of a list of what is all possible to be able to take into account all possible settings of all WeatherCat users.
[/quote]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 10:57:19 AM
Hi Tom,
thanks for the links.

However, i was looking at the first link and it is for the second file, not the first one and there are differences. I can see that because for example the pressure units in your file are "inHg", but in the other one it is "in Hg". It could be that the abbreviations are different and I have to be 100% sure this is correct otherwise it would save incorrect numbers to the database.

I registered on the WeatherCat forum and once my account is approved I will ask the developer about this.
Title: Meteotemplate - New Blocks - Radar Italy and Radar Sweden
Post by: Jáchym on September 14, 2016, 11:02:06 AM
New Blocks - Radar Italy, Radar Sweden

Hi guys, two new radar blocks, both have the latest radar image for that particular location and with the possibility to zoom the image.

Demo Italy: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarIT
Demo Sweden: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarSE

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 14, 2016, 11:08:16 AM
Here is link to other file:

http://www.kq5s.com/weather28/uploadWC/tags.wc.txt (http://www.kq5s.com/weather28/uploadWC/tags.wc.txt)

Hi Tom,
thanks for the links.

However, i was looking at the first link and it is for the second file, not the first one and there are differences. I can see that because for example the pressure units in your file are "inHg", but in the other one it is "in Hg". It could be that the abbreviations are different and I have to be 100% sure this is correct otherwise it would save incorrect numbers to the database.

I registered on the WeatherCat forum and once my account is approved I will ask the developer about this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 11:10:31 AM
Thats not what I meant.
I meant that the link you provided with the field descriptions is for the second file.
I already have the script partially done and Im using the first file, but I need the field descriptions for that file, not the second one. I will ask on the forum.
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 14, 2016, 11:34:26 AM
OOPS.  My mistake.  We will see what the forum folks tell you.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 11:54:38 AM
I hate weatherdisplay it's a cluttered interface  but everybody his  / her choiche , waiting for a good radarblock for The Netherlands  8-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 12:23:55 PM
I hate weatherdisplay it's a cluttered interface  but everybody his  / her choiche , waiting for a good radarblock for The Netherlands  8-)

I found this:
http://adaguc.knmi.nl/contents/datasets/productdescriptions/W_ADAGUC_Product_description_RADNL_OPER_R___25PCPRR_L3.html
But I must admit Im not quite sure I get how it works :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 01:41:30 PM
I hate weatherdisplay it's a cluttered interface  but everybody his  / her choiche , waiting for a good radarblock for The Netherlands  8-)

I found this:
http://adaguc.knmi.nl/contents/datasets/productdescriptions/W_ADAGUC_Product_description_RADNL_OPER_R___25PCPRR_L3.html
But I must admit Im not quite sure I get how it works :D

Look very interresting but if you ve no idea how it works then its total acacadabra for me  :shock: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 01:43:37 PM
Yes, it is very confusing and the coordinates and bounding box is very weird, its not standard GPS
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 01:49:42 PM
Maybe buienradar.nl thre seems to be some api  ( free) too for rain prediction using the lat long position i will look up that tommorrow and let you now
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 02:24:28 PM
Just looked at it, they only have the webpage widgets, which use iframes and cannot be in any way modified, I dont want to use that. Well you can always use the radarEU block and choose Central Europe which covers NL
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 02:30:32 PM
I know those iframes and also don t like it, but there are tranparant animated gif overlays , it should be possible to use this on a static geographic map on the template the problem is i think how to scale it , im on my tablet so i cant give you examples now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 02:36:06 PM
You mean like using the image from the widget?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 02:49:16 PM
Buienradar is very commercial dont know if it works but the knmi has its own wearherchart with radar and other data http://cdn.knmi.nl/knmi/map/general/weather-map.gif?e2bdcf3df083f3c979a528dab7d62f9c the last part of the url is for avoiding caching data from the Knmi are free.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 02:53:12 PM
The first page is definitely a no...
1. the image in the widget is tiny
2. scraping it from the HTML would be complicated because the images and folder names are dynamic
3. it is against the license

The other image would work, but Im not sure how much better it is than the already existing radarEU.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 02:58:15 PM
Oke no thing against the rules. I think the radar EU is too big for my regianal site the best would be The Benelux (belgium, netherlands, Luxembourg) but have no idea if thre is data availble ...

Something like this http://www.weerplaza.nl/regenradar/europa/benelux/ my battery is almost empty  :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 03:04:38 PM
You would have to find some API service for it.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 14, 2016, 03:12:46 PM
http://api.buienradar.nl/image/1.0/radarmapnl/gif/?hist=1&forc=1&width=550&rndm=

http://api.buienradar.nl/image/1.0/radarmapnl/gif/?hist=12&forc=0&width=550&l=1( current)

http://api.buienradar.nl/image/1.0/radarmapnl/gif/?hist=0&forc=36&width=550&l=1&step=1coming 3 hours

http://api.buienradar.nl/image/1.0/24HourForecastMapNL/gif/?hist=0&forc=24&width=550&l=1&step=0 coming 24 hours
There is a link printed on the map but i think the api s are free otherwise the shouldt work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 14, 2016, 03:18:44 PM
Ok thats better :)
Title: Meteotemplate 9.0 Avocado!!!
Post by: Jáchym on September 15, 2016, 07:15:24 AM
(http://i64.tinypic.com/b6v9eb.png)

Hi guys,
the time has come to another major template update. Introducing Meteotemplate 9.0 Avocado. This update is not a revolutionary, but rather evolutionary update. It brings some new features that will make your life as a webmaster even easier and more efficient, it includes a few bug fixes, but there are still also some new pages and some improvements for homepage layout. And last but not least, one of the main reasons I wanted to do this update is because I made some changes in the backend that will allow creation of some new blocks and plugins I have in mind.


- interval summary – new page for your weather station data. This page allows you to choose any date interval and will calculate summary statistics for this custom interval as well as show graphs. There is also a new feature for the graphs, which can now be resized easily by simply dragging the graph with a cursor.

- subblocks – this is another new feature or rather block type, that will complement the already existing multiple and menu block. The way this works is described in detail in the updated wiki, which now also has a PDF guide to creating blocks. In summary – imagine you have a multiple block. However one of the blocks is really big and so the other multiple block slot, looks quite empty. This subblock feature allows you to nest more than one block on top of each other in each multiple block slot.

- admin menu – whenever you are logged in as administrator, the menu will contain one more drop down with links to some common admin actions (main setup, block setup, plugin setup etc.).

- set up blocks on-the-fly – if you are logged in as administrator, you will see a small icon at the bottom of your desktop homepage, from which you can directly set those blocks that are currently shown on the homepage

- block/plugin update notifications – in the main setup is now a new section where you can enable/disable block/plugin notifications on homepage. When you enable this, every time you view your desktop homepage as the administrator, the template will check if there are some updates to the blocks and plugins you have installed and if so, it will show you a little notification at the top of your homepage. The script checks for new data once a day and caches it. As mentioned previously, this can be disabled.

- freezing line – in some graphs (eg. interactive graphs) you can now toggle on/off the option to show freezing temperatures with a different color (red/blue)

- sun theme – the "sun" theme is back, i.e. you can set the theme to change between light and dark depending on whether it is day or night time

- possibility to disable block elements – if for some reason you sometimes want to temporarily disable a block (or the whole multiple/menu block element), you can now do so by simply placing “//” at the beginning of that line in homepage creation page. Deleting the // will again enable it.

- new font - one new font type to choose from (Patrick Hand SC)

- backend changes – I made some changes in the backend that will allow creation of certain new blocks and plugins.
   - auto-load – there is now a new folder to which you can place any script and this script would then be loaded on each page of your template. This can be useful for some plugins and blocks and instead of having to change things in the header, you simply paste the script inside this new directory and the header scans that directory and will execute whatever is there. It will be used in the future.
   - cron – this folder is similar to the load folder, it will be used for cron scripts (all but the update one, that will remain separate). There are already a few plugins that need a Cron job. The more of these there are the more problematic it would be because you would have to create a cron job for each of these. This new feature will unify these into one single cron. That script will like the header, scan the “cron” directory and execute whatever is there. In the future I will update for example the webcam plugin and also create new blocks/plugins that will require a cron job and instead of having to create a new job, you will just paste a new script to that cron directory.

- bug fixes

- compatibility checked with HTTPS as well


Update should take you maybe a minute or two, I would only like to ask someone to please confirm the new features and update works and only then will I also send emails to all the subscribers about the update, when Im sure it works (I tested it on two servers and the DEMO has been updated as well, but... you never know).

Instructions for update: http://meteotemplate.com/blog/?p=1100

ENJOY!!!
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 15, 2016, 10:21:15 AM
Started to follow the instructions to do the update but noticed that when using the back up tools on the admin page it never makes the zip fils ](*,)

After giving me the message that all is complete it tries to open http://www.sanfordweather.com//meteo/backup/20160915db/completeDB.zip but it isn't there?

All the un-zipped files seem to be there, is it a issue with 1&1 hosting?

I'll continue with the upgrade in a bit!
Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 10:35:59 AM
Hi Bill,
yes unfortunately I did have a few other users reporting the ZIP function did not work, I will try to see if I can implement some alternative, it must be something to do with installed extensions of PHP. Lets just concentrate on the update as such now, but I do have this on my to-do list as well. I think one user might have a solution already, I will try to work with him to make it work, it is difficult because I was unable to replicate the issue on my server and a few others, where it worked fine.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 15, 2016, 10:49:19 AM
OK, update done, all seems to be working!
Have not explored all the new features but so far so good,

Great Job as usual  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 15, 2016, 11:04:06 AM
I hereby confirm everything works great.
Congratulations Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 11:13:00 AM
Ok thanks :)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 15, 2016, 11:14:39 AM
Is there some setup required for the Interval Summary page? Or have I missed a file?

Mine never seems to complete, http://www.sanfordweather.com//meteo/pages/station/intervalSummary.php?from=2016_09_15_10_11&to=2016_1_15_10_11 (http://www.sanfordweather.com//meteo/pages/station/intervalSummary.php?from=2016_09_15_10_11&to=2016_1_15_10_11)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 11:20:07 AM
No Bill, but check what you have put in, you are looking for data:

from: 15 Sep 2016
to: 15 Jan 2016¨

which is nonsense...
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 15, 2016, 11:24:38 AM
Sorry, my bad, not enough coffee this morning!

Works fine if you put in the right parameters!!! ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 11:26:08 AM
No problem, the important thing is it works fine :-) I should have included some checking mechanism that would not let you enter "to" date before "from"..,.
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 15, 2016, 12:38:12 PM
Is there some setup required for the Interval Summary page? Or have I missed a file?

Mine never seems to complete, http://www.sanfordweather.com//meteo/pages/station/intervalSummary.php?from=2016_09_15_10_11&to=2016_1_15_10_11 (http://www.sanfordweather.com//meteo/pages/station/intervalSummary.php?from=2016_09_15_10_11&to=2016_1_15_10_11)
where should i put this new page?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 12:56:26 PM
Johny just upload all the pages from pages/station/ directory in the update package to your pages/station/ directory on your server
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 15, 2016, 01:04:07 PM
Johny just upload all the pages from pages/station/ directory in the update package to your pages/station/ directory on your server
I've already done it, but i'm wondering if i have to modify the menu.php in order to show up the link of the page... :-k
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 01:27:10 PM
Yes. if you are not using the default menu.php included in the package, then you must insert that link yourself (see instructions for update)
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 15, 2016, 01:57:34 PM
Yes. if you are not using the default menu.php included in the package, then you must insert that link yourself (see instructions for update)
Ok, i did it!
Is there any icon for this?
Thanks a lot!
Title: Re: Meteotemplate - new free website template
Post by: gus on September 15, 2016, 03:27:39 PM
Hi Jachym,
Avocado is up and running. Looking good.  =D&gt;

The Interval Summary does not seem to like chucks bigger than a few months.
6/15/15 to 12/15/15 will display graphs but 5/15/15 to 12/15/15 just keeps spinning.

These work...
http://www.halethorpeweather.com/meteo/pages/station/intervalSummary.php?from=2015_6_15_14_44&to=2015_12_15_14_44
http://www.meteotemplate.com/template/pages/station/intervalSummary.php?from=2015_6_15_20_56&to=2015_12_15_20_56
 
These don't work...
http://www.halethorpeweather.com/meteo/pages/station/intervalSummary.php?from=2015_5_15_14_53&to=2015_12_15_14_53
http://www.meteotemplate.com/template/pages/station/intervalSummary.php?from=2015_4_15_20_56&to=2015_12_15_20_56

Avg/Max/Min/Range table loads for multiple years but graphs not more than 6 to 8 months.

Update...
This one works well for some reason ??????
http://www.sanfordweather.com//meteo/pages/station/intervalSummary.php?from=2015_09_15_14_39&to=2016_09_15_14_39

Admin menu is working  =D&gt;
sun theme working  =D&gt;
// block disable working  =D&gt;

Trying subblock[ ] menu option  ](*,)

Thanks for the update,
Gus
Title: Re: Meteotemplate 9.0 Avocado!!!
Post by: SpringHillWeather on September 15, 2016, 03:57:35 PM
(http://i64.tinypic.com/b6v9eb.png)

Hi guys,
the time has come to another major template update. Introducing Meteotemplate 9.0 Avocado. This update is not a revolutionary, but rather evolutionary update. It brings some new features that will make your life as a webmaster even easier and more efficient, it includes a few bug fixes, but there are still also some new pages and some improvements for homepage layout. And last but not least, one of the main reasons I wanted to do this update is because I made some changes in the backend that will allow creation of some new blocks and plugins I have in mind.


- interval summary – new page for your weather station data. This page allows you to choose any date interval and will calculate summary statistics for this custom interval as well as show graphs. There is also a new feature for the graphs, which can now be resized easily by simply dragging the graph with a cursor.

- subblocks – this is another new feature or rather block type, that will complement the already existing multiple and menu block. The way this works is described in detail in the updated wiki, which now also has a PDF guide to creating blocks. In summary – imagine you have a multiple block. However one of the blocks is really big and so the other multiple block slot, looks quite empty. This subblock feature allows you to nest more than one block on top of each other in each multiple block slot.

- admin menu – whenever you are logged in as administrator, the menu will contain one more drop down with links to some common admin actions (main setup, block setup, plugin setup etc.).

- set up blocks on-the-fly – if you are logged in as administrator, you will see a small icon at the bottom of your desktop homepage, from which you can directly set those blocks that are currently shown on the homepage

- block/plugin update notifications – in the main setup is now a new section where you can enable/disable block/plugin notifications on homepage. When you enable this, every time you view your desktop homepage as the administrator, the template will check if there are some updates to the blocks and plugins you have installed and if so, it will show you a little notification at the top of your homepage. The script checks for new data once a day and caches it. As mentioned previously, this can be disabled.

- freezing line – in some graphs (eg. interactive graphs) you can now toggle on/off the option to show freezing temperatures with a different color (red/blue)

- sun theme – the "sun" theme is back, i.e. you can set the theme to change between light and dark depending on whether it is day or night time

- possibility to disable block elements – if for some reason you sometimes want to temporarily disable a block (or the whole multiple/menu block element), you can now do so by simply placing “//” at the beginning of that line in homepage creation page. Deleting the // will again enable it.

- new font - one new font type to choose from (Patrick Hand SC)

- backend changes – I made some changes in the backend that will allow creation of certain new blocks and plugins.
   - auto-load – there is now a new folder to which you can place any script and this script would then be loaded on each page of your template. This can be useful for some plugins and blocks and instead of having to change things in the header, you simply paste the script inside this new directory and the header scans that directory and will execute whatever is there. It will be used in the future.
   - cron – this folder is similar to the load folder, it will be used for cron scripts (all but the update one, that will remain separate). There are already a few plugins that need a Cron job. The more of these there are the more problematic it would be because you would have to create a cron job for each of these. This new feature will unify these into one single cron. That script will like the header, scan the “cron” directory and execute whatever is there. In the future I will update for example the webcam plugin and also create new blocks/plugins that will require a cron job and instead of having to create a new job, you will just paste a new script to that cron directory.

- bug fixes

- compatibility checked with HTTPS as well


Update should take you maybe a minute or two, I would only like to ask someone to please confirm the new features and update works and only then will I also send emails to all the subscribers about the update, when Im sure it works (I tested it on two servers and the DEMO has been updated as well, but... you never know).

Instructions for update: http://meteotemplate.com/blog/?p=1100

ENJOY!!!

Updated my site, looks good Jachym!

Thanks for the new additions, like the interval plugin.

Title: Re: Meteotemplate - new free website template
Post by: Kylo on September 15, 2016, 04:27:11 PM
Hi Jáchym,

Updated and all is work fine. Only the google-api-key is always gone when i go to main-setup ! any idea ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 05:37:31 PM
Hi Jáchym,

Updated and all is work fine. Only the google-api-key is always gone when i go to main-setup ! any idea ?

Did you change it in the google maps api key text file? You need to change it there.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 05:39:42 PM
Hi Jachym,
Avocado is up and running. Looking good.  =D&gt;

The Interval Summary does not seem to like chucks bigger than a few months.
6/15/15 to 12/15/15 will display graphs but 5/15/15 to 12/15/15 just keeps spinning.

These work...
http://www.halethorpeweather.com/meteo/pages/station/intervalSummary.php?from=2015_6_15_14_44&to=2015_12_15_14_44
http://www.meteotemplate.com/template/pages/station/intervalSummary.php?from=2015_6_15_20_56&to=2015_12_15_20_56
 
These don't work...
http://www.halethorpeweather.com/meteo/pages/station/intervalSummary.php?from=2015_5_15_14_53&to=2015_12_15_14_53
http://www.meteotemplate.com/template/pages/station/intervalSummary.php?from=2015_4_15_20_56&to=2015_12_15_20_56

Avg/Max/Min/Range table loads for multiple years but graphs not more than 6 to 8 months.

Update...
This one works well for some reason ??????
http://www.sanfordweather.com//meteo/pages/station/intervalSummary.php?from=2015_09_15_14_39&to=2016_09_15_14_39

Admin menu is working  =D&gt;
sun theme working  =D&gt;
// block disable working  =D&gt;

Trying subblock[ ] menu option  ](*,)

Thanks for the update,
Gus

Thanks, I will look what could be the problem.

EDIT:
I found the problem, there is a typo, but that actually is not such a big deal, the main problem is in the memory limit, I guess I will have to modify the AJAX calls and have each graph loaded separately by separate Ajax calls. It would cause problems for people who have lower PHP limits. This will require some substantial edits so I will release it as "bug fix" within the next couple of days.
Title: Re: Meteotemplate - new free website template
Post by: gus on September 15, 2016, 07:06:58 PM

Hi Jachym,

A couple more typos..

I've been working with the subblock[ ]  option. After about two hour with no success, I realize that subblock looked different from the other options.
multipleBlock, menuBlock, why not try subBlock.
Well subBlock does work.  =D&gt;

Not the best layout but working
http://www.halethorpeweather.com/meteo/indexMobile.php
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 07:21:23 PM
Hi Gus,
I already updated the download files (main and update) there was a problem with the hour and minute, but that didnt solve it anyway. I basically have two options:

1. have each graph loaded using data from a separate ajax call
2. group the data by hours/days for the graphs

In both cases I would achieve reducing the number of records outputed via the array.

First one is more complicated to code, second one means lower resolution of the graphs.


WIth regards to subblocks - yes they have square brackets and different separator and it is on purpose because only that way I can specifically distinguish them from the other syntax. For example, the multiple block is recognized by exploding it by commas/brackets and so if that was also inside the subblock option, it would end the multiple block and did not work at all.
Title: Re: Meteotemplate - new free website template
Post by: gus on September 15, 2016, 07:26:24 PM
Regarding the typo - subblock
Correct spelling is - subBlock with a capital B in the middle.
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 07:50:55 PM
All the other have also capital "B" (menuBlock, multipleBlock). It is shown like that in both the wiki and the PDF guide, sorry if you were confused, but both the wiki and the PDF guide show this correctly right since I released it.
Title: Re: Meteotemplate - new free website template
Post by: gus on September 15, 2016, 08:10:24 PM
You are correct two out of three places, however on the Homepage Layout where the data is entered...

multiple block syntax:
multipleBlock(block1,block1 width;block2,block2 width)
Example: multipleBlock(current,60;stationData,40)

menu block syntax:
menuBlock(block1;block2;block3;block4)
Example: menuBlock(radarEU;radarUS;radarAU;radarCA)

subblocks - subblocks are used to stack more blocks in one multiblock slot vertically. The syntax uses subblock[block1&block2]

A block can also be temporarily disabled, if you want to temporarily disable a block just put "//" in front of the block name.

Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 15, 2016, 08:14:20 PM
I  am really sorry about that I will update that page tomorrow
Title: Re: Meteotemplate - new free website template
Post by: Kylo on September 16, 2016, 02:06:16 AM
Hi Jáchym,

Updated and all is work fine. Only the google-api-key is always gone when i go to main-setup ! any idea ?

Did you change it in the google maps api key text file? You need to change it there.
Thats the trick !  ](*,) All OK now !  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2016, 06:28:01 AM
Hi guys,

I am trying to put together any issues with version 9 so that I can fix them in one single bug fixes package.

So far I have this:
- the subblock syntax on the homepage creation page has a typo
- the interval summary pages cause problems on servers with lower memory limit

If you found anything else let me know and I will prepare the bug fixes package hopefully over the weekend, I have part-time job on both Sat and Sun, but hopefully I will find time to do it. I still have to decide what to do about the interval summary.

Also...

Minor block update - Earthquakes 1.2
One user found there were some language strings hard-coded in English, this update therefore only includes translations for the missing strings.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2016, 08:12:45 AM
Updated to Avocado , saw I had to update some blocks and plugins forther no problems found . Thanks Jachym
Title: Meteotemplate - new country package
Post by: Jáchym on September 16, 2016, 09:49:50 AM
Hi guys,

I have prepared another country package, this time for the Netherlands.

This includes three new blocks.

Netherlands - Current conditions

This block shows average and current conditions for many stations/regions in the Netherlands (weather conditions icon, temperature, humidity, pressure, precipitation)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentNL


Netherlands - Forecast

This is a textual forecast (in Dutch) for Netherlands. Includes forecast for today, upcoming weeks and daily forecast.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastNL


Netherlands - Radar

Animated radar image (current, +3 and +24 hours).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarNL



None of the blocks requires any setting, just upload to your blocks directory and add to your homepage.

Enjoy
Title: Re: Meteotemplate - new country package
Post by: nitrx on September 16, 2016, 10:23:19 AM
Hi guys,

I have prepared another country package, this time for the Netherlands.

This includes three new blocks.

Netherlands - Current conditions

This block shows average and current conditions for many stations/regions in the Netherlands (weather conditions icon, temperature, humidity, pressure, precipitation)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentNL


Netherlands - Forecast

This is a textual forecast (in Dutch) for Netherlands. Includes forecast for today, upcoming weeks and daily forecast.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastNL


Netherlands - Radar

Animated radar image (current, +3 and +24 hours).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarNL



None of the blocks requires any setting, just upload to your blocks directory and add to your homepage.

Enjoy

Thank you very much Jáchym installed  \:D/ just one note the sort arrows for currentconditionsNL don't work , they don't work in your demo too

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2016, 10:28:16 AM
Fixed
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 16, 2016, 10:32:35 AM
Fixed

Thats fast thanks  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 16, 2016, 10:43:13 AM
Plugin Update - Data Display 2.0

Hi guys,

based on a suggestion from one of you I updated the Data Display plugin. In this new version you can set the default view - either the one-parameter one, or the all parameter grid. It can then be changed in the menu as before, this is just what you see when you load the page. There are also some minor bug fixes included in the udpate.

DEMO: http://www.meteotemplate.com/template/plugins/dataDisplay/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 16, 2016, 09:08:53 PM
I think I am all up to date in version, blocks and plugins.  Just to clean up my Menu.php along with the Admin functions.

Paul
Title: Meteotemplate - New Block - Radar Portugal
Post by: Jáchym on September 17, 2016, 12:08:23 PM
New Block - Radar Portugal

Hi guys,

new block is now available, a radar image for Portugal, which shows you the latest radar image available, with the possibility to go back about and view images from the past 24 hours as well.

No setup required.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarPT

Enjoy
Title: Meteotemplate - New Plugin - Notifications
Post by: Jáchym on September 17, 2016, 02:54:16 PM
New Plugin - Notifications

Hi guys,

this is the first (still a bit experimental) plugin that will make use of the new features in version 9.0 Avocado (i.e. it will only work if your site is updated to version 9). For now there is just one script available, but if it turns out to work as expected I will add more options in the future.

Features

In this plugin setup you specify some time of the day and then, once this time passes, it will auto-post to Twitter. The message it posts is something you also specify and you can use tags that will automatically be replaced with the corresponding numbers/text. For example you can say:

Yesterday's maximum temperature was %Tmax% C.

The %Tmax% would be replaced by the corresponding number. The tags are described on the Plugin setup page.

In addition, this plugin obviously will need a new CRON job, however, as I mentioned in the post about new version 9, all the future CRONs will be unified into one single CRON job. Because this is the first Plugin to make use of it, you will have to set up this new CRON job, but in the future, you will just add more scripts to this already existing job.

There is no demo for this and there is also no index page because this is not something that will be in your menu or that a user would view directly. Also, make absolutely sure you read carefully the plugin documentation page, which tells you exactly how to set it up!

Enjoy
Title: Re: Meteotemplate - New Plugin - Notifications
Post by: KapitainOne on September 17, 2016, 04:22:40 PM
New Plugin - Notifications

Hi guys,

this is the first (still a bit experimental) plugin that will make use of the new features in version 9.0 Avocado (i.e. it will only work if your site is updated to version 9). For now there is just one script available, but if it turns out to work as expected I will add more options in the future.

Features

In this plugin setup you specify some time of the day and then, once this time passes, it will auto-post to Twitter. The message it posts is something you also specify and you can use tags that will automatically be replaced with the corresponding numbers/text. For example you can say:

Yesterday's maximum temperature was %Tmax% C.

The %Tmax% would be replaced by the corresponding number. The tags are described on the Plugin setup page.

In addition, this plugin obviously will need a new CRON job, however, as I mentioned in the post about new version 9, all the future CRONs will be unified into one single CRON job. Because this is the first Plugin to make use of it, you will have to set up this new CRON job, but in the future, you will just add more scripts to this already existing job.

There is no demo for this and there is also no index page because this is not something that will be in your menu or that a user would view directly. Also, make absolutely sure you read carefully the plugin documentation page, which tells you exactly how to set it up!

Enjoy

Could you tweak this in future to send an email instead of using twitter?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 17, 2016, 04:35:19 PM
Yes I could :-) I just want to see if it works as such first and then I can start adding more stuff, eg. reports at particular time with current conditions, monthly summaries etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 17, 2016, 07:23:26 PM
I would just like to remind those of you using the Users plugin, not to forget to update the user file regularly... in fact Im really excited to tell you that if you really wanted to be up-to-date all the time, you would have to re-download that file about 3-4 times a day... Over the last week (and even prior to that) there is on average over 3 new users/day, even from places like Chile or Dominican Republic, plus many new in Europe and also North America.

I just received a question about this new plugin and CRON jobs, so let me clarify a bit more.

In the future I will update all currently existing blocks/plugins (I think it is just the webcam though) that use CRONs so that they work from the load folder.
The database update however, will always remain separate.

So the idea is you will always have two CRONs in the future:
- load/cron.php
- update CRON

This is because:
1. users of Meteobridge use a different way of updating
2. more importantly - the database update CRON page is probably the most important page of all that must be working 100% of the time. Even if your whole website was down we need to make sure this site is up and running in the backend.

This means that I want to keep it separate. Just in case... Because if for any reason any of the scripts you now have/will have in the cron.php autoload fails, it would also stop updating your db. I know that the update pages work and also, over time, if for some reason for example one of the pages loaded by autocron took too long and the script times out... we want to make sure the update is bug-free and very fast executed. So it has priority over everything else and will remain separate.

The important thing for now is that you have to put that new script in crons folder and set a new cron job for it, but do not do anything with your already existing update cron and update script :-)
Title: Meteotemplate - new blocks
Post by: Jáchym on September 18, 2016, 09:29:48 AM
Hi guys,

it is sometimes difficult to decide whether I should do a region-specific block or some other one that can be used by all. So I try to keep balance. On one hand a globally usable block is great, but people really appreciate when you make a block just for their country, which is also something unique to Meteotemplate.

Yesterday there was the Notifications plugin (btw. let me know if you saw any problems or if it is working as expected, in such case I would expand it with other features as well. I first want to see if the cron jobs using the new scripts work).

So now I have a few country-specific blocks.

New Blocks - Radars Germany/Spain/Hungary

The German radar show animated radar images for Germany as a whole and the individual states, the other two blocks show radar images for the corresponding country with select box allowing you to move in time.

DEMO Germany: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarDE
DEMO Spain: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarES
DEMO Hungary: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarHU

Enjoy
Title: Meteotemplate - version 9 Bug fixes package!
Post by: Jáchym on September 18, 2016, 11:04:59 AM
Hi guys,

I waited several days to give people time to report any potential problems. Based on your comments I know released a bug fixes package, which contains two changes. Update should be very simple, just replace the corresponding pages.

Fixes:

- optimization of interval summary - the script now much better handles larger time intervals. It turned out some of you have lower memory limits, so now, if the interval is longer than one year, data in the graphs will be grouped by hours, if it is longer than 3 years, it will be grouped by days (always using average values). The original script only handled intervals up to approximately 6 months, now it should be ok to use even intervals longer than 5 years.
- corrected typo in the sub-block syntax on the homepage creation page

Special thanks goes to Gus for spotting this.

The package can be downloaded from the Downloads page, section Bug fixes.
Title: Re: Meteotemplate - new free website template
Post by: gus on September 18, 2016, 11:53:02 AM
Hi Jachym,

It's all good!  =D&gt;

The 9.1 update corrected my problem with the graphing with intervalSummary.php
Optimization working with 9 months, 1 year, 3 years, and 5+ years of data.

Problem with syntax corrected...
The syntax uses <strong>subBlock[block1&block2]

Notification tweet from load/cron worked properly over night...
https://twitter.com/GusCampbell5718/status/777359002514575360

Have updated the text to include #MeteoTemplate in tweet.

Thank you,
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2016, 12:02:21 PM
Hi Jachym,

It's all good!  =D&gt;

The 9.1 update corrected my problem with the graphing with intervalSummary.php
Optimization working with 9 months, 1 year, 3 years, and 5+ years of data.

Problem with syntax corrected...
The syntax uses <strong>subBlock[block1&block2]

Notification tweet from load/cron worked properly over night...
https://twitter.com/GusCampbell5718/status/777359002514575360

Have updated the text to include #MeteoTemplate in tweet.

Thank you,
Gus

OK, in other words I could not wish for anything better :D Thanks for letting me know and spotting the errors :-)
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 18, 2016, 12:05:36 PM
I clicked on your meteo link on the left side of your web page and it took me to a blank page.

Tom

Hi Jachym,

It's all good!  =D&gt;

The 9.1 update corrected my problem with the graphing with intervalSummary.php
Optimization working with 9 months, 1 year, 3 years, and 5+ years of data.

Problem with syntax corrected...
The syntax uses <strong>subBlock[block1&block2]

Notification tweet from load/cron worked properly over night...
https://twitter.com/GusCampbell5718/status/777359002514575360

Have updated the text to include #MeteoTemplate in tweet.

Thank you,
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2016, 06:11:43 PM
I prefer WD as well but WD on the Mac is not so good.  If I were using Windows, which I did for a long time, it would be an easy choice for WD.

Tom

Quote
I am using a Mac and WeatherCat software.  I do not see any Mac software that is supported by the template.  Is there any Mac native weather software supported by the template?
Not used it myself but I understand CumulusMX runs on Mac.

Paul

I never used MX, even when I still used windows, as far as I know, the MX version does not support 32-bit systems and cannot be installed on Windows XP. I do have some experience with Weather Display and the "normal Cumulus", just while I was developing stuff for it, never used it for my own station, but I must say that I prefer WD much more in terms of what it can do, the overall user experience, installation etc. so if I wanted to use some SW with my station (which is currently not possible because I cannot have my PC on 24/7, which is why I use Meteobridge), then I would definitely go with WD.
And I looked at some screenshots of WeatherCat and I can understand why someone might prefer using it.

Just a quick update about what is happening with regards to WeatherCat. So I basically have the script 90% finished, but my account on the forum still has not been approved (after a week...) so there is not much I can do because I need to ask something there about one of the parameters.
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 18, 2016, 06:37:35 PM
I sent the developer an email asking for help getting you registered.

Tom

I prefer WD as well but WD on the Mac is not so good.  If I were using Windows, which I did for a long time, it would be an easy choice for WD.

Tom

Quote
I am using a Mac and WeatherCat software.  I do not see any Mac software that is supported by the template.  Is there any Mac native weather software supported by the template?
Not used it myself but I understand CumulusMX runs on Mac.

Paul

I never used MX, even when I still used windows, as far as I know, the MX version does not support 32-bit systems and cannot be installed on Windows XP. I do have some experience with Weather Display and the "normal Cumulus", just while I was developing stuff for it, never used it for my own station, but I must say that I prefer WD much more in terms of what it can do, the overall user experience, installation etc. so if I wanted to use some SW with my station (which is currently not possible because I cannot have my PC on 24/7, which is why I use Meteobridge), then I would definitely go with WD.
And I looked at some screenshots of WeatherCat and I can understand why someone might prefer using it.

Just a quick update about what is happening with regards to WeatherCat. So I basically have the script 90% finished, but my account on the forum still has not been approved (after a week...) so there is not much I can do because I need to ask something there about one of the parameters.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 18, 2016, 07:10:29 PM
Thanks, lets see what happens. In case nothing happens by Friday next week, we will just try it ourselves. I would send you the script to test and in the worst case some of the units wont work the first time, but hopefully we would be able to fix those bugs over time. Being able to ask the developer would make things faster, but it is not absolutely necessary.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2016, 07:18:20 AM
Hi Jachym,
Just a friendly heads up, on the Meteotemplate/AustralianWarnings script it works perfect for general warnings for every State in Aus, however for all "Severe Weather Warning 1" (High Level 1) Warnings for all States it does not.
Reason being they wrongly in my opinion use a different format for "Severe Weather Warning 1" .
Currently your dataloader looks for div.product (sadly this does not exist in the "Severe Weather Warning 1" html pages) so results in nil being returned for High Level 1..
Normal Warning : http://www.bom.gov.au/tas/warnings/marinewind.shtml (http://www.bom.gov.au/tas/warnings/marinewind.shtml)
Severe Warning : http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html (http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html)
RSS: excert for the level one.
Code: [Select]
<item>
<title>14/16:46 EST Severe Weather Warning 1 (TAS)</title>
<link>
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html
</link>
<pubDate>Wed, 14 Sep 2016 06:46:45 GMT</pubDate>
<guid isPermaLink="false">
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT20032.html
</guid>
</item>
Not sure what you can do about it, just thought you and other Aussie's would like to know.
Kind regards,

I was looking into this, but the problem is that I cannot find any level one warning right now, if you could maybe wait when there is one, then save that HTML page and send it to me to look at.
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 19, 2016, 07:26:25 AM
The developer asked me what was the user name you signed up with.

Tom

Thanks, lets see what happens. In case nothing happens by Friday next week, we will just try it ourselves. I would send you the script to test and in the worst case some of the units wont work the first time, but hopefully we would be able to fix those bugs over time. Being able to ask the developer would make things faster, but it is not absolutely necessary.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2016, 08:04:46 AM
jachym ;)
Title: Meteotemplate - Plugin Update - Conditions U.S. 2.0
Post by: Jáchym on September 19, 2016, 08:35:41 AM
Plugin Update - Conditions U.S. 2.0

Hi guys,

I updated the Conditions U.S. plugin. In the new version there are now sortable data tables below the map so you can easily look at the actual values, not just the map. I also fixed a bug in the weekly display, which incorrectly parsed the temperature and precipitation.

DEMO: http://www.meteotemplate.com/template/plugins/conditionsUS/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on September 19, 2016, 12:21:18 PM
You should be registered now.

Tom

jachym ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 19, 2016, 01:04:40 PM
Yup
Title: Meteotemplate - Plugin Update - Webcam 2.0
Post by: Jáchym on September 20, 2016, 08:12:18 AM
Plugin Update - Webcam 2.0

Hi guys,

I have updated the webcam plugin.

This is a major update, which includes the following changes/new features:

- creates a daily video timelapse from the available images (interval between looping the images can be set up in the settings)

- possibility to set recording only during day time (from one hour before sun rise to one hour after sun set, i.e. no images saved during night time)

- now uses the new auto-CRON feature introduced in version 9 (uses the unified cron.php)

- optimizations and minor bug fixes

MAKE SURE YOU CAREFULLY READ AND FOLLOW THE INSTALLATION INSTRUCTIONS

If you are updating this plugin then also make sure that you DO NOT replace the entire plugin folder! All your already existing images are inside it so make sure you DO NOT touch the images folder inside this plugin directory!!! Also, make sure that before you run the index page you first go through the setup via your Control panel. There are some changes in the script so unless you save the new settings file, your index will not work. Once you set this new update script to the new auto CRON in the load folder, make sure you DELETE the original cron job.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 20, 2016, 09:33:39 AM
Thanks for the update Jachym seems to work fine, I only don't inderstand the load dir and cronjob do you mean I dont have to run a cronjob by cronjob.org or some other cronjob provider ergo the cron is handled by the template now... ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 09:47:20 AM
No, the cron job will never be possible to handle by the template, it is not something you can do in PHP, it is always the server that has to do it or something has to trigger execution of that script.

What this means is that now you just put the crons you want to execute inside the crons directory and they will all be executed at once by the cron.php. So you dont need one cron for notifications, one cron for webcam, one cron for bloomsky or any other cron I develop in the future. So that is what makes it easier, but you still have to have at least that one cron for the cron.php set up.

And the database update. That will always remain separate, so that is another cron job. In the future, once I update all the blocks/plugins that use a cron job (right now I think just the bloomsky), you will always have two:
- cron.php
- db update cron

See the post about Avocado release, it is explained there.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 20, 2016, 09:51:52 AM
Ok understood I will read the wiki over again thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 10:33:27 AM
Right now I think it was just the webcam plugins that used an extra CRON job, but many times in the past I had an idea for a new block or a plugin, but it would require a CRON job and I didnt want to introduce another one. My webhosting provider for example offers cron jobs, but a maximum of 2. And even if you use external CRON services, you dont want to have dozens of CRON jobs, it would be difficult to keep track of and also put load on your server.

So I thought about how this could be solved and came up with this solutoin where there is one script that uses the CRON - the cron.php and that script scans the crons directory and simply executes whatever is inside it, so you can easily place new scripts there without having to create a new CRON job.

The only exception is the database update, that is separate and I explained why here:
http://www.wxforum.net/index.php?topic=26825.msg299923#msg299923

And now I am finally able to do the blocks/plugins I wanted to and couldnt in the past :)
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 20, 2016, 11:32:17 AM
Should i change something in cron.php file?
It doesn't seem to download the image automatically, only if i trigger the cron.php?=password manually

Hmmm... I'm under the impression that, since i use the meteobridge, i have to create an event that runs the script: cron.php?=password periodically, right?
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on September 20, 2016, 04:49:32 PM
I think you move updateWebcam.php to the cron folder.  That seems to work for me.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 04:52:41 PM
OK I will try explaining it again, just briefly :D

load/cron.php?password=UPDATE_PASSWORD

is a script that automatically executes all scripts that are inside load/crons/ directory.

So you have to have a cron job set to load/cron.php?password=UPDATE_PASSWORD

and place the scripts you want to be executed inside the load/crons/ where the cron.php finds them and executes them.

In your Meteobridge you set the cron job to the cron.php and then you place the updateWebcam.php to the load/crons/. In the future, everytime you want to add some new plugin that uses this cron.php, you just put it inside the crons directory, the cron.php loads all the scripts inside there.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 04:53:40 PM
But you do not set cron jobs directly to the files inside the crons directory, eg. the updateWebcam. They must be executed by the cron.php, thats the only one for which you set the cron job (except for the database update, that is the only other one, which will be separate).
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on September 20, 2016, 05:01:21 PM
I set my cron job to http://www.shermanctweather.org/meteo/load/cron.php?password=xxxxxx and put updateWebcam.php into the cron folder.
This is updating the main webcam picture but my daily pictures every 15 minutes aren't updated.
http://www.shermanctweather.org/meteo/plugins/webcam/index.php
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 05:07:47 PM
That is strange, can you PM me your CRON URL including your pass please.

I do not have a webcam so it is slightly complicated for me to test, but I did send it to two guys and they told me it works.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 05:13:23 PM
And also please tell me what you specified in the setup for the image URL etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 05:19:10 PM
Based on the output of the cron.php it looks like it is correctly trying to save the image and saves the parameters to the db. The problem seems to be in the image itself. Either in the path or permissions to it.

I need to see what you specified in the setup and also make sure the folders with the image are readable.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 05:25:03 PM
Thanks for sending me the details Tom.

It is what I suspected. The URL will not work because it is relative to the plugin folder, but the saving process is now done by the cron.php in the load folder. Change the relative path to URL and it should work for both the index and the saving script.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on September 20, 2016, 05:36:09 PM
Jachym,
When I change the relative path the main picture is blank but the thumbnail picture now saves.  You can see:
http://www.shermanctweather.org/meteo/plugins/webcam/index.php

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 05:38:29 PM
If you go to the index page and check the HTML you will see it is still trying to use a relative path, you must specify the URL of the image in the setup, i.e. something like "http://www......jpg"
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on September 20, 2016, 05:44:04 PM
OK that works as long as you don't put in the quotation marks.

Thanks,
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 05:49:39 PM
Hi,
yes sorry thats what I meant, you never put the quotes, I just used that here, sorry, Im glad it works now :-) If you see any problems let me know, as I said, this one is a bit difficult for me to test (or rather impossible... I rely on you guys :-)
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 20, 2016, 05:59:14 PM
I managed to make it work eventually, by adding a new event in Meteobridge services running every 10 minutes, which executes the cron.php script and pushes the webcam image in the corresponding directory.
 Now i'm concerning about the size of the image directory that is going to be bigger and bigger, considering the fact that a single image occupy 500 kb  in the server, so the daily size will be approximately 50 Mb. We need to empty the directory by deleting or moving the images in an external hard disk...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 20, 2016, 06:08:20 PM
Hi Johnny,
well Im afraid I cant do anything about this.
There are only three options:
1. you delete the images (in which case you will also have to delete the reference to them in the mySQL webcam table)
2. reduce the size of the images being uploaded
3. reduce the save interval, for example you can set it to save only once per hour, the main page will always show your current image, but only every hour it will save it

There really is no other way, if you want to save them then either you reduce their size or always delete old ones.
Title: Meteotemplate - Plugin update
Post by: Jáchym on September 21, 2016, 07:51:16 AM
Plugin Update - Wind Direction 2.0

Hi guys,

the updated version for the Wind Direction plugin includes a new page with “interval graphs”. Simply select an interval and then select if you want to include wind speed or wind gust and it will draw a wind direction graph, where the color of the points corresponds to the Beaufort scale so you have an overview of the relationship between the direction and speed.

Updating is easy, just replace all the files.

I recommend not using intervals longer than 3 months, the graphs can then take quite long to generate (it is using javascript, so the speed will depend on how powerful your PC is).

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/windDirection/index.php
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 21, 2016, 10:58:59 AM
I just installed it and works perfect! =D&gt;
Thanks Jachym!
Title: Meteotemplate - New Plugin
Post by: Jáchym on September 22, 2016, 08:10:40 AM
New Plugin - WU Upload

Hi guys,

maybe a little surprise for you based on my attitude towards WU, but since I have been asked by one user if I could create this, I thought why not.

This plugin is slightly unusual. It is not a plugin for which you put a link to the menu (so no need to update the menu.php), and there is also no demo for it. It runs in the backend and uses the new auto-cron feature of version 9 (so it will only work in versions 9+).

I think it is not necessary to explain in too much detail what it does. In the setup you specify your WU ID, password for WU and interval of sending data and it will automatically send your data from the database to WU. This could be useful for those who have no other means of sending data to WU or it can also be beneficial because the template does some data validation before saving to database so it prevents sending non-sense to WU.

You do not have to worry about units, time etc. it is all converted according to the WU upload protocol.

Make sure you read the instructions about how to set it up in the plugin documentation.

Enjoy

NO DEMO 🙂
Title: Meteotemplate now compatible with WeatherCat!
Post by: Jáchym on September 22, 2016, 11:57:46 AM
(http://i67.tinypic.com/2h55o2x.png)

Hi guys,

Meteotemplate now supports updates from the WeatherCat software via the new weatherCat plugin.

The Wiki has been updated accordingly. Special thanks goes to Tom for suggesting this and also providing his log files for testing.

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 22, 2016, 12:18:07 PM
Can the WU Upload do catch up? that is, send past data that for whatever reason was not already sent to WU by the weather software?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 22, 2016, 12:42:57 PM
Yes, thats how the WU import works. It cannot be done by the update script, but you can use the WU import to fill in missed data.

HOWEVER I HIGHLY RECOMMEND YOU DO NOT DO IT NOW BECAUSE WU STILL HASNT FIXED THE PROBLEM WITH HISTORY DATA SO THERE IS NO DATA PRIOR TO SEPTEMBER 7 AND THE XML FILES WHICH ARE USED TO LOAD THE DATA MIGHT BEHAVE UNEXPECTADLY
Title: Meteotemplate - Block Updates
Post by: Jáchym on September 23, 2016, 10:32:34 AM
Hi guys,

two minor block updates (bug fixes, CSS tweaks) and one major one.

Riset 4.0
- new diagram representing the current day/night stage
DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=riset

Trends 1.1
- bug fixes
- CSS tweaks

Summary 2.3
- language corrections
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 23, 2016, 11:09:32 AM
IMPORTANT!!!

Hi guys,

recently I noticed that my replies to some people ended in the Spam folder of their mailbox. I dont know, it could be that it recognizes my Czech IP, but either way, if you email me, just to make sure, put my email address on your list of exceptions to make sure this does not happen. I ALWAYS reply to all emails.
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 23, 2016, 02:11:16 PM
All updated blocks work perfect!
Congratulations Jachym!  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 23, 2016, 07:53:54 PM
All the updates I installed work flawlessly!  Thank you!  Quick question - if I am using the Bloomsky plugin - is there really any reason to put the webcam one on as well?

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 23, 2016, 09:29:04 PM
No,  it is a copy of it that just works with any webcam
Title: Re: Meteotemplate - new free website template
Post by: f5pxf on September 24, 2016, 07:53:26 AM
Hello to all,
Does any one have a problem to upload meteotemplate too with http://free.fr or ftp.free.fr ?  :-(  I can't find a free solution for my website.
Thank you for your help;
Denis
http://meteo.hohrod.free.fr
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 24, 2016, 08:36:55 AM
Hi Denis,
what exactly do you mean by "problem to upload"?

Either way, in the wiki I said using a free provider is not "impossible", but usually it is so. The reason is that free webhostings usually are just for very simple websites, some simple blogs etc. But not pages like Meteotemplate. Free webhostings usually have very limited database, very limited web space etc etc. So sooner or later you might have a problem.

And what I also noticed and that is probably the major problem, is that often, when you use a free webhosting, they add some banner at the top of each site. This is a major problem for basically any template you would want to use, because it makes all AJAX calls useless. And AJAX calls is what you use for all the updates without refresing the site. So anything that refreshes automatically would not work.

On the other hand, see if you can find some good paid provider, because today the prices are not so high, I think for maybe 20-30 euros/year you could easily find one.

In summary, think of it this way - if there really was a good free provider, with everything the paid one has, same parameters, no banners etc. - why would then anyone get the paid one... So obviously this is never going to be good, or maybe it will work at the beginning but it would soon become problematic.
Title: Meteotemplate - Block Update - Radar PT
Post by: Jáchym on September 24, 2016, 10:00:05 AM
Block Update - Radar Portugal

Hi guys,
I just updated the Portugueese radar. In the updated version there is no longer a select box where you choose the date/time, but instead there is a dynamic slider and possibility to auto-play the images in a loop.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarPT
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 24, 2016, 10:26:40 AM
Block Update - Radar Spain

Sorry for the spam...

one more, same thing, just for Spanish Radar :D

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarES
Title: Re: Meteotemplate - new free website template
Post by: f5pxf on September 24, 2016, 12:38:36 PM
Hello Jáchym,
We have exchanged many mails with my problem. I don't know why my provider "free.fr" doesnt accept your template. May be  have I done a wrong operation?
So I uploaded your template (8.0) with Fillezilla..
What should I do next? I musing Dreamweather or Notepad++ to link my weatherstation..
Please help me again via my mail(meteo.hohrod[at]free.fr.)
I hope you'll find it again.  :sad:
Regards Denis. :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 24, 2016, 12:53:44 PM
Hi Denis,
sorry there is on average 3-4 new users/day and just yesterday I had 89 emails to deal with... so I lose track a bit, but yes, I remember you now :D

OK, well I remember that some scripts did not execute well. I told you that this is a problem. See my post above, it is because this really will not work with the basic free providers. This is the same problem with any template, these are not simple sites, not a simple blog page. You will have problems especially with the Ajax, because it adds a banner and some extra HTML to every page. There is no way around that.

I would love to help you, but with this particular provider it is not possible to use Meteotemplate or I think not even any other template, they all use ajax calls etc.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 24, 2016, 01:19:49 PM
Updated 3 plugins and 5 blocks and think I am up to date and all working.

I don't need another WU Upload at this time but have the plugin installed and will check the Wiki sometime to understand how I would use it if needed.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 24, 2016, 01:39:10 PM
Hi Paul, in case your SW allows WU uploads it has no use. It does the exact same thing, only checks that the values make sense (so for example it wont send something like T=-999 etc). Some users use SW/stations that do not have direct WU upload and then this makes sense to install.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on September 24, 2016, 05:25:18 PM
Hi Denis,
sorry there is on average 3-4 new users/day and just yesterday I had 89 emails to deal with...

Nice to hear its going in the right direction Jáchym but was just thinking how much succes can you handle? I mean,  imagine 100 new users pr day? Can this become a too big succces, I mean, this is not a full-time job for you.

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 24, 2016, 05:35:03 PM
Hi,
it is nice to see so much interest and no it is not a full-time job by any means, rather all of my free time :D
But the way I look at it is that if I dont have time for it, then people will simply have to wait a bit longer. Instead of me getting back to them in a matter of hours, it could be days. But I dont see that as a problem. Likewise, if I spend more time with providing support, development will be slower. But I am not sure what you were suggesting by your post, I dont think limiting this in any way would be useful or even necessary. I also once mentioned that if more users means slightly more money via donatoins, I could in the future think about reducing the time I spend in my part-time job and devote it to MT instead, though right now Im still glad when I cover the costs :D

Either way, I dont see any problems with it. Things might only be a bit slower. Obviously there are things that I have to do (my job, my PhD etc.) which are of higher importance, but once those are finished I can go back to MT. Or sometimes even combine the two and kill two birds with one stone - eg. when I developed the climate plugin while revising climatology for my PhD exam - I memorized it much better than if I was just reading the stuff :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 24, 2016, 05:40:27 PM
Last but not least there are a few other points to remember:

1. as I learn more and more from programming the template is now much better at error handling, so less prone to errors
2. I converted almost everything from edits in the code to GUI, which also greatly reduced the number of errors
3. as more and more people use it, they also become familiar with it and support will not rely just on me - just look at Ken's template. It is still by far the most used and also the longest available template. And look how many people help others with the template, it is not just Ken - he of course does that too and he is till the one who knows the template the best, but many issues are dealt with by the users themselves
Title: Meteotemplate - WWO page discontinued
Post by: Jáchym on September 25, 2016, 11:07:31 AM
Hi guys,

this is just to let you know that the WWO page will be permanently discontinued from the template. It used to be a very nice page, but...

First, I created it over a year ago, it is in fact still using parts of code from my original personal webpage (Meteopage) and so it is very problematic, throws many errors, has no error handling and I even know about a few bugs.

Second, and this is the major reason, as you probably know, World Weather Online is no longer free. Since March it is not possible to create a new account for free and the prices are quite high. This means the page is totally useless to majority of users and I do not want to spend further time with it.

It will be removed from the menu and in version 10 also not included in all the download files and the WWO API key field will be deleted from the Main Setup, right now it only confuses people.

I know it was a nice page, but it only was useful prior to the changes in their pricing policy.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 25, 2016, 01:10:40 PM
I just wanted to test out my interactive sticker...  I will certainly be changing it but thanks to Jachym, it finally works!  Thank you!!!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2016, 01:12:17 PM
Dont change it :D I like that image :D
Title: Re: Meteotemplate - new free website template
Post by: droiddk on September 25, 2016, 03:42:30 PM
Last but not least there are a few other points to remember:

1. as I learn more and more from programming the template is now much better at error handling, so less prone to errors
2. I converted almost everything from edits in the code to GUI, which also greatly reduced the number of errors
3. as more and more people use it, they also become familiar with it and support will not rely just on me - just look at Ken's template. It is still by far the most used and also the longest available template. And look how many people help others with the template, it is not just Ken - he of course does that too and he is till the one who knows the template the best, but many issues are dealt with by the users themselves

Thanks for your reply (both posts).  :-)

Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 25, 2016, 04:01:12 PM
I just wanted to test out my interactive sticker...  I will certainly be changing it but thanks to Jachym, it finally works!  Thank you!!!

Jeff

One more thing Jeff, you might want to add the width parameter to the image here on the forum, otherwise it can overflow or be cut off on smaller screens, here is what I use, just replace the URL:

Code: [Select]
[center][img width=800]http://www.meteotemplate.com/template/plugins/stickers/stickerInteractive.php?bg=avocado&color=white&image=AZ&shadow=1&border=2&bgColor=000&text=Meteotemplate%20%20%20Brno,%20Czech%20Republic[/img][/center]
And yes I agree... your image is better than mine, maybe I will have one like that too if I ever visit Alaska :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 25, 2016, 08:32:04 PM
Thanks - all fixed!
Title: Meteotemplate - great new plugin!
Post by: Jáchym on September 26, 2016, 07:55:46 AM
(http://i68.tinypic.com/1199c2u.png)

New Plugin - Outlook

Hi guys,
as you might have read already, the WWO forecast page is useless to all users who began using the template after March 2016. I knew there needs to be some replacement for it.

However, I decided to go a step further and developed a new plugin, which I am sure you will like. Think about it as sort of a central place to see what is coming. I personally really like it and I am also quite pleased with the features I was able to add compared to what I developed last year (in the backend for example, the WWO page throws hundreds of notices and errors... which you probably do not even know :D)

I called it simply "outlook". It is divided into several sections, so let me just go through all the features quick:

Sections

- Current conditions - this tab simply shows you current conditions from your station as well as from the nearby airport
- Alerts - if there are any alerts issued they will show up as a new tab
- Short-term forecast - 48h forecast with interactive graphs, tables etc.
- Long-term forecast - 7-day detailed forecast with interactive graphs, tables etc.
- Station averages - detailed graphs and tables of the average values for the upcoming days based on history data from your station
- Station extremes - detailed statistics of the extreme values measured in the upcoming days of the year based on your station history
- Almanac - sunrise and sunset times, Moon phase, day/night length for the upcoming days. Also, if any of this is about to come, it will also show up including details and exact time of occurance: main Moon phase transition (quarter, New Moon, Full Moon), lunar eclipse, solar eclipse, season change (solstice, equinox)

General features

- fully localized - including the text forecast, you can choose from over 25 languages
- fully responsive - built using blocks, should display perfectly on smaller screens with possibility to resize graphs by dragging
- graphs are interactive and resizable directly in the browser
- sortable tables with sparkline graphs
- data is cached so after you load it once it should then reload immediately
- Moon icons and season icons adjust based on your hemisphere
- possibility to highlight particular year´s data in the station extremes
- collapsable - i.e. no infinite scrolling
- error handling in case of data is N/A
- icons in graphs, including weather conditions and wind direction arrows

There is really LOT of info, so the best thing to do is to simply have a look and play around with it.

Just couple of extra points to note:

- some of the data uses the Darksky API, you will need an API key for it (free), follow instructions in the Plugin setup
- the station data is cached for 12 hours, however you can hit refresh and refresh the cache at any time. The forecast is updated every 15 minutes and cannot be updated directly from the page because we need to make sure we do not exceed the quota for the free API number of calls
- the Alerts tab sometimes does not show all the alerts (due to various data sources). For this reason, if there are no alerts issued, instead of saying "No alerts", it will completely disappear to make sure we do not mislead the user.
- this page will replace the WWO page and will become part of the core template in Meteotemplate 10.0

Enjoy and let me know if it works just to be sure :-)

DEMO: http://www.meteotemplate.com/template/plugins/outlook/index.php#/

Jachym
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 26, 2016, 09:42:15 AM
Hi Jachym thanks for the óutlook'very nice http://www.apeldoornmeteo.nl/plugins/outlook/ the menu.php isn't updated yet ?

Looks great btw
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2016, 09:56:06 AM
Hi Ron,
thanks.
Yes, the menu should be updated, I uploaded a new version before releasing the plugin.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 26, 2016, 10:00:01 AM
Oke thanks I saw a last update date august 31 , I've not looked at all the values but it jumped up that the rainaverages are very high in the graphs I'm almost sure these are not correct values... (screenhot)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2016, 10:51:16 AM
Hi Ron,
˙es, you are absolutely right, and in fact the numbers in the table below are ok, it was just the graph. Try re-downloading it, I think I found the issue, it should be ok now.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 26, 2016, 10:54:49 AM
I guess too quick or too late.  It is very nice, I like it http://www.komokaweather.com/j-template/plugins/outlook/index.php#/

Likely will need to update for the fix?

Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 26, 2016, 10:58:57 AM
Hi Ron,
˙es, you are absolutely right, and in fact the numbers in the table below are ok, it was just the graph. Try re-downloading it, I think I found the issue, it should be ok now.

Sorry the averages for the rain are still the same I've emptied my browsercache and the plugin cache
Title: Re: Meteotemplate - new free website template
Post by: nitrx on September 26, 2016, 11:10:29 AM
Hi Ron,
˙es, you are absolutely right, and in fact the numbers in the table below are ok, it was just the graph. Try re-downloading it, I think I found the issue, it should be ok now.

Sorry the averages for the rain are still the same I've emptied my browsercache and the plugin cache

Oops I think I did not update right looks fine now thanks !!
Title: Re: Meteotemplate - new free website template
Post by: johnny on September 26, 2016, 11:43:46 AM
It works perfect and it's amazing!
Thanks a lot Jachym!  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 26, 2016, 02:35:57 PM
Looks good!  Quick and easy to set up!  Thanks Jachym!
Title: Re: Meteotemplate - great new plugin!
Post by: droiddk on September 26, 2016, 02:36:44 PM
Nice new graph  =D&gt;

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 26, 2016, 02:39:10 PM
Thanks guys, it is something new again and it is nice to have it all in one place. In addition to the new content I also used some new things I learned in JS which allowed me to implement for example the icons in the graphs, the resizable graphs and it is also nice that it all shows in your language of choice, including the text forecast.

Finally a replacement for the buggy and for most totally unusable WWO script :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 27, 2016, 08:52:07 AM
Looks like issTrakker plugin is down for me and meteotemplate demo as well. 

Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2016, 08:58:54 AM
Looks like issTrakker plugin is down for me and meteotemplate demo as well. 

Paul

Hi Paul,
the ISS location API is down. All we can do is wait and if it isnt back up soon delete the plugin:
http://api.open-notify.org/iss-now.json
Title: Plugin Update - Notifications
Post by: Jáchym on September 27, 2016, 08:59:54 AM
Plugin Update - Notifications 2.0

Hi guys,

I updated the Notifications plugin. Now you have the possibility to also set up email notifications in addition to the Twitter posts.

You can set if you want to send emails or post to Twitter, or both. Also the text for each can be different. In case of the Twitter text you are obviously limited in terms of the number of characters, which is not the case for the email.

In order for this to work, your server must have the mail server installed correctly. There is a test button which you can use to send test email and see if the emails are working.

If you are installing this for the first time, follow the instructions in the documentation. If you are updating the plugin, simply replace all the files as well, the settings.php is only on your server so it will stay untouched. Then go to your Control Panel and setup the plugin again to update the settings.php (you will just have to specify if you want to enable the email notifications and specify the email address, the email text etc.) Then make sure you also update (replace) the dailyNotificationsCron.php in your load/crons/ directory, this the updated script which will post to Twitter or send the email.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on September 27, 2016, 10:19:19 AM
Hi Jáchym,

The new "Outlook" plug-in works well, is great! Thanks! :) I like it!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2016, 10:45:33 AM
Thanks Brett, just noticed that some strings are not translated, if you want them to be, then you can use the Translations section at meteotemplate.com. All the strings that are there in English can be translated. Also dont forget to update your menu.php so that there is a link to the Outlook in the menu.
Title: Re: Meteotemplate - new free website template
Post by: danville on September 27, 2016, 11:56:39 AM
How can I connect to WView from Meteotemplate?  I have followed all prescribed steps with no luck.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2016, 11:59:53 AM
There is two steps and the first thing we need to do is figure out which one you are at.

1. step number one is get WView to upload the current conditions to your server periodically
2. second step is to set the CRON job, which will use that text file to save the data to the database

I can help you with step 2, step 1 is a bit difficult for me as I have never seen WView, but people here use it so they will know. But first you have to tell us which stage you are at.
Title: Re: Plugin Update - Notifications
Post by: jeffm5690 on September 27, 2016, 12:57:24 PM
Plugin Update - Notifications 2.0

Hi guys,

I updated the Notifications plugin. Now you have the possibility to also set up email notifications in addition to the Twitter posts.

You can set if you want to send emails or post to Twitter, or both. Also the text for each can be different. In case of the Twitter text you are obviously limited in terms of the number of characters, which is not the case for the email.

In order for this to work, your server must have the mail server installed correctly. There is a test button which you can use to send test email and see if the emails are working.

If you are installing this for the first time, follow the instructions in the documentation. If you are updating the plugin, simply replace all the files as well, the settings.php is only on your server so it will stay untouched. Then go to your Control Panel and setup the plugin again to update the settings.php (you will just have to specify if you want to enable the email notifications and specify the email address, the email text etc.) Then make sure you also update (replace) the dailyNotificationsCron.php in your load/crons/ directory, this the updated script which will post to Twitter or send the email.

Enjoy

This is updated and seems to be working fine!  Now if we could get it to email out a daily forecast, maybe news warnings, etc to people that subscribe to it  :lol: :lol: :grin: :grin:

Thanks - as always!
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 27, 2016, 01:00:24 PM
There is two steps and the first thing we need to do is figure out which one you are at.

1. step number one is get WView to upload the current conditions to your server periodically
2. second step is to set the CRON job, which will use that text file to save the data to the database

I can help you with step 2, step 1 is a bit difficult for me as I have never seen WView, but people here use it so they will know. But first you have to tell us which stage you are at.

You asked me to write something up for the WIKI a long time back, it was there but vanished on one of the updates, here it is again!!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 27, 2016, 01:21:35 PM
Thanks, I think those instructions are still there if you click the CRON job tab (2.1).

Thanks again, the problem is now solved, we solved it via email :)
Title: Re: Plugin Update - Notifications
Post by: Jáchym on September 27, 2016, 02:00:19 PM
Plugin Update - Notifications 2.0

Hi guys,

I updated the Notifications plugin. Now you have the possibility to also set up email notifications in addition to the Twitter posts.

You can set if you want to send emails or post to Twitter, or both. Also the text for each can be different. In case of the Twitter text you are obviously limited in terms of the number of characters, which is not the case for the email.

In order for this to work, your server must have the mail server installed correctly. There is a test button which you can use to send test email and see if the emails are working.

If you are installing this for the first time, follow the instructions in the documentation. If you are updating the plugin, simply replace all the files as well, the settings.php is only on your server so it will stay untouched. Then go to your Control Panel and setup the plugin again to update the settings.php (you will just have to specify if you want to enable the email notifications and specify the email address, the email text etc.) Then make sure you also update (replace) the dailyNotificationsCron.php in your load/crons/ directory, this the updated script which will post to Twitter or send the email.

Enjoy

This is updated and seems to be working fine!  Now if we could get it to email out a daily forecast, maybe news warnings, etc to people that subscribe to it  :lol: :lol: :grin: :grin:

Thanks - as always!

Hi Jeff,
this is problematic for two main reasons:
- the cron.php script executes other scripts as well, loading data from external source (forecast) is dangerous, you need the scripts to be executed as fast as possible, if it timed out, all the other ones would fail too.
- more importantly however, most webhosting providers, including mine, block bulk emails, the server wont let you send too many emails at once and the limit can vary. For example I can no longer use the blog subscription I had to send out emails because once the number of users got above certain threshold, the emails were no longer delivered. Now I have to send them manually using my Gmail account in batches.

And it is actually good that it is that way... I mean imagine how easy it would be to write a PHP loop that would send millions of emails every second iterating through various numbers, letters etc....

eg:
while($i<1000000000){
   mail("jeff".$i."@gmail.com","Hi Jeff");
   $i++;
}

and all Jeffs at gmail.com would receive an email...
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 27, 2016, 02:29:15 PM
Thanks, I think those instructions are still there if you click the CRON job tab (2.1).

Thanks again, the problem is now solved, we solved it via email :)

I see it now, the program is not normally referred to as "Weather View" just wview  so I didn't connect the two!
my bad

Unfortunately my site is off line since Sat as it seems to have quit accepting any ftp connections to do the updates!  ](*,) Trouble Ticket issued!
Title: Meteotemplate - bug fixes
Post by: Jáchym on September 28, 2016, 11:42:55 AM
Bug Fixes

Hi guys,
I discovered some bugs in a few pages. Please download the new Bug fixes package (9.2) and just replace the corresponding files.

The Bug Fixes package can be found as always in the Downloads section at meteotemplate.com, in the menu on the left click “Bug Fixes”.
Title: Meteotemplate - plugin update + new menu features
Post by: Jáchym on September 28, 2016, 06:44:27 PM
Plugin Update - User Map 2.0

Hi guys,

I updated the user map plugin. It is amazing to see how many people are installing this and over the past couple of weeks I have been adding at least 2-3 people a day, currently the user count is very close to 270 :)

The updated version also shows you the number of users from each country.

Menu - new features

And there is one more thing - I updated the menu.php, the Admin menu now includes some special admin actions as well. You can directly go and add a new diary entry and, what is really useful, there is a direct link which will automatically update the users file so you no longer have to go to meteotemplate.com, download the users file and then upload it to your server. It is now all done automatically just by clicking the link in the menu.

The above links (diary and usermap) will obviously only show in your menu if you have those plugins installed and if you are logged in as the admin.

DEMO: http://www.meteotemplate.com/template/plugins/userMap/

Enjoy
Title: Re: Meteotemplate - plugin update + new menu features
Post by: jeffm5690 on September 28, 2016, 06:59:34 PM
Plugin Update - User Map 2.0

Hi guys,

I updated the user map plugin. It is amazing to see how many people are installing this and over the past couple of weeks I have been adding at least 2-3 people a day, currently the user count is very close to 270 :)

The updated version also shows you the number of users from each country.

Menu - new features

And there is one more thing - I updated the menu.php, the Admin menu now includes some special admin actions as well. You can directly go and add a new diary entry and, what is really useful, there is a direct link which will automatically update the users file so you no longer have to go to meteotemplate.com, download the users file and then upload it to your server. It is now all done automatically just by clicking the link in the menu.

The above links (diary and usermap) will obviously only show in your menu if you have those plugins installed and if you are logged in as the admin.

DEMO: http://www.meteotemplate.com/template/plugins/userMap/

Enjoy

WOW!  Thats very, very impressive!  Think of all those whom you have helped and made it so easy to enjoy their hobby!  I already updated and it looks great!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 28, 2016, 07:23:48 PM
Hi Jeff,
thanks for your support.

And just to prove my point... I assume you updated the users file about 20 minutes ago when you posted this. Please update it again... I have just received a new registration from the very first Meteotemplate user from Venezuela ;)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 28, 2016, 07:28:17 PM
Already updated...  Works like a charm!!!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 28, 2016, 10:10:12 PM
All up to date with bug fix, blocks and plugins... and menu!

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 29, 2016, 12:04:49 PM
Plugin update - Stickers 4.0

Hi guys,
I updated the Stickers plugin. In the new version, the interactive sticker time and date format adjust based on your template main settings. If you are just updating this plugin, all you have to do is replace the interactiveSticker.php, the setup.php and the stickersVersion.txt.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on September 29, 2016, 02:31:59 PM
Looks Great!

TY

Jeff
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 29, 2016, 02:50:07 PM
Now that I have my ftp issue sorted out I've noticed that my DeskTop and Mobile pages are acting differently. Both are set for  the Sun Theme ie Day (Light) Night (Dark).

The Mobile one seems to be working, but the Desktop one is always Dark! Any others experience this?

Did I miss a file when updating?

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 29, 2016, 06:03:05 PM
Just to make sure, in your homepage setup, you have "sun" for both desktop and mobile and you have updated both the indexDesktop and indexMobile.php in the last update correct? (you can check this if you open the index files, the version is given at the top in the comments section, make sure both have Avocado, the previous version didnt have the sun theme)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 29, 2016, 06:25:49 PM
Just to make sure, in your homepage setup, you have "sun" for both desktop and mobile and you have updated both the indexDesktop and indexMobile.php in the last update correct? (you can check this if you open the index files, the version is given at the top in the comments section, make sure both have Avocado, the previous version didnt have the sun theme)

Yes both have #     v9.0 Avocado 2016-09-15 at the top of the file, and just to make sure I uploaded both files again, no change!
Both are also set for the same theme although it isn't called Sun just  Day Night
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 29, 2016, 06:38:01 PM
I see it, but it is really strange. I checked your homepage JSON file and both are indeed set to sun but when I look at the code for the indexes, they are exactly the same, and they must be, I remember I wrote it in one and then just copy/pasted it to the second one... hmm...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 29, 2016, 06:43:37 PM
Try deleting:
...homepage/css/theme.txt
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on September 29, 2016, 06:49:27 PM
Deleted but no apparent change!

Not a big deal, just thought I might have goofed!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 29, 2016, 06:57:05 PM
Im really puzzled by that because the code is exactly the same... I will test it again on my server and let you know tomorrow.
Title: Meteotemplate - new plugin - U.S. Temperature Change
Post by: Jáchym on September 30, 2016, 07:47:56 AM
New Plugin - U.S. Temperature Change

Hi guys, I made a new plugin which shows the temperature trends (min, max, avg) for the individual U.S. states as well as the U.S. as a whole, over the 20th and 21st century.

DEMO: http://www.meteotemplate.com/template/plugins/usTempChange/#

Enjoy
Title: Re: Meteotemplate - new plugin - U.S. Temperature Change
Post by: jeffm5690 on September 30, 2016, 08:42:34 AM
New Plugin - U.S. Temperature Change

Hi guys, I made a new plugin which shows the temperature trends (min, max, avg) for the individual U.S. states as well as the U.S. as a whole, over the 20th and 21st century.

DEMO: http://www.meteotemplate.com/template/plugins/usTempChange/#

Enjoy

Showing the USA some more love!!!  Can't wait to add when I get home from work!!!  Thanks!
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on September 30, 2016, 10:15:29 AM
Jachym,

Can the daily notifications be emailed to more than one email?  I didn't see this in the instructions.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on September 30, 2016, 10:22:01 AM
Hi Jay,
no. Jeff already asked about this.

It is the same issue:
http://www.wxforum.net/index.php?topic=26825.msg300875#msg300875

What you can do however is relatively simple. The emails always have the same "from" and "subject". So you can easily create a filter in your mailbox to auto forward that email to whichever email addresses you want. It is much safer then trying the bulk emails via the PHP.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 30, 2016, 10:44:12 AM
The usTempChange plugin is very nice.

Interesting Michigan, nearest state to us, shows that the change in summer is about 3° F higher in period 1895 to 2015, and about 5° F higher in winter for average, minimum and maximum.

Title: Meteotemplate - block updates - WeatherCat
Post by: Jáchym on September 30, 2016, 01:02:23 PM
Block Updates - Current 6.0 & Gauges 4.0

Hi guys,

the two blocks now support realtime updates from WeatherCat software (weatherCat plugin required)
Title: Meteotemplate - Major new plugin - Indoor Conditions
Post by: Jáchym on October 03, 2016, 09:34:38 AM
(http://i65.tinypic.com/inbjps.png)

New plugin - Indoor Data

Hi guys,

for quite some time I have been working on this new plugin, which is probably the most extensive so far released plugin. As you have probably guessed from its name, this plugin creates a whole new section on your website with indoor conditions. Unlike the indoor block, this plugin logs the data to a database table, just like your normal weather data and you can therefore display all the tables, graphs, statistics etc.

The table will use the same MySQL database as your alldata table, but it will not be saved in the actual alldata table. This is because not everyone will use this and it would also slow it down, therefore there will be a separate table called "indoor", which is created automatically and logs the data from your indoor sensors. The data saved in this table are:
- data/time
- indoor temperature
- indoor humidity

There is a setting whether you want this to be visible publicly to anyone or only to you as an admin and this can be changed any time.

Data update will use the same 5-minute interval as your normal weather data. It will use the version 9 auto CRON feature. What this means is that if you have already set up the CRON job for the /load/cron.php, you just have to make sure the interval is at 5 minutes at least. But you do not have to set up any other new CRON job for it.
Another great thing is that I have prepared a very flexible import script, which will allow you to import history indoor data from a CSV or a text file. This is something I would like to implement to the core template as well - it has been quite a while since I developed the original CSV import script and so this new one for the indoor data is much better in that it allows you to set the structure of your file rather than having one single accepted format which you had to create for the normal template.
In addition, I have also added a function to import data from Weather Display indoor logs, in which case you basically don´t need to set up almost anything. There is also much better error handling - you first can run a test of the import and you see exactly what would be saved and only if this works, you run the actual import. There is also no need to create the new table, this is done automatically and there is also the reformatting function which will reformat the data if the interval is not 5 minutes.

Now let´s look at the main features:
- visibility - this is very important. In the Plugin settings you select either "private" or "public". If you choose private, all the indoor pages and a link in the menu will only be visible and accessible if you are logged in as an admin. Public obviously means it is visible and accessible to anyone and has a link in the menu. This can also be changed any time, the data is still logged. Just that when you select "private" a function is always called which checks if you are logged in, if not, you are rejected access.
- detailed overall statistics
- interactive graphs
- interactive tables
- daily reports
- monthly reports 
- interval summary
- import history data from TXT file, CSV file or WD indoor log file
- reformat database data
- auto CRON via cron.php
- history visualization
- units automatically
adjusted based on display units specified in main settings or by user
- SmartCaching function

The updates are currently supported from the following SW:
- Weather Display
- Cumulus
- Meteobridge - in this case you need to have the LiveGaugesMB plugin installed as well

I hope you enjoy this and there will be more features added in the future. Also, since this plugin includes many pages, new icons etc. please let me know if you discover any bugs. I have relatively limited possibilities for testing the SW such as Cumulus or WD, so hopefully it will work.

Also make sure you read very carefully the documentation for installation.

DEMO: http://www.meteotemplate.com/template/plugins/indoorData/index.php

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 03, 2016, 11:51:43 AM
indoorData plugin installed, with one line of data in DB, and graphs appear.  Looks like it is working.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 12:19:09 PM
indoorData plugin installed, with one line of data in DB, and graphs appear.  Looks like it is working.

Paul

Great :-) Thanks for letting me know Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 05:37:38 PM
Did you also try the data import Paul? If this turns out to be working well I will try to change the scripts for the import in the main template too, because these are much more flexible and allow you to specify what your log file looks like, rather than you having to create exactly the only format they except (which is currently the case for the CSV import for the default core template)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 03, 2016, 06:52:28 PM
Like the new plugin for indoor conditions but I can't use yet!
I  could add inTemp and inHumidity info to the data file uploaded bywview, but the coding to make use of it is beyond my skill level.

Getting the historical info would be much more difficult, it's in a database but not on a computer accessible from outside my LAN

Maybe someday!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 06:59:08 PM
Maybe tomorrow :D

Send me how your wView file looks like and how the logs look like (although see if you could use the CSV/text import, it allows you to specify the field delimiter, the column numbers, the units etc. so it can use almost any format of data as long as it has the date/time and the indoor T and H.

Send me both and I will see what I can do.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 03, 2016, 07:12:46 PM
Hi Jachym,
I have been trying the CSV/text import but not successful yet.

Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 03, 2016, 07:15:05 PM
I'll send you a couple files in a day or two, the wView database (SQLite3) is over 100M so I'll have to see if I can just export a small sample!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 07:30:28 PM
Hi Jachym,
I have been trying the CSV/text import but not successful yet.

Paul

Hi Paul,
I just replied to your email see if that helps
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 07:33:26 PM
I'll send you a couple files in a day or two, the wView database (SQLite3) is over 100M so I'll have to see if I can just export a small sample!

I will need:
the file which we will use to update the db - ideally add this to the one you already create for the normal db updates, just like the clientraw or realtime, they include this

some sort of a log file, which has the indoor T, indoor H and date/time. This does not have to be in 5minute interval, however, if the file is really large, then you should split it by months or at least make it smaller, because otherwise the PHP will most likely not be able to import it. There is always some memory limit on the server and that file must be loaded into an array to be processed. If you are using external webhosting, you usually cannot override this limit even though there is a command for it in PHP, but webhosting providers usually disable this because the more expensive hosting plan, the higher memory limit.. this is how they make money :D If you have your own server you dont have to worry about this, and you would be able to import it all at once
Title: Re: Meteotemplate - new free website template
Post by: gus on October 03, 2016, 08:52:29 PM
The indoor conditions plugin is outstanding. I never realized that such a limited amount of data could be presented in so many ways. The cron job database updating working well. Have imported Weather Display indoor data from Jan 2010 to present (13584 entries). Have seen no problems so far and the HTML5 validates very well.  =D&gt;

Thanks,
Gus
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 03, 2016, 08:56:03 PM
The indoor conditions plugin is outstanding. I never realized that such a limited amount of data could be presented in so many ways. The cron job database updating working well. Have imported Weather Display indoor data from Jan 2010 to present (13584 entries). Have seen no problems so far and the HTML5 validates very well.  =D&gt;

Thanks,
Gus

Gus,

Maybe you could help me.  I have it all set and the cron runs but I am getting a message which lead me to believe my indoor data is not being sent to my clientraw.txt file or something.  I'm glad yours works which means there is something not right on my end.  Any ideas?

Today daily notification already processed.... skipping....
Loaded CRON: /home/33/77/7297733/web/load/crons/dailyNotificationsCron.php
Indoor save interval elapsed.
Indoor conditions being saved.
Using Weather Display clientraw.txt.
Invalid temperature value of:
Invalid humidity value of:
Invalid temperature value of:
Some values were invalid, no db update.
Loaded CRON: /home/33/77/7297733/web/load/crons/updateIndoor.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 09:02:47 PM
Jeff see my email I think the problem is in the path you specified for the clientraw,  the data is there,  all clientraw files are the same,  if you can't figure it out I will look at it tomorrow on your server,  I have to go to bed now soon
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on October 03, 2016, 09:09:55 PM
Jeff see my email I think the problem is in the path you specified for the clientraw,  the data is there,  all clientraw files are the same,  if you can't figure it out I will look at it tomorrow on your server,  I have to go to bed now soon

So early?? It's only 3:00 AM!  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 09:12:57 PM
I need to finish something for my normal job for "tomorrow"  lol
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 03, 2016, 09:25:04 PM
OK here is part 1 the update every 10 minutes or so
the txtx file is the source and the txt file is the output!
I just added the indoor temp and humidity to the end of the file I've been using for the past year or so!

The history file may be much more involved but I'll pm you later with that!

Title: Re: Meteotemplate - new free website template
Post by: gus on October 03, 2016, 09:28:12 PM
Jeff,
Indoor setup attached
Gus
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 03, 2016, 09:45:16 PM
I need to finish something for my normal job for "tomorrow"  lol

I have no clue how you do all that you do...  you must be real good at functioning on little sleep!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 03, 2016, 09:50:20 PM
Jeff,
Indoor setup attached
Gus

Thanks Gus.  It looks like my problem was that I was foolish and did not use http:// and just entered www.

Looks to be working.  I'll check in the am and see what my data shows.

Cheers!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 03, 2016, 10:08:23 PM

If it may help, I had tried the http://www.komokaweather.com/weather/realtime.txt which did not work and needed ../../../weather/realtime.txt which is correct for my system.


Still have an issue though with the date/time format though.


Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 03, 2016, 10:08:32 PM
So I think it's working Gus but can you check one thing?  Although everything shows the correct indoor temp, I noticed the History shows the outdoor temp.  Is this happening to yours as well?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 03, 2016, 10:15:50 PM
Lol I need to check that maybe I forgot to change the original script on which it is based,  I will let you know tomorrow
Title: Re: Meteotemplate - new free website template
Post by: Colin on October 04, 2016, 02:20:00 AM
A few sites have odd times and dates. For instance a site may have a Calendar block that shows 3/10 the Rise/Set block shows 4/10 and the Clock block says it is the 5/10.
And the times are different as well. Clock time shows 7:50 while current conditions time shows 1:50.
Also different times appear depending on whether you select an analog or digital clock - like a difference of 6 hours.
I only checked 3 sites but they all display these quirks.
Is this a config problem?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 03:36:01 AM
That's really strange because they all use server time,  check the demo and if it shows the same problems post some links of where exactly you see this
Title: Re: Meteotemplate - new free website template
Post by: Colin on October 04, 2016, 04:34:23 AM
The demo does not show all those affected blocks.On Gus' site, the digital and and analog clocks show different times. The date on the digital clock is different on the gauges and calendar, one says 4th and one says 5th.
Jeff has similar quirks. The digital clock says 5/10/2016  and 10:30 AM but another block says "Today is Tuesday, October 4, 2016" and the footer says it is six hours earlier (4:27AM)
Paul has a mixture of all the above.

It does not detract from the quality of their weather sites, they are all excellent, but it a little confusing not knowing the correct dates and times.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 06:57:58 AM
Hi,
I think I found the problem with one of the clock blocks, it uses Javascript and I forgot to add the offset so it shows "your" time, not local time, but the footer etc. that is very strange. Please send me links to the particular sites. Not just images. Thanks
Title: Meteotemplate - Plugin updates
Post by: Jáchym on October 04, 2016, 11:38:04 AM
Hi guys,

several minor plugin updates:

Bio Indexes 3.1
Now fully localized to German, thanks Stefan!

Forecast Comparison 2.0
- forecastIO replaced with darksky.net
- localized to Italian
see the blog for update instructions

Scales 2.1
- fully localized to Italian - thanks Francesco

Fire Danger Index 3.0
Localized to Italian + added CBI calculation, thanks Francesco :)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 12:07:32 PM
So I think it's working Gus but can you check one thing?  Although everything shows the correct indoor temp, I noticed the History shows the outdoor temp.  Is this happening to yours as well?

Hi Jeff,
thanks for pointing this out. The calculations in the script are acutally ok, it is just that temperatrue right at the top, the history is fine.
It was a stupid mistake, what happened is that I accidentally named the variable with the same name as the variable which shows the temperature in the menu and since the menu is loaded after the calculations are done, it overwrites the original value.

It is a farily simple fix, but I will not do it now because I already know about one more thing I want to add to the indoor plugin (history import from logs where date and time are in separate fields) and I also want to add the WView support so I will do it all at once sometime this week.

I have slightly less time these days and will have in the upcoming 2 weeks because I have another PhD exam in the third week of October, so I will need to study more in my free time. Or maybe I will create a plugin about that again :D Like I did last time when I had the climatology exam :D And making the plugin was the only way I was able to memorize it :D Kill two birds with one stone - study and work on Meteotemplate :D Ideal situation :D This time the exam is from landscape ecology... I will see :D :D :D
Title: Meteotemplate - New Block - Forecast - France
Post by: Jáchym on October 04, 2016, 02:42:21 PM
New Block - Forecast - France

Hi guys,
I created a new block for French users. This block shows you 14-day forecast for any location in France using data from MeteoFrance. No API key required.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastFR

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 03:05:55 PM
OK here is part 1 the update every 10 minutes or so
the txtx file is the source and the txt file is the output!
I just added the indoor temp and humidity to the end of the file I've been using for the past year or so!

The history file may be much more involved but I'll pm you later with that!

Sure, I already know about one bug and I want to add a few other things so once you send me the history log I will include that all in one update.
Title: Re: Meteotemplate - new free website template
Post by: Colin on October 04, 2016, 04:49:56 PM
These links highlight the time and date differences. Most likely it affects all users who use these blocks.
These are the ones I enjoy looking at the most.

http://www.halethorpeweather.com/meteo/indexDesktop.php

http://www.komokaweather.com/j-template/indexDesktop.php
http://www.linyweather.net/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 05:40:02 PM
Hi,
thanks, yes I think the problem is in the Clock block, I probably subtracted the time difference instead of adding it so it is the other way around. The problem is that Javascript and PHP have it the other way around, one gives the offset from UTC as negative and the other one as positive and I probably switched them... Thanks for letting me know I will look at it.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 04, 2016, 07:52:14 PM
So I think it's working Gus but can you check one thing?  Although everything shows the correct indoor temp, I noticed the History shows the outdoor temp.  Is this happening to yours as well?

Hi Jeff,
thanks for pointing this out. The calculations in the script are acutally ok, it is just that temperatrue right at the top, the history is fine.
It was a stupid mistake, what happened is that I accidentally named the variable with the same name as the variable which shows the temperature in the menu and since the menu is loaded after the calculations are done, it overwrites the original value.

It is a farily simple fix, but I will not do it now because I already know about one more thing I want to add to the indoor plugin (history import from logs where date and time are in separate fields) and I also want to add the WView support so I will do it all at once sometime this week.

I have slightly less time these days and will have in the upcoming 2 weeks because I have another PhD exam in the third week of October, so I will need to study more in my free time. Or maybe I will create a plugin about that again :D Like I did last time when I had the climatology exam :D And making the plugin was the only way I was able to memorize it :D Kill two birds with one stone - study and work on Meteotemplate :D Ideal situation :D This time the exam is from landscape ecology... I will see :D :D :D

Wow.  I am actually impressed that I caught something  \:D/ lol.  It is certainly no rush - take your time!  Completely understand the school thing as we discussed in the past.  I also get the idea of using a plugin to help you remember!  Landscape ecology?  That sounds rather interesting.  Would that deal with things such as the natural and human factors effect the ecosystem?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 04, 2016, 07:52:47 PM
Hi,
thanks, yes I think the problem is in the Clock block, I probably subtracted the time difference instead of adding it so it is the other way around. The problem is that Javascript and PHP have it the other way around, one gives the offset from UTC as negative and the other one as positive and I probably switched them... Thanks for letting me know I will look at it.

Wow.  I read that really fast... :oops: :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 07:58:54 PM
So I think it's working Gus but can you check one thing?  Although everything shows the correct indoor temp, I noticed the History shows the outdoor temp.  Is this happening to yours as well?

Hi Jeff,
thanks for pointing this out. The calculations in the script are acutally ok, it is just that temperatrue right at the top, the history is fine.
It was a stupid mistake, what happened is that I accidentally named the variable with the same name as the variable which shows the temperature in the menu and since the menu is loaded after the calculations are done, it overwrites the original value.

It is a farily simple fix, but I will not do it now because I already know about one more thing I want to add to the indoor plugin (history import from logs where date and time are in separate fields) and I also want to add the WView support so I will do it all at once sometime this week.

I have slightly less time these days and will have in the upcoming 2 weeks because I have another PhD exam in the third week of October, so I will need to study more in my free time. Or maybe I will create a plugin about that again :D Like I did last time when I had the climatology exam :D And making the plugin was the only way I was able to memorize it :D Kill two birds with one stone - study and work on Meteotemplate :D Ideal situation :D This time the exam is from landscape ecology... I will see :D :D :D

Wow.  I am actually impressed that I caught something  \:D/ lol.  It is certainly no rush - take your time!  Completely understand the school thing as we discussed in the past.  I also get the idea of using a plugin to help you remember!  Landscape ecology?  That sounds rather interesting.  Would that deal with things such as the natural and human factors effect the ecosystem?

Hmm.. I have to admit that unlike the previous climatology exam, Im not looking forward to this one. I wasnt looking forward to the previous one either, but that was more because some parts were difficult to remember, but I enjoyed the content as such. This time... not really. I sort of had to take it because there was no other choice and it is not really related to meteorology or something I would need to know in detail for my job etc.
I wanted to take the Meteorology subject, but unfortunately I couldnt... for rather personal reasons. My supervisor told me that the person teaching it used to work for our intstitute (I work for the Czech NWS, the Czech Hydrometeorological Institute) but there were some problems and I dont know what exactly happened if he was fired or what so he doesn't have good relationship with some of my colleagues and in general probably doesnt like our institute and you can imagine that when a teacher wants to fail you, he will be able to do so... so I rather said I wont take it.... but that was slightly off topic I guess :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 04, 2016, 08:12:30 PM
OK - can anyone try my site?  Weird - I just went and clicked on my Main Setup page and did nothing and when I went to my site its "dead".  I'm thinking it must be the host but I can access via ftp...

Jeff
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 04, 2016, 08:30:24 PM
OK - can anyone try my site?  Weird - I just went and clicked on my Main Setup page and did nothing and when I went to my site its "dead".  I'm thinking it must be the host but I can access via ftp...

Jeff

I just see a white page with no content, nothing also if I select view source?

very weird!
Title: Re: Meteotemplate - new free website template
Post by: gus on October 04, 2016, 08:43:42 PM
http://downforeveryoneorjustme.com/http://www.linyweather.net/

Say its down

UP NOW ???
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 04, 2016, 08:45:28 PM
OK - can anyone try my site?  Weird - I just went and clicked on my Main Setup page and did nothing and when I went to my site its "dead".  I'm thinking it must be the host but I can access via ftp...

Jeff

I just see a white page with no content, nothing also if I select view source?

very weird!

I think my config somehow got corrupted.  TY to Jachym for having a built in back up mechanism!  You Rock Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2016, 08:56:31 PM
Ok so the first known case when the backup feature turned out to be useful  :grin:

I am glad it is back up and running

Telling people to back up stuff in general can never be overemphasized.  Usually people realize that when it is too late  :grin:
Title: Meteotemplate - Blocks Page redesign
Post by: Jáchym on October 05, 2016, 09:25:57 AM
Hi guys,
when I developed the Blocks section at meteotemplate.com there were exactly 7 blocks.... back then the page looked perfectly fine, but now when there is over 100 of them, it has become difficult to find things and also the naming was not ideal, so I decided to redesign the whole page.

Now the blocks are more condensed and opening in dialog windows (like the plugins) and I also re-ordered them so that country-specific blocks are grouped together.
Previously the grouping was purely alphabetical, i.e. Radar Sweden, Radar U.S. etc. And then Forecast France, Forecast Canada etc.

Now the grouping is like this:
Eg:
Norway - Radar, Norway - Forecast etc.

Hope it makes it a bit easier to find the blocks you want and makes the page more efficient.

http://www.meteotemplate.com/web/blocks.php
Title: Need help from someone from North America or Australia
Post by: Jáchym on October 05, 2016, 10:19:50 AM
Hi guys,
Im working on fixing the Clock blocks. The problem is that the reason I didnt notice the problem is that it works ok if you are looking at a website in the same timezone.

I therefore need help from someone in a very different timezone, ideally either from the US or Canada or Australia.

First please look at the current blocks and tell me what time you see. It is now 4.20PM here Oct 5. That is the goal we want to see. I see that already for both, but I suspect you see something different.

http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=clock
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=clockDigital
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on October 05, 2016, 10:43:36 AM
Hi Jachym,

The first link shows 4:43 for me.  The second one shows 2:43 am for me.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2016, 10:53:12 AM
OK, thanks, I suspect the first one is incorrect too, you dont notice it because it is not showing the date, but I suspect that if it was you would see 4AM, instead of 4PM.

OK, I just made some changes, have a look now, it should now be showing 4:50 PM both
Title: Re: Meteotemplate - new free website template
Post by: Maumelle Weather on October 05, 2016, 11:01:32 AM
Looks like both match now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2016, 11:27:28 AM
OK thanks
Title: Meteotemplate - New Block - YouTube
Post by: Jáchym on October 05, 2016, 12:16:50 PM
New Block - YouTube

Hi guys,

one of you asked me if I could do a YouTube block for his YouTube channel. I realized many of you might have a YouTube account where you upload for example videos from your webcams.

Features:

- choose any YouTube channel and playlist and put it on your page
- automatically adds the channel icon
- play videos directly from the page in a modal window
- select the number of videos displayed by default (user can click "more" to load more videos)
- select the number of columns in which you want the video thumbnails to appear
- fully localized

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=youTube

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 05, 2016, 12:44:04 PM

Re clock links, both show 6:42 for me.


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2016, 01:00:11 PM

Re clock links, both show 6:42 for me.


Paul

Thanks, it works then :)
Title: Re: Meteotemplate - new free website template
Post by: johnny on October 05, 2016, 02:52:41 PM
Hi Jachym,
First of all, thank you very much personally for the indoor plugin. You know that i was waiting for this a long time ago!  :grin:
As you know, i have already created the indoor table since September 22nd, updating it every 10 min. via a Meteobridge http event and using the indoor summary page in order to store and display the indoor history.
http://www.lefkas-weather.com/pages/station/indoorSummary.php?from=2016_9_22_08_54&to=2016_10_05_08_54 (http://www.lefkas-weather.com/pages/station/indoorSummary.php?from=2016_9_22_08_54&to=2016_10_05_08_54)
However, now of course i want to install the new indoor plugin and, basically, i don't need a new mysql table, neither a cron job.
What should i do to install it using the existing table and the existing MB service?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2016, 03:33:09 PM
Hi Johnny,
you would need to make sure the table is called indoor, that it has columns named: DateTime, Tin and Hin.

If you already have a script that updates the db, you dont need to setup the indoorUpdate script in the crons directory, just leave it all as it is and only make sure the table is called "indoor" and the columns "DateTime", "Tin" and "Hin"
Title: Meteotemplate - Updates
Post by: Jáchym on October 05, 2016, 03:35:19 PM
Hi guys,

a few updates:

Blocks update - Clock 2.1 and Digital Clock 1.1
- bug fixes, hopefully the time shows correctly no matter which timezone you view the page from

Indoor Data 2.0
- added support for WView
- added support for importing data from files with date and time in separate fields
- bug fixes

See the blog for more info about updating the indoor plugin

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: johnny on October 05, 2016, 04:15:19 PM
Hi Johnny,
you would need to make sure the table is called indoor, that it has columns named: DateTime, Tin and Hin.

If you already have a script that updates the db, you dont need to setup the indoorUpdate script in the crons directory, just leave it all as it is and only make sure the table is called "indoor" and the columns "DateTime", "Tin" and "Hin"
Well, my table has 3 columns indeed, DateTime, Tin, Hin.
Therefore i can proceed the installation! \:D/
Thanks a lot Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 05, 2016, 05:57:14 PM
yes, assuming your table is called "indoor" you basically just upload the files and in the setup fill whatever for the update, if you dont use the updateIndoor it wont have any effect, and you are good to go :)  8-)
Title: Meteotemplate - Plugin Update - Climate U.S. 3.0
Post by: Jáchym on October 06, 2016, 11:19:03 AM
Plugin Update - Climate U.S. 3.0

Hi guys,

I updated the Climate U.S. plugin.

The updated version includes climatology rankings. This allows you to compare data since 1890 with long-term averages, grouped by period (month, 2 months,.... 5 years) and regions (states, regions, belts, U.S.).

DEMO: http://www.meteotemplate.com/template/plugins/climateUS/

Enjoy
Title: Re: Meteotemplate - Plugin Update - Climate U.S. 3.0
Post by: KapitainOne on October 06, 2016, 11:57:29 AM
Plugin Update - Climate U.S. 3.0

Hi guys,

I updated the Climate U.S. plugin.

The updated version includes climatology rankings. This allows you to compare data since 1890 with long-term averages, grouped by period (month, 2 months,.... 5 years) and regions (states, regions, belts, U.S.).

DEMO: http://www.meteotemplate.com/templateBeta/plugins/climateUS/rankings.php (http://www.meteotemplate.com/templateBeta/plugins/climateUS/rankings.php)

Enjoy

Updated but I get a forbidden message when I click on the Demo Link above!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 06, 2016, 12:04:58 PM
Thanks, fixed.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 07, 2016, 12:01:15 AM
Got all the blocks and plugins updated, added - except YouTube.  Used the CSV update utility to import my indoor date from November 2008, thanks Jachym for steering me in the right direction.

All worked as designed!

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2016, 07:14:06 AM
Hi Paul,
great, thanks for pointing it out, when I created that script I didnt think about the scenario the date and time could be in separate fields, which obviously is the case for Cumulus logs so thanks for your help and Im glad it works now in v2.0
Title: Meteotemplate - block update, new plugin
Post by: Jáchym on October 07, 2016, 10:23:31 AM
Hi guys,
several updates:

Block Update - Forecast France 2.0
 - added responsiveness

Plugin Update - WeatherCat 2.1
- added some new variables to make compatible with Live Gauges

New Plugin - Live Gauges WC
The Live Gauges plugin version for WeatherCat software.

Enjoy :)

Oh an btw... I couldnt fall asleep yesterday, dunno why, but I was just laying in bed staring at the ceiling... and I was thinking and as it happens with me, night-time is when my brain works the best so I came up with several things I could add to the template and how to solve some problems, hopefully you will see some of it in version 10 (which is not going to be released any time soon, but eventually will be, the name for it is also already chosen LOL).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 07, 2016, 10:57:50 AM
OK, two more:

Block Update - YouTube 2.0
Based on your feedback I updated the YouTube block. It is now more customizable:
- possibility to choose the default opened tab (Uploads, Featured or Playlists)
- possibility to hide the top header with channel name, icon and subscribe button

Block Update - Indoor 3.0
- added support for WView

Please note - these updates are mostly based on your feedback, as you know I always try my best to adapt the template to your needs. Obviously you do not need to update all the blocks or plugins, for example there is no point in updating the Indoor block now because it only adds support for WView and if you are already using it, then obviously you are using a different SW for it.

I welcome all suggestions and ideas, as well as bug reports, the only limitation for me really is time :D I wish I could do this as a full-time, or at least a part-time job, but... ;) For now it is just a hobby.

As always...

Enjoy :)
Title: Meteotemplate - Plugin Update - Snow 4.0 + MENU - new features
Post by: Jáchym on October 08, 2016, 12:12:03 PM
Plugin Update - Snow 4.0
Hi guys,

I updated the Snow plugin. For the majority of Meteotemplate users the winter is about to start, so I thought it would be nice to make your life easier again and also add some new features.

The updated version now groups the monthly reports by years, this means you will see them nicely grouped by years instead of just one long line of reports.
In addition I added a few missing translations in the plugin.

Menu.php

Another new thing is that the new menu.php now has the option to directly enter snow information. Just like the other admin actions, if you are logged in as an admin, you will see a new tab in the menu “Admin” and in this tab there is now also a link to the page where you add snow.

DEMO: http://www.meteotemplate.com/template/plugins/snow/snowReports.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 08, 2016, 01:25:13 PM
My snow plugin is ready... but I am not yet for snow!

Paul
Title: Meteotemplate - Plugin Update - Night Sky 2.0
Post by: Jáchym on October 09, 2016, 11:21:23 AM
Plugin Update - Night Sky 2.0

Hi guys,
the updated version now also includes a new page with sky viewing forecast.

DEMO: http://www.meteotemplate.com/template/plugins/nightSky/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 09, 2016, 11:24:16 AM
My snow plugin is ready... but I am not yet for snow!

Paul

LOL, we had very warm period up until last week, a few days were even absolute records. Then a cold front arrived and it got very cold very quickly and now it is the other way around, we are well below the long-term average, last week we had daily max around 25C and at night it dropped to about 14-16, now we have daily max around 10 and at night it freezes.
And in the mountains it started snowing too, which is about normal at this time of the year, but they usually have a few cm, or it does not even stay on ground and melts immediately, whereas now there are places with 50-60cm.
Title: Meteotemplate - new newsletter/updates
Post by: Jáchym on October 10, 2016, 09:17:56 AM
Hi guys,

hope you are all doing fine. I have just released a new newsletter issue where you can find all things that are new since last newsletter was published.

TIP:
I only send emails about newsletters, which include summary of what was new, this is because if I send emails about everything, you would very quickly be annoyed by the frequent emails and I definitely do not want to spam you.
If you really want to get all the updates immediately, then you can use the blog RSS channel at:
http://meteotemplate.com/blog/?feed=rss2

New newsletter:
http://meteotemplate.com/blog/?p=1249

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 10, 2016, 12:42:54 PM
I was messing with the main setup and playing about with the header and noticed something strange (to me at lease)
I revised the Header Sub-Title then changed from interactive header to custom with the following results

as you can see the sub-title changes but I didn't change it ](*,)

is that the expected result or is a wee bug?

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 10, 2016, 01:00:20 PM
the latter :D :D :D

I looked at the header.php and I see why that is happening, will be ok in v10
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 10, 2016, 01:02:27 PM
Good, thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 10, 2016, 01:02:55 PM
Since v10 is not something that will happen in the upcoming days you can try the attached script and let me know if it works for you, if so I will include it in the upcoming template update.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 10, 2016, 01:09:22 PM
That did it, now works as I expected it to.

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 10, 2016, 01:26:11 PM
Good thanks for letting me know and pointing it out, I will include it in v10, not significant enough for immediate bug fix package ;)
Title: Google Maps API Key - YOUR LAST CHANCE
Post by: Jáchym on October 10, 2016, 06:11:01 PM
Hi guys,

this is just to remind everyone (not just Meteotemplate users) using Google Maps that unless you have included the Api key in your scripts, your maps will STOP WORKING tomorrow, the 12th October.

Google has introduced this in June and existing users had time until tomorrow to update their scripts. So unless you did so your maps will not work from tomorrow until you create the key and include it in the script. It is actually quite easy and free, if you need help, then I made a PDF guide which you can just follow to get your key.

Guide: http://www.meteotemplate.com/web/wiki/googleAPIkeyguide.pdf

Im actually quite curious about some sites because I checked several quite popular and major websites and I see many still having the missing API key error in the console, so their maps wont be loading from tomorrow...

More info: https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update

Quote
Google Maps APIs Standard Plan updates implemented on June 22, 2016, are as follows:

We no longer support keyless access (any request that doesn't include an API key). Future product updates are only available for requests made with an API key.
We have implemented a simple 25,000 map loads per day free limit for new Google Maps JavaScript API, Static Maps API, and Street View Image API implementations. The rolling 90-day grace period for existing applications is being retired on October 12, 2016.
We have reduced the maximum daily map load limit you can purchase for Google Maps JavaScript API, Static Maps API, and Street View Image API from 1,000,000 to 100,000 requests. Developers requiring higher quota should contact Sales to discuss a Premium Plan license.
We now count Google Maps JavaScript API client-side service requests towards the daily limit of the associated web service API.
Title: Meteotemplate - New Block - the best forecast
Post by: Jáchym on October 11, 2016, 09:43:28 AM
New Block - ?

Hi guys,

I would like to present to you a new block - I am sure all of you will agree with me, that once you install this and use it, you will always consider it to be the most accurate forecast! You don´t believe me? Well I found an absolute amazing data source, see for yourself!

Include temperatures, precipitation, wind speed and direction, warnings, detailed textual forecast etc etc...

http://meteotemplate.com/blog/

Enjoy :)

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 11, 2016, 11:41:50 AM
I finally followed all the instructions and got my first ever Forecast published!
www.komokaweather.com/j-template

Is there an easier/quicker way to get the forecast entered? other than through the login, Block Settings, THIS PAGE, etc. - i.e. through the Admin on the menu.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 11, 2016, 11:55:27 AM
Hi, Jachym
For two days ago, when I open the ADMIN application, configuration blocks or plugins, takes a long time to open and when opened, only reports the plug or block installed, no reports as before if a newer version, there is a problem I do not know.

http://www.meteo-badalona-progres.com/template

Gracias
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 11, 2016, 12:28:35 PM
I finally followed all the instructions and got my first ever Forecast published!
www.komokaweather.com/j-template

Is there an easier/quicker way to get the forecast entered? other than through the login, Block Settings, THIS PAGE, etc. - i.e. through the Admin on the menu.

Enjoy,
Paul

Yes Paul :D It is an obvious thing to do and indeed it will be possible :D In fact I already did that, just that I havent uploaded the updated menu yet :D I first wanted to make sure that it works as such, now that I know it does I will update the menu and it will be exactly what you were suggesting, it was designed like that :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 11, 2016, 12:32:42 PM
Hi, Jachym
For two days ago, when I open the ADMIN application, configuration blocks or plugins, takes a long time to open and when opened, only reports the plug or block installed, no reports as before if a newer version, there is a problem I do not know.

http://www.meteo-badalona-progres.com/template

Gracias

Hi Juan,
this seems like a problem with getting the latest version file from meteotemplate.com. It takes time to load it and then times out so you see everything as version 0.0. Im not sure what could be causing this, I have NOT made any changes on my server so it must be something with your server configuration, I havent blocked and IPs or changed any folder structure.
Have you already told me about this? I vaguely remember one other person mentioned this problem. It works for everyone else, so Im trying to remember who it was and if he was using the same provider
Title: Meteotemplate - menu update
Post by: Jáchym on October 11, 2016, 12:39:00 PM
Here you go Paul :)

http://meteotemplate.com/blog/?p=1257
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 11, 2016, 06:16:16 PM
Hello Jachym not understand the explanation, it is my problem and your server, or template.
I do not understand your explanation, thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 11, 2016, 06:38:20 PM
Hi Juan,

it is most likely not a problem with my server because I did not change anything and it works for all other users fine. The problems you describe show that there is some problem with your server accessing meteotemplate.com. It tries to load the version data file, but cannot, so it takes long time before it gives up and shows all versions as 0.0. I am really unsure why this could be happening because I did not change anything on my server and also, nothing from these scripts was changed in version 10. I will try to make an alternative script for you and see if that helps.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 11, 2016, 06:44:14 PM
OK Juan, please download the attached file, change the extension from txt to php and then replace your admin/blockSetup.php with this new file. And let me know if you are able to see the block versions.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 12, 2016, 01:40:26 AM
Jachym Hi,
thanks for your interest, I installed in ADMIN, the file you sent me, renamed "block setup.php" and it is true that opens sooner but still indicates 0.0, the same is true plugins, which also indicates 0.0 and takes too long to open.

  greetings and good day
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 12, 2016, 06:06:09 AM
Then it must be a problem on your server, I have not changed anything, for some reason your server blocks access to meteotemplate.com. You could try asking your provider.
Title: Meteotemplate - IMPORTANT!
Post by: Jáchym on October 12, 2016, 06:42:27 AM
Hi guys,

I discovered a problem with the block versioning and I would ask you to please install this bug fixes package 9.3, which will also help me because it will substantially decrease the load on my server while loading block versions etc. But there is also another fix in the block versioning so it is not only important for my site.

The download package can be found as always on the downloads page -> section Bug Fixes

Follow the instructions in the Readme file.

And

Today is the last day when Google Maps will work without providing an API key. If you have not yet created an api key, your maps will stop working as of tomorrow, there is a detailed guide in the wiki how to create the key, it is free.

Thanks!
Title: Meteotemplate - Plugin update - Outlook
Post by: Jáchym on October 12, 2016, 11:56:40 AM
Plugin Update - Outlook 1.1

Just minor CSS tweaks



OK, one more question, I found that for some reason some people cannot access meteotemplate.com, I have no idea why this is, the CURL error shows network unreachable, when I try the file in the browser it works fine, but it does seem more like a problem on my side, I will need to ask my webhosting provider about this, but before I do, can you please check if you can access it?
Simply go to your MT cPanel and check the block and plugin setup page, if you can access it you will see the latest versions, if you cannot, the page will take quite long to load and you will then get all latest versions as 0.0

Let me know, I want to know first before I contact my provider
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 12, 2016, 12:17:32 PM
I'm not having any problems accessing your site!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 12, 2016, 12:34:42 PM
Hi,
it is really strange, Jose told me about this yesterday (see above) and now I was installing the template to one guy and I encountered the same issue. It was ideal because having FTP access I could do some debugging so I echoed the CURL errors and it just showes

"network unreachable"

hmmm...
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 12, 2016, 12:37:33 PM

I have no problem accessing www.meteotemplate.com (http://www.meteotemplate.com) nor any issue on checking my blocks and plugins from the Admin tab, they all show the current/correct versions I have.


Paul.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 12, 2016, 01:14:38 PM
Thanks Paul, strange...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 12, 2016, 07:15:38 PM
No issues on my end.  Bug fixes installed and runs fine as well.

Jeff
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 12, 2016, 09:28:20 PM

Also got the bug fixes installed and plugin up to date.  All is good!


Paul



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2016, 06:00:59 AM
OK thanks for letting me know, it is really weird
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 13, 2016, 08:14:24 AM
I will see if more people have this problem, hopefuilly not, I really dont see why this could be happening.

OT.... I am gradually working on next version (not any time soon...). I knew for quite some time that the pages I made originally for my own page, about yr and half ago, mostly the core pages for the weather station, need substantial improvement with regards to optimization, speed, design, error handling etc. I was post-poning it for some time, but I know I will eventually have to do it, but it takes time since I didnt even include comments in the code so I first have to see what is actually going on :D

Yesterday I started working on one of them, slowly going through it and deleting parts that need change.
Well... this is what I was left with in the end :D And thats not a joke :D
Title: Re: Meteotemplate - new free website template
Post by: mickopla on October 14, 2016, 10:43:55 AM
Hi
I'm in the process of installing your wonderful template. I'm at the stage where i'm uploading my data to the database via WUimport.html. the problem i have is there is no lock icon at the footer of the page so i cant login. Am i doing something wrong?
The page in question is here http://www.waterfordcityweather.com/template/install/WUimport.html
Cheers

Mike
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2016, 11:27:22 AM
Hi, great to see new user (another two new this morning :) )
go to your homepage, login via the lock icon to your control panel (or you dont need to do so if you have already done that).
Once you are logged in you will stay logged in until you close the browser window.
Title: Re: Meteotemplate - new free website template
Post by: mickopla on October 14, 2016, 11:40:57 AM
Hi, great to see new user (another two new this morning :) )
go to your homepage, login via the lock icon to your control panel (or you dont need to do so if you have already done that).
Once you are logged in you will stay logged in until you close the browser window.

Whats the exact address of the homepage? Would that be www.waterfordcityweather.com/template/index.php ?

Cheers
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2016, 11:55:28 AM
Yes but before you do anything you must go through the main settings, specify a password, the MySQL details etc. Otherwise you cannot even start the import, because it doesnt know the database login info etc. Just try following the wiki step by step.

First step:

....waterfordcityweather.com/template/install/setup.php

then move on from there :-)

if you need any help let me know or email me, I can set it up for you, the first part is a bit tricky.

Also... just yesterday I was looking at the import scripts... I feel so sorry for you guys if you have been using it... it has so many problems... It will all work much much better in the future, I promise, it will take some time.

there is likely to be less updates and new stuff now because I am preparing for the exam and most importantly, in terms of MT I spend most of the time with support and preparing version 10, it is a long way to go, probably the biggest update yet, so Im basically rewriting all pages, dont worry upadte will be simple, it will just all "work" then and exactly things like import etc. will be much easier. Also some cool new features... but my guess is probably sometime in Dec, maybe a Christmas present :D

Either way, try and let me know how it goes, looking forward for first user from Ireland
Title: Re: Meteotemplate - new free website template
Post by: mickopla on October 14, 2016, 12:21:37 PM
Yes but before you do anything you must go through the main settings, specify a password, the MySQL details etc. Otherwise you cannot even start the import, because it doesnt know the database login info etc. Just try following the wiki step by step.

First step:

....waterfordcityweather.com/template/install/setup.php

then move on from there :-)

if you need any help let me know or email me, I can set it up for you, the first part is a bit tricky.

Also... just yesterday I was looking at the import scripts... I feel so sorry for you guys if you have been using it... it has so many problems... It will all work much much better in the future, I promise, it will take some time.

there is likely to be less updates and new stuff now because I am preparing for the exam and most importantly, in terms of MT I spend most of the time with support and preparing version 10, it is a long way to go, probably the biggest update yet, so Im basically rewriting all pages, dont worry upadte will be simple, it will just all "work" then and exactly things like import etc. will be much easier. Also some cool new features... but my guess is probably sometime in Dec, maybe a Christmas present :D

Either way, try and let me know how it goes, looking forward for first user from Ireland

Hi Jachym
I did follow the wiki including setting up the passwords and database. I will email you with those details and maybe you can help me out.

Cheers
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2016, 12:32:13 PM
Hi,
I just replied, it must have been some temorary glitch on your server, or you didnt click the Save button. The config was not created, none of the settings was saved, when I tried it now myself however, it saved everything fine. See my email for instructions what to do now.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 14, 2016, 06:41:52 PM
Yes but before you do anything you must go through the main settings, specify a password, the MySQL details etc. Otherwise you cannot even start the import, because it doesnt know the database login info etc. Just try following the wiki step by step.

First step:

....waterfordcityweather.com/template/install/setup.php

then move on from there :-)

I LOVE Christmas presents :). Jachym never disappoints...

if you need any help let me know or email me, I can set it up for you, the first part is a bit tricky.

Also... just yesterday I was looking at the import scripts... I feel so sorry for you guys if you have been using it... it has so many problems... It will all work much much better in the future, I promise, it will take some time.

there is likely to be less updates and new stuff now because I am preparing for the exam and most importantly, in terms of MT I spend most of the time with support and preparing version 10, it is a long way to go, probably the biggest update yet, so Im basically rewriting all pages, dont worry upadte will be simple, it will just all "work" then and exactly things like import etc. will be much easier. Also some cool new features... but my guess is probably sometime in Dec, maybe a Christmas present :D

Either way, try and let me know how it goes, looking forward for first user from Ireland
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2016, 06:49:06 PM
Yes Jeff, thats my post :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 14, 2016, 06:54:15 PM
Yes Jeff, thats my post :D

Oh crap...  meant I LOVE CHRISTMAS PRESENTS...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 14, 2016, 07:07:18 PM
OK I see :-)
Just keep in mind they usually come close to Christmas ;) not at this time ;) It will be lot of work, I already have some pages done, but my to-do list is still quite long, though I guess I already have more new stuff than in both v8 and 9 together :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 15, 2016, 08:50:43 AM
Plugin Update - NWS Warnings 1.3

Hi guys, just a minor update, the XML structure of the file on the NWS server changed so this update fixes it and should work fine again.
Title: Re: Meteotemplate - new free website template
Post by: SimonB on October 16, 2016, 03:12:37 AM
Jachym

I'm somewhat out of date regarding the updates.  I'm still on Pineapple.

Would you recommend updating all the blocks first and then updating the main template, or which would you suggest?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 16, 2016, 11:46:27 AM
Hi Simon,
For the several template updates I have tried different methods - both update and full.  Now I use the template update method and copy my current homeweather and plugins folders into my current version update folder.  Jachym has made several enhancements on updating blocks and plugins from the Admin section to help with the updates for these but that doesn't include plugins and blocks that you don't already have on your site. 

My suggestion is to update your template to the latest Avocado and upload all the files that are changed.  Your existing blocks and plugins will work.  Then using the Admin Plugins and Blocks Setup feature to identify which need updating (they will be marked).  Then download those changed blocks and plugins on to your computer and upload.  Then add in new plugins and blocks as you wish.

While the current template version has built-in backups I still like to keep an always current duplicate files/structure on my computer (other than the block, plugins and config settings which are updated on the webserver so I use the backup periodically to have these files' current version on my computer as well).

Enjoy, and good luck (but pretty foolproof).
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 16, 2016, 12:08:31 PM
Hi,
general rule:

When a new template update is released:
 - either it is compatible with all already existing blocks/plugins - i.e. if you update the template everything will still work
 - or if there is a block/plugin that is not compatible with the new version, that block or plugin would be also updated at the same time new template version is released

If you decide you do not want to update the template and stay with an older version:
 - then it means you cannot update anything unless you upadte the template.

I.e.
All new updates of blocks/plugins assume the user uses the newest version of the template, so compatibility cannot be guaranteed. This obviously means that as I said before, everything you isntalled before new template version was released, will work, but you must not update a block/plugin if it was updated after a new version of the template was released, which you have not yet installed - or rather I should say - you can, but I cannot guarantee it will work if it uses some function that was not previously included in the main template, usually it will work, so you can try, but...
Title: Meteotemplate - quick update
Post by: Jáchym on October 16, 2016, 12:15:55 PM
Hi guys,
just to give you a quick update about what Im working on now and the progress Im making.

First of all I want to say that there is less upadtes now because Im preparing for an exam which is next week on Friday, though it is one of those exams where there isnt much to memorize and so I have no clue what they are going to ask and would rather have it tomorrow than having to wait another 5 days....

And because studying nonstop would drive me crazy, I of course work intensively on MT. Im working on v10, which as I said, will be the biggest update that MT has seen so far, and one other thing - for you it will probably be one of the easiest updates (so dont worry, big update means everything working differently in the backend, but for you it will be very easy, just replacing files).

Just to illustrate my point, I for example recently worked on the Trends pages:

v9 Avocado:
- 8 files, 1147 lines each = total of 8983 lines of code

v10 ? :)
- 1 file, 740 lines
- same functionality
- implemented error handling
- several bug fixes
- comments in the file

:)
But it is still long way to go to update most of the core template files, some of which are still mostly using code from my personal site, which I used to learn PHP and I knew this code is awful, no comments, no error handling, many bugs, not optimized... but that was why I was avoiding chanigng it because I knew it has to be done again from scratch and I decided I can no longer leave it like this so v10 will fix all this :)

And there will of course also be many new features, in terms of the PWS pages, but also blocks etc. Not just fixes of course.
Title: Re: Meteotemplate - new free website template
Post by: josecmorales on October 18, 2016, 01:10:38 PM
Hi, im isntalling this template, works fine, but i have some issues:

1) Dont know why but the hurricane RSS block doesnt works!.
2) i use MB nad i cant get config the mbLive.txt.
3) i downloaded all data from WU but doesnt appear in mySQL.

http://climaguayana.ddns.net/template/index.php

Welcome any advices!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 18, 2016, 01:15:38 PM
Hi Jose,
the problem is that your description of the problems is very vague.
Telling me "it does not work" gives me absolutely no clue what you did, what exactly happens and therefore potential to try to solve this.
Title: Re: Meteotemplate - new free website template
Post by: josecmorales on October 18, 2016, 01:42:37 PM
You´re absolutly right Jachym

the problem is doesnt appears
(http://i.imgur.com/hCsBU2X.png)

The block rain doesnt get data from MysQL
(http://i.imgur.com/O47WdUn.png)

Where i change this icon? mine is Davis.
(http://i.imgur.com/UmU7IkT.png)

Meteogram doesnt load, i wrote the address http://www.yr.no/place/Venezuela/Bol%C3%ADvar/Ciudad_Guayana/ works with forecast, but not with this.
(http://i.imgur.com/3gnYtrb.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 18, 2016, 02:14:52 PM
Hi,
the Uv forecast and hurricane rss... the problem is that your server hides all errors, it only shows "error", which is not very useful.

Your rain block shows no rain because when I look in your database, all days have rain 0mm, so there is no rain saved in your database.

The station icon you can change by downloading the one you want to use in the Extras section at meteotemplate.com and then rename it to station.png and replace the original station.png in the "icons" directory.
Title: Re: Meteotemplate - new free website template
Post by: josecmorales on October 18, 2016, 04:10:32 PM
Change the icon, but only change on the menu (website), no on the blocks.

I eliminated the blocks with issues until i get what happens.

I imported the data bad!, im importing again.

Still have problem with the mbLive.txt, on MB say wrong password, but is the right password.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 18, 2016, 04:28:35 PM
Make sure you are using the UPDATE password, not the ADMIN password.
Title: Re: Meteotemplate - new free website template
Post by: josecmorales on October 18, 2016, 10:17:38 PM
Yes, im tested with every password
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 19, 2016, 04:26:46 AM
Where do you see that it is a wrong password?
Title: Meteotemplate - Plugin Update
Post by: Jáchym on October 19, 2016, 08:51:44 AM
Plugin Update - Distributions 1.1

Hi guys, I noticed this plugin that I created over a year ago was still only in English. The updated version is now fully translatable.

As I mentioned earlier, I am now preparing for the exam which I have on Friday and meanwhile intensively working on version 10, you really have something to look for, it will be by far the biggest update of Meteotemplate yet, maybe also one of the easiest one to perform, but it will still take me some time to put it all together. I am also looking back at the questionnaire some of you filled in in the past, particularly at your answers to the question "what are you missing in the template" :-)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 20, 2016, 12:16:26 PM
Jachym

I know you are studing for an exam tomorrow but once that is over the EC Forecast block is going to need tweaking!

See http://www.wxforum.net/index.php?topic=30584.0

Bill,
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 20, 2016, 12:37:33 PM
Hi Bill,
ok I see, they changed the script. After the exam I want to concentrate on version 10, so this might take some time before it is fixed, I will put it on my to-do list.

Why cant they simply use some API, XML or JSON pages I have no clue... this is exactly what happens when you rely on HTML scraping and why I hate to do that.... never ending fixing of problems...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 20, 2016, 12:52:48 PM
LOL... what happens when you study for an exam and to relax do some coding where you also sometimes have to think a lot?

You end sentences in a text with semi-colons... :D
Title: Meteotemplate - Block update - EC Forecast 2.0
Post by: Jáchym on October 21, 2016, 07:52:19 AM
Block Update - EC Forecast 2.0

Hi guys,

I updated the Environment Canada due to changes on the EC website. Update by simply replacing the files, keep your settings and there is no need to change anything on your side. Your current version of the block is not working so you need to do this.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=ecForecast

Available in French and English as before

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 21, 2016, 09:26:18 AM
Thank you Sir
Update tto EC-forecast works well!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 21, 2016, 09:46:17 AM
Thanks Bill, hopefully it will work for some time.... I hate HTML scraping for this very reason :D Minor changes in HTML and you can start from scratch :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 21, 2016, 12:15:53 PM
Jachym, I hope your exam went well and you can do a little celebrating... \:D/

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 21, 2016, 12:22:08 PM
Hi Paul,

thanks and thanks to all who wished me good luck :-)

Yes it went well. So far I passed three with A, A and B and there is one more in spring and its done :-) Then just writing the thesis :D

And no, Im not really celebrating :D Im not that kind of person who celebrates a lot :D I am a workaholic and I find it a waste of time, so I dont really celebrate birthday, New Year or Christmas, I rather work - either in my job (which I do now, but Im quite sleepy because I didnt go to bed at all last night :D) or I "work" on Meteotemplate - which is the plan for tonight.

Version 10 is under way :-) Though even when Im done it will then take me at least a day or two to write the changelog of what is new and update the wiki :D
Title: Re: Meteotemplate - new free website template
Post by: droiddk on October 21, 2016, 01:32:03 PM
(which I do now, but Im quite sleepy because I didnt go to bed at all last night :D) or I "work" on Meteotemplate - which is the plan for tonight.


You really are one of a kind Jáchym   :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 23, 2016, 11:11:39 AM
Hi guys,
I need your help. I need access to someone's clientraw.txt and realtime.txt.

By access I mean just a URL of this file that is being periodically updated, i.e. is current.

Also, I need that to be someone from either the same timezone as me (UTC+2) or someone who is "behind" my time (anyone from the U.S.). I need it to be either current or in the past, but not to be seen as future by my server that I will use.

I might be accessing your file for a few days now, but dont worry, no periodical downloads.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 23, 2016, 11:26:10 AM
Jachym, see email

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 23, 2016, 11:30:48 AM
Yes, thank you very much Paul.

And I have clientraw already too, thanks guys... its amazing... I ask for something and I get it within 10 minutes :D Thats probably a better response time than even I have with support LOL :D :D :D
Title: Re: Meteotemplate - new free website template
Post by: droiddk on October 23, 2016, 03:01:46 PM
Hi guys,
I need your help. I need access to someone's clientraw.txt and realtime.txt.

By access I mean just a URL of this file that is being periodically updated, i.e. is current.

Also, I need that to be someone from either the same timezone as me (UTC+2) or someone who is "behind" my time (anyone from the U.S.). I need it to be either current or in the past, but not to be seen as future by my server that I will use.

I might be accessing your file for a few days now, but dont worry, no periodical downloads.

Soon time to gear up Jáchym, I imagine than in a very short time you will have a control-room like this with different weather-software running on each screen and in the room behind all the weather stations are situated:
(http://www.lundhalsey.com/images/Oil%20and%20Gas%20Images/Oli-Gas-Room-02-LRG.jpg)

 :grin:  :grin:

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 23, 2016, 03:06:39 PM
LOL, yeah :D

My current HW is slightly more modest :D :D :D

What is this? Some nuclear powerplant control room? :D
Title: Re: Meteotemplate - new free website template
Post by: droiddk on October 23, 2016, 03:07:39 PM


What is this? Some nuclear powerplant control room? :D

Its my weather station  :grin:

No...just found it on google  :grin:
Love all the red buttons.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 23, 2016, 03:51:09 PM
Yeah :D

Though you usually have just one such "red button". In this case I wonder.... if there is an emergency you better think twice which of those 18 (!) you press :D
Title: Meteotemplate - New Language - Romanian - 19th available, 20th coming soon
Post by: Jáchym on October 24, 2016, 11:06:23 AM
Hi guys,

the template is now almost completely available also in Romanian, big thanks goes to Bogdan for his help.

http://www.meteotemplate.com/web/translations/index.php

This is now 19th language in which Meteotemplate is available, 20th is under way ;)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 24, 2016, 12:34:28 PM
Your chance to decide:

http://www.wxforum.net/index.php?topic=30616.msg303170#msg303170
Title: Re: Meteotemplate - new free website template
Post by: Stegrie on October 26, 2016, 03:06:04 AM
Jachym, see Mail
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 26, 2016, 05:17:01 AM
Jachym Hello, good morning, because when I updated the Block WebCam to the new version, I need to put the mouse over the image to make it look clear?

I would like the image look as before.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 26, 2016, 07:00:05 AM
Hi Juan,
not sure what you mean, which image?
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 26, 2016, 08:27:01 AM
If You enter http://www.meteobadalonaprogres.cat you will see the Block Web Cam the camera image looks a little evening, and to view it either has to put the mouse over.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 26, 2016, 08:29:43 AM
That link redirects me to Leuven site so Im not sure which image you are talking about.
Title: Re: Meteotemplate - new free website template
Post by: gus on October 26, 2016, 10:06:18 AM
Hi Jachym,      
I believe Juan Maria Vilaro is refering to the opacity setting (0.7 non-hover setting) of the webcam image.
This could be a possible option in the block setup.
http://www.meteobadalonaprogres.cat/template/indexDesktop.php
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 26, 2016, 10:08:14 AM
Aha.... I see, yes possibly, it is to indicate that you can click on it and zoom it in
Title: Re: Meteotemplate - new free website template
Post by: gus on October 26, 2016, 10:10:55 AM
I agree. Also makes the page look more interactive.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 26, 2016, 10:55:24 AM
The previous version was not zoomable so I wanted to show that to the user by having it highligted when hovered over and with the hand cursor. When you click it, it has full opacity.
Title: Meteotemplate - Block Update - Summary exclusively in Czech! ;-)
Post by: Jáchym on October 27, 2016, 06:56:40 AM
Hi guys,

the Summary block is now also available exclusively in Czech, far from perfect, but better than nothing :-)

Enjoy
Title: Meteotemplate 10.0 Banana - biggest update yet
Post by: Jáchym on October 27, 2016, 08:45:41 AM
(http://i64.tinypic.com/ea62py.png)

Hi guys,

you might have noticed there has not been many updates recently.... this is because I was intensively preparing version 10. However, I should say that this version also includes many changes I wanted to do long time ago, but never completed so did not include in previous versions.

Meteotemplate 10.0 Banana is a major update, probably the most significant update yet, and this includes not just many new pages and things you will see directly on the page, but majority of the code of the Weather Station section - code that I have written over a year ago, while learning PHP, has been rewritten, optimized and some pages done completely from scratch.

One thing that you will appreciate especially if you are a new user is that I have completely re-written the data import and database update scripts. There are no more WD.php, Cumulus.php, meteobridge.php etc. scripts... there is simply "an update script", "an import script". These now also work totally differently. In previous versions you made a file that was compatible with Meteotemplate for import - now Meteotemplate adjusts based on what your files look like - and so you can now import data and update database with practically any file that contains the necessary information, regardless of its structure.

And in addition, this version finally completed my long-term goal - the database update was the very last thing that still had to be set up in the code itself. Now it uses GUI and is accessible from your control panel. And this therefore means, that unless you want to make specific customizations, you can now install and setup Meteotemplate, setup and install blocks and plugins and do admin actions, without ever seeing the code. And this is also a major advantage for me because it gives much less space for potential errors that people can accidentally make when they for example delete a semi-colon etc.

Some of the new features might look like minor, but they will also save you time - for example the new "remember me" function - stay logged in as an admin even if you close the browser or shut down your PC until you click the log out button, current conditions in header, site search in footer. Your homepage blocks now also have some new features - a new "header block" and "footer block" further extend the layout possibilities, possibility to highlight important blocks, set names for menu blocks. There is lot of new things, so just keep reading and then especially explore it once you have it installed yourself - btw. the update should be very easy.

New/redesigned pages
New features for blocks
New features
Bug fixes/optimizations/minor changes
Depracted pages:
Depracted plugin:
Update Instructions

In the blog

As always - the first person to do the update, please let me know, once Im sure it is ok I will send out emails to people about the new version.

E N J O Y !!!!!
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on October 27, 2016, 09:42:42 AM
Updated to V10.0 with out any problems!
Great work Jachym =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 09:55:31 AM
Thanks for letting me know, Im glad you like it
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 11:57:36 AM
Just a couple of points I forgot to emphasize:

- Your current website will work perfectly fine as it is now even if you do not update to 10.0
- if you want to update, remember that updates are ONLY possible from one version to another, if you are using 8.0, you either have to install 9 and then 10, or do a clean install. It really isnt possible for me to create several update packages, several update instructions etc. for each possible version combination

Most importantly:
I have said this in the past, but let me remind you again that all your blocks and plugins will work even in the new version, if not it would be update too (but it is not the case for v10, so no blocks or plugins need an update).
HOWEVER
If you decide not to update to the latest template version, then YOU MUST NOT update anything else, in other words, it is perfectly ok to keep using an older version, but in that case you made the decision to leave your page static, all plugins and blocks I release always assume the user uses the latest version of the template. They might work even with an older version, but this cannot be guaranteed and also, the menu.php from v10 will NOT WORK in any other version so keep that in mind!

Before updating ANYTHING - a block, plugin, menu etc. (with the exception of language files, those can be updated any time) - you must make sure you are using the latest version of the template, otherwise just leave your page as it is.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on October 27, 2016, 03:27:56 PM
Thanks Jachym,
As usual it went very smoothly and is working fine.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 05:46:25 PM
Thanks Tom
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on October 27, 2016, 05:47:26 PM
Hi!

The new 10.0 great, but i have a problem.

The "googleMapsKey.txt" missing. :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 05:49:33 PM
Hi,
check your googleMapsAPI key text file, the key is not specified in the Main settings file, you probably replaced the GoogleMapsApi key text file too and so it erased your key. You must change it in the text file.
The reason why it is not set in the Main settings file is because it is required by that script too so it must be available before the script is run.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 05:56:59 PM
One thing I also wanted to mention is that I want to thank in particular:

Gus, Tom R., Bill, Paul and Markus for helping me to test the new features.

Thanks guys
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on October 27, 2016, 05:59:38 PM
I checked all directories. I can't find this file. How to create it?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 06:02:25 PM
install/googleMapsKey.txt

if you deleted that file, simply create a text file named "googleMapsKey.txt", put just your key there and upload it to your install directory
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 27, 2016, 07:28:30 PM
WOW.  Easiest upgrade EVER.  And I didn't need to use my backup Jachym  :grin: :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 27, 2016, 07:53:46 PM
 :grin:

Thanks Jeff, hope you enjoy using v10
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 28, 2016, 12:17:22 AM
I think I have found all the new pages, tried the new features for blocks but will have to relook at this, and using the new update script.  All seems to be working... www.komokaweather.com/j-template

Modifying the new menu is still to do.

Thanks Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 28, 2016, 09:53:55 AM
Thanks Jáchym for version X / 10 great job !!!

Just one thing Dutch and maybe other dates are not availble in the setup ergo dd-mm-yyyy by example today's date is
28-10-2016 I've manged it by editing my config.php but it should be availble from the setup I think.

My api was from darksky.net was dissappeard by the update , furtunally I had a backup (I don't know if this happened by others if it was only me it must be a glitch on my server.

Anyway great job still can't imagine that you made the exam  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 28, 2016, 10:16:36 AM
Hi,
yes, I forgot to add that.. I will do. Your darksky api key did not disappear, but previously you were using it and set it up in the plugin, that plugin is now deleted and it is part of the main template, the template did not take the api key from the plugin settings file, I cant do that because not everyone was using the Outlook plugin. If you were, also delete it.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 28, 2016, 10:24:10 AM
Ah that explains it thanks for pointing it out   :!:
Title: Meteotemplate - Block Update - Trends 2.0
Post by: Jáchym on October 28, 2016, 11:31:18 AM
Block Update - Trends 2.0
Hi guys,

version 10 is out and seems to be working fine so time for blocks and plugins again :-)

The updated Trends block now includes tooltips when you hover over the graphs with actual values, also tooltips for the icons and the numbers are now rounded to correct number of decimal places.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on October 28, 2016, 11:44:41 AM
install/googleMapsKey.txt

if you deleted that file, simply create a text file named "googleMapsKey.txt", put just your key there and upload it to your install directory

Hi,

thanks... :) Indeed, the txt file is accidentally has been deleted. Now working well.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 28, 2016, 01:17:54 PM
Jachym Hi, thanks for your help in the response of the Web Cam.

I just installed the 10.0 Meteotemplate I have a little problem indicates Online status, but the Station tab indicates Offline, and not how to fix it.

http://www.meteobadalonaprogres.cat/template/indexDesktop.php#/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 28, 2016, 01:22:31 PM
Hi, this is really strange, no-one else reported similar problems, it looks like a problem with the timezone setting. Are you sure your timezone in Main Settings is correct? Check the times in the database too
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 28, 2016, 01:23:52 PM
Your last db update was at 17.38, but the time at your place shows 19.20, so the menu seems ok, something is wrong with your updates.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 29, 2016, 04:35:30 AM
Hello Jachym in Meteotemplate 10.0, do not get me cron, I have seen that you have to create, update settings.php, but not how to create it, please can help me ??. where is the control panel ???

  if (! file_exists ("updateSettings.php")) {
die ( "The update settings file does not exist! Please go to your Control Panel and set-up the update process.") ;.


Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 05:46:04 AM
Juan read the update instructions carefully please,  if you already had your template working do not change anything with the updates and keep on using the original update script and cron job.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 29, 2016, 06:23:00 AM
Hola, estoy leyendo la wiki, pero no consigo entender,  como subir la información a la Base de Datos.

http://www.meteobadalonaprogres.cat/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on October 29, 2016, 06:27:54 AM
Hi, I'm reading the wifi, but I can not understand, and upload the information to the database.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 07:39:29 AM
Hi,
Juan you are not a new user, which means your updates must have been already working before. If you read the blog and the post about updates to version 10, it tells you that if you are an existing user, you should not change anything with your updates.
Your updates were working before in version 9, so just leave everything as it was, do not change the updates at all. Do not use the update.php, use the script you were using in version 9 and leave your CRON job as you had it in version 9. This will update your database and it will be used by version 10, but you do not need to use the new update script.
Title: 300 users + new page
Post by: Jáchym on October 29, 2016, 07:46:34 AM
Hi guys,

it is almost unbelievable, but there are already 300 of you Meteotemplate users. Exactly 501 days ago when I first released it I expected there would be maybe 5-10 people interested and that after a few weeks everyone, including me, will forget about it. Well, things evolved differently, I am really glad that most of you seem to enjoy this and I do too. Just a few numbers…

There are:
- 300 users
- from 39 countries
- currently 22 languages
- 501 days since first release

And to “celebrate” the new milestone I created a new page, nothing really special, but just a different visualization of where you are 😀

http://www.meteotemplate.com/web/userGlobe/Apps/userGlobe.php
Title: Re: Meteotemplate - new free website template
Post by: Paul on October 29, 2016, 09:39:06 AM
Great work as always Jachym.

Unfortunately I have an issue I can't figure out.

I updated both my sites from 8 to 9 with no issue.

However when I updated the first of them to 10 the full page does not load. Only the banner and the plugin/block notification at the top loads.

If I view source or inspect in Chrome it shows indexDesktop.php to only have div main_top, div main is not there?

Must have done something wrong somewhere but I have replaced all files again.

indexMobile works ok.

Any ideas?

This is http://www.ploppy.me.uk/Ilfracombe/template/indexDesktop.php by the way

Thanks,

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 09:41:20 AM
Hmm strange... and you are the second person with this problem... something is wrong... I have to look at this
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 09:53:55 AM
OK I think I know... so the problem is that you are using a very old version of PHP which does not support one of the functions.

Now, this function is not crucial, but rather than me deleting it from the scripts, it would be much better if you could upgrade to PHP at least 5.4.

The version you are using now is from 2009... so you can imagine how much changed since then.

Version 5.4 has been tested for many years, is absolutely stable and has many new features which are quite useful. If I make those changes in the scripts, you would be able to use the template, but still in a limited manner, for example the "remember me" function will not work etc.

Is it possible to upgrade? I should also mention that I have recommended this to several users who were using 5.3 and never had a single issue with the upgrade process.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 09:59:41 AM
OK based on that I changed this in the wiki as well.

Previously the template required version 5.4, but could run with 5.3 in a limited manner.  I now changed that to 5.4. The reason for that is that as it became more and more sophisticated, 5.3 would require me implementing many fallback mechanisms and more and more things will not work.

I understand not everyone is using the latest version, but 2009 is when 5.3 was released and that in computer terms is like stone age...

So right now, version 10 is only supported by PHP 5.4+. I hope it is not a problem to upgrade, 5.4 is very stable and I really think it would not be worth the time for me to implement many new functions that would allow the template to be used at least in a limited manner with 5.3. It is now very outdated.
Title: Re: Meteotemplate - new free website template
Post by: Paul on October 29, 2016, 10:01:51 AM
Thanks Jachym, yes debugging showed the offending PHP function in menu.php
I have removed this for now.

Will put in a request to have PHP updated by my host
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 10:10:59 AM
OK.
This session function was not in version 9, but the problem was that if you dont include it it shows warnings and so I wanted to remove these and that is done by this function. Theoretically, if I remove that, it will work again, but it will show a warning on everyone´s site if the debug mode is on and it will also log this in the error log every time you load any page. This is always undesirable.

So right now, I have two options:
- have it compatible with 5.3+, but with warnings and errors in everyone´s log files
- have it compatible with 5.4+, with no errors

Given that there are already things that will not work with 5.3 (eg. the "remember me" feature), for which I created extra functions, I see this as a dead end really. I would be adding more and more code just to make it "work" with 5.3 at least in a limited manner and as I said previously, I think every host should offer at least 5.4, because that is today´s standard.

It is a bit like browser support. You as a developer have to draw a line somewhere and say, whatever is older than this, will not be supported. A great example of this is IE. Versions older than 10 have substantial problems with today´s CSS code and you could theoretically make some different code that would be used for these, without the desired effects on the page, but it would take you a lot of time, a lot of work and since everyone should be able to use a more modern browser today, it really is not worth it.

With the remember me function, the reason it cannot be used is because PHP 5.3 cannot use the B-crypt encryption function. Again, I had a choice:
- use the SHA256 or MD5 encryption, still widely used, but it is now recommended not to use it, because it has been cracked. You could say that your login is not like Google or FB, where you really need to make sure it is 100% secure, but I still wouldnt feel good about using something that is obsolete and recommended to avoid
- use the B-crypt - todays most secure and sophisticated encryption, used by all the major companies, never cracked, but... limiting this only to users 5.4+

I chose the second option
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 29, 2016, 10:46:31 AM
So my provider has decided that as of 12/31 they will no longer be providing hosting services.

I want to make the switch asap and transfer the domain before anything happens.

Anyone have any suggestions for a host that they are using and would be worth looking into so I can keep my site up?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 11:01:51 AM
I assume you prefer an American host, in which case I could suggest 1and1.com.

They have an option where you pay just 0.99/month during the first yr. This gives you plenty of time to test it out and if you are happy with it, the normal price after the first yr is I think around 7/month.

They have all the features required by MT and also unlimited webspace and unlimited bandwidth.

See: https://www.1and1.com/web-hosting
Title: Re: Meteotemplate - new free website template
Post by: nitrx on October 29, 2016, 11:12:02 AM
I've https://www.ifastnet.com/portal/sharedhosting.php super premium with good support
Title: Re: Meteotemplate - new free website template
Post by: gus on October 29, 2016, 11:59:25 AM
MDD Hosting Basic Plan is what I have been using for a little over a year.
https://www.mddhosting.com/
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 29, 2016, 03:03:58 PM
I had 1&1 in the past and I was pretty happy with them.  I may ask for help in transferring the site over.  Not sure what to do once I get it started as far as the setup of the sql and config - I assume I take my page and back it up and upload it back to the new site or am I better doing something else.  This is very new to me.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 03:26:03 PM
Hi,
it should not be a major issue. You will copy all your files, then you will need to adjust paths in config. That should all be really simple.
Then comes the slightly difficult bit, you will have to update your CRON URLs and most importantly, export and subsequently import your complete db with all the tables (some plugins use additional tables) via phpMyAdmin and import them exactly as they are to your new database and change MySQL details in the Main settings.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 29, 2016, 03:28:38 PM
Hmmm.  Real simple 😂😂😂.  I may be requesting some assistance at some point.  Have to read through the stuff and set up a time for me to do this.  It's not urgent since they gave us to the end of the year so...  sounds fun!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 04:07:55 PM
OK, well maybe it would be better if you then let me know when you want to do it, if you then send me your new FTP and also give access to phpMyAdmin, I can do it, because the dangerous thing in phpMyAdmin is that if you dont know what you are doing, then one click can completely delete everything
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 29, 2016, 04:14:18 PM
Thanks Jachym.  Truly the best!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 07:28:28 PM
If I didnt have to go to work I could work 25h/day on Meteotemplate today, isnt that great :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on October 29, 2016, 08:59:49 PM
If I didnt have to go to work I could work 25h/day on Meteotemplate today, isnt that great :D

At least you have a passion and have helped so many others. 😁😁😁
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 29, 2016, 09:06:34 PM
Yeah, as I said -20 minutes ago :D :D :D Or is there an English word for the opposite of "ago"?
Title: Meteotemplate - Plugin Update - Indoor Data 3.1
Post by: Jáchym on October 30, 2016, 10:49:24 AM
Plugin Update - Indoor Data 3.1

Hi guys,

just a minor update, in your Indoor Data setup is now a new option to backup your indoor database. This would create a folder with backup of your indoor database, the same folder as where your normal alldata table is backed up (template root/backup). Database is backed up as CSV files for individual years and then also zipped together into one ZIP file.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 30, 2016, 02:35:00 PM
One of you asked me how Meteotemplate handles DST.

This is what happens:

Change from Summer->Winter time, i.e. time goes back
Your database is updated normally until 2.59, then time changes back to 2.00. The subsequent hour is ignored because the script only triggers updates once 5 minutes elapse since the last update and in this case it therefore waits until 3:00. The data in your db will therefore correspond to the first 2-3 AM interval.

Change from Winter->Summer time, i.e. time goes forward
In this case it is quite obvious, you will have a gap between 2 and 3 AM

:-)
Title: Meteotemplate - New Plugin - Climate Normals
Post by: Jáchym on October 31, 2016, 11:17:21 AM
New Plugin - Climate Normals

Hi guys,

I created a new plugin, which uses the NCDC daily data from the whole world.

This plugin allows you to specify a station(s) and the plugin will download climate data from the National Climate Data Center (NCDC) and calculate the daily and monthly normals and compare them with your station. The parameters included are temperature (avg, max, min) and precipitation. This also depends on data availability. Data is cached so it will only load the information the first time you load it and then it will be much faster.

Main features:

- daily and monthly normals for any number of stations + absolute min and max
- comparison with your station (deviation etc.)
- information presented using interactive, resizable graphs as well as sortable tables

DEMO: http://www.meteotemplate.com/template/plugins/climateNormals/index.php

Install instructions in the plugin documentation and setup page.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on October 31, 2016, 01:56:28 PM
Updated Indoor and added Climate Normals.  Looks like no data for CA006144261 Komoka but ok for CA006144475 London and that is close enough!

Jachym, check email :lol:

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 31, 2016, 01:58:30 PM
Thanks, I changed it, no-one complained yet, so hopefully it works for everyone :D
Title: Meteotemplate - Bug Fixes Package 10.1
Post by: Jáchym on November 01, 2016, 06:52:44 AM
Bug Fixes 10.1
Hi guys,

fortunately the update seems to be relatively ok and smooth, though there are a few minor problems that I discovered. I waited for 5 days to make sure I get most of the bugs reported and so you can now download the Bug fixes package from the Downloads page (click the Bug fixes section in the menu on the left). There is a readme file, but it should be really simple. Just replace/add the files inside it in the corresponding directories on your server.

Of course if you discover any other bugs report them to me and I can always release a new fix package again.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 01, 2016, 07:37:20 AM
Hello Jachym, I'm looking to import Log Files from WD, but as my English is very poor, not get over how I set to import correctly, you can help me and say that parameters have to select date formats and data ??

Thank you
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 01, 2016, 07:45:15 AM
The question is directed to any member of the forum, which can help understand how to import correctly LogFiles WD

Thank you very much
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 01, 2016, 07:59:23 AM
Hi Juan
you need to go to your control panel and click the data import icon and then follow the instructions for uploading from a file.

Now, the problem is that there are detailed instructions in English and I understand it is a problem for you, however, the problem is that I really don´t know how else I could explain it to you here, unfortunately I do not speak Spanish so if I want to explain it to you here, I would write exactly what I wrote in that file.

I suggest you ask in the Meteotemplate thread at the Meteoclimatic forum, where I also post and there are users who do speak English and will be able to help you better than me:
http://forum.meteoclimatic.net/index.php/topic,8.0.html

I will step in if necessary
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 01, 2016, 11:05:39 AM
Pray apologize for the inconvenience, the main problem is that it is not I do not know that DataTime (format) have to select Admin (Data Import), because when I upload test always gives me some errors.
I install the LogFiles Install and renamed to (.txt) changing 112016lg to 201611.txt)
Select the Path http: // ... but do not know which format put, I explained ??
Thanks for the patience

Juan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 01, 2016, 11:11:56 AM
Hi Juan, I see you asked on the other forum as well, I think Javier will be able to help you, his English is excellent and he knows PHP as well so he will explain it to you in Spanish.
Title: Meteotemplate - New Block - Radar Estonia
Post by: Jáchym on November 01, 2016, 11:12:42 AM
New Block - Radar Estonia

Hi guys,
 a new block is available, which shows an animated radar image for the area of Estonia. Thanks to Priit for his help.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarEE

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 01, 2016, 03:59:01 PM
Jachym,

I can't find anywhere on the control panel for the home page where to change the column widths.  I know I can do it in the text file.  Is that the only way?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 01, 2016, 04:07:25 PM
Hi Jay,
yes and no... the way this works is that it asks you for the column widths when you first set up your homepage. Then next time it skips this and redirects you directly to block selection. If you reset your homepage from the control panel, it would ask you again, however if you only want to change the width without resetting your block configuration then you would have to open the indexDesktopLayout.txt in the admin folder and change it there directly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 01, 2016, 07:44:34 PM
Block Update - Norway Alerts 1.1

Hi guys, just a minor update of the Norway Alerts block. The met.no API has changed so the previous version no longer works.

Thanks to Ole for spotting this.

Enjoy
Title: Meteotemplate - New Plugin - Climate - France
Post by: Jáchym on November 02, 2016, 08:21:34 AM
New Plugin - Climate France

Hi guys,

I created a new plugin for French climate.

Main features:

- past climate data (temperature and precipitation) for France and its individual regions and specific cities
- future climate predictions using several models

No need to setup anything, just upload to your Plugins directory and update menu.php.

DEMO: http://www.meteotemplate.com/template/plugins/climateFR/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 02, 2016, 09:47:58 AM
Jáchym has been helping me with this, but I thought I would ask the community...

How do you embed a video in a block?  I have been trying a regular text block with a link to the video with the associated html.

<!DOCTYPE html><html><body>
<video width="720" height="480" controls>
<source src="http://www.bobhatcherweather.com/wp-content/uploads/iptimelapse/intraday_033hr.mp4" type="video/mp4">
</video></body></html>

Thanks,

Bob
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on November 02, 2016, 09:57:25 AM
Bob,
I've attached webcamvidBlock.txt which is how I do it. Just change the name to webcamvidBlock.php
That php file is in a folder called webcamvid.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 02, 2016, 10:09:09 AM
Jáchym has been helping me with this, but I thought I would ask the community...

How do you embed a video in a block?  I have been trying a regular text block with a link to the video with the associated html.

<!DOCTYPE html><html><body>
<video width="720" height="480" controls>
<source src="http://www.bobhatcherweather.com/wp-content/uploads/iptimelapse/intraday_033hr.mp4" type="video/mp4">
</video></body></html>

Thanks,

Bob

Hi Bob,
just replied to your email, I sent you a file yesterday, which I have tested on my server and worked, so if it does not on your server I suspect it is a problem with that rather than the code itself, which works perfectly fine on my side.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 02, 2016, 10:14:37 AM
This is exactly the same file I sent you uploaded as a block
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 02, 2016, 10:43:47 AM
Yes, all set now.  It works great!

Thanks,

Bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 02, 2016, 10:49:50 AM
Great Bob, let me know whenever you have some problems.


Also, I updated two other blocks:

Block update - Sweden Current Conditions 2.0

I have updated the block for Sweden current conditions. The block originally used HTML scraping and the SHMI page has been completely redesigned, so the previous version of this block no longer works.

I now changed the code completely so it no longer uses HTML scraping and instead uses the JSON files, which load much faster and are much safer to use. I also redesigned the table so that all parameters are nicely in one table instead of having a separate table for each parameter (temperature, humidity, precipitation, pressure, wind speed).

Block Update - Clock 2.2

Just a minor update of the Clock block, which includes CSS optimization. The previous version caused some inconsistent margins on the homepage. It should now be fixed.
Title: Meteotemplate - Block Update - News Feed 2.0
Post by: Jáchym on November 03, 2016, 09:21:50 AM
Block Update - News Feed 2.0

Hi guys,

I updated the News Feed block. The block is now completely redesigned in the backend.

Changes:

- changed sliding function script
- more setting possibilities
- prevent up/down movement of block
- use default admin login, no admin password necessary
- fixed icons for light theme

Adding/deleting items no longer requires your admin password, I completely forgot about updating this previously, it now lets you do this whenever you are logged in as an admin. Also, the block no longer "jumps up and down" depending on the item length, you can set a fixed height for the block based on how long your items are. You can also use HTML tags in the text.

If you are updating this block, your items themselves will not be lost, but you need to go through the block setting to udpate the settings file as well.

Enjoy
Title: Meteotemplate - New Plugin - Geography
Post by: Jáchym on November 03, 2016, 09:53:10 AM
New Plugin - Geography

Hi guys,

recently I needed to perform some calculations with geographical coordinates at work and to make my life easier I created a script for it. I then thought even though this is not directly related to weather, it could be interesting for some, so I extended the script and made it as a plugin for Meteotemplate.

Main features:
- coordinate conversion (decimals to degrees/minutes/seconds and vice versa)
- calculating distances between two points (by dragging a marker or specifying the coordinate directly)
- finding the antipode (the point at the very opposite side of the Earth)
- finding shortest path between two points and visualization of it
- finding initial and final bearing between two points
- auto-insert any world capital coordinates
- calculation of distance and bearing from station to any given point
- fully localized
- available in both km and mi

You might be actually surprised by the shortest path script, it just shows how misleading maps can be, if you play around with it you will surely think some of it must be wrong (I did too :D), but just take out a globe and check yourself :-)

No need to setup, just upload and update menu.php.

DEMO: http://www.meteotemplate.com/template/plugins/geography/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 03, 2016, 10:48:09 AM
Very nice.  I can't figure out the bottom one.  The pins seem to be locked.  I can move the A pin but it moves the B pin in lockstep.

re: Modify menu.php, are there instructions on how to do this?  I looked at it and there are a lot of lines of code in there.

Bob

Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 03, 2016, 11:03:34 AM


re: Modify menu.php, are there instructions on how to do this?  I looked at it and there are a lot of lines of code in there.

Bob

Yo can download the latest menu.php over here http://www.meteotemplate.com/web/downloadRequest.php?file=menu
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 03, 2016, 11:25:28 AM
Hi Bob,

the last map works like this:

You can move around with point A. Then you set the bearing and the distance and B is the result of that, i.e. where you would get from A to B given that distance and bearing. So B is calculated and therefore cannot be moved on the map.

With menu, please see the Menu section in the wiki, it explains how the menu works. You don´t need to do anything in the code.
Title: Re: Meteotemplate - New Plugin - Geography
Post by: weatherc on November 03, 2016, 12:02:20 PM

You might be actually surprised by the shortest path script, it just shows how misleading maps can be, if you play around with it you will surely think some of it must be wrong (I did too :D), but just take out a globe and check yourself :-)


Cool plugin (even if i don't use the template myself). :)
If ask me are theese webmaps with a quadratic formed flat globe just a piece of junk just because ex north/south part are waaaaaay mis-sized...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 03, 2016, 12:19:51 PM
You can obviously use various projections, this one is I think the most commonly used one referred to as metractor, it is the one used by Google maps and what it does is it makes the Earth map into a regular rectangle, obviously especially parts of the world close to the poles are totally mis-sized. But the problem is that you will never solve this. If you use the right area, which is a different projection, you would have the angles incorrect, there is no perfect projection of a sphere onto a flat surface (ok, there are ones that are very close, but they look really weird and are hard for people to work with and imagine).

This is exactly one of the reasons why I developed this, this is the map people are most used to because it is the one used in most media, used by Google Maps etc. And if you look for example at the shortest distance from eastern Brazil to Japan or Indonesia, you will be very surprised by the path and think it is nonsense until you take out a globe and try it yourself :-)

One other interesting example would be this:
compare the size of Greenland and Madagascar on a map and on the globe... Madagascar being close to the equator is relatively accurate. Greenland is acutally not much larger than Madagascar, but look at the map :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 03, 2016, 12:21:53 PM
OK here we go....

the path is the shortest path between the two points.

Then I highlighted Greenland and Madagascar, which in reality are not that much different :)
Title: Re: Meteotemplate - new free website template
Post by: weatherc on November 03, 2016, 12:43:46 PM
Yes, there are other projections but then need the maptiles (the images) be in that projection too ;)
Greenland-Madagaskar are a great example. Or look at Svalbard (east of Greenland) how big it is on mercator maps.

Re the distance..Thats why all Europe-Asia flights come over here if look at Flightradar ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 03, 2016, 12:55:07 PM
Yeah I know :D Also when you fly for example from the Czech Republic to the West coast of the U.S., you fly above Greenland and other places very far north
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 03, 2016, 11:16:39 PM
All the updates and new items look and work great!  Thanks Jachym.  Now to start the process of moving my website over to 1&1.  Have to sign up first...  lol
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 04, 2016, 04:31:20 AM
Hi guys,
i'm doing my new site with this template.
I've already finished all setup form but i've a problem with administration access.
Site: http://newsite.meteocarmignano.it/


I've red wiki guide but i haven't seen this part.
Sorry in advance.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2016, 07:53:43 AM
Hi Alessandro,
there is some error, but unfortunately your server does not show that error so I have no clue where the problem is.

Two things to do:
1. try in your Main settings turning on the "Debug mode" at the very bottom, then look again on your homepage and post here the errors or let me know and I will look myself.

If this does not help then you would have to look in your error log where the error would be specified in detail
Title: Meteotemplate - New Block - Snow U.S.
Post by: Jáchym on November 04, 2016, 08:15:04 AM
New Block - Snow U.S.

Hi guys,

I thought it would be nice to make something current so I developed a snow block for the United States. This block shows the Top 10 locations in the U.S. in terms of snowfall amount. Data is displayed in both metric and English units and cached. In addition to the station name you will also see the elevation.

No need to set up, just upload to your Blocks folder and add to your homepage.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=snowUS

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 04, 2016, 08:22:56 PM
Hi,
thanks for your answer.
Here is the error: PHP Parse error:  syntax error, unexpected ';' in /home/byoryrxn/newsite/config.php on line 182

I've just corrected that line like this ''; insteas of ;

Now i've a black page but i don't manage to entry on setup page.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 04, 2016, 08:39:06 PM
Hi,
where did you correct this? I just dont understand how this could happen, the config.php is created automatically and line 182 looks like this:

$maxWidthMobile = 1200;

There should be no quotes.

What exactly did you do? Did you make any changes to config.php?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 05, 2016, 03:49:26 AM
Ok, thank you so much, i'm online now.
I would install wxsim forecast on my site....is there a guide for this and other to avoid every post on this forum? :D
Thank you so much.
Regards,



Alessandro

Edit:

I've just seen your plugin, fantastic work.
Is there a possibility to have in th future a plugin about climate in Italy?
What do you need to make this plugin?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 07:18:22 AM
Hi
I need the data in a usable format,  so machine readable,  like XML,  json or csv and it must be possible to use in terms of the license
Title: Re: Meteotemplate - new free website template
Post by: Paul on November 05, 2016, 07:31:57 AM
I need to revisit the topic of inserting missing data.

My host migrated me to a new server to take advantage of PHP 5.4+ but unfortunately it didn't go smoothly and I am missing over 2 days of data from my MT DB spread over 3 days.
But on the plus side I am enjoying the goodness of Avocado (in MT terms, in real life they are slimy and horrible  ;) )

I have the data in 1 minute intervals but need to have it in 5 minute intervals to insert ideally.
I'm sure last time this happened I worked out some formulas in Excel to do this but I can't find them.

WU is an option as they have the data. However the WU import is for full days, I suppose I could delete rows from the DB so that I can import 3 full days but this is not ideal.
WU conveniently has the data in 5 minutes intervals and enables you to download it in a CSV format from your PWS page... almost perfect. Except I cannot get the import to work.

The MT import does not like the resulting file and will not parse it.
An example of the output is http://www.paulrickwood.co.uk/29102016.txt (http://www.paulrickwood.co.uk/29102016.txt)

If I click on the 'Show Field Numbers' of the import page I get:
Code: [Select]
Loading file...

Loading CSV/text file from http://www.paulrickwood.co.uk/29102016.txt

File loaded successfully.
Header row in the file, skipping first line, using for field labels.


Starting to parse data....

Loaded data:
Field Field Number Value (first data set)
0

I have tried various things such as removing the trailing comma and space on each line, removing space from date time fields, with and without header row etc but still no joy.

Any ideas?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 09:00:58 AM
Hi Paul,
basically you have several options.

1. import data with 1-minute intervals and use the reformatting script
2. use the import from WU and select skip existing or overwrite, it will not create duplicates

However, there is one more option and that is the one I would highly recommend. That script you are trying to use to import the data is awful... I know about it, it has several bugs, it gives no info about why stuff does not work etc.... And that is exactly why I spent days rewriting these importing scripts and they are now all part of version 10.

It is most likely that one of the bugs in those scripts prevents you from importing the data, the new import scripts are several fold more reliable and tell you exactly what is going on and allow you to import data from file with any format or WU. Not to mention the other benefits of using the latest version, it has several new pages and features for the template and also remember that unless you update you wont be able to install any future updates of blocks, plugins etc, when I release a new block/plugin I always can only guarantee functionality in the latest version.
Title: Re: Meteotemplate - new free website template
Post by: Paul on November 05, 2016, 09:37:31 AM
Thanks Jachym.

Sorry when I said Avocado I actually meant Banana, i.e 10.0

So I think I am using the new import.php which when you select file type uses importFile.php

It is this that is causing the non-parsing that I described.

Doesn't the WU import use the date/time for checking if a record exists? What if the WU records are misaligned with my DB, i.e
WU: 12:01, 12:06, 12:11 etc
DB: 12:03, 12:08, 12:13 etc

Would you then not get:

12:01, 12:03, 12:06, 12:08, 12:11, 12:13 etc? as the timestamps dont match?

You mention reformat but I don't think you have secretly added a date range filter on this to selectively reformat.
Wouldn't reformatting on an already reformatted data set average a set of five 5 minute intervals?

Thanks.

Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 05, 2016, 09:46:27 AM
re: The new Snow block, a comment and a question.

Comment: Could you make the title a little more descriptive?  "Top 10" isn't descriptive enough.  Could you make it "Top 10 Snows Depths in the USA"?

Question: How does it distinguish between two reporting stations that are near enough to basically be the same report?  Many of the reporting stations in Colorado, the Sierra, and Alaska are very close and it wouldn't be effective if we had ten stations all within a 50-mile radius.

Thanks,

bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 09:47:04 AM
Hi,
yes the reformat script will reformat the entire db, but if some part of it is already in 5-minute intervals it should ignore it and only apply the reformatting where necessary. It should also create a backup of the original, just in case the reformat fails.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 09:50:39 AM
re: The new Snow block, a comment and a question.

Comment: Could you make the title a little more descriptive?  "Top 10" isn't descriptive enough.  Could you make it "Top 10 Snows Depths in the USA"?

Question: How does it distinguish between two reporting stations that are near enough to basically be the same report?  Many of the reporting stations in Colorado, the Sierra, and Alaska are very close and it wouldn't be effective if we had ten stations all within a 50-mile radius.

Thanks,

bob

Hi Bob,
you can change the title direclty in the block HTML, it is in the snowUSBlock.php file.

Now with regards to how this distinguishes it - my answer to that is unfortunately "I dont really know". This data is taken directly from NOAA, this is what they give as "Top 10 locations with most snowfall".

See: http://www.nohrsc.noaa.gov/nsa/ (at the bottom)
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 05, 2016, 10:02:55 AM
Sorry, I should have known that it was configurable.  I'll look at the NOAA site and try to figure it out.  When I do I will let the forum know.

Bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 10:24:46 AM
Thanks Bob,

I looked at the numbers and I get where they come from, but I didnt really think about what stations are taken into account, it is also true that obviously I do not know the U.S. that well and I don´t know which stations are included, where they are located etc. This will always be a limitation because I try to develop blocks even for countries that I have never been to :D
Title: Re: Meteotemplate - new free website template
Post by: Paul on November 05, 2016, 10:40:27 AM
Not sure what I did before but it all works fine if I just copy/paste from WU PWS download webpage into a new text file.
Maybe before when I was using Excel and Notepad++ it didn't like the file I was saving... not sure.

Anyway your import script is great, good work.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 10:48:58 AM
Great :-) Im glad it worked

It could of course also be some temporary problem with WU (which happens quite often unfortunately)
Title: Meteotemplate - New Block - Forecast - Australia
Post by: Jáchym on November 05, 2016, 12:08:55 PM
New Block - Forecast Australia

Hi guys,

I created a new block, this time for users in Australia. First you select the territory you want to use and your default city.

The block then shows you long-term forecast for all the cites in that territory. The data is updated every 6 hours, it might take sligthly longer the first time you load this before it loads all the data and caches it, then it loads instantly.

The block works nicely in both wide and narrow configuration.

Demo Wide: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastAU
Demo Narrow: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=forecastAU

Enjoy
Title: Having trouble connecting to database
Post by: Andy G on November 05, 2016, 12:11:16 PM
Hi

While using this setup page /template/install/setup.php i cannot seem to connect to my database. I get this error.

Error: Unable to connect to MySQL.
Debugging error number: 1045
Debugging error: Access denied for user 'spweather'@'ip-107-180-57-111.ip.secureserver.net' (using password: YES)

I have tried setting up different databases with different user name with no luck. Any help to complete this step in the setup would be appreciated.

Thanks Andy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 12:24:50 PM
Hi Andy,
this cannot be setup using the template, setting up MySQL can only be done via your control panel of your webhosting. The most likely cause of this error is that you created a db, you created a user, but you did not assign that user to this database, in other words you did not give this user permissions to access this database. This has to be done in your hosting cPanel.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 05, 2016, 12:51:13 PM
Hi Jachim,
i've installed forecast block with wxsim forecast.
Do you know why it shows mm of rain negative?

Why does it show cloudy icon with amount of rain?
It should show rain icon.
Site: http://newsite.meteocarmignano.it

Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 12:57:47 PM
Send me a link to the CSV file that it uses
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 05, 2016, 03:30:14 PM
I like the stickers on your signature block here and have downloaded the plugin and got it to work. How do you put it into your profile here?  When I paste in the url into my signature block all I get is the url and not the image.  What am I doing wrong?
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 05, 2016, 04:17:03 PM
Don't you have to enclose the url in a statement like

<img src="url">
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 05, 2016, 04:25:02 PM
Hi Jachym,
i'm here again  :grin:

I don't manage to show any map....f.e. my position block.
Any ideas?
Http://newsite.meteocarmignano.it

Thanks in avance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 05, 2016, 04:51:38 PM
I like the stickers on your signature block here and have downloaded the plugin and got it to work. How do you put it into your profile here?  When I paste in the url into my signature block all I get is the url and not the image.  What am I doing wrong?

Try this Bob,

Code: [Select]
[url=http://data.bobhatcherweather.com][img]http://data.bobhatcherweather.com/plugins/stickers/sticker800_170.php?&text=Bob%20Hatcher%20Weather&color1=grey&color2=dark_red[/img][/url]
Jack
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 05:19:37 PM
Thanks Jack,

yes, you need the use the so-called BB code, which is the code used in forum posts. My signature looks like this:

Code: [Select]
[center]
[img width=800]http://www.meteotemplate.com/template/plugins/stickers/stickerInteractive.php?bg=1&color=black&image=ba&shadow=1&border=2&bgColor=000&text=Meteotemplate%20%20%20Brno,%20Czech%20Republic[/img]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 05:20:38 PM
Hi Jachym,
i'm here again  :grin:

I don't manage to show any map....f.e. my position block.
Any ideas?
Http://newsite.meteocarmignano.it

Thanks in avance,


Alessandro

Your server hides the errors, go to your main settings and at the bottom enable "debug mode" and then let me know, we should then see what the error is.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 05, 2016, 06:20:28 PM
 :shock: :shock: :shock: :shock:

A lot of errors:
http://newsite.meteocarmignano.it/indexDesktop.php


Edit:
Screenshot attached.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 07:18:12 PM
Hi,
none of that is an error, these are all "Notices", this is not what causes your site not to work.

If you do not see a map it is 99.9% an error with your Google maps api key. Did you create one? And did you set the referrer?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 07:22:59 PM
LOL, this is funny :D I came home from work earlier today around 7PM. I thought I will work on a new plugin Im preparing :D I opened my email and started answering the emails I got. As I was replying I always received at least one new :D It is now 0.20AM and I still didnt finish :D 84 emails in 4 hours from 18 different users :D

However, this is by no means to say you should "leave me alone" - it is quite the opposite, feel free to contact me, I prioritize support over development, so you will ALWAYS get a reply from me within 24 hours (usually much faster) and Im sure we will find a solution (just like we did in all cases today).

Just that release of new stuff might take longer :-) It is really amazing to see people building their unique websites all around the world, adding 2-3 new users every day and having the template in 22 languages (and new ones coming soon). I am just in touch with a guy from Japan who might do a Japanese localization, though I will probably need to make some changes in the scripts because of the different alphabet.

Also thanks everyone for your constant support, thats what motivates me to spend all (almost) my free time working on this :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 05, 2016, 09:25:30 PM
LOL, this is funny :D I came home from work earlier today around 7PM. I thought I will work on a new plugin Im preparing :D I opened my email and started answering the emails I got. As I was replying I always received at least one new :D It is now 0.20AM and I still didnt finish :D 84 emails in 4 hours from 18 different users :D

However, this is by no means to say you should "leave me alone" - it is quite the opposite, feel free to contact me, I prioritize support over development, so you will ALWAYS get a reply from me within 24 hours (usually much faster) and Im sure we will find a solution (just like we did in all cases today).

Just that release of new stuff might take longer :-) It is really amazing to see people building their unique websites all around the world, adding 2-3 new users every day and having the template in 22 languages (and new ones coming soon). I am just in touch with a guy from Japan who might do a Japanese localization, though I will probably need to make some changes in the scripts because of the different alphabet.

Also thanks everyone for your constant support, thats what motivates me to spend all (almost) my free time working on this :)

😁😁😁😁😁😁😁😁😁😁😁
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 09:34:07 PM
LOL, It was not a joke, check the screenshot times just since 10PM, but as I said, Im in fact glad people ask because it is better than staying quiet and having something non-functional
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 05, 2016, 09:50:11 PM
LOL, It was not a joke, check the screenshot times just since 10PM, but as I said, Im in fact glad people ask because it is better than staying quiet and having something non-functional

I believed you..  I am just impressed how you keep it all together and keep sane!

😬
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 05, 2016, 09:59:14 PM
It's fun and nice way of relaxing after work, just learn to sleep quickly like me and you will find it easy :-)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 06, 2016, 05:43:21 AM
Morning Jachym,
i hope you've  slept well  :grin: :grin:

I've tried to modify menu.php....i believed to have done all correctly but i'm wronged :(
i've attached menu.php so you can check it better.

I would  insert new menu tab called "Forecast" and put in it a link to my new custom page called wxsim (in custom folder).
What's wrong?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 08:42:34 AM
Hi Alessandro,
on line 132:

Code: [Select]
<a href="#/" data-subnav="weatherStation-subnav" class="digimeg-nav-item">
You need to change it to

Code: [Select]
<a href="#/" data-subnav="forecast-subnav" class="digimeg-nav-item">
Just keep in mind that this means you will always have to edit the menu yourself when I add a new plugin etc. Because if you download the updated menu, your new tab would be deleted.


Also, if I can give you a suggestion, don't use iframes, iframes are by far the worst thing one can do, it often causes many problems, does not scale right etc etc., not to mention issues with licenses.
Title: Meteotemplate - Plugin Update - Weather Terminology 3.0 (English)
Post by: Jáchym on November 06, 2016, 09:03:43 AM
Plugin Update - Weather Terminology 3.0
Hi guys,

I updated the Weather Terminology plugin (English version). There is now over 20 times more words than in version 2. Big thanks goes to Bam for helping me out.

DEMO: http://www.meteotemplate.com/template/plugins/weatherTerminology/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 06, 2016, 09:46:20 AM
Hi Alessandro,
on line 132:

Code: [Select]
<a href="#/" data-subnav="weatherStation-subnav" class="digimeg-nav-item">
You need to change it to

Code: [Select]
<a href="#/" data-subnav="forecast-subnav" class="digimeg-nav-item">
Just keep in mind that this means you will always have to edit the menu yourself when I add a new plugin etc. Because if you download the updated menu, your new tab would be deleted.


Also, if I can give you a suggestion, don't use iframes, iframes are by far the worst thing one can do, it often causes many problems, does not scale right etc etc., not to mention issues with licenses.

Thanks Jachym,
it works now.

You're right about iframe but it's the only way to have Wxsim and Blitzprtung script on your template ;)
Thank you so much!
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 10:25:24 AM
There is a plugin for WxSim as well as block for Blitzortung but whatever :D
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 06, 2016, 10:58:15 AM
There is a plugin for WxSim as well as block for Blitzortung but whatever :D

Blitzortung block hasn't zoomable map....My page has a zoomable map  :-)

About Wxsim.
I have a translation file about all text part of wxsim block.
How can i do to use it on your script?
Please let me know because it's very important for me.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 11:30:49 AM
WxSim is not translatable in my template simply because there is no documentation for this software and I do not have it myself and cant install it. Not to mention the fact that even the output log files are inconsistent, contain several bugs and I am actually quite surprised that what I made works at least partially. Sorry, I really cant provide support or develop stuff for something that has bugs and that I know very little about and have very little possibilities to get to know. I did what I could and I dont really want to spend too much extra time with it.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 06, 2016, 11:36:26 AM
WxSim is not translatable in my template simply because there is no documentation for this software and I do not have it myself and cant install it. Not to mention the fact that even the output log files are inconsistent, contain several bugs and I am actually quite surprised that what I made works at least partially. Sorry, I really cant provide support or develop stuff for something that has bugs and that I know very little about and have very little possibilities to get to know. I did what I could and I dont really want to spend to much extra time with it.

The plugin actually works very well, the detailed portion of the page looks great too!

Jack
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 11:38:41 AM
LOL, thanks Jack, well thats good news, and I consider that to be almost a miracle given all I have ever seen was several log files, which all used differnet decimal separators and formats and contained bugs (eg. 23h of the day already shows the date of next day etc.). I have never even seen the software myself and as I mentioned in my previous post, since I don't have it and have no way of at least reading in detail about how it works and what language strings it uses, there is not much I can do.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 11:48:36 AM
Based on an email I just got, to clarify why I cannot even install it:
1. it is not free
2. as far as I know there is no Linux version
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 06, 2016, 12:04:44 PM
I think I am all up to date again with blocks and plugins and all seem fine.  But note I don't have wxsim http://www.wxsim.com/  :(

Paul
Title: Meteotemplate - New Block - Radar Japan
Post by: Jáchym on November 06, 2016, 04:10:17 PM
New Block - Radar Japan

Hi guys,

a new block is now available. It shows a zoomable national and regional radar images for the area of Japan. Thanks to Kenji for helping me out.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarJP

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 06, 2016, 07:05:59 PM
So - finally sitting down for a little while on this Sunday evening and just realized what i love to do...  I love looking at the User List grow...  I also love to visit the various sites and seeing all the different variations and ways everyone has added their "little touch" to such a phenomenal template.  A big "hats off" to Jachym and the rest of this community as it grows each and every day!

Jeff

PS.  Also finding some interesting sites - some weird things...  Hopefully everyone will take a moment to recognize all that Jachym does and even though these are your sites, this is his template.  Respect that.  Also respect his requests.  (That was my 2 cents and not anyone else).
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 07:46:41 PM
Hi Jeff,
first of all thanks, Im glad you like it and yes it is interesting to look at other peoples' sites (although I have to admit I now dont have as much time I used to before when there was only a dozen of users and I knew their sites very well :D

Im just not sure I understand what you meant by this:

Quote
some weird things... 

and

Quote
Also respect his requests.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 06, 2016, 07:54:49 PM
Hi Jeff,
first of all thanks, Im glad you like it and yes it is interesting to look at other peoples' sites (although I have to admit I now dont have as much time I used to before when there was only a dozen of users and I knew their sites very well :D

Im just not sure I understand what you meant by this:

Quote
some weird things... 

and

Quote
Also respect his requests.

There are some weird website designs and some that don't work.  Also some users with advertising going on and others that have "Copyrighted" their "Meteotemplate" and some misleading verbiage.  But I'm not the political police  :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 08:17:19 PM
Ads - thats their problem, they are using a product for free, which is for free only for non-commercial products and so they have to understand they might get into problems

Copyright - total disrespect and I would probably ask that person to not use my site. I dont ask for much, I basically dont ask for anything other than at least giving credits and also spreading the word (remember that more users basically only mean more work for me, I dont have any direct benefit from it), so if someone is not ok with this (which is strange given this is specifically mentioned in the license) then they should not use it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 06, 2016, 08:38:52 PM
I guess I should check the user links, you are right some of them are dead, but in fact I was positively surprised because I only tried the first few and in several cases the original link didnt work, but that was because it was using a subdomain and when I tried the domain directly it worked so those people obviously replaced their main site with Meteotemplate :)
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 07, 2016, 08:30:13 AM
For the History block, is there a way to make the default state open rather than closed and to pick, say Temperature as the default?

Bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 09:00:27 AM
I will have a look
Title: Meteotemplate - New Plugin - Snow - U.S.
Post by: Jáchym on November 07, 2016, 09:54:51 AM
New Plugin - Snow U.S.

Hi guys,

it already is or soon will be winter-time in the U.S. so I thought in addition to the block I could also make a plugin that will show you a bit more.

This plugin shows snowfall and snow depth data for stations in the U.S. You can filter the results by date, station elevation, state and the actual value. Data is visualized on a map as well as in a sortable table. You can also choose grouping -  daily value, monthly min/max/avg and total. Data is available since Jan 2016 in daily steps.

The values are available in both metric and English units.

DEMO: http://www.meteotemplate.com/template/plugins/snowUSStations/index.php

No setup required

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 11:08:42 AM
Block update - History 2.0

Added possibility to set if you want the block to auto-expand on load.
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 07, 2016, 12:16:58 PM
Thanks for updating the History block, it works well.

Bob
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on November 07, 2016, 12:44:33 PM
Colin,
I'm running the latest install.  As a matter of fact, after getting 4.1 up and running I've been afraid to touch it until now.

I had the same trepidation about Google, especially google mail and all the spying that they do, even admit to. 

This API seems to be strongly related to maps, and is used by other applications, including the one that the lightning site uses, I think.  It seems to be a necessary evil and despite Jachym doing a good job of leading one through the process, it was a bit irritating on Google's part to do that. 

I had asked Jachym at one time as he was having to do the API from google for maps if there was a way to make the program work without having to register and he said it was strongly interlinked and needed to be there.  Otherwise, as accommodating as he is, I'm sure he would have done it.  Having maps is vital, having ones that scale and are reliable is so rare that I think Google is the only one who can pull it off.

Nonetheless, I had looked through the previous setups, and the one I just downloaded was 10.0, Banana, and it is so much smoother than the previous ones.  Is there a reason you went with 8?

I did a clean install, not wanting to goof up my 4.1 which was working.  It literally took me 5 minutes to install, run through the config aspect after having copied down my Google maps number and the URL and access to my MySQL data base and after that it was all afternoon playing with various blocks and plug ins.  I, for one, will never go back to manually fiddling with each of the block's setup.  It's all done from one page and it even does the upload of all the needed revised files for me.

And the administration page which checks to see if there are block updates and allows you to see at a glance really is nice.

Give it a shot.  I was worried about installing the updated version and losing my nice paths to the index.php to start it, but that's all taken care of in one change in a file.  He's really thought through this implementation.

I have far more fun trying screen arrangements and sizing and all to tweak the site rather than to track down where an errant "/" crept in and goofed things up.

It now is so easy to do a clean install that other than minor block updates or additions, I think I'm going to do any future (if there are some) upgrades that way rather than trying to leapfrog one on the top of another.

Dale
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 01:14:21 PM
Thanks Dale,

also - you might have noticed I do actually try using free alternatives - great example of this is the just released plugin Snow U.S. - uses the Leaflet maps instead of Google. It loads much faster, no API etc.

But... this is not possible to use in all cases, like it or not, Google offers by far the best and most sophisticated maps.... I will try using Leaflet as much as possible, but I doubt I will ever be able to do without Google. One main reason for that is the geocoding feature, Google allows you to geocode position, Leaflet not. But several plugins already use leaflet and I might change some blocks and plugins that currently use the maps. However that still does not solve the problem because even just one Google map means you do need the api key.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 01:37:09 PM
One more thing... I really think that this is slightly paranoid, do you really think they are going to analyze all the data they have? OK you could argue "they could", but there is no way you can stay completely anonymous on the internet these days.
Plus... you can simply create a fake account, dont even use your name and use it only to get the key, no-one is saying you then have to use the Google account for mail etc. In such case I really see absolutely no reason to worry, you have a fake account only to get the key, no other purpose.
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on November 07, 2016, 01:40:24 PM
There is something about billions of dollars and top of the line programmers that Google has in their pocket that makes any free and no strings attached type of things work at least a wee bit better than does some of the completely free stuff.

And one thing, other than the Google Analytics that you made work with this software, if you have to use Google for some aspect of the program, there is no sense in using something else, like Leaflet, unless it does work better, such as faster, less traffic on the internet or load on the servers, etc.  then split it up.

I think Google's longevity is worth keeping in mind, and their available map resource is probably better than USGS even.

But it all works, and I'm off to try the plug in you mentioned just to see how things fare.
Dale
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 01:47:02 PM
Leaflet probably is limited in the number of features, but... if you can use it (like in the Snow plugin), i.e. you dont need the extra features, it runs faster - sort of makes sense - less code, faster loading time... and so it was advantageous to use.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 01:58:57 PM
For the History block, is there a way to make the default state open rather than closed and to pick, say Temperature as the default?

Bob

Bob can you check your pressure? Something is wrong, it shows 0
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 07, 2016, 02:14:50 PM
Yes, it does, my Ambient Weather WS2080 base station has read 29.92 (or, 0) for a long time.  I don't know what's wrong with it.  I've reset it and it still doesn't work.

Bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 02:27:15 PM
OK, so it is a problem with the station right? Just making sure there is not some problem with your template settings
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 07, 2016, 03:15:34 PM
Yes, problem with the station.  I have two and just swapped them out.
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 07, 2016, 04:04:45 PM
Regarding my pressure showing 0.00, I just looked at the alldata and there is one "P" column and it is NULL.  I don't know whether that is for Precip or Pressure.    If it's precip then there is no column for Pressure.

Realtime.txt looks like this:

7/11/16 15:59:12 44.2 82 39.1 4.7 6.9 315 0.00 0.00 29.97 NW 2 mph F in in 18.2 -0.01 55.09 79.92 0.00 51.6 55 41.6 -2.7 60.1 14:18 23.9 06:08 4.7 14:28 7.6 11:56 29.99 00:00 29.97 14:28 1.9.4 1085 6.9 44.2 44.2 0 0.000 0 314 0.00 -26 0 0 NW 1168 ft 39.2 0.0 0 0



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 05:07:58 PM
Hi Bob,
"P" is pressure, precipitation is "R". This means you probably have your limits set incorrectly, can you please check your Main settings? Make sure you changed the default pressure limits, it is actually emphasized in the text, the default pressure units in the template are hPa, so the default limits only accept values between 960 and 1040.
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 07, 2016, 05:19:32 PM
Since I am using inHG I changed the limits to 27.0 to 33.0.  Let's see if that does the trick.  My WS2080 is still showing 29.28 though and other stations in the area are showing 30.34 so I think there is something wrong with the base station.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 05:20:02 PM
Note:
Just to let you know, the world tides block/plugin currently non-functional most likely due to changes in the source page.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 05:21:04 PM
Since I am using inHG I changed the limits to 27.0 to 33.0.  Let's see if that does the trick.  My WS2080 is still showing 29.28 though and other stations in the area are showing 30.34 so I think there is something wrong with the base station.

If your limits were previously set to 960 to 1040 then that is 100% the reason why you see no data in the database, the script simply wont accept anything outside this interval, it is to prevent nonsense values and spikes in the database.
Title: Meteotemplate - Tides block/plugin fixed
Post by: Jáchym on November 07, 2016, 05:46:31 PM
Block/plugin updates - Tides 1.1

Both the block and the plugin are now working again. Before updating please make sure you read the instructions what to do in the blog.

http://meteotemplate.com/blog/?p=1353
http://meteotemplate.com/blog/?p=1356

Enjoy
Title: Re: Meteotemplate - Tides block/plugin fixed
Post by: BfdWx on November 07, 2016, 06:08:29 PM
Block/plugin updates - Tides 1.1

Both the block and the plugin are now working again. Before updating please make sure you read the instructions what to do in the blog.

http://meteotemplate.com/blog/?p=1353
http://meteotemplate.com/blog/?p=1356

Enjoy

Does the script update the cache at a certain time? I installed it and changed the address but still have no data.

The plugin does work though

Thx
Title: Re: Meteotemplate - Tides block/plugin fixed
Post by: Jáchym on November 07, 2016, 06:21:45 PM
Block/plugin updates - Tides 1.1

Both the block and the plugin are now working again. Before updating please make sure you read the instructions what to do in the blog.

http://meteotemplate.com/blog/?p=1353
http://meteotemplate.com/blog/?p=1356

Enjoy

Does the script update the cache at a certain time? I installed it and changed the address but still have no data.

The plugin does work though

Thx

Yes, it will eventually delete the cache file, I think the interval is 24h, simply delete the cache file from the block folder and it will refresh it
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 07, 2016, 06:29:46 PM
Ok, I'll wait, my cache is empty though.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 07, 2016, 06:34:18 PM
Ok, I'll wait, my cache is empty though.

Yes :D Thats the problem, it is empty :D You need to delete that file, completely delete the cache file, not its content, it is trying to load the content from the cache file (which is empty), so by deleting it you will force the script to reload it, this time with the new script and correctly ;)
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 07, 2016, 06:38:48 PM
Got it, that worked, thx as always! :grin:
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 08, 2016, 06:06:25 AM
WxSim is not translatable in my template simply because there is no documentation for this software and I do not have it myself and cant install it. Not to mention the fact that even the output log files are inconsistent, contain several bugs and I am actually quite surprised that what I made works at least partially. Sorry, I really cant provide support or develop stuff for something that has bugs and that I know very little about and have very little possibilities to get to know. I did what I could and I dont really want to spend to much extra time with it.

The plugin actually works very well, the detailed portion of the page looks great too!

Jack

Hi,
Are you referring plugin or block part?
Because on block part there are a lot of errors....like you can see on screeshot below.
1) Negative value of rain amount
2) Wind gust values is too high than normal....now it's calm but it forecasts other.

Plugin part is perfect instead with nice graphic!  :grin:

My advice is to sospend block part until there is more clarity regarding the wxsimcsv file and its parameters.
What do you think about?
Thanks anyway for your fantastic work with this template!
Best regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 07:17:25 AM
It is strange because on some websites the block works fine.

Also - I already did ask the developer about this and asked about some documentation and fixing the bugs, but I was told it has "always been like this" so nothing is going to change. I really don´t want to spend too much time with this because there is not much i can do anyway.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 08, 2016, 08:52:05 AM
It is strange because on some websites the block works fine.

Also - I already did ask the developer about this and asked about some documentation and fixing the bugs, but I was told it has "always been like this" so nothing is going to change. I really don´t want to spend too much time with this because there is not much i can do anyway.

Ok Jachym,
if block works well in other weather site you're right :)
I believed wxsim block doesn't work in every site as it should.
Thanks for your time.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on November 08, 2016, 09:38:22 AM
While I don't have every plugin or block turned on at present, the ones I tried did work fine, so it is one of those bugs that seems to affect a few.  I wonder if Paul has any problem with this, if I remember correctly he's a plugin block afficianado and had his installation running everything.  My memory is poor on some of these things, but perhaps if his is running he could comment. 
Dale
PS I share your frustration when something you want doesn't work as you hoped.  I have three computers at home and sometimes their is something weird where one will work with a program and the other one won't.  Drives me nuts.  I have found a few things like security software and ad blockers that, while I don't see how, can affect programs in some strange way.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 08, 2016, 10:16:46 AM
Jachym,
is it possible to insert a live image on webcam block?
In my case is a html link.
I've tried but without success.
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 10:20:44 AM
Hi Dale, I talked a lot about WxSim here already and also recently, the problem is that it is also very frustrating for me because on one hand I would love to help these people and make it work, but in this particular case, it is a SW that I know very little about, SW that has practically no documentation, inconsistent and buggy log files and I cannot even install it myself (license + no version for Linux). So you can imagine that it is frustrating because I have no way of getting the information I would need. I tried my best, originally I said there will be nothing for WxSIM, then I tried it, but there are still problems. I am not saying I will not try again, but right now it is not a priority, I get so many ideas and suggestions and have my own, that I will rather do these first, where I know I can get somewhere. In this case - maybe I would too, but maybe not. So over time I might try some improvements in this respect. For example I spent lot of time with v10, the new pages, GUI etc. and it is definitely more beneficial than WxSIM - also keep in mind that this is not a free software and so is not a problem just for me but also for many other users and especially here in EU it is far less popular and known, so working on the template in general, which is useful to all users is something I will always prioritize.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 10:21:37 AM
Jachym,
is it possible to insert a live image on webcam block?
In my case is a html link.
I've tried but without success.
Thanks in advance,


Alessandro

Hi,
Im not sure what you mean by "live image link". HTML is not a live image link, thats a page. But if it is an HTML page, then that page has to have the image referenced by some URL so you can simply use the URL of the image on that HTML website.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 08, 2016, 10:22:38 AM
Hi Dale,
I don't have any issue with the template blocks or plugins and I have a few ;) www.komokaweather.com/j-template (http://www.komokaweather.com/j-template) www.komokaweather.com/j-template/indexMobile.php (http://www.komokaweather.com/j-template/indexMobile.php), but then I don't have wxsim and therefore don't use this plugin nor have it in my forecast option.  There are some other sensors I don't have so don't have the block/plugin for these - i.e. soil

Paul
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 08, 2016, 10:40:05 AM
Jachym,
is it possible to insert a live image on webcam block?
In my case is a html link.
I've tried but without success.
Thanks in advance,


Alessandro

Does your webcam show a true live, real-time video feed, or does it, like most do, show a static image that's uploaded every n seconds?  Mine is the latter and shows the latest image that has been posted, see www.data.bobhatcher.com.  It pulls an image from my webcam website at www.bobhatcherweather.com, the top image.

Bob
Title: Italy - Current Conditions
Post by: Jáchym on November 08, 2016, 10:47:16 AM
New Block - Italy current conditions

Hi guys,

a new block is now available for showing current conditions (temperature, humidity, wind speed and pressure) in major Italian cities.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentIT

Enjoy
Title: Meteotemplate - Block Update - Forecast Australia 1.1
Post by: Jáchym on November 08, 2016, 06:33:02 PM
Block Update - Forecast Australia 1.1

Hi guys, just minor bug fixes.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 08, 2016, 06:37:32 PM
Jachym,
is it possible to insert a live image on webcam block?
In my case is a html link.
I've tried but without success.
Thanks in advance,


Alessandro

Does your webcam show a true live, real-time video feed, or does it, like most do, show a static image that's uploaded every n seconds?  Mine is the latter and shows the latest image that has been posted, see www.data.bobhatcher.com.  It pulls an image from my webcam website at www.bobhatcherweather.com, the top image.

Bob

Hi Bob and Jachym,
yes, i've an html link to LIVE video here: http://fiorentino.sytes.net:10000
And yes, i've a daily video that Weather display assembled every 10min.

Jachym, Italy current conditions is very nice!!  =D&gt; =D&gt;
One question.
How to change favicon?
Many thanks,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 06:52:23 PM
Just place favicon.ico somewhere in your server root (template root), the browser should automatically use it
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 08, 2016, 06:55:09 PM
Just place favicon.ico somewhere in your server root (template root), the browser should automatically use it

Thanks again :)
It seems that co2 block doesn't work anymore....please, could you check it?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 07:02:44 PM
Working fine:
http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=co2
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 08, 2016, 07:23:15 PM
Working fine:
http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=co2

Not in my site (left column)  :?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 07:25:28 PM
I cannot access your page at all, when I click the link in your profile here it shows a dead link.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 08, 2016, 07:28:08 PM
In your main settings enable Debug mode right at the bottom, then go to this site:

http://newsite.meteocarmignano.it/homepage/blocks/co2/co2Block.php

and note down the errors you see.

Then turn the debug mode off again and post the errors you saw here
Title: Re: Meteotemplate - new free website template
Post by: Colin on November 09, 2016, 12:22:06 AM
Colin,
I'm running the latest install.  As a matter of fact, after getting 4.1 up and running I've been afraid to touch it until now.

It now is so easy to do a clean install that other than minor block updates or additions, I think I'm going to do any future (if there are some) upgrades that way rather than trying to leapfrog one on the top of another.

Dale
I am glad you updated without problems. I'm sure its quite easy but I have not tried it. I am still 4.1 (sort of) I like to tinker with code and made some changes to Jachym's code, and added some of my own. I am happy the way it looks but will continue refining it so that it suits my needs.
Can you post a link to your site as the current link takes me to Mango 4.1

Title: Meteotemplate - Block Update - Australian Regional Radar 2.0
Post by: Jáchym on November 09, 2016, 05:27:43 AM
Block Update - Australian Regional Radar 2.0

Hi guys,
in the new version you can set the speed at which the radar images change.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 08:02:28 AM
Hi guys,
I noticed the CO2 block stopped working. I tried to look for the problem and I found a strange thing. When I go to the data source NOAA FTP, the file actually appears in the list, but Im unable to access it (just like the server is unable to access it so the block does not show anything).

i want to see if this could be some kind of regional block, can someone please try going to the following URL:

ftp://aftp.cmdl.noaa.gov/products/trends/co2/

And try clicking the co2_weekly_mlo.txt which is the file used for this.

Let me know if it works for you, it should be a small text file so it should load very quickly. If yes then obviously there is some regional issue. If not lets hope they fix it soon.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 09, 2016, 08:14:19 AM
Hi guys,
I noticed the CO2 block stopped working. I tried to look for the problem and I found a strange thing. When I go to the data source NOAA FTP, the file actually appears in the list, but Im unable to access it (just like the server is unable to access it so the block does not show anything).

i want to see if this could be some kind of regional block, can someone please try going to the following URL:

ftp://aftp.cmdl.noaa.gov/products/trends/co2/ (ftp://aftp.cmdl.noaa.gov/products/trends/co2/)

And try clicking the co2_weekly_mlo.txt which is the file used for this.

Let me know if it works for you, it should be a small text file so it should load very quickly. If yes then obviously there is some regional issue. If not lets hope they fix it soon.
None of the files on that page will load for me!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 08:16:59 AM
OK, well thats in a sense "good" because hopefully it will start working again soon, not much i can do until then
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 10:51:36 AM
In your main settings enable Debug mode right at the bottom, then go to this site:

http://newsite.meteocarmignano.it/homepage/blocks/co2/co2Block.php

and note down the errors you see.

Then turn the debug mode off again and post the errors you saw here

Hi Jachym,
i've these redundant errors.
Thanks in advance for your help.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 10:52:28 AM
Hi,
see my posts above.
Title: Re: Meteotemplate - new free website template
Post by: hcorrin on November 09, 2016, 11:01:23 AM
Hi
tried that link above and it asked for login info, which I take it does not normally do
I did find the main site and the data page had links on but still wanted login info

Harold
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 11:22:25 AM
Hi Harold,
no it should not ask for login, i can access it without any problems, but the links to the text files dont work
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 09, 2016, 11:40:00 AM
I can't access any of these files either.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 01:16:50 PM
Let´s wait a day or two and if they don´t fix it we can email them, I doubt this would be intentional, because the files are still there, just cannot be accessed and it is public FTP.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 09, 2016, 02:01:37 PM

For URL ftp://aftp.cmdl.noaa.gov/products/trends/co2/co2_weekly_mlo.txt I get what seems like valid data with data to 2016 10 30
Code: [Select]
USE OF NOAA ESRL DATA
#
# These data are made freely available to the public and the
# scientific community in the belief that their wide dissemination
# will lead to greater understanding and new scientific insights.
# The availability of these data does not constitute publication
# of the data.  NOAA relies on the ethics and integrity of the user to
# insure that ESRL receives fair credit for their work.  If the data
# are obtained for potential use in a publication or presentation,
# ESRL should be informed at the outset of the nature of this work. 
# If the ESRL data are essential to the work, or if an important
# result or conclusion depends on the ESRL data, co-authorship
# may be appropriate.  This should be discussed at an early stage in
# the work.  Manuscripts using the ESRL data should be sent to ESRL
# for review before they are submitted for publication so we can
# insure that the quality and limitations of the data are accurately
# represented.
#
# Contact:   Pieter Tans (303 497 6678; pieter.tans@noaa.gov)
#
# File Creation:  Wed Nov  9 05:00:41 2016
#
# RECIPROCITY
#
# Use of these data implies an agreement to reciprocate.
# Laboratories making similar measurements agree to make their
# own data available to the general public and to the scientific
# community in an equally complete and easily accessible form.
# Modelers are encouraged to make available to the community,
# upon request, their own tools used in the interpretation
# of the ESRL data, namely well documented model code, transport
# fields, and additional information necessary for other
# scientists to repeat the work and to run modified versions.
# Model availability includes collaborative support for new
# users of the models.
# --------------------------------------------------------------------


# See www.esrl.noaa.gov/gmd/ccgg/trends/ for additional details.

# NOTE: DATA FOR THE LAST SEVERAL MONTHS ARE PRELIMINARY, ARE STILL SUBJECT
# TO QUALITY CONTROL PROCEDURES.
# NOTE: The week "1 yr ago" is exactly 365 days ago, and thus does not run from
# Sunday through Saturday. 365 also ignores the possibility of a leap year.
# The week "10 yr ago" is exactly 10*365 days +3 days (for leap years) ago.

#      Start of week      CO2 molfrac           (-999.99 = no data)  increase
# (yr, mon, day, decimal)    (ppm)  #days       1 yr ago  10 yr ago  since 1800
  1974   5  19  1974.3795    333.29  7          -999.99   -999.99     50.31
  1974   5  26  1974.3986    332.94  6          -999.99   -999.99     50.06
  1974   6   2  1974.4178    332.16  5          -999.99   -999.99     49.43
  1974   6   9  1974.4370    332.16  7          -999.99   -999.99     49.63
  1974   6  16  1974.4562    332.27  7          -999.99   -999.99     49.99
  1974   6  23  1974.4753    331.71  7          -999.99   -999.99     49.73
  1974   6  30  1974.4945    331.60  7          -999.99   -999.99     49.96
  1974   7   7  1974.5137    331.40  7          -999.99   -999.99     50.16
  1974   7  14  1974.5329    330.74  7          -999.99   -999.99     49.94
  1974   7  21  1974.5521    330.78  7          -999.99   -999.99     50.47
  1974   7  28  1974.5712    329.99  7          -999.99   -999.99     50.19
  1974   8   4  1974.5904    330.00  7          -999.99   -999.99     50.74
  1974   8  11  1974.6096    329.15  7          -999.99   -999.99     50.42
  1974   8  18  1974.6288    328.93  7          -999.99   -999.99     50.72
  1974   8  25  1974.6479    328.35  7          -999.99   -999.99     50.61
  1974   9   1  1974.6671    327.97  7          -999.99   -999.99     50.64
  1974   9   8  1974.6863    327.72  7          -999.99   -999.99     50.73
  1974   9  15  1974.7055    326.89  6          -999.99   -999.99     50.14
  1974   9  22  1974.7247    326.96  7          -999.99   -999.99     50.36
  1974   9  29  1974.7438    327.22  7          -999.99   -999.99     50.68
  1974  10   6  1974.7630    326.98  7          -999.99   -999.99     50.40
  1974  10  13  1974.7822    327.08  7          -999.99   -999.99     50.38
  1974  10  20  1974.8014    327
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 02:27:22 PM
Yes Paul, the block is working again
Title: Re: Meteotemplate - new free website template
Post by: hcorrin on November 09, 2016, 03:14:35 PM
Hi
I would suspect the server access config lost the plot a reboot would have, and has sorted it.

both the block and plugin are working ok for me now
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 05:00:20 PM
It works again now  ;)

Jachym,
is it possible to change fonts of header title?
Thanks in advance.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 05:37:00 PM
Yes, it is in the Main settings, thats where you set the fonts.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 06:01:36 PM
Yes, it is in the Main settings, thats where you set the fonts.

I'm not sure but it seems that header title doesn't change.
It changes only the other part of website but not title.
Is it possible?
Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 06:09:54 PM
DId you try to save the changes? It might just not show in the preview.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 06:18:06 PM
DId you try to save the changes? It might just not show in the preview.

Yes certainly :)
It doesn't changed also in the preview ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 06:28:47 PM
Try changing both font1 and font2, then save changes, then refresh cache
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 06:40:44 PM
Try changing both font1 and font2, then save changes, then refresh cache

Done it but.....please, look the attached image.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 06:54:38 PM
You must change both fonts
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 07:01:58 PM
You must change both fonts

I've found the issue.
It seems that meteotemplate doesn't take the changes.
I change both fonts  ->push Save button.
Close the browser -> Re open browser -> go to admin page.
Fonts doesn't change :(
Any idea?
Thanks for the patience  :oops: :oops:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 09, 2016, 07:12:43 PM
Is this what you are looking for?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 09, 2016, 07:18:50 PM
Is this what you are looking for?


Damned cache!!!!
I'm still seeing the old fonts on my Chrome browser.
Sorry guys  :oops: :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 09, 2016, 07:43:47 PM
Yes a common problem,  I told you to delete browser cache  :grin:
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 10, 2016, 04:47:00 AM
Hi
Just upgraded to v10 and having a slight problem with the climate section if i select one of the continent map graphics and then select a particular country and then town it always defaults to Bowral in New South Wales is there a setting I've missed somewhere
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 05:17:49 AM
You most likely did not install the bug fixes package 10.1. Try that. There was a bug, which I fixed already.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 10, 2016, 05:23:46 AM
Hi Jachym, how can I see the text preview in Spanish in the wxSim plugin?

PD, I have the file "plaintex-parser-lang-es.txt" where I install it?

Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 05:44:48 AM
Hi,
there is no file called plain text parser in Meteotemplate, I think you are confused.
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 10, 2016, 05:57:36 AM
OK Working now, Thanks
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on November 10, 2016, 06:00:44 AM
Hello, but can you see the forecast in Spanish ??
Is there a way?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 06:29:15 AM
Hi Juan,
no WxSim only works in English.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 07:34:55 AM
Hi guys,
Im sorry about this, but my page is becoming unsuable. Unfortunately someone is trying to access the site up to 3 times a second, I denied their IP but they are still making the requests. There is absolutely nothing I can do about this since I have no idea who it is. That person downloaded the template and a few blocks this Sunday, thats all I know because I see that in my Downloads log.
Within my hosting plan I only have a limited number of slots available so the page very often times out. I have no idea what to do about this because as I said, I don´t know who it is.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 10, 2016, 07:38:46 AM
Hi guys,
Im sorry about this, but my page is becoming unsuable. Unfortunately someone is trying to access the site up to 3 times a second, I denied their IP but they are still making the requests. There is absolutely nothing I can do about this since I have no idea who it is. That person downloaded the template and a few blocks this Sunday, thats all I know because I see that in my Downloads log.
Within my hosting plan I only have a limited number of slots available so the page very often times out. I have no idea what to do about this because as I said, I don´t know who it is.

Any idea what country?  Maybe you need to start blocking access to some sort of "registration" so you can get some information on who is downloading?  What is the next tier of hosting and would it solve the issue?  Also - sorry I never emailed back.  Been extremely busy at work with some deadlines!  Have not forgotten about you though...
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 10, 2016, 07:41:48 AM
Thats awfull strange that blocking the ip adress had no effect  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 07:46:54 AM
Hi,
it is a single IP:

80.93.236.85

The problem is that yes I blocked it in htaccess, so they cannot access any page at meteotemplate.com, but they are still making the requests and the server has to deal with them (and rejects them, but it still has to deal with them).

My guess is that the person left the default URLs in their gauges and current blocks and so instead of their site it is loading my data. But what I dont understand is, for this to be the case, they would have to have their homepage opened for over 25h already without closing it and even then I dont understand the interval, why would anyone set their gauges to load 3 times a second.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 10, 2016, 07:51:32 AM
Hi,
it is a single IP:

80.93.236.85

The problem is that yes I blocked it in htaccess, so they cannot access any page at meteotemplate.com, but they are still making the requests and the server has to deal with them (and rejects them, but it still has to deal with them).

My guess is that the person left the default URLs in their gauges and current blocks and so instead of their site it is loading my data. But what I dont understand is, for this to be the case, they would have to have their homepage opened for over 25h already without closing it and even then I dont understand the interval, why would anyone set their gauges to load 3 times a second.

Anyone want to drive over there?  It's kind of far for me...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 07:51:53 AM
I asked my provider yesterday and they said it is working perfectly fine, so I wonder if maybe it is a problem just on my side and these accesses are just a coincidence.

If you can, please go to my site and just try browsing it and tell me if you encounter any significant lags (it was never lightning fast, but it should run more or less smoothly)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 10, 2016, 07:56:16 AM
I asked my provider yesterday and they said it is working perfectly fine, so I wonder if maybe it is a problem just on my side and these accesses are just a coincidence.

If you can, please go to my site and just try browsing it and tell me if you encounter any significant lags (it was never lightning fast, but it should run more or less smoothly)

Seems quite fast this morning here from the US.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 10, 2016, 07:56:31 AM
When you mentioned it the first time I could not reach your site, now it's fast as always. I have no car atm  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:04:16 AM
What about the demo though
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 10, 2016, 08:08:12 AM
ATM response is slow for the whole site , it works but not smoothly ... I think you have much load.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:10:11 AM
I really dont get this, even if they accidentaly left the default meteotemplate.com gauges url, how do you explain the interval:

2853   80.93.236.85   [10/Nov/2016:13:58:30 +0100]   -   200   www.meteotemplate.com   "GET /template/homepage/blocks/gauges/updater.php?type=db&path=URL HTTP/1.1"
3019   80.93.236.85   [10/Nov/2016:13:58:30 +0100]   -   200   www.meteotemplate.com   "GET /template/homepage/blocks/gauges/updater.php?type=db&path=URL HTTP/1.1"
2316   80.93.236.85   [10/Nov/2016:13:58:30 +0100]   -   200   www.meteotemplate.com   "GET /template/homepage/blocks/gauges/updater.php?type=db&path=URL HTTP/1.1"
4794   80.93.236.85   [10/Nov/2016:13:58:30 +0100]   -   200   www.meteotemplate.com   "GET /template/homepage/blocks/gauges/updater.php?type=db&path=URL HTTP/1.1"
2295   80.93.236.85   [10/Nov/2016:13:58:30 +0100]   -   200   www.meteotemplate.com   "GET /template/homepage/blocks/gauges/updater.php?type=db&path=URL HTTP/1.1"
2872   80.93.236.85   [10/Nov/2016:13:58:32 +0100]   -   200   www.meteotemplate.com   "GET /template/homepage/blocks/gauges/updater.php?type=db&path=URL HTTP/1.1"
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 10, 2016, 08:20:42 AM
No idea how is the default when you dont setup the block ??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:27:00 AM
They probably did set it up and saved my URL, but that still does not explain two things:
1. - they would need to have their homepage opened 24/7
2. - the interval would have to be like 0.3s

I am in touch with my provider
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on November 10, 2016, 08:45:57 AM
They probably did set it up and saved my URL, but that still does not explain two things:
1. - they would need to have their homepage opened 24/7
2. - the interval would have to be like 0.3s

I am in touch with my provider
Or if the interval is set in javascript 300  would mean not mean 300 seconds but 300  milliseconds which is 0.3 seconds.
An often made mistake when someone is adapting scripts. I have had the same problem also and had to regenerate my WU key.
Wim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:50:31 AM
Hi,
no Wim, in the setup file they specify the interval in seconds and then inside the script this number is multipled by 1000, they would have to go directly to the code and change how all this works, which I doubt they did because they probably were not even able to set it up properly from the GUI
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on November 10, 2016, 08:56:51 AM
Hi,
no Wim, in the setup file they specify the interval in seconds and then inside the script this number is multipled by 1000, they would have to go directly to the code and change how all this works, which I doubt they did because they probably were not even able to set it up properly from the GUI
](*,)  out of ideas. The ip is for a router, so no website there to check.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:57:28 AM
Really strange... my provider says it works fine for them, but I can hardly open anything. It works for a second, then not, then yes, on the demo where there are pages loaded via Ajax, only some load, second later I refresh and everything loads immediately and second later nothing. And it cannot be a problem with the scripts as such because even the blog does this and the blog is completely separate and entirely running via Word Press. Am I really the only one with these problems (which would be sort of good...)? When I try to browse the page, it works for a while but sooner or later stops. And usually it is the demo, the blog etc. The main page loads very fast, I suspect it is because it is mostly cached.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 11:34:03 AM
Well Im still being told it is only my problem, the guy at the support told me he has no problems viewing any site. I asked him to try browsing the site for a while because it sometimes works and after a few pages it just randomly stops. And what makes me think it must be a server issue is that in such situation I cannot load even like a text file that is saved there, something where there cannot be any error in a script or time out due to N/A external source.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2016, 12:06:02 PM

Hi Jachym,
I have been on your site opening various plugins, etc. and generally it works quite fast - better than my pages on this old laptop.  Occasionally it would take longer but just by few seconds.


Paul
Title: Meteotemplate - Plugin Update - User Map 3.0
Post by: Jáchym on November 10, 2016, 01:51:00 PM
Plugin Update - User Map 3.0

Hi guys,
I update the user map plugin. It now includes the globe visualization. It will ask for a Bing maps api key. Even though it works without it as well, you should get one as soon as possible and specify it in the Plugin setup.

NOTE:
I am currently experiencing some server issues, my provider says it is a problem on my side, which I doubt, so if the page does not load at all, just keep trying, but let me know, that would prove my theory it is not my problem.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Nephler on November 10, 2016, 03:01:28 PM
Hello,
I'm having some issues getting this up and running. I never seem to get the link for the Control Panel on index.php.
The following is the debug info...

Notice: Undefined offset: 2 in /home/enephler/public_html/wx/wx/indexDesktop.php on line 94

Notice: Undefined index: metar in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 280

Notice: Undefined variable: returner in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 683

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 426

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 427

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 428

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 432

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 433

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 434

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 435

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 436

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 437

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 426

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 427

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 428

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 432

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 433

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 434

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 435

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 436

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 437
New versions available for these blocks:
logo
   Keweenaw Bay Weather
   
Template unregistered

Fatal error: Call to undefined function session_status() in /home/enephler/public_html/wx/wx/menu.php on line 21
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2016, 03:11:16 PM

Hi Jachym,
I have a couple of issues:
The Tides 1.2  block shows "No Data" and that could be a source issue rather then a block issue.


The userMap 3.0 plugin will not download completely.  I have tried 4 times and each time get a userMap_3.0.zip at 0 kb, and a second userMap_3.0.zip.part which appears as a txt file at 247 kb.  When I try to close the browser from which I downloaded userMap_3.0 a message pops up that it is still downloading even after several minutes whereas usually it only takes seconds.
This could be part of your system problem.


The Tide Height 1.2 plugin and radarAURegional 2.0 and forecastAU 1.1 blocks downloaded and installed correctly.


Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2016, 04:06:13 PM

Hi Jachym,
Also getting a message at the top of my header saying:
"Data for block update could not be loaded from meteotemplate.com..." and this may be related to your system issue.  However the block and plugin versions on my webserver and on Meteotemplate seem to compare correctly (except of course for the userMap).


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 05:39:58 PM
Hello,
I'm having some issues getting this up and running. I never seem to get the link for the Control Panel on index.php.
The following is the debug info...

Notice: Undefined offset: 2 in /home/enephler/public_html/wx/wx/indexDesktop.php on line 94

Notice: Undefined index: metar in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 280

Notice: Undefined variable: returner in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 683

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 426

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 427

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 428

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 432

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 433

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 434

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 435

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 436

Notice: Undefined index: KCMX in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 437

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 426

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 427

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 428

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 432

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 433

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 434

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 435

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 436

Notice: Undefined index: AUTO in /home/enephler/public_html/wx/wx/scripts/headerMetar.php on line 437
New versions available for these blocks:
logo
   Keweenaw Bay Weather
   
Template unregistered

Fatal error: Call to undefined function session_status() in /home/enephler/public_html/wx/wx/menu.php on line 21

Hi,
what PHP version are you using?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 05:40:36 PM

Hi Jachym,
Also getting a message at the top of my header saying:
"Data for block update could not be loaded from meteotemplate.com..." and this may be related to your system issue.  However the block and plugin versions on my webserver and on Meteotemplate seem to compare correctly (except of course for the userMap).


Paul

Hi Paul,
yes most likely, something is seriously wrong. You see the versions because they were cached before
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 05:47:31 PM
Paul I tried downloading the userMap without any problems, it is a 5MB file. Right now it looks ok, Im finally home, maybe it really is something to do with our company firewall (which would be good because it would only affect me). I dont know...

But increasing numbre of people report they cannot load latest version files... I would however need access to someones FTP whose server is rejected and cannot load the versions
Title: Re: Meteotemplate - new free website template
Post by: Nephler on November 10, 2016, 05:56:47 PM
Thanks for the quick reply Jachym

In cPanel it states that PHP version is 5.3.29.
I don't see a way of updating it. I might have to put in a support ticket for an update.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 05:58:22 PM
Yes, thats it, you need 5.4. Please note that the version you are using is 7 yrs old, which in terms of computers is like stone age. 5.4 is today's standard, and most sites already use 5.6 or even 7. It should therefore not be a problem at all to update (5.4 is absolutely stable) and your provider surely will have this option. Let me know how it goes.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 10, 2016, 06:51:24 PM
Hi Jachym,
i've created a new block called "Blitzortung".
In that folder i've insert two icons self made, one in dark and other in light folder.
Which function should i insert to switch icons from dark to light and vice-versa?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 07:02:35 PM
Hi Alessandro,
first of all, did you know there is already a block for this? It shows Blitzortung images for specified region - it is called Lightning.

If that is not what you are looking for.

for the icons you have to use path relative to the block folder from the homepage and set the theme by PHP, like this (replace with corresponding names):

<img src="homepage/blocks/myBlock/icons/<?php echo $theme?>/imageName.png">
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 10, 2016, 07:25:51 PM
Hi Alessandro,
first of all, did you know there is already a block for this? It shows Blitzortung images for specified region - it is called Lightning.

If that is not what you are looking for.

for the icons you have to use path relative to the block folder from the homepage and set the theme by PHP, like this (replace with corresponding names):

<img src="homepage/blocks/myBlock/icons/<?php echo $theme?>/imageName.png">

I've created a new custom block called Blitortung where i'll show live blitzortung map.
I've set day and night theme so, in the night i've black background color and during the day i've white background color.
With this theme i should have two different icons in every block folder, dark during the day and light during the night.
Default blocks already has this difference because, probably, it has a php function in it but with custom block this function there isn't.

Question: Is it possible to swith icons also in the custom block?
Thanks a lot,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 07:44:12 PM
Yes,
Alessandro download the Blank block, that serves as a "block template" where you can put your own code and it has the theme loaded.

But before you do that, look at the Lightning block, that block already shows Blitzortung maps so maybe you don't even need a new block.
Title: Re: Meteotemplate - new free website template
Post by: Nephler on November 10, 2016, 08:10:25 PM
Yes, thats it, you need 5.4. Please note that the version you are using is 7 yrs old, which in terms of computers is like stone age. 5.4 is today's standard, and most sites already use 5.6 or even 7. It should therefore not be a problem at all to update (5.4 is absolutely stable) and your provider surely will have this option. Let me know how it goes.

It took a bit emailing support, but seems like everything is working now.
Turns out that I had an old version of cPanel that didn't allow me to update PHP, but we're set now.

Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:24:09 PM
Hi,
yup, everything seems ok, I see your registration in my user db, I will add you to the user map tomorrow (technically today my time :D) along with one other new user registration I received an hour ago.

Feel free to contact me anytime you need help or something does not work, or if you have any suggestions. Either here or by email.

Hope you enjoy using Meteotemplate.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 10, 2016, 08:27:01 PM
I have been able to download userMap 3.0 and installed.  Still to get my Bing API.
The Tides block is now showing data.
The "Data for block updates could not be loaded from meteotemplate.com" message still appears though.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 10, 2016, 08:39:12 PM
Hi Paul,
looks like the server issue is ok now, either it was some temporary problem with the server, which they fixed or it really is something with my PC in my office which I used, because now it works fine on my laptop at home, lets hope it will be ok. But those accesses are probably unrelated to this because that guy is still trying to load my data up to 3 times a second... Im working on that too, trying to track them down.

With regards to the version numbers... yes that is strange, but that seems to be happening for a while already and more and more users report this to me. I need to ask my provider about this too, I suspect this is another problem on their side with the firewall.

It is actually good that it happened to you because you provided me with access to your FTP and I can try creating some test scripts to see what exactly is going on.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2016, 05:23:26 AM
OK, just sent a very strong email to my host because it turned out there was a major DDoS attack yesterday on a web that is located on the same server as Meteotemplate. Now, I understand this can happen and I can deal with it if it is solved quickly, but what annoyed me the most is that the guy on the support I was talking to yesterday kept on telling me the problem is 100% on my side and that I should fix my scripts. Even when I told him this has nothing to do with my scripts because even text files and icons are not loading he was still telling me to solve the problem on my end.

Either way, sorry for the problems, I insisted my web is moved to a different server and it was this morning so it should be fine again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2016, 05:46:02 AM
Yes, thats it, you need 5.4. Please note that the version you are using is 7 yrs old, which in terms of computers is like stone age. 5.4 is today's standard, and most sites already use 5.6 or even 7. It should therefore not be a problem at all to update (5.4 is absolutely stable) and your provider surely will have this option. Let me know how it goes.

It took a bit emailing support, but seems like everything is working now.
Turns out that I had an old version of cPanel that didn't allow me to update PHP, but we're set now.

Thanks!

Hi Ed,
just added you to the user db, I sent you an email but it came back requiring confirmation Im a human and not a bot, I clicked the confirmation link so I hope you got the email and enjoy using meteotemplate.
Title: Meteotemplate - Newsletter - Nov 11, 2016
Post by: Jáchym on November 11, 2016, 06:59:45 AM
Meteotemplate - Newsletter - Nov 11, 2016

Hi guys,   

in this issue you will as always find information about what was added/updated since the last issue as well as some information about what I plan to do next.

http://meteotemplate.com/blog/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 11, 2016, 10:18:29 AM
And an update regarding the accesses, that problem should now be solved as well, yesterday I made a special script that I inserted to the header and fortunately that person tried to use their template again and I was therefore able to track them and I am already in touch with them and I immediately stopped the misconfigured ajax calls and blocks. Should all be working fine again.
Title: Meteotemplate - Block Update - Air Quality U.S. 2.0
Post by: Jáchym on November 11, 2016, 06:13:32 PM
Block Update - Air Quality U.S. 2.0

Hi guys,

this is the first from the series of updates that aim to optimize and improve the blocks in the backend (taking it step by step alphabetically :), there are some minor CSS tweaks, but most changes are in the backend. Just replace the corresponding files.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 12, 2016, 03:16:32 AM
Small problem with Co2 and extremes plugins have updated to v10 and installed bug fixes, the co2 is showing no data and the extremes shows a very small center image of the world which gets no bigger using the +
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 12, 2016, 07:33:05 AM
Make sure you have version 1.2 and make sure you delete the old cache file.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 12, 2016, 07:36:59 AM
Not sure about the extremes, shows ok to me
Title: Meteotemplate - Block Update - Summary 4.0
Post by: Jáchym on November 12, 2016, 10:40:06 AM
Block Update - Summary 4.0

Hi guys,

something many of you have been asking for for quite a while. The Summary block is now available in several languages - please keep in mind - it is impossible to make a perfect translation even when not using word, but phrase translations. The point of the translation is for it to be understandable, not perfect. Every language is slightly different, uses different word order, tenses and word endings, so the only solution for a perfect translation would be a separate script for each language. Another problem is that the forecast is loaded from yr.no, and is only available in English and Norwegian.

Thanks to all who contributed the translations!

Currently available in: English, Czech, German, Spanish, French, Norwegian, Italian

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 12, 2016, 12:00:00 PM

Hi Jachym,
The My Forecast block is not displaying the icons as selected in the Add My Forecast, see attachment.
Did I miss something?


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 12, 2016, 12:42:40 PM
Strange, it didn´t replace the image link. Was it always doing this?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 12, 2016, 12:55:10 PM
OK I looked at your forecast file, the problem is that you are combining one icon and two icon forecasts. This is not possible, in the setup of that block you specified you want to use 2 icons for each day, this cannot be changed for particular days.

Still though, I think there is actually a little bug due to Notepad++ autocompletion feature :D I will look at it tonight when I get home from work.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 12, 2016, 01:40:06 PM

Hi Jachym,
It had worked when I first set it up in October.  Hadn't updated the forecast for a while so wasn't aware of it recently.


I have now used 2 icons in the current forecasts and still no image.  I will wait for your look at it.


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 12, 2016, 02:03:41 PM
OK, I fixed your current forecast file, I think I know what is wrong, I will try to get to it tonight, I already applied the changes on your site, so lets see...
Title: Meteotemplate - new block + block update
Post by: Jáchym on November 12, 2016, 08:17:20 PM
Hi guys,

Block update - My Forecast 1.1

Just bug fixes

New Block - Meteograms - Greece

This new block shows detailed zoomable meteograms for all major Greek cities. Available in Greek and English.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=meteogramGR

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 13, 2016, 07:37:20 AM
Hi Jachym,

Block/Update request - Is there any chance that the 'forecast' block could include the US National Weather Service? Also would it be possible to arrange the pull down menu in different orders? For instance NWS-WxSim-WeatherUnderground, etc.

Thanks,

Jack
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2016, 08:55:23 AM
Hi Jack,
there are already three blocks available for the NWS forecast.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 13, 2016, 09:06:59 AM
Yes, I was just wondering if NWS could be one of the menu items in the forecast block.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2016, 09:16:08 AM
Hi,
the reason it is not included is because the idea of the Forecast block is to show those services that are available to everyone - i.e. offer global data (yr.no, Yahoo, WU). Then you have several other blocks that are also for forecasts, but only cover some particular region (there are 3 NWS blocks, 1 EC Canada, Norwegean forecast, Italian, Spanish etc etc.).

These blocks are a little bit problematic because in all cases you are using an external source and that is always a risk because if that source format changes you need to update the block. And so I dont want to include all the forecasts into one single block because then it would be much more difficult to maintain.

If I include NWS I would have to include all the other ones as well and have a block with over 10 optional data sources.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 13, 2016, 09:24:35 AM
Ok, no problem. Just thought I would ask!  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2016, 09:35:45 AM
Sure,
you are not the first one who asked this question, but it is for the reasons I mentioned above. It would be very difficult for me to maintain, very long code and it would be annoying if you had to update that block every 2 weeks just because one of the sources changed.
Title: Meteotemplate - New Block - Poll
Post by: Jáchym on November 13, 2016, 11:06:58 AM
Hi guys,

New Block - Poll

another useful block. This block allows you to create a poll on your website. In the block setup you select the question and give possible answers. Users can then vote on your site.

Main features:

- custom question
- unlimited number of possible answers
- anti-spam mechanism
- IP limits - i.e. 1 user = only 1 vote
- possibility to reset votes to 0

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=poll

Enjoy
Title: Re: Meteotemplate - New Block - Poll
Post by: jeffm5690 on November 13, 2016, 12:09:12 PM
Hi guys,

New Block - Poll

another useful block. This block allows you to create a poll on your website. In the block setup you select the question and give possible answers. Users can then vote on your site.

Main features:

- custom question
- unlimited number of possible answers
- anti-spam mechanism
- IP limits - i.e. 1 user = only 1 vote
- possibility to reset votes to 0

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=poll

Enjoy

This has so many opportunities....  hmmmm....  thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2016, 12:35:53 PM
Thanks.

Im in particular interested in which movie people like the most :D I included my 3 favorite ones and it is very hard for me to decide which one I would go for :D Probably Star Wars :D But I love the other ones as well. I have to admit I dont watch movies almost at all. I dont even have a TV at home. Mostly because I dont have time for this and because I sort of find it waste of time (I know it probably isnt, but Im a workaholic and by just passively watchnig TV I get bored very soon). I usually just watch short documentaries and sometimes what I do is I watch the news, but I just find it in the online archive and do something while it is playing (clean up, cook etc.) and only when I hear something interesting I go to my laptop and watch that particular part.
The last movie I watched was the new Star Wars, but I didnt go to see it to the cinema, it is quite expensive here and the other problem is that I have some sight condition which means I dont see the 3D effect and instead when I look at the screen with the 3D glasses, I only see a very blurry image.

Back to the topic - I guess you will, however, use some more weather-related question than I did in the example :D
Title: Meteotemplate - New Block - Radar Finland
Post by: Jáchym on November 13, 2016, 05:22:53 PM
New Block - Radar Finland

Hi guys,

this new block shows an animated zoomable regional radar image for Finland. In the block setup you can precisely specify your location and get image based on that.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarFI

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 13, 2016, 06:29:58 PM
Hi Jachym,
i've an issue about weather data comparision plugin.
Link: http://newsite.meteocarmignano.it/plugins/stationCompare/compareWU.php

I've set it up with the wuID of a near station.
Any ideas?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 13, 2016, 06:44:29 PM
Which ID did you use
Title: Meteotemplate - New Block - Canada - Current Conditions
Post by: Jáchym on November 14, 2016, 08:32:44 AM
New Block - Canada - Current Conditions

Hi guys,

this new block shows current conditions (weather conditions, temperature) in major Canadian cities in a table and on a zoomable map. In the block setup you can select if you want to use the English or the French version.

DEMO narrow: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=currentCA

DEMO wide: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentCA

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 14, 2016, 09:28:32 AM

Nice currentCA block.  Now another one of my custom blocks I can eliminate ;)


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 14, 2016, 10:12:30 AM
Im glad you like it Paul, too bad London is not on the list :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 14, 2016, 10:44:25 AM

I agree with Paul, very nice addition to the Canadian specific blocks!

Bill
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 14, 2016, 10:45:41 AM

Toronto will have to do, and that is where we are at the moment anyway until daughter and hubby return from Hawaii this afternoon.  We'll then miss the g-kids and their activities... g-son had 5 hockey games/practices in 6 days...


The locations listed are the strategic stations across the country and Toronto weather/temp is pretty close to Komoka/London except for when we get the winter storms off of Lake Huron.


p.s. had a chance to improve the blocks/menuBlocks arrangements during some of the spare time here.


Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 14, 2016, 11:01:33 AM

We may be seen on the Max temp scale of the map sometimes but likely not the Min as hard to beat places like Iqaluit that are 2500 km north of us ;)


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 14, 2016, 11:25:25 AM
Yes, I saw that :D
Title: Meteotemplate - Block Update - Radar U.S. 4.0
Post by: Jáchym on November 15, 2016, 06:47:03 AM
Block Update - Radar U.S. 4.0

Hi guys,

I have completely redesigned the U.S. radar block.

There are now over 200 locations to choose from, many new image layers and overall CSS tweaks.  You can still set if you want horizontal or vertical layout and the graph can be clicked to popup in full resolution.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 15, 2016, 06:50:33 AM
Hi Jachym,

Getting a 404 error on the download page.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 15, 2016, 06:52:07 AM
Sorry... :) Should be ok now
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 15, 2016, 06:58:29 AM
Got it, up and running! Is there a national base reflectivity loop for the Northeast? I don't see it in the drop down list.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 15, 2016, 07:06:01 AM
Hi,
yes, sorry I missed that one :D I don´t know the U.S. that well :D Please just re-download it, I added it already.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 15, 2016, 08:23:52 AM
Thank you!  :grin:
Title: Meteotemplate - New Plugin - Ecological Footprint
Post by: Jáchym on November 15, 2016, 08:59:02 AM
(http://i65.tinypic.com/18yjqg.png)

New Plugin - Ecological Footprint

Hi guys,

I created a new plugin which shows information about the ecological footprint and biocapacity. Looking at the data is not very positive and informing people is something that could help to improve the current situation and trend. Maybe even this plugin will help a little. I myself am very concerned about the environment and try to help as much as possible (using public transport, recycling  etc.).

Main features:
- world data for ecological footprint and biocapacity
- comparison for countries, regions and continents
- grouping by various categories (cropland, carbon footprint etc.)
- history data for individual countries
- data presented using interactive graphs, sortable tables and maps

DEMO: http://www.meteotemplate.com/template/plugins/ecoFootprint/index.php

"Enjoy"
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 15, 2016, 10:10:47 AM
I really liked the regional view that was in the radarUS 3.0 block, anyway to add it back as an option in 4.0?

Thanks,
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 15, 2016, 10:23:05 AM
Hi,
there still is a regional view in the right image and it now includes 200 instead of just 20 locations and several image layers for each instead of the original one. Im not sure what exactly you mean
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 15, 2016, 10:35:01 AM
Sorry, should have been more specific, the original regional image was from Intellicast(I think) and showed combined US and Canada radar images for those sites near the border. The new one shows very little of the Canadian side.

Since I have a large number of users who are snowbirds who are heading south this time of year, it is beneficial to be able to show detail at a regional level on both sides of the border.


Title: Re: Meteotemplate - Block Update - Radar U.S. 4.0
Post by: Nephler on November 15, 2016, 10:40:30 AM
Block Update - Radar U.S. 4.0

Hi guys,

I have completely redesigned the U.S. radar block.

There are now over 200 locations to choose from, many new image layers and overall CSS tweaks.  You can still set if you want horizontal or vertical layout and the graph can be clicked to popup in full resolution.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS

Enjoy

Nice change / update!
Thank you.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 15, 2016, 10:43:49 AM
Sorry, should have been more specific, the original regional image was from Intellicast(I think) and showed combined US and Canada radar images for those sites near the border. The new one shows very little of the Canadian side.

Since I have a large number of users who are snowbirds who are heading south this time of year, it is beneficial to be able to show detail at a regional level on both sides of the border.

OK, now it makes sense... when I was developing this I obviously had mostly the U.S. in mind and this one is definitely better. In this case I recommend you just stay with 3.0. There is nothing non-functional in that version, version 4 was not developed because of any specific problem with 3.
Title: Re: Meteotemplate - New Plugin - Ecological Footprint
Post by: droiddk on November 15, 2016, 10:48:01 AM
(http://i65.tinypic.com/18yjqg.png)

New Plugin - Ecological Footprint

Hi guys,

I created a new plugin which shows information about the ecological footprint and biocapacity. Looking at the data is not very positive and informing people is something that could help to improve the current situation and trend. Maybe even this plugin will help a little. I myself am very concerned about the environment and try to help as much as possible (using public transport, recycling  etc.).

Main features:
- world data for ecological footprint and biocapacity
- comparison for countries, regions and continents
- grouping by various categories (cropland, carbon footprint etc.)
- history data for individual countries
- data presented using interactive graphs, sortable tables and maps

DEMO: http://www.meteotemplate.com/template/plugins/ecoFootprint/index.php

"Enjoy"

Soon time to call your template "EarthTemplate"  :grin:

Regards

Title: Meteotemplate - Block Update - Dynamic Image 2.0
Post by: Jáchym on November 15, 2016, 04:26:50 PM
Block Update - Dynamic Image 2.0

Hi guys,
updated Dynamic Image block includes some minor optimizations and better cache handling.

Enjoy
Title: Re: Meteotemplate - Block Update - Dynamic Image 2.0
Post by: jeffm5690 on November 15, 2016, 04:42:30 PM
Block Update - Dynamic Image 2.0

Hi guys,
updated Dynamic Image block includes some minor optimizations and better cache handling.

Enjoy

WoW!  So I go to a conference and only have my ipad and you are cranking out the updates!!!  I cant wait to get home and make the changes.  I love the ecological plugin and the updated radar.  I cant wait to update!

Thanks Jachym
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 15, 2016, 05:39:11 PM
Sorry, should have been more specific, the original regional image was from Intellicast(I think) and showed combined US and Canada radar images for those sites near the border. The new one shows very little of the Canadian side.

Since I have a large number of users who are snowbirds who are heading south this time of year, it is beneficial to be able to show detail at a regional level on both sides of the border.

OK, now it makes sense... when I was developing this I obviously had mostly the U.S. in mind and this one is definitely better. In this case I recommend you just stay with 3.0. There is nothing non-functional in that version, version 4 was not developed because of any specific problem with 3.
Thanks, I had a copy of 3,0 so that one is back up!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 15, 2016, 05:40:33 PM
Yes, that one is still working perfectly fine. I guess theoretically I could give an option to choose this, but vast majority of people will want to use the new one, you are a special case where it makes sense to use the original version, which is still working perfectly fine.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 15, 2016, 06:14:16 PM
Which ID did you use

Fixed Jachym, it was a false WuID.
Thanks!
Title: Re: Meteotemplate - Block Update - Dynamic Image 2.0
Post by: i_fiorentino on November 15, 2016, 06:19:38 PM
Block Update - Dynamic Image 2.0

Hi guys,
updated Dynamic Image block includes some minor optimizations and better cache handling.

Enjoy

Hi Jachym,
is it possibile to make the image clickable to enlarge?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - Block Update - Dynamic Image 2.0
Post by: Jáchym on November 15, 2016, 07:00:49 PM
Block Update - Dynamic Image 2.0

Hi guys,
updated Dynamic Image block includes some minor optimizations and better cache handling.

Enjoy

Hi Jachym,
is it possibile to make the image clickable to enlarge?
Thanks in advance,


Alessandro

Yes it is
Title: Meteotemplate - Block Update - Dynamic Image 3.0
Post by: Jáchym on November 15, 2016, 07:33:17 PM
Block Update - Dynamic Image 3.0

Hi guys,

sorry for two quick updates of the same block in a row, but I added a new feature based on a request I got.

Version 3:

possibility to click image for full-screen view
Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 15, 2016, 10:43:14 PM
Any chance of being able to reverse the order of the us radar block?  So put the local first and the national second?

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 16, 2016, 07:17:45 AM
You mean like swapping them so that national is on the right and vice versa?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 16, 2016, 08:05:24 AM
You mean like swapping them so that national is on the right and vice versa?

Exactly.  For me, I would like to see what's local then the bigger picture.  It may be just me being a pain but that's what I like to see.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 16, 2016, 08:24:28 AM
OK I will try today, but right now I feel like.... just had my wisdom tooth extracted and I have a fever, headache and feel like my mouth is going to explode because the analgetics just stopped having effect :D I probably wont get much done here at work today either :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 16, 2016, 08:34:19 AM
OK I will try today, but right now I feel like.... just had my wisdom tooth extracted and I have a fever, headache and feel like my mouth is going to explode because the analgetics just stopped having effect :D I probably wont get much done here at work today either :D

Yikes!  Get some rest!!!  You deserve it.  Not a rush at all!

Get well, Jeff
Title: Re: Meteotemplate - Block Update - Dynamic Image 3.0
Post by: i_fiorentino on November 16, 2016, 08:54:47 AM
Block Update - Dynamic Image 3.0

Hi guys,

sorry for two quick updates of the same block in a row, but I added a new feature based on a request I got.

Version 3:

possibility to click image for full-screen view
Enjoy


Thank you so much Jachym!
Two questions:

Is it possible to enlarge header section?
If yes, which file can i edit?

Second question: Is it possible to have two header blocks or one header and other block with the same size?
I would create a new scheme like the image attached.
Thank you so much.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 16, 2016, 09:12:25 AM
OK I will try today, but right now I feel like.... just had my wisdom tooth extracted and I have a fever, headache and feel like my mouth is going to explode because the analgetics just stopped having effect :D I probably wont get much done here at work today either :D

Yikes!  Get some rest!!!  You deserve it.  Not a rush at all!

Get well, Jeff

This is not the first time I had this done so I know that the best thing to do is go straight to work and work until late night, or work on Meteotemplate, or do "something". Going home and laying in the bed is the worst thing you can do, trust me, because the thing that helps the most is when you are busy doing something and not just staring on the ceiling lying in bed, thats when you feel the pain the most.... So once I get home tonight Im likely to get a lot done for Meteotemplate LOL :D
Title: Re: Meteotemplate - Block Update - Dynamic Image 3.0
Post by: Jáchym on November 16, 2016, 09:13:35 AM
Block Update - Dynamic Image 3.0

Hi guys,

sorry for two quick updates of the same block in a row, but I added a new feature based on a request I got.

Version 3:

possibility to click image for full-screen view
Enjoy


Thank you so much Jachym!
Two questions:

Is it possible to enlarge header section?
If yes, which file can i edit?

Second question: Is it possible to have two header blocks or one header and other block with the same size?
I would create a new scheme like the image attached.
Thank you so much.
Regards,


Alessandro

Hi, currently only one header and footer block is supported, adding the option for more is theoretically something I could think about including for v11, however, you could also simply use one-column layout and for the other blocks use multiple block scheme, which would allow you to do what you sketched.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 16, 2016, 09:30:28 AM

Quote
Second question: Is it possible to have two header blocks or one header and other block with the same size?
I would create a new scheme
Quote
however, you could also simply use one-column layout and for the other blocks use multiple block scheme, which would allow you to do what you sketched.
I was going to reply in sick Jachym's absence...
Use the blank block to create whatever custom block you want, and then the new feature of selecting any block as a below the header block. 


Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 16, 2016, 09:45:40 AM
Thank you so much guys
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 16, 2016, 10:37:58 AM
Hi again,
can i create an <head> section on blank block?
If not possible, where can i put the head code of a blank block?
Thanks again,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 16, 2016, 10:47:41 AM
Fixed!
I've put that code on header.php file.
Now Wxsim custom block shows perfectly on my home page  \:D/ \:D/ \:D/
Link: http://newsite.meteocarmignano.it


Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 16, 2016, 12:37:44 PM

Looks very nice Alessandro  =D&gt;


Enjoy,
Paul
Title: Meteotemplate - block update, new language
Post by: Jáchym on November 16, 2016, 12:46:45 PM
Hi guys,

there is now a new language available for which almost all the strings are translated - Lithuanian. Special thanks goes to Darius for helping with the translation

Block Update - Radar Estonia

Optimization + minor bug fixes

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 16, 2016, 05:56:46 PM

Looks very nice Alessandro  =D&gt;


Enjoy,
Paul


Thanks Paul  :grin: :grin:
Title: Meteotemplate - Block Update - Radar U.S. 5.0
Post by: Jáchym on November 16, 2016, 06:43:42 PM
Block Update - Radar U.S. 5.0

Hi guys,

based on a request I added a new parameter to the U.S. radar block. You can now specify the order of the images, i.e. - if you are using the horizontal layout you can choose if you want the national on top and regional below or vice versa, if you are using the horizontal layout you can choose which one is on the right and which one is on the left.

Enjoy
Title: Meteotemplate - important question
Post by: Jáchym on November 16, 2016, 06:55:50 PM
Hi guys,
I have a question that I need to ask you.

I often get suggestions about what I could include or how I could improve existing blocks/plugins. I always try to do my best to do whatever that person asked for (and usually succeed).
However I have to make a decision:
1. release the update immediately after the new feature is added/block changed/bug fixed
2. wait until more stuff is added/changed/fixed and then release the update at once

The first option is obviously going to be appreciated by the one who asked, but the question is if other people like the fact they have to update stuff too often.

Both options are ok with me, up until now I went with option 1 - primarily because I take it people don't have to update, the block/plugin will work perfectly fine (unless it is a bug fix of course) and they can update once another update is released - at this point I should emphasize that UNLIKE the template as a whole, blocks and plugins DO NOT HAVE TO be updated version by version (i.e. you can eg. update from 1 to 3 directly).

But I thought I will ask you anyway. As I said, I am ok with both so I will see what you think and based on that decide how to do things in the future.
Title: Re: Meteotemplate - Block Update - Radar U.S. 5.0
Post by: jeffm5690 on November 16, 2016, 07:28:45 PM
Block Update - Radar U.S. 5.0

Hi guys,

based on a request I added a new parameter to the U.S. radar block. You can now specify the order of the images, i.e. - if you are using the horizontal layout you can choose if you want the national on top and regional below or vice versa, if you are using the horizontal layout you can choose which one is on the right and which one is on the left.

Enjoy

THANK YOU!!!!'
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 16, 2016, 07:31:00 PM
Yes, well I knew you will like it, now lets see what the others think :D (see question above)
Title: Re: Meteotemplate - important question
Post by: wxthomson on November 16, 2016, 08:41:43 PM
Hi guys,
I have a question that I need to ask you.

I often get suggestions about what I could include or how I could improve existing blocks/plugins. I always try to do my best to do whatever that person asked for (and usually succeed).
However I have to make a decision:
1. release the update immediately after the new feature is added/block changed/bug fixed
2. wait until more stuff is added/changed/fixed and then release the update at once

The first option is obviously going to be appreciated by the one who asked, but the question is if other people like the fact they have to update stuff too often.

Both options are ok with me, up until now I went with option 1 - primarily because I take it people don't have to update,



I agree with your thinking on option 1.
However, if it makes any difference, I would say to go with the option that is easiest for you!


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 16, 2016, 08:46:30 PM
It makes no difference to me
Title: Re: Meteotemplate - important question
Post by: Nephler on November 17, 2016, 02:51:37 AM
Hi guys,
I have a question that I need to ask you.

I often get suggestions about what I could include or how I could improve existing blocks/plugins. I always try to do my best to do whatever that person asked for (and usually succeed).
However I have to make a decision:
1. release the update immediately after the new feature is added/block changed/bug fixed
2. wait until more stuff is added/changed/fixed and then release the update at once

The first option is obviously going to be appreciated by the one who asked, but the question is if other people like the fact they have to update stuff too often.

Both options are ok with me, up until now I went with option 1 - primarily because I take it people don't have to update, the block/plugin will work perfectly fine (unless it is a bug fix of course) and they can update once another update is released - at this point I should emphasize that UNLIKE the template as a whole, blocks and plugins DO NOT HAVE TO be updated version by version (i.e. you can eg. update from 1 to 3 directly).

But I thought I will ask you anyway. As I said, I am ok with both so I will see what you think and based on that decide how to do things in the future.

If it doesn't matter to you, then I vote for option 1.
For instance, the Radar US, I was happy to see the change this morning and updated promptly.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 17, 2016, 05:39:32 AM
It makes no difference to me

I go for option 1
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 17, 2016, 05:57:31 AM
Block Update - Radar U.S. 5.0

Hi guys,

based on a request I added a new parameter to the U.S. radar block. You can now specify the order of the images, i.e. - if you are using the horizontal layout you can choose if you want the national on top and regional below or vice versa, if you are using the horizontal layout you can choose which one is on the right and which one is on the left.

Enjoy

Hi Jachym,
first of all, thank you for your time and your patience.
You're doing a really great job!

About options.
I vote for option nr. 1.... if it's the same for you.
It's better to have a dynamic meteotemplate with continuous update instead of a static meteotemplate.
Regards,

Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 17, 2016, 06:38:43 AM
Hi,
which file should i edit to modify mobile menu?
Thanks in advance.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 11:00:44 AM
Hi,
which file should i edit to modify mobile menu?
Thanks in advance.
Regards,


Alessandro

mobile/menu.php
Title: Meteotemplate - Block Update - Soil 3.0
Post by: Jáchym on November 17, 2016, 11:31:58 AM
Block Update - Soil 3.0

Hi guys,

I updated the Soil block and added a few new features:

- added support for Cumulus software
- added support for up to 4 soil temperature sensors
- CSS optimization
- block optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil
(please note: I do not have these sensors, so the demo is just static for illustration purposes)

Enjoy
Title: Meteotemplate - Block Update - Count Down 2.0
Post by: Jáchym on November 17, 2016, 11:55:12 AM
Block Update - Count Down 2.0

Hi guys,
I have also updated the Count Down block.

New features:
 - support for unlimited number of counters (all shown in this one block)
 - block optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=countDown

Enjoy
Title: Re: Meteotemplate - important question
Post by: NHSkierGolfer on November 17, 2016, 12:23:56 PM
Hi guys,
I have a question that I need to ask you.

I often get suggestions about what I could include or how I could improve existing blocks/plugins. I always try to do my best to do whatever that person asked for (and usually succeed).
However I have to make a decision:
1. release the update immediately after the new feature is added/block changed/bug fixed
2. wait until more stuff is added/changed/fixed and then release the update at once

The first option is obviously going to be appreciated by the one who asked, but the question is if other people like the fact they have to update stuff too often.

Both options are ok with me, up until now I went with option 1 - primarily because I take it people don't have to update, the block/plugin will work perfectly fine (unless it is a bug fix of course) and they can update once another update is released - at this point I should emphasize that UNLIKE the template as a whole, blocks and plugins DO NOT HAVE TO be updated version by version (i.e. you can eg. update from 1 to 3 directly).

But I thought I will ask you anyway. As I said, I am ok with both so I will see what you think and based on that decide how to do things in the future.

Ah, one of the great dilemmas of software development.   We often referred to it as "The Greyhound Bus Conundrum".  It refers to whether software releases are on a schedule, i.e. the bus leaves at 2.00 and whoever is on the bus gets a ride; or, the bus will leave when we have twenty riders.

Until everyone got connected via the web software was usually released on a schedule, but, since then releases have become much more frequent.  So, given that, Option 1 is the best choice.

Bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 12:27:13 PM
Right, OK, so several of you have expressed their opinions so the take away message for me is that the bus leaves at 3AM :D (my most productive time of the day :D)
Title: Re: Meteotemplate - Block Update - Soil 3.0
Post by: wxthomson on November 17, 2016, 01:35:52 PM
Block Update - Soil 3.0

Hi guys,

I updated the Soil block and added a few new features:

- added support for Cumulus software
- added support for up to 4 soil temperature sensors
- CSS optimization
- block optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil
(please note: I do not have these sensors, so the demo is just static for illustration purposes)

Enjoy

New soil block up and looking good!
Thanks for doing this!

Since these sensors can be used for more than soil, ex: water temperature, temperature in an enclosed space such as a greenhouse, etc.
Would it be possible to input your own labels for the sensors?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 01:46:06 PM
Hmm, I guess thats more like something for a separate block, because there is also the soil temperature icon and most importantly - this might be the case of Cumulus, but in case of the other SW (eg. WCat), this is always soil temperature.
Title: Re: Meteotemplate - Block Update - Count Down 2.0
Post by: NHSkierGolfer on November 17, 2016, 03:15:15 PM
The new countdown block is fantastic.  Thanks.

Bob


Block Update - Count Down 2.0

Hi guys,
I have also updated the Count Down block.

New features:
 - support for unlimited number of counters (all shown in this one block)
 - block optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=countDown

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on November 17, 2016, 03:51:55 PM
Hmm, I guess thats more like something for a separate block, because there is also the soil temperature icon and most importantly - this might be the case of Cumulus, but in case of the other SW (eg. WCat), this is always soil temperature.

You're right, I can use a blank block to display non soil temps.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 04:49:54 PM
I will have to look closely at what exactly the various SW have in terms of extra sensors and then based on that create some new block for this.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 17, 2016, 04:56:29 PM
Hi Jachym,
is it possible to change blank block backgroung color.
It shows only with black color.

Or, alternative, what about changing day (white) and night (black)?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 17, 2016, 05:19:47 PM
Fixed!
I've put that code on header.php file.
Now Wxsim custom block shows perfectly on my home page  \:D/ \:D/ \:D/
Link: http://newsite.meteocarmignano.it

Regards,
Alessandro

Allesandro,

How are you generating this block?  I love it.

Bob
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 05:21:21 PM
Hi Bob,

This is the "meteogram" block
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 05:23:38 PM
Hi Alessandro,
block color is based on the theme you are using. If you are using for example color scheme red, your blocks will be red. Dark theme uses dark shade, light uses light shade of that color. You can also highlight blocks (you can specify this on the page where you specify the blocks for the homepage)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 17, 2016, 05:48:23 PM
Hi Alessandro,
block color is based on the theme you are using. If you are using for example color scheme red, your blocks will be red. Dark theme uses dark shade, light uses light shade of that color. You can also highlight blocks (you can specify this on the page where you specify the blocks for the homepage)

Ok Jachym,
thank for your answer.

Bob,
as Jachym wrote, it's meteogram block.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 17, 2016, 06:10:02 PM
If you wanted some special color for a particular block you could use CSS to do it.

If that is the case, then drop me an email with the block code and say which color you want.
Title: Meteotemplate - languages + new graph
Post by: Jáchym on November 17, 2016, 07:02:36 PM
Hi guys,

as unbelievable as it seems, there is already 23 languages available, over 1600 strings for translation, and 14 languages have over 90% of translations available! This obviously is something you have extremely helped me with and would not be possible without you! Let me once again emphasize that every single translation has been done by a native speaker of that language.

Originally your translations were added to the translations database automatically, but this did not turn out to be ideal since sometimes people accidentally submitted untranslated strings or strings with errors. I therefore manually review and add each string myself – and that way I also get to know the languages and it is actually quite interesting and useful for me as well  :grin:

And what I also did is I added a graph which shows the translation progress of all the languages:

http://www.meteotemplate.com/web/translations/index.php

Don’t forget to update your language files there and then   ;)

Thanks
Title: Re: Meteotemplate - new free website template
Post by: johnny on November 18, 2016, 12:41:22 PM
Thank you so much Jachym for the meteogram for Greece block and for all the goods you provide us every single day!
Also, it's good to see the Greek language completely translated, half by me and half by other users around Greece!
Everything works perfect as always :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 18, 2016, 01:09:36 PM
Hi Johnny,
thanks, yes the Greek language is complete :)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 18, 2016, 03:27:10 PM
Hi Jachym,
please let me know how can i help you to translate the 3% remained incomplete.
Italian language naturally.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 18, 2016, 04:37:50 PM
All translations are done through this page:
http://www.meteotemplate.com/web/translations/index.php
Thanks
Title: Meteotemplate - updates
Post by: Jáchym on November 18, 2016, 06:00:34 PM
Hi guys,
two updates today:

Block Update - Summary
- updated German translation
- minor bug fixes
- block optimization

Block Update - Forecast
- bug fix for WxSim precipitation calculation
Title: Meteotemplate - New Block - Dictionary
Post by: Jáchym on November 19, 2016, 09:40:25 AM
New Block - Dictionary

Hi guys,

every day I manually add your translations and it is great many of you have helped so much and other users can benefit from this. Given there is already over 1600 strings translated I thought it would be nice to take it to the next level. I myself have learned a lot just by inserting each word to the database and so I thought you and your website visitors could too.... and so I created this Dictionary block.

In the block setup you select two languages (make sure both are available in your "langs" directory) and the block will always choose one string at random and display the phrase in both languages side by side. There is also an update button so you can get a new word without the need to refresh the whole site.

Enjoy

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary
Title: Re: Meteotemplate - updates
Post by: i_fiorentino on November 19, 2016, 09:55:44 AM
Hi guys,
two updates today:

Block Update - Summary
- updated German translation
- minor bug fixes
- block optimization

Block Update - Forecast
- bug fix for WxSim precipitation calculation


Well done Jachym about wxsim forecast negative rain  fixed.
It remains only three bugs:

1) Summary icons doesn't corresponded at forecast. If there is amount of rain the icon should be rain and not partly cloudy or cloudy.
2) All forecasts wind is wronged. Too much faster then normal.
3) Humidity values is too lower than normal.....5% in not possible when outside it's rain.

I know your big problem because you haven't this program but i really appreciated your hard work.
Anyway, thanks again to improve this feature!!
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 10:04:39 AM
Hmm... this looks like way too many problems, I will remove this from the Forecast block, I tried, but it is unusable.
Title: Re: Meteotemplate - New Block - Dictionary
Post by: KapitainOne on November 19, 2016, 11:01:54 AM
New Block - Dictionary

Hi guys,

every day I manually add your translations and it is great many of you have helped so much and other users can benefit from this. Given there is already over 1600 strings translated I thought it would be nice to take it to the next level. I myself have learned a lot just by inserting each word to the database and so I thought you and your website visitors could too.... and so I created this Dictionary block.

In the block setup you select two languages (make sure both are available in your "langs" directory) and the block will always choose one string at random and display the phrase in both languages side by side. There is also an update button so you can get a new word without the need to refresh the whole site.

Enjoy

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary (http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary)
I like it but can't get the icons at the top to show up on my page?
Downloaded a couple of times and made sure the icons were there and in the right place but....
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on November 19, 2016, 12:35:15 PM
I'm having trouble with the snow block.
It shows yesterdays snow and the month total but nothing in the winter total.
I believe I have this block and the snow plugin set up correctly.
I have the first snow month as September and the last as May.

Title: Re: Meteotemplate - new free website template
Post by: weatherbee on November 19, 2016, 02:14:05 PM
I have the same problem.  I have winter start in July and end in June.  Everything works but the winter total says NA.
Tom
Title: Re: Meteotemplate - New Block - Dictionary
Post by: Jáchym on November 19, 2016, 03:17:59 PM
New Block - Dictionary

Hi guys,

every day I manually add your translations and it is great many of you have helped so much and other users can benefit from this. Given there is already over 1600 strings translated I thought it would be nice to take it to the next level. I myself have learned a lot just by inserting each word to the database and so I thought you and your website visitors could too.... and so I created this Dictionary block.

In the block setup you select two languages (make sure both are available in your "langs" directory) and the block will always choose one string at random and display the phrase in both languages side by side. There is also an update button so you can get a new word without the need to refresh the whole site.

Enjoy

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary (http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary)
I like it but can't get the icons at the top to show up on my page?
Downloaded a couple of times and made sure the icons were there and in the right place but....

Which icons? Can you send me a link?
Title: Re: Meteotemplate - New Block - Dictionary
Post by: KapitainOne on November 19, 2016, 03:24:50 PM
New Block - Dictionary

Hi guys,

every day I manually add your translations and it is great many of you have helped so much and other users can benefit from this. Given there is already over 1600 strings translated I thought it would be nice to take it to the next level. I myself have learned a lot just by inserting each word to the database and so I thought you and your website visitors could too.... and so I created this Dictionary block.

In the block setup you select two languages (make sure both are available in your "langs" directory) and the block will always choose one string at random and display the phrase in both languages side by side. There is also an update button so you can get a new word without the need to refresh the whole site.

Enjoy

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary (http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dictionary)
I like it but can't get the icons at the top to show up on my page?
Downloaded a couple of times and made sure the icons were there and in the right place but....

Which icons? Can you send me a link?
FIXED, turns out the upload of the blocks/dicitionary/icons had permissions set to 705 so the script couldn't read the files!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 03:38:01 PM
Snow block - I think I remember there was this same problem with one other user. This block uses your snow plugin settings.php file. Make sure that plugins/snow/settings.php is readable and let me know if that helped
Title: Meteotemplate - Block Update - Radar Canada 2.0
Post by: Jáchym on November 19, 2016, 05:00:06 PM
Block Update - Canada Radar 2.0

Hi guys,

I updated the Canadian radar block.

Changes:

- click to zoom
- added slider instead of buttons
- block optimization
- added loading spinner
- improved image swap function (does not blink or slide up and down during image swap)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarCA

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: tstorm on November 19, 2016, 05:16:55 PM
Snow block - I think I remember there was this same problem with one other user. This block uses your snow plugin settings.php file. Make sure that plugins/snow/settings.php is readable and let me know if that helped

Works fine for me.  I even put in a fake snowfall amount to see how it would handle it and there were no problems.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 05:48:08 PM
Which makes me think even more it is a permission issue because if there was a bug in the script it would not work for everyone
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 07:04:06 PM
Just curious... can someone please try to go to this site: http://www.nws.noaa.gov/mdl/gfslamp/analysis.php and see if the radar control buttons (play etc) work for you? Because it doesnt work at all for me and the console shows no errors.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 19, 2016, 07:07:35 PM
Just curious... can someone please try to go to this site: http://www.nws.noaa.gov/mdl/gfslamp/analysis.php and see if the radar control buttons (play etc) work for you? Because it doesnt work at all for me and the console shows no errors.

Consolle buttons doesn't work....i've pushed play or forward but radar image remained the same.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 07:14:05 PM
Thanks for letting me know Alessandro. I got used to the fact many scripts I look at dont work on many meteorological institute pages all around the world, but I have to say NOAA is actually quite good at this and in most cases stuff works. Once I found a bug on their page and I emailed them describing the problem and also providing a fix and I was very positively surprised when I got a reply 2 days later saying they thank me for letting them know and the script was fixed ;)
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on November 19, 2016, 07:15:04 PM
Snow block - I think I remember there was this same problem with one other user. This block uses your snow plugin settings.php file. Make sure that plugins/snow/settings.php is readable and let me know if that helped

settings.php

<?php
 // setup file


$snowUnits = 'in';
$snowDecimals = 2;
$winterStart = 9;
$winterEnd = 5;
?>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 07:20:55 PM
Yes, this is correct, but the question is if the block has access to this file, just try setting permissions to this settings.php to 755
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on November 19, 2016, 07:51:01 PM
Yes, this is correct, but the question is if the block has access to this file, just try setting permissions to this settings.php to 755

Set permissions to 755 - no change.

in the block:
Current - works
Yesterday - works
This Month - works
This winter shows N/A

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 19, 2016, 08:19:31 PM
OK, number one on my Meteotemplate to-do list for tomorrow
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 20, 2016, 12:26:47 AM
Thanks for letting me know Alessandro. I got used to the fact many scripts I look at dont work on many meteorological institute pages all around the world, but I have to say NOAA is actually quite good at this and in most cases stuff works. Once I found a bug on their page and I emailed them describing the problem and also providing a fix and I was very positively surprised when I got a reply 2 days later saying they thank me for letting them know and the script was fixed ;)
It works fine for me.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 20, 2016, 07:27:51 AM
OK, well thats exactly the probloem, WxSIM is very inconsistent and unless I see and have possibility to use that SW myself I can hardly get it right (also given there is no documentation for it).
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on November 20, 2016, 09:23:00 AM
Jachym,
Quote
Just curious... can someone please try to go to this site: http://www.nws.noaa.gov/mdl/gfslamp/analysis.php and see if the radar control buttons (play etc) work for you? Because it doesnt work at all for me and the console shows no errors.

Works for me also.  Takes some time for the images to load and the buttons to respond.

Jay
Title: Re: Meteotemplate - new free website template
Post by: George Richardson on November 20, 2016, 09:41:28 AM
Jáchym,

I have seen this post from you several times and it just is not true. "WxSIM is very inconsistent": I run WxSim automatically 7 times a day, 7 days a week, 365 days a year, and have been for the past 6 years. The software uses six government and/or institutional sources for data on every run. If a source is "down", each has a backup which can be addressed. There is only one proprietary source which is massaged government data and that too has a backup. In my 6 years I only recall 2 times when both proprietary sources were down (very acceptable to me). WXSIM is well supported at "http://www.weather-watch.com/smf/index.php?board=36.0"

 "unless I see and have possibility to use that SW myself I can hardly get it right": if you download the software and run it you will find that it defaults to Atlanta, GA USA, and while that is not your hometown, it does function.

"(also given there is no documentation for it)." the documentation for WxSim is substantially better than that for many programs I have purchased. You want to reference no documentation, try "WeatherStudio V2". I personally like "good" documentation too but I haven't seen any since "Virtual Weather Station" and "Image Salsa".

George
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 20, 2016, 10:11:53 AM
Hi George:

1) by inconsistent I meant that log files differ based on your local computer settings, they are consistent in that they look the same every time, but that only holds for you and you particular PC setup, what I meant by that is that decimal separator differs, time format differs etc etc - which is why it is very difficult for me because I don´t know what all the possible options are

2) not really, it will not run on Linux, which is the only OS that can run on my laptop (unless I want to use Windows 98..., I had to uninstall even XP because it was too demanding for my PC). As far as I know, WxSIM does not support Linux, please correct me if Im wrong.

3) it could be good in that it tells you how to use it, but from a developer´s perspective, there is no documentation for how the log files work and most importantly, for example a list of all the possible weather conditions etc. used for the translations - that was the main issue with it because I cant include translations unless I know what all the possible strings are

Also I want to emphasize that my post was not supposed to suggest that Tom´s software is poorly programmed, its just that given the cicumstances I cannot develop the plugin. I actually think it is a great piece of SW, but it is just not possible for me to make the plugin. Eg - the fact my PC wont run it is my problem, but it is still a problem when you want to develop stuff.
Title: Meteotemplate - Block Update - Calculator 2.0
Post by: Jáchym on November 20, 2016, 04:46:52 PM
Block Update - Calculator 2.0

Hi guys,

I just updated the Calculator block.

Changes:
- added some conversions
- design clean-up
- block optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=calculator

Enjoy
Title: Meteotemplate - New Plugin - Models
Post by: Jáchym on November 21, 2016, 12:11:13 PM
New Plugin - Models

Hi guys,

this new plugin includes many images from weather models for the area of Europe and North America.

DEMO: http://www.meteotemplate.com/template/plugins/models/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 21, 2016, 01:02:59 PM
Block Update - Calculator 2.0

Hi guys,

I just updated the Calculator block.

Changes:
- added some conversions
- design clean-up
- block optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=calculator

Enjoy
I've deleted message :(
Damn cell! 

Go it, thanks Jachym!
Why do you choosed gif image instead of the image that i've emailed?

What about play / pause script?
Many many thanks.
Regards,


Alessandro

Inviato dal mio SM-G900F utilizzando Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2016, 01:16:12 PM
Hi Alessander,
the images are from a different source, which includes more models, and they are already coming as animated GIF images, thats why it is not play/pause. Your link only included GFS, I wanted to include more so chose this source.
Title: Re: Meteotemplate - New Plugin - Models
Post by: Nephler on November 21, 2016, 04:26:30 PM
Sweet!

New Plugin - Models

Hi guys,

this new plugin includes many images from weather models for the area of Europe and North America.

DEMO: http://www.meteotemplate.com/template/plugins/models/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on November 21, 2016, 05:08:32 PM
So, based on the information in this URL: http://www.kpw3.com/meteo/pages/climate/index.php?climateID=2742 (http://www.kpw3.com/meteo/pages/climate/index.php?climateID=2742)

It gets REALLY cold in Kaliningrad, Russia.  -17966 F degrees!  :grin: 

I note that I don't get this crazy result on your demo site, Jachym.  On my site I get the -17966 reading on many Russian sites for some reason.
Maybe a wild C to F conversion error?

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2016, 05:26:06 PM
Hi Kurt,
yes I see the problem.... not difficult to fix, but it is slightly disappointing that this error must have been there since Meteotemplate v1.0... and considering the number of testers who told me they looked at this page....
anyway, I will make sure it is fixed in v11, I do not see it as something urgent that would require immediate bug fix package released
Thanks for letting me know
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 21, 2016, 05:58:22 PM
Hi Jachym,
i've an issue on my template.
Look at this: http://newsite.meteocarmignano.it/indexDesktop.php


Dynamic image, on the right side, is overlying on history block....what's happens?
Other issue on menu.
If you click on weather station menu, some icons are disappears but if you go with the mouse over, you could see it.
Any idea?

Thanks in advance,


Alessandro


P.S.
About Model script.
Ok, i've ECMWF also....both models are the most popular on the weather enthusiasts :)
Make a script with these two models (UKMO also) the success is guaranteed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2016, 06:08:33 PM
Hi Alessandro,
unfortunately this is exactly why I recommend not to use included scripts from other templates/pages. You included several stylesheets including bootstrap and some other ones and they use same parameter names so it clashes. That is why your image is weired, icons in the menu etc. They have same names as the ones used in Meteotemplate, but different values for them.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on November 21, 2016, 06:19:46 PM
Hi Kurt,
yes I see the problem.... not difficult to fix, but it is slightly disappointing that this error must have been there since Meteotemplate v1.0... and considering the number of testers who told me they looked at this page....
anyway, I will make sure it is fixed in v11, I do not see it as something urgent that would require immediate bug fix package released
Thanks for letting me know

No worries, Jachym.  Just thought you'd like to know.
Keep up the good work!

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 21, 2016, 06:36:27 PM
Hi Alessandro,
unfortunately this is exactly why I recommend not to use included scripts from other templates/pages. You included several stylesheets including bootstrap and some other ones and they use same parameter names so it clashes. That is why your image is weired, icons in the menu etc. They have same names as the ones used in Meteotemplate, but different values for them.


Ahhh ok, thank you JAchym....it was a test about Blitzortung script.
Thanks!


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2016, 06:54:46 PM
The icons in the menu are viewed incorrrectly because one of your blocks loads Bootstrap, which uses some similar class names, but with different values.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 21, 2016, 07:32:10 PM
Loving the new plug in and the updates!

Anyone know for sure if Bloomsky is still out?  I still have no image on my webpage.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2016, 07:40:15 PM
Yes it is Jeff, some services are working already, but not the API.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 21, 2016, 07:45:12 PM
Ahhh.  Thanks Jachym.  I was getting confused since I see it on my phone and on their website but the API seems to still be out.  That helps a lot.  I wonder if there is an easy way to set up the block so when there is no image available it says no image available...  Or then again maybe its time to get a regular cam and forget relying on Bloomsky :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 21, 2016, 07:49:49 PM
Well, I guess it would be possible. I will see...And yes, there does seem to be a lot of problems with BS unfortunately...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 11:25:37 AM
Any volunteer to test something? Required advanced knowledge of databases, PHP etc.
Just joking,... I need someone to test something, knowledge of uploading files to FTP required :D
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 22, 2016, 11:56:35 AM
Be happy to help Jachym.

Jack
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 12:05:48 PM
Thanks Jack, I will email you
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 01:04:58 PM
Hello everyone.  Just updated Linux Ubuntu to 16 from 14.  Now cannot get to Block Setup.  Getting an HTTP 500 error that was permissions based from Chrome and a blank page from Safari.  Has anyone else seen something similar?

the blocksetup.php file has www-data as owner/group and I've tried 644, 755 and 777 all to no help.

Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 01:07:58 PM
Can you post the errors you see in the error log?
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 01:41:45 PM

192.168.1.200 - - [22/Nov/2016:12:38:57 -0600] "GET /meteo/admin/index.php HTTP/1.1" 200 12994 "http://weather.parsoli.net/meteo/admin/login.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36"
192.168.1.200 - - [22/Nov/2016:12:38:58 -0600] "GET /meteo/imgs/forecastImgs/weather_bg/scattered3.jpg HTTP/1.1" 200 61873 "http://weather.parsoli.net/meteo/admin/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36"
192.168.1.200 - - [22/Nov/2016:12:39:01 -0600] "GET /meteo/admin/blockSetup.php HTTP/1.1" 500 295 "http://weather.parsoli.net/meteo/admin/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36"
192.168.1.20 - - [22/Nov/2016:12:39:06 -0600] "GET /realtime/conds.php?d=22/11/2016,12:39:05,3.1,72,-1.5,3.3,2.4,158.0,0.0,0.0,1019.5,158.0,2,m/s,C,hPa,mm,--,1020.3,22.8,1470.8,0.0,20.8,30.0,0.7,2.2,3.1,20161122121928,-3.7,20161122002008,18.6,20161122112347,5.6,20161122111722,1022.0,20161122085206,1019.4,20161122120406,3.1,10736,4.7,--,--,--,--,--,136.0,0.0,--,D,--,136.0,--,m,--,09:35,--,--,-- HTTP/1.1" 200 394 "-" "meteobridge"
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 01:59:05 PM
Turned on Debug mode and received this while trying to enter Block Setup:

Notice: Undefined index: metar in /var/www/weather.parsoli.net/public/meteo/scripts/headerMetar.php on line 280

Notice: Undefined variable: returner in /var/www/weather.parsoli.net/public/meteo/scripts/headerMetar.php on line 683

Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/weather.parsoli.net/public/meteo/admin/blockSetup.php:56 Stack trace: #0 /var/www/weather.parsoli.net/public/meteo/admin/blockSetup.php(53): curl_get_contentsBlocks('http://www.mete...') #1 {main} thrown in /var/www/weather.parsoli.net/public/meteo/admin/blockSetup.php on line 56
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 02:51:55 PM
Here is the response from Chrome.  I had to move offices to test that out:

http://weather.parsoli.net/meteo/admin/blockSetup.php

Forbidden

You don't have permission to access /meteo/admin/blockSetup.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Title: Google completely down
Post by: Jáchym on November 22, 2016, 02:59:01 PM
Sorry guys, there is some major issue (I cant check my email)

Google servers are completely down in the entire Central Europe and part of the U.S., already for about 2 hours. Nothing works - Gmail, Youtube, GDrive etc etc.

http://www.praguemorning.cz/google-czech-republic/
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 22, 2016, 03:03:28 PM
Stange i can reach http://google.cz ...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 03:05:21 PM
yes because you are looking from outside central europe. The servers here are down here so i cannot access google.com, gmail, youtube, even ads dont sohw on webpages (googleads)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 03:07:06 PM
Look at the outage map

http://www.praguemorning.cz/google-czech-republic/
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 22, 2016, 03:07:38 PM
Wow thats a long hickup from google !
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 03:11:28 PM
The funniest thing is that there is one other very popular search engine, a Czech one and it crashed too because everyone went there instead :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 03:13:11 PM
It seems like the entire Google DNS is not working so also websites hosted by google are down... Im curious what the cause is, they will surely say once it is fixed, its been going on for about 2 hours already.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 03:14:57 PM
Here is the response from Chrome.  I had to move offices to test that out:

http://weather.parsoli.net/meteo/admin/blockSetup.php

Forbidden

You don't have permission to access /meteo/admin/blockSetup.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

OK this is what I thought, I have seen this error already, you are probably using your own server right? make sure you install the CURL extension on your server, it is needed for accessing external websites (meteotemplate, forecasts, etc.)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 03:17:52 PM
Yay :) We´re back up :D But it was interesting...
http://downdetector.com/status/google/map/
Title: Meteotemplate - Block Update - World Time 2.0
Post by: Jáchym on November 22, 2016, 03:48:16 PM
Block Update - World Time 2.0

Hi guys,

World Time block was updated to version 2.

Changes/new:

- possibility to switch to digital view
- block optimization

Demo can be seen in the block screenshots here: http://www.meteotemplate.com/web/blocks.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 03:58:13 PM
Hello Jachym,

Glad your internet is working.  CURL is in fact installed and functioning on my server.  See example of a CURL to google functioning.

php5-curl is already the newest version (5.5.9+dfsg-1ubuntu4.20).

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


xxxx@webserver:~$ curl -sS http://www.google.com
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, in                                     cluding webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="des                                     cription"><meta content="noodp" name="robots"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="/images/                                     branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image"><title>Google</title><script>(function(){window.google={kEI:'1bA0                                     WIm0GYTXjwSo9LXwDQ',kEXPI:'750722,1351903,3700245,4029815,4031109,4032678,4036527,4038012,4039268,4043492,4045841,4048347,4054590,406266                                     6,4065786,4066195,4066666,4067860,4068550,4069838,4069840,4071842,4072364,4072602,4072773,4073405,4073959,4074597,4076096,4076316,407693                                     1,4076997,4078010,4078438,4078456,4078605,4078762,4079107,4079624,4079894,4079954,4080167,4080272,4080629,4081037,4081039,4081265,408147                                     1,4082217,4082219,4082402,4082446,4082618,4082940,4083281,4083476,4083517,4084029,4084148,4084343,4084349,4084956,4085014,4085769,408601                                     1,4086171,4086707,4087017,4087054,4087170,4087182,4087186,4087717,4087946,4087966,4088033,4088186,8300096,8300273,8502184,8503585,850484                                     6,8504935,8505150,8505152,8505259,8506340,8506398,8506478,8506615,8507380,8507643,8507689,8507846,8507897,8507911,8507973,8508021,850822                                     9,8508338,8508351,8508395,8508421,8508659,10200083,10201956',authuser:0,kscs:'c9c918f0_24'};google.kHL='en';})();(function(){google.lc=[                                     ];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||google.kEI};                                     google.getLEI=function(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return b};google.https=functi                                     on(){return"https:"==window.location.protocol};google.ml=function(){return null};google.wl=function(a,b){try{google.ml(Error(a),!1,b)}ca                                     tch(c){}};google.time=function(){return(new Date).getTime()};google.log=function(a,b,c,e,g){a=google.logUrl(a,b,c,e,g);if(""!=a){b=new I                                     mage;var d=google.lc,f=google.li;d[f]=b;b.onerror=b.onload=b.onabort=function(){delete d[f]};window.google&&window.google.vel&&window.go                                     ogle.vel.lu&&window.google.vel.lu(a);b.src=a;google.li=f+1}};google.logUrl=function(a,b,c,e,g){var d="",f=google.ls||"";if(!c&&-1==b.sea                                     rch("&ei=")){var h=google.getEI(e),d="&ei="+h;-1==b.search("&lei=")&&((e=google.getLEI(e))?d+="&lei="+e:h!=google.kEI&&(d+="&lei="+googl                                     e.kEI))}a=c||"/"+(g||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+d+f+"&zx="+google.time();/^http:/i.test(a)&&google.https()&&(google.ml(Error("                                     a"),!1,{src:a,glmm:1}),a="");return a};google.y={};google.x=function(a,b){google.y[a.id]=[a,b];return!1};google.lq=[];google.load=functi                                     on(a,b,c){google.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};})();var a=window.location,b=a.href.indexOf("#"                                     );if(0<=b){var c=a.href.substring(b+1);/(^|&)q=/.test(c)&&-1==c.indexOf("#")&&a.replace("/search?"+c.replace(/(^|&)fp=[^&]*/g,"")+"&cad=                                     h")};</script><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text                                     -align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{he                                     ight:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c                                      !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}
</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8px 0}td{line-height:.8em}.g                                     ac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}em{font-weigh                                     t:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display                                     :inline-box;display:inline-block;margin:3px 0 4px;margin-left:4px}input{font-family:inherit}a.gb1,a.gb2,a.gb3,a.gb4{color:#11c !importan                                     t}body{background:#fff;color:black}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:#36c}a:visit                                     ed{color:#551a8b}a.gb1,a.gb4{text-decoration:underline}a.gb3:hover{text-decoration:none}#ghead a.gb2:hover{color:#fff !important}.sblc{p                                     adding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#c                                     cc #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0 12px}.lsb{background:url(/images/nav_logo229                                     .png) 0 -261px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:t                                     op}.lsb:active{background:#ccc}.lst:focus{outline:none}</style><script></script><link href="/images/branding/product/ico/googleg_lodp.ic                                     o" rel="shortcut icon"></head><body bgcolor="#fff"><script>(function(){var src='/images/nav_logo229.png';var iesg=false;document.body.on                                     load = function(){window.n && window.n();if (document.images){new Image().src=src;}
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 04:03:34 PM
Found the problem.  For those out there keeping score, Ubuntu php version from 14 to 16 will go from 5.x to 7.0.  CURL for 7.0 needs to be installed  :)

Thanks Jachym for putting me on the right path!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 04:27:34 PM
I wonder why they did that, cURL is so widely used... well good to know.. thanks
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 04:42:09 PM
Yes, so now I could get into the block to edit.  Now when trying to save changes, receiving

Forbidden

You don't have permission to access /meteo/admin/blockSave.php on this server.

Go figure!  Will try to diagnose this later.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 04:44:30 PM
This is a server issue, so Im afraid I cant help you with this.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 22, 2016, 04:51:48 PM
Yes, so now I could get into the block to edit.  Now when trying to save changes, receiving

Forbidden

You don't have permission to access /meteo/admin/blockSave.php on this server.

Go figure!  Will try to diagnose this later.

Any chance you are with Hostwinds? I had the same constant issues until I switched hosts.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 22, 2016, 05:03:23 PM
Nope.  I'm hosting myself. Some work, some do not.  As an example:

WORKS
Current
Gauges
Logo
Earthquakes

DOES NOT WORK/RECEIVE PERMISSION ERRORS
dynamicImage
Forecast

It's as if when you hit the SAVE button, sometimes a new Chrome Tab is spawned and you will get an error, sometimes a new Chrome tab is not spawned and you will get an error.  Or not get an error.

As an example, just added a new Column 1 menuBlock and when clicking SAVE at the bottom, received in a new Chrome tab:

Forbidden

You don't have permission to access /meteo/admin/createHomepageWrite.php on this server.

It's kind of all over the place. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 22, 2016, 06:58:14 PM
I have only very basic understanding of servers and use external web hosting myself so I really don't know
Title: Meteotemplate - New Plugin - Photo Gallery
Post by: Jáchym on November 23, 2016, 08:23:30 AM
New Plugin - Photo Gallery

Hi guys,

this new plugin allows you to create albums and then upload images to them, add image titles, album cover photos, image descriptions etc. and your users can them view them in an interactive slide show, with possibility to set the transition effect, slide show transition interval, image thumbnails etc.

Main features:
- unlimited number of photos and albums
- possibility to add image title and description
- auto creation of thumbnail images
- completely controled via GUI
- image slideshow with over 40 transition effects to choose from
- image grid
- full-screen view
- auto-play
- album cover photos
- supports all JPG, PNG and GIF images
- mobile-friendly (also supports swipe gestures)

The way this works is as follows - when you are logged in to your site as the admin, you will see a link to the admin section at the plugin homepage where you can create/edit/delete the albums and photos. Your users will of course not see this link (and so you will also not see it in the demo obviously :D)

This something I wanted to add long time ago, but having no experience with how file upload works in PHP meant it took me some time to finally give it a try (meaning there could of course be some problems, this is the first time I created something like this and please let me know if something does not work as expected).

DEMO: http://www.meteotemplate.com/template/plugins/photoGallery/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nitrx on November 23, 2016, 09:05:06 AM
Thanks Jáchym nice addition waiting for snow now  =D&gt;

Ron
http://www.apeldoornmeteo.nl/plugins/photoGallery/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 23, 2016, 09:22:02 AM
Nice :-)
We already had our first snow this winter, but it only lasted for two days and melted. Right now it is actually quite warm, daily max around 10°C
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 23, 2016, 10:27:31 AM
Nice :-)
We already had our first snow this winter, but it only lasted for two days and melted. Right now it is actually quite warm, daily max around 10°C
Ahhhhhhhhhh, here +20.1
I hate this warm weather!

Inviato dal mio SM-G900F utilizzando Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 23, 2016, 01:06:22 PM
Thanks Jáchym nice addition waiting for snow now  =D&gt;
Ron

Quite cold here in the northeast USA.  Winds to 50 mph last night.  Three or four inches of snow in the mountains and ski areas are now open.  I skied this morning.  https://www.instagram.com/loonpov/

Bob
Title: Meteotemplate - Plugin Deprecated - Real Earth
Post by: Jáchym on November 23, 2016, 01:39:27 PM
Plugin Deprecated - Real Earth

Hi guys,

the Real Earth plugin is deprecated for several reasons. Please update your menu.php, or if you customized your menu, delete link to this plugin. It is no longer supported and I deleted it from the DEMO page and also Plugins page.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on November 23, 2016, 04:58:58 PM
Awwwwww...I kind of like that page  :sad:

I updated realEarth.js with the content of the current RELoader.js on http://realearth.ssec.wisc.edu/ (http://realearth.ssec.wisc.edu/) and the page works again.  \:D/

I take it there's more to it than that though, eh?

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 23, 2016, 05:58:57 PM
Yes, there is more reasons why I decided to remove this completely.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on November 24, 2016, 08:34:42 AM
Thanks for the "Turkey" Jachym!!!

Happy Thanksgiving to all!!!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 09:57:30 AM
Hello Everyone and Happy ThanksGiving to those in the USA and beyond!

New implementation of Meteotemplate.  Interactive Graph (interactiveGraph), whether a block or within the Menu, is not working.  The block on HomePage just spins in circles.  If I access Interactive Graphs from the Menu, everything is blank.

I change from 1 hr to 24 hrs to months....nothing.  All blank.  I'm running Meteobridge and everything else is working just fine thus far.

Any thoughts?  I'm sure I'm missing some kind of dependency, however the Block settings are only relating to color.

http://weather.parsoli.net/meteo

Thanks,

Steve
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 10:10:31 AM
Hi Steve, there must be something wrong with your database, please PM me your admin password
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 10:10:50 AM
The problem is that the db returns no data
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 10:14:44 AM
Hi there.  Even though I can see historical information, just not in an interactive graph with lines?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 10:23:28 AM
OK I checked it and when I try to view the errors it gives me Forbidden. I suspect it is a problem with permissions. Check the permissions of the "pages/station" directory
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 10:29:51 AM
The permission errors I was emailing with you about two days ago appear to be security related to a WAF (web application firewall) which prevents some things from happening when coming from outside my network.

However, I can access everything needed from the inside.  What are you trying to run?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 10:45:55 AM
OK, then in your main settings, turn on the debug mode right at the bottom and then tell me what is the output of this page:

http://weather.parsoli.net/meteo/pages/station/graphAjax.php?parameter=T&value=all&interval=today&from=2016-11-24%2000:00&to=2016-11-24%2000:00
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 10:49:51 AM
Notice: Undefined variable: returner in /var/www/weather.parsoli.net/public/meteo/scripts/headerMetar.php on line 683

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /var/www/weather.parsoli.net/public/meteo/pages/station/graphAjax.php on line 105
{"name1":"Temperature","name2":"Feels like"}
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 10:54:18 AM
Website is now trashed.  Can I ask what you were doing in there?  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 10:55:30 AM
I didnt touch your website at all, did you turn the debug mode off again?

That error is really strange, it simply gets no data from the db... really odd because I would then assume the other db scripts not to work as well - they use the exact same code!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 10:56:33 AM
Problem is I cant even look at anything, I get forbidden with every page.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 10:59:10 AM
Yup, that is WAF security!  Stops many bad things from happening.  I just disabled it.  Give it a shot now.

The db is readable.  I can edit it via the db options.  Do you think I should wipe it clean and then do another import from WU?  IF so, any script to wipe or should I create a new db?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 11:05:29 AM
Hi,
no, that would be something to consider if the db did not work at all, in this case I really dont see why it is doing this. The error you saw was basically saying that it got 0 records from DB. Strange thing is that for example the station data block which you use uses the exact same code...
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 24, 2016, 11:09:20 AM
Ah, a mystery!  I tested access from outside the firewall.  You should not have permissions errors any more.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 11:22:37 AM
Yes, I dont, but in fact I dont need that any more since you showed me the error, it returns 0 results from the db. Please see my PM.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 12:22:23 PM
OK, problem solved via TeamViewer. Turns out the newset version of MySQL does not like one of the queries in the interactive graphs :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on November 24, 2016, 05:18:09 PM
What version of MySQL and which query did it not like? Might be handy to know for future reference.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 24, 2016, 05:31:42 PM
Did Environment Canada change their forecast page again?
My forecast block is blank and I see Paul's is also http://www.komokaweather.com/j-template/indexDesktop.php!!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 24, 2016, 05:32:49 PM
What version of MySQL and which query did it not like? Might be handy to know for future reference.

You would notice it because the interactive graph would not work at all - block and plugin.
Title: Meteotemplate - Plugin update - Bio Indexes 3.2
Post by: Jáchym on November 24, 2016, 06:08:00 PM
Plugin update - Bio Indexes 3.2

Hi guys,
updated version includes French translation - thanks Sylvain!

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on November 24, 2016, 10:26:45 PM
Did Environment Canada change their forecast page again?
My forecast block is blank and I see Paul's is also http://www.komokaweather.com/j-template/indexDesktop.php (http://www.komokaweather.com/j-template/indexDesktop.php)!!

Bill
Also none of th following are working either
http://wxcalgary.com/meteotemplate/indexDesktop.php
http://www.kerrentweather.ca/meteo/indexDesktop.php
http://www.meteobreakey.com/mt2/
http://www.scadie.com/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Colin on November 24, 2016, 11:19:48 PM
What version of MySQL and which query did it not like? Might be handy to know for future reference.

You would notice it because the interactive graph would not work at all - block and plugin.

That is why I asked. If my hosting company upgrades to the latest MySQL, (5.7 I think is the latest) then my interactive graphs will not work because of the query and I will know which one to fix or does that only apply to those with the latest template?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 25, 2016, 12:26:06 AM
Like Bill says, Meteotemplate EC forecast block not working at the moment.  Saratoga http://www.komokaweather.com/komokaweather-ca/wxforecast.php does work, as does the EC site http://weather.gc.ca/city/pages/on-137_metric_e.html

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 25, 2016, 05:14:20 AM
OK, I guess what we need is an XML or JSON feed that provides the forecast data then. I havent found any that would have all the info the block had, but maybe you know.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 25, 2016, 05:27:25 AM
Something like this:
https://weather.gc.ca/rss/city/mb-38_e.xml

But that would not have the icons and just has a one-line text forecast.
Title: Meteotemplate - updates/new block
Post by: Jáchym on November 25, 2016, 11:39:28 AM
Hi guys, several new things

New Block - Estonia - forecast

Forecast block for Estonia with detailed daily forecast.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastEE

Plugin updates (optimizations): Dew point, Apparent temperature, Forecast Model EU

Just upload the updated/new files and make sure you also update your menu.php.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 25, 2016, 01:38:46 PM
Hey all,

For anyone hosting their own Meteotemplate on Apache.  Often times there is a need (or want) to put your meteotemplate files at the "root" of your Apache file system and not have a /template or /folder.

If you do as Jachym points out, you will have an issue with icons.  The workaround is this:

In your /etc/apache2/mods-enabled folder, you have a file called "alias.conf".  By default, Apache creates an alias to it's own ICONS folder.  If you do not care about this, then you can comment out that line and your Meteotemplate icons will start to work when at the root of your Apache folder.  Just add the # in front of this line and save the file

#Alias /icons/ "/usr/share/apache2/icons/"

Happy hosting!

Parsoli
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 25, 2016, 02:02:08 PM
Hi,
thanks, the problem usually is that about 50% of hosting providers use Linux, the remaining 50% Windows and in some cases you can choose.

However, your solution ONLY works if you have your own server - if your provider uses Linux Apache, you will not be able to do this, which is why it is better to put it in a subfolder. Also, I personally find it better because you can then use the whole domain for other pages, other templates etc. each having a separate folder.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 25, 2016, 02:05:50 PM
Yup, that's why I said "For anyone hosting their own Meteotemplate on Apache"....  Most people will create separate virtual directories to separate their websites from each other.  That's what hosting providers do as well.  And most should be able to solve for your issue of icons and redirection/aliasing.

I've found most hosting providers do not use Windows.  Those that do charge much larger fees due to licensing whereas with Linux, you do not have that problem.

Oh well.  Again, something for you hosters to play with.
Title: Meteotemplate - New Language - Frisian!
Post by: Jáchym on November 26, 2016, 08:26:02 AM
Hi guys,

another language translation is now complete. Meteotemplate is now also available in Frisian! Big thanks goes to Klaas!

You can watch the translation progress on the main translations site:
http://www.meteotemplate.com/web/translations/index.php

16 languages currently have over 90% translated (12 over 99%) and there are 23 languages available already!

Thanks and enjoy!
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 27, 2016, 04:59:16 AM
Hi
Just installed the Photo Gallery plus latest bug fixes and menu update. I have a small problem with the Photo Gallery if I upload any pics that are taken in portrait mode they get changed to landscape mode on viewing
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 27, 2016, 09:23:49 AM
Hmm.. I just tried uploading some portrait photos and it worked perfectly fine. Are you sure they are saved in the portrait mode and they are not auto-rotated by your image viewer? Does this conversion happen when you upload them or when you view them on the view page?
Title: Meteotemplate - block updates
Post by: Jáchym on November 27, 2016, 08:45:01 PM
Hi guys,
two updates:

Block Update - Italy current conditions 1.1
- minor bug fixes

Block Update - Canada - EC Forecast 2.1
- changes reflecting the changes on the EC website, the block is now working again. Just replace the files, no need to delete cache or change settings.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on November 27, 2016, 10:33:12 PM

Thanks Jachym,
ecForecast back to working, and think I am all up to date again with all blocks and plugins.


Paul
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 28, 2016, 03:53:25 AM
Hi Jachym,
how does it possible to insert two or more images blocks in HomePage?
Thank you so much.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 28, 2016, 04:23:11 AM
it appears pics taken on my galaxy s6 phone in portrait mode come out in landscape while pics taken on my camera are in portrait, strange 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2016, 06:58:06 AM
I think I know why.
It is because phones have a gyroscope, which also saves the info about the orientation in which the picture was taken. That info is inside the picture EXIF. Some picture editors can load it and automatically rotate it, but the image is actually still saved in landscape if you see what I mean. So you need to open it in some picture editor, rotate it and save the image rotated.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2016, 06:58:56 AM
Hi Jachym,
how does it possible to insert two or more images blocks in HomePage?
Thank you so much.
Regards,


Alessandro

Hi,
yes but you need to make a new images block, call it for example images2 and also change the block name. Then in your homepage setup use images1 and images2. You cannot have two blocks with the same namespace, that will not work.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on November 28, 2016, 12:23:25 PM
Hi Jachym,
how does it possible to insert two or more images blocks in HomePage?
Thank you so much.
Regards,


Alessandro


Ok. thank you so much.
Regards,


Alessandro

Hi,
yes but you need to make a new images block, call it for example images2 and also change the block name. Then in your homepage setup use images1 and images2. You cannot have two blocks with the same namespace, that will not work.
Title: Meteotemplate - Plugin Update - El Nino 2.0
Post by: Jáchym on November 28, 2016, 12:52:02 PM
Plugin Update - El Nino 2.0

The updated El Nino plugin can now be translated. Version 2.0 already includes French - thanks a lot Steven.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: parsoli on November 28, 2016, 05:11:44 PM
Hello folks,

New template up and running for a few days now.  One thing I noticed is a strange 10 minute drop in temperature.  If you look at the below trend (which is also the same on an interactive graph), that there are a couple of dips of 8-10 degrees F.

However, I can go to Weatherunderground and other sites I send data to and they do not show any drop in temperature.  Any thoughts?

 [ You are not allowed to view attachments ]

From WU:  No drops at same times as on graph
8:59 AM   43 °F   39.9 °F   89 %   SE    9.8 mph   9.8 mph   29.37 in   0 in   0.55 in
9:05 AM   43 °F   39.9 °F   89 %   SE    5.8 mph   11.4 mph   29.36 in   0 in   0.55 in
9:10 AM   43 °F   39.9 °F   89 %   SE    6.7 mph   10.5 mph   29.36 in   0 in   0.55 in
9:15 AM   43 °F   39.9 °F   89 %   SE    6.7 mph   6.7 mph   29.36 in   0 in   0.55 in
9:21 AM   43 °F   39.9 °F   89 %   S    7.4 mph   11.9 mph   29.36 in   0 in   0.55 in
OR
11:21 AM   44.4 °F   42.4 °F   93 %   SW    8.9 mph   9.8 mph   29.3 in   0.03 in   0.59 in
11:27 AM   44.4 °F   42.4 °F   93 %   SSE    8.9 mph   8.9 mph   29.3 in   0.06 in   0.61 in
11:32 AM   44.2 °F   42.3 °F   93 %   SSE    8.9 mph   11.9 mph   29.28 in   0.09 in   0.65 in
11:37 AM   44.2 °F   42.6 °F   94 %   ESE    9.4 mph   9.4 mph   29.28 in   0.12 in   0.67 in
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2016, 05:16:26 PM
This can happen. Stations sometimes send nonsense data, or more often, the update file is corrupted or not transferred properly resulting in nonsense data or spikes. Remember that your WU updates are independent of Meteotemplate updates. Whatever SW you use might send correct data to WU, but the file uploaded to your server can for various reasons be corrupted, incomplete etc. One thing you can do is set your limits in the Main settings to only allow particular range of values which will then ignore such values.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 28, 2016, 05:23:17 PM
it is very hard to see the white color in the picture, but if I see correctly, the spikes drop to 32F, which corresponds to 0C -> i.e. the value was "null", meaning most likely the update file was empty, this can happen if for some reason the server does not save the file, SW sends corrupted file, tags dont get replaced etc.
Title: Meteotemplate - new newsletter issue
Post by: Jáchym on November 29, 2016, 08:29:07 AM
Newsletter

Hi guys,

I just published a new issue of the Meteotemplate Newsletter, in which you will find (as always) info about what is new and updated, as well as some information about what is coming in the future and one important message.

http://meteotemplate.com/blog/?p=1471
Enjoy :)
Title: Re: Meteotemplate - new newsletter issue
Post by: mickopla on November 29, 2016, 04:26:05 PM
Newsletter

Hi guys,

I just published a new issue of the Meteotemplate Newsletter, in which you will find (as always) info about what is new and updated, as well as some information about what is coming in the future and one important message.

http://meteotemplate.com/blog/?p=1471
Enjoy :)

Hi Jachym

I just read your latest blog with the important message at the end. Considering all the work you have put into the project i'm quiet shocked that some people would insult you by donating just 1 dollar. On the other hand i have been in your position somewhat with my previous website where i was trying to get donations just to keep the site alive but not one person donated. I guess its the culture we live in where people want to take take take without giving anything in return.
To the template users who have not donated yet please do so with at least 20 dollars. Its a small price to pay considering how much work Jachym has given to the site and continues to give when any problems arise.
Keep up the good work Jachym and hopefully the takers will give for a change.

Mick
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 29, 2016, 05:12:30 PM
This post is not really related to Meteotemplate as such and I post this as a reply to Mick´s post, so you can skip reading it as it is off-topic.

Hi Mick,

it was an extremely hard decision for me that I had to make yesterday - will I include this in the newsletter or not... trust me if I could I would remove that donate button altogether from the site. My goal is to see other people´s sites and them being happy with it and I must say I really enjoy all the work on it, support as well (probably the only thing I dont like doing is writing documentation :D Its really boring :D).

On the other hand, Im really in a very difficult position. And I will probably have to make even much harder decision in the near future, totally unrelated to Meteotemplate, but rather related to my normal job and my PhD.

My dad actually works as a CEO in one very large company and he offered me help many times, but I always said no thanks. Now you might think Im an idiot, but I know myself very well and I know that that feeling of being completely independent is much more comfortable for me than having the possibility to buy the most recent phone, pc or going on holiday (which I wont go anyway because Im a workaholic :D).

I have explained all the reasons why I want to make absolutely sure, the template, including all plugins, blocks, support etc. remains free of charge.

1. some people really cannot afford paying for it – I want even those to have the possibility
2. my goal is not to make money out of this, but to enjoy working on it and to enjoy seeing other people´s websites
3. making this commercial, even if just for 1 dollar, would make things much more complicated in terms of all licenses for many scripts used in the template
4. implementing the actual payment gate in the page is also not that easy either and I dont even know how to do it and how it would work. (eg. – sending download link only to someone who paid? How do you then prevent them from sending it to other person as a zip file too…)
5. people would look at you totally differently if you sold it compared to when you just offer it. I like to be seen as the one who does this because I enjoy it and because it makes me really happy to see other people´s site. You could say Im not a good businessman, but I think thats not true 😀 I actually am, just that this is not a business for me…
6. taxes – also would be much more complicated
etc etc.

I do not differentiate between someone who did and someone who did not support the site financially. Simply because thats not what I see as the most important thing. It is the attitude of that person. If there was someone who needed a lot of help and I see they really appreciate it or even learn from it, it only makes me want to help them more. In contrast, if someone donated me hundreds of dollars, but was arrogant, I probably wouldn´t be very nice either...

And I have said this here before, this topic is something I really hate talking about, primarily because I also hate when people feel sorry for me. Unfortunately it now got to a point where I had to include it in the newsletter or make some changes in the way I work on MT. The problem is also the fact that even if I now say - ok, I will just leave it for a while and concentrate on other things (which I dont want, simply because I love working on MT), there are still these on-going costs. I know many people, including Ken and Wim, also do this for free and I think it is great that there is such a nice community here on the forum and I wish I could just afford all this myself and not having to post such things, remove PayPal altogether, get a "normal PC" etc. Unfortunately it is true that Im probably younger than most people here and with much less experience and limited possibilities.

Title: Re: Meteotemplate - new free website template
Post by: mickopla on November 29, 2016, 06:13:47 PM
This post is not really related to Meteotemplate as such and I post this as a reply to Mick´s post, so you can skip reading it as it is off-topic.

Hi Mick,

it was an extremely hard decision for me that I had to make yesterday - will I include this in the newsletter or not... trust me if I could I would remove that donate button altogether from the site. My goal is to see other people´s sites and them being happy with it and I must say I really enjoy all the work on it, support as well (probably the only thing I dont like doing is writing documentation :D Its really boring :D).

On the other hand, Im really in a very difficult position. And I will probably have to make even much harder decision in the near future, totally unrelated to Meteotemplate, but rather related to my normal job and my PhD.

My dad actually works as a CEO in one very large company and he offered me help many times, but I always said no thanks. Now you might think Im an idiot, but I know myself very well and I know that that feeling of being completely independent is much more comfortable for me than having the possibility to buy the most recent phone, pc or going on holiday (which I wont go anyway because Im a workaholic :D).

I have explained all the reasons why I want to make absolutely sure, the template, including all plugins, blocks, support etc. remains free of charge.

1. some people really cannot afford paying for it – I want even those to have the possibility
2. my goal is not to make money out of this, but to enjoy working on it and to enjoy seeing other people´s websites
3. making this commercial, even if just for 1 dollar, would make things much more complicated in terms of all licenses for many scripts used in the template
4. implementing the actual payment gate in the page is also not that easy either and I dont even know how to do it and how it would work. (eg. – sending download link only to someone who paid? How do you then prevent them from sending it to other person as a zip file too…)
5. people would look at you totally differently if you sold it compared to when you just offer it. I like to be seen as the one who does this because I enjoy it and because it makes me really happy to see other people´s site. You could say Im not a good businessman, but I think thats not true 😀 I actually am, just that this is not a business for me…
6. taxes – also would be much more complicated
etc etc.

I do not differentiate between someone who did and someone who did not support the site financially. Simply because thats not what I see as the most important thing. It is the attitude of that person. If there was someone who needed a lot of help and I see they really appreciate it or even learn from it, it only makes me want to help them more. In contrast, if someone donated me hundreds of dollars, but was arrogant, I probably wouldn´t be very nice either...

And I have said this here before, this topic is something I really hate talking about, primarily because I also hate when people feel sorry for me. Unfortunately it now got to a point where I had to include it in the newsletter or make some changes in the way I work on MT. The problem is also the fact that even if I now say - ok, I will just leave it for a while and concentrate on other things (which I dont want, simply because I love working on MT), there are still these on-going costs. I know many people, including Ken and Wim, also do this for free and I think it is great that there is such a nice community here on the forum and I wish I could just afford all this myself and not having to post such things, remove PayPal altogether, get a "normal PC" etc. Unfortunately it is true that Im probably younger than most people here and with much less experience and limited possibilities.

Thanks for your reply Jachym, I admire your dedication and work ethic and would hate to see your efforts not being appreciated. From myself thanks for all your efforts and i'm sure i'm not the only one who appreciates what you do.   
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 29, 2016, 06:18:11 PM
No you´re not. And I want to say that since people´s attitude is what I care about the most, Im pretty happy about how probably around 99% of MT  users are.
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 30, 2016, 04:43:14 AM
where do i go to clear out a whole load of junk from my guestbook, somebody seems determined to sell me dubious medical products  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 30, 2016, 05:29:25 AM
If you are logged in as an admin you can delete posts and most importantly, at the bottom you can block an entire IP range to prevent this.
Title: Meteotemplate - Plugin Update - Annual Averages 3.0
Post by: Jáchym on November 30, 2016, 07:07:13 AM
Plugin Update - Annual Averages 3.0

Hi guys,

I updated the annual averages plugin (previously called annual normals, the namespace remains the same).

Changes:

- complete redesign and new code
- plugin optimization - 80% less code, 8 times faster loading time
- new graphs
- bug fixes

DEMO: http://www.meteotemplate.com/template/plugins/yearNormals/

Enjoy

Please note: the default page for this plugin is no longer "normals.php" (you can delete that one), but index.php. This means you should also update your menu.php.
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on November 30, 2016, 11:31:21 AM
where do i go to clear out a whole load of junk from my guestbook, somebody seems determined to sell me dubious medical products  :shock:

Need a way to bulk delete these, must have over 1000 all different ip's going to take me ages one at a time, where are they stored ?, will remove the plugin for the moment
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 30, 2016, 11:43:26 AM
There is a JSON file with these, look at your server in the guestbook plugin folder.
Title: Re: Meteotemplate - new free website template
Post by: NHSkierGolfer on November 30, 2016, 12:19:53 PM
Okay, I am going to be a bit "in your face" about this.  If you haven't supported Jachym then you should.  If you appreciate the hard work he's put into making this a world-class project then send him a donation!  Don't wait to do it.  Do it NOW!

About eight weeks ago I found out about his project and decided to dig in.  I was blown away by the sophistication of his effort.  I've been in the software business for over thirty years and his stuff is about as good as it gets.  Help him our enough so he can at least get himself a new laptop!

Here's a link http://meteotemplate.com/web/donation.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 30, 2016, 12:20:00 PM
If you need help, just go to your plugins/guestbook folder, then find guestbookItems.php and email it to me (jachymcz@gmail.com). I will remove the undesired entries and send it back to you and you will replace the original file with this one.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on November 30, 2016, 12:29:57 PM
Okay, I am going to be a bit "in your face" about this.  If you haven't supported Jachym then you should.  If you appreciate the hard work he's put into making this a world-class project then send him a donation!  Don't wait to do it.  Do it NOW!

About eight weeks ago I found out about his project and decided to dig in.  I was blown away by the sophistication of his effort.  I've been in the software business for over thirty years and his stuff is about as good as it gets.  Help him our enough so he can at least get himself a new laptop!

Here's a link http://meteotemplate.com/web/donation.php

Well thanks Bob, maybe if I could only ask to probably leave this discussion for the blog, I dont think it is really appropriate to discuss here and I want to emphasize again that there are other reasons why I work on Meteotemplate.

Just to name a few:
- I learned how to code - well... of course it is still an ongoing process, I know my code is very messy in some parts and even when I look at what I did a yr ago, when I thought it was already "reasonably ok", I have to laugh and I know I will laugh again in a yr´s time because right now Im just reading a few books about how to structure the code, how to use routers etc. - something I never cared about but as it grows I think there will come a time when the whole thing will have to be completely re-structured to remain managable. I basically want to move from the "it works - great" to "it works, is clean and well structured and can easily be modified or extended"
- I got to know hundreds, yes hundreds of people from all around the world
- if I ever considered a career in IT  :-# even though it is of course not how a programmer would write it, but it shows you are able to learn by yourself and can be used as a portfolio
- the fact it is free (apart from other advantages) shows that the only reason Im doing this is because I really enjoy it
- I already know a few words from languages I havent previously known :D (although I do admit that the Japanese strings Im just adding are a bit beyond what Im able to manage :D :D :D)
- gives you a very good feeling since you know you are making something useful - sort of a way of self-realization
- and it is of course great to see all the various pages people made, are happy about and would otherwise not exist

etc etc.....


and since I already started working on version 11, I can tell you it wont be such major update as version 10, but there will be one major new feature, something that Ive been trying to figure out since version 1 (!), which will significantly extend the possibilities of what you can do as a webmaster :) Hopefully will be ready as a Christmas present sometime later next month
Title: Meteotemplate - Plugin Update - Stickers 5.0
Post by: Jáchym on December 01, 2016, 12:17:48 PM
Plugin Update - Stickers 5.0

Hi guys,

first day of the winter (or summer if you live on the Southern hemisphere), either way, Christmas is not far away. I therefore decided to add a new feature to the stickers plugin. You can now set the type of the interactive sticker to “christmas” and it will show you various Christmas-related sticker backgrounds chosen at random.

In your interactive sticker URL simply set the type to christmas.

DEMOs (if you press CTRL+F5 the images should change to a different one, my server unfortunately caches the image, but yours will update automatically):

(http://www.meteotemplate.com/template/plugins/stickers/stickerInteractive.php?type=christmas&color=black&image=AZ2&shadow=1&border=2&bgColor=000&text=Meteotemplate%20%20%20Brno,%20Czech%20Republic)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 01, 2016, 06:22:51 PM
Hi Jachym,
i'm giving an eye to my plugin pages.

I've seen that Compare data stations doesn't work.
Link: http://newsite.meteocarmignano.it/plugins/stationCompare/index.php

As you can see if i choose Metar, it shows blank page while if ichoose WU it shows a message "no id exist"....but i've insert on plugin setting the id of a nearby station (IPISTOIA16).
Any idea?
Thanks in advance,


Alessandro


P.S.
Also this page doesn't work correctly: http://newsite.meteocarmignano.it/plugins/liveGaugesWD/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 01, 2016, 06:29:43 PM
First check the cache files in that folder to make sure your server is receiveing data. If you have data in the cache file, but blank page, then enable the debug mode in the Main settings and send me any errors you get on the page.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 01, 2016, 06:32:35 PM
First check the cache files in that folder to make sure your server is receiveing data. If you have data in the cache file, but blank page, then enable the debug mode in the Main settings and send me any errors you get on the page.


No data Jachym on cache folder.
Probably because it had 755 chmod permission.
Should i change chmod permission to 777?

I'm in debug mode now, but how to choice this page from menu?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 01, 2016, 06:53:12 PM
Looks like your server doesnt get any data from the external source.

And your gauges dont work because it cannot find the clientraw.txt, look:

Warning: fopen(clientraw.txt): failed to open stream: No such file or directory in /home/byoryrxn/newsite/plugins/liveGaugesWD/clientraw.txt on line 6

Warning: fopen(clientraw.txt): failed to open stream: No such file or directory in /home/byoryrxn/newsite/plugins/liveGaugesWD/dataLoader.php on line 7

It looks like all these issues are related to the fact your server has problems getting data from files and external sources.

Please PM me your admin password, I will check the php configuration from the control panel of Meteotemplate.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 01, 2016, 07:00:47 PM
It looks ok, server settings is ok, so it has to most likely be a problem with permissions.

For example - look at the error in the live gauges. You specified the URL of the clientraw as "clientraw.txt", which corresponds to this:

http://newsite.meteocarmignano.it/plugins/liveGaugesWD/clientraw.txt

And that either does not exist at all or is inaccessible and that is why it does not work.
Title: Re: Meteotemplate - new free website template
Post by: gus on December 01, 2016, 07:03:21 PM
It will be a path issue. The clientraw.txt is located here...
http://newsite.meteocarmignano.it/clientraw.txt

or  ../../clientraw.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 01, 2016, 07:09:14 PM
Thanks Gus, I just tried as well,
in that case Alessandro just change the path to clientraw. Try using the URL directly (http://www.....). That is the easiest way and see if it works. You set it to just "clientraw.txt", but your clientraw is not in the same folder as the plugin.

OT: I see you like the new Christmas sticker Gus :D
Title: Re: Meteotemplate - new free website template
Post by: gus on December 01, 2016, 07:14:10 PM
The new Christmas theme stickers are terrific!  :grin:
Thanks,
Gus
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 01, 2016, 07:20:01 PM
Thanks Gus, I just tried as well,
in that case Alessandro just change the path to clientraw. Try using the URL directly (http://www.....). That is the easiest way and see if it works. You set it to just "clientraw.txt", but your clientraw is not in the same folder as the plugin.

OT: I see you like the new Christmas sticker Gus :D

Thanks guys  :grin:
Title: Meteotemplate - Plugin Update - Evapotranspiration 2.1
Post by: Jáchym on December 02, 2016, 09:54:09 AM
Plugin update - Evapotranspiration 2.1

Hi guys,
I updated the evapotranspiration plugin, please also make sure you update your menu.php, the name of the default page is now index.php, you can delete the original et.php.

Changes:
 - conversion to OOP
 - standardization


DEMO: http://www.meteotemplate.com/template/plugins/et/index.php
Enjoy
Title: Re: Meteotemplate - Plugin Update - Evapotranspiration 2.1
Post by: KapitainOne on December 02, 2016, 10:53:50 AM
Plugin update - Evapotranspiration 2.1

Hi guys,
I updated the evapotranspiration plugin, please also make sure you update your menu.php, the name of the default page is now index.php, you can delete the original et.php.

Changes:
 - conversion to OOP
 - standardization


DEMO: http://www.meteotemplate.com/template/plugins/et/index.php (http://www.meteotemplate.com/template/plugins/et/index.php)
Enjoy

Just downloaded the updated plugin and the new menu.php but the latter still has         if(file_exists($baseURL."plugins/et/et.php")){

typo?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 02, 2016, 11:13:48 AM
Thanks, should be ok now
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 02, 2016, 11:20:25 AM
Thanks, should be ok now

Yup, works as expected :D
Title: Meteotemplate - Block update - Snow 1.3
Post by: Jáchym on December 02, 2016, 06:00:43 PM
Block Update - Snow 1.3

Hi guys,
fix for "this winter" data.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 02, 2016, 06:24:47 PM
Thanks Jachym.
It fixed my problem.
Also I love the Christmas theme on the stickers.
Tom
Title: Re: Meteotemplate - Block update - Snow 1.3
Post by: BfdWx on December 02, 2016, 06:25:12 PM
Block Update - Snow 1.3

Hi guys,
fix for "this winter" data.

Enjoy

That worked well, thanks for the update!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 02, 2016, 07:05:13 PM
Thanks,
it was actually something that I could not get my head around. It was working perfectly fine on my demo page and my test page as well. And I finally figured out the problem... it was because I was lazy :D There used to be a settings file that was different and when I updated the template to v8.0, you surely remember you had to update all your blocks so that you could use the block update feature in the control panel.
All of you updated the block correctly - I didnt :D I was probably lazy, so I just copied the new files, without deleting the redundant ones - and that was exactly the problem, in the script I forgot to change the reference to the new settings file, but since that old one was still there too it worked :D

So another of the very few things I was not able to fix (yet :) can be crossed out :)
Title: Finally upgraded to Banana
Post by: cjohlandt on December 02, 2016, 07:25:58 PM
Jachym,

I finally found the time to upgrade from Pomegranate to Banana.  WOW!!!  I'm still testing everything, but so far it's working great.  The new admin features you added over the last several versions are great and I really like the new Christmas stickers.  Thank you!   =D&gt;

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 02, 2016, 07:27:22 PM
That's great news Chris!
Im glad you like it (funny I personally don't like Christmas at all and will spend it in my office as always :D)
Title: Re: Meteotemplate - Block update - Snow 1.3
Post by: Nephler on December 03, 2016, 05:21:15 AM
Block Update - Snow 1.3

Hi guys,
fix for "this winter" data.

Enjoy

Thanks for this update!
Title: Meteotemplate - Plugin update - History 2.0
Post by: Jáchym on December 03, 2016, 11:49:05 AM
Plugin update - History 2.0

Hi guys,

the updated version includes some optimization, standardization and full localization. Make sure you also update your menu.php, the default page is no longer history.php, but index.php (you can delete history.php).

Enjoy
Title: Re: Meteotemplate - Plugin update - History 2.0
Post by: N0BGS on December 03, 2016, 05:00:29 PM
Plugin update - History 2.0

Hi guys,

the updated version includes some optimization, standardization and full localization. Make sure you also update your menu.php, the default page is no longer history.php, but index.php (you can delete history.php).

Enjoy

Hi Jachym:

I installed the new History plugin but I couldnt successfully query anything from the calendar.  The text file info comes up OK.

Try this for example: http://www.kpw3.com/meteo/plugins/history/history.php?date=20141203 (http://www.kpw3.com/meteo/plugins/history/history.php?date=20141203)

It appears that line 398 of index.php is still referencing history.php

Code: [Select]
url = "history.php?date="+date;},
When I changed that line to reference index.php it works as expected.

Thanks,

--Kurt

(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=christmas)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 03, 2016, 05:18:24 PM
Plugin Update - History 2.1

- bug fixes

Thanks Kurt!

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 05:07:27 AM
Hi Jachym,
is it possible to insert a counter script like shinystat or similar?
If yes, how and which file can i edit?
Thanks.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 07:07:52 AM
You don't need to do that because there is already a visitor counter built in.  Just register an account for Google analytics or if you have a Google account already just activate Google analytics and then insert your unique ID in the main settings
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 08:08:44 AM
Ah ok, but with google analytics doesn't show visitors number on Home Page.

Jachym,
it seems history block doesn't work ..... 2.1 version.
Airquality also....i think.
Could you check please?
Thanks,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 10:18:50 AM
Ah ok, but with google analytics doesn't show visitors number on Home Page.

Jachym,
it seems history block doesn't work ..... 2.1 version.
Airquality also....i think.
Could you check please?
Thanks,


Alessandro

Hi Alessandro,
yes, the "block" does not work, because look carefully, this is update of the history plugin, not block, you need to now download the history block again and replace it. You used script for plugin as a block.

Visitor count:
I have explained this here on the forum before some time ago. Placing a visitor counter on a website is sort of the "internet of the 90s" idea. It is something you should try to avoid if you want your site to look professional. This is something that is important for you as a webmaster (which is why I included Google Analytics), but there is no reason why your users should look at this. Now, lets also be honest - our sites are not getting millions of hits every day, not to mention the fact these scripts will slow down your website.

Sometimes I see these on websites and most of them also cannot even filter out the internet bots. So you then see a page with some local weather conditions from some very small city and any time you look the visitor count shows thousands of visits every day and always at least 30 people online - which of course is nonsense.

So it really tells you nothing - it also depends how you count it, what you count as a new visit - each page opening? Do you cache it? Use user IPs? How long is the interval that you count as "new visit" etc etc.

This link greatly summarizes all the things you want to avoid today:
https://ivycat.com/7-signs-that-your-website-is-stuck-in-the-90s/

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 04, 2016, 10:40:38 AM
Quote
#6: Hit Counter!Hit counters were an easy way webmasters could track visitors back in the 90’s. It was also a way of bragging (read: displaying social credibility) to the masses. “Look at me! I have 3000 hits!”
Not only do hit counters look dated, they give away all of your stats to your competition.
Don’t give your stats to your competition. There are much better ways to track statistics, including Google Analytics (http://www.google.com/analytics/) and, most likely, your hosting account.
If your web designer puts a hit counter on your site, get another web designer. Now.


It doesn't bother me that my competitors get my stats - I don't have any competitors ;) and if I got rid of my we designer I'd just get the same one back again :-$
I do use StatCounter as I like to see where a user is from, when and how often they have visited, and what pages/forum topic they visited - komokaweather.ca/davconvp2CW.php is one of the most visted :-"

Enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 11:08:00 AM
Paul, I think you didnt get my point - yes of course, I also want to know where my visitors are coming from, how many there are, which sites they look at etc etc - that is in fact something you should even aim to do and watch to get better feedback.

However, the point here is - this is for you - not something you display (flashing in an animated GIF :D) on your site. Google Analytics is great for this, it gives you detailed reports, graphs and maps, but you just dont put them on your site publicly.

Trust me it not only is misleading, slows down the page, but looks extremely amateur and outdated.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 04, 2016, 11:32:30 AM
Paul, I think you didnt get my point - yes of course, I also want to know where my visitors are coming from, how many there are, which sites they look at etc etc - that is in fact something you should even aim to do and watch to get better feedback.

However, the point here is - this is for you - not something you display (flashing in an animated GIF :D) on your site. Google Analytics is great for this, it gives you detailed reports, graphs and maps, but you just dont put them on your site publicly.

Trust me it not only is misleading, slows down the page, but looks extremely amateur and outdated.

I agree with you Jachym.  I have seen how this data can be completely misleading and inflated.  In addition, for sites that are not getting a crazy amount of hits, why would someone want to "embarrass" themselves showing only a few website hits a day?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 11:40:53 AM

Paul, I think you didnt get my point - yes of course, I also want to know where my visitors are coming from, how many there are, which sites they look at etc etc - that is in fact something you should even aim to do and watch to get better feedback.

However, the point here is - this is for you - not something you display (flashing in an animated GIF :D) on your site. Google Analytics is great for this, it gives you detailed reports, graphs and maps, but you just dont put them on your site publicly.

Trust me it not only is misleading, slows down the page, but looks extremely amateur and outdated.

:D :D :D +1

I just didnt want to say it that straight :D

I really know about a few pages that any time I look at them show "currently 30 people online" and show weather conditions for some very small town in the middle of nowhere... Even "better" is also including a map, which is then full of dots in Russia, China.....

And as I have mentioned already, if for example I want to double the number of visitors to my site and I want to do it without any "cheating" I can simply half the interval that counts as a new visit. The global standard is 20 or 30 minutes, so if you look at meteotemplate.com twice within 30 minutes you will only be counted once.

In addition, Google Analytics has the most sophisticated bot filtering algorithms and so what you see in your GA is most likely real users.

Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 11:59:29 AM
Ah ok, but with google analytics doesn't show visitors number on Home Page.

Jachym,
it seems history block doesn't work ..... 2.1 version.
Airquality also....i think.
Could you check please?
Thanks,


Alessandro

Hi Alessandro,
yes, the "block" does not work, because look carefully, this is update of the history plugin, not block, you need to now download the history block again and replace it. You used script for plugin as a block.

Visitor count:
I have explained this here on the forum before some time ago. Placing a visitor counter on a website is sort of the "internet of the 90s" idea. It is something you should try to avoid if you want your site to look professional. This is something that is important for you as a webmaster (which is why I included Google Analytics), but there is no reason why your users should look at this. Now, lets also be honest - our sites are not getting millions of hits every day, not to mention the fact these scripts will slow down your website.

Sometimes I see these on websites and most of them also cannot even filter out the internet bots. So you then see a page with some local weather conditions from some very small city and any time you look the visitor count shows thousands of visits every day and always at least 30 people online - which of course is nonsense.

So it really tells you nothing - it also depends how you count it, what you count as a new visit - each page opening? Do you cache it? Use user IPs? How long is the interval that you count as "new visit" etc etc.

This link greatly summarizes all the things you want to avoid today:
https://ivycat.com/7-signs-that-your-website-is-stuck-in-the-90s/


Ok Jachym,
but history block doesn't work?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 12:09:05 PM
Alessandro history block works fine, but I did not update history block, I updated history PLUGIN yesterday. I didnt do anything to the block.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 12:26:04 PM
Alessandro history block works fine, but I did not update history block, I updated history PLUGIN yesterday. I didnt do anything to the block.

Sorry Jachym,
i'm zonked  :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 12:31:32 PM
Alessandro history block works fine, but I did not update history block, I updated history PLUGIN yesterday. I didnt do anything to the block.

Sorry Jachym,
i'm zonked  :grin: :grin: :grin:

No problem, but you now need to re-download the history BLOCK and then use that :-)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 01:31:01 PM
Hi,
i think to have finished my new site.
It's ready to publish the entire site on this domain: www.meteopistoia.it

Last page ...whos-online plugin:

http://newsite.meteocarmignano.it/custom/whos-online.php

Thanks to all but a big thanks to Jachym, you're an amazing person =D&gt; =D&gt; =D&gt;
Regards,


Alessandro


P.S.
Where can i edit information about location? I don't find it  :roll: :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 02:11:45 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.

I still dont understand why you want to use the whos-online plugin. Google Analytics will give you much more options - it will show you number of visitors, which country they came from, how long they spent on your site, which sites are being visited etc.
It is also built-in the template, so it will count visits to all pages of the template, not just homepage and in google analytics you can then view graphs, tables, choose time intervals etc etc. Even real-time values. So Im not sure I get why you want to try implementing a different script, which Im not sure will work because it is likely to clash with other scripts and it will do nothing more than GA can do.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 04, 2016, 02:38:32 PM

Hi Alessandro, you've done a great job to set up to your likes and your available resources =D&gt;
I like it, except for one comment, and it is individual preference - I don't like italic [-X


Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 03:22:08 PM

Hi Alessandro, you've done a great job to set up to your likes and your available resources =D&gt;
I like it, except for one comment, and it is individual preference - I don't like italic [-X


Enjoy,
Paul


Paulllllll, why don't like Italy?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 03:22:31 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.

I still dont understand why you want to use the whos-online plugin. Google Analytics will give you much more options - it will show you number of visitors, which country they came from, how long they spent on your site, which sites are being visited etc.
It is also built-in the template, so it will count visits to all pages of the template, not just homepage and in google analytics you can then view graphs, tables, choose time intervals etc etc. Even real-time values. So Im not sure I get why you want to try implementing a different script, which Im not sure will work because it is likely to clash with other scripts and it will do nothing more than GA can do.


JAchym,
i'll use both ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 03:56:47 PM

Hi Alessandro, you've done a great job to set up to your likes and your available resources =D&gt;
I like it, except for one comment, and it is individual preference - I don't like italic [-X


Enjoy,
Paul


Paulllllll, why don't like Italy?

:D :D :D

No Alessandro... I dont think Paul meant "Italians" :D

Italics in English is this:

this text is in italics

I guess it was unfortunate that you just happen to be from Italy :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 03:58:24 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.

I still dont understand why you want to use the whos-online plugin. Google Analytics will give you much more options - it will show you number of visitors, which country they came from, how long they spent on your site, which sites are being visited etc.
It is also built-in the template, so it will count visits to all pages of the template, not just homepage and in google analytics you can then view graphs, tables, choose time intervals etc etc. Even real-time values. So Im not sure I get why you want to try implementing a different script, which Im not sure will work because it is likely to clash with other scripts and it will do nothing more than GA can do.


JAchym,
i'll use both ;)

 :-k
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 04:02:29 PM

Hi Alessandro, you've done a great job to set up to your likes and your available resources =D&gt;
I like it, except for one comment, and it is individual preference - I don't like italic [-X


Enjoy,
Paul


Paulllllll, why don't like Italy?

:D :D :D

No Alessandro... I dont think Paul meant "Italians" :D

Italics in English is this:

this text is in italics

I guess it was unfortunate that you just happen to be from Italy :D

 #-o #-o #-o
I had a hunch  :grin: :grin:

I'll try other fonts  ;) ;)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 04:06:20 PM

Hi Alessandro, you've done a great job to set up to your likes and your available resources =D&gt;
I like it, except for one comment, and it is individual preference - I don't like italic [-X


Enjoy,
Paul


Paulllllll, why don't like Italy?

:D :D :D

No Alessandro... I dont think Paul meant "Italians" :D

Italics in English is this:

this text is in italics

I guess it was unfortunate that you just happen to be from Italy :D

 #-o #-o #-o
I had a hunch  :grin: :grin:

I'll try other fonts  ;) ;)

You can, but if you like the one you have now use it! This is how I wanted Meteotemplate to be - it is completely up to you to choose how you want it to look like. If you like that font then use it! The template does not have to be the way Paul likes it :D He can put whatever font he likes on his site, but you use the one you prefer :-)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 04:35:40 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.


I didn't find it  :oops: :oops: :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 04:48:36 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.


I didn't find it  :oops: :oops: :oops:

Sorry, it is not at the bottom, it is next to the map in the Main Settings
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 04, 2016, 04:51:08 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.


I didn't find it  :oops: :oops: :oops:

Sorry, it is not at the bottom, it is next to the map in the Main Settings

Hmhmhm,
i'm referred to aboutLocation.php page

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 04, 2016, 04:53:27 PM

Hi Alessandro,
Quote
Paulllllll, why don't like Italy?
That is certainly not what I meant nor wrote.  I like Italy and Italians, we have some former Italians here as our good friends UU
Just like everyone has different colour preferences we also have different font preferences, and like script fonts italics can be hard to read in certain situations.


Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 05:24:25 PM
Hi Alessandro,
the location is set at the bottom in the Main settings.


I didn't find it  :oops: :oops: :oops:

Sorry, it is not at the bottom, it is next to the map in the Main Settings

Hmhmhm,
i'm referred to aboutLocation.php page
This link shows the text from the city you entered in the Main settings. The content of that page is set up in the Control Panel -> Info pages
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 04, 2016, 09:51:06 PM
Guys:

I know everyone hates flash and it has security risks, etc, but if you have a widescreen monitor take a look at this map:

http://www.kpw3.com/meteo/plugins/usRadar/radar2.php (http://www.kpw3.com/meteo/plugins/usRadar/radar2.php)

Try out the controls, too.

This is the best looking North American map I have found. I don't know what the licensing ramifications, if any, are but I really (italics, sorry Paul! :grin:) like that map.

Opinions?

--Kurt

(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=christmas)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 04, 2016, 10:00:38 PM
Maybe,  but when I hear flash I usually don't read any further and I will definitely not consider making this as a general plugin,  sorry... It is a dead end,  very soon
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 04, 2016, 10:10:19 PM
Maybe,  but when I hear flash I usually don't read any further and I will definitely not consider making this as a general plugin,  sorry... It is a dead end,  very soon

No worries, I knew you wouldn't. But I still think it's a great looking map.  I may add it to a custom page or leave it where it is for now.

Why are you still awake at this hour??  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 05, 2016, 05:04:39 AM
I was just about to go to bed, but I never go before 4am
Title: Meteotemplate - Plugin Update - Space Weather 3.0
Post by: Jáchym on December 05, 2016, 12:01:25 PM
Plugin Update - Space Weather 3.0

Hi guys,
just a minor update - localization and optimization. Make sure you update the menu.php, default landing page is now "index.php".

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 05, 2016, 07:38:47 PM
So I just go home thinking how much I will do today and I just learned some idiots at some construction site cut off one of the major internet cables and 90% of the city is offline... and will be at least until tomorrow morning. Im only temporarily connected at 64kb/s via my sister's smartphone, but it is really annoying because I didnt expect this and didnt put the files on my flash disk...
Title: Meteotemplate - Plugin update - Annual Averages 4.0
Post by: Jáchym on December 06, 2016, 07:27:57 AM
Plugin update - Annual Averages 4.0

Hi guys,

I have added a brand new page which shows comparison and averages across months, years etc. using boxplots. You can easily compare different time periods side by side. If you are already using version 3.0 of this plugin, you do not need to update the menu.

The landing page of this plugin (index.php) now shows a selection between the two available pages that are now included in this plugin.

DEMO: http://www.meteotemplate.com/template/plugins/yearNormals/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 06, 2016, 01:49:06 PM
So I just go home thinking how much I will do today and I just learned some idiots at some construction site cut off one of the major internet cables and 90% of the city is offline... and will be at least until tomorrow morning. Im only temporarily connected at 64kb/s via my sister's smartphone, but it is really annoying because I didnt expect this and didnt put the files on my flash disk...

Problem fixed... after 20h of no internet, cable TV etc for the entire half a million city.... some idiot cut off the major optical cable with excavator :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 07, 2016, 01:01:11 AM

Hi Alessandro, you've done a great job to set up to your likes and your available resources =D&gt;
I like it, except for one comment, and it is individual preference - I don't like italic [-X


Enjoy,
Paul


Paulllllll, why don't like Italy?

:D :D :D

No Alessandro... I dont think Paul meant "Italians" :D

Italics in English is this:

this text is in italics

I guess it was unfortunate that you just happen to be from Italy :D

 #-o #-o #-o
I had a hunch  :grin: :grin:

I'll try other fonts  ;) ;)

You can, but if you like the one you have now use it! This is how I wanted Meteotemplate to be - it is completely up to you to choose how you want it to look like. If you like that font then use it! The template does not have to be the wy Paul likes it :D He can put whatever font he likes on his site, but you use the one you prefer :-)

That is what I like about the template, you can change it and display what you want to your own satisfaction. Not only styles and fonts  and that should also apply to other things as like Hit Counters and Whos Online. If you like it and want to have it, then do so, who are we to judge?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 05:08:12 AM
Colin, did I ever say he cannot create a custom block/page with a hit counter? I was just giving recommendations.
Title: Re: Meteotemplate - new free website template
Post by: Colin on December 07, 2016, 06:57:43 AM
Colin, did I ever say he cannot create a custom block/page with a hit counter? I was just giving recommendations.

No Jachym, you did not say that and the recommendations I'm sure were as welcomed as the recommendations you have given me over time.
There are a couple of sites I have mentioned in other posts that I enjoy visiting. Why? Because they are different than the norm and have added a touch of their owners personality. Allessandro has done a remarkable job albeit with a lot of help from you. With his diversion from the basic template, he has created a site with many interesting features.
We do not need to understand why. The answer is simple. Because they can and want to. That should not be discouraged.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 07:09:09 AM
Yes and I like when people customize their sites - if I didnt I probably wouldnt include templates for creating custom pages and the "blank" block :-)

In this particular case I was just pointing out that it might affect the performance of the whole page and included some points to consider before doing so, but there are of course advantages as well. Just that I won´t create any "hit counter" block or plugin myself :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 10:51:54 AM
Hi there group!

I am in need of help.  Jachym has been trying to help but I am at a loss.  I transferred my domain to 1&1.  My original website was completely uploaded to 1&1 and resides in my /Meteotemplate folder.  The domain points to it from the control panel.  The site is not found.  I cannot find or open it.  The index file won't load, I cannot access any folders on the domain.  The only thing that works (and it does work but allows me to navigate to) is linyweather.net/indextest.php (WITHOUT THE "WWW").  Anyone have any experience with this and 1&1?  I am about to just crash the whole thing and start over.

Jeff
Title: Re: Meteotemplate - new free website template
Post by: nitrx on December 07, 2016, 11:03:15 AM
Hi there group!

I am in need of help.  Jachym has been trying to help but I am at a loss.  I transferred my domain to 1&1.  My original website was completely uploaded to 1&1 and resides in my /Meteotemplate folder.  The domain points to it from the control panel.  The site is not found.  I cannot find or open it.  The index file won't load, I cannot access any folders on the domain.  The only thing that works (and it does work but allows me to navigate to) is linyweather.net/indextest.php (WITHOUT THE "WWW").  Anyone have any experience with this and 1&1?  I am about to just crash the whole thing and start over.

Jeff

www is in fact a subdomain you could make a redirect but https://help.1and1.com/domains-c36931/manage-domains-c79822/subdomains-c37588/www-prefix-a713204.html says the www is autoconfigured so I would open a support ticket.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:05:52 AM
Hi there group!

I am in need of help.  Jachym has been trying to help but I am at a loss.  I transferred my domain to 1&1.  My original website was completely uploaded to 1&1 and resides in my /Meteotemplate folder.  The domain points to it from the control panel.  The site is not found.  I cannot find or open it.  The index file won't load, I cannot access any folders on the domain.  The only thing that works (and it does work but allows me to navigate to) is linyweather.net/indextest.php (WITHOUT THE "WWW").  Anyone have any experience with this and 1&1?  I am about to just crash the whole thing and start over.

Jeff

www is in fact a subdomain you could make a redirect but https://help.1and1.com/domains-c36931/manage-domains-c79822/subdomains-c37588/www-prefix-a713204.html says the www is autoconfigured so I would open a support ticket.

I was on the phone with them for an hour.  They insist it is my issue and not anything to do with them.  I am considering wiping it out and just doing a reinstall from scratch.  Maybe the /Meteotemplate is screwing it up and I should move it to the root?

I am not even sure.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on December 07, 2016, 11:14:57 AM
Wow great service ...  :sad: well the source on http://linyweather.net has all from the www this isn't going to work , so maybe you have to create a subdomain www and redirect this with a 301 redirect to http://linyweather.net note you select the right subdir in the setup from meteotemplate , sorry I cant help you any further but hopefully some who is hosting by 1and1

Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 11:19:04 AM
Hi Jeff,
Im at lost because this is not a scripting issue. When I go to your site I get Network Error 502, this is not a script problem, but rather some problem with the routing and redirection. This I guess should be somehow configurable in your hosting cPanel. That link you said should be the only one working does not work for me either.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 11:19:42 AM
Hang on, maybe I know, give me a sec, I will check something
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 11:28:47 AM
It is something to do with the redirect.
When I log in to your FTP I see two folders:
- logs
- www

Inside www is a folder "meteotemplate"

But when I try opening the files at

linyweather.com/meteotemplate/index.php
or
linyweather.com/www/meteotemplate/index.php

Nothing works, it throws a network error, the URL is not pointing to the correct files. Don´t delete anything, the template folder  as such is just fine, so you would only have to do it again. This is something to set up in the 1and1 cPanel.

Tell the support that you have the meteotemplate folder in folder "www" on your server. And ask them to give you the URL to those files. Again, it is not a script issue because if you for example try any of the icons, it also shows not found.

http://www.linyweather.net/meteotemplate/icons/temp.png
http://www.linyweather.net/www/meteotemplate/icons/temp.png

images dont have scripting errors...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:34:10 AM
Thats what I thought.  So it should redirect to www/Meteotemplate correct?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:38:03 AM
It is something to do with the redirect.
When I log in to your FTP I see two folders:
- logs
- www

Inside www is a folder "meteotemplate"

But when I try opening the files at

linyweather.com/meteotemplate/index.php
or
linyweather.com/www/meteotemplate/index.php

Nothing works, it throws a network error, the URL is not pointing to the correct files. Don´t delete anything, the template folder  as such is just fine, so you would only have to do it again. This is something to set up in the 1and1 cPanel.

Tell the support that you have the meteotemplate folder in folder "www" on your server. And ask them to give you the URL to those files. Again, it is not a script issue because if you for example try any of the icons, it also shows not found.

http://www.linyweather.net/meteotemplate/icons/temp.png
http://www.linyweather.net/www/meteotemplate/icons/temp.png

images dont have scripting errors...

When in c-panel - I am able to set the webspace destination.  I had it to /Meteotemplate.  I can also set to /www/Meteotemplate.  I wonder if I should put the site directly in the /www and get rid of the /Meteotemplate.

If anyone wants to log into my cpanel - let me know.  I think I need a drink :(
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:51:19 AM
So I just realized that there is /Meteotemplate and /www/Meteotemplate and I wonder if it is all confused.  Should I delete one of them and leet the other?  I may have screwed it up when I originally uploaded it - I had done so to the root then changed it and now I wonder if I should remove it all and re-upload to /www and start over like that.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 11:56:52 AM
Im really not sure, this can be different for each provider. But we can make it simple.

If your provider thinks there is a problem with the script (which there is not of course, at least the icons would work), then tell them to look on your FTP, they will see the MT directories there so the files physically are on the server. And tell them to give you the URL of any of the images - i.e. a URL, which when I enter in the browser will show me that image. I can then easily deduce the right URL and they cant tell you it is a script issue. Currently none of the URLs I tried works and shows 502 network error for all images etc.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 12:26:09 PM
Im really not sure, this can be different for each provider. But we can make it simple.

If your provider thinks there is a problem with the script (which there is not of course, at least the icons would work), then tell them to look on your FTP, they will see the MT directories there so the files physically are on the server. And tell them to give you the URL of any of the images - i.e. a URL, which when I enter in the browser will show me that image. I can then easily deduce the right URL and they cant tell you it is a script issue. Currently none of the URLs I tried works and shows 502 network error for all images etc.

I totally agree and they are giving me the run-around.  If anyone has 1&1 - what is your folder structure?  Is website in the root?  /www? Elsewhere?  In the c-panel I assume you have the domain pointing to that folder?  I'm thinking it somehow is messed up - obviously and has nothing to do with the script but in the domain setup and my upload.  I'm at work but was thinking of pulling my files off and putting them back on directly from my old host.  Trying to eliminate all my problems.  So frustrated and of course being at work and not able to complete is aggravating.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 12:33:34 PM
Hi,
just dont delete anything, this has nothing to do with any of the scripts, it is only a matter of finding out "which URL" points to the files on the server and they should be able to tell you this. Tell them that all you want is URL to the files you have on your server. If they insist it is a script issue, ask why none of the images work either.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 12:38:59 PM
Ok.  Will call them after work and ask for the "URL to the files on my server".  I agree that regardless of anything else, if I type in the address in my browser it should open the file I am requesting.  The dope on the phone was telling me that if the index file does not work then nothing would work which made no sense!
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 07, 2016, 12:47:51 PM
My site is hosted on 1&1 with two domains

root account is www.billmckenzie.net/ and ALL my weather related things are in a directory called weather under that root.
My other domain www.sanfordweather.com points to the weather directory, and the Meteotemplate is in a directory meteo under that

www.billmckenzie.net --> /
www.sanfordweather.com --> www.billmckenzie.net/weather
www.sanfordweather.com/meteo --> www.billmckenzie.net/weather/meteo

Hopefully that makes sense!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 12:49:00 PM
Yes unfortunately these people at the support usually know absolutely nothing about technical details... this is of course nonsense, index file is in no way related to access to images for example. They are completely separate files.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 06:12:18 PM
Yes unfortunately these people at the support usually know absolutely nothing about technical details... this is of course nonsense, index file is in no way related to access to images for example. They are completely separate files.

Still fighting with them…

I can get to a pic I uploaded by going to linyweather.net/pic.jpg WITHOUT WWW
I can open the index with linyweather.net/indexDesktop.php WITHOUT WWW (but its all screwy)

I don’t think they have any clue…
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 06:16:22 PM
Your homepage looks ok to me, it is now necessary to modify the redirect in your 1and1 cPanel so that it works with www too, but I have no clue how this is done with 1and1.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 07:33:16 PM
Meteo Community - I need your help!

I finally got my website transferred to 1&1.  I am having a real hard time getting weather-display to upload the clientraw to 1&1 (they use sftp).  I updated my wd and now I'm totally screwed.  If there is anyone on her using wd and 1&1 I would really appreciate a few screenshots of how you setup the ftp.  It was working with my previous host but now its broken.  Obviously you can de-identify your specific info but I need to verify I have what is needed and where.  I am getting "host not found" in the log in WD.  I know the ftp address is good as I was able to log in via the web and filezilla.

Please help?  Then I can fix my sql.

I'm at a complete loss.

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 07:36:51 PM
Hi Jeff,
hopefully someone will be able to help, unfortunately I do not have WD so cant help you.
Title: Meteotemplate - Q&A
Post by: Jáchym on December 07, 2016, 07:37:30 PM
Hi guys,

there will be a newsletter next week. In this newsletter I want to include a Q & A section (Questions / Answers). I already have a few questions/answers that I want to include because very often I get asked the same thing several times. I will then also choose some that I think would be useful to include in the FAQ section at meteotemplate.com.

If therefore there is something you want to ask, now is your chance. You can also specify if you are ok with using your first name next to the question or if you want the question to be included anonymously.

And here is the deal:

You can ask me absolutely whatever you want.

And

I will also answer absolutely whatever I want ;-)

Last - please ask via email (jachymcz@gmail.com) and in the subject include "Q&A".
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 07:57:20 PM
Hey Jeff,

So when you think of FTP vs SFTP, you're talking about a service, but a completely different port is used to communicate over that service between client and server.  If you try to access a hostname (which translates to an IP address always because the internet doesn't know what a "name" is) and you aren't hitting the right port, you may get a host resolution error.

Can you SFTP using Filezilla or some other program to the host from your network and make it work?  Meaning, don't use FTP and the typical port but the SFTP port your !&! provider states you must use?  Does WD even support SFTP vs FTP????  That's probably the bigger question.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 07, 2016, 08:00:09 PM
It should be 22
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 08:10:27 PM
Hey Jeff,

So when you think of FTP vs SFTP, you're talking about a service, but a completely different port is used to communicate over that service between client and server.  If you try to access a hostname (which translates to an IP address always because the internet doesn't know what a "name" is) and you aren't hitting the right port, you may get a host resolution error.

Can you SFTP using Filezilla or some other program to the host from your network and make it work?  Meaning, don't use FTP and the typical port but the SFTP port your !&! provider states you must use?  Does WD even support SFTP vs FTP????  That's probably the bigger question.....

WD actually has a checkbox for SFTP
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 09:28:22 PM
That's understandable.  SFTP has a normal port #, just like HTTPS (443) or HTTP (80) does.  However, some people use other ports.  Google is notorious for using different ports for secure TLS encrypted email traffic.

1&1's website states the following.  Are you using SFTP or FTPS?  They are different and use different ports.  FTPS they state is used for windows hosts vs linux hosts.  So if you have a windows host but you're telling your WD to use SFTP, it won't work.

Do you have a log from WD?

SFTP Connection Credentials
In order to connect your webspace you will need the following information:
Host name or server name   The server name provided in the Secure FTP section of your 1&1 Control Panel
User Name   Found in the Control Panel (i.e. u12345678)
Password   Not shown in Control Panel but can be reset
SFTP compatible FTP client   FileZilla, Core FTP Lite, WinSCP, Etc.
SFTP port   22
If you have a Windows Web Hosting package, you should use FTPS instead.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 09:38:37 PM
If you google "weather display" and 1&1 and sftp (ensure weather display is in quotes), you will find a ton of other situations where people couldn't hit 1&1.  Many have to do with repeated attempts with a bad password and getting blocked, blocked ISP addresses, WD config where they used ftp:// or http:// instead of just the hostname of the FTP server and so on.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 10:05:45 PM
If you google "weather display" and 1&1 and sftp (ensure weather display is in quotes), you will find a ton of other situations where people couldn't hit 1&1.  Many have to do with repeated attempts with a bad password and getting blocked, blocked ISP addresses, WD config where they used ftp:// or http:// instead of just the hostname of the FTP server and so on.

Got my Chron jobs going.  All that is left is this damn WD.  it's obviously something stupid.  I can ftp in but not thru wd.  Getting this error...
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 10:07:36 PM
Almost there.....

Shoot me a screen shot of the FTP configuration area.  Where you put in the !&1 info.....
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 10:15:54 PM
Almost there.....

Shoot me a screen shot of the FTP configuration area.  Where you put in the !&1 info.....

This may be in two posts.  Sorry...  This is everything I can find.  I'm working remotely on the PC on team viewer.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 10:16:23 PM
Almost there.....

Shoot me a screen shot of the FTP configuration area.  Where you put in the !&1 info.....

One more
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 10:21:16 PM
Found your problem.  Like I said, host name isn't right

Your config shows an FTP server name staring with FTP.homexxxxxx.xxx.x.x.x

Get rid of the FTP. and start with home658xxxx.xx.x.xx

Note below I tried pinging that host name.  It failed.  If I remove FTP., it works.

Steve$ ping ftp.home658576397.1and1-data.host
ping: cannot resolve ftp.home658576397.1and1-data.host: Unknown host
steves-mbp:~ Steve$ ping home658576397.1and1-data.host
PING home658576397.1and1-data.host (192.195.77.38): 56 data bytes
64 bytes from 192.195.77.38: icmp_seq=0 ttl=50 time=126.728 ms
64 bytes from 192.195.77.38: icmp_seq=1 ttl=50 time=126.114 ms
64 bytes from 192.195.77.38: icmp_seq=2 ttl=50 time=144.901 ms
64 bytes from 192.195.77.38: icmp_seq=3 ttl=50 time=116.285 ms
64 bytes from 192.195.77.38: icmp_seq=4 ttl=50 time=127.907 ms
64 bytes from 192.195.77.38: icmp_seq=5 ttl=50 time=121.347 ms
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 10:41:38 PM
Found your problem.  Like I said, host name isn't right

Your config shows an FTP server name staring with FTP.homexxxxxx.xxx.x.x.x

Get rid of the FTP. and start with home658xxxx.xx.x.xx

Note below I tried pinging that host name.  It failed.  If I remove FTP., it works.

Steve$ ping ftp.home658576397.1and1-data.host
ping: cannot resolve ftp.home658576397.1and1-data.host: Unknown host
steves-mbp:~ Steve$ ping home658576397.1and1-data.host
PING home658576397.1and1-data.host (192.195.77.38): 56 data bytes
64 bytes from 192.195.77.38: icmp_seq=0 ttl=50 time=126.728 ms
64 bytes from 192.195.77.38: icmp_seq=1 ttl=50 time=126.114 ms
64 bytes from 192.195.77.38: icmp_seq=2 ttl=50 time=144.901 ms
64 bytes from 192.195.77.38: icmp_seq=3 ttl=50 time=116.285 ms
64 bytes from 192.195.77.38: icmp_seq=4 ttl=50 time=127.907 ms
64 bytes from 192.195.77.38: icmp_seq=5 ttl=50 time=121.347 ms

WooHoo!!!  Looks like she's working!  Just need to export my old SQL and upload it to my new site!

THANK YOU!!!!!
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 10:47:42 PM
Of course she's working!  the one thing I like to impart on folks is, you don't need a dedicated host for something like meteotemplate or any other small / low transactional website.  You can do this stuff on a spare laptop or an old desktop.  You just need a domain name and either a static IP address or Dynamic DNS capabilities......and you can host all this stuff yourself.

1and1 is ok.  They have their issues but they're cheap.  But you still have to play by their rules.......

I host 6 websites from my house over a cable modem without a static IP address.  Each one of those websites runs on a linux OS hosted on a virtual server(s) running VMware ESXi on (1) physical server packed with RAM.  Easy stuff.

Like meteorology, websites are a hobby.  Play with it.  Make mistakes, break things.....we're all here to help.

Have fun!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 10:49:43 PM
So - the site seems to be up.  Crons are running...  Unfortunately my old host killed my sql access so I have to figure out how to upload my missing data from Weather Display to fill in the last week of data that I am missing.  If anyone knows the best way to do this, let me know.

Thanks to everyone that reached out and helped (especially parsoli!!!).  You are all awesome!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 10:52:27 PM
That sucks about losing the SQL data.  Always back that stuff up.  Suggestion. If you port that data to WU....grab it from them. Easy peasy.  Good luck!
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on December 07, 2016, 10:58:28 PM
So - the site seems to be up.  Crons are running...  Unfortunately my old host killed my sql access so I have to figure out how to upload my missing data from Weather Display to fill in the last week of data that I am missing.  If anyone knows the best way to do this, let me know.

Thanks to everyone that reached out and helped (especially parsoli!!!).  You are all awesome!

Jeff

Looks great Jeff, I like comparing my stats to yours when storms are approaching since I'm just across the pond lol. Glad you got everything worked out! Would WU be of any help with the missing data?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:05:15 PM
So - the site seems to be up.  Crons are running...  Unfortunately my old host killed my sql access so I have to figure out how to upload my missing data from Weather Display to fill in the last week of data that I am missing.  If anyone knows the best way to do this, let me know.

Thanks to everyone that reached out and helped (especially parsoli!!!).  You are all awesome!

Jeff

Looks great Jeff, I like comparing my stats to yours when storms are approaching since I'm just across the pond lol. Glad you got everything worked out! Would WU be of any help with the missing data?

I'm only missing a week.  I prepped the site and figure I would do one last upload after the switch.  I do send to WU and I have to read up on how the database import works since I will only need to add about a week of values.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 11:08:33 PM
Hey, do me a favor and shoot me that water vapor link you're using for North America.....GOES one. thanks!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 07, 2016, 11:15:07 PM

I don't use WD so not sure if this will work;
I take a copy of my monthly data file (Cumulus at 10 minute interval) and delete the data lines for the dates/time I don't need to upload again, and then use Meteotemplate upload function to add that edited file for the missing data to the MySQL.


Enjoy,
Paul
 
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:23:41 PM
Hey, do me a favor and shoot me that water vapor link you're using for North America.....GOES one. thanks!

Here ya go:

http://www.ssd.noaa.gov/goes/comp/ceus/wv-animated.gif

I love it!
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 07, 2016, 11:28:52 PM
Yea, I like that.  I'm not a coder guy.  Is there a block for that?  Or do you input that URL into some other block?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 07, 2016, 11:36:49 PM
Yea, I like that.  I'm not a coder guy.  Is there a block for that?  Or do you input that URL into some other block?

It is using the dynamicimage block


settings.php
$dynamicImageTitle = 'Water Vapor';
$dynamicImageURL = 'http://www.ssd.noaa.gov/goes/comp/ceus/wv-animated.gif';
$dynamicImageUpdateInterval = '60';
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 08, 2016, 05:11:04 AM
OK, great, I see it is now working again now.

Now... with regards to hosting your own server. It has several advantages and disadvantages.

The advantages are obvious:
- no dependency on some external provider
- freedom in terms of what you can do with the server
- possibility to change time limits, memory limits etc etc.

HOWEVER
Disadvantages:
- you have to have the machine running 24/7
- you have to have some knowledge of installing and managing servers as such, i.e. know the basics of commandline, know how to configure the mail server, install MySQL, PHP
- in case you have a problem with any component, it is up to you to fix it, usually via the command line
- and last but not least - you have to be sure you have very stable and fast internet connection

Especially that last point is important. Just this Monday, as I posted here, my entire city was offline because some idiots at some construction site accidentally cut off the major optical cable that goes to the main data center of the major provider here, used by me and 90% of others. It took 20 hours to fix and in that time, nothing worked.

For me, this meant my station was not sending data, so I have a 20h gap in my db, which is not desirable, but not such a big deal. Now, if I was hosting it myself, it would mean that not only my station, but the entire website and meteotemplate.com would be offline. And this is probably the major reason why I would not want my own server - simply because my provider has a much better backups and alternative possibilities of staying online. And if I really needed to configure the server myself and do some more advanced stuff, I always have the possibility to get a dedicated server, my provider even offers dedicated virtual 100% SSD servers - its just that we are talking about "slightly" different monthly fees - however you have to keep in mind that running your own server would also cost you something.
Title: Meteotemplate - Major Server Upgrade
Post by: Jáchym on December 08, 2016, 07:31:14 AM
Hi guys,

up until now, meteotemplate.com (including the site as such, the demo, download pages etc.) was running PHP 5.4. I thought it was time to upgrade to 5.6, which is now the standard, but in the end I decided to go a step further.

Meteotemplate.com now runs completely using PHP 7.0. This is the most recent version of PHP, which is in some functions up to 60% faster - and yes you can even see it, the demo does run significantly faster.

If you have the possibility to upgrade to this PHP version, then I highly recommend you do so. I have not found any problems yet - if you do, please let me know.

The lowest PHP version supported by Meteotemplate 10.0 Banana remains to be 5.4. Version 5.3 only works with Meteotemplate 9.0 and lower. PHP 5.3 is now 7 years old, which in terms of computers is like stone age and web in 2009 looked very different.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on December 08, 2016, 09:49:16 AM
Jachym,

I upgraded to PHP 7.0 about 2 months ago.  No issues with Meteotemplate of Saratoga sites.

Jay
http://jayswoodfurniture.com/wx/
http://www.jayswoodfurniture.com/meteo/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 08, 2016, 09:59:31 AM
Yes, thanks for letting me know, thats good news. I havent found any issues either so far (remember you are probably not using all the available blocks and plugins, which is the case of the demo :D). And it does run faster, i can tell.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 08, 2016, 10:20:58 AM
So - I am now pretty much all up and running again.  Was able to import my missing data.  Next step is to update all my blocks and plugins...

Quick Question - Is anyone having issues with the TidesCurrentUS block?  Mine keeps displaying the incorrect date/time - I did try to change the location...

Dec 31, 1969 07.00 PM

www.linyweather.net
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 08, 2016, 11:19:25 AM
So - I am now pretty much all up and running again.  Was able to import my missing data.  Next step is to update all my blocks and plugins...

Quick Question - Is anyone having issues with the TidesCurrentUS block?  Mine keeps displaying the incorrect date/time - I did try to change the location...

Dec 31, 1969 07.00 PM

www.linyweather.net

Hmm, demo works fine
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 08, 2016, 11:23:05 AM
So - I am now pretty much all up and running again.  Was able to import my missing data.  Next step is to update all my blocks and plugins...

Quick Question - Is anyone having issues with the TidesCurrentUS block?  Mine keeps displaying the incorrect date/time - I did try to change the location...

Dec 31, 1969 07.00 PM

www.linyweather.net

Hmm, demo works fine

Weird - it's fine now.  Odd.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 08, 2016, 11:35:10 AM
It was probably using some outdated cache which was created before you correctly configured your page.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on December 08, 2016, 03:15:28 PM


Especially that last point is important. Just this Monday, as I posted here, my entire city was offline because some idiots at some construction site accidentally cut off the major optical cable that goes to the main data center of the major provider here, used by me and 90% of others. It took 20 hours to fix and in that time, nothing worked.

For me, this meant my station was not sending data, so I have a 20h gap in my db, which is not desirable, but not such a big deal.

If you had your server inhouse no missing data  :grin:
= advantage, no missing data when internet connection is gone.

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 08, 2016, 06:01:27 PM
Well technically speaking yes, it would be advantageous for me, but... Im altruistic :D

Beneficial for me, but not ideal for 336 others :D
Title: Meteotemplate - Plugin Update - Deviations 2.0
Post by: Jáchym on December 09, 2016, 09:54:29 AM
Plugin Update - Deviations 2.0

Hi guys,

I have updated the Deviations plugin. Some graphs (heatmaps) were not working and I also optimized the block, fixed some minor issues and made it load much faster.

Changes:

- added dew point, apparent temperature and solar radiation
- code optimization
- fixed unit formatting
- bug fixes - heatmaps, proper headings etc.
- changed to CDN source
- fixed HTTPS compatibility

No settings required, so just add the new files and you can delete the old ones (indexT etc.). Just delete the whole Deviations plugin directory content and upload the new scripts.

Enjoy

DEMO: http://www.meteotemplate.com/template/plugins/deviations/
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 09, 2016, 10:03:29 AM
Something strange with the deviations plugin, select temp, then select a year other than 2016 and in my case it jumps back to the main page for deviations??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2016, 10:27:20 AM
Hi,
sorry I think I know, try re-downloading the script and only replace the viewData.php
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 09, 2016, 10:55:00 AM
That seems to have fixed it!

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2016, 11:01:06 AM
Great, sorry about that.
Title: Re: Meteotemplate - new free website template
Post by: lrosenman on December 09, 2016, 11:17:09 AM
Quick Query:  I've been having issues getting to meteotemplate.com for a few days both from my site (colo) and my house.

I'm in the Austin Area (TX), and it just seems to hang.

Anyone else having issues?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 09, 2016, 12:09:03 PM
I have no clue why you cannot access it. I tried VPN from several locations via the Free Opera VPN and it all worked.

Does anyone else have any issues accessing meteotemplate.com?
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 09, 2016, 12:31:54 PM
No problem here either, and just tried via a vpn in Texas without any issues either!
Title: Meteotemplate - Block Update - Forecast 2.4
Post by: Jáchym on December 10, 2016, 08:54:49 AM
Block Update - Forecast 2.4

Hi guys,

just a minor update. The block will now automatically hide the select box for the data source if you only enable one data source (in which case there is nothing to switch).

Enjoy

Title: Meteotemplate - Plugin update - Apparent Temperature 2.0
Post by: Jáchym on December 11, 2016, 08:42:53 AM
Plugin update - Apparent Temperature 2.0

Hi guys,

I have updated the Apparent Temperature plugin. The page is now redesigned to save space and be more compact, by default it now shows the current station value and the value itself has a color underlay based on the value.

DEMO: http://www.meteotemplate.com/template/plugins/apparentTemp/index.php

Enjoy
Title: Meteotemplate - Plugin update - Week Days 2.0
Post by: Jáchym on December 11, 2016, 11:14:50 AM
Plugin update - Week Days 2.0

Hi guys,

I have updated the Week Days plugin.

New:

- added colors to the table based on values
- fixed units formatting
- combined temperature/apparent temperature and wind speed/gust into one graph
- added tooltips for icons
- CSS tweaks

DEMO: http://www.meteotemplate.com/template/plugins/weekDays/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on December 11, 2016, 12:41:05 PM
Jachym,

My apparent temperature isn't working.  The temp slider isn't right.

http://www.jayswoodfurniture.com/meteo/plugins/apparentTemp/index.php

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 12:55:30 PM
Yes, I think I know why, please re-download it, I think it was because of the default F units. It should be fine now
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on December 11, 2016, 01:00:56 PM
Yep, that took care of the problem.

Thanks,
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 01:34:49 PM
Great :) Sorry I forgot to test Farenheit units as default :)
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 11, 2016, 04:05:54 PM
Hi Folks,

Anyone else using usRadar Block?  Seeing a couple of the images are stuck on Dec 7th.
http://i.imwx.com/web/radar/us_radar_plus_usen.jpg
http://i.imwx.com/images/sat/ussat_600x405.jpg

Maybe they changed URL??
Title: Meteotemplate - Block Update - Rain 3.1
Post by: Jáchym on December 11, 2016, 04:23:53 PM
Block Update - Rain 3.1

Hi guys,

the updated version of the Rain block should (hopefully finally) be fully compatible with Internet Explorer as well. I spent quite some time with this and used some work arounds so please let me know if it still does not work as expected.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=rain

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 04:36:21 PM
Hi Folks,

Anyone else using usRadar Block?  Seeing a couple of the images are stuck on Dec 7th.
http://i.imwx.com/web/radar/us_radar_plus_usen.jpg
http://i.imwx.com/images/sat/ussat_600x405.jpg

Maybe they changed URL??

LOL, you fix one thing and another one breaks :D Looks like I will have to start from scratch with this one, so it might take some time
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 11, 2016, 05:26:53 PM
How quickly our hobbies become work!  :) 

Thanks Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 05:37:50 PM
Yes... I just recently installed a plugin that tracks the time I spend coding :D

https://wakatime.com/leaders
https://wakatime.com/@Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 05:41:55 PM
Though the above numbers are not just Meteotemplate, I also code as part of my normal job sometimes, creating some internal web applications.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 11, 2016, 05:51:26 PM
Yes... I just recently installed a plugin that tracks the time I spend coding :D

https://wakatime.com/leaders
https://wakatime.com/@Jachym

WOW.  Thats a lot of time!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 05:57:34 PM
Its not just Meteotemplate and at home I dont have this extension installed in notepad++, so it would be a bit more.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 11, 2016, 06:03:24 PM
Its not just Meteotemplate and at home I dont have this extension installed in notepad++, so it would be a bit more.

Either way...  I am impressed.  Thanks for the updates today too.  Working just fine.  Love the Apparent Temp update!
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 11, 2016, 06:23:52 PM
Ok, silly question.  ApparentAir....I have installed it.  Where do I find it on the site?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 11, 2016, 06:27:14 PM
Ok, silly question.  ApparentAir....I have installed it.  Where do I find it on the site?

Menu - Other - Feels Like

Jeff
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 11, 2016, 06:29:07 PM
Not showing up in there.  Only have world time and air traffic in there.....plugin is installed and I can get to it manually inputting the URL,,,,,anywhere else I need to configure it?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 11, 2016, 06:39:00 PM
Not showing up in there.  Only have world time and air traffic in there.....plugin is installed and I can get to it manually inputting the URL,,,,,anywhere else I need to configure it?

When was the last time you updated your menu file?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 11, 2016, 06:47:09 PM
What exactly did you do, I dont see your menu at all  :shock:
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 11, 2016, 06:47:56 PM
Because I just updated it  :)  That's what it needed.  Forgot to do that in a while.

Thanks guys.
Title: Re: Meteotemplate - Block Update - Rain 3.1
Post by: nitrx on December 12, 2016, 03:05:41 AM
Block Update - Rain 3.1

Hi guys,

the updated version of the Rain block should (hopefully finally) be fully compatible with Internet Explorer as well. I spent quite some time with this and used some work arounds so please let me know if it still does not work as expected.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=rain

Enjoy

Hi Jachym thanks for the upfate but all the 3 gauges have the label 'TODAY' instead TODAY MONTH YEAR
hope yo can fix this

Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2016, 07:05:18 AM
Hi,
yes, sorry stupid mistake while copy/pasting...

it should be ok now

Block Update - Rain 3.2

- bug fixes
Title: Re: Meteotemplate - new free website template
Post by: nitrx on December 12, 2016, 07:30:43 AM
Thanks works fine now!
Title: Meteotemplate - Newsletter - Dec 12, 2016
Post by: Jáchym on December 12, 2016, 08:48:24 AM
Hi guys,

in this issue you will as always find information about what has been added/updated since the last issue and the promised Q&A section.

Newsletter: http://meteotemplate.com/blog/?p=1522


All issues: http://meteotemplate.com/blog/?tag=newsletter

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 12, 2016, 09:54:02 AM
Hey all,

Has anyone used Google Analytics against meteotemplate?  I'm getting 39 pages that have links but are getting crawl errors..below are those pages.

I'm playing around with trying to get google searches to show my website higher on the list when someone searches for my city + weather.  Of course, Google puts priorities on websites now that are HTTPS secured.  I tried this once before with Meteotemplate last year but it was rough.

Anyone had any luck?


   
1
plugins/dataDisplay/index.php
404
12/5/16

2
yearly/monthbarometer.php
404
11/27/16

3
yearly/windye5a.php?
404
12/7/16

4
yearly/yearbaromet6a.php?
404
12/5/16

5
yearly/monthbaromet2a.php?
404
12/5/16

6
yearly/graphyrometer.php?
404
12/5/16

7
yearly/windtoday.php
404
11/26/16

8
mobile/pages/other/www.wmo.int
404
12/7/16

9
yearly/barometertod4a.php?w=980&h=400
404
12/5/16

10
yearly/windmon6a.php?w=750&h=370
404
12/7/16

11
yearly/windmon4a.php?w=980&h=400
404
12/7/16

12
yearly/barometertod5a.php?w=1200&h=420
404
12/7/16

13
yearly/rainfalltod4a.php?w=750&h=370
404
12/7/16

14
yearly/barometertod3a.php?w=1200&h=420
404
12/5/16

15
yearly/windmon3a.php?w=750&h=370
404
12/5/16

16
yearly/rainfalltod3a.php?w=750&h=370
404
12/5/16

17
yearly/temptod4a.php?
404
12/7/16

18
yearly/windmon4a.php?w=750&h=370
404
12/7/16

19
yearly/yearra7a.php?
404
12/5/16

20
yearly/graphmtertoday.php?w=980&h=400
404
12/7/16

21
yearly/windmon2a.php?w=1200&h=420
404
12/7/16

22
yearly/monthra4a.php?
404
12/5/16

23
yearly/windmon4a.php?
404
12/5/16

24
yearly/windtod2a.php?
404
12/5/16

25
yearly/rainfalltod5a.php?w=750&h=370
404
12/5/16

26
yearly/temptod5a.php?w=1200&h=420
404
12/5/16

27
yearly/yearra3a.php?w=750&h=370
404
12/5/16

28
yearly/yearra4a.php?w=750&h=370
404
12/5/16

29
yearly/barometertod7a.php?w=980&h=400
404
12/5/16

30
yearly/rainfalltod7a.php?w=750&h=370
404
12/5/16

31
yearly/windmon5a.php?w=750&h=370
404
12/5/16

32
meteo/indexDesktop.php
404
11/30/16

33
pages/other/www.wmo.int
404
11/30/16

34
outlook.php
404
11/27/16

35
yearly/monthrain.php
404
11/26/16

36
yearly/graphmnth.php?
404
12/10/16

37
meteo
404
12/10/16

38
meteo_1
404
12/10/16

39
yearly/graphmlltoday.php?w=750&h=370
404
12/10/16
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2016, 10:06:39 AM
Hi,
your pages could be temporarily unavailable while they were crawled. When I check my GA stats for meteotemplate.com I see no error whatsoever and Meteotemplate currently ranks as number one when searching for weather website template.

I have actually talked about this here on the forum in the past. Google today pretty much ignores all meta tags etc. It is all about the content. There are meta tags included in the template and https does not have such major effect.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 12, 2016, 10:24:17 AM
Hi Jachym,

I not sure about my website being unavailable.  If I try to hit these URL's, they are in fact, not found on the server.  More than likely, it's because you have some code linking to plugins that if uninstalled, are not available as in the example below of:  plugins/dataDisplay/index.php    If I go to meteotemplate.com/template/plugins/dataDisplay/index.php, I see a good page.  However, if someone doesn't have that plugin installed, it will fail.

But each one of these 39 examples does fail to render.  Not a big deal.  Was curious if others have seen this.

My neighbor is an SEO engineer for an online sporting goods manufacturer and has explained quite a few things to me recently.  HTTPS is part of the formula google uses to prioritize.  But of course as you know, nobody knows 100% what is in Google's formula, but this HTTPS one is public knowledge.  Your website being number one is in part due to the fact that you are embedding links to meteotemplate in every single download/installation of meteotemplate.  :)  The more pages that link to yours, the better!  Which is good.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2016, 10:31:11 AM
Im not sure where those links would be included, the menu.php only includes those links that it finds on your server, more likely to be the case that during some update you correctly uploaded the new files, but the old redundant ones remained there.

I think that something that is more likely to lower the ranking apart from https is responsiveness. That has a higher weight than https. Google prioritizes pages that are fully responsive, use bootstrap etc.
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 12, 2016, 10:45:48 AM
Yea, this is a fresh install with no upgrades ever performed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2016, 10:51:25 AM
Looking at the links again - those are absolutely unknown to me, I never created any of those pages and when I run "Find in files" for the entire template, including all block scripts and plugin scripts it did not find a single reference to those. Those names are really odd.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 12, 2016, 10:52:50 AM
Do you use any other template or do you have any other pages on your server? These are not from Meteotemplate, there are no directories such as "yearly", also, I don´t use the word "barometer", I use "pressure" etc. These are not scripts I created.
Title: Meteotemplate - Plugin Update - Tides 1.3
Post by: Jáchym on December 12, 2016, 11:25:26 AM
Plugin Update - Tides 1.3

Hi guys,

thanks to Alan for letting me know, there is a problem with the Tides plugin. Please update it for the graph to display correctly (it will otherwise always work incorrectly in December each year :D).

DEMO: http://www.meteotemplate.com/template/plugins/tides/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 12, 2016, 08:47:49 PM
Hi Meteo Family!

With all the talk of ssl, I was thinking of installing with my 1&1 hosting.  Anyone here use 1&1 and installed their certificate?  Was afraid to do anything and then have to figure out how to fix it.

Best,

Jeff
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 12, 2016, 11:06:15 PM
Hi Folks,

Anyone else using usRadar Block?  Seeing a couple of the images are stuck on Dec 7th.
http://i.imwx.com/web/radar/us_radar_plus_usen.jpg
http://i.imwx.com/images/sat/ussat_600x405.jpg

Maybe they changed URL??

LOL, you fix one thing and another one breaks :D Looks like I will have to start from scratch with this one, so it might take some time

Hopefully, I've saved you some time.  (To be precise this is for the plugin not the block--same URLs, though)

This page has what I believe are the new correct weather.com map URL's...I hope!  :grin: http://www.kpw3.com/meteo/plugins/usRadar/radar2.php (http://www.kpw3.com/meteo/plugins/usRadar/radar2.php)

Apparently they've done away with the soil moisture map.

--Kurt
Title: Meteotemplate - Block Update - Radar U.S. 6.0
Post by: Jáchym on December 13, 2016, 07:11:06 AM
Thanks Kurt I really appreciate your help, though I did have an update ready already yesterday.

Block Update - Radar U.S. 6.0

Update to get up-to-date images again. Current version no longer works.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarUS
Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 13, 2016, 09:14:14 AM
Hi Jachym,
is it possible to make the eartquake map no mouse scroll?
Because it's a bit fastidious to scroll down the page when map is in full-page mode.
Link: http://newsite.meteocarmignano.it/plugins/earthquakes/index.php


Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 13, 2016, 09:25:22 AM
Hi,
yes technically it is possible, but you would then not be able to zoom the map. What I could do is slightly reduce the width of the map so that there are small sections on the side, which can be used for scrolling up and down the page.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 13, 2016, 09:44:08 AM
Hi,
yes technically it is possible, but you would then not be able to zoom the map. What I could do is slightly reduce the width of the map so that there are small sections on the side, which can be used for scrolling up and down the page.
ů

Great!
I'll try.

Other question:
Where is this link: http://newsite.meteocarmignano.it/pages/station/reportMonthly.php?date=2016/11 on menu?
Thanks!



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 13, 2016, 09:51:17 AM
Under reports
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 13, 2016, 10:08:20 AM
Under reports

It was a bad traslation  ;)
Fix all.
Thanks Jachym :)

Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 13, 2016, 11:03:39 AM
Sorry guys, one more change, thanks to Steve for letting me know.

I updated the Radar US block, there is one minor bug fix.

Enjoy
Title: Meteotemplate - Plugin update - Year Comparison 3.0
Post by: Jáchym on December 13, 2016, 12:40:09 PM
Plugin update - Year Comparison 3.0

Hi guys,

I updated the Year Comparison plugin. New version now includes graphs, not just tables and I also standardized the naming of the pages so make sure you update your menu.php and you can delete the comparison.php.

DEMO: http://www.meteotemplate.com/template/plugins/yearComparison/index.php

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: gand on December 13, 2016, 03:27:45 PM
Hi Jachym

Thanks fort the plugin.

You still have a reference to comparison.php in index.php. So when you choose another date, it will not work.

Rgds
Gert
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 13, 2016, 03:33:59 PM
Thanks Gert,
fixed
Title: Re: Meteotemplate - Plugin update - Year Comparison 3.0
Post by: droiddk on December 13, 2016, 05:41:42 PM
Plugin update - Year Comparison 3.0

Hi guys,

I updated the Year Comparison plugin. New version now includes graphs, not just tables and I also standardized the naming of the pages so make sure you update your menu.php and you can delete the comparison.php.

DEMO: http://www.meteotemplate.com/template/plugins/yearComparison/index.php

Enjoy!

You:

(http://www.clipartkid.com/images/48/of-1-math-illustration-number-math-wizard-magic-color-clip-art-xo5UJV-clipart.png)

 :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 13, 2016, 06:20:33 PM
It's not magic :D Its mostly PHP, jQuery, Highcharts, Ajax, CSS and HTML :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 13, 2016, 09:15:29 PM
It's not magic :D Its mostly PHP, jQuery, Highcharts, Ajax, CSS and HTML :)

And a little bit of wizardry...
Title: Meteotemplate - Plugin Update - NWS Warnings 2.0
Post by: Jáchym on December 14, 2016, 09:18:28 AM
Plugin Update - NWS Warnings 2.0

Hi guys,

the updated version has redesigned left section. The original scrolling news were very hard to read and work with. I also changed the name of the plugin landing page from nws.php to index.php as part of the standardization process, so please update your menu.php as well.

DEMO: http://www.meteotemplate.com/template/plugins/nwsWarnings/index.php

Enjoy
Title: Re: Meteotemplate - Plugin Update - NWS Warnings 2.0
Post by: jeffm5690 on December 14, 2016, 08:57:33 PM
Plugin Update - NWS Warnings 2.0

Hi guys,

the updated version has redesigned left section. The original scrolling news were very hard to read and work with. I also changed the name of the plugin landing page from nws.php to index.php as part of the standardization process, so please update your menu.php as well.

DEMO: http://www.meteotemplate.com/template/plugins/nwsWarnings/index.php

Enjoy

Thanks!  Works much smoother...
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on December 15, 2016, 04:57:43 AM
Am getting the following error when selecting the month or day tag on the apparent Temp plugin any update on this
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 15, 2016, 05:22:03 AM
Plugin Update - WU forecast 1.0

Naturally I am kidding  :grin: :grin: :grin:
But this is my new Wunder page: http://newsite.meteocarmignano.it/custom/wunderground.php


Regards,


Alessandro

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 15, 2016, 06:35:45 AM
Hi,
nice, but it is pretty much the same as the block and in fact - I intentionally tried to avoid using WU for the built-in forecast page in the template (Outlook), because look on this forum, it is more often not working than working... unfortunately WU has become extremely unreliable and for example Brian in his PWS template is now also getting rid of it - for a very good reason...
Title: Meteotemplate - Plugin Update - City Conditions 2.4
Post by: Jáchym on December 15, 2016, 10:45:47 AM
Plugin Update - City Conditions 2.4

Hi guys,

I updated the City Conditions plugin.

Changes:

removed pressure values (Yahoo has been reporting nonsense since March so there is no point in waiting any longer)
CSS tweaks
improved caching mechanism
standardization
Please update your menu.php as well, landing page is now index.php. Also note, it can sometimes take quite long for the page to load, this is because Yahoo is sometimes very overloaded and there is not much we can do about it.

DEMO: http://www.meteotemplate.com/template/plugins/cityConditions/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 15, 2016, 11:19:23 AM
Hi Jachym,
i've set another custom page to compare Wxsim to Weather Underground temperatures.
I've seen that fonts used it's too clear....can i make it more black or i should change main font on the template settings?
Link: http://newsite.meteocarmignano.it/custom/forecastcompare.php
Thanks in advance.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 15, 2016, 11:26:14 AM
Hi Alessandro,
unfortunately when you include foreign scripts like this these things are likely to happen and I cannot really help you with this. I can only provide supports for scripts that I know. I have no clue what you have done, how the script looks like and what you are trying to achieve.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 16, 2016, 10:59:44 AM
Hi Alessandro,
unfortunately when you include foreign scripts like this these things are likely to happen and I cannot really help you with this. I can only provide supports for scripts that I know. I have no clue what you have done, how the script looks like and what you are trying to achieve.


Fixed!
Nothing is impossible....just put this code "font-weight:900;" in every td style on forecast-compare file  \:D/ \:D/
Link: http://newsite.meteocarmignano.it/custom/forecastcompare.php
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 16, 2016, 11:25:35 AM
Ok good.
Title: Meteotemplate - Block Update - Station Data 3.1
Post by: Jáchym on December 16, 2016, 12:06:38 PM
Block Update - Station Data 3.1

Hi guys,

the updated version includes improved unit formatting.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationData

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 16, 2016, 07:33:07 PM
I just thought I will stay a bit longer in my office tonight after Im done with my normal job and tried again something Ive actually been trying to do for over 2 yrs now and then... (yes thats not a joke, I was trying to do this even before I created MT and only had my own site). And it looks like it works!!! Finally!!! Im so excited that Im still sitting here in my office (2AM here :D) and working on it. I think you will love this too and some first examples should be available soon as a plugin.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 16, 2016, 09:20:56 PM
I just thought I will stay a bit longer in my office tonight after Im done with my normal job and tried again something Ive actually been trying to do for over 2 yrs now and then... (yes thats not a joke, I was trying to do this even before I created MT and only had my own site). And it looks like it works!!! Finally!!! Im so excited that Im still sitting here in my office (2AM here :D) and working on it. I think you will love this too and some first examples should be available soon as a plugin.

This sounds very cool - always nice to make progress!  Can't wait!
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on December 16, 2016, 09:23:47 PM
Very excited to see what you've come up with!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 16, 2016, 09:33:40 PM
Right,  3.30, time for dinner,  it might still take a few days,  but I can now build on it and use it in practically every plug-in or page
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 17, 2016, 08:18:01 AM
Lots of new users recently and today also the first user who is located behind the arctic circle :) Interestingly, it is actually much warmer there than here currently :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 17, 2016, 10:13:55 AM
Lots of new users recently and today also the first user who is located behind the arctic circle :) Interestingly, it is actually much warmer there than here currently :D

Time to update the users file!
Title: Re: Meteotemplate - new free website template
Post by: parsoli on December 18, 2016, 10:23:46 AM
Hello Folks, especially Jaychm.  So I've posted on this before and need some fresh ideas. What appears to be very randomly, I will get spikes in my temp to 32 deg F on my MT.  I use Meteobridge and if I look at it's interface, it does not report any such spike.  If I look at my uploads to WU, there also is no such spike in temp or as you'll see dramatic decrease in dew point.  When I get these spikes (it's a spike because it's been that cold here!), the numbers are almost always the same.  32deg F and -169 below dew point.

Below are some screenshots.  As you'll see today I recently had a spike.  However, I had two spikes in the early morning hours that I already removed in database edit.  Sometimes I can go days without this anomaly.  Some days, I will get multiple hits.

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 18, 2016, 10:38:45 AM
Hi
yes this sort of makes sense, 32°F is equivalent to 0°C, which means "null". What actually happened (most likely) is that temporarily either MB had no signal from the station, or the file was incomplete, in both cases it would result in the temperature as being either absent in the input or invalid. That means "null" and because unfortunately 0 is a valid value for temperature, it also converted it to dewpoint and that is where those numbers come from (32°F etc.).

The likely cause of this is therefore temporary communication problems between either PWS and MB or MB and server.

Im not really sure how to help you in this case because there are already limits and ranges of accepted values, temperature is obviously a problem because if it is reported as 0 it cannot be simply taken as invalid, because it is sensible.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 18, 2016, 11:34:38 AM
Jachym,

Thanks for the early Christmas gift!  Can't wait to install it!  I have a few days off over the holidays.  I want to try and create my own block that would add the "flu" data from the CDC.  I have had people ask about the flu outbreak data.  There is not only and embed option, but xml available.  I'll see how I can do this.  Any suggestions?

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 18, 2016, 11:42:46 AM
If there is XML it is relatively easy to make a PHP script to parse it. XML or JSON is ideal.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 19, 2016, 06:31:57 AM
Actually the CDC has a great feature called "Widgets".  They do this for all sorts of things such as viral outbreaks, mosquito issues, etc.  So for the flu they say to embed the code below and the map will constantly update. 

<div data-cdc-widget="FluView"></div><script src="https://tools.cdc.gov/1M1B"></script>

Never tried this but will see about messing around with a block - not sure if it should be in a dynamic image block or something else though.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 19, 2016, 07:00:11 AM
Hi,
you can try, though these embedded scripts can often clash with other stuff on the site so using the XML and processing that directly would be a more elegant solution.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 19, 2016, 07:04:27 AM
Hi,
you can try, though these embedded scripts can often clash with other stuff on the site so using the XML and processing that directly would be a more elegant solution.

OK - I will look at some of your other blocks and try to do something.  It will be my first but who knows!
Title: Re: Meteotemplate - new free website template
Post by: dementor4842 on December 20, 2016, 10:36:35 AM
Hello every one. First i want to congrats all users for the pulgins and the help on this site.

I install the script on my server, i set all of que configurations, but its missing turn the station on... And here i need some help.

I read that for the station on we need to have a software to send de data files to the script right? i make the downloads of two programs the Cumulus and the Weather display... But im not able to make the seethings....

Some one have a tutorial or can help me?

Thks every one
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 20, 2016, 12:01:38 PM
Have you followed all the set up instructions, including the correct link to your current (i.e. realtime.txt) file and the data upload and cron job to your MySQL database>?

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 20, 2016, 12:05:15 PM
Hi Paul,
I have already helped David with the page as such, the problem is not setting up the template, but setting up some SW - he does not have any realtime or clientraw at the moment, once that is on the server it is not a problem for me to set it up for him, but right now, as far as I understand it, his station was not connected to a PC and he just downloaded WD and Cumulus and thats where he needs help.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 20, 2016, 12:21:21 PM
Quote
and he just downloaded WD and Cumulus and thats where he needs help.
Sorry I can't help on WD, but Cumulus - maybe :)

Paul
 
Title: Re: Meteotemplate - new free website template
Post by: dementor4842 on December 20, 2016, 03:46:18 PM
Quote
and he just downloaded WD and Cumulus and thats where he needs help.
Sorry I can't help on WD, but Cumulus - maybe :)

Paul
 

Hello Paul. Thks for the reply... i accepet your help... what can i do first?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 20, 2016, 04:00:02 PM
Quote
Hello Paul. Thks for the reply... i accepet your help... what can i do first?
Some basic information on what you already have and have done, and what issues encountered will help - see PM

Paul

Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 21, 2016, 07:28:33 PM
Hi Jachym,
i've just transfered all data to my new domain meteopistoia.it
Unfortunately i've this error while it connect to my db:

Error: Unable to connect to MySQL.
Debugging error number: 1045
Debugging error: Access denied for user 'dvjfcnae'@'localhost' (using password: YES)


Any ideas?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 21, 2016, 07:31:56 PM
Hi Jachym,
i've just transfered all data to my new domain meteopistoia.it
Unfortunately i've this error while it connect to my db:

Error: Unable to connect to MySQL.
Debugging error number: 1045
Debugging error: Access denied for user 'dvjfcnae'@'localhost' (using password: YES)


Any ideas?
Regards,


Alessandro

Sorry Jachym,
all it's ok now :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 21, 2016, 07:48:04 PM
OK, you always need to make sure that you not only create a new user but also assign this user to the particular database.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 03:57:42 AM
Hi Jachym,
i need your help.

As you know i've transfered all data to a new domain.
All works as it should except History and station data blocks.
Any ideas?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 06:11:19 AM
Hi,
if you say something "does not work" without any further information then Im afraid I really cant help. You need to say what exactly does not work, what is the result, provide a screenshot or at least URL etc.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 06:14:23 AM
Hi,
if you say something "does not work" without any further information then Im afraid I really cant help. You need to say what exactly does not work, what is the result, provide a screenshot or at least URL etc.

 :grin: :grin: :grin:
You're right.

So, i've transfered all data to my new account www.meteopistoia.it
Link to clientraw.txt works as it should here: http://www.meteopistoia.it/clientraw.txt

All data in interactive graph, station data and station status blocks are stopped at 0.13am.
Link to my new home page: http://www.meteopistoia.it

Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 06:19:25 AM
Hi,
first thing to check is the cron job. Simply run the URL you have for your cron job in the browser and see what the result is. Check if the page updated when you did that and check if you see any errors on the update page. If the page updates, it means your CRON job is not working.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 06:32:14 AM
Hi,
first thing to check is the cron job. Simply run the URL you have for your cron job in the browser and see what the result is. Check if the page updated when you did that and check if you see any errors on the update page. If the page updates, it means your CRON job is not working.

I'm totally forgetting this part.....which is the cronjob string?
Is it possible that in previously portal i haven't any cronjob active?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 06:59:02 AM
No, you need cron job to update your site, unless you are using Meteobridge
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 07:03:21 AM
No, you need cron job to update your site, unless you are using Meteobridge

I've red another time tre instrucion.
Ok, i've seen where is the cronjob....in WD.
Now it should be ok.

is it possible to edit min temp for today?
If yes, where?

Thank again Jachym!
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 07:27:24 AM
Yes, Data editing in the control panel
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 08:29:40 AM
Yes, Data editing in the control panel




Inviato dal mio SM-G900F utilizzando Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 10:01:11 AM
(https://cdn.pixabay.com/photo/2013/07/12/15/40/present-150291_960_720.png)

Coming soon....

One more clue.... the upcoming template update will reflect my relationship with the template :-)

Those of you who can read between the lines may already know what it will be called, if so, keep it for yourself :)
Title: Meteotemplate - Block update - Summary 5.1
Post by: Jáchym on December 22, 2016, 12:02:32 PM
Block Update - Summary 5.1

Hi guys,
just improved styling for the light version of the homepage.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 22, 2016, 12:11:32 PM
(https://cdn.pixabay.com/photo/2013/07/12/15/40/present-150291_960_720.png)

Coming soon....

One more clue.... the upcoming template update will reflect my relationship with the template :-)

Those of you who can read between the lines may already know what it will be called, if so, keep it for yourself :)

I don't want to give it away but I think Meteotemplate 11 "Obsession" sounds more like a brand of perfume.   :lol:

Merry Christmas to all!

--Kurt

(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=christmas)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 12:17:09 PM
Oh damn... now Meteotemplate 11.0 Obsession is not a secret anymore  :twisted:
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 22, 2016, 12:19:15 PM
Oh damn... now Meteotemplate 11.0 Obsession is not a secret anymore  :twisted:

 :grin: :grin: :lol: :lol: :-P =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 01:08:23 PM
Hi Jachym,
two questions.

First: I've tried to change this setting:

(http://i.imgur.com/afc5EzB.png)

But the new url inserted doesn't saved from template....it returned as before.

Second: I would upload a sitemap to google....is there a sitemap of the template?
Thank you in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 01:13:53 PM
Hi,
Question 1: I dont know where your image is on your server, so I cant tell you what the right path is
Question 2: No, unfortunately there is no built-in site map in the template
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 01:28:29 PM
Hi,
Question 1: I dont know where your image is on your server, so I cant tell you what the right path is
Question 2: No, unfortunately there is no built-in site map in the template

About question 1....i would change webcam/pistoia.jpg to ../pistoia-cached.jpg
I insert this link but it doesn't save it.

question 2: why not to create an automatic sitemap.xml?

Thanks again.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 01:33:12 PM
Because everyone´s template is different. You have different combination of plugins, people have their custom pages etc
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 01:35:31 PM
Because everyone´s template is different. You have different combination of plugins, people have their custom pages etc


Opsss, you're right but what about a sitemap of the original template?
All custom pages will be add every time from single users ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 01:42:46 PM
Then it is no longer automatic and would have to be created by users anyway. Plus, I add pages to this and it would have to be often updated and last - vast majority of users does not use Webmaster Tools from google and it is in my opinion not important anyway. If your page is well structured, Google will understand it correctly. Look at meteotemplate. Google Meteotemplate and you will see it has all the sections correctly in the search results and I never used any sitemap myself.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 01:48:50 PM
Nothing to do Jachym,
same thing with forecast block.

I would set WU as default forecast but it remains wxsim.
What can it be?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 01:50:23 PM
Make sure you have correct permissions so that the settings file can be overwritten.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 01:54:16 PM
Make sure you have correct permissions so that the settings file can be overwritten.


Maybe you have found the reason.
Which file in particular?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 02:00:06 PM
All the block folders must have "write" permissions because you need to be able to save/overwrite your settings.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 02:05:45 PM
All the block folders must have "write" permissions because you need to be able to save/overwrite your settings.

CHMOD 777?
I've set it 755
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 22, 2016, 02:39:22 PM
All the block folders must have "write" permissions because you need to be able to save/overwrite your settings.

CHMOD 777?
I've set it 755

NEVER 777 on your website files!  That makes them world writable.

In your meteotemplate folder try something like:
Code: [Select]
chown -R apache:yourUserName *
chmod -R 775 *
In the above example on my own site I use my FTP account name after apache.

--Kurt

Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 03:05:46 PM
All the block folders must have "write" permissions because you need to be able to save/overwrite your settings.

CHMOD 777?
I've set it 755

NEVER 777 on your website files!  That makes them world writable.

In your meteotemplate folder try something like:
Code: [Select]
chown -R apache:yourUserName *
chmod -R 775 *
In the above example on my own site I use my FTP account name after apache.

--Kurt

Thanks Kurt but i'm a newbie about apache  :sad: :sad:

Anyway, i've already set to chmod 755 but this issue remains.
(http://i.imgur.com/V31Ob46.png)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 22, 2016, 04:20:02 PM
You need 755 set from public_html down.  Since the picture displays in webcam/pistoia.jpg why not just leave it there?

I guess I don't exactly understand what you are trying to do.

--K

(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=christmas)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 05:11:41 PM
You need 755 set from public_html down.  Since the picture displays in webcam/pistoia.jpg why not just leave it there?

I guess I don't exactly understand what you are trying to do.

--K

(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=christmas)

I would change webcam image with another one but block settings doesn't allow this change....i don't know why.
I would change file image because pistoia.jpg doesn't have weather value below the image while this one: http://www.meteopistoia.it/pistoia-cached.jpg yes ;)

Same thing about foreast block.
I would change default forecast from Wxsim to Wu but nothing change after saving settings.
(http://blob:http://imgur.com/72af1adf-6233-45ed-81b4-d2fcc4d29a53)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 05:22:00 PM
Hi,
we need to check if this is the problem.

First - go to your server, go to your blocks folder and then find the block you are trying to change, for example the forecast one. There will be a file called settings.php. Open it in some text editor and look what is inside.
Then go to your page, make some change in that block setting and look again if the values in the settings.php changed. If it is the same it means your server does not let the file to be overwritten.
In such case, try deleting the settings.php and then set up the block again and save the changes. Then again check the settings.php which should be there again now and look if it has the new settings.
If yes, it means the problem is in overwriting the settings file
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 22, 2016, 05:54:40 PM
Quote
First - go to your server, go to your blocks folder and then find the block you are trying to change, for example the forecast one. There will be a file called settings.php. Open it in some text editor and look what is inside.
Then go to your page, make some change in that block setting and look again if the values in the settings.php changed. If it is the same it means your server does not let the file to be overwritten.

It is the same :(


Quote
try deleting the settings.php and then set up the block again and save the changes. Then again check the settings.php which should be there again now and look if it has the new settings.
If yes, it means the problem is in overwriting the settings file

Yes, settings file is re-created after saving settings on portal.
Now, it works also with overwritten!

I've noticed another thing. When i push save button, no pop-up appear with "Settings saved".
After it has recreated file....pop-up show again with "Settings Saved"!.

Keep in mind that i have upload all files from old server to this new one through Filezilla client.....chmod problem from all block folders?

Title: Re: Meteotemplate - new free website template
Post by: vreihen on December 22, 2016, 06:15:42 PM
Oh damn... now Meteotemplate 11.0 Obsession is not a secret anymore  :twisted:

Since you said that you cannot name a template version after your favorite fruit (apples) for obvious reasons, I am going to go out on a limb and guess that Version 11 will be Jackfruit.  Rajka seems appropriate as a future template name, and wouldn't confuse us dumb Americans.  :lol:

FWIW, the image that you posted is being flagged at the source for being linked from on off-their-site location.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 06:19:45 PM
Well you will see :)

Hopefully today
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 06:20:06 PM
And dont forget Im CET time ;)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 22, 2016, 06:56:11 PM
Well you will see :)

Hopefully today

Damn.  Now I need to stay up and wait 😁😁😁😁
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 06:59:41 PM
I see... so you got inspired by me and want to pull out an all-nighter? :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 22, 2016, 07:08:30 PM
I see... so you got inspired by me and want to pull out an all-nighter? :D

I have this thing and always feel the need to be first lol...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 07:10:56 PM
LOL, its up to you, just a little word of warning.... it could be in over 22 hours ;)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 22, 2016, 07:18:56 PM
LOL, its up to you, just a little word of warning.... it could be in over 22 hours ;)

Maybe I'll sleep early then lol
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 22, 2016, 07:24:33 PM
Yes, learn to sleep quickly, its great :)

Now seriously, I still need to finish one last thing and then hopefully compile the update file today during lunch break in my office. Im actually surprised I managed to finish it before Christmas given how hectic this week was in my work.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 22, 2016, 07:29:09 PM
Yes, learn to sleep quickly, its great :)

Now seriously, I still need to finish one last thing and then hopefully compile the update file today during lunch break in my office. Im actually surprised I managed to finish it before Christmas given how hectic this week was in my work.

Well, your passion and dedication is always appreciated!
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 02:49:56 AM
Morning guys,
Jachym have you got an idea to solve my problem? (About overwritten settings)
Thanks again.. I'll await your Christmas surprise :D


Inviato dal mio SM-G900F utilizzando Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 06:58:18 AM
Hi,
I thought you said the problem was solved and you have the new settings working
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 09:22:13 AM
Hi,
I thought you said the problem was solved and you have the new settings working


Yes, but i should delete and re-create every setting files for every block  :shock: :shock: :shock:
If there was another method it would be better  :lol: :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 09:26:31 AM
there is no other method, if your server does not allow rewriting files regardless of permissions then how else do you want to change the settings if it cannot be saved
Title: Meteotemplate 11.0 Passion Fruit!
Post by: Jáchym on December 23, 2016, 09:32:21 AM
(http://i68.tinypic.com/15n1wcy.png)

Hi guys,

first of all I would like to wish all of you who celebrate Christmass Merry Christmas and a happy new year to all of you.

As a little present from me you get a new version of the template - Meteotemplate 11.0 Passion Fruit. This version includes some minor bug fixes, but most importantly - one major new thing - the menu. The menu was something that was bothering me for quite some time. The problem was that it was quite complicated to customize it and once you did you were no longer able to use the default menu.

Well now this is all different. Wouldn´t it be nice if you could create/delete menu tabs via the control panel directly? Set tab icons, insert your own links, set the link order, tab order just be dragging and dropping the tab in the browser, insert separators, headings, custom icons, or even a flashing "new" text next to newly added items? If the answer to these questions is yes then you will like version 11.

Update this time is very simple, however it might take you some time to actually create your new menu. After you update the template you will need to set up the menu the way YOU like it.

Before we move on let me emphasize one absolutely crucial thing - IT IS ABSOLUTELY ESSENTIAL THAT YOU READ THE INSTRUCTIONS ABOUT HOW TO USE THE MENU IN THE UPDATED WIKI PAGE!

Custom menu

The menu looks similar to the original one, but now you can rearrange the tabs using drag & drop, rearrange the links, use your custom icons, insert separators, insert flashing "new" symbol next to new items just be including "(new)" string in the link etc etc. After you finish the update process (copying the new files), you must go to the wiki, which now includes updated section about the menu and includes detailed instructions how to proceed. I have also included examples to make it easier for you.

SVG icons

Another major change is that I have converted all the icons from PNG to vector SVG objects. This update does not yet implement this, for now, only the menu will use this, however, in the next version update I will probably update all the pages, and this now also allows me to start updating the blocks and plugins and change the original PNG icons to these new SVG ones loaded from the template.

What are the advantages of using SVG over PNG? First of all speed, the SVG sprite loads much faster than the icons as PNG. Second, the icon can be enlarged indefinitely, it is not a raster object, so when you make it larger, it will still look sharp and not be pixelated. And last, it behaves as a font, which means I no longer have to include each icon in two versions (black, white). I can simply set any color to the icon, even based on your color scheme set for the template (blue, red, green....). In the future when I update or create a new block, it will use these and no icons folder is necessary.

Server Check

This is something for new users, in the main settings right at the top is now a new function which allows you to check that your server supports the most important functions necessary to install Meteotemplate. If you are already using the template this probably will not have much effect, but I have also included some improved debugging features in the settings files, so everyone can benefit from this.

Bug Fixes

I have fixed several bugs in various parts of the template (station pages etc.).


I hope this further enhances the customization possibilities of the template and allows you to really create a page that looks exactly the way YOU like it, without needing to know how it all works in the backend or ever seeing the code as such! You can already see the new menu in the DEMO, which has been fully updated to version 11.0.

Instructions about how to update are as always in the blog.

Enjoy!

P.S. First person to do the update please let me know it worked fine for you.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 09:34:09 AM
there is no other method, if your server does not allow rewriting files regardless of permissions then how else do you want to change the settings if it cannot be saved


Ok Jachym,
i'll ask to my isp about that.

Other two questions:

I've a Let's encrypt certificate installed on my server but if i go to https://www.meteopistoia.it there is a blank page.
Is it possible to redirect all site content to an https protocol?
Like this? window.location = "https://meteopistoia.it/indexDesktop.php";

Last question.
Is there a possibility to avoid enlarge image (when i click on it) on dynamicImage block?
Because my webcam resolution is 640 X 480 and if i click on image the quality goes lost!
Link: http://www.meteopistoia.it/indexDesktop.php

Please let me know for both questions.
Thanks a lot.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 09:36:36 AM
Question 1: you must discuss this with your provider, the way your https works and the structure of the server has nothing to do with the template and is nothing I can really do
Question 2: yes you can disable it, do you want to completely disable zoom or just make it popup smaller?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 09:53:29 AM
Question 1: you must discuss this with your provider, the way your https works and the structure of the server has nothing to do with the template and is nothing I can really do
Question 2: yes you can disable it, do you want to completely disable zoom or just make it popup smaller?

Question 1: I've already discussed with my ISP and he has told me that the problem is in the code of the template  :???: :???:
He told me of changing this code:  window.location = "indexMobile.php" with window.location = "https://meteopistoia.it/indexDesktop.php" it should be works.

Question 2: Just a popup smaller like the image resolution ;)


Jachym,
thanks for your christmas present, really a great job specially about the customizable menu  =D&gt; =D&gt; =D&gt;
I'll try it as soon as back to home.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 09:55:53 AM
In the dynamicImageBlock.php

lines 84,85:

Code: [Select]
dialogHeight = screen.height*0.9;
dialogWidth = screen.width*0.9;

The 0.9 means the image is zoomed to 90% of the monitor size, so change it to something lower to make it smaller, for example 0.5.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 10:02:53 AM
In the dynamicImageBlock.php

lines 84,85:

Code: [Select]
dialogHeight = screen.height*0.9;
dialogWidth = screen.width*0.9;

The 0.9 means the image is zoomed to 90% of the monitor size, so change it to something lower to make it smaller, for example 0.5.


Thanks Jachym ;)
So, about Let's script, nothing to do?
Is there anyone has installed Let's script with meteotemplate?
Have you installed it on your server?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 10:04:20 AM
Hi,
no, I have no idea what Let´s encrypt is or how it works, the link in the index.php corresponds to whatever you put in your main settings, as I said, i have no idea how you configured your server, what is running http and what https.

I myself do not use https because it is too expensive, my provider only allows this with certain certificates and they are not cheap so I have no experience with this
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 10:22:12 AM
Hi,
no, I have no idea what Let´s encrypt is or how it works, the link in the index.php corresponds to whatever you put in your main settings, as I said, i have no idea how you configured your server, what is running http and what https.

I myself do not use https because it is too expensive, my provider only allows this with certain certificates and they are not cheap so I have no experience with this

Yes but Let's script is free!!
Try it!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 10:37:27 AM
It is known to cause problems with my provider and I cannot afford experimenting with this and having my page down. For meteotemplate.com https is useless so for now I do not consider this.
However I know that at least 3 users use meteotemplate with https and so I know that it works with https.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2016, 11:03:05 AM
Updated tp v11, so far so good =D&gt;

Now to start on the menu!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 11:06:22 AM
Yes, I understand it might take a while, the update as such is very fast and easy, but remember that once you do this, you will now never lose your settings again. The menu items and order is now saved separately from the actual menu.php and it was always problematic with the previous menu because I was the one who chose which link goes where and many people would do it differently - which was possible, but only via changes directly in the code and not very intuitively.
The SVG icons should now also make everything much easier, for blocks, plugins etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 11:07:39 AM
Yes, learn to sleep quickly, its great :)

Now seriously, I still need to finish one last thing and then hopefully compile the update file today during lunch break in my office. Im actually surprised I managed to finish it before Christmas given how hectic this week was in my work.

Well, your passion and dedication is always appreciated!

This post made me laugh yesterday, Im glad you appreciated the new version Passion Fruit Jeff, my guess is that it was without even knowing it right? :D
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 23, 2016, 11:09:57 AM
Jachym,
Merry Christmas to you and thanks for the update.
I have it running and it was easy to upgrade.
The menu is easy to do once you get the hang of it.
I still have work to do on the menu but it's working fine.
Thanks again for all your hard work.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 11:12:09 AM
Just in case you wanted to work "backwards" - i.e. instead of adding items to the menu you wanted to delete the ones that you don´t want, Im attaching the menu settings I used for the DEMO site, which has all the available plugins implemented so it is something to get you started if you want.

What you need to do is copy the two attached text files into admin/menu/ folder.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 23, 2016, 11:30:23 AM
Jachym,
Using those two files makes it even easier. You can set up the menu very quickly using them.
Thanks,
Tom
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2016, 11:30:50 AM
Just in case you wanted to work "backwards" - i.e. instead of adding items to the menu you wanted to delete the ones that you don´t want, Im attaching the menu settings I used for the DEMO site, which has all the available plugins implemented so it is something to get you started if you want.

What you need to do is copy the two attached text files into admin/menu/ folder.

That made it easier, now I've got a working example to play with!

Thanks for all the work you've put into this over the past year!!

Bill
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on December 23, 2016, 11:56:37 AM
Passion Fruit up and running, Thanks Jachym!
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on December 23, 2016, 01:00:44 PM
Jachym,

I just installed the new template and am working on the menu.  After creating the default I checked the menu and it says it is missing all the default pages.  They are there.  I haven't adding anything yet.  I'm sure I missed something.

Jay

http://www.jayswoodfurniture.com/meteo/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2016, 01:07:13 PM
I just check my page and it's showing the same as Jay

Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 23, 2016, 01:09:48 PM
Probably not a bug but perhaps unexpected behavior...on the menuTabs.php page if I click the rename icon, then change my mind and click cancel, cancel, cancel on each additional popup it changes the name of the tab to 'Null" rather than leaving it as it was. Easy enough to change back, but ...???

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 01:09:51 PM
I see the problem, I think I know what is causing it. Try re-downloading the update package and then only replace admin/menu/menuCheck.php, I just made some changes there
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 01:11:55 PM
Probably not a bug but perhaps unexpected behavior...on the menuTabs.php page if I click the rename icon, then change my mind and click cancel, cancel, cancel on each additional popup it changes the name of the tab to 'Null" rather than leaving it as it was. Easy enough to change back, but ...???

--Kurt

Thats unfortunately how these stupid prompts behave
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on December 23, 2016, 01:16:36 PM
Jachym,

No change in the check menu list.  Still showing default not installed.

Jay
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2016, 01:18:18 PM
Jachym,

No change in the check menu list.  Still showing default not installed.

Jay
Pull the new file from the complete v11 download, that one works!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 01:21:19 PM
Strange, I updated both the update and the full template. There is just one other typo in the guestbook, I used "guestBook" instead of "guestbook", just update the menu.php from the Downloads page and make sure your link in the menu definition is "guestbook"
Title: Re: Meteotemplate - new free website template
Post by: tstorm on December 23, 2016, 01:22:59 PM
The Default Pages shows correctly - All default pages are included in your menu :) but it says that my default menu is missing plugins which is not the case.

Thanks for the Christmas present.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 01:24:29 PM
I think it is clashing with the "new" word, it might miss some. Just make sure you have them and ignore it for now. I will release a fix for it, but it is not a major issue so I will wait to see if all the rest works fine and update this in a few days as a bug fixes package. It should not affect functionality in any way.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 23, 2016, 01:34:19 PM
I reloaded menuCheck.php from the full download and it works fine.
Tom
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on December 23, 2016, 01:34:41 PM
Jachym,

I downloaded the full package and copied the admin/menu/menuCheck.php from there and it now works.  Now to add the plugins.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 01:36:34 PM
I think it still might miss some plugins if you use the "new" word, it gets most of them correctly so if you see some which you have in the menu just ignore it for now. Also update your menu.php from the Downloads page, I made one modification.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 01:39:22 PM
I am in my office now and will be at work tonight very long because I want to have free day tomorrow so I will look at the menuCheck again tomorrow, it is not affecting functionality so you can use it even in the current state.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2016, 01:40:34 PM
I have not yet done any new download after these latest discussions because having some issues:
The Mobile page loads reasonably - maybe slightly slower than v10
The index and indexMobile load extremely slow - 90 sec just to show any response on the screen and over 2 minutes to load fully.  Maybe it is because I have not yet completed the menu set up?  where do I find this "menu setup" The very first step is to go to your Meteotemplate control panel and click the menu icon, which will get you to the menu setup page.
When loaded the page shows an Admin tab that has the Main setup and the other Blocks and Plugins, etc. the same as v10 but haven't found the Menu setup.

Paul
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on December 23, 2016, 01:43:49 PM
Paul,
Hit the admin button on lower right corner.  Then under administration is the menu button.
Tom
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 23, 2016, 01:44:54 PM
Other than on initial login, or by clicking the login icon a second time after being logged in, there does not seem to be any way to get back to admin/index.php
other than hitting the back button in my browser.  Perhaps a link to admin/index.php on the Admin drop down, or do I need to add that myself?

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 02:00:54 PM
I didnt see any point in adding extra link because you can always get there from any site via the footer
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 02:01:26 PM
I have not yet done any new download after these latest discussions because having some issues:
The Mobile page loads reasonably - maybe slightly slower than v10
The index and indexMobile load extremely slow - 90 sec just to show any response on the screen and over 2 minutes to load fully.  Maybe it is because I have not yet completed the menu set up?  where do I find this "menu setup" The very first step is to go to your Meteotemplate control panel and click the menu icon, which will get you to the menu setup page.
When loaded the page shows an Admin tab that has the Main setup and the other Blocks and Plugins, etc. the same as v10 but haven't found the Menu setup.

Paul

Paul that is strange, the issue discussed above is just a very minor thing that in fact has absolutely no effect on anything.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 02:04:29 PM
Paul I tried your site and it loaded practically instantly and with the new menu.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 23, 2016, 02:07:49 PM
Paul I tried your site and it loaded practically instantly and with the new menu.

If you haven't already done so Paul, try clearing your browser cache.

--K
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2016, 02:11:01 PM
Thanks Tom,
I have been using the Admin tab for all my updates, edits, etc. and forgot there is a separate and different Admin button at the bottom :oops: .  I've now used the default menu setup.  The page now loads much better than earlier but still 2 to 3 time slower than v10 and maybe my connection is slower today.

Now back on trying to understand the new menu.  I had been using the v10 default except for a some additional tabs and pages which I had highlighted in the former menu.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 02:13:18 PM
Paul your page loads at least as fast as it used to. Im still in my office so I can look :D
Title: Re: Meteotemplate - new free website template
Post by: tstorm on December 23, 2016, 02:17:22 PM
Now it's trying to figure out how I add plugins and custom scripts which I created on my own to the menu. I've read the wiki but still confused.  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 02:37:20 PM
Hmm, I really dont know how to explain it better, I think the wiki is actually quite detailed and shows you examples.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on December 23, 2016, 03:09:04 PM
Hmm, I really dont know how to explain it better, I think the wiki is actually quite detailed and shows you examples.

Figured it out.  Instructions are written clearly  =D&gt;.  I typed in an incorrect url #-o
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 03:19:48 PM
 8-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 23, 2016, 03:31:52 PM
Everything looks great.  A few "odd" things.  Even though I have menu default pages (ie. statisticsT) it still shows as missing on the menuCheck....  There are a bunch like that.

Also - Maybe me but in plugins - it shows guestbook in lower case, but only when guestBook is used will it show.

Otherwise love it!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 03:52:00 PM
I addressed the guestbook issue above, I also updated the menuCheck.php, i will make sure it is now correct
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 03:54:09 PM
I re-uploaded the update file, it should be ok, replace the admin/menu/menuCheck.php.

Guestbook: it must be lowercase in the menu setup "guestbook" and then just download the updated menu.php from the Downloads page and it will work fine
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 23, 2016, 04:01:38 PM
I re-uploaded the update file, it should be ok, replace the admin/menu/menuCheck.php.

Guestbook: it must be lowercase in the menu setup "guestbook" and then just download the updated menu.php from the Downloads page and it will work fine

So I am still seeing this:

Your menu is missing the following default pages:
currentData
interactiveGraph
interactiveTable
intervalSummary
reports
trends
statisticsT
statisticsA
statisticsD
statisticsH
statisticsP
statisticsW
statisticsG
statisticsR
statisticsS
statisticsDay
statisticsNight
rainSeasons
history
calendar
outlook
globalMap
metar
climateMap
climateIndices
moonPhase
sunTimes
astroCalendar
solsticeEquinox
asteroids
dayNight
aboutLocation
aboutPage
aboutStation
links
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 04:17:34 PM
Im lost, it works on my server... just ignore it, it is not important
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 04:23:15 PM
OK, try one more time... I hope it is ok now, looks like a failed FTP transfer when I was updating the file
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 23, 2016, 04:29:02 PM
OK, try one more time... I hope it is ok now, looks like a failed FTP transfer when I was updating the file

PERFECT!!!  Thanks Jachym and Merry Christmas :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 04:33:10 PM
Hi,
great!

Merry Christmas to you too. Im looking forward to it because Im still in my office right now and Im almost done with what I wanted to finish meaning I dont have to go here tomorrow and I dont have my part-time job tomorrow either so I can spend the whole day working on Meteotemplate :-) As Ive mentioned already, Im not a big fan of Christmas, my parents are divorced, Im not a kid anymore and I dont have a family myself yet so it is more like just a day off for me :) And a nice present for me is that the update seems to be working fine :) Only my server is going to hate me because it is probably having a hard time now looking at Google Analytics and number of downloads/visitors :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2016, 05:02:42 PM
Question, when I open the "Weather Station" Menu tab I see the wrong icon for my station.

I had followed the Wiki on earlier versions of the template to change it but can't find where to change in v11

The icon showing seems to be that of WH1080 and I'm using a Davis....

Not a big deal but would like to change it.
Title: Re: Meteotemplate - new free website template
Post by: semtex on December 23, 2016, 05:06:54 PM
Hi Jáchym

please check the plugin "DIARY"

return this error

The requested URL /plugins/diary/index.php was not found on this server.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 05:12:29 PM
Question, when I open the "Weather Station" Menu tab I see the wrong icon for my station.

I had followed the Wiki on earlier versions of the template to change it but can't find where to change in v11

The icon showing seems to be that of WH1080 and I'm using a Davis....

Not a big deal but would like to change it.

Hi,
this is most likely because you use the default menu. What you need to do is click the "rename" tab and just use the same name (weather station) and namespace (weatherStation), but for the icon, use the name of the one you want to use from the Meteotemplate font set. Just like if you were creating a new tab.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 05:15:58 PM
Hi Jáchym

please check the plugin "DIARY"

return this error

The requested URL /plugins/diary/index.php was not found on this server.

Hi,
thanks for letting me know, it should be fixed now, just update the menu.php from the Downloads section. Sorry about that.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on December 23, 2016, 05:16:48 PM
Question, when I open the "Weather Station" Menu tab I see the wrong icon for my station.

I had followed the Wiki on earlier versions of the template to change it but can't find where to change in v11

The icon showing seems to be that of WH1080 and I'm using a Davis....

Not a big deal but would like to change it.

Hi,
this is most likely because you use the default menu. What you need to do is click the "rename" tab and just use the same name (weather station) and namespace (weatherStation), but for the icon, use the name of the one you want to use from the Meteotemplate font set. Just like if you were creating a new tab.

Too easy, had not tried that as I didn't think it would let me reuse the same name!

Thanks
Title: Re: Meteotemplate - new free website template
Post by: semtex on December 23, 2016, 05:24:14 PM

Quote
Hi,
thanks for letting me know, it should be fixed now, just update the menu.php from the Downloads section. Sorry about that.

Thanks for the great work !!!
all perfect !!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 05:28:35 PM
I also fixed the wxSim link, that one was not correct either. I missed it because I dont have WxSim myself so it is not installed in the demo. The current menu.php should be fine... this is why I was trying to update and standardize as many plugins as possible to prevent this :D Obviously I didnt manage to do it with all of them before Christmas, which is when I wanted to release this.
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on December 23, 2016, 06:53:16 PM
Ho ho ho, I have stuffed something in the Meteotemplate stocking, enjoy Jachym!

I appreciate your passion for constantly improving the user experience and for making it possible for me to actually have a weather website without learning web coding/design!

Merry Christmas!

By the way folks should anyone else want to send a bit of Christmas cheer Jachym's way please use Paypal's "Send money to friends and family" where you can pay to an email acct (it's jachymcz!gmail.co with of course the '@' instead of a '!').

If you just use the Donate button he loses like 25% of the funds.   If you use the "Send money to friends and family" you pay like a few cents for the fee and he gets 100% of the donation....  Much more effective for maximizing your contribution.

If you use the template and never contribute please consider doing so.   It's a great public service he's offering for free and yeah it's free for you maybe but not for him!!

P.S. Jachym is giving me some backchannel grief for soliciting donations on his behalf and wants it to be clearly stated this is all my doing and he did not put me up to it which he most certainly did not!   

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 06:59:29 PM
Thanks Terry, yes it is passion, literally :D
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 07:06:42 PM
Hi Jachym,
but should i insert all plugins in new menu manually?  ](*,) ](*,)
 
Your menu is missing the following installed plugins:
airTraffic
bioIndexes
co2
contact
countryClimate
dataCheck
dataDisplay
degreeDays
deviations
dewpoint
diary
disasters
distributions
earthquakes
eclipses
ecoFootprint
elNino
et
extendedGraphs
fireDanger
forecastComparison
globalModel
growingDegreeDays
history
issTracker
liveGaugesWD
models
myStation
noaaReport
radarEU
radialGraphs
realEarth
satelliteImages
scales
socialNetworks
solarSystem
spaceWeather
stationCompare
stationExtremes
sunMoon
warningsEU
wdParser
weatherRecords


My night will be so loooong very looonng  :-( :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:09:23 PM
Hi yes you do, because thats what people wanted - to be able to set the menu layout the way they want it. Up until now everyone was using the layout "I considered good", but obviously that does not work for everyone.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:10:54 PM
Ho ho ho, I have stuffed something in the Meteotemplate stocking, enjoy Jachym!

I appreciate your passion for constantly improving the user experience and for making it possible for me to actually have a weather website without learning web coding/design!

Merry Christmas!

By the way folks should anyone else want to send a bit of Christmas cheer Jachym's way please use Paypal's "Send money to friends and family" where you can pay to an email acct (it's jachymcz!gmail.co with of course the '@' instead of a '!').

If you just use the Donate button he loses like 25% of the funds.   If you use the "Send money to friends and family" you pay like a few cents for the fee and he gets 100% of the donation....  Much more effective for maximizing your contribution.

If you use the template and never contribute please consider doing so.   It's a great public service he's offering for free and yeah it's free for you maybe but not for him!!

Terry, as much as I appreciate your attitude and willingness to help I would rather you edited your post back as it was. This is not my goal and not what makes me do all this. Doing something that over 360 people find useful is actually what motivates me. You surely remember when you asked me some time ago about posting similar thing and I told you to please not to. I really dont care about presents, nice present is that the update works and that I dont have to go to work tomorrow ;)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 07:24:45 PM
Hi yes you do, because thats what people wanted - to be able to set the menu layout the way they want it. Up until now everyone was using the layout "I considered good", but obviously that does not work for everyone.

Jachym,
i've tried to put this code on menu but wxsim plugin doesn't show:

#plugin(wxSim)

Probably i've missed something  :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:27:38 PM
Hi,
try updating your menu.php, just go to Downloads page at meteotemplate.com and download the updated version, there was a bug in this particular plugin since I dont use it myself and I made a stupid mistake, which should be ok now
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 07:29:20 PM
Hi,
try updating your menu.php, just go to Downloads page at meteotemplate.com and download the updated version, there was a bug in this particular plugin since I dont use it myself and I made a stupid mistake, which should be ok now

I've just download it but no wxsim menu showed yet  :-(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:30:23 PM
PM me your admin password I will look at it
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 07:33:20 PM
Sorry Jachym, found it!

Is it possible to color main text menu in yellow like before?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:38:07 PM
OK good.

What do you mean main text? The menu looks similar to the previous one, it is only changed in that you set the items yourself. I also removed the online status because it was duplicating the status block and occupying a lot of space, which is now quite precious since the number of plugins is growing all the time.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 23, 2016, 07:40:26 PM
OK good.

What do you mean main text? The menu looks similar to the previous one, it is only changed in that you set the items yourself. I also removed the online status because it was duplicating the status block and occupying a lot of space, which is now quite precious since the number of plugins is growing all the time.

This text :)

(http://i.imgur.com/c6qJc2Y.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:43:51 PM
IMPORTANT

Guys one thing to be careful about. This already happened to two users.
When you edit your main settings, even if you just open that page and save it without making any changes

ALWAYS DOUBLE CHECK THE MYSQL DETAILS

What happens is that sometimes the stupid browser replaces your mysql details by the auto-complete feature with for example your address or telephone number. I will see if it is possible to disable the autocomplete, but for now always make sure that this did not happen. It is very easy to miss this and obviously will mean no data is updated or retrieved from the db.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:44:48 PM
OK good.

What do you mean main text? The menu looks similar to the previous one, it is only changed in that you set the items yourself. I also removed the online status because it was duplicating the status block and occupying a lot of space, which is now quite precious since the number of plugins is growing all the time.

This text :)

(http://i.imgur.com/c6qJc2Y.png)

You can insert headings to the menu, see the wiki (using the >> syntax)
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on December 23, 2016, 07:47:06 PM
Ho ho ho, I have stuffed something in the Meteotemplate stocking, enjoy Jachym!

I appreciate your passion for constantly improving the user experience and for making it possible for me to actually have a weather website without learning web coding/design!

Merry Christmas!

By the way folks should anyone else want to send a bit of Christmas cheer Jachym's way please use Paypal's "Send money to friends and family" where you can pay to an email acct (it's jachymcz!gmail.co with of course the '@' instead of a '!').

If you just use the Donate button he loses like 25% of the funds.   If you use the "Send money to friends and family" you pay like a few cents for the fee and he gets 100% of the donation....  Much more effective for maximizing your contribution.

If you use the template and never contribute please consider doing so.   It's a great public service he's offering for free and yeah it's free for you maybe but not for him!!

P.S. Jachym is giving me some backchannel grief for soliciting donations on his behalf and wants it to be clearly stated this is all my doing and he did not put me up to it which he most certainly did not!

P.S P.S  Now he gave me additional grief about not posting it in a new reply so here it is again with the disclaimer since according to him "Nobody reads old posts" which begs the question of why it was a worry in the first place since like 30 new post came in since I originally posted.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:53:00 PM
Quote
P.S. Jachym is giving me some backchannel grief for soliciting donations on his behalf and wants it to be clearly stated this is all my doing and he did not put me up to it which he most certainly did not!

Yes and I would ask anyone else who would feel temptation to post similar stuff to please not to
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 07:59:44 PM
P.S. Sorry to everyone for having to read this, thats exactly what I wanted to avoid and this Christmas will be one of the best Christmas over the last couple of years - knowing that over 360 people find useful and enjoy something you make just feels great and is the best present I could get :-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 23, 2016, 08:17:49 PM
P.S. Sorry to everyone for having to read this, thats exactly what I wanted to avoid and this Christmas will be one of the best Christmas over the last couple of years - knowing that over 360 people find useful and enjoy something you make just feels great and is the best present I could get :-)

Hence the true definition of passion.  Cheers!!! 🍾
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 08:19:47 PM
Jeff I just have to ask this...

when you mentioned the word "passion" yesterday, did you have a suspicion it would be the new name or was it purely random? (I really had to laugh when I read that post :D)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2016, 08:47:33 PM
I have all my menu items added www.komokaweather.com/j-template
A few minor issues to overcome.  Possibly these have been fixed in the updates mentioned in the several posts here but to make sure I do it correctly:
from the original template update version of this morning what should I re-download? only the main menu?

The issues I have are:
#plugin(radarEU) the icon seems to be missing.  How should I fix it?
#plugin(warningsEU) the same icon issue.
#plugin(guestbook) not showing.
#plugin(stickers) not showing.
I also get the "Your menu is missing the following default pages:" message after all the items are added.

#plugin(weatherTerminologySE) I have not downloaded this and can't find it (this comes from Jachym's sample menuitems.txt)
all the others are included but haven't opened every one of them to see if they still work, but I expect they will.

My page is now loading the way it was so must have been a network issue this morning that caused the extra slow loading.
I had hesitation earlier this morning on the new menu method, but I really like it now!
Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 08:56:55 PM
Hi Paul,
yes these have mostly been fixed.
Probably the easiest thing would be to redownload the update package and then:
- replace the admin/menu/menuCheck.php
- go to imgs/flags/big/ and add the eu.png
- go to Downloads at metetemplate.com and download the latest version of menu.php and use that
- in your menu setup, make sure the guestbook is spelled "guestbook" not "guestBook", I made a typo there

Stickers - yes that is correct, this plugin is for generating images, there is no landing page for it, it is not something to be included in the menu.

Sweden terminology - ignore that, it is in the works and I accidentally included it prior to the actual release, just delete that item from that tab :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 23, 2016, 09:17:13 PM
Jeff I just have to ask this...

when you mentioned the word "passion" yesterday, did you have a suspicion it would be the new name or was it purely random? (I really had to laugh when I read that post :D)

It was not random...  I have had passion fruit and just had this voice in me say hmmmmmm....  :grin:
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2016, 09:30:03 PM
Yes that fixed those little irritants, thanks Jachym.

I must say I couldn't have done it if it wasn't for those 2 txt files you posted this morning =D&gt;

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 09:37:44 PM
Ok,  good to know,  I will post final version of those two files in the blog tomorrow for those who might find it useful to get them started
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 23, 2016, 09:50:20 PM
Hi guys,

if you want something to get you started and instead of adding stuff to your menu work backwords - i.e. delete items you are not interested in or re-arrange existing things, you can download the DEMO page menu, which includes all the plugins and pages (so delete the ones you dont have).

Download these two text files:

http://meteotemplate.com/template/admin/menu/menuItems.txt

http://meteotemplate.com/template/admin/menu/menuOrder.txt

and place them inside your admin/menu/ folder. Then edit them the way you want to.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 23, 2016, 10:32:54 PM
I should have waited ;)   The items I had found that were not in your earlier version are now in this final version... well a good 2 hour exercise to check on which plugins are or are not added.

Paul
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 03:05:03 AM
Hi guys,
before all merry christmas to you and your families  :-) :-)

1) About menu.
Is it possible to change heading color-font and size?
In previously version it was in yellow color and a bit bigger.

2) I've translated all heading words but i don't manage to translate the custom menu links.
How can i do?

3) Is it possible to use new icon on custom block?

4) WarningsEU plugin doesn't work...i've blank page: http://www.meteopistoia.it/plugins/warningsEU/warningsEU.php
Thanks in advance,


Alessandro


P.S.
Davis Vue icon missing here: http://www.meteopistoia.it/admin/menu/menuIcons.php
Please, could you update user map with my new domain http://www.meteopistoia.it
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 24, 2016, 09:18:29 AM
I think I have an easy question.  What would be the easiest way to create a menu tab that direct-links to a plugin?  For example, using the new method, how can I make a "Bloomsky" Tab that could be clicked to open the Bloomsky Plugin?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 24, 2016, 09:45:02 AM
Quote
I think I have an easy question.  What would be the easiest way to create a menu tab that direct-links to a plugin?  For example, using the new method, how can I make a "Bloomsky" Tab that could be clicked to open the Bloomsky Plugin?
Good question, I have been thinking about the same thing.  Previously it could be done.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 10:11:39 AM
Hi,
I see what you mean, I can add that feature, but it is not possible currently. I will make a little questionnaire again at the end of the year so you can give me some tips for v12.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 10:15:12 AM
Hi guys,
before all merry christmas to you and your families  :-) :-)

1) About menu.
Is it possible to change heading color-font and size?
In previously version it was in yellow color and a bit bigger.

2) I've translated all heading words but i don't manage to translate the custom menu links.
How can i do?

3) Is it possible to use new icon on custom block?

4) WarningsEU plugin doesn't work...i've blank page: http://www.meteopistoia.it/plugins/warningsEU/warningsEU.php
Thanks in advance,


Alessandro


P.S.
Davis Vue icon missing here: http://www.meteopistoia.it/admin/menu/menuIcons.php
Please, could you update user map with my new domain http://www.meteopistoia.it

Hi Alessandro,
with regards to your questions:
1. no, this is not implemented, only if you made changes in the actual code, but then you must not update the menu because it would reset your changes
2. the custom links are not translated. I tried it but the problem is that it was unable to deal with non-English characters like for example the Czech řžýčášíé or some other German, French etc. characters, it was then showing the stupid "unknown" symbols instead
3. yes it is
4. yes, I am aware of this, several people asked, it is the Meteoalarm site again... very unreliable, they did not update the RSS feed and this unfortunately is the only integrated source of EU warnings so the only thing I can say is either wait or delete the block
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 10:20:27 AM
Hi Alessandro,
with regards to your questions:
1. no, this is not implemented, only if you made changes in the actual code, but then you must not update the menu because it would reset your changes
2. the custom links are not translated. I tried it but the problem is that it was unable to deal with non-English characters like for example the Czech řžýčášíé or some other German, French etc. characters, it was then showing the stupid "unknown" symbols instead
3. yes it is
4. yes, I am aware of this, several people asked, it is the Meteoalarm site again... very unreliable, they did not update the RSS feed and this unfortunately is the only integrated source of EU warnings so the only thing I can say is either wait or delete the block

Thanks Jachym,
How to translate plugin intead? f.e. Bioindexes -> Bio Indici
Block icon:
Which is the procedure?


Thanks again!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 10:31:25 AM
you mean the text for the plugin name? If you used the #plugin(bioIndexes) syntax, it should auto-translate, if it did not, then it means I forgot to include this word in the language database and I would add it
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 10:33:26 AM
you mean the text for the plugin name? If you used the #plugin(bioIndexes) syntax, it should auto-translate, if it did not, then it means I forgot to include this word in the language database and I would add it

Yes,
this is lang db:

Code: [Select]
"bio indexes":"bio indici"
Is it ok or not?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 10:36:53 AM
In your menu, did you use:

#plugin(bioIndexes)

is that the syntax you used?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 10:38:26 AM
In your menu, did you use:

#plugin(bioIndexes)

is that the syntax you used?

Yes Jachym,
but i've seen that there are some plugin not translated  :?

(http://i.imgur.com/MTBFL5D.png)

(http://i.imgur.com/4zjkYTl.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 10:41:14 AM
Yes, that could be, this however is relatively easy to fix, I will check which ones are included and I will add the missing ones to the database for translation, just not sure when, I will be off soon for about 2 hours, it is Christmas evening here now and I promised my mom I will visit her :D So most likely tonight I will add it when I come back.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 10:44:27 AM
Yes, that could be, this however is relatively easy to fix, I will check which ones are included and I will add the missing ones to the database for translation, just not sure when, I will be off soon for about 2 hours, it is Christmas evening here now and I promised my mom I will visit her :D So most likely tonight I will add it when I come back.


Sure Jachym,
here too  :lol: :lol:

Don't worry and merry christmas!!!!!
Title: Re: Meteotemplate - new free website template
Post by: semtex on December 24, 2016, 11:02:17 AM
Alessandro
http://meteobasaldella.it/plugins/warningsEU/warningsEU.php
strange for my work fine !!!

you have the same problem in BLOCK warnings (AVVISI) in home page
is ever..... No warnings
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 11:07:38 AM
There could be either a problem in his setting for that block, however it could also be a problem at meteoalarm side because the individual countries send their warnings to them and they update them independently so some countries might work, while others not, or maybe they just fixed it... this block was problematic right from the beginning and occasionally not working.
Title: Re: Meteotemplate - new free website template
Post by: semtex on December 24, 2016, 11:21:56 AM

There could be either a problem in his setting for that block, however it could also be a problem at meteoalarm side because the individual countries send their warnings to them and they update them independently so some countries might work, while others not, or maybe they just fixed it... this block was problematic right from the beginning and occasionally not working.


My and Alessandro are all 2 in Italy !!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 11:24:24 AM
Then it is incorrect settings or it did not work before and his cache did not expire yet so it will take a while before it re-loads it.

Im off now, will be back later :)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 11:34:26 AM
Meanwhile, i have also 10/15 minutes....other issue:

1) Unit conversione link doesn't found (index.page missing on plugin)
2) stickers station image doens't show fine
3) davis vue icon missing on svg icon (have you red my previous post?)
4) Missing fire danger plugin link on menu
5) No output format specified on StationFeed plugin link on menu

Regards,


Alessandro


P.S.
Hi Semtex....very strange....i'll check it later, merry christmas also to youuuuu!!  =D&gt; =D&gt; :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 04:08:52 PM
Hi Alessandro

1) yes thanks for letting me know I will update the menu probably tomorrow and fix this
2) this is some problem with the image on your server, it works fine for me and other people
3) yes that is correct, I forgot about this one, I will make sure it is included in the icon set in version 12
4) Im not sure what you mean by "missing link", you have to add the plugin links yourself
5) this plugin is not meant for being in the menu, I will also delete it from the demo, it is for a different purpose like connecting the data to a different api or site, but not for being displayed as such

Brgds
Jachym
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 24, 2016, 06:53:25 PM
Thanks Jachym,
about the sticker image, i'm referring to this:

(http://i.imgur.com/ASOi5FC.png)

Fire Index plugin is missed in your default menu file attached on previously post ;)

Have a great christmas night!  ;)
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 07:05:50 PM
Yes I know, but thats not really a bug, the default files where only like a starting point and you can easily add the fireDanger and remove the station feed :-)

I see the icon problem, but not sure why it is happening to you, I have not had that problem with any other user's sticker
Title: Re: Meteotemplate - new free website template
Post by: tstorm on December 24, 2016, 09:21:16 PM
Alessandro,

  The icon on the sticker looks to be due to the wrong size icon being used.  The station icon used for your sticker is 150px by 140px when it should be 50px by 50px.  The correct icon sizes you need should be in http://www.meteopistoia.it/plugins/stickers/stations directory.  Copy your station images to http://www.meteopistoia.it/plugins/stickers (white image as station.png and black image as stationBlack.png).

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 24, 2016, 09:54:02 PM
Alessandro,

  The icon on the sticker looks to be due to the wrong size icon being used.  The station icon used for your sticker is 150px by 140px when it should be 50px by 50px.  The correct icon sizes you need should be in http://www.meteopistoia.it/plugins/stickers/stations directory.  Copy your station images to http://www.meteopistoia.it/plugins/stickers (white image as station.png and black image as stationBlack.png).

John

Thanks John,  spot on,  I didn't realize he copied the wrong icon,  thanks for help
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 04:28:56 AM
Alessandro,

  The icon on the sticker looks to be due to the wrong size icon being used.  The station icon used for your sticker is 150px by 140px when it should be 50px by 50px.  The correct icon sizes you need should be in http://www.meteopistoia.it/plugins/stickers/stations directory.  Copy your station images to http://www.meteopistoia.it/plugins/stickers (white image as station.png and black image as stationBlack.png).

John

Fixed!  #-o #-o
Thanks John  ;)  =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 04:51:48 AM
Jachym,
please remember to edit usermap with my new domain  ;)

(http://i.imgur.com/ZG87Be8.png)

Thanks!
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: droiddk on December 25, 2016, 05:54:01 AM
Alessandro-> Hint, update your signature with a clickable link to your website.

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 08:06:36 AM
Jachym,
please remember to edit usermap with my new domain  ;)

(http://i.imgur.com/ZG87Be8.png)

Thanks!
Regards,


Alessandro

changed
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 25, 2016, 08:10:16 AM
Merry Christmas to all my Meteotemplate friends!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 08:44:21 AM
Thanks Jeff

Plugin update - NOAA Report 1.3

Just minor bug fixes :-)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 09:37:17 AM
Merry Christmas to all my Meteotemplate friends!!!
Merry Christmas to you too!!
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 09:39:52 AM
Jachym,
please remember to edit usermap with my new domain  ;)

(http://i.imgur.com/ZG87Be8.png)

Thanks!
Regards,


Alessandro

changed
Thanks Jachym!

Title: Meteotemplate - New Plugin - Flu U.S.
Post by: Jáchym on December 25, 2016, 11:05:26 AM
New Plugin - Flu U.S.

Hi guys,

yes... I know it is Christmas and that I should do something more optimistic than this but.... one of you asked about this and so I gave it a try.

This new plugin shows an interactive map that shows the current spread of influenza for the individual states of the U.S.

DEMO: http://www.meteotemplate.com/template/plugins/fluUS/

To install, just upload to your plugins directory, then update your menu.php and if you do so you can use #plugin(fluUS) to add it to your custom menu :-)

Enjoy
Title: Re: Meteotemplate - New Plugin - Flu U.S.
Post by: jeffm5690 on December 25, 2016, 11:30:13 AM
New Plugin - Flu U.S.

Hi guys,

yes... I know it is Christmas and that I should do something more optimistic than this but.... one of you asked about this and so I gave it a try.

This new plugin shows an interactive map that shows the current spread of influenza for the individual states of the U.S.

DEMO: http://www.meteotemplate.com/template/plugins/fluUS/

To install, just upload to your plugins directory, then update your menu.php and if you do so you can use #plugin(fluUS) to add it to your custom menu :-)

Enjoy

Thanks Jachym!  I appreciate it :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 11:53:34 AM
Welcome, though I wish you asked for something bit more optimistic on Dec 25th :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 01:30:57 PM
OK I added all the missing links to the translation database, all links in the menu (default pages + plugins) can now be translated and localized :)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 04:50:42 PM
OK I added all the missing links to the translation database, all links in the menu (default pages + plugins) can now be translated and localized :)

Thanks Jachym,
what can i do to make this change?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 05:30:19 PM
I did not change anything in the menu, I just added the missing words to the translation strings database
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 06:59:41 PM
Hi again Jachym  :-)
is it possible to insert a flash player windows on a page of meteotemplate?
I've create one with flash but it doesn't work as it should.

Link to meteotemplate page: http://www.meteopistoia.it/custom/live.php (http://www.meteopistoia.it/custom/live.php)
Link to my old weathersite: http://www.meteocarmignano.it/wxlive.php (http://www.meteocarmignano.it/wxlive.php)


Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: vreihen on December 25, 2016, 07:10:28 PM
is it possible to insert a flash player windows on a page of meteotemplate?
I've create one with flash but it doesn't work as it should.

Adobe Flash is an insecure/dead technology, and should be replaced immediately on all websites!

In case you have not been paying attention to browser updates, all the major players are disabling their flash plug-ins as of January 1st the force the straggler web sites to finish migrating to HTML5 content.  Whatever you were trying to include in your web page will most likely not be available in Flash in the next few weeks.....
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 25, 2016, 07:21:40 PM
Here i'm again  :-)
Thanks vreihen for your quick answer.
It's a shame because it would have been a very useful page :(

Other question for Jachym before going to bed  :-|

I've some words not translated yet on menu.
Here they are:

(http://i.imgur.com/InBslxZ.png)

(http://i.imgur.com/n3Zt1wD.png)

(http://i.imgur.com/4bnyFqo.png)

(http://i.imgur.com/xv2ceSk.png)

Just put the reference on it.php or it's your job?

Thanks a lot for your support.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 07:34:11 PM
is it possible to insert a flash player windows on a page of meteotemplate?
I've create one with flash but it doesn't work as it should.

Adobe Flash is an insecure/dead technology, and should be replaced immediately on all websites!

In case you have not been paying attention to browser updates, all the major players are disabling their flash plug-ins as of January 1st the force the straggler web sites to finish migrating to HTML5 content.  Whatever you were trying to include in your web page will most likely not be available in Flash in the next few weeks.....

Thanks for writing exactly what I would answer,  meteotemplate is not optimized for flash,  I don't plan on supporting it and I would highly encourage everyone to stop using it on any site,  not just meteotemplate
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 25, 2016, 07:36:16 PM
Here i'm again  :-)
Thanks vreihen for your quick answer.
It's a shame because it would have been a very useful page :(

Other question for Jachym before going to bed  :-|

I've some words not translated yet on menu.
Here they are:
T
(http://i.imgur.com/InBslxZ.png)

(http://i.imgur.com/n3Zt1wD.png)

(http://i.imgur.com/4bnyFqo.png)

(http://i.imgur.com/xv2ceSk.png)

Just put the reference on it.php or it's your job?

Thanks a lot for your support.
Regards,


Alessandro

Please read the wiki section about how translations work,  I don't speak Italian so obviously I cannot do the translation myself,  that is a job for meteotemplate users :grin:
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 26, 2016, 03:42:05 AM
Please read the wiki section about how translations work,  I don't speak Italian so obviously I cannot do the translation myself,  that is a job for meteotemplate users :grin:

Morning Jachym,
ok i've translated all italian occurs on translation section.
Do you release a new it.php file?

Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2016, 09:19:45 AM
Question for people living on the Southern hemisphere :D

Here, when we talk about seasons, we usually name them in the order as they go during the year:
spring -> summer -> fall -> winter

Do you use the same order or do you adapt it to calendar year as well, in which case it would be:
fall -> winter -> spring -> summer
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on December 26, 2016, 11:06:49 AM
Jachym (and others)
The global contact that you have, which came to my sudden realization with your question as to how the southern hemisphere users sequence their seasons, is amazing.

Would you have ever thought at the inception of your project you'd be in touch with so many people, from all over this whole world?

That alone is amazing and makes me even more impressed with the scope of this project.  Very cool.  (at least I think so)
Dale
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2016, 11:44:51 AM
Hi Dale,
simple answer to your question:

Quote
Would you have ever thought at the inception of your project you'd be in touch with so many people, from all over this whole world?

No, not even in my wildest dream :D


Over time however, I got better at spotting these things. At the beginning when I began working on MT, I often forgot about possible scenarios.

Just to give you a few examples:
- regarding hemispheres:
   - opposite seasons
   - image showing Moon phase must be rotated 180° for the quarters (it grows from the other side)

But also other things - my db for example begins on Jan 1st. This often was a problem because I didnt realize that other users have dbs starting for example in May and in the first template versions it was often the case that if the db started in May, May showed up on graphs as January etc... :D Thats because it was based on the scripts I used for my personal page where I didnt have to worry about this since I knew it is always 1=January,.....

Same with things like checking if that particular value is available in the db - at the beginning you would often see dozens of "undefined key" warnings in the PHP code. It usually worked, but I also had to fix all these.

You get used to this. Over time when you do this long enough you start to realize while you are making it - aha, this and this could happen, we have to somehow deal with that.

I implemented many debugging scripts and functions, the update script for example now shows exactly what is happening and I only introduced that in version 10 and I can tell you, even though it took a lot of time to create, it has already saved me hours of work because when someone emails me "Jachym I need help, the update does not work" - I look at the output of that script and in 99% cases I can immediately tell what is wrong - if it is something incorrectly set in the user settings, incorrect formats, paths etc.

These things take time to do, but save you time later on. And in this particular case, yes I do have quite a few users in Australia, Southern Africa etc. and you are likely to get even more if the template supports it.
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on December 26, 2016, 12:37:42 PM
I have downloaded 11, and am having fun with the now working perfectly Texas Instruments station and some very gusty winds, so I'm understandably hesitant to break what is working.

Is 11 able to, with its changes, just be able to be unzipped and each directory moved over the top of 10 on my server? I have been looking at the comments and it seems that all the users are pleased with this release.

Dale
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2016, 12:42:08 PM
Hi Dale,
the update is very simple.

First you have to make sure you download the "update package", not the full template.
Then, assuming you are using v10 (it is always possible to only update by one version at once), you simply extract the update package and then you will see that it only contains some directories, not the full template.

What you need to do is following the same structure on your server you add the corresponding files to the same directories.

Example:
- the update package contains a new folder "menu" inside "admin" folder. So you go to your server, open "admin" folder and you upload the menu folder into it. Sometimes you will see that the update package includes a file that is already on your server - in that case you overwrite it with the new one.  (eg. admin/index.php).

Just make sure you do not delete the original directories and replace them with the ones from the update package - that will not work because the update package only includes the updated/new files.

In this particular case, v11 does not in any way touch your update settings or your db so you dont have to worry about that being affected.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 26, 2016, 02:11:23 PM
Is there a reason that this New Plugin - Flu U.S. will not display on my menu.
It exists and does work http://www.komokaweather.com/j-template/plugins/fluUS/index.php and have triple checked everything in the menu setup Regional tab.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2016, 02:17:44 PM
But did you update the menu.php?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 26, 2016, 02:46:35 PM
No I didn't.  Just added it in the menu setup and Save.  Maybe I need to reread?

Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 26, 2016, 02:51:14 PM
Yes Paul,
this is explained in this paragraph in the wiki:

Quote
Just like in case of the default pages, the template knows what plugins exist and it will automatically generate the correct URL, text and icon. But, you can again use the normal link syntax (explained below) if you for some reason wanted to further customize this.

Now, this is very important!!! For the above syntax to work, it means that the template has to have a list of all the available plugins, so that it can identify it and know what is the correct URL and which icon and text for the link to use. This means that after you install any new plugin, you have to update your menu.php. The menu.php is always updated when a new plugin is released and can be downloaded separately in the Downloads section. It is located directly in the root folder of your template. So the procedure is as follows - once you download a new plugin, you upload it, set it up via the control panel if necessary and then you add link to it in your menu. But for the above syntax to work, you have to update your menu.php because your old menu.php does not contain information about the new plugin. This only applies to NEW plugins. When you first install the template, your template will already include the menu.php, which will include links to all plugins that were available at the moment of this version release. So this is only necessary for either brand new plugins or recently released new plugins. Nevertheless, if you wanted to, as I explained earlier, you could use the syntax for normal link, which means you would not need to update your menu, but you would have to specify the URL, icon and text yourself.

You must update your menu.php if you want to use the #plugin(...) syntax, because for that the template must know which icon and text to use for that plugin.

Or you can do it without the update of the menu.php in which you do it as an external link:

plugin name|plugin url|icon
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 26, 2016, 04:27:21 PM
Ah, that feels better...

Paul
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 06:34:10 AM
Hi guys,
do you know something about cookies advice script?
I would implement it on my site.
Which file should i edit?
Thank you so much,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 06:51:41 AM
Not necessary, the information saved as a cookie by Meteotemplate does not require you to use this because it only saves info about the user color setting, language etc., it does not collect any personal data.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 06:53:30 AM
Not necessary, the information saved as a cookie by Meteotemplate does not require you to use this because it only saves info about the user color setting, language etc., it does not collect any personal data.


Hmhmh, my custom page yes:
http://www.meteopistoia.it/custom/whos-online.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 07:08:43 AM
Hmm yes definitely. Just think again about what I said about similar pages. I find it quite strange you want to even show to people that you are logging everything about them. If I disregard the fact that locating IP slows down your entire page, why should people know who vistis your site? Why shoudl I see my IP address and information about my system on your pge? I know these things, I dont need to see where I am from, what OS I use, how long and when i went to your site and to be quite honest, if I see a webpage like this, I never come back, I see no point in someone saving all info about me and even showing it to other people. This has been a very bad thing people used to do like 10-15 years ago when almost every site had a visitor count, but you went a step further showing and tracking even IPs, locations, time I spent on the site.... it is up to you, but I would definitely remove this. Google Analytics is very good for tracking vistis and it does so anonymously so you dont have to worry about cookies or privacy things. Your page I see as problematic, really, think why is it useful, why should I see all details about myself and others on your weather page
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 07:15:54 AM
Google Analytics also gathers info, but you do not see direct associations with IP addresses and when there is too few people, GA will even hide some details. This however is exactly what you need - you need to know where the people are from, how many there are etc. But I see absolutely no reason why you should know details about each person including their OS, IP, time of visit, time spent on page etc. Why should anyone know this about me and even show it on their page - this will make some people (eg me) quite annoyed and not wanting to visit your site again, which is about weather and has no reason to track this. I am only giving you advice, you can of course keep it, but think about the uses of this and if it is actually a good thing to have.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on December 27, 2016, 07:29:25 AM
Hmm yes definitely. Just think again about what I said about similar pages. I find it quite strange you want to even show to people that you are logging everything about them. If I disregard the fact that locating IP slows down your entire page, why should people know who vistis your site? Why shoudl I see my IP address and information about my system on your page?

I totally agree about this! Not even sure its allowed in some countries - you are showing private informations about my visits on the internet.

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 07:45:54 AM
When i go to that site I see:

my location (which is incorrect because of the VPN I use, but in most case would show correct city)
exact time and length of visit
my internet provider

and that already makes me think most likely you are also logging my OS, Browser type, browser configuration and those are all associated directly with my IP and shown (!) to other users of your site.

My question to you:
Which of the above information you show to me about myself is something I did not know before and so I had to visit your site to know this? And, why do you think I should see this information about other visitors of your site? How is this related to the rest of your weather page?

And as it was correctly pointed out, in this case the fact you are even making this public to everyone is probably not even ok if you give the cookie notice, this has nothing to do with cookies, but more with personal privacy
Title: Re: Meteotemplate - new free website template
Post by: droiddk on December 27, 2016, 07:49:50 AM
And also: Do you save the information? If yes, how do you protect the data?

All in all: do not show any information about your visitors and never save any data.

Regards
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 07:51:56 AM
Guys,
this script has the same features of GA, i don't understand your doubt!
There are worse things than this script  :shock:
This script is used from a lot of users in the world and it's the pretty method to see users country and how many time any users stay on your site, stop!
Other informations are anonymous like in GA and it's not possible to anyone view personal informations.

So, i would ask again to you, where should i put cookies advice code?
Thank you so much in advance and relax  :grin:
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: droiddk on December 27, 2016, 07:55:11 AM

.. to see users country and how many time any users stay on your site


Alessandro

Why do you need that on your site?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 07:57:27 AM
No it is in no way like GA Alessandro, I insist on that.

GA will not show you any particular info if there is too few users and once there are more it will only show you general statistics. It will NEVER tell you which user with what info belongs to which item like location, host provider etc. This is fundamentally different. And even the anonymous data GA only shows to you - not your other users.

My question to you is again: what added value does this add to your site? Why should I see who and when visited your site? Maybe Im just weird, but I am not interested about other people´s details and I am also not interested in seeing my info on your site, I know it myself...

The fact this script is being used by many others does not make it any more justifiable and I would only said "sadly".

We are only giving you opinions, but once again - cookie notice will not solve the problem.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 07:59:32 AM

.. to see users country and how many time any users stay on your site


Alessandro

Why do you need that on your site?

For the same reason that we using GA ;)
Counter script works in the same way, why for the counters doesn't write any word?
All these users are crazy?!?
http://www.wxforum.net/index.php?topic=2883.0

Title: Re: Meteotemplate - new free website template
Post by: droiddk on December 27, 2016, 08:02:27 AM



For the same reason that we using GA ;)


I hope, based on Jáchym latest comment, that you can see that this is not correct.

A script that shows users (and maybe their IP) on a website and time on website is NOT the same as GA.

Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 08:03:36 AM
No it is in no way like GA Alessandro, I insist on that.

GA will not show you any particular info if there is too few users and once there are more it will only show you general statistics. It will NEVER tell you which user with what info belongs to which item like location, host provider etc. This is fundamentally different. And even the anonymous data GA only shows to you - not your other users.

My question to you is again: what added value does this add to your site? Why should I see who and when visited your site? Maybe Im just weird, but I am not interested about other people´s details and I am also not interested in seeing my info on your site, I know it myself...

The fact this script is being used by many others does not make it any more justifiable and I would only said "sadly".

We are only giving you opinions, but once again - cookie notice will not solve the problem.

Jachym,
i'm talking about "same features" of GA not how it works.
Whos online works like a counter script....it shows only your country and how did any guest stay on your site, stop.
Is this a privacy violation??
Noooooo!!
Browser used is only show to you not to others!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 08:06:25 AM
OK, I respect your opinion and here is the last thing i will say about this:

- it is not the same as GA
- you are sort of on the edge of what is and what is not breaching personal privacy
- I see absolutely no point or added value of such page (visitor count etc is for webmaster, not other users)
- I myself never look on pages where such things appear, Im just annoyed by it

And last - i let Meteotemplate users to add their own pages - and you can do so. But in this case, do not expect any sort of support from my side. I do not object in you doing it, but I am not supporting this.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 08:07:22 AM
Tell me which differences there are between this script and any counter scripts around the word ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 08:12:01 AM
Right, so I downloaded that script and here is the difference:

The script saves my IP, my host and lot of other info all together in a mySQL database on your server! Which is IMHO totally unacceptable. You are storing personal info directly associated with your user, I can easily identify everyone.

in GA, you might know that 80% of your users are from Italy. However GA will NEVER, NEVER show the IP address of each particular user, likewise, it will tell you how long an average user spends on your site - it will NEVER tell you how long a user with IP XYZ spent on your site.

This script is even worse than I thought....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 08:14:32 AM
Look....

SELECT ip_address, country_code, nickname, hostname, time_last_click, num_visits
 FROM " . TABLE_WHOS_ONLINE . "
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 08:16:05 AM
OK, I respect your opinion and here is the last thing i will say about this:

- it is not the same as GA
- you are sort of on the edge of what is and what is not breaching personal privacy
- I see absolutely no point or added value of such page (visitor count etc is for webmaster, not other users)
- I myself never look on pages where such things appear, Im just annoyed by it

And last - i let Meteotemplate users to add their own pages - and you can do so. But in this case, do not expect any sort of support from my side. I do not object in you doing it, but I am not supporting this.

Ok, but you should do the same to who have installed counter script because both scripts works in the same way.
But okay, i'll be fine.
Regards,


Alessandro


P.S.
I never thought starting a war about these arguments  :-(
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 08:17:22 AM
Look....

SELECT ip_address, country_code, nickname, hostname, time_last_click, num_visits
 FROM " . TABLE_WHOS_ONLINE . "


Like some counter scripts  :-|
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 08:17:51 AM
Thats correct, I never offered anyone help with installing visitor count. I implemented GA and if people want to use something else - fine, but I dont want to have anything to do with it.

If you thought this script is not saving everything and logging personal info (and partly showing it even directly on your site) you are wrong...
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 08:23:24 AM
Ok,
let's change the subject.
I would change icon on this custom block:

(http://i.imgur.com/yYNZHbF.png)

with any of yours here: http://www.meteopistoia.it/admin/menu/menuIcons.php
If possible, how can i do?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 08:25:43 AM
You would need to change the HTML directly, it is not possible to do from the control panel and I would not recommend doing this because then everytime you update that block your changes will be lost.

I added the Italian translations now so you can download updated Italian language file.

And with regards to your visits page:
Think about it this way:
- there will be people like me who will have a problem with it and dont like it
- and then there will be people who dont care

But I doubt anyone will visit your page to see who else visited your page  ](*,). Which means it has absolutely no added value, it can only piss off people or they will not care, but I cannot imagine anyone enjoying looking at this.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 08:42:27 AM
You would need to change the HTML directly, it is not possible to do from the control panel and I would not recommend doing this because then everytime you update that block your changes will be lost.

I added the Italian translations now so you can download updated Italian language file.

And with regards to your visits page:
Think about it this way:
- there will be people like me who will have a problem with it and dont like it
- and then there will be people who dont care

But I doubt anyone will visit your page to see who else visited your page  ](*,). Which means it has absolutely no added value, it can only piss off people or they will not care, but I cannot imagine anyone enjoying looking at this.

Jachym,
for me you're exaggerate this thing.
I don't really care if i have visited a site with a counter or similar script.

The important thing is the site doesn't recorder me when i make love with my wife and it publics the video on internet  :grin: :grin: :grin: :grin:
The rest is not important for me, there are worse things out of there that a damn script.

About icon.
Ho to recall a particular icon on that link through html?
should i use mticon- or fa fa- )

Quote
I added the Italian translations now so you can download updated Italian language file.

Thanks a lot  :grin:

Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 27, 2016, 06:01:41 PM
It is also possible to setup the whos-online script so only the operator can see the details rather than each visitor by password protecting the page.  That might be a better option.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 06:22:46 PM
It is also possible to setup the whos-online script so only the operator can see the details rather than each visitor by password protecting the page.  That might be a better option.

--Kurt

I always used this option :)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 27, 2016, 06:25:57 PM
Jachym,
about warningEU block.
If you give me an eye here: http://www.meteopistoia.it (without goes to whosonline page!  :grin: ), does warnignEU block work as it should?
Shouldn't it open meteoalarm map as well as text warnings?
Thanks in advance for your help,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: semtex on December 27, 2016, 06:53:30 PM
Alessandro
Layout and the colors of the BLOCK station data
I've already seen
BRAVO...
 =D&gt; =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 06:56:45 PM
Hi,
the EU warnings block is not working as it should - this block was always problematic and occasionally not working since meteoalarm often does not update their XML feed where the data comes from, or the feed is completely down. It always works for a while, then not and then works again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 27, 2016, 09:08:46 PM
Alessandro which icon do you want to use?  Send me the namespace of it and I will tell you what code to use and where to insert it in the block
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 05:28:14 AM
Alessandro which icon do you want to use?  Send me the namespace of it and I will tell you what code to use and where to insert it in the block

Ok Jachym,
i would use "bolt" icon.
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 05:30:10 AM
Alessandro
Layout and the colors of the BLOCK station data
I've already seen
BRAVO...
 =D&gt; =D&gt; =D&gt;

 \:D/ \:D/ \:D/
I've copied from your site....it was very nice!
Hope you don't mind  :grin:

About spaghetti and 500hpa geopot images what kind of block have you used?
Cheers,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: semtex on December 28, 2016, 05:55:59 AM
Quote

 \:D/ \:D/ \:D/
I've copied from your site....it was very nice!
Hope you don't mind  :grin:

About spaghetti and 500hpa geopot images what kind of block have you used?
Cheers,


Alessandro


I modified  ITALY RADAR

Please Alessandro rename spaghetti block
is ensEmbles not ensAmbles !!!
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 06:06:30 AM
Quote

 \:D/ \:D/ \:D/
I've copied from your site....it was very nice!
Hope you don't mind  :grin:

About spaghetti and 500hpa geopot images what kind of block have you used?
Cheers,


Alessandro


I modified  ITALY RADAR

Please Alessandro rename spaghetti block
is ensEmbles not ensAmbles !!!

Done it  #-o
Thank you so much.
Cheers,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 07:01:54 AM
Hi Jachym,
other thing.
I've seen that current data block on mobile view isn't align correctly.
Please, look the image attached.
Is it possible to make icons side by side instead of along a unique column?
Thanks in advance,

Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 07:24:51 AM
Hi Jachym,
other thing.
I've seen that current data block on mobile view isn't align correctly.
Please, look the image attached.
Is it possible to make icons side by side instead of along a unique column?
Thanks in advance,

Alessandro

Hi,
no this is exactly why I used dynamic div elements, so that they adjust to small screen sizes and instead of being horizontal, they show up vertically, if I make them horizontal it would be useless because they would be tiny. This is how I wanted it to be.

One other point - this is exactly why I created the mobile version, where you can use just one column which will be wider, there is no point in having a mobile version if you make it the same as the desktop

for the bolt, you can replace the html of the image with:

Code: [Select]
<span class="fa fa-bolt"></span>
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 08:56:15 AM

Hi,
no this is exactly why I used dynamic div elements, so that they adjust to small screen sizes and instead of being horizontal, they show up vertically, if I make them horizontal it would be useless because they would be tiny. This is how I wanted it to be.

One other point - this is exactly why I created the mobile version, where you can use just one column which will be wider, there is no point in having a mobile version if you make it the same as the desktop

for the bolt, you can replace the html of the image with:

Code: [Select]
<span class="fa fa-bolt"></span>

Done it.
Thank you so much Jachym  ;)
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on December 28, 2016, 11:16:10 AM
Having trouble with the units conversion plugin keeps giving me this message "The requested URL /template/plugins/units/index.php was not found on this server."
have installed and reinstalled a few times same message
I notice when trying to run it its looking for "http://www.skeltonweather.uk/template/plugins/units/index.php"
should it not be trying to run units.php
Title: Meteotemplate - New Year´s present - New Plugin - Calendar
Post by: Jáchym on December 28, 2016, 11:46:20 AM
New Year´s present - New Plugin - Calendar

Hi guys,

I just released a new plugin - sort of a present for you from me for the new year :-)

After years of trying (no, this is not a joke, I was trying to accomplish this already when I had my own page and there was no Meteotemplate), I have finally managed to successfully create scripts that generate fully functional PDF documents, which obviously are great if you want to print something and view it physically not just in a browser on a monitor.

I am releasing this a few days in advance because in case there are any bugs we can still work on it further and you can of course expect this PDF feature now being gradually implemented in other parts of the template as well :-)

This plugin allows you to create various PDF calendars - monthly, weekly, daily or a blank diary. These can include your station data as well, you set print/color version, create a booklet version ideal for printing and much more. It will also use your template settings for the colors, first day of the week, units, language etc.

Main features:
- monthly calendar with station data
- weekly calendar with station data
- daily calendar with station data
- blank weekly diary - sunrises/sunsets for your location, eclipses, moon phases etc.
- normal or booklet versions
- color or black/white (for print) versions
- units based on template settings, colors based on template settings, first day of the week based on template settings
- paper size selection (A4, Letter)
- language based on template settings
- and much more :-)

You do not need to set up this plugin in any way, just upload to your plugins directory. Then update your menu.php and in your menu settings add a link to this new plugin.

NOTE: PDFs in general are very difficult to work with and also quite demanding so please be patient, the calendar generation may take a while and so that you are not bored I implemented a script which will show you a random interesting fact while you are waiting for your calendar to be created :-)

In particular it is likely that the calendar script will be very slow on my server since many of you are likely to look at the same time.

ENJOY!

DEMO: http://www.meteotemplate.com/template/plugins/calendar/index.php#/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 11:47:09 AM
Having trouble with the units conversion plugin keeps giving me this message "The requested URL /template/plugins/units/index.php was not found on this server."
have installed and reinstalled a few times same message
I notice when trying to run it its looking for "http://www.skeltonweather.uk/template/plugins/units/index.php"
should it not be trying to run units.php

Make sure you are using the latest menu.php file, download the latest version from the Downloads section
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 28, 2016, 02:33:00 PM
I have it installed but it is a little confusing:
The year 2016 already has the data for Dec 29, 30 and 31 - how does it know?
The year 2016 summary is not for 2016 but looks like all time Max/Min.

Paul

www.komokaweather.com/j-template in Tools tab
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 02:56:51 PM
Yes, each day in the calendar always shows the average for that day and the absolute min/max for that day.

Just to clarify - this is not like a yearly report. This is for printing for the upcoming year and you then always see what was in general in the past for that day. It is not a report.
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on December 28, 2016, 04:06:56 PM
Having trouble with the units conversion plugin keeps giving me this message "The requested URL /template/plugins/units/index.php was not found on this server."
have installed and reinstalled a few times same message
I notice when trying to run it its looking for "http://www.skeltonweather.uk/template/plugins/units/index.php"
should it not be trying to run units.php

Make sure you are using the latest menu.php file, download the latest version from the Downloads section

and I thought I had updated it, Thanks again
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 04:09:42 PM
Ok,
i've just upload calendar plugin on my webserver....but i don't remember how to update menu  :oops: :oops:
Just download a new menu.php?

I've also put #plugin(calendar) on menu settings and then..... :oops:

Thank you so much.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 04:29:02 PM
yes, download it and update the original
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 04:40:05 PM
yes, download it and update the original


There are two new words to add at xx.php language.
"weekly" and "diary".

Please update your language, so i can translate it.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 04:42:23 PM
I will do later this week
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 04:48:22 PM
Jachym,
i've just installed warningsEUregions block.
Actually there are five warnings but if i click on "Altro" (other) it doesn't show any map.
Do you think it's a isp problem or what?
Link: http://www.meteopistoia.it/indexDesktop.php (on the right side near the footer).
Thank you so much.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 05:34:16 PM
I already answered this question 2 times recently
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 05:37:40 PM
Here:

you asked 3 days ago:
http://www.wxforum.net/index.php?topic=26825.msg309054#msg309054

and I answered:
http://www.wxforum.net/index.php?topic=26825.msg309073#msg309073
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 28, 2016, 05:54:33 PM
Here:

you asked 3 days ago:
http://www.wxforum.net/index.php?topic=26825.msg309054#msg309054

and I answered:
http://www.wxforum.net/index.php?topic=26825.msg309073#msg309073

Jachym,
i asked about warnigsEU not warningsEUregions.
WarningsEUregions has another link to get warnings...it uses rss.
Now, warningsEU working fine because my isp has unblocked a specific IP of meteoalarm....for me it had to work fine also warningsEUregions but i was wrong.
So, i must repeat my question  :roll: :grin:
Do you think it's still an isp problem or what else?
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 28, 2016, 06:47:38 PM
I dont understand what you are asking, if your provider blocks meteoalarm, it will not work.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on December 28, 2016, 11:22:20 PM
I dont understand what you are asking, if your provider blocks meteoalarm, it will not work.

Thank god im in the US.  On that note Jachym,  I was traveling and back from holidays.  I owe you a reply email.  Wasn't ignoring you 😬
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2016, 07:17:49 AM
Hi Jeff,
no worries :-) I hope you like the new plugin too :-) The PDF generation thing was really something that I was trying to do for over 2 years :D And I will use that in the future for other stuff as well.
Title: Meteotemplate - New Block - Spain - Current Conditions
Post by: Jáchym on December 29, 2016, 10:02:59 AM
New Block - Spain - Current Conditions

Hi guys,

I created a new block for current conditions in Spain. This block shows a map and a table with current conditions and temperatures in major Spanish cities. No need to set up anything.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentES

Enjoy
Title: Re: Meteotemplate - New Block - Spain - Current Conditions
Post by: KapitainOne on December 29, 2016, 10:47:29 AM
New Block - Spain - Current Conditions

Hi guys,

I created a new block for current conditions in Spain. This block shows a map and a table with current conditions and temperatures in major Spanish cities. No need to set up anything.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentES (http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentES)

Enjoy

Just looked at the demo and if you click on any menu item it will open behind the map of Spain!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2016, 10:54:23 AM
Oh I see, I forgot that this is how the leaflet map behaves... thanks, I will update it tomorrow.
Title: Meteotemplate - New Block - Austria - Current Conditions
Post by: Jáchym on December 29, 2016, 12:47:54 PM
New Block - Austria - Current Conditions

Hi guys,

I created a new block for current conditions in Austria. This block shows a map and a table with current conditions and temperatures in major Austrian cities. No need to set up anything.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentAT

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 29, 2016, 03:04:20 PM
Unfortunately my provider has answered that the server works fine without any block.
At this point, i don't know why this script doesn't work as it should :(
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 29, 2016, 05:43:53 PM
Oookkkkk  \:D/
I've found why warningsEuregions doesn't found any warning.
Because on settings menu i've put "IT" instead of "it"  ](*,) ](*,)

Now i've warnings but if i push other button metealarm map doesn't show....any ideas?
Link: http://www.meteopistoia.it/indexDesktop.php


Edit:
Found also second issue  \:D/ \:D/
Two warning blocks (warningsEU and warningsEUregions) doesn't coexist both on one page because goes in conflict.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2016, 06:33:43 PM
Yes because there is no point in using both, one was developed earlier and the other one shows more info, so there probably isnt much point in using both
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 29, 2016, 06:34:52 PM
Yes because there is no point in using both, one was developed earlier and the other one shows more info, so there probably isnt much point in using both

Thank you so much Jachym  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2016, 07:00:29 PM
You are welcome, I will probably change it so that you can use both, probably not very useful, but they should all be independent and possible to use in any combination.

I also updated the current conditions Spain and Austria blocks, just very minor bug fixes.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2016, 09:02:08 PM
yes, download it and update the original


There are two new words to add at xx.php language.
"weekly" and "diary".

Please update your language, so i can translate it.
Regards,


Alessandro

added
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 29, 2016, 09:37:33 PM
Hi Jachym,

First off, Happy New Year to you and and all the Meteotemplate community of users! I see we are quickly approaching 400 users worldwide. Pretty amazing stuff.

Couple of things...

1. On the Outlook page, short term forecast, http://www.kpw3.com/meteo/pages/forecast/index.php (http://www.kpw3.com/meteo/pages/forecast/index.php) am I getting CM rather than Inches readings because of the data source or a bug in the script?
(http://[attachment id=2 msg=309606][/attachment])

2. I know I have brought this up before and you mentioned that you would fix it in the next version...well it's the next version, :grin: but it's still really cold in Russia  :shock: See the attached graphics.
(http://[attachment id=1 msg=309606][/attachment])

Thanks for all your great work.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 29, 2016, 09:58:35 PM
 :grin: yes....  Many new users,  so many that one forgets about stupid bugs....

Bug fixes package later today,  when I get up  :grin:
Title: Meteotemplate - Bug Fixes Package 11.1
Post by: Jáchym on December 30, 2016, 09:17:40 AM
Meteotemplate - Bug Fixes Package 11.1

Hi guys,

I waited a week to see if anyone reports any bugs and based on your reports/suggestions I made some modifications in several scripts.

Bug fixes/new features:

- menu check – fixed
- menu tab renaming – when no value specified the original is maintained (previously set to “null”)
- prevent autocomplete of fields in the main settings
- bug fix in the climate page
- minor bug fix in the mobile footer

Just replace the corresponding files.

The package can be downloaded from the Downloads page, click the Bug Fixes link in the menu on the left.

Note: One last currently known bug is the missing Vantage Vue icon, I am aware of this, but fixing this is slightly more complicated than it seems and it will be fixed as part of next version release.
Title: Re: Meteotemplate - Bug Fixes Package 11.1
Post by: i_fiorentino on December 30, 2016, 11:59:42 AM
Meteotemplate - Bug Fixes Package 11.1

Hi guys,

I waited a week to see if anyone reports any bugs and based on your reports/suggestions I made some modifications in several scripts.

Bug fixes/new features:

- menu check – fixed
- menu tab renaming – when no value specified the original is maintained (previously set to “null”)
- prevent autocomplete of fields in the main settings
- bug fix in the climate page
- minor bug fix in the mobile footer

Just replace the corresponding files.

The package can be downloaded from the Downloads page, click the Bug Fixes link in the menu on the left.

Note: One last currently known bug is the missing Vantage Vue icon, I am aware of this, but fixing this is slightly more complicated than it seems and it will be fixed as part of next version release.


Thanks Jachym,
don't worry about vue icon ....it's a great job!  ;)

Maybe a minor "bug"...footer mobile index, is it ok "Meteotemplate 10.0 banana"?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 12:07:47 PM
That was also one of the problems and the fixed footer with version 11 is included in the fix package.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on December 30, 2016, 12:17:23 PM
I am current, including bug-fixes and seems to work fine.  The indexMobile footer issue is fixed.   www.komokaweather.com/j-template

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 30, 2016, 12:53:01 PM
That was also one of the problems and the fixed footer with version 11 is included in the fix package.

Yes!
Bug fixes installed  ;) ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 01:00:47 PM
OK, good
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 30, 2016, 05:08:33 PM
Anybody with a few minutes want to take a look at my website?
Site is hsncweather.com.  I cannot get to it.  Normally forwards to hsncweather.com/indexDesktop.php
Try http://71.65.227.54/indexDesktop.php and it loads a page that looks like there is no php on it at all.
On my server, I can go to localhost, and the page is just white; nothing loads.
The only change I made is to change my godaddy forwarding from http://hsncweather.com/meteotemplate/ to www.hsncweather.com (no idea why I even had it set up like that)
Reverted the changes, and still does not work.
I restored the server to this morning, and also restored IIS to the last backup from last week.
I literally have no idea what happened, except that I wish I never logged into godaddy (bought a new domain name, as I am moving soon :)  )
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 05:32:48 PM
Must be something on the server because it does not load even basic files, eg:

http://www.hsncweather.com/meteotemplate/scripts/jquery.min.js
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on December 30, 2016, 06:06:09 PM
Hi Jachym,
Have you update users map?
http://www.meteopistoia.it/plugins/userMap/index.php


Because i have still the old link: newsite.meteopistoia.it insteas of www.meteopistoia.it.
(http://i.imgur.com/Zxg2lX6.png)

Thanks for fix this.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 30, 2016, 06:32:04 PM
Must be something on the server because it does not load even basic files, eg:

http://www.hsncweather.com/meteotemplate/scripts/jquery.min.js

Ugh okay.  Was hoping maybe it could somehow be elsewhere.  But I agree with you.  Isn't it slightly odd that if you go by IP that it partly loads?  Still looks horrible though.  Since I can't see anything to be able to run a backup, if I put in localhost/(path to the backup directory), should that work?
FYI, my cronjob running through cron-job.org is failing of course, but I can actually run the job be entering http://localhost/update/cumulus.php?pass=(mypassword) and using a Chrome page refresher running every 60 seconds.  Rudimentary, but I used it when all the cron sites were down a few months back.  Does the trick.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 07:27:32 PM
Hi Jachym,
Have you update users map?
http://www.meteopistoia.it/plugins/userMap/index.php


Because i have still the old link: newsite.meteopistoia.it insteas of www.meteopistoia.it.
(http://i.imgur.com/Zxg2lX6.png)

Thanks for fix this.
Regards,


Alessandro

It is ok, did you update the users file?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 07:33:46 PM
Must be something on the server because it does not load even basic files, eg:

http://www.hsncweather.com/meteotemplate/scripts/jquery.min.js

Ugh okay.  Was hoping maybe it could somehow be elsewhere.  But I agree with you.  Isn't it slightly odd that if you go by IP that it partly loads?  Still looks horrible though.  Since I can't see anything to be able to run a backup, if I put in localhost/(path to the backup directory), should that work?
FYI, my cronjob running through cron-job.org is failing of course, but I can actually run the job be entering http://localhost/update/cumulus.php?pass=(mypassword) and using a Chrome page refresher running every 60 seconds.  Rudimentary, but I used it when all the cron sites were down a few months back.  Does the trick.

Sorry Stefan, I know very little about servers, the page you see which looks really weird is because the path in main settings is incorrect, it is not loading all the CSS, JS files etc.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 30, 2016, 07:38:27 PM
Must be something on the server because it does not load even basic files, eg:

http://www.hsncweather.com/meteotemplate/scripts/jquery.min.js

Ugh okay.  Was hoping maybe it could somehow be elsewhere.  But I agree with you.  Isn't it slightly odd that if you go by IP that it partly loads?  Still looks horrible though.  Since I can't see anything to be able to run a backup, if I put in localhost/(path to the backup directory), should that work?
FYI, my cronjob running through cron-job.org is failing of course, but I can actually run the job be entering http://localhost/update/cumulus.php?pass=(mypassword) and using a Chrome page refresher running every 60 seconds.  Rudimentary, but I used it when all the cron sites were down a few months back.  Does the trick.

Sorry Stefan, I know very little about servers, the page you see which looks really weird is because the path in main settings is incorrect, it is not loading all the CSS, JS files etc.

It's okay; not your fault.  Do you have a link to the version 10 download?  I hadn't yet upgraded to 11, so maybe if I start to replace some of the main files with new ones?  I just created a new test site in IIS and added default text, css, and images, and it does work.  So maybe I just need to migrate things to this new site?  Still makes no sense, but that is how the world works sometimes haha
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 07:45:17 PM
PM
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 30, 2016, 08:00:49 PM
Got it.  Tried it.  No luck.  So, I am going to download 11 now and start a new site on the server altogether.  See if that fixes it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 30, 2016, 08:02:04 PM
Yes, you can then copy your plugins folder and blocks, it should all work fine with 11 if you were using 10.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 30, 2016, 10:12:43 PM
Anybody with a few minutes want to take a look at my website?
Site is hsncweather.com.  I cannot get to it.  Normally forwards to hsncweather.com/indexDesktop.php
Try http://71.65.227.54/indexDesktop.php and it loads a page that looks like there is no php on it at all.
On my server, I can go to localhost, and the page is just white; nothing loads.
The only change I made is to change my godaddy forwarding from http://hsncweather.com/meteotemplate/ to www.hsncweather.com (no idea why I even had it set up like that)
Reverted the changes, and still does not work.
I restored the server to this morning, and also restored IIS to the last backup from last week.
I literally have no idea what happened, except that I wish I never logged into godaddy (bought a new domain name, as I am moving soon :)  )

Stefan:

I'd say that the Internet DNS entries for your site are no longer setup correctly.

www.hsncweather.com and hsncweather.com do not resolve to the same IP addresses.
Code: [Select]
C:\>nslookup www.hsncweather.com

Non-authoritative answer:
Name:    ghs.l.google.com
Addresses:  2607:f8b0:4006:80f::2013
          216.58.219.243
Aliases:  www.hsncweather.com
          ghs.google.com
Code: [Select]
C:\>nslookup hsncweather.com

Non-authoritative answer:
Name:    hsncweather.com
Address:  50.63.202.5

These are two completely different ranges.  Which one is the correct one?

If you want to point at one or the other you can create a DNS CNAME record (AKA an alias record) that points, for example, hsncweather.com to www.hsncweather.com IF that's how it needs to be.

Let me know if you have questions about this.

--Kurt




Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 30, 2016, 10:25:13 PM
Yep, it's definitely a DNS error. 
I put the following entry in my hosts file:
Code: [Select]
71.65.227.54 www.hsncweather.comand your site came up fine.  I note this is a third IP address--apparently a TWC address in this case.

Meteotemplate needs an accurate Internet FQDN (Fully Qualified Domain Name) in order to work properly. It will not work correctly with just an IP address.

Here's a screenshot:
(http://[attachment id=1 msg=309713][/attachment])

Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 30, 2016, 11:06:06 PM
Installed the bug fix pack.

Hmmmmmm...maybe I need to clear a cache somewhere or something.  Still getting CM rather than inches displayed on the short-term forecast: http://www.kpw3.com/meteo/pages/forecast/index.php (http://www.kpw3.com/meteo/pages/forecast/index.php)  :-k

And still a little chilly in Russia.
(http://[attachment id=1 msg=309714][/attachment]) :lol:
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 31, 2016, 12:18:06 AM
Andddd issue resolved.

Thank you Jachym for your assistance.  I am still developing a new site, as my wife and I are moving soon (just across the county)

Thank you Kurt for the DNS issue suggestion.  That really did not cross my mind.  Somehow my DNS A record was pointing to that random 50.x.x.x range, when it shouldn't have.  I don't recall touching that, but who knows.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on December 31, 2016, 02:39:22 AM
Andddd issue resolved.

Thank you Jachym for your assistance.  I am still developing a new site, as my wife and I are moving soon (just across the county)

Thank you Kurt for the DNS issue suggestion.  That really did not cross my mind.  Somehow my DNS A record was pointing to that random 50.x.x.x range, when it shouldn't have.  I don't recall touching that, but who knows.

Welcome, and glad to help.  I can confirm that I can also get to your site even after deleting the hosts file entry.

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 31, 2016, 08:37:53 AM
Installed the bug fix pack.

Hmmmmmm...maybe I need to clear a cache somewhere or something.  Still getting CM rather than inches displayed on the short-term forecast: http://www.kpw3.com/meteo/pages/forecast/index.php (http://www.kpw3.com/meteo/pages/forecast/index.php)  :-k

And still a little chilly in Russia.
(http://[attachment id=1 msg=309714][/attachment]) :lol:

The cm issue is something I cannot fix, this is because the forecast string is a word forecast that comes directly from the source and changes, it is not some static set of strings so I cannot translate this, it simply takes it as the current textual forecast if you see what I mean, the string is not produced by MT.

I see the problem with the climate... damn :D I fixed it in the main climate page, the one you get when you click the details button, but I forgot it is also included in the tooltip on the map... that Im afraid will have to wait until v12 :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 31, 2016, 08:41:34 AM
Andddd issue resolved.

Thank you Jachym for your assistance.  I am still developing a new site, as my wife and I are moving soon (just across the county)

Thank you Kurt for the DNS issue suggestion.  That really did not cross my mind.  Somehow my DNS A record was pointing to that random 50.x.x.x range, when it shouldn't have.  I don't recall touching that, but who knows.

Welcome, and glad to help.  I can confirm that I can also get to your site even after deleting the hosts file entry.

--K

Thanks a lot for helping out, I know hardly anything about servers, DNS and that sort of stuff.
Title: Meteotemplate - New Language - Croatian
Post by: Jáchym on December 31, 2016, 09:51:39 AM
Hi guys,

Meteotemplate is now also available in Croatian. The new language will be included in the next template version by default, but you can already download the language file now and just insert it into your “langs” directory to make it available.

Big thanks goes to Robert for providing the translation!

Meteotemplate is now available in 25 languages, all translated by native speakers exclusively!

Enjoy
Title: Meteotemplate - New Block and HAPPY NEW YEAR!
Post by: Jáchym on December 31, 2016, 12:09:26 PM
Hi guys,
I have created a new block for current conditions in Croatia.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentHR

Also,
I would like to wish you all the best for new year.

There is always good news and bad news. So let´s start with the bad news. Unfortunately, given my time possibilities, there will not be any new block, plugin, update or even a blog post any more this year (2016). And now let´s continue with all the other news which are good.

http://meteotemplate.com/blog/?p=1600 (http://meteotemplate.com/blog/?p=1600)

Best regards from currently relatively cold Czech Republic!

Enjoy
Title: Re: Meteotemplate - New Block and HAPPY NEW YEAR!
Post by: i_fiorentino on December 31, 2016, 01:13:12 PM
Hi guys,
I have created a new block for current conditions in Croatia.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentHR

Also,
I would like to wish you all the best for new year.

There is always good news and bad news. So let´s start with the bad news. Unfortunately, given my time possibilities, there will not be any new block, plugin, update or even a blog post any more this year (2016). And now let´s continue with all the other news which are good.

http://meteotemplate.com/blog/?p=1600 (http://meteotemplate.com/blog/?p=1600)

Best regards from currently relatively cold Czech Republic!

Enjoy

Jachym,
thank you so much for all you've done in this 2016!!
Your work is really appreciated despite you opinion about one script  :grin: :grin:

I wish you happy new year to you and your family  =D&gt; =D&gt; =D&gt;
Best regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 31, 2016, 01:55:23 PM
Jachym,

Now that I have my issues from last night resolved, any issue with the outlook plugin?  I have it installed, and it is in the code, but menu check insists it is not there...

Default Pages

Your menu is missing the following default pages:
statisticsS
Installed plugins

Your menu is missing the following installed plugins:
outlook



>>>
>> forecast
#default(outlook)
#plugin(forecastComparison)
>> current conditions
#default(globalMap)
#default(metar)
#plugin(cityConditions)
#plugin(weatherMETAR)
#plugin(globalSnow)
#plugin(fireDanger)
>>>
etcetera.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 31, 2016, 02:02:02 PM
That is ok Stefan,
you probably missed that blog post, this plugin is no longer supported and you should delete it from your server. In version 10 the outlook plugin was extended to include even more information and is now part of your default template, see the Weather -> Outlook/Forecast script. The outlook plugin is just a duplicate of this with less functions so you already have it in your template as part of the default.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on December 31, 2016, 02:04:43 PM
Ah okay.  Thank you.  I try to stay up to date on all the posts, but sometimes I need to skim due to time constraints and what not.  Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 31, 2016, 02:45:47 PM
Hi guys,
I know some of you were having problems with retrieving data from my server at meteotemplate.com. This meant you were not able to load the latest block/plugin versions and use the update notification features. I asked you to turn off that feature in the Main settings.

I was now in contact with my provider and after explaining them what is happening and helping them with some tests they found a bug in their firewall.

Larry was one of those who could not even access my site at all and he now confirmed to me that the issue is fixed and he has access.

If you previously had problems see if it works now, i cannot guarantee, but we will see. After you enable this in the main settings, just wait 24h, it is likely going to still use the cached file from when it was not working.

Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 05:26:33 AM
First of all a Very Happy New Year to everyone.
Now down to business, strange things going on in www.skeltonweather.uk
when I open my website normally all the icons for the plugins on the menu etc have been replaced by other icons (see menu1.png) the only way I can get them back is to go into admin mode and they all appear (see menu2.png) just wondering if any others see the same when looking at my site or is it just me.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on January 01, 2017, 06:47:40 AM
First of all a Very Happy New Year to everyone.
Now down to business, strange things going on in www.skeltonweather.uk
when I open my website normally all the icons for the plugins on the menu etc have been replaced by other icons (see menu1.png) the only way I can get them back is to go into admin mode and they all appear (see menu2.png) just wondering if any others see the same when looking at my site or is it just me.

Interesting.  I had that happen once but wasn't sure why.  I wonder if it is a caching issue?  Is this consistent?
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 07:17:55 AM
Yes its consistent, selecting any of the plugins pulls in the correct icons globally , maybe will try flushing the cash
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 08:16:05 AM
Cached version of the icons :) CTRL+F5
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 09:12:23 AM
well I've flushed the cache, and cached the flush etc still the same  \:D/  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 09:20:43 AM
When I look at your site, everything is working perfectly, all icons in menu ok
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 09:44:32 AM
It appears to be a browser problem, in Firefox they are missing, in I.E they are ok ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 09:58:08 AM
No, they work in all browsers. Just checked FF and everything ok. It is cached in your FF
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 10:06:28 AM
just installed chrome for the first time and the same problem is there
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 10:12:43 AM
chrome
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 01, 2017, 10:47:16 AM
Stewart, your site and menu icons all look fine from here...

But maybe there is a new 2017 bug going around.  Bringing up my www.komokaweather.com/j-template site took over 3 minutes (subsequently it looded fine).  Then there was/is the Cumulus/Saratoga issue, and my snow entry in www.komokaweather.com/weather28

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 10:59:56 AM
Paul your site loaded immediately for me (MT). Im at work so I can have a look and it loaded practically instantly and then one block after another, probably just some local issue when you first tried. I dont see any reason why 1 Jan should cause any problems.
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 11:03:49 AM
beginning to look like a local issue to me, not sure where to start looking, cleared the cache in FF etc
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 11:12:17 AM
Did you try CTRL+F5
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 01, 2017, 11:16:30 AM
Quote
I dont see any reason why 1 Jan should cause any problems.
So you are not buying my 2017 conspiracy theories :o

Happy New Year,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 11:27:17 AM
Quote
I dont see any reason why 1 Jan should cause any problems.
So you are not buying my 2017 conspiracy theories :o

Happy New Year,
Paul

No! :D

I always laugh at most conspiracy theories ;)
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 11:46:58 AM
Did you try CTRL+F5

Yes did that
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 11:50:17 AM
Well... it shows ok in FF for me and Paul, it must be local problem
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 01, 2017, 02:46:26 PM
definatly a local problem, not evident on my laptop
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 01, 2017, 04:40:23 PM
Probably me being selfish and wanting things to be even easier, but will ask anyway...
As most of us are proud of our weather station, etc. I try to use the Davis VP2 icons wherever the station icon is displayed.  Occasionally on new plugins, blocks and versions the default/included icon is the Fine Offset.  Whenever I notice that I edit the plugin/block to use either the Davis VP2 white or black.  I have today edited the menu Climate for Station Climate (/pages/station/climateIndices) plugin as well as the Info aboutStation and aboutPage.

Can there be a folder that has the station icons and the plugins/blocks source from that for any place the station icon is used.  It likely is a bit more complicated because in some instances the station name are used rather than just station.png.  I likely have the Davis black and white station icons in about a dozen different plugins/blocks and they can get overwritten.

Also, in my http://www.komokaweather.com/j-template/pages/other/aboutLocation.php#/ page there appears to be an image missing and can't recall what was in there, nor able to find what I could edit in aboutLocation.php

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 05:34:13 PM
Hi Paul,
yes that is very sensible thing to do. The reason why it was not possible before is that for example some scripts (google maps etc.) require the icon in different size/resolution, which is why you had many station icon images. Now it is all different with the new icons, which are not images, but SVG objects, I can now style them, resize them, color them etc however I want. But it is obviously necessary to update all these blocks/plugins first. I need a few more things added in the config, so I will start working on this for version 12.
The only problematic thing is when the station icon is part of an icon which shows something else too - i.e. an icon which includes the station image, in such case I would have to create many different icons.
For the menu you can now change the icon in any link you want.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 01, 2017, 05:53:23 PM
Thanks Jachym, that will be very nice when it is implemented.

Any thoughts on the missing/broken something on my aboutLocation?  I had looked at several other MT sites and they don't show anything there.

Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 06:33:18 PM
I need to check that tomorrow when Im at work during lunch break, right now I will rather not go to your site given Im at home... (you know why :D)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 06:34:57 PM
Never mind, it did load.

That broken image is supposed to be the Canadian flag, I guess you accidentally somehow copy/pasted it twice, because it is also above it working. Just delete the second one.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 01, 2017, 08:49:50 PM
The aboutLocation.php file was a July 28, 2016 version so it must have been like that for nearly 6 months :oops:   I edited the duplication code and now looks ok.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 01, 2017, 08:52:22 PM
Well.. to be quite honest Paul it always amazes me how you find time to look after 4 templates each including absolutely all possible extras available :D
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 02, 2017, 07:23:18 AM
definatly a local problem, not evident on my laptop

Now I'm completely confused, totally re-installed everything on the computer, hard drive re-formatted win10 installed etc,and I still have the same problem with the icons, where is this comming from, if I had any hair left that would be gone.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 02, 2017, 10:53:34 AM
 :-| Looks good to me in any browser I tried....

Just to let you guys know, I am alive :D Im just working on something you will surely enjoy :) But it will take a while to finish because my goal is again to give you maximum customizability while making it very intuitive to set up via GUI :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 02, 2017, 11:28:46 AM
Quote
where is this comming from
See my reply post #5342 ;)

I was doing the same thing yesterday, pulling hair out, as I kept getting duplicate text in aboutLocation and also the duplicate flag.  Couldn't understand where it was coming from, refreshed, reloaded, deleted file, reuploaded the original file, etc. etc.  Then noticed some obscure (well obscure to me) code.  Deleting some of that code fixed it.  Not sure though what other repercussions there will be later 8-[

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on January 02, 2017, 01:36:28 PM
First of all a Very Happy New Year to everyone.
Now down to business, strange things going on in www.skeltonweather.uk
when I open my website normally all the icons for the plugins on the menu etc have been replaced by other icons (see menu1.png) the only way I can get them back is to go into admin mode and they all appear (see menu2.png) just wondering if any others see the same when looking at my site or is it just me.

Interesting.  I had that happen once but wasn't sure why.  I wonder if it is a caching issue?  Is this consistent?

I have the same issue.
When logged in as Admin the issue goes away.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 02, 2017, 01:46:35 PM
Looking at your site (of course not as an admin) and everything OK.

The only problem is that when I clicked the link, it took like 15s before it redirected to the homepage. This is strange, not sure how you did the redirect, it should do it immediately. Once it redirected, the page loaded quite fast.
Title: Re: Meteotemplate set up with Weather Display
Post by: BfdWx on January 03, 2017, 10:20:11 AM
Greetings all !

I was wondering if someone could give me a hand with setting up Meteotemplate with Weather Display ?

I am stuck at trying to get WD's clientraw.txt uploaded.

I have looked through various forums and "manuals" and from what I can tell I have WD FTP settings configured properly. The WD FTP window appears as thought files are being uploaded with not error but alas, I cannot see them where I specified I wanted them.

Any help is appreciated !

It will be helpful to post your web site address and where your clientraw files are being uploaded according to your settings.  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Ashes80 on January 03, 2017, 10:22:00 AM
I think I have it figured out. Thank you for the reply. I will post back with info if I need further assistance. Thanks !
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 03, 2017, 12:42:56 PM
Anything I can do other than continue to delete and ban the IPs from getting the endless spam messages in my Guestbook, or removing the plugin?

Not enjoying,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 03, 2017, 12:55:12 PM
It is strange, something happened, I started getting these day before yesterday too. I think it is the same bot that figured out how to get pass the captcha, it is not coming from guestbook, more from the contact form.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 03, 2017, 02:20:27 PM
I am getting no more than usual in email account (the odd one a day) and these multiples are showing in my Guestbook, which then gives an email notification that a new Guestbook comment has been made.

Not enjoying,
Paul. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 03, 2017, 02:42:08 PM
Yes, I dont know what to do about it, I might just discontinue the contact and guestbook plugins
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 03, 2017, 03:04:20 PM
I just enabled the guestbook plugin too see what happens!

I've only ever received a couple of emails from the contact plugin, and that one has been enabled since it was release?

Curious Bill


Title: Meteotemplate - New Plugin - Steel Series Gauges Extended
Post by: Jáchym on January 04, 2017, 11:36:51 AM
New Plugin - Steel Series Gauges

Hi guys,

let´s begin the new year with something you will hopefully enjoy and something I have been working on for quite some time. Before I continue, I would like to especially thank Mark Crossley for creating this script and letting me use it.

I have substantially modified both the original Steel Series script and Mark´s script to make it compatible with Meteotemplate and the database, the data retrieving script is different and I have also added many new features, and most importantly, completely converted the setup to GUI (colorpickers, drag/drop etc.). It will also automatically choose language and units based on your template settings.

Main features
- interactive real-time updating gauges showing your data
- tooltips with today´s min/max values
- summary of current, today´s and yesterday´s data
- interactive graphs
- complete GUI setup
- highly customizable
- compatible with the template database, WD, Cumulus, WeatherCat, Meteobridge

Some of the changes I made to the original script:
- interactive graphs are available for all data sources and include daily, monthly, annual graphs, where you can also select grouping
- GUI set up page, where you can specify practically everything (colors using colorpickers, gauge order using drag&drop, look and feel of the gauges, disable/enable gauges and their features etc.)
- completely different data retrieval script
- new summary page (popup dialog with summary data table and caching implemented)
- possibility to choose gauge type for each parameter gauge
- drag&drop gauge order
- pointer speed selection
- possibility to set gauge shadow options (transparency, size, color)
- possibility to specify min/max highlight area (enable/disable, color, transparency)
- possibility to specify rain gauge gradient color (I added some new gradients to the original script for more options)
- possibility to specify odometer details (size, number of digits, background/foreground colors of main section and decimals section)
- possibility to specify the knob color
- added new customization features for tooltips - trigger (hover or click), animation time, tooltip delay
- changed color gradients of the gauges (solar uses black->yellow, temperature blue->red etc.)
- changed styling of tooltips and other parts to match the design you specified for Meteotemplate
- auto use template language and units

You can basically set up absolutely everything and you don´t have to know a single line of code. I tried to make the setup page as intuitive as possible and in the demo you can also view this setup page on my server (this is a modified version in which you obviously will not be able to save the changes, this is only for illustration purposes, but once you install this in your template you will of course be able to see and save the changes).

Hope you enjoy it and thanks again to Mark for his great work.

DEMO: http://www.meteotemplate.com/template/plugins/steelSeries/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 12:24:32 PM
Jachym.
I've downloaded steelSeries plugin (also new menu download), went through the setup but my screen is blank although graphs work.  I've attached picture.
Tom
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 04, 2017, 12:27:46 PM
Downloaded, installed configured and

WOW!

Great work!

BTW the set up reminds me that there is a big need for a goto top link on all pages!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 12:28:49 PM
OK, sorry, I know what the problem is, it is the solar sensor, I will update it asap
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 12:32:24 PM
Jachym.
I've downloaded steelSeries plugin (also new menu download), went through the setup but my screen is blank although graphs work.  I've attached picture.
Tom

Tom redownload the file and just open the setup page and hit save it will update the settings file.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 12:37:59 PM
Jachym,
I downloaded again and all is working. It really looks nice.
Thank you.
Tom
PS. This would make a great alternative to the gauges block.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 12:49:00 PM
Blocks have limited space and more importantly, must be simple, remember you are loading dozens of them on just one page, it would be too much load on the browser, I dont want the homepage to have MBs of scripts etc.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 12:57:21 PM
Playing around with the plugin, if I use the database it works perfect.
Using clientraw.txt from WD the gauges have all the right current data but the history is wrong.
It says my max temp for today is 116.8 degrees.  It also says last update 734 days ago and the clientraw is current.
I've attached a picture.
Tom
On using it for a block I was only thing of using the gauges.  I like how they show the extremes for the day.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on January 04, 2017, 01:00:19 PM
Hi Jachym,

Very nice. I too am getting similar readings like Tom's (117 degrees). Also the update says the station has been offline for 734 days! The data is up to date.

Jack
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 01:12:47 PM
Hmmm thats strange because only the first part (current conditions) is loaded from the clientraw, the rest uses db, no matter what you selected. I guess the problem is again in the fact I couldnt test anything apart from the db. I will look at it later, unfortunately Im at work now, I cant do more now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 01:17:04 PM
Just use DB for now, this is going to be problematic, I did test it with my static clientraw and it worked, this is really strange, especially since the today min/max is calculated by the same function no matter what the update type is.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 02:08:01 PM
OK, I fixed one other issue with the temp/dew gauge (it always starts from zero after update).
But there is no point in releasing a fix if there are more problems, right now I know the WD option does not work. Im curious if Cumulus does. The problem is that unlike in other cases, here I cannot test it with someone´s clientraw, since it combines data from db with realtime, if these two dont match, its not going to work and produce nonsense, which does not tell me if it works
Title: Re: Meteotemplate - new free website template
Post by: WessexWeather on January 04, 2017, 02:37:02 PM
Jachym,

Are you aware of this realtime SteelSeries solution that can be set up using Meteobridge?

http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php

I have it up and running here: http://www.wessexweather.net/saratoga/wxssgauges.php

Does yours work in the same way, or does it just update the gauges every 5 minutes as the database gets updated?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 02:45:24 PM
Hi,
no, the update script is completely different, it uses a completely different script than the original SS gauges, since it also loads data from the db for the summary, max/min etc.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 03:32:24 PM
OK, I need someone to switch the gauges to WD option and then send me the URL of their SS plugin as well as URL of their clientraw, I cannot do this myself on my server, I have to see output of someone using db and WD at the same time
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 03:36:17 PM
Jachym,
Here you go:

http://www.shermanctweather.org/meteo/plugins/steelSeries/index.php
http://www.shermanctweather.org/clientraw.txt
I've switched back to wd
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 03:43:54 PM
Right, I know why.... ok, I think I know how to fix it, it is all because of the unit conversions. Lets hope so...
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 03:51:28 PM
One other thing I noticed.
I don't have solar but the graph icon for solar still shows.  Picture attached.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 03:56:30 PM
OK, I will look at that, meanwhile, try the attached script and let me know if it fixed the T issue and the date issue
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 03:58:42 PM
One other thing I noticed.
I don't have solar but the graph icon for solar still shows.  Picture attached.
Tom

Tom check in your settings if you have the solar gauge disabled
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 04:01:23 PM
As far as the gauges they now work fine.
I do have solar turned off.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 04:10:12 PM
In the gauges setup? Thats where you need to disable it
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 04:12:59 PM
I believe it's off.  I've attached a picture of what I did.
Tom
Title: Re: Meteotemplate - new free website template
Post by: semtex on January 04, 2017, 04:18:44 PM
I have a problem with the value uvindex

UV-9999

 [ You are not allowed to view attachments ]

Title: Meteotemplate - Plugin Update - SteelSeries 1.1
Post by: Jáchym on January 04, 2017, 04:21:37 PM
Plugin Update - SteelSeries 1.1

Hi guys,

based on your feedback I fixed couple of issues:

WD and Cumulus now parsed correctly
temperature gauge now does not go to zero upon each update
It is possible there still are some bugs, so let me know if you find something. After you replace the original files with this one, just run the setup again, your settings is saved separately and it will only update the settings file.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 04:24:49 PM
I have a problem with the value uvindex

UV-9999

 [ You are not allowed to view attachments ]

Which update type did you choose, the database?
Title: Re: Meteotemplate - new free website template
Post by: semtex on January 04, 2017, 04:28:51 PM
I have a problem with the value uvindex

UV-9999

 [ You are not allowed to view attachments ]

Which update type did you choose, the database?





Yes...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 04:30:38 PM
OK, then you have to disable the UV, UV is not saved in the database, this only works for the other update options.
Title: Re: Meteotemplate - new free website template
Post by: semtex on January 04, 2017, 04:34:17 PM
OK, then you have to disable the UV, UV is not saved in the database, this only works for the other update options.


OK  thanks
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 04:39:25 PM
Jachym,
I updated to version 1.1 but now my temp gauge and feels like gauge are showing the right data in gauge window but gauge has odd numbers. 
Picture attached.
Tom
Title: Re: Meteotemplate - new free website template
Post by: semtex on January 04, 2017, 04:44:26 PM
Update 1.1
Data source weather display
all perfect
UV index  OK !!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 04:46:22 PM
I think I know just make sure none of your limits are "0", if you set 0 for the temp minimum, just use 0.01 or something like that, that should do it for now
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on January 04, 2017, 04:50:16 PM
Jachym,
I had to set temp min to 1. 
Working good now.
Thanks,
Tom
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 04, 2017, 09:03:30 PM
The gauges are working fine (Cumulus) http://www.komokaweather.com/j-template/plugins/steelSeries/index.php#/

I would like to move the precipitation gauge down with the rain rate but haven't found a setting to change the number of gauges per row.  It that possible?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 04, 2017, 09:11:02 PM
Hi Paul,
I guess not at the moment, the reason I did it like this is so that it scaled based on your monitor size, if I made fixed number of gauges per row, it would mean that it could either overflow on small screens or lead to redundant scrolling on wide screens
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on January 05, 2017, 05:38:00 AM
hello  :grin:
yep update 1.1
compliments for the new plugin  =D&gt;
data source weather display and MB
all perfect!

"Wind rose" ? ... does it work correctly with source files ?

and the scroll status for the MB version "out" but yet configured on "YES"  (screnn attached)
Regards

http://seremange-meteolive.franceserv.com/meteotemplate/plugins/steelSeries/index.php
http://valdefench57sgz.franceserv.com/meteotemplate/plugins/steelSeries/index.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 07:14:22 AM
Sorry Bianco, Im not sure what you mean, your gauges work fine, but in the first link you probably used some incorrect url for the source because the data is outdated.
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on January 05, 2017, 08:16:53 AM
re_Jachym

 :oops: just a detail for the rose of the winds: compared to the variables that one reads in the gauges "wind run today" ....
for the link of the source data MB, i nevertheless sent back to the file (updated) of "mbLive.txt" !
i missed something? thank you  ;)

http://seremange-meteolive.franceserv.com/meteotemplate/plugins/liveGaugesMB/mbLive.txt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 08:32:19 AM
Wind rose data comes from the database, it is not sent by MB
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 08:33:05 AM
you must provide relative path for the mbLive.txt otherwise the time will not work
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on January 05, 2017, 08:56:53 AM
you must provide relative path for the mbLiv("path") e.txt otherwise the time will not work

 :oops: :oops: sorry confused i thought to do well with url ... and sorry also for my ignorance, in my case i have to inquire what exactly ("path") ?
thnx
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 09:44:02 AM
Hi,
no problem.

Url will work for the data, but not for the date/time, because the script checks the time of file creation and you can only check that if you access the script locally, not as an external file.

So you have to use something like for example:
"../../mbLiveGauges/mbLive.txt"
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on January 05, 2017, 10:16:27 AM
So you have to use something like for example:
"../../mbLiveGauges/mbLive.txt"

 ](*,) have to be the only one but in my case, the function "path" does not update the plugin except to fill in the full URL of the file mbLive.txt  #-o
not serious, i tested with the [database] and it works
as my MB Pro allows the ftp sending of the data file in "Clientraw" format, the complete URL of the file.txt works as well  :-)
Thank you A ++
Regards
Title: Re: Meteotemplate - new free website template
Post by: justinhow on January 05, 2017, 11:36:30 AM
Just a possible bug or problem wit the cityConditions (Current Conditions) plugin.
It does not seem to be reliable. Sometimes it works and sometimes it returns nothing.
May be Yahoo problems or some such - I am not sure - just thought I would report it.
Thought it might be just my site but seems to be the same on the MT demo site.
Cheers
Justin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 11:53:39 AM
Yes it is Yahoo - with PHP it is realtively simple, if there is a bug, it fails, if not, it works. So given it works "sometimes" the only possible explanation is Yahoo - and I know they are very unrealible, probably the second worst option after WU :D :D :D

Originally Yahoo was used for the interactive banner at the top, i then had to change this to use METAR, which is not so region-specific, but reliable. I guess there is not much we can do or expect given it is a free API. I even had to remove the pressure completely not long ago, because there was a bug, they reported nonsense, people told them about it on their forums and they didnt do anything since March, so I deleted it.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on January 05, 2017, 12:35:41 PM
Hello Jachym,

Is there any way to stop the gauges from resetting? Upon every update the temp resets and then goes back up, looks strange when I do 5 second updates.

http://southernctwx.com/template/plugins/steelSeries/index.php

Thanks,

Jack
Title: Re: Meteotemplate - new free website template
Post by: justinhow on January 05, 2017, 12:36:56 PM
Yes it is Yahoo - with PHP it is realtively simple, if there is a bug, it fails, if not, it works. So given it works "sometimes" the only possible explanation is Yahoo - and I know they are very unrealible, probably the second worst option after WU :D :D :D

Originally Yahoo was used for the interactive banner at the top, i then had to change this to use METAR, which is not so region-specific, but reliable. I guess there is not much we can do or expect given it is a free API. I even had to remove the pressure completely not long ago, because there was a bug, they reported nonsense, people told them about it on their forums and they didnt do anything since March, so I deleted it.

Useless ****ers. Only thing they seem to be good at is getting hacked!
Thanks for update.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 12:47:28 PM
Hello Jachym,

Is there any way to stop the gauges from resetting? Upon every update the temp resets and then goes back up, looks strange when I do 5 second updates.

http://southernctwx.com/template/plugins/steelSeries/index.php

Thanks,

Jack

In the works.... http://www.weather-watch.com/smf/index.php/topic,60996.msg515644.html#msg515644

If you want to fix it immediately, set your T limits to multiples of 20 (in case of F) or 10 (for C). That should do it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 12:50:05 PM
Yes it is Yahoo - with PHP it is realtively simple, if there is a bug, it fails, if not, it works. So given it works "sometimes" the only possible explanation is Yahoo - and I know they are very unrealible, probably the second worst option after WU :D :D :D

Originally Yahoo was used for the interactive banner at the top, i then had to change this to use METAR, which is not so region-specific, but reliable. I guess there is not much we can do or expect given it is a free API. I even had to remove the pressure completely not long ago, because there was a bug, they reported nonsense, people told them about it on their forums and they didnt do anything since March, so I deleted it.

Useless ****ers. Only thing they seem to be good at is getting hacked!
Thanks for update.

I disagree with this... I mean before we say something like that we should think about how much you paid Yahoo for this :D And remember that by parsing data from their API they dont get many ad views from you :D

Btw... they introduced OAuth2 mechanism at the beginning of last yr and because so many people protested they at least went back to no auth API - which actually might be the problem, if there was some API key required with some sensible limit, just like Google Maps, Im sure their servers wont be so overloaded and it would work for all "normal" users if they use proper caching (data is only updated maybe very hour, so even 100 calls/day is enough, like this, bots can be calling for data every second...)
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on January 05, 2017, 01:21:33 PM



In the works.... http://www.weather-watch.com/smf/index.php/topic,60996.msg515644.html#msg515644

If you want to fix it immediately, set your T limits to multiples of 20 (in case of F) or 10 (for C). That should do it.

Yes, that worked, set it to -20 to 120 F

Thanks.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 05, 2017, 01:27:58 PM
Hi Jachym,
two questions about steelseries plugin.

1) What about liveGaugesWD plugin? Can i delete it?
2) I've tried to insert plugin menu like this: #plugin(steelSeries) but it doesn't show anything.

Sorry if this questions just had an answer but i'm on alps mountain now and internet connection is very bad!
Thanks in advance.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 01:33:00 PM
1) depends what you want, you can use neither, one of them or both
2) you need to update menu.php, this is a very common question
Title: Re: Meteotemplate - new free website template
Post by: justinhow on January 05, 2017, 01:58:05 PM
I disagree with this... I mean before we say something like that we should think about how much you paid Yahoo for this :D And remember that by parsing data from their API they dont get many ad views from you :D
I am sorry but this was unforgiveable "Yahoo hack: 1bn accounts compromised by biggest data breach in history - https://www.theguardian.com/technology/2016/dec/14/yahoo-hack-security-of-one-billion-accounts-breached (https://www.theguardian.com/technology/2016/dec/14/yahoo-hack-security-of-one-billion-accounts-breached)"
Anyway off topic so I'll get off my soab box!
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 05, 2017, 02:34:17 PM
My Steelseries temp WIND gauge is updating (drawing) the recent scale but the pointer is not moving and the LED display value does not change. Using version 1.1 with Cumulus realtime.txt

http://www.kpw3.com/meteo/plugins/steelSeries/index.php (http://www.kpw3.com/meteo/plugins/steelSeries/index.php)

Loves those gauges, btw!  :-)

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 05:36:51 PM
You can check the direct input to the gauges here:

http://www.kpw3.com/meteo/plugins/steelSeries/ssMeteotemplate.php
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on January 05, 2017, 06:01:54 PM
Hi!

Why can't choice in steelSeries setup "TYPE5"-"TYPE8" gauge type for temperature and humidity gauges?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 05, 2017, 06:04:54 PM
Because they use different syntax, they have different specifications for example for the ranges etc. They are different gauge types, not just alternatives and the ones used make more sense for temp and humidity, while the other one for precipitation.
Type1-Type4 is practically the same gauge, just alternative styling. Likewise 5-8. But using 1 instead of 5 for example would need a different script for those gauges.
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on January 05, 2017, 06:11:55 PM
I see, thanks Jáchym. Otherwise the steelseries plugin very cool, I like it! :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2017, 05:26:00 AM
Ive noticed a strange problem with cross-origin policy, is anyone else having the issue that they cannot see any icons (or strange symbols instead of them) when they are not logged in as an admin? (which is what is weird about it, the fact it works when logged in as admin). On my demo site for example, I see it fine even when logged out.
Title: Re: Meteotemplate - new free website template
Post by: WessexWeather on January 06, 2017, 05:40:11 AM
I have noticed this yes. Thought it was due to my work PC using an outdated browser.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2017, 05:42:57 AM
No, the problem is however, that it does not occur on my server and Im unable to replicate the issue and there are others for whom it works fine
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 06, 2017, 05:56:55 AM
I know which file is causing it, but there is no point in changing it and trying to fix something that works for me... I cant tell if it fixed the issue or not since it works now already
Title: Meteotemplate - Block Update + fix
Post by: Jáchym on January 06, 2017, 07:16:40 AM
Hi guys,

first of all, if you experience the icons problem (also make sure you check when not logged in as an admin), then to fix this issue, please see this blog post:
http://meteotemplate.com/blog/?p=1614

Block Update - Forecast 3.0

I updated the Forecast block. You now have the option to also use DarkSky.net forecasts. No need to set up anything, just update the block files and then in your settings make sure DarkSky is enabled.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecast

Also, in a few hours Im going to Prague to visit my dad, this happens about twice a year and I will therefore not be available to provide support until Sunday. Any issues or emails will be dealt with on Sunday as I will only have limited access to the internet until then.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 06, 2017, 11:58:21 AM
The DarkSky forecast works but the settings page does not show it as one of the options - I just guessed DarkSky, and it was correct.

Quote
Default forecast:
Possible options: "yrNo","wu","yahoo","wxsim"


Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 06, 2017, 03:41:38 PM
The DarkSky forecast works but the settings page does not show it as one of the options - I just guessed DarkSky, and it was correct.

Quote
Default forecast:
Possible options: "yrNo","wu","yahoo","wxsim"


Paul

Paul

I had to use darkSky,as  my hosting is Linux which is very case sensitive.

Bill
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 06, 2017, 04:34:55 PM
Actually my guess was darkSky and I mis-typed in my previous post.

And thanks Bill, I have edited the forecastConfig.txt so that darkSky does now show in the setup.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 07, 2017, 11:05:44 AM
Hi guys,
ok, just got back. Last night was quite chilly and given today the sun just set and it is much colder than this time of the day yesterday I expect we will hit maybe even -20C today.

Sorry, I forgot the darkSky option in the config, but as some of you figured out, it works fine, I only forgot to mention it in the description in the config file - will do.

Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 07, 2017, 11:11:52 AM
Just installed forecast v3 updated menu etc trying to edit settings and getting the following when trying to save "You don't have permission to access /template/admin/blockSave.php on this server."
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 07, 2017, 11:39:08 AM
This has to do with permissions set on the server, make sure this file has 777, it needs to be able to write files by the web user.

LOL, I think we are going to attack my alltime min tonight... going down by 1.5C every hour since sunset, currently at -9.5 and going to be getting colder until 7AM tomorrow (now 5PM :D)
Title: Meteotemplate Updates
Post by: Jáchym on January 07, 2017, 01:02:24 PM
Hi guys,
back in cold Brno and a few updates:

Block Update - Station Data 3.2

I updated the station data block. As one of you noted, the original script when selecting “alltime” showed the overall sum for the precipitation. This does not make much sense so now it works like this:
- if you only have data from this year (new users), the script will show you this year’s sum
- if you have more years it will show the average annual sum counted as average from all years’ values, ignoring current one because current year is incomplete and therefore would introduce a bias to the overall average (the value is lower)

Plugin Update - Live Gauges MB

Compatibility fix (sunrise/sunset not working with new v11 menu)

Block Update - Forecast 3.1

Added darkSky net option in the plugin setup page.

Enjoy
Title: Meteotemplate - New Block - Current Map
Post by: Jáchym on January 07, 2017, 02:54:24 PM
New Block - Current Map

Hi guys,

thought it would be nice to show you the Arctic front moving in to my country :D

This block is an interactive world map of current conditions (temperature, feels like, wind speed, gust, precipitation, dew point, UV etc.) as well as forecast and history maps in hourly steps.

No need to set up anything, works out of the box ;)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentMap

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 08, 2017, 09:56:29 AM
Just installed forecast v3 updated menu etc trying to edit settings and getting the following when trying to save "You don't have permission to access /template/admin/blockSave.php on this server."

still can't save this despite changing file properties to R,W,E
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2017, 10:00:05 AM
Does the setting up of other blocks work?
Also, make sure you select the entire folder, not just all the files inside it, set it to 777 and select to apply to also all the files inside it.

If this still does not work, but other blocks setup works, then copy the settings.php you have for this block somewhere on your pc, then completely delete the forecast block and re-download and re-upload it again and copy the settings.php file back where it was and see if that helps.
Title: Re: Meteotemplate - new free website template
Post by: jlmr on January 08, 2017, 11:49:02 AM
I have found a pesky little bug with the Guestbook plugin.
Require email to no does not work for it still requires a user to input email address. Other than that seems to be working.
Title: Meteotemplate - New language and block
Post by: Jáchym on January 08, 2017, 01:14:49 PM
Serbian

Hi guys,
thanks to Dejan Meteotemplate is now also available in Serbian and there is a Serbian current conditions block available now as well.
More info about how to add the new language is in the blog.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 08, 2017, 03:16:14 PM
Hi Jachym,
do you confirm that darksky block isn't mobile friendly?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 08, 2017, 06:10:41 PM
Hi Jachym,
do you confirm that darksky block isn't mobile friendly?
Regards,


Alessandro

Given I dont have a smartphone I cannot really "confirm", but if you say so then probably yes
Title: Meteotemplate - Block Update - World Weather 1.2
Post by: Jáchym on January 08, 2017, 07:46:22 PM
Block Update - World Weather 1.2

Hi guys,
just a minor update.

- optimization
- removed Yahoo pressure nonsense

Enjoy
Title: Meteotemplate - New Block - UK - Current Conditions
Post by: Jáchym on January 09, 2017, 06:41:13 AM
New Block - UK - Current Conditions

Hi guys,

a new block is now available, which shows the current conditions at many stations around the United Kingdom. The data is shown on a map, where you can click the individual stations to view the data, as well as in a table below, where you can also sort it. You will need a MetOffice API key - if you are using some other UK-specific blocks you are likely to have one already and you can of course use that.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentUK

Enjoy
Title: Meteotemplate - Plugin Update - Steel Series 1.2
Post by: Jáchym on January 09, 2017, 09:43:40 AM
Plugin Update - Steel Series 1.2

Hi guys,
hopefully the temp/dew gauges should now behave correctly. Before you update the plugin please see the blog for instructions what to do.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 09, 2017, 10:24:30 AM
Congrats on reaching 400 users! =D&gt; \:D/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 10:30:47 AM
:D Was about to post that later on :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 11:59:05 AM
Steel Series plugin update works fine.

Usually I have no issue with updates and new blocks, but
worldWeather block is not displaying, just "More" and no response to clicking it.
UK Current Conditions block is showing:
  Current conditions
  Data currently not available
  Data source: MetOffice

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 12:04:26 PM
Paul did you provide metOffice API key? Also try deleting the cache just in case it loaded the data before you inserted your key and in such case it would take 60 minutes for it to refresh the cache.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 12:10:10 PM
Yes I had used my WOW API but removing the cache did the trick.  I had done several refresh but missed the cache :oops:

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 09, 2017, 01:30:07 PM
My Steelseries temp WIND gauge is updating (drawing) the recent scale but the pointer is not moving and the LED display value does not change. Using version 1.1 with Cumulus realtime.txt

http://www.kpw3.com/meteo/plugins/steelSeries/index.php (http://www.kpw3.com/meteo/plugins/steelSeries/index.php)

So, I've come to the conclusion that the MT modded gauges don't work the same way as Mark Crossley's.  I was expecting the wind gauge pointer to show the instantaneous (now) value but instead the red highlighted range underneath the pointer seems to show the "now" value. Do I have that right? What is the digital value displaying? Gust, average...or??

For a comparison, how I was expecting the MT wind gauge to behave can be seen here: http://www.kpw3.com/wxssgauges.php (http://www.kpw3.com/wxssgauges.php)

Thanks,

--Kurt

COLD here today:

(http://www.kpw3.com/meteo/plugins/stickers/stickerInteractive.php?text=N%C3%98BGS%20Weather%20%20%20Hermon,%20Maine&type=interactive)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 01:49:56 PM
From what I can see on mine, the wind is the avg wind provided by Cumulus, both the needle and digital.  The instantaneous wind/gusts is not shown on the gauges.  The wind direction is near live though.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 01:50:51 PM
Well this all depends on which fields are used, I might have used incorrect ones. Im not 100% sure which field is the instantanoues, remember I dont have WD myself (or Cumulus etc.).
If you tell me which field in clientraw is the one I should use I can of course easily change this
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 01:57:51 PM
There is also differences in Current Dir and Average direction, and in Wind Run compared to my Cumulus console with the plugin showing 63.0 and Cumulus console 60.3.  It looks like the plugin uses a combination of realtime.txt and DB data, is that correct?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 01:59:58 PM
For current conditions it uses whatever you chose, for the max/min it always uses the db
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 09, 2017, 02:05:54 PM
Getting weird results with the worldWeather Block

I either get this or a blank block, cache has been cleared!

Yahoo issue or ??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 02:10:07 PM
This could be because you were using the old format settings file. Try just deleting the settings.php, note down the numbers you used and then set up the block again using those numbers and clear the cache.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 02:11:27 PM
Code: [Select]
Field Example Description

  1 18/10/08 date (always dd/mm/yy)

  2 16:03:45 time(always hh:mm:ss)

  3 8.4 outside temperature

  4 84 relative humidity

  5 5.8 dewpoint

  6 24.2 wind speed (average)

  7 33.0 latest wind speed reading

  8 261 wind bearing (degrees)

  9 0.0 current rain rate

  10 1.0 rain today

  11 999.7 barometer

  12 W wind direction

  13 6 wind speed (beaufort)

  14 mph wind units

  15 C temperature units

  16 mb pressure units

  17 mm rain units

  18 146.6 wind run (today)

  19 +0.1 pressure trend value

  20 85.2 monthly rainfall

  21 588.4 yearly rainfall

  22 11.6 yesterday's rainfall

  23 20.3 inside temperature

  24 57 inside humidity

  25 3.6 wind chill

  26 -0.7 temperature trend value

  27 10.9 today's high temp

  28 12:00 time of today's high temp (hh:mm)

  29 7.8 today's low temp

  30 14:41 time of today's low temp (hh:mm)

  31 37.4 today's high wind speed (average)

  32 14:38 time of today's high wind speed (average) (hh:mm)

  33 44.0 today's high wind gust

  34 14:28 time of today's high wind gust (hh:mm)

  35 999.8 today's high pressure

  36 16:01 time of today's high pressure (hh:mm)

  37 998.4 today's low pressure

  38 12:06 time of today's low pressure (hh:mm)

  39 1.8.2 Cumulus version

  40 448 Cumulus build number

  41 36.0 10-minute high gust

  42 10.3 heat index

  43 10.5 humidex

  44 13 UV Index

  45 0.2 Evapotranspiration today

  46 14 Solar Radiation W/m2

  47 260 10-minute average wind bearing (degrees)

  48 2.3 rainfall last hour

  49 13 current forecast number (see samplestrings.ini). Negative means 'exceptional'

  50 1 Is it daylight? 1 if currently within daylight hours (between dawn and dusk), 0 if not

  51 0 Sensor contact lost (1 = yes) (Fine Offset only)

  52 NNW wind direction (average)

  53 2040 Cloudbase

  54 ft Cloudbase units

  55 12.3 Apparent Temperature

  56 11.1 Sunshine hours so far today

  57 420.1 Current theoretical max solar radiation

  58 1 Is it sunny? 1 if the sun is shining, otherwise 0. Requires your station to have a solar sensor.



Remember the above fields are counting from 1 to 58, whereas in most cases scripts start count at 0 so would be counted from 0 to 57!
Wind average = field number 6 [5]
Latest wind reading speed reading = field 7 [6]

Not sure where the higher Wind Run would come from.

Paul


Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 09, 2017, 02:18:25 PM
This could be because you were using the old format settings file. Try just deleting the settings.php, note down the numbers you used and then set up the block again using those numbers and clear the cache.

That didn't seem to work, will blow away the block, re-upload and start from scratch!

Reloaded and seems to be working, must have screwed up the update!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 02:24:26 PM
OK, so here are the params sent using SS gauges:

"wlatest"
"wspeed"
"wgust"
"wgustTM"
"windTM"

It is sort of hard to guess what is what, so if you could help me and tell me which clientraw/realtime fields I should use for these (also possible to use the db of course for max etc.)
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 09, 2017, 02:36:05 PM
The Cumulus realtime.txt field order can be see here: http://wiki.sandaysoft.com/a/Realtime.txt (http://wiki.sandaysoft.com/a/Realtime.txt)

I think we want field 7, "wlatest" for the current wind speed value.

Looking at http://www.kpw3.com/meteo/plugins/steelSeries/ssMeteotemplate.php (http://www.kpw3.com/meteo/plugins/steelSeries/ssMeteotemplate.php) it appears that the now value is the one in "wgust," whereas it should be in "wlatest."
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 02:49:09 PM
OK, so this is what it uses currently:

Cumulus:

wlatest - field 5 realtime
wspeed - daily avg wind (db)
wgust - realtime field 6
wgustTM - daily max (db)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 03:28:43 PM
OK, so just to make sure,
which field in realtime should be used for wlatest and for wgust
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 03:30:59 PM
Quote
OK, so here are the params sent using SS gauges:

"wlatest"
"wspeed"
"wgust"
"wgustTM"
"windTM"

It is sort of hard to guess what is what, so if you could help me and tell me which clientraw/realtime fields I should use for these (also possible to use the db of course for max etc.)

There are several wind speed and direction data in the realtime.txt. Field numbers:
6 [5] Wind speed average
7 [6] Latest wind speed reading
31 [30] Today's high wind speed (average)
33 [32] Today's high wind gust
41 [40] 10-minute high gust

8 [7] Wind bearing (degrees)
12 [11] Wind direction - N or E, or W, etc
47 [46] 10-minute average wind bearing (degrees)
52 [51] Wind direction (average) - N or E, or W, etc.

For the Wind speed gauge:
for digital box "wspeed" Wind speed average Cumulus 6 [5]
for needle "wlatest" Latest wind speed reading Cumulus 7 [6]
for red highest speed indicator "???" Today's high wind gust Cumulus 33 [32]
for speed range highlight "???" Min to Max ???

For the Wind direction gauge:
for Current digital box "w...." Wind bearing (degrees) Cumulus 8 [7]
for Average digital box "w...." 10-minute average wind direction (degrees) Cumulus 47 [46]
for needles ?? could use Wind direction and Wind Direction (average) N, E, S, etc.

I see it can get pretty complicated, just have to determine what you can and want to display.

Hope this helps.
Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 03:35:41 PM
I can sort of display anything I will use whatever you say you want to use, the script loads the entire realtime.txt and I just have to tell it which field to pass for which variable in the JSON
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 09, 2017, 03:38:37 PM
I agree with what Paul has laid out.  "Wlatest" should make the needle move.

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 05:40:40 PM
OK, I dont want to update the plugin again unless Im 100% sure it works.
Could I please ask you to open the ssMeteotemplate.php and find the section which is relevant to cumulus at the top and where realtime is parsed and change the field numbers for current['W'] and current['G']. At the very bottom you can then see these being passed to the particular parameters of the SS gauges. Then see if it works as expected and then let me know which fields you used
Title: 400
Post by: Jáchym on January 09, 2017, 05:45:00 PM
Hi guys,

unbelievable for me… I would never imagine there will be more than 10 to 20 people using this…

(http://i65.tinypic.com/2nqw49c.png)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 09, 2017, 07:16:43 PM
I have looked at ssMeteotemplate.php and identified the source for 3 of the wind elements:

Line 198 $current ['W'] as field 5 which is Wind speed average
Line 199 $current ['G'] as field 6 which is Latest wind speed reading
but have not understood where these are shown on the Wind Speed Gauge (we have no wind currently), and where the other data comes from

Line 208 $current ['B'] as field 8 which is Wind bearing (degrees), but can't see where the other data comes from.

Nor have been able to match any of the hoover popup wind data in the gauges to actual wind data from Cumulus, except the Max Aver 12.9 in gauges compared to 12.9 High wind speed today in Cumulus.

Not sure where the other data comes from that is shown on the wind gauges.

On the wind run it looks like there might be a calculation bug.  Similar to this afternoon, now the Wind run on the gauge shows as 76.0 while the actual in Cumulus is 70.6.   Earlier it was 63.0 in the gauges and in Cumulus 60.3.  Can you detect the similarity?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 09, 2017, 07:52:46 PM
Hi Paul,
min values, max values, avgs, wind run etc is calculated from db. The realtime, clientraw etc. is only used for the current conditions. I think I need to change the current wind speed and wind gust fields for cumulus. I will look at it again tomorrow.
Title: Meteotemplate Newsletter + Questionnaire
Post by: Jáchym on January 10, 2017, 10:02:55 AM
Hi guys,
a new issue of the newsletter is now available in the blog as well as a questionnaire - if you want to tell me what you like/dont like about the template or what you would like to see in the future, this is your chance :-) I cannot guarantee everything you like is possible, but I can guarantee I will look at all your answers and reply to them (just be patient, given there is now over 400 of you it might take some time to go through all of it).

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 11:22:40 AM
So, regarding the gauges and Cumulus, this is what is currently being used:

wspeed: day average wind speed (using db)
wgust: realtime field 7 - latest wind speed reading
wgustTM: day maximum wind gust (using db)
wlatest: realtime field 6 - wind speed (average)

I guess I should change wlatest to field 6 (currently used for gust), but the question is what do we then use for the gust
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 10, 2017, 01:58:13 PM
Hi Jachym,
I know you would want to standardize as much as possible between software sources so therefore using the DB.  However, in looking at the Steelseries Gauges wind speed gauge to me it is more realistic if the dial changes most frequent, i.e. with most current wind speed data. 

It looks like the dial is your wspeed Cumulus realtime 5 Wind speed (average)
and I would suggest realtime 6 Latest wind speed reading is more appropriate - your wgust.

It looks like the digital box is also your wspeed Cumulus 6 Wind speed (average)  and that would be fine

I have changed line 198 in ssMeteotemplate.php from 5 to 6 and line 199 from 6 to 40.
The needle now moves at each change of current wind speed reading.  However the digital box and needles both show the same, likely due to both using wgust (I have not fully understood the code as it uses a combination of realtime and DB).   www.komokaweather.com/j-template/plugins/steelSeries/index.php

Th pop up box for Wind speed gauge is mostly right on, except that the Wind gust and Max Wind gust today both show the same as 40.7, which is okay for current 10-min max gust of 40.7 but today's actual maximum gust is 49.2.

The wind run was showing pretty close earlier but now is running ahead of my Cumulus console.
The temp and pressure all seem fine in comparing to my Cumulus console.

Paul.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 02:08:35 PM
Hi Paul,
I think I know already, that wlatest should definitely be that field you mentioned, I only need to change the gust now.

With regards to wind run, yes that is possible because the way this is calculated is this:
It takes the daily average wind speed (db) and multiplies that by the time elapsed since midnight.

However, your Cumulus has realtime values and so it can measure this almost exactly. It has info at much shorter intervals.
Title: Meteotemplate - Block Update - Interactive Graph 4.0
Post by: Jáchym on January 10, 2017, 02:50:56 PM
Block Update - Interactive Graph 4.0

Hi guys,

several of you have already sent me answers from the questionnaire and even though you sometimes have completely opposite views about things I do see one thing in common - even though I tried to make Meteotemplate extremely customizable, it will never be enough, so I will most likely now concentrate on extending customization possibilities of blocks, plugins and the template as a whole.

Here is one...

In the new version you can now enable/disable a line marking the freezing point (0°C/32°F). If you enable it, you can also specify its color. Just be careful with that, if you let your users to change the color schemes, keep in mind that some colors could be problematic.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=interactiveGraph

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 10, 2017, 02:52:19 PM
Today's high wind gust (Cumulus realtime.txt field 32)
10-minute high gust {Cumulus realtime.txt field 40)

Wind run (today) (Cumulus realtime field 17)

// damn Cumulus is of course not standardized... get units #-o

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 02:53:53 PM
Thanks, I think I know now, I will post the script here first for you to try and to make sure it is working, then if it does I would make a global update. Thanks Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 02:57:29 PM
Paul, please try the attached file and let me know if it helped
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 10, 2017, 03:16:16 PM
Yes that works and gets the same result on the wind speed gauge, and updates at a reasonable interval. 

The popup still shows the same (47.1 10-minute high) for Wind Gust as it does for Maximum wind gust today (which is actually 57.9).  But I think that is a different code or calculation that I haven't researched.

Paul
Title: Meteotemplate - Block Update - Warnings U.S. Regional 4.0
Post by: Jáchym on January 10, 2017, 03:20:47 PM
Block Update - Warnings U.S. Regional 4.0

Hi guys,

another customization feature - in the settings you can now select if you want the block to auto-open the details when a warning is issued.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 10, 2017, 04:03:21 PM
Paul, please try the attached file and let me know if it helped
The edited script is working for me also.

--Kurt
Title: Re: Meteotemplate - Block Update - Warnings U.S. Regional 4.0
Post by: N0BGS on January 10, 2017, 05:38:50 PM
Block Update - Warnings U.S. Regional 4.0

Hi guys,

another customization feature - in the settings you can now select if you want the block to auto-open the details when a warning is issued.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions

Enjoy

Jachym:

Would it be possible to display the entire warning text using an elevator bar or similar if necessary?  Mine is getting cut off:

 [ You are not allowed to view attachments ]

The entire warning can be seen here:  https://alerts.weather.gov/cap/wwacapget.php?x=ME12583840ED0C.WinterWeatherAdvisory.1258384F67B0ME.CARWSWCAR.cf72394ebfb3dcdb923d7117657a1bbc (https://alerts.weather.gov/cap/wwacapget.php?x=ME12583840ED0C.WinterWeatherAdvisory.1258384F67B0ME.CARWSWCAR.cf72394ebfb3dcdb923d7117657a1bbc)

Thanks much,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 05:47:59 PM
Hi Kurt, you are looking at the "Marine" warning, the block uses the general RSS XML feed here:
http://www.nws.noaa.gov/rss/
And I think the data is not there, what you posted is in the Marine section and so if I use that, only marine warnings would be included
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 10, 2017, 06:04:07 PM
Hmmmmm....it is the same as the one here: http://www.kpw3.com/wxnws-details.php?a=MEZ015#WA2 (http://www.kpw3.com/wxnws-details.php?a=MEZ015#WA2)

How are you able to determine that it is a marine warning?

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 06:06:12 PM
Look at the top, it says:

Home > Alerts > Maine > Winter Weather Advisory Issued by NWS Caribou (Northern Maine)

It is in the Marine section

The general warnings section is here:
https://alerts.weather.gov/

And at the top you would then have eg:

   
Home > Alerts > Baldwin Inland (ALZ262) Alabama
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 10, 2017, 06:10:41 PM
OK, well whatever the source would it be possible to see the entire text?  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 06:12:32 PM
Not sure, if I use this then you would see full Marine warnings but no other, the NWS page is quite confusing to be quite honest :D
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 10, 2017, 06:22:19 PM
The full warning is here: http://forecast.weather.gov/showsigwx.php?warnzone=MEZ006&warncounty=MEC003&firewxzone=MEZ006&local_place1=Sherman%20ME&product1=Winter+Weather+Advisory&lat=45.8712&lon=-68.4178#.WHVr01MrLRY (http://forecast.weather.gov/showsigwx.php?warnzone=MEZ006&warncounty=MEC003&firewxzone=MEZ006&local_place1=Sherman%20ME&product1=Winter+Weather+Advisory&lat=45.8712&lon=-68.4178#.WHVr01MrLRY)

So, I take it that is not the source, but it is the correct warning text.  Anyway, I don't want to beat you up about this.  I was just wondering.

I'm sure you are already aware but NWS is changing some things with the forecast.

https://forecast-v3.weather.gov/documentation?redirect=legacy (https://forecast-v3.weather.gov/documentation?redirect=legacy)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 06:30:48 PM
Hi Kurt,
yes I read that, but I will wait to see which blocks/plugins are affected and what the new structure is and then fix it after they change it, that will be much easier to do.

Warnings:
Im really not sure how the NWS page is structured, I need an RSS feed with the warnings and whatever is available there I can display on the page. I found the one I am using, but if you know about a better one, feel free to send me a link to it, but it obviously must include all warnings, not just marine



Note:
Guys thanks to all of you who already filled in the questionnaire, if I do not reply to you immediately, I definitely will eventually, I just got home and this is what my last 2h in Gmail look like :D See screen :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 06:54:56 PM
Cumulus users, could you please try the attached file? It should have the wind and gust correctly as well as the max gust (hopefully the final version...)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 10, 2017, 07:21:34 PM
It looks Good.  Frequently updates and then matches my Cumulus console.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 07:28:45 PM
It looks Good.  Frequently updates and then matches my Cumulus console.

Paul

(http://cdn.backyardchickens.com/6/60/200x200px-ZC-60a6169e_male23-male-tired-weary-smiley-emoticon-000065-large.gif)
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on January 10, 2017, 07:45:45 PM
Works for me.
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on January 10, 2017, 08:05:54 PM
Does the Gauges block for Cumulus need to be corrected as well?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 10, 2017, 08:09:31 PM
Yes and current as well
Title: Meteotemplate - Block Updates
Post by: Jáchym on January 11, 2017, 09:43:55 AM
Hi guys,

several bug fixes:

Forecast 3.2
- minor bug fix for DarkSky display

Current 4.1 and Gauges 6.1
- fixed Cumulus data parsing for correct wind values

Enjoy
Title: Re: Meteotemplate - Block Updates
Post by: i_fiorentino on January 11, 2017, 10:42:48 AM
Hi guys,

several bug fixes:

Forecast 3.2
- minor bug fix for DarkSky display

Current 4.1 and Gauges 6.1
- fixed Cumulus data parsing for correct wind values

Enjoy

Current 6.1 and Gauges 4.1
Vice-versa ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2017, 11:08:22 AM
No :D
http://www.meteotemplate.com/web/blocks.php
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 11, 2017, 11:34:50 AM
No :D
http://www.meteotemplate.com/web/blocks.php

(http://i.imgur.com/zwKSyaM.png)

(http://i.imgur.com/gDi6aCu.png)

Jachym,
is it possible to use only one column on index-mobile template (instead of three 25-50-25)?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2017, 12:11:39 PM
Sorry, yes you are right, Im blind....

Yes it is, simply use 100 for the column widths
Title: Meteotemplate - New Block - Current Conditions Large Display
Post by: Jáchym on January 11, 2017, 12:49:10 PM
New Block - Current Conditions Large Display

Hi guys,

one of you asked me if it would be possible to make a block that would show just one parameter, dynamically updated, but in large font size. This block does exactly that. In the block setup you specify which parameter you want to show, which data source, the update interval and the font size. The value will be auto-update at this interval. Think of it as the Current Conditions block, but with just one parameter and large display.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=currentBig

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 11, 2017, 01:41:18 PM
Trying to figure out what's going on here:

http://www.kpw3.com/meteo/plugins/liveGaugesCumulus/index.php (http://www.kpw3.com/meteo/plugins/liveGaugesCumulus/index.php)
 [ You are not allowed to view attachments ]

All blocks and plugins are up to date.

Thanks,

--Kurt

EDIT:  You know as I look at that number I realize it's a UNIX time stamp.  A converted date would be easier to read!  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2017, 02:21:57 PM
I recently fixed this in liveGaugesMB, this needs the same change, its because of the new menu
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 11, 2017, 03:48:31 PM

Yes it is, simply use 100 for the column widths

Sorry Jachym but ...where?
In main settings?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2017, 03:58:45 PM
In your control panel, instead of clicking Desktop homepage you click Mobile homepage, it will ask you for the column widths and you can then start specifying the blocks for the mobile version similarly to the desktop.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 11, 2017, 05:03:44 PM
In your control panel, instead of clicking Desktop homepage you click Mobile homepage, it will ask you for the column widths and you can then start specifying the blocks for the mobile version similarly to the desktop.

Here?

http://i.imgur.com/a4zK6WV.png (http://i.imgur.com/a4zK6WV.png)

There isn't any column width  ](*,) ](*,) ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2017, 05:57:33 PM
OK, if you have already created a page in the past and now want to set the columns again, you first have to click the "reset mobile homepage" and it will then ask you for the column widths again.
In the control panel reset the mobile homepage and then click mobile homepage layout again and it will ask you for the columns
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 11, 2017, 06:08:31 PM
OK, if you have already created a page in the past and now want to set the columns again, you first have to click the "reset mobile homepage" and it will then ask you for the column widths again.
In the control panel reset the mobile homepage and then click mobile homepage layout again and it will ask you for the columns


Ahhhhhhhhhhhhhhhhh, reset!!!
Ok, now i've understood.
Thanks for the patience Jachym!
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 11, 2017, 06:38:16 PM
No problem. Im glad it is working now
Title: Meteotemplate - New Block - High/Low U.S.
Post by: Jáchym on January 12, 2017, 12:10:21 PM
New Block - High/Low U.S.

Hi guys,

this new block shows the most recent daily max/min temperature for the contiguous U.S. Works out of the box, cache refreshed every 3 hours.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=highLowUS

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on January 13, 2017, 11:50:28 AM
Hi guys,

yesterday I updated the Live Gauges blocks, fixed an issue with sunrise/sunset times.

Few minutes ago I also updated the interactive block - CSS tweaks + fix for default select box value

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: azkiwi on January 13, 2017, 04:52:02 PM
Life throws curves, time is fleeting, and I'm not past the point I was at in October....  I'm planning to setup the MeteoTemplate system for my station, starting simply on a test system, and when I get it to my liking (as in no issues) I plan to implement for my production system.  Right now, timing is anyone's guess, but I'm hoping to d/l the basics be the end of Jan and spend what time I can in reading the wiki and blogs.   

I really like what I've seen of it.

Ken
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 13, 2017, 05:24:15 PM
Hi Ken,
great :) Looking forward to a new user. Feel free to contact me. It might seem complicated, but its not, especially once you see how it works with one block/plugin, all the other ones are then the same, and everything is now in GUI. Just to give you an idea - just last week I spent two evenings on Skype with another guy who did not even know what FTP is at the beginning, after two days he had fully functional site which he built himself based on my instructions and is now adding/updating new blocks/plugins himself :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 13, 2017, 05:28:25 PM
Can someone using the SteelSeries plugin with WD check if their date is working? I think there is a bug with how the date is parsed
Title: Meteotemplate - Steel Series WD fix
Post by: Jáchym on January 13, 2017, 06:48:33 PM
Hi guys,

should be ok now, WD users please update your Steel Series plugin. I fixed the date parsing function.
Title: Meteotemplate - New Block - Italy - Forecast
Post by: Jáchym on January 14, 2017, 09:45:46 AM
New Block - Italy - Forecast

Hi guys,

I made a new block for showing forecast for practically all cities in Italy. Just follow the instructions in the block settings.

The block will show you a forecast for today, tomorrow and day after tomorrow (if available) in 3 hour intervals. This also includes warnings.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastIT

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: johnny on January 14, 2017, 01:21:54 PM
Hi Jachym,
I wish you have a happy,healthy and creative new year with lot of success!
I have a friend who wants to use data from my weather station web site www.lefkas-weather.com (http://www.lefkas-weather.com) embedding the forecast into his web site. Is that possible? Should he use the forecast from yr.no or national meteo service www.hnms.gr (http://www.hnms.gr)
instead, including a reference to my weather station page?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 14, 2017, 01:29:34 PM
Hi Johnny,
Im not sure if you mean forecast or data from your website.

- data from your website - install the Data Feed plugin and he can get your data in JSON or XML
- forecast - then there is no need to use your website and he should use the source from which your page also gets the data instead
Title: Re: Meteotemplate - new free website template
Post by: WessexWeather on January 14, 2017, 01:33:14 PM
Hi all,

I don't know if any of you are like me, but I look at my data more often on my mobile than on a PC, so the mobile page is very useful to me. The mobile Meteotemplate site is great, except for the menu which is too cluttered and too long for my iPhone SE screen. When I scroll down, unless I am very careful it just disappears, making it very difficult to select an item. Have a look on your mobile: -

http://www.wessexweather.net/meteotemplate/indexMobile.php

I would love to be able to edit the mobile menu as well. Is this possible Jachym?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 14, 2017, 05:44:54 PM
Hi,
yes it is, the mobile menu is in

mobile/menu.php

You can edit that file the way you want :)
Title: Meteotemplate - Plugin update - Contact 3.0
Post by: Jáchym on January 14, 2017, 06:32:08 PM
Plugin update - Contact 3.0

Hi guys,

I updated the Contact plugin.

Changes:
 - standardization
 - changed "from" field (to allow direct replies)
 - improved Captcha

Please see the blog regarding updated instructions!

Enjoy
Title: Meteotemplate - Block Update - World Weather 1.3 + Yahoo info
Post by: Jáchym on January 14, 2017, 07:00:13 PM
Hi guys,

updated file prevents nonsense displayed when Yahoo returns invalid values.

Now... regarding reliability of this block.

I did a test, I set 10 locations and then set the cache to 0s - to force the script to re-download the data each page refresh. I then refreshed the page 10 times, here is the number of cities Yahoo returned upon each try (out of the 10):

4, 8, 8, 4, 1, 10, 10, 8, 10, 7

Some of you were asking why I don't use an alternative source. Here is the problem. There are only a few forecast APIs that are free - Yahoo, WU, DarkSky, YrNo and a few others. There are only 2 that I know of that do not require an API key - Yahoo and YrNo. In this particular case this is crucial because if an API requires an API key, it means you have limited number of calls per day (in the free alternative) and so it can only be used for forecast for your particular location, which is cached and only called once a day/hour.

So we are left with two. However, YrNo, despite the fact it has no API key, tracks your IP address and also checks how many times you call it and bulk downloads are strictly forbidden - not to mention that they are not even supported - the script would have to get each location's forecast separately (which would also take quite a while to load).

So we are left with one - Yahoo - the only one with unrestricted number of calls and the only one which allows to retrieve data for several locations at once. The other only have this option in the paid plans. If you know about a different API that allows this, please let me know! Until then... not much we can do.

"Enjoy"
Title: Meteotemplate - New Block - Forecast Portugal
Post by: Jáchym on January 15, 2017, 12:32:53 PM
New Block - Forecast Portugal

Hi guys,

new block with detailed hourly/daily forecast + warnings for most cities in Portugal.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=forecastPT

Enjoy
Title: Re: Meteotemplate - New Block - Italy - Forecast
Post by: i_fiorentino on January 15, 2017, 06:26:26 PM
New Block - Italy - Forecast

Hi guys,

I made a new block for showing forecast for practically all cities in Italy. Just follow the instructions in the block settings.

The block will show you a forecast for today, tomorrow and day after tomorrow (if available) in 3 hour intervals. This also includes warnings.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastIT

Enjoy


Hi Jachym,
about this block, which name should i write to insert it on menu?
Thanks in advance.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 15, 2017, 06:43:09 PM
Alessandro it is a BLOCK, not a PLUGIN - it is for your homepage, not to be added to the menu
Title: Meteotemplate - Block Update - Riset 4.1
Post by: Jáchym on January 15, 2017, 07:00:56 PM
Block Update - Riset 4.1

Hi guys,

the updated version uses the time format you specified in the Main template settings to show the rise/set times instead of the previously fixed 24h format.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 16, 2017, 05:01:14 AM
Alessandro it is a BLOCK, not a PLUGIN - it is for your homepage, not to be added to the menu


 #-o #-o #-o #-o

I shouldn't go to pc during the night  ](*,) ](*,) ](*,)

Sorry Jachym.
Regards,


Alessandro
Title: Meteotemplate - Plugin Update - Guestbook 1.3
Post by: Jáchym on January 16, 2017, 10:12:57 AM
Plugin Update - Guestbook 1.3

Hi guys

just minor bug fixes.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2017, 04:42:01 PM
Can someone please check my Users page and let me know if the page works?
Thanks

http://www.meteotemplate.com/web/users.php
Title: Re: Meteotemplate - new free website template
Post by: droiddk on January 16, 2017, 04:46:17 PM
Can someone please check my Users page and let me know if the page works?
Thanks

http://www.meteotemplate.com/web/users.php

Works fine.

Regards
Title: Re: Meteotemplate - new free website template
Post by: toolage on January 16, 2017, 04:47:16 PM
Can someone please check my Users page and let me know if the page works?
Thanks

http://www.meteotemplate.com/web/users.php

Works for me!
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 16, 2017, 04:49:04 PM
Working here.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2017, 04:51:00 PM
OK good, thats what I hoped. Thanks for letting me know, its a problem on my end.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2017, 05:13:45 PM
just to make sure, I assume the user globe works as well right?
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on January 16, 2017, 05:21:30 PM
just to make sure, I assume the user globe works as well right?
Jachym, I just checked from my mobile.  I get this list of users but no map at the top.

-Chris

Sent from my XT1650 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 16, 2017, 05:23:45 PM
Thats fine, thats not the plugin, it is the default users page at meteotemplate.com. The map is if you click in the menu on the left. I just want to make sure that the map and the globe work, I cant see it, but I think I know why, you should not have this problem.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 16, 2017, 11:30:28 PM

The User List, Map and Globe all working fine!


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2017, 05:09:42 AM
Hi Paul,
yes, thanks, I thought so. It is just that there is too many of you... literally :D My laptop just starts loading the page and then freezes and I get that Chrome box asking if I want to kill that tab. I thought it was this because same thing happens for me in case of some plugins - Earthquakes etc. when there is too many markers, it overflows the RAM. However this can also happen on any PC if you accidentally make an infinite loop so I only wanted to make absolutely sure this is a problem only on my end. I will just have to look at the list for now :D
Title: Re: Meteotemplate - new free website template
Post by: WessexWeather on January 17, 2017, 07:12:47 AM
It is just that there is too many of you... literally :D My laptop just starts loading the page and then freezes and I get that Chrome box asking if I want to kill that tab.

I thought the template, blocks and plugins run from our own servers? When someone accesses our MT pages, is your own server involved at all?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2017, 07:30:42 AM
No... not at all. What I meant was that when I myself go to the users page at meteotemplate.com and want to view the user map or user globe, it starts loading the page and then my laptop just freezes (too many markers....), it does that with many other pages now, it is becoming totally unusable. I cannot view for example Paul´s site because he has many blocks, and Gmail also wont load, I use the mobile version which is less demanding. So it has nothing to do with server, it is the browser (client, Chrome), which tries to render the map on my screen and it is just too much.

Dont worry, I said this in the past, your page is definitely not dependent on my site. If my server was completely down, all that would stop working for all MT users is the latest block version/ plugin version data and you wont be able to update the users file - all admin things, so your users wont even notice.
Title: Meteotemplate - Block Update - Hurricane RSS
Post by: Jáchym on January 17, 2017, 11:24:37 AM
Block Update - Hurricane RSS

Hi guys,

one of you asked me if I could add some extra images for the Atlantic region. I therefore added a new map of hurricanes in the Atlantic. Obviously it is irrelevant this time of the year, but it might be useful in the future.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=hurricaneRSS

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on January 17, 2017, 02:39:41 PM
I think we need to crowd fund  Jáchym a new laptop  :shock:
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on January 17, 2017, 04:32:35 PM
thats an excellent idea
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 17, 2017, 05:10:11 PM
Hi guys,
thats very nice from you, but I dont think it is a good idea at all. In fact two users have already offered me their old no longer used laptop, but I kindly declined their offer. First, I would never feel good about this, I want to get it myself, thats just the way I am.
Second, sooner or later I will upgrade, and when I do, I no longer want a laptop. Things changed, I had this laptop since high school and then while at uni and now. I needed it to be portable, but thats no longer the case and a desktop PC is much better because it is better value for money and you can build it from components you want, upgrade it easily etc. Also, it is now very slow, two tabs freeze it, or even switching from one program to another (browser to editor) takes ages because it is flushing to the HDD due to lack of RAM, and it is then great when you have the opportunity to work with something a bit more usable and I dont want to be in similar position in 2yrs again. Ive had this laptop for almost 11 yrs now and once I upgrade I want something more powerful that will last for some time again.
Laptop is not ideal because all powerful laptops automatically assume you are a gamer and you spend a lot for the graphics card - something totally useless to me.
For now I can still use this, things maybe take longer, but really the only thing that I really cannot do is video tutorials, which would be nice, but are also not essential. And in some ways Im glad I have this - for example, I had to do everything manually - I cannot use any more sophisticated IDE for programming, doing everything in just simple editor (Notepad++, now Atom or Visual Code) and this way I think I learned it much better than if parts of the code were done by the SW itself - it would be faster, but if there were problems I wouldnt even know what the code looks like.
So it does have advantages too :-)
Title: Meteotemplate - Block Update - Twitter Feed 1.3
Post by: Jáchym on January 17, 2017, 05:12:32 PM
Block Update - Twitter Feed 1.3

Hi guys,

just minor bug fixes.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 18, 2017, 04:14:12 AM
Hi Jachym,
i would save highchart graph on my pc but i've only a blank jpg image or white graph in png format.
Can i leave width, height and scale fields blank?

About Hurricane RSS.
Could you align global map showed on block?

Thanks in advance,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2017, 07:34:35 AM
Hi Alessandro,
the image is fine, it is not blank, it just has transparent background, so that it can be used on any color background.

What do you mean align global map?
Title: Meteotemplate - New Block - Belgium - Current Conditions
Post by: Jáchym on January 18, 2017, 09:33:19 AM
New Block - Belgium - Current Conditions

Hi guys,

first block specifically for Belgium, which shows current conditions for places around the country (temperature, humidity, pressure etc.). Works out of the box, no need to set up anything.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentBE

Enjoy
Title: Re: Meteotemplate - Block Update - Twitter Feed 1.3
Post by: semtex on January 18, 2017, 09:34:19 AM
Block Update - Twitter Feed 1.3

Hi guys,

just minor bug fixes.

Enjoy


Hi Jachym

I find only
Twitter Feed 1.2

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2017, 10:02:29 AM
Hi,
yes thats correct, I accidentally used 1.3, only in the blog and here though and i changed it in the blog, don´t worry, 1.2 is the latest.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 18, 2017, 10:25:24 AM
Hi Alessandro,
the image is fine, it is not blank, it just has transparent background, so that it can be used on any color background.

What do you mean align global map?

Where can i change background color?

About Hurricane block.

I'm referred to image showed on block.
I've attached it but i think it's no possible to center because it's really the image not aligned.

Opsssss, now it shows correctly  :oops: :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2017, 10:38:22 AM
You cannot change it, it has to be transparent because of how the template works - I need to make sure it shows correctly using any color scheme combination. And it would not be possible to make this look good if the background was fixed (especially for those who use the gradient background, it would look ugly on the page).

What you can do is simply open some image editor, create a rectangle with some fill color and paste this image on it and then save it.
Title: Meteotemplate - Questionnaire Responses
Post by: Jáchym on January 18, 2017, 11:20:02 AM
Hi guys,

first of all thanks a lot to all of you who took the time to fill in the questionnaire and sent me their feedback. I replied to all of you and I would like to now talk about some of the commonly asked questions.

Many of you suggested interesting features. Sometimes they cannot be done because it is technically not possible (for example one of you asked if Meteotemplate could be used as a desktop application – this is not possible, web applications work completely differently and none of the existing code could be used for that), in other cases they were interesting points and so I added them on my to-do list.

It is sometimes difficult or rather impossible to please all. I sometimes get completely contradicting opinions about how things should be done – just to give you an example again, one of you asked for more options for setting up the homepage. Then I got another suggestion I should decide more things myself so that the setup page is shorter and simpler. In such case I just have to decide one or the other.

Very often I also have the problem that adding one feature would mean removing a different one.
Again examples – adding drag&drop feature to setting up the homepage layout – this is explained in detail in the blog. Another example is possibility to use blue color for min temperatures, red for maximum (and similar suggestions). This again is a problem because people often don´t realize that many people use for example the blue/red color scheme and it would not look good on their site, even though if you in particular use a different color, it is ok. And theoretically, I could make it so that for red/blue color scheme it does not apply, but… but don’t forget there is also the feature where the visitors of your site can change the theme themselves via a cookie, so to do this you would also have to disable this feature in the main settings – and so we have the same problem – we are disabling features to enable different ones.

If I were to say one thing/topic that I will concentrate on the most based on all the responses, it is customization. Even though you already have very wide possibilities of setting up the template, obviously there is still potential for more.  Some of you might argue that making the settings page too long is not good, but I have to disagree with that because you can always just leave everything to default and just click “Save” – and this will have the same effect as if I chose all this myself and didn´t include it in the settings (the default is what I would use). So including it means people who are ok with default can set it up very quickly, but people who want to customize it more have the option to do so.


In the blog you will find detailed explanation of some of the problematic things.
http://meteotemplate.com/blog/?p=1697


Once again, thanks to all of you who sent me feedback and I will definitely implement some of it in the future (or at least I will try 🙂 I will also try to add even more customization options for the already existing content. Given there is now over 415 of you and given my limited time and HW, I cannot always guarantee when things will be made available, but I will do my best and what is within my possibilities.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2017, 03:29:39 PM
Hi Alessandro,
the image is fine, it is not blank, it just has transparent background, so that it can be used on any color background.

What do you mean align global map?

Where can i change background color?

About Hurricane block.

I'm referred to image showed on block.
I've attached it but i think it's no possible to center because it's really the image not aligned.

Opsssss, now it shows correctly  :oops: :oops:

Alessandro did you really have gusts of 130km/h today? :shock:
Title: Meteotemplate - Block Update - Cloud Height 3.0
Post by: Jáchym on January 18, 2017, 04:50:29 PM
Block Update - Cloud Height 3.0

Hi guys,

I updated the Cloud Height block.

Changes:

- possibility to enable/disable block heading
- explanation of cloud height provided in the "more" section
- formula used for calculation provided

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=cloudHeight

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 18, 2017, 04:58:36 PM
Alessandro did you really have gusts of 130km/h today? :shock:


Yesssss,
I really feared for my weather station mounted on my roof  :???: :???: :???:
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 18, 2017, 06:56:09 PM
Just a question Jachym.

I've set a part of menu like this:

(http://i.imgur.com/wQeWg11.png)


Is it possible to make every part of this field linkable?
Thanks in advance.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2017, 07:09:37 PM
Hi,
no I never thought about this so it is not supported unless you change it in the menu.php code
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 18, 2017, 07:56:34 PM
I was looking at the code Alessandro and this would require substantial modifications in the script and it would be problematic. It is relatively easy to do if you were doing it directly in the code, but it would be quite complicated to implement this to the current GUI and how the menu is built. I think you will just have to use three separate rows in the menu. I never thought about this and I dont think it is a common problem either. I can help you modifying the code of the menu.php, but the problem is that then you won't be able to update the menu.php because it would revert the original menu.php code.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 19, 2017, 04:04:04 AM
I was looking at the code Alessandro and this would require substantial modifications in the script and it would be problematic. It is relatively easy to do if you were doing it directly in the code, but it would be quite complicated to implement this to the current GUI and how the menu is built. I think you will just have to use three separate rows in the menu. I never thought about this and I dont think it is a common problem either. I can help you modifying the code of the menu.php, but the problem is that then you won't be able to update the menu.php because it would revert the original menu.php code.

Ok Jachym,
no no nothing change.
I've made three rows ;)
Thanks,


Alessandro
Title: Meteotemplate - Block Update - Cloud Temperature 2.0
Post by: Jáchym on January 19, 2017, 06:40:32 AM
Block Update - Cloud Temperature 2.0

Hi guys,

in the updated version I added:

- possibility to enable/disable block heading
- definition of cloud temperature
- equation used for calculating the values

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=cloudTemp

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: WessexWeather on January 19, 2017, 07:19:08 AM
Allessandro,

Nice website! How do you show your minima in blue and maxima in red please?

Also I thought that advertising was not allowed on Meteotemplate websites?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 19, 2017, 07:37:16 AM
Allessandro,

Also I thought that advertising was not allowed on Meteotemplate websites?
Yes sure, but i've insert it only on my custom page :)
Regards,


Alessandro

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2017, 07:54:41 AM
Allessandro,

Nice website! How do you show your minima in blue and maxima in red please?

Also I thought that advertising was not allowed on Meteotemplate websites?

Simon he did it himself and I would highly discourage you from doing this, I actually explained this exact thing yesterday. The problem is that I cant do that because users have all sorts of color schemes (some have red and blue which would make this unreadable) and even if you dont use red/blue dont forget that visitors to your site can also change this only for themselves via a cookie. You have to make sure and I have to make sure as a developer, that the template is usable under all circumstances and scenarios.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2017, 08:04:47 AM
Allessandro,

Also I thought that advertising was not allowed on Meteotemplate websites?
Yes sure, but i've insert it only on my custom page :)
Regards,


Alessandro

Alessandro I like your enthusiasm, but you need to be careful when adding custom stuff. Just to give you a few examples of problems I see with your page.

1. your custom blocks are not responsive making the page unusable on smaller screens (the block pushes away the right column, see screenshot 1)
2. look what happens when I change the color scheme, it is extremely difficult to read the values and see the graph line (and on the actual page it is even smaller)
3. same problem with this block when I switch to blue, very difficult to read the top blue text

Your goal should always be for the user to be able to easily and intuitively view what they want, without a magnifying glass :)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 19, 2017, 08:23:08 AM
Allessandro,

Also I thought that advertising was not allowed on Meteotemplate websites?
Yes sure, but i've insert it only on my custom page :)
Regards,


Alessandro

Alessandro I like your enthusiasm, but you need to be careful when adding custom stuff. Just to give you a few examples of problems I see with your page.

1. your custom blocks are not responsive making the page unusable on smaller screens (the block pushes away the right column, see screenshot 1)
2. look what happens when I change the color scheme, it is extremely difficult to read the values and see the graph line (and on the actual page it is even smaller)
3. same problem with this block when I switch to blue, very difficult to read the top blue text

Your goal should always be for the user to be able to easily and intuitively view what they want, without a magnifying glass :)
Thanks for your check Jachym :)

But the question is: which is the user that would change the color of my site?
 
I think to definitely switch off this possibility ;)
Regards,


Alessandro

p. s.
If you give a possibility to make custom page, we'll make custom page.
If there was a nice Wxsim block, I used it without custom page.
Same thing about models custom page!
Don't you? ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2017, 08:28:00 AM
Don´t I what?

Im not saying you should not create custom pages, thats definitely not what Im saying, Im only saying that when doing so you should be careful and make sure everything is still working and when changing blocks/plugins I made same thing applies. There is sometimes a reason why I did not include something (eg. colors) :) Also remember today´s trends in webdesign - simple, intuitive, no fancy 3D effects, shadows, colors, animated GIFs, visitor counters - thats all "internet of the 90s" :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2017, 08:43:10 AM
Allessandro,

Also I thought that advertising was not allowed on Meteotemplate websites?
Yes sure, but i've insert it only on my custom page :)
Regards,


Alessandro

I explained why ads are not allowed in meteotemplate - look even though I do admit Im not a fan of people using my non-commerical template and using it commercially, but... its your decision - however the reason I said it is not possible to use ads in Meteotemplate (doesnt matter if it is just one page, it applies to your whole site) is becuse Meteotemplate uses many scripts/libraries that are only available for non-commercial purposes, or you should get a license.

Just one example:
If you want to use ads and make sure it is all ok, then please get a license for Highcharts:
https://shop.highsoft.com/highcharts

So it is not just "because Jachym doesnt like ads and because it is his work"

People often never read the terms and conditions, they simply use whatever they find on the internet, ideally via iframe, images, graphics etc etc
Title: Meteotemplate - New Block - Forecast Sweden
Post by: Jáchym on January 19, 2017, 11:19:35 AM
New Block - Forecast Sweden

Hi guys,

this new block shows detailed 10 day hourly forecast for Sweden, using the SHMI API. Just drag the marker to whichever place you want (in Sweden) and it will show you the forecasted weather condition, temperature, humidity, pressure, precipitation etc.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastSE

Enjoy

Note: Im currently having issues with the server if the response is slow it is a problem on my side and not a problem with the scripts as such
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 19, 2017, 07:17:18 PM
Meteotemplate is an international template, can anyone spot what I mean? :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 19, 2017, 09:14:24 PM
Allessandro,

Nice website! How do you show your minima in blue and maxima in red please?

Also I thought that advertising was not allowed on Meteotemplate websites?
Simon
To change the line colors is not that difficult.
Have a look in graph.php for the section series: ( a small section is below)
Code: [Select]
series: [
{
name: '',
data: [],
<?php
if($tColor=="default"){
?>

color: "#<?php echo $graphColor?>"
<?php
}
else{
?>

color: "<?php echo $tColor?>"
<?php
}
?>


},
{
name: '',
data: [],
<?php
if($aColor=="default"){
?>

color: "#<?php echo $graphColor?>",
<?php
}
else{
?>

color: "<?php echo $aColor?>",
<?php
}
?>

dashStyle: 'ShortDot'
},
{
type: 'areasplinerange',
name: '<?php echo lang('range','c')?>',
<?php
if($tColor=="default"){
?>

color: "#<?php echo $graphColor?>",
<?php
}
else{
?>

color: "<?php echo $tColor?>",
<?php
}
?>

data: []
}
]
   
                  
Disable user theme settings so colors are not a problem.
I have changed the code for the series line colors to this. Notice I do not use 'range'

Code: [Select]
series: [
{
name: '',
data: [],
color: 'red'
},
{
name: '',
data: [],
color: 'yellow'
},
// {
// type: 'areasplinerange',
// name: '<?php echo lang('range','c')?>',
// color: "#<?php echo $color_schemes[$design]['font700']?>",
// data: []
// }
]
My site is still on Mango 4.1
I have heavily modified the template to suit my needs, that is what I love about Meteotemplate, you can customize it all you like.

But as Jachym says, be very careful.

Non-commercial
If you are a non-profit company, or use our products for personal use, you may enjoy our software for free under a Creative Commons (CC) Attribution-NonCommercial licence.

I would hazard a guess that all Meteotemplate users fall into that category.
Is a link to a very profitable company any different from showing an advertisement from that company?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2017, 05:26:35 AM
Placing Google Ads on your site will always be commercial. I really like this idea of open-source SW, where you take someone´s work and use it to develop something different and offer that too (like I used some open-source or free libraries), but Im not a big fan of then someone taking it and placing GoogleAds there or similar. As I said, Im not a fan of it, but if someone just cant do without it..... however with Highcharts (and other), it is simply forbidden. If someone wants to do it, they have to get a license.
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 20, 2017, 06:11:55 AM
I hate ads on any site, especially Google ads.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2017, 06:24:05 AM
I have to admit Ive been using 2 AdBlockers simultaneously and havent seen an ad for about 5 or 6 yrs, and given I also dont have or watch TV I really almost dont know what an ad is :D But I did see that on some MT sites the AdBlock icon turns red meaning it obviously blocked something :D
Title: Re: Meteotemplate - new free website template
Post by: mcrossley on January 20, 2017, 06:28:52 AM
Do amateur weather sites really generate enough traffic to make adverts worthwhile? Bearing in mind there is cost as well - the site doesn't look as attractive with adverts.

I run an ad blocker too, but there are now some sites either putting up a message if they detect it, or refusing to display content unless it is disabled. Some of the sites that make polite requests I have white-listed if their adverts are not over the top, they do have running costs to pay.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on January 20, 2017, 06:56:57 AM
Some of the sites that make polite requests I have white-listed if their adverts are not over the top, they do have running costs to pay.

Someone needs to make an ad blocker that fakes loading the ads into an invisible sandbox environment, so site/content owners can get paid for the ad impressions and the person viewing the content is safe from seeing ads or catching drive-by malware.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2017, 07:24:21 AM
Thats exactly the point, even though I now have over 15 times more page views than yr ago at meteotemplate.com, when talking about revenue from ads, you really need millions to make something that would be worth it and given how ugly it looks.... I also have to laugh when i see some people´s visitor counters (let´s not talk about how bad idea it is to put one on your site these days), and everytime I look it shows there are at least 35 people currently online.... on a personal weather website somewhere in XYZ at 2AM ... yeah right... usually it is because they are unable to filter out bots and because they put very long session time so it shows someone who visited the site two hours ago as still online.
Title: Meteotemplate - Plugin update - Stickers 6.0
Post by: Jáchym on January 20, 2017, 08:02:34 AM
Plugin update - Stickers 6.0

Hi guys,

Meteotemplate is an international template so I decided to update the Stickers plugin and added an option to display dual units. When you activate this, you will see your currently set template units in large font, but, below that you will also see the alternative unit in smaller font size.

This can be particularly useful if for example you use your sticker on a site/forum used by users all over the world.

To enable this just add "dualUnits=1" to the URL of the interactive sticker.

DEMO - see my signature :D

Enjoy
Title: Meteotemplate - New Block - Thermometer
Post by: Jáchym on January 20, 2017, 02:14:14 PM
New Block - Thermometer

Hi guys,

some of you wanted me to add linear gauge thermometer to the gauges block. This is problematic because of how this would scale in the block given you can choose which gauges to display.

So I created this new block with an interactive, real-time updating and highly customizable thermometer.

- various update sources - possible via database, WD clientraw, Cumulus realtime, MB mbLive or WCat
- realtime temperature, feels like and dew point
- customizable animation type
- customizable axes
- customizable thermometer height
- auto color based on values and limits

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=thermometer

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 20, 2017, 03:05:42 PM
Hi guys,
sorry for this post but I would answer to Jachym about wind gust recordered from my station two days ago at 129.6 km/h

This is the result:

(https://uploads.tapatalk-cdn.com/20170120/8285f9a6104a48b10e822c06df95cdf6.jpg)

(https://uploads.tapatalk-cdn.com/20170120/37c7e982ea93bb594a86f3bdaf8060dc.jpg)

Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 20, 2017, 03:09:46 PM
:D
And station survived  \:D/ =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 20, 2017, 03:13:00 PM
:D
And station survived  \:D/ =D>
Yesssss
Title: Meteotemplate - Block Update - Dynamic Image 4.0
Post by: Jáchym on January 21, 2017, 08:31:25 AM
Block Update - Dynamic Image 4.0

Hi guys,

I made a major change in the Dynamic Image block - you can now specify unlimited number of images. Each image is specified by its URL, title and what is more - for each you can specify a particular update interval and they will update independently (just like previously, but now you have the option of including more than just one image).

If you are doing an update make sure you update the settings, the original settings file will not work.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 21, 2017, 10:38:20 AM
OK, just added 4 new users within one hour.... so just got an idea. Whichever country first gets 100 Meteotemplate users will get a dedicated plugin :D So if you have friends with PWS, you have a chance :D

Current:
http://www.meteotemplate.com/template/plugins/userMap/
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 21, 2017, 11:12:18 AM
I think I am up to date with blocks and plugins. 
Can I count for more than 1 user? www.komokaweather.com/j-template

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 21, 2017, 11:35:07 AM
OK, just because it is you Paul... you can, so if Canada hits 99 I will take it as 100 :D :D :D
Title: Meteotemplate - Block Update/"New" block
Post by: Jáchym on January 21, 2017, 07:50:34 PM
Block Update/"New" block

Hi guys,

as one of you correctly pointed out - the "Weather Networks" block shouldn't really include links to networks like Facebook, G+, Instagram etc.

I therefore split this block into two blocks - Weather Networks Block and Social Networks Block.

The first one now only includes links to the weather networks and the rest was moved to the new Social Networks block.

I have also deleted link to the Meteotemplate network which unfortunately is no longer working/active and so the link is useless.

IMPORTANT:

If you are updating this block make sure you read carefully the instructions which I included in the corresponding blog post!

Enjoy
Title: Re: Meteotemplate - Block Update/"New" block
Post by: i_fiorentino on January 22, 2017, 05:41:20 AM
Block Update/"New" block

Hi guys,

as one of you correctly pointed out - the "Weather Networks" block shouldn't really include links to networks like Facebook, G+, Instagram etc.

I therefore split this block into two blocks - Weather Networks Block and Social Networks Block.

The first one now only includes links to the weather networks and the rest was moved to the new Social Networks block.

I have also deleted link to the Meteotemplate network which unfortunately is no longer working/active and so the link is useless.

IMPORTANT:

If you are updating this block make sure you read carefully the instructions which I included in the corresponding blog post!

Enjoy


Thanks Jachym,
what do you think to insert Youtube icon in social networks block?
I've a yt channel and what could be better than a link to it in Home?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 22, 2017, 07:44:25 AM
Hi Alessandro,
yes that makes sense, but, Im just thinking, wouldnt it be even better to use the dedicated YouTube block?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 22, 2017, 07:45:59 AM
Hi Alessandro,
yes that makes sense, but, Im just thinking, wouldnt it be even better to use the dedicated YouTube block?
It would be great
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 22, 2017, 07:54:57 AM
OK, but that block already exists Alessandro, so you can just use it :-)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 22, 2017, 08:59:52 AM
OK, but that block already exists Alessandro, so you can just use it :-)

 :shock: :shock: :shock: :shock:
 #-o #-o #-o  ](*,) ](*,) ](*,)
Title: Meteotemplate - New Block - Wind
Post by: Jáchym on January 22, 2017, 11:04:17 AM
New Block - Wind

Hi guys,

some of you asked for something to show recent wind direction and how it is changing. So I created a "wind" block.

Based on your responses in the questionnaire, it is quite clear that if there is one thing you all suggested (or can be deduced from your suggestions) it is customization. I will therefore try to give you more options to customize things via the GUI.

In this block you can specify the intervals for which you want to calculate this (in hour steps, i.e. last 1h, 3h, 12h, etc.). The block will then show you the prevailing wind direction, wind speed (avg/max) and wind gust (avg/max). In the collapsable section there are also graphs, which you can customize in the block settings.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=wind

Enjoy
Title: Meteotemplate - few points
Post by: Jáchym on January 23, 2017, 08:21:25 AM
Hi guys,

just a few quick things I want to mention.

1. questionnaire/your ideas – it is actually quite interesting, many of you suggested new features, some of which were technically not possible, some of which were really interesting and hopefully feasible ideas, which I put on my to-do list. What is interesting however is that with the exception of a single one (!), all the suggestions for new/improved features have to do with how you work with the page as the admin – in other words, not really new features for the page, but rather the way you work with the page. And if I were to summarize the responses in a single word it would be – customization. As I explained earlier in the post about the questionnaire, I sometimes have to make compromises due to the possible scenarios and also my HW and SW skills and possibilities. But I will try to add even more customization options to the already existing blocks and plugins. I understand many of you find it difficult to work directly in the code so I will try to add even more options to the GUI so that you can build your homepage exactly how you want.

2. newsletters/emails – one problem I will soon face is that because there is now so many of you (430+), I will have to figure out how to send out emails and newsletters. The problem is that Gmail has a limit of 500 emails/day, which with the current pace of adding new users I will reach soon. My provider also does not allow me to send more than 300 emails/day via my webhosting. There are several options – either I will have to split it and send the emails in batches over several days, or if anyone has any idea how else this could be achieved please let me know.

3. video tutorials – several of you asked me if I could make video tutorials on YouTube. This would probably be most useful to people who have problems understanding the wiki (due to language barrier), but some might have problems with the wiki even if they are native speakers. Video is always the best thing I agree, but it would be slightly complicated because my laptop can´t handle screen capture. I was talking to a friend of mine who has a microphone and a decent PC so in case you guys think it would really be of substantial benefit, let me know, I will try to see if I could somehow find time and arrange a visit to my friend to do this (though I want to emphasize I cannot guarantee this will work out even if people show interest).

4. blog – last thing, I also noticed that I very often get emails with questions about things I mentioned or posted in the blog. It is very important to watch the blog, in addition to new stuff or updates I also release and post info about bug fixes and important notices. Originally I sent out emails, but I do not want to disturb you so I now only do it in the blog. However, I highly recommend to you to subscribe to the blog RSS channel (link below) and that way you will always stay up-to-date, but also read about the news whenever you have time, not being disturbed by emails.

The plan now is to slowly start preparing v12 (however this will take time) and meanwhile try to add more customization options to existing pages/blocks/plugins. And occasionally release something new of course :) It really all depends just on how much work I will have in my daily job, how much support is necessary and what my laptop will handle 😀

Hope you are enjoying the winter, I myself love cold weather 🙂

Link to blog RSS channel:

http://meteotemplate.com/blog/?feed=rss2

Jachym
Title: Meteotemplate - New Block - Slovakia current conditions
Post by: Jáchym on January 23, 2017, 11:09:38 AM
New Block - Slovakia current conditions

Hi guys,

another country-specific block, this time for Slovakia.

This block shows current conditions for major Slovakian cities (temperature, wind, weather conditions etc.)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentSK

Enjoy
Title: Meteotemplate - Block Update - Station Status 3.0
Post by: Jáchym on January 23, 2017, 12:35:49 PM
Block Update - Station Status 3.0

Hi guys,

the updated version of the Station Status block adds one new feature. You can now display outages of the station in the previous days and today. First you can specify if you want to show this at all. If so, you select the number of previous days to check and the block will show one of the 3 following results:
- no outages in the given period
- table showing the actual outages (from, to, duration)
- in case the number of outages in that time is higher than a particular number (also specified in the settings), it will just show the total number of outages and the total offline time

On the Blocks page at meteotemplate.com, where you download the block, you can see screenshots of all the possible scenarios.

If you are updating this block make sure you update your settings, the previous settings will not work.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationStatus

Enjoy
Title: Re: Meteotemplate - Block Update - Station Status 3.0
Post by: i_fiorentino on January 23, 2017, 02:57:27 PM
Block Update - Station Status 3.0

Hi guys,

the updated version of the Station Status block adds one new feature. You can now display outages of the station in the previous days and today. First you can specify if you want to show this at all. If so, you select the number of previous days to check and the block will show one of the 3 following results:
- no outages in the given period
- table showing the actual outages (from, to, duration)
- in case the number of outages in that time is higher than a particular number (also specified in the settings), it will just show the total number of outages and the total offline time

On the Blocks page at meteotemplate.com, where you download the block, you can see screenshots of all the possible scenarios.

If you are updating this block make sure you update your settings, the previous settings will not work.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationStatus

Enjoy


Great!
Up and running without any problem!
Thank you so much Jachym  ;) ;)
Regards,


Alessandro
Title: Re: Meteotemplate - few points
Post by: vreihen on January 23, 2017, 03:50:41 PM

2. newsletters/emails – one problem I will soon face is that because there is now so many of you (430+), I will have to figure out how to send out emails and newsletters. The problem is that Gmail has a limit of 500 emails/day, which with the current pace of adding new users I will reach soon. My provider also does not allow me to send more than 300 emails/day via my webhosting. There are several options – either I will have to split it and send the emails in batches over several days, or if anyone has any idea how else this could be achieved please let me know.

Is Sourceforge an option with your current licensing?  If so, they provide discussion/announcement lists, can host pre-built files for download, etc.  I know of a few projects using Sourceforge as nothing more than a repository.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2017, 05:24:16 PM
I got several suggestions:

1. Erik suggested this site: https://mailchimp.com/pricing/entrepreneur/
2. Chris recommended Google Groups
3. Hans suggested Yahoo Groups

1. - I will have to see what the limits are for a free account
2. - probably the most likely option
3. - probably not, Im a google fan, but more importantly, Yahoo is dead... and if the reliability of this service is the same as the forecast then... no thanks :D
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on January 23, 2017, 05:56:21 PM
Jachym:

I noticed that my global wind map was not displaying the map anymore. http://www.kpw3.com/meteo/pages/maps/global.php (http://www.kpw3.com/meteo/pages/maps/global.php)

So I changed the iframe source in line 46 from embed.windyty.com to embed.windytv.com:
Code: [Select]
"https://embed.windytv.com/?surface,temp,now,<?php echo $stationLat?>,<?php echo $stationLon?>,3,,menu,message,ip" style="border:none;width:95%;height:800px">
It still only wants to display temps as "C" though.

Maybe you already updated this and I just missed it?

Thanks,

--Kurt

Title: Re: Meteotemplate - new free website template
Post by: vreihen on January 23, 2017, 07:15:46 PM
3. Hans suggested Yahoo Groups

I just heard an unconfirmed rumor (face-to-face) on Friday from a Yahoo Groups owner that they were planning to shut the service down in the near future.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 23, 2017, 07:19:15 PM
Absolutely not surprised... Yahoo is dead... I think more or less everyone knows it... the days of Yahoo being the most visited site on the internet are gone :D I still remember visiting Yahoo, using Geocities and the first search engine I remember using was Altavista :D That was when I was 10, the first time I learned there is something called the "Internet" :D
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 24, 2017, 01:52:22 PM
I want to reiterate what Jachym has said about tinkering with your MySQL database, and doing regular backups.

I am usually very cautious and look for alternatives and to have life-lines if needed, but I still inadvertently damaged my snow table and lost the "New" field/column making the snow plugin inoperable.   After a bit of panic, closely looking at things and what backups I had, I eventually got it back working correctly and only needed about 2 minutes to get my snow data back up to date.  And learned a bit more about my GoDaddy MySQL database.

I did have a full KomokaWeather DB backup (222,117 kb size) of January 6, 2017 and within that there was the section for the "snow" table.  Copied out the snow section and saved as a new snow.sql file.  Removed the corrupted "snow" table from the DB and Imported the new snow table, and all was well.  Then redo a dozen or so daily entries to bring the snow plugin up to date, and that was all - but took me many hours to get all done :oops:

Thanks Jachym,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2017, 03:28:19 PM
Thanks for mentioning this Paul, this is exactly why, despite some of you asked for it, I did not allow bulk database edits or changes.. Im sure someone would click or do something not knowing what they are doing exactly and the consequences can be disastrous - such as deleting your entire db in a few miliseconds
Title: Meteotemplate - Block Update - Canada - Current Conditions 2.0
Post by: Jáchym on January 24, 2017, 04:05:49 PM
Block Update - Canada - Current Conditions 2.0

Hi guys,

this update brings some more customization features and one additional feature.

New:
- possibility to show/hide Canadian flag
- possibility to show/hide block heading
- current conditions table can now be sorted based on city name or temperature

If updating the block make sure you go through the settings again.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentCA

Enjoy
Title: Meteotemplate - new free website template
Post by: Jáchym on January 24, 2017, 07:53:55 PM
Block Update - Gauges 4.2

Hi guys,

just bug fixes - finally got rid of the stupid "digital-mono" error in the console.

Enjoy
Title: Meteotemplate - Block Update - Station Data 4.0
Post by: Jáchym on January 25, 2017, 11:50:06 AM
Block Update - Station Data 4.0

Hi guys,

I updated the Station Data block

Changes:
- added "last 1h" interval
- added possibility to show/hide block heading
- added possibility to set the default interval

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationData

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 25, 2017, 08:15:56 PM
Thanks Jachym for the improved Block table listing.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 25, 2017, 08:31:01 PM
Hi Paul,
what exactly do you mean by Block table listing?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on January 25, 2017, 10:00:26 PM
The Blocks Table list now shows both the Block Namespace and the Block Name which helps in then trying to find it in the Blocks section for download where it is sorted alpha by Block Name (current CA is sorted by Canada Current Conditions.  Maybe it has been that way and I just overlooked it, making things more complicated than they are ](*,)

Paul
Title: Meteotemplate - Bug Fixes Package 11.2
Post by: Jáchym on January 26, 2017, 07:40:58 AM
Bug Fixes Package 11.2

Hi guys,

I released a new bug fixes package. This does not fix all the issues I have already discovered in v11, but only a few that are urgent. It only includes 3 files, which you easily replace. What to do is explained in the included README file, make sure you read it.

The package can be downloaded as always from the Downloads page by clicking the Bug Fixes item in the menu on the left.

Enjoy

http://www.meteotemplate.com/web/download.php
Title: Meteotemplate - Block Update - Current Conditions 7.0
Post by: Jáchym on January 26, 2017, 09:55:04 AM
Block Update - Current Conditions 7.0

Hi guys,

I introduced some new features to the popular Current block.

New:
- possibility to show pulsating warning icons below each parameter (in the settings you can specify the upper and lower limit for these warnings, as well as their color)
- possibility to specify "offline interval" - if the data is older than this, the block will show just "offline" and the last date/time  of update
- CSS tweaks

If you are updating this block, make sure you update the settings and specify the new variables. And make sure you read the instructions carefully.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on January 26, 2017, 11:52:00 AM
hello jachym
thank you updates made (bugfix and block current)
on the other hand, we can continue to change the icons of the block?
i try to change the wind ... i replace well in the folder "icons" but the loading is not done
Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2017, 12:04:32 PM
Hi Bianco,
no the new block uses the SVG objects, which give me much greater flexibility (I can set colors for the icons, I don´t need two sets of icons for two themes), they scale much better, they can be enlarged indefinitely, load much faster etc etc. So the icons in the folder are no longer used, except for wind direction. Given all the advantages mentioned I can now for example give you the possibility to set the color for the warnings, if it was an image, the image icon would simply have just one particular color.
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on January 26, 2017, 12:15:09 PM
Thank you for the explanations and ok no problems for me.  :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 26, 2017, 12:22:31 PM
In the future, icons will not be customizable, I had to make a choice and using SVG is the recommended way of doing it these days, given the advantages mentioned above.

Eg:
https://quickleft.com/blog/choosing-svg-jpeg-png/
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 27, 2017, 04:18:56 AM
Jachym, I have a problem.

My Meteobridge blew up and I had to get another one real quick.
The problem is I lost all my settings for push services and cannot find reference to them on this site or yours or any of my backups.
Do you still have the examples you supplied with earlier versions.

In the meantime I will still be searching.

Colin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2017, 05:36:48 AM
Hi Simon Colin,
if you go to the Control Panel, then Updates and select Meteobridge, it will show you the exact URL you should use for your site.

Title: Re: Meteotemplate - new free website template
Post by: Colin on January 27, 2017, 05:55:39 AM
Hi Simon,
if you go to the Control Panel, then Updates and select Meteobridge, it will show you the exact URL you should use for your site.

Mmmm. Did you call me Simon because I am simple or was that answer for someone else  :?:

Colin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2017, 05:58:12 AM
LOL ... no Colin, I really appologize, it was because I have very bad memory for names and because 5 minutes before that I was replying to Simon via email.... The answer was for you of course..
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 27, 2017, 06:09:37 AM
Thought it was something like that. I have not updated since Mango so those updates are not in my control panel. I had a look in version 11 and found the reference to push services. Will have a look and see if they will be okay. If you have not changed the tags since Mango, I will be able to use them.
Thanks for that..

Colin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2017, 06:14:39 AM
Yes and no. If you are using the old script you can use the same URL, because that page was depracted and I did not update it. Ideally you should use the update.php script, which is an improved updated version of it.
Title: Re: Meteotemplate - new free website template
Post by: EastFrisianGuy on January 27, 2017, 06:41:06 AM
Hi Jachym,

After the last update the icons does not seem to appear on the mobile site anymore, a regular user notified me of this.
I've checked it and noticed that only the wind vane is still showing the rest of the icons has disappeared.
http://www.weatherfrog80.bplaced.net/template/indexMobile.php

Regards

Georg
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2017, 06:49:28 AM
Georg, this is exactly why I emphasized it is essential to read my blog... ;)

http://meteotemplate.com/blog/?p=1739
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 27, 2017, 07:03:16 AM
Yes and no. If you are using the old script you can use the same URL, because that page was depracted and I did not update it. Ideally you should use the update.php script, which is an improved updated version of it.

I cannot use the new update.php but I just needed to make sure the variable names and tags in your update.php were the same as my old meteobridge.php and the syntax was correct.
The good news is that I am up and running again.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2017, 07:23:12 AM
Yes, variable names etc. are all the same.

You might want to consider upgrading, Mango is just so old - it is not just about the new features, the number of bugs I fixed since then... probably hundreds and it is not just bugs that you see directly, there were issues in the way some things were calculated so it is not just errors you see on the page or new features, but the actual things in the station pages. Not to mention security etc.
Title: Re: Meteotemplate - new free website template
Post by: adjet on January 27, 2017, 03:38:36 PM
Hello all,

I'm new here.
I run CumulusMX on raspberry pi 3 and use Meteotemplate.
I try to fill the database with realtime.txt.
I only have the default CumulusMX.txt but I need the default realtime.txt from the standard cumulus but adjust for use with cumulusMX.
Can someone post it to me.

regards Ad
Title: Meteotemplate - Block Update - Belgium - Current Conditions 2.0
Post by: Jáchym on January 27, 2017, 04:08:00 PM
Block Update - Belgium - Current Conditions 2.0

Hi guys, updated version includes support for Dutch. If you are updating this block make sure you empty your cache.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 27, 2017, 04:08:56 PM
Hello all,

I'm new here.
I run CumulusMX on raspberry pi 3 and use Meteotemplate.
I try to fill the database with realtime.txt.
I only have the default CumulusMX.txt but I need the default realtime.txt from the standard cumulus but adjust for use with cumulusMX.
Can someone post it to me.

regards Ad

Just to clarify, Ad sent me his realtime.txt which he said is generated by CumulusMX, but looks nothing like the realtime.txt Im used to. Does CUmulusMX not support or generate this old format of realtime?
Title: Re: Meteotemplate - new free website template
Post by: adjet on January 28, 2017, 05:19:33 AM
Hi all,

I solved my problem. (it was a problem with spaces in the notebook editor.
The realtime.txt is now working fine.

Ad
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2017, 09:46:16 AM
Great :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on January 28, 2017, 02:03:10 PM
Been a crazy week and worked probably 15 hrs a day.  I finally did the bug fixes and block updates, etc and noticed two things.  First, my current block is displaying offline occasionally.  Not sure why - which is not true since I am online...  Second, Suddenly my gauges no longer display in Safari.  They are at the bottom of my page.  I do see them in chrome.  Any ideas?

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2017, 02:14:08 PM
Hi Jeff,
the current block - depends what data source you use and what interval you specified, if it shows offline sometimes it means the data source really is outdated. If there was a problem with the script it would simply never work. It is always yes or no. If it does work sometimes than it must be outdated.

Gauges - yes several people told me, I dont know why, it is only an issue with Apple - i.e. not much I can do about this

Im not a fan of Apple, so Apple probably doesnt like me :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on January 28, 2017, 02:39:11 PM
Hi Jeff,
the current block - depends what data source you use and what interval you specified, if it shows offline sometimes it means the data source really is outdated. If there was a problem with the script it would simply never work. It is always yes or no. If it does work sometimes than it must be outdated.

Gauges - yes several people told me, I dont know why, it is only an issue with Apple - i.e. not much I can do about this

Im not a fan of Apple, so Apple probably doesnt like me :D

LOL.  I reverted back to the last version on gauges so I will jut not update it :)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on January 28, 2017, 03:18:14 PM
I'm using the latest version of gauges and it shows on Safari fine
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 28, 2017, 03:19:36 PM
At home I only have Chrome, FF and Opera, at least at work I can check Safari, but this seems to only be a problem on iPhones and iPads
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on January 29, 2017, 07:49:46 AM
Hi Jáchym!

I have a problem with Current conditions 7.0. The icons not showing since update. The re-settings does not help.


Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on January 29, 2017, 07:58:24 AM
Hi Jáchym!

I have a problem with Current conditions 7.0. The icons not showing since update. The re-settings does not help.

I wonder if it is because you are running Blueberry?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2017, 08:13:23 AM
Hi,
yes and I did mention this in the wiki, blog and newsletters.

If you decide to not update to the latest version, then from that moment you must leave your page as it is. In other words, you can use your page with older version just fine, but, if you do not update the template main files you cannot update blocks or plugins. This makes sense, I introduce new functions and features with each template version and obviously I want to use them. Therefore backward compatibility is always guaranteed (i.e. when you install a new template version, all your blocks and plugins will work), but not the other way around.

If you are using v10 of the template, you should not download anything new that is released after this new version release. This problem with the icons is caused exactly by this and unfortunately I have to tell you that no icons will work in your template (plugins,blocks) if you update anything after v11 was released because it uses completely different system of icons that is much more efficient and faster.

Either update to Passion Fruit, or you have to leave your page as it is, no more upadtes at all.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on January 29, 2017, 01:52:08 PM
Hi Jachym,
unfortunately i've two spam messages on my guestobook:http://www.meteopistoia.it/plugins/guestbook/index.php
Is there a possibility to cancel these messages?
Thanks in advance,


Alessandro
Title: Meteotemplate - Plugin Update - Sun/Moon 2.0
Post by: Jáchym on January 29, 2017, 06:22:34 PM
Plugin Update - Sun/Moon 2.0

Hi guys,
I updated the Sun/Moon plugin.

The new version includes a brand new page with graphical visualization of Sun/Moon positions for selected location and date and time (by default your station location and current date and time).

You can view the position of the Sun/Moon during that particular day as well as the movement of the Sun for selected location during the year (selected yr + solstices + equinox).

DEMO: http://www.meteotemplate.com/template/plugins/sunMoon/position.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2017, 06:42:05 PM
Hi Jachym,
unfortunately i've two spam messages on my guestobook:http://www.meteopistoia.it/plugins/guestbook/index.php
Is there a possibility to cancel these messages?
Thanks in advance,


Alessandro

Yes of course, if you are logged in as admin every guestbook post should have icons for deleting the post.
Title: Re: Meteotemplate - Plugin Update - Sun/Moon 2.0
Post by: wxthomson on January 29, 2017, 07:49:50 PM
Plugin Update - Sun/Moon 2.0

Hi guys,
I updated the Sun/Moon plugin.

The new version includes a brand new page with graphical visualization of Sun/Moon positions for selected location and date and time (by default your station location and current date and time).

You can view the position of the Sun/Moon during that particular day as well as the movement of the Sun for selected location during the year (selected yr + solstices + equinox).

DEMO: http://www.meteotemplate.com/template/plugins/sunMoon/position.php

Enjoy


Very nice.  I like the new visualization.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2017, 08:30:11 PM
Thanks... though I just realized I made a major error in that script... I forgot to include the timezone select box... it works perfectly fine, but only as long as you use a place in your TZ, I originally did not want to include the possibility to change location (only time), but in the end I included that, so you can change the coordinates, but I forgot that this requires me also including a time zone selection because PHP cannot determine TZ just based on coordinates so it incorrectly calculates the offset.
I will update it soon, for now just use it for your station :D
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 29, 2017, 08:38:33 PM
Jachym,

I wanted to download a block but when I click the download button, it takes me straight to the donation page.
Seems I now have to right click and 'Download Linked File'. It was not like that last week.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 29, 2017, 09:06:08 PM
Popup blocker
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 29, 2017, 09:25:25 PM
Will use 'right click' method. Allowing pop-ups allows ads.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 30, 2017, 05:19:55 AM
Just disable the popup blocker for meteotemplate.com domain, you always can disable it for a particular site.
There is not a single ad in the entire page anyway...
Title: Re: Meteotemplate - new free website template
Post by: Colin on January 30, 2017, 05:25:18 AM
Safari does not support that option. It's all or nothing.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 30, 2017, 05:36:38 AM
OK as long as you found a solution that works for you go for it :-)

(I know why I dont like Apple :D)
Title: Meteotemplate - Plugin Update - Sun/Moon 3.0
Post by: Jáchym on January 30, 2017, 10:20:07 AM
Plugin Update - Sun/Moon 3.0

Hi guys,

first I wanted to fix one bug in the yesterday´s released version of the Sun/Moon plugin. Then I thought I will also make this a bit more sophisticated so I created another brand new page, which shows an actual animation of the movement of the Sun/Moon for selected period. You can specify the from/to dates, intervals and speed of movement.

DEMO: http://www.meteotemplate.com/template/plugins/sunMoon/positionAnimation.php

Enjoy
Title: Re: Meteotemplate - Plugin Update - Sun/Moon 3.0
Post by: KapitainOne on January 30, 2017, 10:40:19 AM
Plugin Update - Sun/Moon 3.0

Hi guys,

first I wanted to fix one bug in the yesterday´s released version of the Sun/Moon plugin. Then I thought I will also make this a bit more sophisticated so I created another brand new page, which shows an actual animation of the movement of the Sun/Moon for selected period. You can specify the from/to dates, intervals and speed of movement.

DEMO: http://www.meteotemplate.com/template/plugins/sunMoon/positionAnimation.php (http://www.meteotemplate.com/template/plugins/sunMoon/positionAnimation.php)

Enjoy

Uploaded but am not seeing the animation on mine, the pictures of the sun/moon don't show up on the animation!!

I'll upload again just to make sure I didn't screw up! Edit Nope re-uploading didn't help

Your demo seems to work fine...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on January 30, 2017, 10:44:13 AM
In the console it shows that the images (Sun,moon.png) are 403 Forbidden
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on January 30, 2017, 11:09:52 AM
In the console it shows that the images (Sun,moon.png) are 403 Forbidden
Hah!
Those only had Owner permissions to read, added group and public and it now works!
tnx for the hint
Title: Meteotemplate - New Plugin - Lightning
Post by: Jáchym on January 31, 2017, 08:08:07 AM
New Plugin - Lightning

Hi guys,

I created a new plugin, which extends the Lightning block. It shows you lightning strikes for the world as a whole as well as for the individual continents and in addition to the most recent available image you can browse through history images available since January 2016. The plugin uses data from the Blitzortung network.

Don´t forget to update menu.php if you want to use the shorthand syntax in the menu.

DEMO: http://www.meteotemplate.com/template/plugins/lightning/index.php#/

Enjoy
Title: Re: Meteotemplate - New Plugin - Lightning
Post by: cjohlandt on February 01, 2017, 12:16:02 AM
New Plugin - Lightning

Hi guys,

I created a new plugin, which extends the Lightning block. It shows you lightning strikes for the world as a whole as well as for the individual continents and in addition to the most recent available image you can browse through history images available since January 2016. The plugin uses data from the Blitzortung network.

Don´t forget to update menu.php if you want to use the shorthand syntax in the menu.

DEMO: http://www.meteotemplate.com/template/plugins/lightning/index.php#/

Enjoy

I just installed the lightning plugin and it works well.  One possible bug (or maybe a difference in American English and the Queen's English) - the plural of lightning is lightning (no 's').  Both the menu.php and the plugin index.php have 'lightnings'.  It's easy enough to edit out the 's', but it might be something to consider if you ever update the plugin.

-Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2017, 05:18:38 AM
Hi,
no it should be just lightning, not a difference in US and UK English, but rather my poor English again :D No need to update the plugin though, i will just make that change in the language file now, so download the corresponding language files and it will be correct (gb.php/us.php).
Thanks for pointing it out
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2017, 05:27:21 AM
Fixed, just update your language files and it should fix both the heading and the menu
Title: Re: Meteotemplate - new free website template
Post by: cjohlandt on February 01, 2017, 07:14:31 AM
Fixed, just update your language files and it should fix both the heading and the menu
Thanks Jachym!

Sent from my XT1650 using Tapatalk

Title: Meteotemplate - updates
Post by: Jáchym on February 01, 2017, 08:52:05 AM
Thanks Chris, I learned something new :D Didnt know "lightning" doesnt have plural :D

Block Update - NWS Forecast 3.1
 
 - CSS tweaks

Plugin Update - Sun/Moon 3.1

 - CSS fixes

Enjoy
Title: Meteotemplate - 100th user - New Plugin - United States
Post by: Jáchym on February 01, 2017, 10:52:31 AM
Hi guys,

some time ago I promised that I will create a plugin for the country which first reaches 100 users on my Meteotemplate user map. Well today I added the 100th user from the United States so to keep my promise Im introducing to you this brand new plugin, which is by far the most extensive country-specific plugin I have made so far.

It includes several pages and sections. I spent lot of time gathering data from various sources and visualizing them in a unified, interactive manner and I even included things such as quiz, where you can test your knowledge of the individual states (basic info + weather data).

New Plugin - United States

Main features:

- interactive map colored based on selected parameter - average temperatures, rainfall, wet days, sunny days, UV, comfort index, snowfall, absolute extremes, ranges, but also basic data like population, total area, population density, elevation etc.
- interactive table - detailed sortable table with data about the individual states (capital, area, population, elevation, temperature statistics, rainfall statistics, snowfall data, sunshine hours, UV, comfort index, absolute extremes etc.)
- state profiles - a detailed profile for each state, which includes basic statistical data (population, land area, water area, population density, average elevation, highest peak), basic information (flag, capital, main lakes, rivers, largest cities) and of course weather data (average temperatures, absolute extremes, average annual rainfall, snowfall, sunny days, days with precipitation, comfort index), a textual description of the climate and detailed table with data from the state capital including an annual graph grouped by months (temperature ranges, sunshine hours, sunshine ratio from potential maximum, rainfall, snowfall, humidity, days with precipitation, days with snowfall)
interactive tables with weather data for all state capitals - average maximum/minimum temperature, rainfall, days with precipitation, snowfall, snowy days, humidity, sunshine hours, sunshine (%/max), all broken down by months
- interactive graphs for all states - annual temperature ranges, rainfall, snowfall, sunshine hours, UV, comfort index, population, area, comfort index, elevation
- interactive graphs with weather data for all state capitals - average maximum/minimum temperature, rainfall, days with precipitation, snowfall, snowy days, humidity, sunshine hours, sunshine (%/max), all broken down by months and by seasons on a separate page
- quiz - choose difficulty and try a little quiz to test your knowledge of the states. Answer questions about the states, which include both basic info (population, capital etc) as well as weather info. Questions are chosen at random and you see your score at the top.

As always, the best way to get an idea of what it includes and shows is to look at the DEMO.

DEMO: http://www.meteotemplate.com/template/plugins/unitedStates/

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: W3DRM on February 01, 2017, 01:12:02 PM
Wow, great job Jachym!!! Well done.  =D&gt; =D&gt;

One thing though, I notice in the demo that I see Haiti listed for data that should be Hawaii. The data appears to be okay but the name of the state is incorrect.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2017, 01:23:14 PM
Wow, great job Jachym!!! Well done.  =D&gt; =D&gt;

One thing though, I notice in the demo that I see Haiti listed for data that should be Hawaii. The data appears to be okay but the name of the state is incorrect.

Yes sorry about that,... just the title, i already changed it in the download file and since I did it so shortly after releasing it, I did not release it as update, so just download the current zip file and replace the file inside the "data" folder
Title: Re: Meteotemplate - new free website template
Post by: W3DRM on February 01, 2017, 01:32:27 PM
No problem but thought you would want to know about it. Also, I found several of the links to have no data in them. Am guessing that's because I was looking at the demo version and you are probably still populating the various sections of the template.

Still, it's a great addition to your overall template and like everything else you do, is superbly crafted and presented!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2017, 01:41:27 PM
Not sure what you mean by links that have no data? You mean like in the user map? Thats because people often change the domain, or the path to the template on their server and when they do that, it does not ask for registration so I dont know which link they use now. Or in some cases they might simply stop using it, thats also possible, I dont have the time to check all the links and email people when it is broken :D
Title: Re: Meteotemplate - new free website template
Post by: W3DRM on February 01, 2017, 01:50:32 PM
In the USA demo, when I select any of the following links I get the new page but no graphs or other information appears. It looks like there isn't any data for those selections:
All of the other selection links appear to be working just fine including the Quiz.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 01, 2017, 02:55:38 PM
They all work fine here, you have to click on the icons for temp, humidity, etc to get the graphs to show!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2017, 05:43:55 PM
Yes, thats correct, everything should be working. Can someone check the quiz? One person told me it does not work for them at all, but I tried Chrome, FF and Opera and no problems
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 01, 2017, 07:50:54 PM
Yes, thats correct, everything should be working. Can someone check the quiz? One person told me it does not work for them at all, but I tried Chrome, FF and Opera and no problems

Works here on Safari -
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 01, 2017, 07:58:50 PM
Hi Jeff,

I will answer the question you asked in the email here in case someone else might have the same issue.

OK, so Jeff asked me why he sees "usfull" as a heading and in the menu instead of the correct "United States of America" heading.

I will be absolutely honest - I did this intentionally... the problem is that people who use the English version tend not to update their language files because it usually works fine since I make the template by default in English, however, it might not always work correctly and so I intentionally used an abbreviation, which only shows correctly if you have the files up to date and I knew people would be forced to update the gb/us.php :-)

Just go to my page, Translations and download the latest version :-)

Yes I know Im annoying, but emphasizing it in the blog does not help so one sometimes has to use other more "sneaky" ways of forcing people to do what I want :D :D :D It really is important to keep the files up-to-date. Not to mention that I bet there are many new languages you can now add to your template if you havent updated the language files for a while :-)

If you are adding a new language, just copy it into your lang directory and then go to Main settings and just hit Save, not changing anything, that will force the template to reload the available languages.

Title: Re: Meteotemplate - new free website template
Post by: W3DRM on February 02, 2017, 12:46:43 AM
They all work fine here, you have to click on the icons for temp, humidity, etc to get the graphs to show!!

 :oops: Well, that is very embarrassing... NO, I had not clicked on any of the icons to bring up the desired parameter...  ](*,) :oops:

And, the Quiz worked fine for me on Chrome.
Title: Meteotemplate - New Plugin - Netherlands - Weather Maps
Post by: Jáchym on February 02, 2017, 08:05:59 AM
New Plugin - Netherlands - Weather Maps


Hi guys, this plugin shows daily weather maps for the Netherlands, including maps of average, maximum and minimum temperature, precipitation, wind speed, snow cover etc. No need to setup anything, works out of the box.

DEMO: http://www.meteotemplate.com/template/plugins/netherlandsMaps/index.php

Enjoy
Title: Meteotemplate - Updates
Post by: Jáchym on February 02, 2017, 05:43:28 PM
Hi guys, just some minor bug fixes:

Plugin Update - Climate - Countries 1.1

A few months ago Highcharts was updated and all the graphs stopped working in this plugin – interestingly no-one noticed :D Anyway, this update fixes it, just update index.php and the version text file if you are updating the plugin.

Block Update - News Feed 2.1

Optimization and bug fixes

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 02, 2017, 08:00:33 PM
I think I mentioned it before but I may have missed the answer. All blocks that include functions.php return this in the error log.
Quote
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; moonPhase has a deprecated constructor in /scripts/functions.php on line 1023
Anyone else get these errors?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 02, 2017, 08:20:08 PM
Hi Colin,
it is not the blocks, it is in the header, so you will see it on every page, but if you turn off the debug mode you should not see it, it is not an error or warning and it should work for now, I will try to fix it in the future or replace the moonphase script with a different one.
Title: Re: Meteotemplate - new free website template
Post by: Colin on February 02, 2017, 09:47:15 PM
Hello Jachym,

No, I think it is in the blocks.
The error.log in each block directory has the same message. I took the rainBlock and modified the code so that it does not use functions.php. Then I removed the statement    
Code: [Select]
include("../../../scripts/functions.php");  and deleted the error.log, cleared all history and re-loaded the page.
The block still works as before but does not create the error.log
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 03, 2017, 05:14:00 AM
Yes it is in the functions.php, what I meant was that functions.php is loaded by the header, which is loaded on every page as well, not just blocks. But it is not really an issue at this point.
Title: Meteotemplate - Block Update - Meteogram 1.3
Post by: Jáchym on February 03, 2017, 03:22:45 PM
Block Update - Meteogram 1.3

Hi guys,

I updated the Meteogram block. The block now uses more sophisticated data loading function (in case the block did not work for you before, try this new version, it could help). I also fixed some issues when using this block with light theme and introduced some minor CSS tweaks. Thanks to Luc for help.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: johnny on February 04, 2017, 01:54:49 AM
Good morning Jachym!
I just installed the brand new version of Meteogram, so i hereby confirm everything is ok! =D&gt;
By the way, i have a wish(or suggestion) regarding this block and the forecast one. I would like to have the option to select between different locations, especially for the yr.no service, so someone who wants to check out the weather in a specific area, will be able to do so. Maybe it's possible by adding more locations through the settings...
Thanks in advance!

P.S. I have a gift for you ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2017, 09:33:49 AM
Hi Johnny,
I see your point, but that unfortunately is not possible because the forecast is cached, which would not be possible if you did not know which location the user is going to use in advance.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2017, 09:41:41 AM
To make myself more clear, each service has a maximum daily number of calls you can make as part of the free API so letting the user choose would mean this could not be cached and theoretically, a bot might load the page 10 times in a second, you would run out of the number of daily calls and for the rest of the day you would see no forecast at all.

Yr.no does not have an API key, but in their API documentation it is explicitly stated that you must use caching and must not call for new data more often than 10mins, otherwise they will completely block your server and you wont see anything at all.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on February 04, 2017, 01:23:40 PM
Hi Jachym,
i've seen that this page http://www.meteopistoia.it/plugins/countryClimate/index.php  (http://www.meteopistoia.it/plugins/countryClimate/index.php)isn't translated well.
Where can i adjust translation?
I've tried with lang.it but i think it's not the correct file.
Thanks in advace.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2017, 02:11:26 PM
No, all translations must be done via the Translations section at meteotemplate.com.

The language files are generated automatically from my language database, so I need to make the changes there, otherwise you will lose the changes when you update your language file in the future.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on February 04, 2017, 02:24:23 PM
No, all translations must be done via the Translations section at meteotemplate.com.

The language files are generated automatically from my language database, so I need to make the changes there, otherwise you will lose the changes when you update your language file in the future.
Ok, could you make that page "blank translated" so i can re-translate it better ;)


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 04, 2017, 02:30:24 PM
Not sure what you mean by blank translated. It is not like every page has its translation file, all pages in the template use one main Italian language file.

Go to the Translations section at meteotemplate.com, choose Italian and look at the Translated words. Then if you find a mistake, just email me a list of the changes - original English + new Italian.

It is only possible to add translations directly from that site, if you want to make changes you have to email me, it cannot be done directly (for obvious reasons, I dont want anyone just randomly change stuff)
Title: Meteotemplate - Block Update - Clock Digital 2.0
Post by: Jáchym on February 04, 2017, 02:31:42 PM
Block Update - Clock Digital 2.0

Hi guys,

in this new version you can optionally show the timezone offset from UTC.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=clockDigital

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on February 04, 2017, 02:33:58 PM
Not sure what you mean by blank translated. It is not like every page has its translation file, all pages in the template use one main Italian language file.

Go to the Translations section at meteotemplate.com, choose Italian and look at the Translated words. Then if you find a mistake, just email me a list of the changes - original English + new Italian.

It is only possible to add translations directly from that site, if you want to make changes you have to email me, it cannot be done directly (for obvious reasons, I dont want anyone just randomly change stuff)
Ok, I'll do it ;)
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on February 05, 2017, 06:32:42 AM
Jachym,
i've some spam posts on my Guestbook  :-(
Everyday i must delete three / four posts.
Is there a possibility to increase the level of security on guestbook page?

Captcha, answer to elementary questions or something else.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 05, 2017, 08:05:52 AM
Hi,
there is a captcha already, if the number of spam is not acceptable, then I guess you have to delete the plugin
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on February 05, 2017, 09:32:42 AM
currentMap block, this is no longer showing the temp for each of the cities which I'm sure it used to is there a setting somewhere I've missed
Also the CO2 plugin is not showing any data ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 05, 2017, 10:27:18 AM
Hi Stewart:

currentMap - uses external widget, there is no setting for it so either they discontinued this feature or it is not working, but there is no way I can fix this, it is completely loaded from a separate page as a whole

- co2 - I dont see any problems with this one:
http://www.meteotemplate.com/template/plugins/co2/co2current.php

Could be that it just wasnt able to download the data today when you tried and since this is cached for 24h, it is loading the empty cache file
Title: Meteotemplate - Plugin Update - Canada Warnings 2.0
Post by: Jáchym on February 05, 2017, 06:02:38 PM
Plugin Update - Canada Warnings 2.0

Hi guys,

the updated version includes:
- support for French
- CSS tweaks
- localization
- bug fixes

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on February 05, 2017, 06:53:29 PM
Hi,
there is a captcha already, if the number of spam is not acceptable, then I guess you have to delete the plugin


 :shock:

But is it possible to insert a pre-authorization on guestbook?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 05, 2017, 07:02:12 PM
It is already there but obviously the bots are smart enough to bypass it
Title: Meteotemplate - New Block - Forecast Czech Republic
Post by: Jáchym on February 06, 2017, 08:56:52 AM
New Block - Forecast Czech Republic

Hi guys,

this new block shows weekly forecast for the Czech Republic.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastCZ

Enjoy
Title: Meteotemplate - Videotutorials
Post by: Jáchym on February 06, 2017, 09:34:16 AM
Videotutorials

Hi guys,

because so many of you asked about this, I decided to try to make commented videotutorials of me installing the template. However, there are couple of points I would like you to please take into account, most importantly the fact I had to record everything in just a few hours in one go, with no possibility to re-record anything, and also the fact I am not a native speaker, so hopefully you will at least get the meaning.

- these videos should only be used as a supplement to the wiki, the wiki explains things in more detail and I cannot guarantee these videos will always be up-to-date (the wiki is). The Wiki on its own should be sufficient for being able to fully install Meteotemplate.
- I appologize for the very poor quality of the video content as well as the mistakes I made in the instructions/comments. I do not have a computer capable of doing screen capture, so I was using my friend's PC and had only a few hours to record all the videos, without the possibility to edit them, record again in case of some problems etc. due to very limited time. I wish I could re-record some of them, but it was not possible if I wanted to make sure I at least cover all of it.
- I am NOT a native speaker, so please bear with me and I hope you will at least get the overall idea of what I am trying to say even if not everything is understandable
- I will try adding more videos in the future, but as I said above, it is very complicated due to limited access to usable HW and time possibilities.
- I was considering whether to include ads in the videos or not for very long time. In the end I decided to include them. I do not have a single ad in any part of the template and I do not want any ads at meteotemplate.com. However, since these videos are hosted externally on Youtube, they only show my work (so no issue with copyright) and viewing them might help me to cover the costs (and so help you as well since this obviously means I can dedicate more time to Meteotemplate) I decided to enable it.

Videos: http://www.meteotemplate.com/web/wiki/wikiVideos.php

I wish I had more time to plan this and record it and also better HW to allow better video quality, but I take it it is better than nothing and it is currently the best I can do.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: azkiwi on February 06, 2017, 11:52:43 AM
Ummmm.   Jáchym  do you ever sleep?


No matter when I sign in, there's always a new post from you.....


Ken
Title: Re: Meteotemplate - Videotutorials
Post by: droiddk on February 06, 2017, 04:33:27 PM
Videotutorials

Hi guys,

because so many of you asked about this, I decided to try to make commented videotutorials of me installing the template. However, there are couple of points I would like you to please take into account, most importantly the fact I had to record everything in just a few hours in one go, with no possibility to re-record anything, and also the fact I am not a native speaker, so hopefully you will at least get the meaning.

- these videos should only be used as a supplement to the wiki, the wiki explains things in more detail and I cannot guarantee these videos will always be up-to-date (the wiki is). The Wiki on its own should be sufficient for being able to fully install Meteotemplate.
- I appologize for the very poor quality of the video content as well as the mistakes I made in the instructions/comments. I do not have a computer capable of doing screen capture, so I was using my friend's PC and had only a few hours to record all the videos, without the possibility to edit them, record again in case of some problems etc. due to very limited time. I wish I could re-record some of them, but it was not possible if I wanted to make sure I at least cover all of it.
- I am NOT a native speaker, so please bear with me and I hope you will at least get the overall idea of what I am trying to say even if not everything is understandable
- I will try adding more videos in the future, but as I said above, it is very complicated due to limited access to usable HW and time possibilities.
- I was considering whether to include ads in the videos or not for very long time. In the end I decided to include them. I do not have a single ad in any part of the template and I do not want any ads at meteotemplate.com. However, since these videos are hosted externally on Youtube, they only show my work (so no issue with copyright) and viewing them might help me to cover the costs (and so help you as well since this obviously means I can dedicate more time to Meteotemplate) I decided to enable it.

Videos: http://www.meteotemplate.com/web/wiki/wikiVideos.php

I wish I had more time to plan this and record it and also better HW to allow better video quality, but I take it it is better than nothing and it is currently the best I can do.

Enjoy

Nice videos, for future updates, may I suggest using a High Pass Filter set to 80-100hz, that should improve sound quality and make it more clear. Maybe you can just cut some of the "bass" with your existing gear.

Regards



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 06, 2017, 07:27:11 PM
Hi,
there is not much I can do, I was using my friend's computer and I was happy I could use it at all. I had to record everything in a very short period of time - no possibility of re-recoding, post-processing or even planning (he called me that day saying I could come...). Then later at home I saw the quality of it and felt like Im gonna delete it all, then I decided it is better than nothing, but it should definitely only be used as sort of a last resort for people who read the wiki and have absolutely no clue.
Title: Meteotemplate - Block Update - Summary 5.2
Post by: Jáchym on February 07, 2017, 07:09:33 AM
Block Update - Summary 5.2

Hi guys,

added support for Dutch, thanks to Luc for the translation.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: sachlj on February 07, 2017, 02:28:34 PM
I have problem. Raspberry Pi3, Apache2, php, mysql server. Database o.k. Several attempts to set up. Directory set to 0777. The result is that nothing is displayed : http://86.49.119.112/template/
Server definitely works : http://86.49.119.112/weewx/
What I set wrong?
Title: Re: Meteotemplate - new free website template
Post by: slayer91 on February 07, 2017, 04:57:32 PM
Hi,
Silly error, I had forgotten my main admin password to the site, do I have delete all files and reload everything again?
Regs

Liam K

http://www.quinweather.com/meteo/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 07, 2017, 05:30:03 PM
No, look inside config.php in your template root folder
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 07, 2017, 05:32:00 PM
I have problem. Raspberry Pi3, Apache2, php, mysql server. Database o.k. Several attempts to set up. Directory set to 0777. The result is that nothing is displayed : http://86.49.119.112/template/
Server definitely works : http://86.49.119.112/weewx/
What I set wrong?

Hi,
most likely incorrect paths in Main settings, you have duplicate "template". Your path is "/template/", but your main url should be just "http://86.49.119.112" you probably have the "template" folder in the pageURL too.

The path to the folder must be: pageURL+path so if you put "template" to both, you will end up with ..../template/template/... and that is what is happening on your page now. Delete "template" from pageURL in main settings.

Title: Re: Meteotemplate - new free website template
Post by: slayer91 on February 07, 2017, 05:34:35 PM
Thank you very much.  :lol: :lol: :lol:
Title: Meteotemplate - New Block - Canada - Air Quality
Post by: Jáchym on February 07, 2017, 05:44:40 PM
New Block - Canada - Air Quality

Hi guys,

I created a new block for displaying air quality in major Canadian cities. In the block settings you can specify the default city as well as the block layout.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=airQualityCA

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 07, 2017, 07:19:47 PM
I think I am all up to date for blocks and plugins.   www.komokaweather.com/j-template

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 07, 2017, 07:22:09 PM
:) Nice, I will look tomorrow Paul, Im at home right now :D
Title: Re: Meteotemplate - new free website template
Post by: sachlj on February 08, 2017, 01:43:37 AM
Díky Jáchyme, to bude určitě ono. Opravím to doma. Za češtinu se nestydím, 4 století útlaku a 100 let bojů za její prosazení a reinkarnaci.
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on February 08, 2017, 07:30:33 AM
Hello Jachym,

It appears the warningsUSRegions block has stopped working. The forecast discussion block has the warnings and I checked the warningsUSRegions cache and it is empty.

Jack
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 08, 2017, 09:18:06 AM
Everything from NWS stopped working, plugins and blocks
Title: Meteotemplate - Plugin Update - NWS Warnings 2.1
Post by: Jáchym on February 08, 2017, 10:36:08 AM
Plugin Update - NWS Warnings 2.1

Hi guys,

changes in the scripts due to changed protocol used by NWS. Previous versions no longer work.

Also clear your cache, otherwise you will have to wait until the cache expires for the plugin to work again.

DEMO: http://www.meteotemplate.com/template/plugins/nwsWarnings/index.php

Enjoy
Title: Meteotemplate - Block Updates - Warnings U.S 1.2 and Warnings U.S Regional 4.1
Post by: Jáchym on February 08, 2017, 10:51:35 AM
Block Updates - Warnings U.S 1.2 and Warnings U.S Regional 4.1

Hi guys,

updated script working with the new NWS data source.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on February 08, 2017, 10:59:19 AM
Thanks for the quick fix, back in business!
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 08, 2017, 12:47:48 PM
Jachym,
I think the nwsWarning plugin v2.1 needs to be updated too. Mine is showing no warnings for Connecticut.
Tom

EDIT: 
It's working now. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 08, 2017, 01:10:39 PM
It is updated, but you need to empty the cache, the update only contains this fix, that was the reason for the update
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on February 08, 2017, 01:11:04 PM
Jachym,
I think the nwsWarning plugin v2.1 needs to be updated too. Mine is showing no warnings for Connecticut.
Tom

Try clearing your cache, mine is working ok.

Jack
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 08, 2017, 06:13:15 PM
Hey everyone.  It looks like the NOAA feed from underground audio is no longer working either.  Their website is completely down/gone...
Title: Meteotemplate - New Block - Current Conditions - Czech Republic
Post by: Jáchym on February 09, 2017, 08:12:32 AM
New Block - Current Conditions - Czech Republic

Hi guys,

you will all surely be exicted about this new block i created, which shows current conditions in major Czech cities!

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentCZ

Enjoy
Title: Meteotemplate - Block Update - Canada - Air Quality 2.0
Post by: Jáchym on February 09, 2017, 08:38:53 AM
Block Update - Canada - Air Quality 2.0

Hi guys,

I added a table with descriptions for the particular index values. Works both in English and French, depending on currently set language.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=airQualityCA

Enjoy
Title: Meteotemplate - New Block - Avalanches - Tirol Alps
Post by: Jáchym on February 09, 2017, 11:39:08 AM
New Block - Avalanches - Tirol Alps

Hi guys, new block for avalanche warnings from Tirol Alps.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=avalanchesTirol

Enjoy
Title: Meteotemplate - Newsletter - Feb 9, 2017
Post by: Jáchym on February 09, 2017, 11:39:55 AM
Newsletter - Feb 9, 2017

Hi guys,

in this issue you will as always find information about what has been
added/updated since the last issue as well as a few points I wanted to
mention.

http://meteotemplate.com/blog/?p=1803
Title: Re: Meteotemplate - New Block - Avalanches - Tirol Alps
Post by: i_fiorentino on February 09, 2017, 05:03:08 PM
New Block - Avalanches - Tirol Alps

Hi guys, new block for avalanche warnings from Tirol Alps.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=avalanchesTirol

Enjoy

Hi Jachym,
very insteresting.
Is there something for Italy?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 09, 2017, 05:39:40 PM
Hi Alessandro,
I dont know :D You have to tell me if there is something like this for Italy :D
Title: Meteotemplate - Plugin Update - Climate U.S. 3.1
Post by: Jáchym on February 09, 2017, 06:30:22 PM
Plugin Update - Climate U.S. 3.1

Hi guys,
fixes due to changes in data source, this should fix the rankings.

Enjoy
Title: Meteotemplate - New Plugin - Volcanoes
Post by: Jáchym on February 10, 2017, 08:22:15 AM
New Plugin - Volcanoes

Hi guys,

this new plugin shows an interactive map of volcanoes all around the world. You can select which ones you want to view based on their activity (extinct, erupting, etc.). Clicking on a particular volcano will then give you information about its name, location and activity.

More info in the blog.

DEMO: http://www.meteotemplate.com/template/plugins/volcanoes/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 10, 2017, 09:57:39 AM
Very nice.   I guess our nearby Boler Mountain is no danger for us?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 10, 2017, 09:58:35 AM
LOL, not a single one in CZ, not even extinct :D
Title: Meteotemplate - Block Updates
Post by: Jáchym on February 10, 2017, 01:41:23 PM
Block Update - Station Data 4.1
- language improvements

Block Update - Australia - Current Conditions
- CSS tweaks
- added color-coding
DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentAustralia

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 10, 2017, 05:42:44 PM
I guess nobody else realized the audio player is no longer working from wunderground?  The site looks like it has been discontinued...  Time to remove that block it seems.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 10, 2017, 06:13:41 PM
Yes, delete it, its not working
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 10, 2017, 07:20:49 PM
Any ideas for an alternative?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 10, 2017, 08:28:31 PM
Any ideas for an alternative?

Not sure.  Was going to scout it out and see what I can find this weekend 😁
Title: Meteotemplate - Block Update - Riset 5.0
Post by: Jáchym on February 11, 2017, 10:58:34 AM
Block Update - Riset 5.0

Hi guys,

I updated the rise/set block:

New:
- summary table with info about longest day length, shortest day length, equinox and corresponding differences from today
- added visualization of station latitude relative to the Earth
- changed night icon (better reflects "night", Moon could be misleading)
- fixed CSS for light theme
- bug fix - now displays everything correctly regardless of the hemisphere

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=riset

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 11, 2017, 11:54:34 AM
I wonder if this can somehow be used?

http://broadcast-weather.net/noaa.html
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 11, 2017, 02:27:17 PM
Thanks for the link Jeff, will have a look
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 11, 2017, 02:29:35 PM
OK, probably unusable... the problem is that this page does not really provide anything, they do pretty much the exact same thing I did - use the streams provided by WU and make it playable by their widget.

So if you try any of their streams, it does not work. It is using the exact same source I used, which is no longer available.
Title: Meteotemplate - Plugin Update - Annual Averages 5.0
Post by: Jáchym on February 12, 2017, 07:55:06 AM
Plugin Update - Annual Averages 5.0

Hi guys,

I added a brand new page to the Annual Averages plugin called “summary table”. It is a slightly new way of displaying your station data and allows you to view aggregated min/max/avg at a glance.

DEMO: http://www.meteotemplate.com/template/plugins/yearNormals/summaryTable.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2017, 12:24:49 PM
You didnt go through the setup for that plugin,
just note that you are posting a link to a different plugin than I just updated
Title: Re: Meteotemplate - new free website template
Post by: buckizard on February 12, 2017, 12:30:15 PM
Really going to take some time soon to dive in to Meteotemplate.  Wow, these plug-ins, updates, and sites look great!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 12, 2017, 12:36:26 PM
You didnt go through the setup for that plugin,
just note that you are posting a link to a different plugin than I just updated

Yeah - figured that out and removed my post... LOL
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 12, 2017, 01:54:05 PM
Jachym:

I know we've discussed this before..but I'd really like to figure out a way to display the entire warning on the warningsUSRegions block and the nwsWarning plugin.

We are currently under a blizzard warning but both the block and plugin only display this much of it:

Code: [Select]
Major winter storm to impact the region tonight through Monday night
.Strong low pressure will develop in the Gulf of Maine tonight and move south of Nova Scotia Monday night. Heavy snowfall is expected along with strong winds. The combination of heavy snow and strong wind will produce blizzard conditions at times
especially late

If we go here: https://alerts.weather.gov/cap/wwacapget.php?x=ME12583E54C4C0.BlizzardWarning.12583E724C20ME.CARWSWCAR.5cc92d225e6239102d2ab9c62ca26356 (https://alerts.weather.gov/cap/wwacapget.php?x=ME12583E54C4C0.BlizzardWarning.12583E724C20ME.CARWSWCAR.5cc92d225e6239102d2ab9c62ca26356)

we see the following:

Code: [Select]
...Major winter storm to impact the region tonight through Monday
night...
 
.Strong low pressure will develop in the Gulf of Maine tonight and move
south of Nova Scotia Monday night. Heavy snowfall is expected
along with strong winds. The combination of heavy snow and strong
wind will produce blizzard conditions at times... especially late
tonight through Monday night in the Bangor and Downeast region.
 
...BLIZZARD WARNING REMAINS IN EFFECT FROM 7 PM THIS EVENING TO
5 AM EST TUESDAY...
 
* LOCATIONS...The Bangor region and Downeast.
 
* HAZARD TYPES...Heavy snow along with significant blowing and
drifting snow.
 
* SNOW ACCUMULATIONS...18 to 24 inches.
 
* TIMING...Tonight through Monday night. The worst conditions are
expected after midnight tonight through the day on Monday.
 
* IMPACTS... Strong winds will lead to blowing snow with whiteout
conditions. Extremely hazardous travel can be expected later
tonight through Monday. Drifting of snow could easily exceed 5
feet. Power outages are expected with the strong winds.
 
* WINDS...Northeast 30 to 40 mph. Gusts up to 50 mph across
interior areas with 60 mph along the coast.
 
* VISIBILITIES...one quarter mile or less at times.
 
* TEMPERATURES...In the 20s.

We're going to get buried!!

I've looked at the script but I don't see why it is truncating the warnings.

Help?  :grin:

--Kurt

http://www.kpw3.com/meteo (http://www.kpw3.com/meteo)
Title: Re: Meteotemplate - new free website template
Post by: tstorm on February 12, 2017, 04:09:23 PM
I've incorporate as best as possible the Atom Alert program which is used by Saratoga and Leuven Templates.  I really like the display of the alerts.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 12, 2017, 04:11:51 PM
@tstorm:

Do you mean you've incorporated Ken's code into your meteotemplate site?

--K
Title: Re: Meteotemplate - new free website template
Post by: tstorm on February 12, 2017, 04:14:47 PM
Yes I incorporated the code of Curly's which is in Ken's template.  Take a look at my home page.  Currently I have High wind warning and high wind advisory. 
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 12, 2017, 04:21:21 PM
I just took a look.  Nice job. 

Since I also run a Saratoga site I'd kind of like to keep the meteotemplate "look" to that portion of my site to keep it consistent, though. 

Much prefer your Intellicast map to the rather dreadful NWS map, too.  Think I'm going to make a similar change as I've done here:

http://www.kpw3.com/meteo/plugins/usRadar/radar.php (http://www.kpw3.com/meteo/plugins/usRadar/radar.php)

Thanks,

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2017, 05:21:40 PM
The block/plugin uses the RSS feed, which only has the main description, the link you posted is dynamic and unique for each new warning so it cannot be hard-coded in the script. I would need to know what data source you use for this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2017, 05:25:51 PM
I just took a look.  Nice job. 

Since I also run a Saratoga site I'd kind of like to keep the meteotemplate "look" to that portion of my site to keep it consistent, though. 

Much prefer your Intellicast map to the rather dreadful NWS map, too.  Think I'm going to make a similar change as I've done here:

http://www.kpw3.com/meteo/plugins/usRadar/radar.php (http://www.kpw3.com/meteo/plugins/usRadar/radar.php)

Thanks,

--K

There is a very good reason I used the ugly looking NWS over the Intellicast.... copyright, it is explicitly stated in Intellicast T&C you are not allowed to redistribute or use this in any way. NWS images are the only data source where this is possible.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2017, 05:35:30 PM
If you give me the link Ken's script uses for the warnings I can have a look at it

Regarding Intellicast:

Quote
You may not modify, publish, transmit, display, participate in the transfer or sale, create derivative works, or in any way exploit, any of the content, in whole or in part.

So Im afraid station "Data source: Intellicast" wont do
Title: Re: Meteotemplate - new free website template
Post by: tstorm on February 12, 2017, 06:19:32 PM
A link to the NWS Alerts program can be found on the authors web page at: http://www.weather.ricksturf.com/wxScripts.php.

 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 12, 2017, 08:28:32 PM
Thanks I will see what I can do.

Its a bit too late now :D And this obviously will take some time, but i put it on my to-do list.
Title: Meteotemplate - Plugin Update - Annual Averages 6.0
Post by: Jáchym on February 13, 2017, 06:43:34 AM
Plugin Update - Annual Averages 6.0

Hi guys,

based on your feedback I decided to slightly re-organize the newly added summary table. The table is now split into two tables - "average" and "min/max". This means the font is bigger and easier to read, I also put side by side avg, max and min which makes it easier to compare the numbers and I added color-coding to the summary footer rows. There is also one bug fix which caused dew point stats not working.

DEMO: http://www.meteotemplate.com/template/plugins/yearNormals/summaryTable.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2017, 08:52:25 AM
OK I see why it is doing that. It is not truncating anything, but the XML feed only includes summary of the warning. So I need to get the full page to load the full warning.

I looked at the script you are using, but it would be way too complicated and probably take me much more time to convert to MT syntax/design, it is built for Saratoga. So I will try creating my own script to do this.
Title: Meteotemplate - Block Update - Warnings U.S. Regional 5.0
Post by: Jáchym on February 13, 2017, 09:57:48 AM
Block Update - Warnings U.S. Regional 5.0

Hi guys,

I updated the block, which now shows full description of each warning, including instructions.

After you update the block make sure you also empty the cache folder so that updated data is reloaded.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2017, 01:43:01 PM
Just please let me know if the update solved the problem, I used my own script, so Im not 100% sure this is what you meant.
Title: Meteotemplate - Blocks Deprecated - NOAA Radio & EU Radar
Post by: Jáchym on February 13, 2017, 03:04:44 PM
Hi guys,

because the data source is no longer available the EU Radar and NOAA radio blocks are no longer available and you should delete them from your homepage because they no longer work.
Title: Re: Meteotemplate - Blocks Deprecated - NOAA Radio & EU Radar
Post by: BfdWx on February 13, 2017, 03:41:23 PM
Hi guys,

because the data source is no longer available the EU Radar and NOAA radio blocks are no longer available and you should delete them from your homepage because they no longer work.

It seems the NWS is having some major issues today!

https://www.washingtonpost.com/news/capital-weather-gang/wp/2017/02/13/weather-service-suffers-catastrophic-outage-website-stops-sending-forecasts-warnings/?utm_term=.83facf3a8cd5
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2017, 03:45:55 PM
The block doesnt work? :D It worked when I released it :D
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 13, 2017, 04:28:15 PM
Just please let me know if the update solved the problem, I used my own script, so Im not 100% sure this is what you meant.

Working!  And just in time for the blizzard.  :grin:

Two FEET of new snow today in the Bangor, Maine region and in my yard.

Thanks, Jachym.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 13, 2017, 04:40:53 PM
 8-)
Title: Meteotemplate - Plugin Update - Annual Averages 7.0
Post by: Jáchym on February 14, 2017, 11:39:45 AM
Plugin Update - Annual Averages 7.0

Hi guys,

few days ago I was wondering about how often it is freezing here so I created a new page called simply "frost analysis" and added it to the Annual Averages plugin.

Frost analysis page:

- detailed tables of days with T< 0°C/32°F (average, minimum, maximum T)
- break down by seasons
- interactive graphs
- break down by years (for N hemisphere also by winters - not for S hemisphere as it is obviously equal to break down by years)
- list of periods with continuous freezing, sorted from longest to shortest
- graphical representation of frost periods
- first/last frost dates for each yr in the db

NOTE: The index page of this plugin will hide the link to this page if no freezing temperatures at all are detected in your database (the page would just show zeros for everything so it would be useless)

In addition I fixed a minor issue with decimal places.

DEMO: http://www.meteotemplate.com/template/plugins/yearNormals/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2017, 04:51:52 PM
Hi guys,

my website is currently down. My PC is becoming totally unusable, it freezes every hour and has to be rebooted. About 2 hours ago I just wanted to update the translations and unfortunately my laptop again froze, but during the worst possible moment - while the files were being updated/uploaded. This means the files are incomplete and the whole page crashes when trying to access it (blog and demo work because they are on a separate subdomain). Im desperately trying to bring it back to normal, but it takes ages just to open the page or trying to upload something so in the worst case it will have to wait until tomorrow and I will fix it during my lunch break at work.

Sorry for the inconvenience caused
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 14, 2017, 05:05:33 PM
Ok sister's laptop saved me, back in business, again sorry if you were unable to access the site, everything should be ok now.
Title: Re: Meteotemplate - Plugin Update - Annual Averages 7.0
Post by: Colin on February 14, 2017, 09:06:37 PM
I am not entirely sure it should be called 'Frost Analysis'. I reckon 'Bloody Cold Analysis' would be more appropriate. Probably all weather stations are mounted about 2 metres from the ground and if you made measurements every 100mm downward you may find the temperature falls the lower you get, and temperature on the ground can be below zero while the temperature at station level is above 32F. That is why sometimes frost only forms on the ground or very close to it. Yes, 'Bloody Cold' is better.

Plugin Update - Annual Averages 7.0

Hi guys,

few days ago I was wondering about how often it is freezing here so I created a new page called simply "frost analysis" and added it to the Annual Averages plugin.

Frost analysis page:

- detailed tables of days with T< 0°C/32°F (average, minimum, maximum T)
- break down by seasons
- interactive graphs
- break down by years (for N hemisphere also by winters - not for S hemisphere as it is obviously equal to break down by years)
- list of periods with continuous freezing, sorted from longest to shortest
- graphical representation of frost periods
- first/last frost dates for each yr in the db

NOTE: The index page of this plugin will hide the link to this page if no freezing temperatures at all are detected in your database (the page would just show zeros for everything so it would be useless)

In addition I fixed a minor issue with decimal places.

DEMO: http://www.meteotemplate.com/template/plugins/yearNormals/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 14, 2017, 10:25:09 PM
My longest continuous freezing period was 23d 15h 10m starting Feb 8, 2015
The next longest was 17d in February 2014
This winter so far 8d and likely won't get any longer period

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 15, 2017, 09:11:14 AM
My longest continuous freezing period was 23d 15h 10m starting Feb 8, 2015
The next longest was 17d in February 2014
This winter so far 8d and likely won't get any longer period

Enjoy,
Paul
Hah!

2 m 18 d 4 h 35 min in 2010/2011

Next is
 2 m 17 d 21 h 30 min in 2013

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 15, 2017, 10:27:22 AM
OK, sorry for the page being down last few hours/days, it should finally be all ok now. I managed to repair the corrupted files but I had to wait for lunch break as I obviously cannot do this during my normal working hours.

http://www.meteotemplate.com/web/index.php
Title: Meteotemplate - New Plugin - History of Meteorology
Post by: Jáchym on February 15, 2017, 01:27:58 PM
New Plugin - History of Meteorology

Hi guys,

website is hopefully up and running fine again and I just released a new plugin - History of Meteorology.

One of you asked if I could create something summarizing the history of meteorology so this plugin shows a timeline of milestones in this field.

Please make sure you remember to update your menu.php if you want to use the short syntax in the menu!

DEMO: http://www.meteotemplate.com/template/plugins/meteoHistory/index.php

Enjoy
Title: Meteotemplate - Block Update - Warnings U.S. Regional 6.0
Post by: Jáchym on February 15, 2017, 07:11:58 PM
Block Update - Warnings U.S. Regional 6.0

Hi guys,

I decided to redesign this block and add some features, it was one of the blocks I created quite long time ago and I think it could look a bit better.

New:
- block redesign and optimization
- possibility to set text for when there are or are not warnings issued
- warning text optimization
- possibility to enable/disable warnings icon
- bug fix - warning colors now show correctly depending on severity

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUSRegions

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2017, 08:20:54 AM
Hi guys,

I was told that the gauges block does not work in Safari.

I have an older version of Safari at work on my Win7 PC, unfortunately Apple stopped developing this Win Safari version so the newest I was able to find is 5.

The gauges work perfectly fine in this browser, just like they work fine in Chrome, FF, Opera, Maxthon, Vivaldi.... all browsers I tried...

So my question is, can someone look from an Apple PC/mobile device using the most recent Safari and let me know if the gauges work? because I want to see if this is a problem of this particular person or a general issue
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 16, 2017, 08:36:22 AM
Jachym,
Tried the gauge block on my iPhone and the block is blank.
Tom
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 16, 2017, 08:42:53 AM
So my question is, can someone look from an Apple PC/mobile device using the most recent Safari and let me know if the gauges work? because I want to see if this is a problem of this particular person or a general issue

It's a general issue.  The latest version of Safari on my Macbook shows a black box in the center of the page when viewing either the narrow or wide block demos on the MT web site.  The block *does* have a + magnifier at the top left corner and a - magnifier at the top right corner if that helps -- although neither appear to be functional.  Is zooming out from nothing the ultimate divide-by-zero error?????  :-P
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2017, 08:46:42 AM
Hmmm... ok, not much i can do if I cannot replicate the issue in any browser or any PC I tried, other than offer an alternative...
Title: Meteotemplate - New Block - Steel Series Gauges
Post by: Jáchym on February 16, 2017, 08:56:32 AM
New Block - Steel Series Gauges

Hi guys,

because the Gauges block seems to be problematic on Apple devices and because so many of you asked for this, I tried adapting the SteelSeries plugin to a block format by optimizing it and making it more lightweight so that it loads relatively fine even as a block.

To make it even easier for you, this block will automatically load all your settings you used for the plugin, so you do not have to set up anything and it will support all the features of the SteelSeries plugin (localization, design options, other customizations, tooltips etc.). There is just no summary and links to graphs as this can be achieved by other blocks.

The only thing you have to set again is the gauge size. The block is fully responsive but you might want to make the gauge slightly smaller than in the plugin so that it looks good as a block.

Also - you have probably already deduced that this block is dependent on the SteelSeries plugin so you HAVE TO have this plugin installed. If you only wish to use this block and not the plugin then you still have to install and set up the plugin, but you can remove link from the menu.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=ssGauges

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on February 16, 2017, 11:22:23 AM
Superb job on the ssguages, gives the main page a nice polished look, excellent  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2017, 11:33:34 AM
Thanks Stewart
Title: Meteotemplate - Block Update - Warnings Australia 2.0
Post by: Jáchym on February 16, 2017, 12:02:50 PM
Block Update - Warnings Australia 2.0

Hi guys,

I updated the Australian warnings block.

I found a major bug in this block and it is surprising that even after a year since I released this no-one noticed the caching was incorrectly handled and the block showed "no warnings" all the time...

Anyway, this bug is now fixed and in addition I redesigned the block and also added detailed view of each warning, just click the warning and you will see all the details about it.

Make sure you empty the cache folder, it is not compatible with the v1.1 cache file.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsAU

Enjoy!
Title: Meteotemplate - Block Update - Warnings Canada 3.0
Post by: Jáchym on February 16, 2017, 02:36:02 PM
Block Update - Warnings Canada 3.0

Hi guys,

I redesigned the Canadian Warnings block to make it look a bit better and I also added support for French - automatically selected if your template language is set to French.

If updating make sure you empty the cache first and go through the setup for this block.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsCA

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 16, 2017, 06:39:59 PM
I don't know if anyone has reported this yet, but there's a minor typo in the desktop footer.php file, line 211:

Code: [Select]
                $("#mobileLink").click(function(){
                        window.location = "<?php echo $pageURL.$path?>/indexMobile.php";
                });

The "/" in the constructed URL is not required, and causes a double // in the URL if someone clicks on the footer's mobile site link.

Not fatal, but annoying to me.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 16, 2017, 06:41:27 PM
You are right, though browsers ignore multiple slashes, so this should not be an issue in terms of functionality, I will fix it in v12, but no need for any immediate action
Title: Meteotemplate - Block Update - Avalanches - Tirol Alps 2.0
Post by: Jáchym on February 17, 2017, 07:29:40 AM
Block Update - Avalanches - Tirol Alps 2.0

Hi guys,
added support for showing morning/afternoon images.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=avalanchesTirol

Enjoy
Title: Meteotemplate - Plugin Update - Pressure (Synoptic) Maps U.K. 2.0
Post by: Jáchym on February 17, 2017, 07:30:38 AM
Plugin Update - Pressure Maps U.K. 2.0

Hi guys,
some design improvements and minor bug fixes.

DEMO: http://www.meteotemplate.com/template/plugins/pressureMapUK/index.php

Enjoy
Title: Meteotemplate - New Block - New Zealand - Forecast
Post by: Jáchym on February 17, 2017, 10:03:40 AM
New Block - New Zealand - Forecast

Hi guys,

new block for showing forecast for cities around New Zealand. In the block setup you can choose your default city, which will show automatically at the top.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=forecastNZ

Enjoy
Title: Meteotemplate - New Block - New Zealand - Radar
Post by: Jáchym on February 17, 2017, 07:05:15 PM
New Block - New Zealand - Radar

Hi guys,

new block showing animated 24h radar images for New Zealand.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarNZ

Enjoy
Title: Meteotemplate - New Block - France - Current Conditions
Post by: Jáchym on February 18, 2017, 08:52:41 AM
New Block - France - Current Conditions

Hi guys,

new block for current conditions in cities in France with country average at the top.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentFR

Enjoy
Title: Meteotemplate - Block Update - Steel Series Gauges 2.0
Post by: Jáchym on February 18, 2017, 03:23:16 PM
Block Update - Steel Series Gauges 2.0

Hi guys,

based on your feedback and spending some more time with it I added a few new features:

- possibility to set gauge type and order regardless of plugin setting
- time of last update at the top
- improved way for switching from dew point to feels like to work nicely on mobile devices

If updating, make sure you go through the setup for this block again.

Enjoy
Title: Re: Meteotemplate - New Block - Steel Series Gauges
Post by: droiddk on February 18, 2017, 03:31:15 PM
New Block - Steel Series Gauges

Hi guys,

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=ssGauges

Enjoy

Bug? Icons (feels like & dew point) are not changing colour when selected, only when hovering.

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2017, 03:36:22 PM
No, its not a bug, you know what you clicked and the selected parameter shows when you hover over the gauge
Title: Re: Meteotemplate - new free website template
Post by: droiddk on February 18, 2017, 03:38:57 PM
No, its not a bug, you know what you clicked and the selected parameter shows when you hover over the gauge

Ok, then also no need for the colour change when hovering...? you can see when the mouse is over  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 18, 2017, 03:42:48 PM
The hovering effect is used throughout the template to show something can be "clicked" and triggers some effect.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on February 18, 2017, 03:45:36 PM
I know.

I was just comparing it with the interactive graphs parameters buttons, they have hover effects and change colour when selected, even when its written on the chart which parameter is selected. I like when it shows that the button is selected.



Title: Re: Meteotemplate - new free website template
Post by: stewart45 on February 19, 2017, 05:07:06 AM
Not sure if this has been looked into, The possibility to upload a weather report to Facebook at a specific time, used to be able to do this via WDisplay when I was using it, I seem to think eventually Facebook made things difficult but it could be done by uploading to Twitter and then sharing the Twitter feed with Facebook, does this make any sense.
Title: Meteotemplate - Block Update – Radar EU 3.0
Post by: Jáchym on February 19, 2017, 09:04:09 AM
Block Update – Radar EU 3.0

Hi guys,

good news, the European radar is back. I used a different data source for the images, which works and is not copyrighted.

No need to setup. The only “issue” is that the left image might take a few seconds to load, which is due to the server speed of the data source and not much I can do.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarEU

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2017, 09:09:01 AM
Not sure if this has been looked into, The possibility to upload a weather report to Facebook at a specific time, used to be able to do this via WDisplay when I was using it, I seem to think eventually Facebook made things difficult but it could be done by uploading to Twitter and then sharing the Twitter feed with Facebook, does this make any sense.

Facebook API is a nightmare and I spent hours with it. They severely restricted what and how you can do things and you have to use the OAuth2 protocol, which on its own is not at all easy to use. The main problem is also the fact that a lot would have to be done by you - i.e. you would have to create the developer´s account, then generate the tokens, which btw. have to be renewed every 3 months to make them work...

Basically even if I managed to make this work (which I did not) then a lot would have to be done by you as a user directly in your FB account settings, they often change things, so making some tutorial wont really help.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 19, 2017, 09:50:56 AM
With an advance disclaimer that I know NOTHING about social media and refuse to even visit their web sites, can I ask a dumb question?  Can they display data from an RSS feed, and would that be a solution?  If so, the logical thing (at least to me) would be to add RSS format to the existing stationData plugin...if there isn't already another way for MT to generate RSS.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 19, 2017, 11:25:26 AM
Hi Arthur,
no FB cannot read RSS, MT can post data to Twitter, so theoretically some ITTT trigger to re-post Twitter stuff to FB would probably work, but this obviously is not something I can set in MT.

Check the stationFeed plugin, it generates JSON and XML output of your station data :-)

Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 19, 2017, 12:17:49 PM
Check the stationFeed plugin, it generates JSON and XML output of your station data :-)

Oops!  I got the plugin name wrong!!!!!  #-o :-P  :lol:
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 19, 2017, 04:33:41 PM
Hi Arthur,
no FB cannot read RSS, MT can post data to Twitter, so theoretically some ITTT trigger to re-post Twitter stuff to FB would probably work, but this obviously is not something I can set in MT.

Check the stationFeed plugin, it generates JSON and XML output of your station data :-)

I'm using IFTTT to post a forecast and warnings to my FB Weather Page.  Check out @linyweather on FB to see what it looks like.
Title: Meteotemplate - New Block – METAR – Custom
Post by: Jáchym on February 20, 2017, 08:42:12 AM
New Block – METAR – Custom

Hi guys,

in this block you provide a valid METAR code and the block will show you the most recent data from this airport, both in decoded and the original raw format.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=metarCustom

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2017, 10:26:27 AM
Hi Arthur,
no FB cannot read RSS, MT can post data to Twitter, so theoretically some ITTT trigger to re-post Twitter stuff to FB would probably work, but this obviously is not something I can set in MT.

Check the stationFeed plugin, it generates JSON and XML output of your station data :-)

I'm using IFTTT to post a forecast and warnings to my FB Weather Page.  Check out @linyweather on FB to see what it looks like.

Thanks for confirming this Jeff, this is definitely a much easier solution for both you as a user and me. Working with FB API is simply a nightmare and they are making it more and more difficult and changing very often.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 20, 2017, 10:53:02 AM
Quote
I'm using IFTTT to post a forecast and warnings to my FB Weather Page.  Check out @linyweather on FB to see what it looks like.
I know nothing about IFTTT :oops:   Can you point where to start or how you have done that?

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2017, 10:56:05 AM
Hi Paul,

ITTT is not really a particular service, rather a concept and it stands for

If This Then That

It is a service where you specify a trigger and the action that is to be taken when the trigger is activated.

In this case the trigger would be eg. new post to twitter and action re-post to Facebook

There are many mobile phone applications and even web services which can do this. You can either try finding one that can do this, or Im sure Jeff will tell you which one he uses.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 20, 2017, 11:14:26 AM
Actually I had seen the term ITTT mentioned in Bloomsky some time ago but had not pursued it any further at the time.  May need to look further or possibly Jeff has some suggestion.  My Facebook is pretty dull!

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2017, 11:18:23 AM
Jeff will get back to you, he just sent me PM on Facebook. I am visiting my dad this evening and wont be online this evening (only later at night) so I asked him to help you.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 20, 2017, 02:42:14 PM
Actually I had seen the term ITTT mentioned in Bloomsky some time ago but had not pursued it any further at the time.  May need to look further or possibly Jeff has some suggestion.  My Facebook is pretty dull!

Thanks,
Paul

Paul,

Go to https://ifttt.com/ and set up an account.  Look at the weather section and the section for social media.  Essentially what I have set up is at predetermined times, the WU forecast is sent to my twitter feed.  I then have my twitter feed automatically post on the FB page.  When it comes to warnings and such, I have it set up so that when the warning RSS feed has a warning or notification it posts on my FB wall, hence "if RSS feed then post to FB page".

Look at the site - if you have an iPhone you can just download the app which is what I did so I can manage it on the go.

Give that a start and I will see if I can get you my specific settings.

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2017, 04:32:55 PM
Ok I'm back,  thanks Jeff
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 20, 2017, 04:46:08 PM
Ok I'm back,  thanks Jeff

The one thing I love is the ability to have it monitor the warning rss and post.  It's great and there is so much potential and you can really do almost anything.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2017, 04:48:13 PM
Yes, again, thanks, I never used this myself and I visited my dad today after work so I didnt have time to look at it further.
Title: Meteotemplate - Block Update - Glossary 1.2
Post by: Jáchym on February 20, 2017, 06:21:11 PM
Block Update - Glossary 1.2

Hi guys,

just some CSS tweaks and translation improvements.

I just got home and I see some of you emailed me with some questions, I just want to assure you that I did get the email, but today is special for me and I was mostly offline so I was not able to deal with your emails yet, I will try what I can now and continue tomorrow when I get home from work.

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 20, 2017, 06:45:07 PM
Thanks Jeff and Jachym,
I had set up an account at IFTTT and tried it with Bloomsky but it got complicated so I deleted it to start all over and then spent most of the afternoon with my service provider to see how to better understand and use my Samsung S7 and my wife's iPhone.  I will get back at this later .

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 20, 2017, 06:51:14 PM
Hi Paul,
I will look into it myself tomorrow, I wanted to do it today because I think it would be nice to have at least some tutorial how to set this up in the wiki or the plugin documentation. Tomorrow things should be normal for me again so I will look at it after work and let you know.
Title: Meteotemplate - Block Update - Trivia 1.1
Post by: Jáchym on February 20, 2017, 07:51:48 PM
Block Update - Trivia 1.1

Hi guys,

based on your feedback I made some minor CSS adjustments of this block.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 20, 2017, 09:34:33 PM
No, its not a bug, you know what you clicked and the selected parameter shows when you hover over the gauge
Jachym:

Thanks for making the SteelSeries available as a plugin.

I find that both the plugin and the block both exhibit the same behavior seen in the graphic until you click either the "Dew point" or "Feels Like" icon:
 [ You are not allowed to view attachments ]

I think this cold be confusing to a viewer who doesn't know that they must click one or the other to receive an accurate value.

Would if be possible to add one or the other as a default initial value rather than returning "undefined?"

Thanks,

--Kurt

***UPDATE*** Further investigation shows that only Google Chrome browser behaves this way.  Firefox, Edge and Internet Explorer all go with the default in settings. Hmmmmm...

http://www.kpw3.com/meteo/indexDesktop.php (http://www.kpw3.com/meteo/indexDesktop.php)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 05:11:42 AM
Hi Kurt,
I use Chrome most of the time (except for testing) and the gauges work just fine.

I just went to your site in latest Chrome and everythings works fine. Feels like gauge loaded instantly just like the temperature one immediately after showing up. It must be something local, you could try clearing the cache, try CTRL+F5 on your homepage.

Can someone please confirm this too? Trying Chrome for the above link

Thanks
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 21, 2017, 08:47:15 AM
Jachym,
I am having an issue with my home page taking a long time to load.  Some of the blocks just keep spinning and never load.  Not sure what is happening.  Does this on multiple computers here.
Jay
http://www.jayswoodfurniture.com/meteo/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 08:51:01 AM
Hi Jay,
just looked at your site - everything, all blocks, loaded in less than 5s
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 21, 2017, 09:51:57 AM
Jay,
Yours loads excellent.  Your experience might have been a temporary internet glitch.

Paul
Title: Meteotemplate - Block Update - Rise/Set 6.0
Post by: Jáchym on February 21, 2017, 10:42:49 AM
Block Update - Rise/Set 6.0

Hi guys,

new features:
- day/night proportion pie chart
- day/night percentages
- new twilight pie chart

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=riset

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 21, 2017, 11:09:47 AM
Thanks Jachym and Paul,
I just can't seem to figure this out.  The page loads partially with some blocks not loading or loads all the way but the little circle on the tab keeps spinning like the page isn't completely loaded.  Or sometimes I can't get the page to load at all.  I have cleared cache tried it in firefox and on multiple computers here.  Same result.  Ideas?
Jay
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on February 21, 2017, 11:16:02 AM
Hi Kurt,
I use Chrome most of the time (except for testing) and the gauges work just fine.

I just went to your site in latest Chrome and everythings works fine. Feels like gauge loaded instantly just like the temperature one immediately after showing up. It must be something local, you could try clearing the cache, try CTRL+F5 on your homepage.

Can someone please confirm this too? Trying Chrome for the above link

Thanks

"you could try clearing the cache, try CTRL+F5 on your homepage..." 

Yeah all of that is what I call "checking the dumb stuff" which I always do before posting.  :grin: 

In any case it would not work correctly in Chrome last night no matter what--but this morning it does.  Go figure. :?

Thanks,

--K
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 11:29:39 AM
Thanks Jachym and Paul,
I just can't seem to figure this out.  The page loads partially with some blocks not loading or loads all the way but the little circle on the tab keeps spinning like the page isn't completely loaded.  Or sometimes I can't get the page to load at all.  I have cleared cache tried it in firefox and on multiple computers here.  Same result.  Ideas?
Jay

Jay, look in the browser console if you see any errors, but this looks most likely like a connectivity issue, it probably fails to load some scripts and so some blocks fail and some blocks are not loaded at all. Server seems to be working fine, I checked again, 4.2s to full load with all blocks, no errors in console.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 21, 2017, 11:43:58 AM
Jachym,
This is what I get in the console
Quote
VM1003:1Meteotemplate:  Loading Block Radar U.S. 6.1
VM1005:1Meteotemplate: Selected layout: horizontal
VM1006:1Meteotemplate: Selected region: epz
VM1007:1Meteotemplate: Selected national order: right
VM1008:1Meteotemplate: Block loaded in 0.0091 s.
jquery.min.js:4Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
ajax @ jquery.min.js:4
m._evalUrl @ jquery.min.js:4
domManip @ jquery.min.js:3
append @ jquery.min.js:3
(anonymous) @ jquery.min.js:3
m.access @ jquery.min.js:3
html @ jquery.min.js:3
(anonymous) @ jquery.min.js:4
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
b @ jquery.min.js:4
VM1033:1Meteotemplate:  Loading Block Summary 5.2
VM1034:1Meteotemplate: Yr.no location for forecast: United_States/New_Mexico/Las_Cruces/
VM1035:1Meteotemplate: Loading station data.
2VM1036:1Meteotemplate: Loading yesterday's data from cache file.
VM1038:1Meteotemplate: Cache file for tomorrow outdated, deleting...
VM1039:1Meteotemplate: Saving cache file for tomorrow's data.
VM1040:1Meteotemplate: Cache file for the week outdated, deleting...
VM1041:1Meteotemplate: Saving cache file for week's data.
VM1042:1Meteotemplate: Deleting outdated cache file cache/20170221.txt
VM1043:1Meteotemplate: Creating cache file cache/20170221.txt
VM1044:1Meteotemplate: Block loaded in 0.4878 s.
VM1472:1 Meteotemplate:  Loading Block Station Data 4.1
VM1473:1 Meteotemplate: Block loaded in 0.0071 s.
VM983:2 GET http://www.jayswoodfurniture.com/meteo/homepage/blocks/wind/windBlock.php net::ERR_CONNECTION_RESET
(anonymous) @ VM983:2
send @ jquery.min.js:4
ajax @ jquery.min.js:4
m.fn.load @ jquery.min.js:4
(anonymous) @ indexDesktop.php:2143
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
J @ jquery.min.js:2
VM983:2 GET http://www.jayswoodfurniture.com/meteo/homepage/blocks/current/updater.php?…th=http%3A%2F%2Fjayswoodfurniture.com%2Fcumulus%2Frealtime.txt&interval=30 net::ERR_CONNECTION_RESET
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 11:46:29 AM
It must be a connectivity problem, rather than trying a different PC I would try connecting from a different network, eg. try from work, or via mobile connection etc. Not using the same router/modem.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 21, 2017, 12:06:13 PM
Thanks for the idea Jachym.  I reset my router and all is well.  Not sure what happened to the router connection to this template.  All other web pages worked fine, on my server and the outside world.
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 12:16:49 PM
Strange things happen sometimes :) Glad it is ok now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 12:17:23 PM
Thanks for the idea Jachym.  I reset my router and all is well.  Not sure what happened to the router connection to this template.  All other web pages worked fine, on my server and the outside world.
Jay

OT: your signature image is not working
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 21, 2017, 12:27:00 PM
Quote
OT: your signature image is not working
Yep, need to change to a meteotemplate banner.  Need to figure it out.
Thanks,
Jay
Title: Meteotemplate - Block Update – METAR Custom 1.1
Post by: Jáchym on February 21, 2017, 12:32:33 PM
Block Update – METAR Custom 1.1

Hi guys,

because I have practically no possibility to test on a smartphone or tablet I did not realize that this block did not display well on small screens. This update should fix this. I changed the way the data is loaded.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=metarCustom

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 01:30:18 PM
Hi guys,

just as I was uploading the recent block update my laptop froze again just in the middle of the update process and some core files on my website were corrupted. Rebooting and restarting everything always takes about 20 minutes so during that time the website was totally down again (except demo and blog, which are on a separate subdomain).

It looks like this is going to be happening more often so in case you see the “Page not Found” or “Server overloaded” errors, just please bear with me and check back later. I am usually aware of this (though you can email me just in case) and when you see it, Im most likely already desperately trying to fix it, but as I said, the rebooting process and everything takes time and i cannot speed it up.

Thanks for your patience
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 21, 2017, 01:56:26 PM
Jachym,
I know you are right in the middle of a laptop issue, but when you get a chance can you tell me how to shrink the banner like yours is.
Thanks,
Jay

Well, took me about an hour but I figured it out on my own.
Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 02:59:32 PM
I see you found how to do it, it is in the BB code in the signature specification
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 03:23:54 PM
Trying to download riset, stationData, warningsUSRegions and get a 404 File Not Found On This Server Error for all three blocks.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 03:32:37 PM
Yes I know, its all down again, the download folder is corrupted, one of you asked me for a new feature in a block and I tried to update this block. Im unable to start Filezilla now, dont know why, it just keeps on crashing.
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 03:34:19 PM
OK.  Hope it is easy to fix. A problem with your internet hosting service?

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 03:49:33 PM
No, internet is working perfectly....

PM
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 03:56:18 PM
Finally... working again... sorry. Next time I will try to do the updates in batches so there is lower risk of this happening.
Title: Meteotemplate - Block Update - Rain 4.0
Post by: Jáchym on February 21, 2017, 05:39:38 PM
Block Update - Rain 4.0

Hi guys,

one of you asked me if I could add a more detailed table for the precipitation summary block. So in this new version there is now a table of values, where you also have last 7 days and yesterday's precipitation and rain rate included.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=rain

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 05:53:23 PM
When does the program update the data in the rain block?  My station data is showing .28 inch.  The rain block shows 0 for today.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 06:29:47 PM
Hmmm it should match, let me check that
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 06:33:17 PM
OK try now, I updated the file
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 06:41:07 PM
Thanks.  That seems to have fixed it.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 06:45:46 PM
Great :)
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 07:49:13 PM
Current conditions show the correct rain amount but does not show the rain rate.  It shows 0in/h. Steel gauges show the correct rate.  Also my current conditions often shows OFFLINE but then will show data especially if i refresh the browser.  IT just returned to an offline status as I was typing this.  I hit the refresh button and it came back.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 08:01:46 PM
Hi Tom,
is it raining now, is the rain rate currently not 0? It shows intantaneous rate from the last db update.

Gauges - this would suggest connectivity problems, it cannot load data from the ssMeteotemplate file. This really depends on what interval you set, if similar issue occurs in case of the current conditions block it would suggest that whatever text file you are using for the updates is often unavailable - possible if you set the interval of upate very short, FTP is not very reliable so it could be that the file takes a while to be uploaded.

If there was a problem with the script it would simply never work. It is either or.
Title: Meteotemplate - Block Update - Station Data 5.0
Post by: Jáchym on February 21, 2017, 08:03:36 PM
Block Update - Station Data 5.0

Hi guys,

based on your suggestions I added the possibility to show Beaufort scale for wind and gust. Make sure you update the settings file to enable this if you want to display it. I also posted some general info in the blog.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationData

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 08:04:12 PM
It is raining now.  Steel Gauges and the Rain Block show the correct rate.  The current block does not show a rate.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 08:21:38 PM
OK I see, I thought you are talking about the updated Rain block.

I will look at the current block tomorrow.
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 08:22:57 PM
Nope Rain Block works fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 08:34:33 PM
OK, one last question, which update type are you using for the Current block? (db, cumulus, WD etc.)?
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 08:36:09 PM
I am not sure if it is WD or Db.  How do I tell?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 08:42:04 PM
It is in the block settings, depends what you specified there
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 21, 2017, 08:44:34 PM
WD for the Current Block.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 21, 2017, 08:59:38 PM
Ok i will check it tomorrow

Thanks
Title: Meteotemplate - Block Update - Rise/Set 6.1
Post by: Jáchym on February 22, 2017, 07:58:35 AM
Block Update - Rise/Set 6.1

Hi guys,

based on the comments I made some further adjustments:

- the twilight pie chart is now rotated so that midnight is at the top
- added labels to pie chart
- added possibility to auto-open the block upon loading

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=riset

Enjoy
Title: Meteotemplate - Block Update - Current Map 2.0
Post by: Jáchym on February 22, 2017, 10:15:38 AM
Block Update - Current Map 2.0

Hi guys,

added possibility to set the default map zoom.

Enjoy
Title: Meteotemplate - Block Update - Forecast 4.0
Post by: Jáchym on February 22, 2017, 11:50:07 AM
Block Update - Forecast 4.0

Hi guys,

new forecast source available - MeteoBlue. No API key required, just set up in the updated block settings. Works for both dark and light theme, you can configure number of days to display and units are selected automatically based on template settings.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecast#/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2017, 12:48:00 PM
WD for the Current Block.

I just double checked the block again, strange thing is that it uses the exact same code snippet, the exact same one, so the only thing I can think of is that the value was just changing. The current block is updating independently from your clientraw, whereas the Rain block just loads data from the db and does not update unless you refresh the page.

So what could happen is this:

Rain rate was 0.0
DB was updated
You loaded the homepage, Rain block shows 0
DB is updated again, rain rate is no longer 0
Current block updates in real-time and refreshes the value to the new one
Rain block only updates upon refresh - value stays at 0
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 22, 2017, 12:52:49 PM
Maybe but we had a steady, but light rain rate of 0.04in/, rain for a long time so I would think that anytime I refreshed the page the value would more than 0 since it rained for a long.  The rain rate was not 0 for a long time.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2017, 01:23:08 PM
Oh, maybe one more thing I need to check... rounding...

Edit: no, that should actually be ok... 2 d.p.

Watch it and if it happens again let me know.
Title: Meteotemplate - Block Update - Current Conditions 8.0
Post by: Jáchym on February 22, 2017, 02:36:04 PM
Block Update - Current Conditions 8.0

Hi guys,

similar to the Station Data block I added option to show Beaufort speeds below the wind and gust. You can enable/disable these separately.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 22, 2017, 08:10:05 PM
Is anyone having an issue with the naSatellite block?  Mine is not displaying all of a sudden.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 22, 2017, 08:46:33 PM
Hi Jeff,
I just got an email from a user who needs urgent help with his site and I probably will go to bed after we fix it. I will look at the naSatellite block tomorrow ASAP, most likely during lunch break.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 22, 2017, 08:56:13 PM
Hi Jeff,
I just got an email from a user who needs urgent help with his site and I probably will go to bed after we fix it. I will look at the naSatellite block tomorrow ASAP, most likely during lunch break.

No rush Jachym.  Wanted to make sure it wasn't me.  Get some rest!
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 22, 2017, 10:20:37 PM
Quote
Is anyone having an issue with the naSatellite block?  Mine is not displaying all of a sudden.
Hi Jeff,
Mine seems to be ok www.komokaweather.com/j-template but your is not displaying for me.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:16:19 AM
Hi Jeff,

mine works fine too:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=naSatellite

When I looked at your page, it seems like your server is refusing to load the images from the Canadian data source, looks like an issue with the server, maybe some changes in the FW of your provider.

One other problem I see is with your rise/set block. The night.png does not have "read" permissions, so it does not show up and in the console it shows Error 403 - Forbidden. You need to change the permissions for this image file.
Title: Meteotemplate - Block Update – Station Data 5.1
Post by: Jáchym on February 23, 2017, 06:39:23 AM
Block Update – Station Data

Hi guys,

added possibility to enable/disable the Beaufort readings separately for wind speed and wind gust.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 07:05:16 AM
Hi Jeff,

mine works fine too:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=naSatellite
Will
When I looked at your page, it seems like your server is refusing to load the images from the Canadian data source, looks like an issue with the server, maybe some changes in the FW of your provider.

One other problem I see is with your rise/set block. The night.png does not have "read" permissions, so it does not show up and in the console it shows Error 403 - Forbidden. You need to change the permissions for this image file.

Thanks.  I'll try to look at work and change the permissions.  Don't know where to start with the satellite block.  If anyone in the us and usin 1&1 could tell me if they are ok?
Title: Meteotemplate - Block Update - Fire Danger 2.0
Post by: Jáchym on February 23, 2017, 08:26:13 AM
Block Update - Fire Danger 2.0

Hi guys,

I redesigned the block. I replaced the original gauge, which was not working well on smaller screens and I also added some descriptions to make it more clear.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=fireDanger

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 08:37:26 AM
Hi Jeff,

mine works fine too:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=naSatellite
Will
When I looked at your page, it seems like your server is refusing to load the images from the Canadian data source, looks like an issue with the server, maybe some changes in the FW of your provider.

One other problem I see is with your rise/set block. The night.png does not have "read" permissions, so it does not show up and in the console it shows Error 403 - Forbidden. You need to change the permissions for this image file.

Thanks.  I'll try to look at work and change the permissions.  Don't know where to start with the satellite block.  If anyone in the us and usin 1&1 could tell me if they are ok?

I have no clue what has changed.  I even removed and re added the block.  If anyone with 1&1 and living in the USA can check - I don't know if it's related to 1&1 and the USA.  Otherwise I'll just have to remove it.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 23, 2017, 08:43:26 AM
Hi Jeff,

mine works fine too:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=naSatellite (http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=naSatellite)
Will
When I looked at your page, it seems like your server is refusing to load the images from the Canadian data source, looks like an issue with the server, maybe some changes in the FW of your provider.

One other problem I see is with your rise/set block. The night.png does not have "read" permissions, so it does not show up and in the console it shows Error 403 - Forbidden. You need to change the permissions for this image file.

Thanks.  I'll try to look at work and change the permissions.  Don't know where to start with the satellite block.  If anyone in the us and usin 1&1 could tell me if they are ok?

I have no clue what has changed.  I even removed and re added the block.  If anyone with 1&1 and living in the USA can check - I don't know if it's related to 1&1 and the USA.  Otherwise I'll just have to remove it.

Jeff, I'm in Canada and the naSatellite block is working fine here, and I'm on !&! also.

On my page it's under Maps!

Bill

Oh and all that block I've set permissions to 775!
Title: Meteotemplate - Block Update - Rise/set 6.2
Post by: Jáchym on February 23, 2017, 05:33:38 PM
Block Update - Rise/set 6.2

Hi guys,

just some minor CSS tweaks.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 05:43:59 PM
Obviously I am having a major malfunction.  Almost all my blocks are now spinning meteotemplate icons.  Nothing changed.  Ugh.  Oh well.  I have the flu and don't have the patience to deal with it 😷
Title: Meteotemplate - Block Update - France - Current Conditions 1.1
Post by: Jáchym on February 23, 2017, 05:45:04 PM
Block Update - France - Current Conditions 1.1

Hi guys,

fixed a bug in the date.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 05:45:43 PM
Obviously I am having a major malfunction.  Almost all my blocks are now spinning meteotemplate icons.  Nothing changed.  Ugh.  Oh well.  I have the flu and don't have the patience to deal with it 😷

I will check your site now, though this looks like a problem with server/provider. I wonder why you have such a bad luck... didnt you just recently change host?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 05:56:26 PM
Obviously I am having a major malfunction.  Almost all my blocks are now spinning meteotemplate icons.  Nothing changed.  Ugh.  Oh well.  I have the flu and don't have the patience to deal with it 😷

I will check your site now, though this looks like a problem with server/provider. I wonder why you have such a bad luck... didnt you just recently change host?

I've have had 1&1 for a few months but it's not as reliable as my prior.  I wonder if something is corrupt.  I feel like crap so I don't even have the energy or concentration to look.  Wonder if it's the htaccess file.  If you need my 1&1 login info, I can send it.

Thank you...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:00:13 PM
This looks like the server is completely down, it does not even load a simple HTML page:

http://www.linyweather.net/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:06:04 PM
It cannot even write the error in the error log and PHP cannot override the default "hide all errors" so I have no way to tell where the problem is
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:18:50 PM
Im working on your server now Jeff, but it is very difficult. The main problem is that server just shows Error 500, which is a general error - something like "an error" - somewhere something is somehow wrong :D
And to make things worse, you do not have error log on your server, where i could check this. And last, everything is painfully slow when trying to do this on my laptop.

Will keep on trying, dont do anything now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:22:37 PM
Jeff you must have some kind of redirection set on your server.

When I login to your FTP there is just folder "weather" in the "www" folder.

However, when I try eg:
http://www.linyweather.net/weather/imgs/flags/big/cz.png

It does not show the image, obviously there cannot be "error" in an image file. What is the full URL to your template files?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 06:24:47 PM
Jeff you must have some kind of redirection set on your server.

When I login to your FTP there is just folder "weather" in the "www" folder.

However, when I try eg:
http://www.linyweather.net/weather/imgs/flags/big/cz.png

It does not show the image, obviously there cannot be "error" in an image file. What is the full URL to your template files?

You don't need to use "weather" as it automatically directs it to www/weather
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 06:27:01 PM
Jeff you must have some kind of redirection set on your server.

When I login to your FTP there is just folder "weather" in the "www" folder.

However, when I try eg:
http://www.linyweather.net/weather/imgs/flags/big/cz.png

It does not show the image, obviously there cannot be "error" in an image file. What is the full URL to your template files?

You don't need to use "weather" as it automatically directs it to www/weather

So it redirects the www.linyweather.net directly to the target.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:31:50 PM
Gotya

THis looks like a potential error in config because even the sticker is not working and the config is the only script it is loading...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:36:36 PM
OK, I guess you have to ask your provider. I tried a simple thing, I completely deleted the config.php and temporarily uploaded a completely empty file:

<?php

?>

and it thorwed Error 500 - seems like the entire PHP installation on the server is corrupted, something you have no way to fix (or me)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 06:37:48 PM
OK, here:

http://linyweather.net/config2.php

A totally blank page. So ask 1and1, why a blank page is showing an error.... .

Code: [Select]
<?php


?>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 08:39:30 PM
Jeff let me know what they told you at 1and1. This is 100% a server issue because blank pages show ERROR 500.

Make sure you dont let them ignore you. I did have the "pleasure" of communicating with 1and1 in the past.

First I was connected to Ruchika, who got lost as soon as I mentioned a CRON job and directed me to Markashi from the technical department. Markashi tried to persuade me for 10 minutes that this is a problem with my script. When I insisted that this is not a problem with the script he connected me with Phil, who fixed the problem with their server after 5 minutes and apologized...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 08:50:37 PM
Jeff let me know what they told you at 1and1. This is 100% a server issue because blank pages show ERROR 500.

Make sure you dont let them ignore you. I did have the "pleasure" of communicating with 1and1 in the past.

First I was connected to Ruchika, who got lost as soon as I mentioned a CRON job and directed me to Markashi from the technical department. Markashi tried to persuade me for 10 minutes that this is a problem with my script. When I insisted that this is not a problem with the script he connected me with Phil, who fixed the problem with their server after 5 minutes and apologized...

I'll call them in the morning.  Right now I can't stop coughing and my voice is gone :(
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 08:52:33 PM
Jeff let me know what they told you at 1and1. This is 100% a server issue because blank pages show ERROR 500.

Make sure you dont let them ignore you. I did have the "pleasure" of communicating with 1and1 in the past.

First I was connected to Ruchika, who got lost as soon as I mentioned a CRON job and directed me to Markashi from the technical department. Markashi tried to persuade me for 10 minutes that this is a problem with my script. When I insisted that this is not a problem with the script he connected me with Phil, who fixed the problem with their server after 5 minutes and apologized...

I'll call them in the morning.  Right now I can't stop coughing and my voice is gone :(

Hahahaha. It is back up.  So except for the issue with the satellite block it's working.  What Should I do with that?  Call them and tell them that certain urls are blocked suddenly?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 23, 2017, 09:34:03 PM
Strange
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 23, 2017, 10:39:40 PM
And sheeeeeeeeeee's out again all...
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 24, 2017, 06:43:53 AM
Make sure you dont let them ignore you. I did have the "pleasure" of communicating with 1and1 in the past.

First I was connected to Ruchika, who got lost as soon as I mentioned a CRON job and directed me to Markashi from the technical department. Markashi tried to persuade me for 10 minutes that this is a problem with my script. When I insisted that this is not a problem with the script he connected me with Phil, who fixed the problem with their server after 5 minutes and apologized...

I tried to use 1&1 for a side project a few years ago, where the DNS was being hosted on another server and not using theirs.  They have a stupid script that checks DNS and assumes that you're using theirs, and it actually DELETES YOUR SITE after 30 days if their DNS servers are not the primary for the entire domain name!!!  The Asia-based support folks are not permitted to speak directly with the German developers, so their promise that it wouldn't happen again lasted another 30 days until the site was wiped a second time.  Since I had to restore from backup copies that I thoughtfully kept on my own computers, I decided to restore the site on another hosting company's system and dump 1&1.  (I am happy with InMotion hosting after three years now, BTW.)

If you think the 1&1 saga ends there, you're mistaken.  I contacted customer support with 24 days left on my pre-paid quarterly plan, and told them that  I was disconnecting due to their system repeatedly deleting my web site.  21 Days later, my credit card on their account was charged for another quarter of service!  Customer support issued a refund, and promised that it wouldn't happen again.  Needles to say, they didn't keep that promise, either.  The only way that I could get away from them was to login to the customer control panel (that they also didn't shut off my access to) and change the credit card expiration date they were using so that the transactions failed.

Long story short, I would not use 1&1 to host a web site if they were the last hosting company on the face of the Earth.....
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 08:31:00 AM
For the naSatellite block which does not work on my site, I am calling my host today - is there a URL I should tell them is being blocked?  It seems that our Canadian friends are not having a problem.  It's only my site in the USA...
Title: Meteotemplate - New Plugin – Jet Stream
Post by: Jáchym on February 24, 2017, 09:01:16 AM
New Plugin – Jet Stream

Hi guys,

a new plugin is now available, which shows the current jet stream for the whole world.

No need to setup, just update menu.php.

DEMO: http://www.meteotemplate.com/template/plugins/jetStream/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 09:04:01 AM
For the naSatellite block which does not work on my site, I am calling my host today - is there a URL I should tell them is being blocked?  It seems that our Canadian friends are not having a problem.  It's only my site in the USA...

This is just a random example:
http://weather.gc.ca/satellite/satellite_anim_e.html?sat=goes&area=nam&type=1070x
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 09:09:10 AM
For the naSatellite block which does not work on my site, I am calling my host today - is there a URL I should tell them is being blocked?  It seems that our Canadian friends are not having a problem.  It's only my site in the USA...

This is just a random example:
http://weather.gc.ca/satellite/satellite_anim_e.html?sat=goes&area=nam&type=1070x

Thanks.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 12:14:43 PM
Hahahahahaha.  So they are looking at the problem with the URL and now the site is broken again.  They have no clue what they are doing.  I have to look at dumping them.  What a mess.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 24, 2017, 12:43:13 PM
It could be that one of the gazillion other websites being hosted on the same server as yours was hacked, and your web site is caught in the collateral damage because Internet firewalls are blocking the malicious IP address.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 12:54:00 PM
I would ask 1and1, they must know why it is down and I would very strongly require compensation for this. I had a similar argument with my host about 2 months ago. They refused to compensate me so i said I want to quit and cancel the contract. Only when they saw Im dead serious about it (I wasnt of course, but i sent them the filled-in form :D), they said they would give me one month free
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 24, 2017, 03:01:22 PM
If you have console access, login and run the following command:

telnet weather.gc.ca 80

If it answers, type this and see what it sends back:

GET /satellite/satellite_anim_e.html

If the telnet session never connects, the 1&1 server is being blocked by firewall rules.....
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 03:03:33 PM
I would ask 1and1, they must know why it is down and I would very strongly require compensation for this. I had a similar argument with my host about 2 months ago. They refused to compensate me so i said I want to quit and cancel the contract. Only when they saw Im dead serious about it (I wasnt of course, but i sent them the filled-in form :D), they said they would give me one month free

This is their response regarding the website going down every 5 minutes:

I am not sure about the other customers using it because I cannot see their accounts however, your issue is that you are exceed the amount of resources you are allotted which is causing the issue. There were processes running for your website that were taking too long, and using up the resources of allocated. Those processes were killed to allow the website to work again. This is a temporary fix, however, as the script starting those processes will likely run again and cause the same issue. You would either have to adjust the scripts or upgrade the package for more resources.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 03:32:20 PM
If you have console access, login and run the following command:

telnet weather.gc.ca 80

If it answers, type this and see what it sends back:

GET /satellite/satellite_anim_e.html

If the telnet session never connects, the 1&1 server is being blocked by firewall rules.....

haha - it says "telnet command not found"
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 03:49:01 PM
OK - I AM DONE.  1&1 said the website is generating too much traffic and too complex and now say I need a dedicated server.  I have to leave there.  My website is down and they will not fix i unless I upgrade.  This is ridiculous. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 04:40:21 PM
F* them, I had similar experience with only one other user in the past. One out of the hundreds I have. And guess what... he was using 1and1. If they at least told you which script, one other thing - there is at least 5 users who use the template with all blocks, plugins etc. with a Raspberry Pi! If their servers are less powerful than Pi.... Obviously however, they would be more than happy for you to purchase a dedicated server. Another interesting thing is that everything was working for months and now suddenly it is taking up too much resources...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 04:47:51 PM
F* them, I had similar experience with only one other user in the past. One out of the hundreds I have. And guess what... he was using 1and1. If they at least told you which script, one other thing - there is at least 5 users who use the template with all blocks, plugins etc. with a Raspberry Pi! If their servers are less powerful than Pi.... Obviously however, they would be more than happy for you to purchase a dedicated server. Another interesting thing is that everything was working for months and now suddenly it is taking up too much resources...

I'm thinking about taking the other member's suggestion and moving to inmotion
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 24, 2017, 04:52:57 PM
I've been with 1&1 since Jan 2009 and have had very few problems!

Biggest issue is dealing with their so called tech support, those guys couldn't find their back end with 4 hands and a map!

I too may look elsewhere the next time I have an issue I can't resolve myself!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 04:57:42 PM
I myself have relatively low plan hosting and in addition to the demo, which has ALL the blocks and ALL the plugins installed, there is the entire meteotemplate.com web as such, all the download files, all the user details in the user map, some additional Google Analytics scripts, several MySQL tables, one complete clone of the demo for testing purposes.... and look at it, I dont think it runs too slow...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 04:58:55 PM
Jeff do one more thing. Tell them you want to know exactly which script. They have to tell you which script is lagging, if they are unable to do it, then they have a problem themselves, which they cant solve so the easiest option is to blame it on you.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 05:13:27 PM
Jeff do one more thing. Tell them you want to know exactly which script. They have to tell you which script is lagging, if they are unable to do it, then they have a problem themselves, which they cant solve so the easiest option is to blame it on you.

I'm asking.  On hold...  can't even understand a word they say.  They just suck
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 05:26:47 PM
Read my yesterday's post :D

I had very hard time understanding Ruchika too :D
Title: Meteotemplate - New Block - Sweden - Warnings
Post by: Jáchym on February 24, 2017, 06:56:28 PM
New Block - Sweden - Warnings

Hi guys,

new block for regional warnings in Sweden.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsSE

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on February 24, 2017, 07:34:02 PM
F* them, I had similar experience with only one other user in the past. One out of the hundreds I have. And guess what... he was using 1and1. If they at least told you which script, one other thing - there is at least 5 users who use the template with all blocks, plugins etc. with a Raspberry Pi! If their servers are less powerful than Pi.... Obviously however, they would be more than happy for you to purchase a dedicated server. Another interesting thing is that everything was working for months and now suddenly it is taking up too much resources...

I'm thinking about taking the other member's suggestion and moving to inmotion

My site is on inmotion now, a few start up issues but now I could not be happier! I think they are cheaper than 1&1 also.  :grin:
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 07:40:16 PM
F* them, I had similar experience with only one other user in the past. One out of the hundreds I have. And guess what... he was using 1and1. If they at least told you which script, one other thing - there is at least 5 users who use the template with all blocks, plugins etc. with a Raspberry Pi! If their servers are less powerful than Pi.... Obviously however, they would be more than happy for you to purchase a dedicated server. Another interesting thing is that everything was working for months and now suddenly it is taking up too much resources...

I'm thinking about taking the other member's suggestion and moving to inmotion

My site is on inmotion now, a few start up issues but now I could not be happier! I think they are cheaper than 1&1 also.  :grin:

Thy even said they would do all the migration...  1&1 told me after 2 hours and no English that my website is too advanced for their servers lmao
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 07:56:11 PM
Your site is too advanced for them? :D

Guess I should take that as a compliment  :grin: :grin: :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 08:44:26 PM
Jeff if you need help moving your site let me know.

You only need to download all the files to your PC and then upload them to the new server using an FTP client. Then change the pageURL in the config.php.

The MySQL bit is a bit more tricky. You (or I if you dont know how) will need to export the entire db (not table, the whole db!) in SQL format and then import it to the new server MySQL.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 08:52:09 PM
Jeff if you need help moving your site let me know.

You only need to download all the files to your PC and then upload them to the new server using an FTP client. Then change the pageURL in the config.php.

The MySQL bit is a bit more tricky. You (or I if you dont know how) will need to export the entire db (not table, the whole db!) in SQL format and then import it to the new server MySQL.

Thanks.  I'll probably move it to inmotion since there seem to be several that have used them and done well.  I'll order it tomorrow.  I'll have to fight with 1&1 since they got my money for a full year those bastards...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 24, 2017, 09:24:26 PM
Did you have that plan for 99c per month?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 24, 2017, 09:38:06 PM
Did you have that plan for 99c per month?

Actually I just checked and yes.  So it's no loss...  you get what you pay for.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 25, 2017, 08:32:31 AM
I'll order it tomorrow.  I'll have to fight with 1&1 since they got my money for a full year those bastards...

Before you contact 1&1 to pull the plug, login to the control panel and change your credit card info to something invalid, so that you don't have to contact them again for another refund in a few months!  Also, make sure to migrate your domain name ownership to another registrar if you bought it as a bundle through them.  (My problems with 1&1 were caused by using my own outside DNS instead of theirs, so I have no experience with this part of the 1&1 exit strategy.)

As I wrote, I'm happy with InMotion after 3+ years.  They have 100% USA support, and even publish a monthly newsletter with tips and interesting spotlights on what a handful of their customers are doing.  I run a physical/virtual server farm for a living, so I have never needed to contact their support...and consider the need to contact support at any service to be a negative metric.

Actually, I just remembered a small stumbling block with InMotion.  The host that I'm on is using RedHat Linux, which is notoriously slow in updating package versions.  I believe that RedHat's PHP version has fallen behind the minimum required for MT (5.4?), so you might want to check this before making the switch.  (My production MT install is still a few versions behind.)

I have been giving thought to building an Amazon cloud server, both as a scratch environment but also for the professional experience of seeing how they operate and what the constraints are.  Having my hands tied on a shared hosting server by not having full "root" access drives me nuts.....  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 25, 2017, 09:29:03 AM
I'll order it tomorrow.  I'll have to fight with 1&1 since they got my money for a full year those bastards...

Before you contact 1&1 to pull the plug, login to the control panel and change your credit card info to something invalid, so that you don't have to contact them again for another refund in a few months!  Also, make sure to migrate your domain name ownership to another registrar if you bought it as a bundle through them.  (My problems with 1&1 were caused by using my own outside DNS instead of theirs, so I have no experience with this part of the 1&1 exit strategy.)

As I wrote, I'm happy with InMotion after 3+ years.  They have 100% USA support, and even publish a monthly newsletter with tips and interesting spotlights on what a handful of their customers are doing.  I run a physical/virtual server farm for a living, so I have never needed to contact their support...and consider the need to contact support at any service to be a negative metric.

Actually, I just remembered a small stumbling block with InMotion.  The host that I'm on is using RedHat Linux, which is notoriously slow in updating package versions.  I believe that RedHat's PHP version has fallen behind the minimum required for MT (5.4?), so you might want to check this before making the switch.  (My production MT install is still a few versions behind.)

I have been giving thought to building an Amazon cloud server, both as a scratch environment but also for the professional experience of seeing how they operate and what the constraints are.  Having my hands tied on a shared hosting server by not having full "root" access drives me nuts.....  ](*,)

Great idea!  So it seems the website is suddenly "fixed" after threatening...  But the naSat is still not working and they said the url is not blocked.  They said it is the script which we know is BS since it works everywhere else...  I will review my options today but it looks like moving to inMotion is the best for me.  If anyone else has any suggestions, let me know.  They are running a special for $4.99/mos for 12 months.  They said they time things so downtime is only about 2 hours.  I assume once that is transferred my site will be more reliable and the naSat will start working again.  Time to update the page and make any and all backups locally.

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2017, 09:41:01 AM
Hi Jeff,
:D Threatening works... personal experience (not once...)

I will make some modifications to the naSatellite blocks and send you a modified version and we will see if that helps. I just got home from work, need to eat something and then I have 3 hours to work on MT before I leave to part-time job :-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 25, 2017, 09:49:27 AM
Hi Jeff,
:D Threatening works... personal experience (not once...)

I will make some modifications to the naSatellite blocks and send you a modified version and we will see if that helps. I just got home from work, need to eat something and then I have 3 hours to work on MT before I leave to part-time job :-)

No problem.  I'm going to move ahead to leave them anyway but it would be interesting to see.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2017, 10:37:31 AM
emailed it to you
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 25, 2017, 10:55:13 AM
emailed it to you

Hahaha.  I uploaded it and when I went back to my site it was down again.  I will check in a few  -  Definitely going to move to inMotion and sign the contract by end of day.  I think 1&1 has a corrupt server.
Title: Meteotemplate - Block Update - Station Data 6.0
Post by: Jáchym on February 25, 2017, 11:00:42 AM
Block Update - Station Data 6.0

Hi guys,

I extended the information for precipitation displayed.

New:
- for this month, this year, last 365 days - in addition to total also max/day and avg/day
- alltime - total, max/day, avg/year
- current date - total, max/day, avg/day

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationData

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 25, 2017, 11:12:44 AM
Just pulled the trigger and signed up with inMotion...  They are calling me in 30 minutes to confirm and then will have to see how long it takes.  Can't wait until I can dump 1&1...  Oh wait - now they won't unlock my domain...  The fun begins.
Title: Meteotemplate - 500/46
Post by: Jáchym on February 25, 2017, 11:42:00 AM
Hi guys,

I would never imagine there will be more than 10 to 20 people using this… year and half after initial release there is now 500 known users from 46 countries.

Thanks! Great to see so many people interested in my work and probably the best delayed present for my 30th birthday 🙂 And despite the fact it is at times slightly difficult, I have absolutely no doubt about the future of this project!

http://meteotemplate.com/blog/?p=1930

As always... enjoy (though this time it rather me enjoying myself :D)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2017, 11:56:52 AM
That lasted for 8 minutes :D :D :D

http://www.meteotemplate.com/template/plugins/userMap/index.php
Title: Re: Meteotemplate - 500/46
Post by: vreihen on February 25, 2017, 12:40:14 PM
Great to see so many people interested in my work and probably the best delayed present for my 30th birthday 🙂

Since you mentioned it publicly now,  ;)  happy 30th birthday!!!!!
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on February 25, 2017, 02:07:36 PM
"best delayed present for my 30th birthday 🙂"


A belated Happy Birthday!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2017, 02:17:29 PM
LOL, thanks guys, yes I did turn 30 this Monday, but just like Im not a big fan of any Christmas or New Year's celebrations, Im not a big fan of celebrating b-days, so I was glad no-one noticed, and told everyone in my family to just ignore it :D

I have to say it feels a bit strange with that 3 now... I liked 2 in the front so I guess I will now have to wait another 170 years... I already started counting down :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 25, 2017, 05:13:27 PM
Jeff, the problem with the gauges (and icons) is most likely due to the cross-origin policy error. Make sure you apply both the bug fixes packages for version 11
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 25, 2017, 10:51:56 PM
Oh, maybe one more thing I need to check... rounding...

Edit: no, that should actually be ok... 2 d.p.

Watch it and if it happens again let me know.

Oddly my rain block is showing 0.0 fit today which is not correct.  Everything else shows .25....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 03:57:03 AM
Update the rain block,  even if you are using the latest version
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 08:04:06 AM
Update the rain block,  even if you are using the latest version

I'll try that.  Right now I'm trying to figure out why my cronjobs keep failing from cronjob.org with 404 or 530 error.  When I manually click the link it seems to work.  This is nuts.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 08:13:22 AM
Just emailed you, this is indeed strange, the manual trigger of the CRON works, I would delete the cron-job.org CRON and re-create it
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 08:26:37 AM
Just emailed you, this is indeed strange, the manual trigger of the CRON works, I would delete the cron-job.org CRON and re-create it

Trying that now.  Oddly a trial of setCronjob seems to be working so indeed it may just be a Cronjob issue.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 26, 2017, 09:57:43 AM
Just for information Jeff, all my cron-job.org crons seem to be working ok.

Enjoy,
Paul
Title: Meteotemplate - Block Update - Dynamic Text 2.0
Post by: Jáchym on February 26, 2017, 10:02:50 AM
Block Update - Dynamic Text 2.0

Hi guys,

I have completely redesigned this block and made it much more sophisticated.
In this block, you now have many possible conditions/triggers. You first select if you want to enable this trigger. If yes, you provide a condition and corresponding message.

This is how the block then works:
- checks which conditions are enabled
- checks which of the enabled conditions should be activated based on the condition specified
- for the activated conditions it will show a message (there are also wild cards that would be replaced by particular values) you provide in the block settings and for some you can also specify icons

If there are no messages to display, the block will simply completely disappear from the homepage and only show when there is something to display.

Conditions include:
- specific weather conditions based on station data (temperature -above, below, change, humidity, pressure changes, precipitation, rain rate, etc etc.)
- station online/offline
- minutes before/after sunrise/sunset
- specific time of the day
- specific day of the year
- specific date

The demo in this case is not very useful, but you will see exactly how it works when you install it and are able to access the block settings.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 10:13:29 AM
Attached an example of the setup page
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 26, 2017, 10:46:27 AM
Hi Jachym,
The dynamic block is fun...  I presume the original images and scripts folders can be deleted as well as the text file.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 11:19:18 AM
Hi Paul,
yes everything from the original block can be deleted, basically this was originally a new block but I then realized it does pretty much everything the original dynamic text block did and much more and so I deleted the original and renamed this one to dynamic text. It is a new block, with an old name :)
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on February 26, 2017, 12:45:12 PM
does the Dynamic text block need to be set up differently for it to disappear when not reporting anything, I have a blank block showing ? 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 12:53:10 PM
replace all the original dynamicText block files with the new 2.0 version. Then go through the setup. You should never see a completely blank block. Depending on how you set it up, it will either show some messages or hide itself.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 26, 2017, 01:52:15 PM
Not having any luck setting up theDynamic Text 2.0 block, I've changed all permissions to 777 and disabled Feels Like and Dew Point in the setup, and clicked the save button, but they are still showing.Looked at the settings.txt file and it 'seems' to show false but not positive I'm looking at the right field!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 01:59:11 PM
OK Im about to leave to my part-time job so I cant look at it now, just to make sure, you disabled dew point and feels like, but the data still shows in the messages? I will look at it when Im back
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 26, 2017, 02:01:31 PM
OK Im about to leave to my part-time job so I cant look at it now, just to make sure, you disabled dew point and feels like, but the data still shows in the messages? I will look at it when Im back

Correct!
No rush whenever you get a chance to look at it is fine with me, just wanted to report it!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 03:16:36 PM
ARGH...  OK - I feel better now...

Anyone have any idea what would cause the alldata table to stop updating?  My clientraw is fine but apparently the sql stopped updating suddenly.  I did go thru the main setup and the table connection is absolutely fine.  I am about to delete the entire table and just start over.  Im completely burnt out.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on February 26, 2017, 03:54:28 PM
MySQL server quota for maximum database/table size?????
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 26, 2017, 04:01:26 PM
Jeff,
My database update started acting up a few weeks ago.  I updated to the latest update.php which I hadn't done before. Then I went to the administration page and under database update setup the paths and has worked fine since.

Tom
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 04:04:15 PM
MySQL server quota for maximum database/table size?????

Not even close.  Its odd.  The clientraw is updating, the subtables - bloom sky, indoor, etc are updating in the tables - but the alldata is not.  Been stuck since 12:40 EST...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 04:04:38 PM
Jeff,
My database update started acting up a few weeks ago.  I updated to the latest update.php which I hadn't done before. Then I went to the administration page and under database update setup the paths and has worked fine since.

Tom

Hmmmm...  The latest update.php?
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 26, 2017, 04:11:11 PM
When you run setup database it will test it.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 04:13:42 PM
When you run setup database it will test it.

Test in the Main Setup shows it is OK:

Success: A proper connection to MySQL was made!

Table already exists.

But obviously it is not.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on February 26, 2017, 04:16:43 PM
If it makes a proper connection I don't know what is wrong.  I wouldn't rush to erase the data.  I'm sure Jachym will figure it out.
Tom
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 04:32:45 PM
If it makes a proper connection I don't know what is wrong.  I wouldn't rush to erase the data.  I'm sure Jachym will figure it out.
Tom

Yep.  I did run the testupdate.php and see the following which may have some reason for this:

Update Test

Checking validity of data based on your limits in Main settings...

Checking date and time...
There seems to be a problem with the date and time. Either it has not been parsed correctly or it is a date/time in the future! Check the format you specified and also the actual values.
Minimum temperature allowed: -15 F
Maximum temperature allowed: 110 F
Temperature is outside the allowed limits! Temperature value will be ignored!
Minimum humidity allowed: 0 %
Maximum humidity allowed: 100 %
Humidity OK.
Minimum pressure allowed: 28 inhg
Maximum pressure allowed: 33 inhg
Pressure is outside the allowed limits! Pressure value will be ignored!
Minimum wind speed allowed: 0 mph
Maximum wind speed allowed: 200 mph
Wind speed OK.
Minimum wind gust allowed: 0 mph
Maximum wind gust allowed: 200 mph
Wind gust OK.
Minimum daily precipitation allowed: 0 in
Maximum daily precipitation allowed: 200 in
Daily precipitation OK.
Minimum rain rate allowed: 0 in/h
Maximum rain rate allowed: 500 in/h
Rain rate OK.
Minimum wind direction allowed: 0 degrees
Maximum wind direction allowed: 360 degrees
Wind direction OK.

Calculating dew point based on parsed values...
Temperature or humidity or both are not valid. Not possible to calculate dew point.

Calculating apparent temperature based on parsed values...
One or more parameters from the following: temperature, humidity, wind speed, are not valid. Impossible to calculate apparent temperature.


Summary
There is a problem with the date and time, nothing would be imported. Check the date/time format you specified and the actual values in the file.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 05:19:59 PM
Not sure how but I fixed it.  TY
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 05:46:37 PM
This again seems like a server issue, if the script now works, there is no way it could be a script problem if you did not change anything in the code. With PHP code it is either or. EIther it works or it doesnt, but its not like it works for an hour and then not again...

Seems you just have extreme bad luck... hopefully it will work now. I think the scripts I fixed yesterday are also working fine (Bloomsky, indoorData). Looking at your site now, all seems fine.
Title: Meteotemplate - Block Update - Dynamic Text 2.1
Post by: Jáchym on February 26, 2017, 06:41:07 PM
Block Update - Dynamic Text 2.1

Hi guys,

bug fixes ;)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 06:48:22 PM
This again seems like a server issue, if the script now works, there is no way it could be a script problem if you did not change anything in the code. With PHP code it is either or. EIther it works or it doesnt, but its not like it works for an hour and then not again...

Seems you just have extreme bad luck... hopefully it will work now. I think the scripts I fixed yesterday are also working fine (Bloomsky, indoorData). Looking at your site now, all seems fine.

Thanks - all looks good now.  Will see how it goes over the next 24-48 hours before I update any blocks, etc
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 06:55:54 PM
If this host has issues again (!) I guess the only option left would be me hosting your site on my server and redirected from your domain :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on February 26, 2017, 06:58:12 PM
If this host has issues again (!) I guess the only option left would be me hosting your site on my server and redirected from your domain :D

Lol....  if this happens again I'm giving up and just sitting by a window with a rock and if the rock gets wet then it's raining..,
Title: Re: Meteotemplate - Block Update - Dynamic Text 2.1
Post by: KapitainOne on February 26, 2017, 07:07:56 PM
Block Update - Dynamic Text 2.1

Hi guys,

bug fixes ;)

Enjoy

That seems to have fixed my issue, thanks  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 26, 2017, 07:19:12 PM
np, thanks for letting me know
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on February 27, 2017, 05:08:00 AM
Still getting a blank block in Dynamic Text (not disappearing) have updated to version 2.1 have I got the menu setup properly
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 05:25:21 AM
Hi Stewart,
Im not sure why you are using the menuBlock syntax for a single block. Just use a normal block syntax, thats what you want. See the PDF I made in the wiki about block layouts with examples.

In your case, simply use:

ssGauges
dynamicText
multipleBlock.....

Title: Re: Meteotemplate - new free website template
Post by: stewart45 on February 27, 2017, 05:42:25 AM
My mistake, sorted now, a case of if in doubt read the instructions  :oops:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 06:32:40 AM
No problem Stewart, glad it is working fine now
Title: Meteotemplate - Block Update - Steel Series Gauges 2.1
Post by: Jáchym on February 27, 2017, 06:51:36 AM
Block Update - Steel Series Gauges 2.1

Hi guys,

added possibility to enable/disable the time at the top.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 27, 2017, 09:38:55 AM
I am using the newest version of the forecast block and have it configured for Weather Underground and installed my WU API.  The block keeps saying Forecast currently not available.  Anyone else using the Forecast Block with WU and have it working? I see it appears to be working on the demo site at Brno.

Does anyone know if the API is specific to a particular subdirectory under the main domain or is it good for the whole domain.  For example will weather.kq5s.com and www.kq5s.com use the same API?

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 09:41:03 AM
Hi,
the WU API key is not specified for a particular referrer, which is why you dont see it in the HTML too, it is just in the PHP section and it simply has a daily quota which can be used by anyone who knows this key.
This is strange, the only thing I can think of is that the location for WU is not correct, did it ever work?
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 27, 2017, 09:47:57 AM
I don't remember if it worked on your template or not.  It has worked before on other software.  I have changed to location and get the same result.  If there is a problem with my key will I get the same message saying Forecast currently not available?

Hi,
the WU API key is not specified for a particular referrer, which is why you dont see it in the HTML too, it is just in the PHP section and it simply has a daily quota which can be used by anyone who knows this key.
This is strange, the only thing I can think of is that the location for WU is not correct, did it ever work?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 10:07:43 AM
Send me what you have for your location and i will try it on my server
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 27, 2017, 10:09:39 AM
I have tried Albertville and Huntsville both in Alabama.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on February 27, 2017, 10:18:56 AM
I have had no issue with the WU forecast which I use as default as the Yahoo was often Not Available.

Jachym,
Again I see a css and icons folder in my existing fireDanger block that is not in the new v.2.1.  Maybe this is remnants of  v.1.1 that I should have removed with the v.2.0 update?

Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 27, 2017, 10:44:48 AM
I recently tried to use the dynamicImage Block to display a couple of images, up until now I'd just had one.

No luck, the images display one above the other, not cycling as I think it should.  Uploaded the block again, checked permissions, triple checked that I'm using a ; between the url's etc etc

Baffled! Any other things I should look at??

Can be seen near the bottom of my home page just above the NASA Image

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 11:10:21 AM
I see them and I dont see any problems with them
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 27, 2017, 11:24:23 AM
OK, guess I mis-understood how it was supposed to work!

No sweat!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 12:05:15 PM
Originally, this block was an image where you set interval at which it updated. Then people asked they want more images with separate update intervals.
So now it works like this:

you have 1 or more images, for each you specify update interval. Those images are displayed on top of each other and each reloads at the specified interval for that image

Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on February 27, 2017, 12:30:47 PM
Originally, this block was an image where you set interval at which it updated. Then people asked they want more images with separate update intervals.
So now it works like this:

you have 1 or more images, for each you specify update interval. Those images are displayed on top of each other and each reloads at the specified interval for that image

I kind of thought it was more like a slideshow and would cycle through the images, my bad!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 12:45:06 PM
No, because thats the "images" block
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 27, 2017, 01:08:42 PM

Did you get a chance to try it?

Albertville and Huntsville.  Both in Alabama.

Tom

Send me what you have for your location and i will try it on my server
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 01:28:25 PM
I need to know what you put in for the WU location, what do you have in the block setup in the field for:

set city to be used for WU forecast retrieval. If your city does not work try one that is close and large enough.
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 27, 2017, 01:31:56 PM
In the message above I said I used bit Albertville and Huntsville.  I tried them both with just the name and with the name and the state such as Albertville, AL.  Albertville has worked with other software and Huntsville is a fairly large city.

I need to know what you put in for the WU location, what do you have in the block setup in the field for:

set city to be used for WU forecast retrieval. If your city does not work try one that is close and large enough.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on February 27, 2017, 01:35:57 PM
Jachym,
I can't download blocks from your site I get a 404 not found message.
Jay

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 01:41:08 PM
Yes I know, its all not working again... probably no need to say why... I will try to fix it asap
Title: Meteotemplate - updates
Post by: Jáchym on February 27, 2017, 03:13:50 PM
Block Update – Glossary 2.0

updated version has the following new features:
- possibility to show/hide block title
- possibility to auto-open the block

Block Update – Forecast 4.1

minor bug fixes.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on February 27, 2017, 03:31:09 PM
Good news.  For some reason my WU started working after not working before.

Tom

In the message above I said I used bit Albertville and Huntsville.  I tried them both with just the name and with the name and the state such as Albertville, AL.  Albertville has worked with other software and Huntsville is a fairly large city.

I need to know what you put in for the WU location, what do you have in the block setup in the field for:

set city to be used for WU forecast retrieval. If your city does not work try one that is close and large enough.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on February 27, 2017, 05:05:29 PM
:D Strange things happen sometimes :D Glad it is working now Tom
Title: Meteotemplate - New Block – Suriname – Radar
Post by: Jáchym on February 27, 2017, 06:08:21 PM
New Block – Suriname – Radar

Hi guys,

animated zoomable image of radar from Suriname.

DEMO:  http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=radarSR

Enjoy
Title: Meteotemplate - New Block - Wave Height
Post by: Jáchym on February 28, 2017, 08:49:24 AM
New Block - Wave Height

Hi guys,

this new block shows current wave height (probable, maximum) based on current average wind speed, with a conversion table included, units converted based on block settings and template settings.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=waveHeight

Enjoy
Title: Meteotemplate - New Block - South Africa - Warnings
Post by: Jáchym on February 28, 2017, 11:14:15 AM
New Block - South Africa - Warnings

Hi guys,

this block is for displaying warnings for South Africa.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsZA

Enjoy
Title: Meteotemplate - Block Update - High/Low U.S. 2.0
Post by: Jáchym on February 28, 2017, 03:12:20 PM
Block Update - High/Low U.S. 2.0

Hi guys,

I updated this block and added a very useful feature - in addition to today's data you can now view any day from the past since 2011.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=highLowUS

Enjoy
Title: Meteotemplate - Block Update - Moon Phase 2.0
Post by: Jáchym on February 28, 2017, 04:40:04 PM
Block Update - Moon Phase 2.0

Hi guys,

updated version:
- added block title
- added time remaining until next full Moon, new Moon etc.
- CSS optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=moonPhase

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on February 28, 2017, 05:28:53 PM
Hi Jachym,
is it possible to add block title also at wind block?
Thank you so much.
Regards,


Alessandro
Title: Re: Meteotemplate - New Block - Wave Height
Post by: gand on March 01, 2017, 12:26:40 AM
New Block - Wave Height

Hi guys,

this new block shows current wave height (probable, maximum) based on current average wind speed, with a conversion table included, units converted based on block settings and template settings.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=waveHeight

Enjoy

Hi Jachym

Would it be possible to use a nearby Metar instead of the information from my station?

Rgds
Gert
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2017, 07:47:46 AM
Hi Gert,
theoretically yes, but the script would have to be re-written quite a lot and most of the blocks, blocks related to current weather, are based on your station, so this might be a bit confusing for the user.
Title: Meteotemplate - New Block - Canada - High/Low
Post by: Jáchym on March 01, 2017, 08:09:59 AM
New Block - Canada - High/Low

Hi guys,

this new block shows the highest and lowest temperature measued in Canada in the last hour - its value and where it was measured.

No need to setup anything, works out of the box.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=highLowCA

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on March 01, 2017, 05:00:30 PM
Hi guys,
just a few updates

Block Update – Wind 1.1

- added possibility to add title

Plugin Update - Station Feed 1.1
- changes in the XML output to ensure proper XML format

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 01, 2017, 05:23:25 PM
Jachym,
I am getting the following behavior on the riset block in Chrome.  I have viewed other websites including the meteotemplate demo with same results.  Does not happen in Firefox or Edge.
Thanks,
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2017, 06:47:03 PM
Hi Jay,
thanks, I noticed it too. Actually... maybe you could guys help me with this.

I suspect the problem is not actually caused by the Riset block. It is  most likely some other block which messes up the CSS of the whole page.
Probably the major proof of this is that the block works fine on its own:
http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=riset

So maybe if you could try disabling the other blocks temporarily one by one and see when it starts working normally. Once I know which block is doing this I will try to fix it, but I think doing anything to the actual Riset block wont help
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 01, 2017, 06:53:41 PM
Jachym,
Check the trends block.  I removed that one and the riset worked.
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 01, 2017, 07:04:17 PM
OK, thanks... Im just afraid this seems to be a bit more problematic... because there is no Trends block on the DEMO site :D
Title: Re: Meteotemplate - new free website template
Post by: gand on March 02, 2017, 04:50:08 AM
Hi Jay,
thanks, I noticed it too. Actually... maybe you could guys help me with this.

I suspect the problem is not actually caused by the Riset block. It is  most likely some other block which messes up the CSS of the whole page.
Probably the major proof of this is that the block works fine on its own:
http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=riset

So maybe if you could try disabling the other blocks temporarily one by one and see when it starts working normally. Once I know which block is doing this I will try to fix it, but I think doing anything to the actual Riset block wont help

Hi

This combination of blocks works fine, both in Opera and Chrome

Gert
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 05:58:32 AM
This is a mystery.... it is 100% some other block causing this, but Im also unable to find it.... When I check the console and the CSS it is identical on a page where it works and on a page where it does not
Title: Re: Meteotemplate - new free website template
Post by: semtex on March 02, 2017, 06:40:14 AM
Hi have de same problem in cell phone
whit crome
 [ You are not allowed to view attachments ]
Title: Meteotemplate - New Plugin - My Map
Post by: Jáchym on March 02, 2017, 07:26:33 AM
New Plugin - My Map

Hi guys,

I thought it would be nice to allow you to create your own map for various purposes.

This plugin allows you to easily define map parameters. First you choose the map type (terrain, road, satellite etc.), then map height, then you define unlimited number of points by GPS and you give them a title and description. Finally you select if you want to show your points on the map as markers, a connected path or both and you can even choose path color, width, opacity etc.

Finally, below the actual map will also be an interactive table, where clicking the point will take you to the actual position of that point and open the description of it.

Tip: the map allows you to select heading for it depending on which purpose you want to use it for. In the menu, if you use the default plugin syntax:

#plugin(myMap) - if you want to do this you need to update menu.php

it will be called just "map". If you want to use your own title, you have to use the link to that plugin in the menu as if it was an external link, i.e. specify the URL of it (http://..... plugins/myMap/index.php). See the wiki section about menu for this.

DEMO: http://www.meteotemplate.com/template/plugins/myMap/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 02, 2017, 10:19:34 AM
Very nice, and easy.  Thank you.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 10:22:54 AM
Thanks Paul, but looking at your map I dont think it works correctly, the table does not open the tooltips and the table header is strange, I suspect you have a blank line in the textarea for specifying the points. Make sure you dont have that in the setup
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 02, 2017, 10:29:25 AM
This is what I see...  I will check the settings again.

Paul
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 02, 2017, 10:34:12 AM
I did have a space missing and now should be better www.komokaweather.com/j-template/plugins/myMap/index.php

Before I added the Europe point the line also went east from Ontario to Australia.  I think it is much closer to go west and is that the Map method?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 10:47:02 AM
I did have a space missing and now should be better www.komokaweather.com/j-template/plugins/myMap/index.php

Before I added the Europe point the line also went east from Ontario to Australia.  I think it is much closer to go west and is that the Map method?

Paul

No Paul, the "method" of the map is very simple :-) It connects the points in the order you specify them. This is simply because some people might want a specific order, regardless of distance and second, because calculating the shortest distance between points is extremely complex once you have more points, in fact it is the type of a problem where optimum solution can only be found by brute force.
Title: Meteotemplate - updates
Post by: Jáchym on March 02, 2017, 12:05:06 PM
Hi guys,
two updates.

Block Update - Summary 5.3
- added support for Swedish (thanks to Thomas for the translation)

Plugin Update - NetAtmo 2.0
I made some optimizations in the plugin and transferred the original settings, which was done directly in the code, to the GUI of the Meteotemplate control panel. The plugin is now set up via the Plugins Setup page in your Meteotemplate control panel – just like any other plugin.

The URL of the update page remains the same.

This update adds some extra things which you will not see now, but in the future it will allow me to do much more with your NetAtmo device so it is quite useful to update even if you already have this setup. The new settings is not everything that is new (just that you won´t see the rest at this point).

If you want to update this plugin make sure you read the instructions in the blog, it is crucial, otherwise your db will no longer be updated!
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on March 02, 2017, 12:32:54 PM
just updated the Netatmo plugin I notice the settings page is titled Airport traffic - Setup, also setup .php is not updating with client id etc
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 02, 2017, 12:36:11 PM
New Block - Canada - High/Low

Hi guys,

this new block shows the highest and lowest temperature measued in Canada in the last hour - its value and where it was measured.

No need to setup anything, works out of the box.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=highLowCA

Enjoy

Hi guys,
just a few updates

Block Update – Wind 1.1

- added possibility to add title

Plugin Update - Station Feed 1.1
- changes in the XML output to ensure proper XML format

Enjoy
Thanks to have updated wind block with the title
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 12:41:26 PM
Hi Stewart,
I just forgot about the title, I will fix that, but it has no effect on overall functionality. And you have to provide the clientID etc. - did you read the blog instructions? I mentioned it there, the original settinngs is lost and I wrote in the blog you have to copy it again. The old way it was done cannot be used for the new GUI system.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 01:02:47 PM
Stewart, I fixed the title in the download file, but it really is irrelevant. You need to copy your old settings to the new setup, originally this was set directly in the code, now it is via GUI, but you have to specify it again.

Your site also shows some errors, looks like some files are missing, eg:
http://www.skeltonweather.uk/template/icons/logo.png

Please confirm the plugin works after the update as I cannot check it myself, i dont have NetAtmo
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on March 02, 2017, 01:20:31 PM
Appears to be working now, did you notice any more missing files
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 01:40:11 PM
Not missing, but for example the thermometer block throws a "network error", which is strange, this is not an error in the script
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 02, 2017, 01:43:13 PM
Hi Jachym,
Quote
No Paul, the "method" of the map is very simple (http://www.wxforum.net/Smileys/default/icon_smile.gif) It connects the points in the order you specify them. This is simply because some people might want a specific order, regardless of distance and second, because calculating the shortest distance between points is extremely complex once you have more points, in fact it is the type of a problem where optimum solution can only be found by brute force.
I understand that.  The point in my question was that when I had Brisbane, AU as Point 3 it connected Point 2 (in Ontario, Canada) to Point 3 by going east through Africa to Brisbane rather than going west through North America to Brisbane which is the way one would travel from here as being much closer.  In any case it correctly plots the points and shows connection lines.  I may need to look up some more relatives around the world ;)

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 02, 2017, 01:50:43 PM
The actual rendering of the path is handled by the Leaflet map script, so Im afraid I cant help you with that
Title: Meteotemplate - NOAA/NWS changes
Post by: Jáchym on March 02, 2017, 05:35:56 PM
Hi guys,

I have received several emails recently from people asking about what will happen after the planned changes to the NWS/NOAA pages on Mar 7.

At this point I can only say that the documentation and specification of what exactly is going to change and how is very unclear.

Right now it seems to me like most of the scripts should not be affected, but of course I cannot guarantee this 100%. I will therefore wait and then when the changes are implemented I will update the necessary scripts ASAP - in the end this is not the first time such thing happened and last time I was able to fix it within a few hours. It is a developer's nightmare, but that's just the way it is.
Title: Meteotemplate - updates
Post by: Jáchym on March 02, 2017, 06:58:11 PM
Hi guys,

Plugin Update - NOAA Report 2.0
   - updated version enables you to customize the precipitation thresholds

Plugin Update - Tides 1.4
   - minor bug fixes

Enjoy
Title: Meteotemplate - Block Update - Indoor 4.0 - WeatherLink support
Post by: Jáchym on March 02, 2017, 07:31:48 PM
Block Update - Indoor 4.0

Hi guys,

this block now also supports WeatherLink direct updates. No need to setup anything, the block will load settings from the wlIP plugin.

Enjoy
Title: Re: Meteotemplate - updates
Post by: semtex on March 03, 2017, 05:50:37 AM
Hi guys,

Plugin Update - Tides 1.4
   - minor bug fixes

Enjoy

Hi Jachym

I find only version 1.3
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 03, 2017, 06:06:31 AM
Thanks, fixed
Title: Meteotemplate - New NetAtmo Blocks
Post by: Jáchym on March 03, 2017, 09:14:55 AM
Hi guys,

two new blocks for NetAtmo users

New Block - NetAtmo Extra

this new block is for NetAtmo users. You need the NetAtmo plugin installed (version 2.0+) and it will show the current CO2 and noise level from your main unit.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=netAtmoExtra

New Block – NetAtmo Modules

another NetAtmo block. This one shows information about all your connected modules – their name, battery level, signal strength, last time of update etc.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=netAtmoModules

Enjoy
Title: Meteotemplate - New Plugin - Hurricanes
Post by: Jáchym on March 04, 2017, 09:41:35 AM
New Plugin - Hurricanes

Hi guys,

this new plugin is all about hurricanes. First you select a basin (Atlantic or Eastern Pacific), then you select a year (1995-present) and finally a list of hurricanes for that basin and year are loaded. After you select the one you are interested in, its path will be displayed on a map below, where you can also click the individual path points to show more info. In addition, there is a direct link to a PDF with detailed description of that particular hurricane.

For hurricanes between 1995 and 2010, only the PDF is available, maps are available for hurricanes after and including 2010.

No need to setup anything, just make sure you update your menu file so that a link can be added to your menu.

DEMO: http://www.meteotemplate.com/template/plugins/hurricanes/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on March 04, 2017, 10:29:14 AM
The map won't load for me.

http://southernctwx.com/template/plugins/hurricanes/index.php

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2017, 10:31:55 AM
Google Maps API error: InvalidKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error


You did not specify your Google Maps API key, so I doubt any maps work on your page. You need to do that. This was the first step when installing the template. No Google maps will work on your page (climate maps, EQs etc.)
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on March 04, 2017, 10:43:09 AM
Thought I did that. I'll do it again, thx.
Title: Re: Meteotemplate - New Plugin - Hurricanes
Post by: jeffm5690 on March 04, 2017, 11:16:44 AM
New Plugin - Hurricanes

Hi guys,

this new plugin is all about hurricanes. First you select a basin (Atlantic or Eastern Pacific), then you select a year (1995-present) and finally a list of hurricanes for that basin and year are loaded. After you select the one you are interested in, its path will be displayed on a map below, where you can also click the individual path points to show more info. In addition, there is a direct link to a PDF with detailed description of that particular hurricane.

For hurricanes between 1995 and 2010, only the PDF is available, maps are available for hurricanes after and including 2010.

No need to setup anything, just make sure you update your menu file so that a link can be added to your menu.

DEMO: http://www.meteotemplate.com/template/plugins/hurricanes/index.php

Enjoy

DAMN.  That is one AWESOME PLUGIN!!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2017, 11:19:37 AM
Thanks Jeff, glad you like it. Once the hurricane season is more current I will probably add more features, right now it is just history. It should also update automatically, right now there are no hurricanes for 2017 obviously, but they should start appearing automatically as the year progresses and there are some hurricanes.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 04, 2017, 11:37:06 AM
I didn't have a weather station in 2005 but DO remember Katrina and all its devastation.  It is interesting to look at some of the radar images shown in the huricanes plugin for Katrina.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2017, 11:46:14 AM
Yes, I looked up Katrina too... unfortunately the maps are only available since 2010, so for older you have to just use the PDF
Title: Meteotemplate - Plugin Update – Live Gauges – Weather Display 3.0
Post by: Jáchym on March 04, 2017, 12:13:00 PM
Plugin Update – Live Gauges – Weather Display 3.0

Hi guys,

those of you who prefer these over the Steel Series, I added the possibility to add the time of update at the top. You need to enable this in the plugin settings.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 04, 2017, 01:27:37 PM
Thanks Jeff, glad you like it. Once the hurricane season is more current I will probably add more features, right now it is just history. It should also update automatically, right now there are no hurricanes for 2017 obviously, but they should start appearing automatically as the year progresses and there are some hurricanes.

Thanks for this.  Living on the East Coast of the USA (specifically Long Island), we have had our share of storms.  Most notably was the destruction by Hurricane Sandy.  We not only had the worst flooding every recorded in the region, but that coupled with out of control fires destroyed many homes and many lives.  It is amazing to see the mother natures ability to create such destruction.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2017, 02:27:41 PM
Thank god I only know this from TV.... the major natural hazard here in CZ is floods, but that is not an issue for me in particular because I live on a hill
Title: Meteotemplate - New Plugin - Canada Lightning
Post by: Jáchym on March 04, 2017, 07:07:55 PM
New Plugin - Canada Lightning

Hi guys,

I created a new plugin, this time for Canada. It shows national and regional lightning images, updated every 10 minutes.

The plugin works in both English and French, depending on your template language selection.

DEMO: http://www.meteotemplate.com/template/plugins/canadaLightning/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 04, 2017, 09:34:57 PM
Hi Jachym,
I keep getting this message
The requested URL /download/plugins/canadaLightning_1.0.zip was not found on this server.

Other plugins/blocks are accessible.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 04, 2017, 09:54:41 PM
Grrrr... thanks for letting me know Paul, my fault... laptop failed to upload the file and I didnt double check it

Should be fine now
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 04, 2017, 10:23:02 PM

Yes all good now.


Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 05, 2017, 12:21:44 AM
F* them, I had similar experience with only one other user in the past. One out of the hundreds I have. And guess what... he was using 1and1. If they at least told you which script, one other thing - there is at least 5 users who use the template with all blocks, plugins etc. with a Raspberry Pi! If their servers are less powerful than Pi.... Obviously however, they would be more than happy for you to purchase a dedicated server. Another interesting thing is that everything was working for months and now suddenly it is taking up too much resources...

For those looking for a different hosting provider...
I am with Network Panda and have been for several years now.
Use this link to get 99%+ uptime on worldwide servers
http://www.networkpanda.com/?coupon=3ee4ad (http://www.networkpanda.com/?coupon=3ee4ad)
I don't know what discount they give for using my affiliate code, but what ever the discount, it's a lifetime discount.
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 05, 2017, 12:30:30 AM
Jachym,

I am attempting to use your template on my site.
I have downloaded the zip file and uploaded it to my server. However, after installing the Google API key and going to the setup page, when I click to do a server check, I get a "Unauthorized Access" message. that's it.
My Permissions are set at 755 (max by my hosting, which has worked well on my previous template).
I thought maybe something did not upload properly so I re-uploaded to no avail. Is something in my site possibly causing the issue or would it be something more internal with my hosting?


FYI, my template folder for the testing will be http://lightningweather.com/SL2 (http://lightningweather.com/SL2)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2017, 09:59:48 AM
Hi Jonny,
the template uses sessions to save your login information. When you enter the setup, it checks if you logged in as an admin. When it finds there is no config.php file, it means this is the very first time you are going through the setup and so there is no password yet specified, in that case, it just logs you in automatically. Then on the setup page, you set up the password and next time, you have to enter the setup page via the control panel and after logging in.

By logging in I mean that the template creates a session. Session lasts for the time you have your browser opened. This is how all pages work if there is some kind of logging in. Otherwise you would have to login everytime you enter a new page (eg. gmail - you would have to enter the password everytime you click inbox, new email etc.). Session expires when you close the browser.

In this case, your server does not have the sessions configured properly - or at least it looks like it. Because if you enter the setup page, it automatiaclly creates this session, then when you click the test server page, it already requires this session and in this case it does not find it.

Ask your provider about sessions and if they are correctly configured. Let me know how it goes.
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 05, 2017, 02:26:03 PM
Hi Jonny,
the template uses sessions to save your login information. When you enter the setup, it checks if you logged in as an admin. When it finds there is no config.php file, it means this is the very first time you are going through the setup and so there is no password yet specified, in that case, it just logs you in automatically. Then on the setup page, you set up the password and next time, you have to enter the setup page via the control panel and after logging in.

By logging in I mean that the template creates a session. Session lasts for the time you have your browser opened. This is how all pages work if there is some kind of logging in. Otherwise you would have to login everytime you enter a new page (eg. gmail - you would have to enter the password everytime you click inbox, new email etc.). Session expires when you close the browser.

In this case, your server does not have the sessions configured properly - or at least it looks like it. Because if you enter the setup page, it automatiaclly creates this session, then when you click the test server page, it already requires this session and in this case it does not find it.

Ask your provider about sessions and if they are correctly configured. Let me know how it goes.

Provider as in My ISP or my hosting provider?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2017, 02:45:37 PM
Hosting

If they are unable to help you let me know and we will do some further testing
Title: Meteotemplate - Plugin Update – Steel Series 1.6
Post by: Jáchym on March 05, 2017, 06:43:14 PM
Plugin Update – Steel Series 1.6

Hi guys,

minor fix, the UV gauge now supports decimals.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 05, 2017, 07:09:03 PM
Is anyone else getting a tremendous amount of guestbook spam posts lately?  Maybe it's my new hosting provider but I don't need viagra, implants, ambien, a hot night of fun or anyone to comment on the blog I don't have lol.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2017, 07:12:24 PM
No, but I did have a few times the same problem in the past. It is when some damn bot discovers your page and manages to bypass the captcha. Check the IP, it is usually all coming from the same IP or same IP range, then just block that range, it is possible using the * notation on the guestbook page when logged in as an admin.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 05, 2017, 07:13:29 PM
No, but I did have a few times the same problem in the past. It is when some damn bot discovers your page and manages to bypass the captcha. Check the IP, it is usually all coming from the same IP or same IP range, then just block that range, it is possible using the * notation on the guestbook page when logged in as an admin.

Thanks!  Didn't even think about banning a range.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2017, 08:03:55 PM

Until about a month ago I was getting a lot.  I did ban some ranges and just kept banning the post's IP and now much less, maybe one every few days or a couple in one day and then none for a few days.


Paul
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 05, 2017, 08:11:40 PM
So maybe a little off-topic but NASA has just released its 2017-2018 software catalogue, and everything is available for free download, without any royalty or copyright fees.

This is the third time NASA has released such a compilation as part of its Technology Transfer Program.

https://technology.nasa.gov/NASA_Software_Catalog_2017-18.pdf
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 05, 2017, 08:14:18 PM
I have seen it,  there is like literally thousands of products.

Most of it are normal desktop applications,  see if you can find something you think could be useful and possible to add to meteotemplate and let me know,  some usable online Api
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 05, 2017, 08:53:19 PM
I have seen it,  there is like literally thousands of products.

Most of it are normal desktop applications,  see if you can find something you think could be useful and possible to add to meteotemplate and let me know,  some usable online Api

The one thing I did see was the MODUS Fire API.  No sure if this would fit with the other such plugins - volcanoes, earthquakes, avalanche, etc.

https://data.nasa.gov/external-dataset?datasetId=psbc-zh9i
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 05, 2017, 10:18:49 PM

Pretty neat...


Enjoy,
Paul
Title: Meteotemplate - Block Update – Webcam 4.0
Post by: Jáchym on March 06, 2017, 10:40:17 AM
Block Update – Webcam 4.0

Hi guys,

the updated version has some new features:

- specify the GPS coordinates of each webcam image and an icon with a globe will be displayed in the bottom right corner, which when clicked will show a map with camera location
- possibility to disable the change of opacity

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=webcam

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 06, 2017, 12:18:26 PM
Is anyone else getting a tremendous amount of guestbook spam posts lately?  Maybe it's my new hosting provider but I don't need viagra, implants, ambien, a hot night of fun or anyone to comment on the blog I don't have lol.
Here I am.
Every day I've almost three/four spam messages.
I've propoused to insert something like a filter to approve or not a guestbook messages or, in alternative, a much more restrict captcha.

This plugins is unusable as it is.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 06, 2017, 12:26:40 PM
Hi Alessandro,
we discussed this in the past. There is a captcha already, and I am not saying it is 100% perfect, but it is the most effective one I tried.

There is already the option to only display messages after approval.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 06, 2017, 12:36:30 PM
Hi Alessandro,
we discussed this in the past. There is a captcha already, and I am not saying it is 100% perfect, but it is the most effective one I tried.

There is already the option to only display messages after approval.
Ohhhh, I didn't see it..... in guestbook options?
When I come back home I'll give an eye.
Thanks Jachym.
Regards,


Alessandro
Title: Meteotemplate - help needed
Post by: Jáchym on March 06, 2017, 05:46:43 PM
Hi guys,

I read the info about the changes in the NOAA/NWS API. Based on that I think that actually none of the scripts should be affected, but I would still ask you to please check all your US related blocks and plugins and post any problems you see.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 06, 2017, 07:47:29 PM
Ok...  now this is cool...

http://www.goes-r.gov/mission/firstGLM_images.html
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 06, 2017, 08:05:47 PM
Yeah! Thats amazing
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 06, 2017, 08:22:03 PM
That lightning map will change how we look at storms in the real near future..

Sent from my SM-G935R4 using Tapatalk

Title: Meteotemplate - New Block – Station Records
Post by: Jáchym on March 07, 2017, 06:47:07 AM
New Block – Station Records

Hi guys,

this block shows the absolute max/min and avg for the current day in the year and year when this was measured and if there is data available for yesterday and tomorrow it shows this too.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationRecords

Enjoy
Title: Meteotemplate - Block Update – Webcam 5.0
Post by: Jáchym on March 07, 2017, 07:49:36 AM
Block Update – Webcam 5.0

Hi guys,

based on your suggestions I updated the webcam block.

New:
- possibility to enable/disable the location visulizer for each image separately
- possibility to define the position of the globe that triggers the map (top left, top right, bottom left, bottom right corner, or below the image)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 07, 2017, 09:21:42 AM
Jachym,
Would it be possible on Station Records to have the date m.d instead of d.m
Thanks,
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 07, 2017, 09:32:48 AM
Hi,
I guess I could add that, the problem was that in the template, there are 3 date/time formats in the main settings, none of which is usable in this case:

- date separately
- time separately
- date + time

the problem here is that we obviously need date, but all the date formats in the Main settings also include the year, which in this case would be misleading
Title: Meteotemplate - Block Update – Warnings Australia 2.1
Post by: Jáchym on March 07, 2017, 01:27:50 PM
Block Update – Warnings Australia 2.1

Hi guys,

just added a few extra functions which load the detailed warning because I noticed they can have more than just one format.

Enjoy
Title: Meteotemplate - Block Update - Dynamic Text 2.2
Post by: Jáchym on March 07, 2017, 05:36:13 PM
Block Update - Dynamic Text 2.2


Hi guys,

bug fixes 😉

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 07, 2017, 06:08:12 PM
I think my Meteotemplate is all up to date with blocks and plugins... including the Mobile App on my Galaxy!


Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 07:18:27 AM
Block Update – Station Records 2.0

Hi guys,

based on your suggestions I added possibility to set the date format for this block.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 08, 2017, 09:30:40 AM
Hi Jachym,
is it possible to have this plugin http://www.meteopistoia.it/plugins/liveGaugesWD/index.php like a block?
It will be very interesting to install it on mobile version.

I've already one but it's not in realtime: http://www.meteopistoia.it/indexMobile.php
Please, let me know and if it's possible in the future customize the position of single gauge.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 09:33:22 AM
Hi Alessandro,
that would not work, but you can use the gauges block or the steelSeries block, those work fine on mobile display too.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 08, 2017, 09:36:30 AM
Hi Alessandro,
that would not work, but you can use the gauges block or the steelSeries block, those work fine on mobile display too.

I believed steelSeries not in realtime but i was wrong  #-o
Thanks you so much.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 09:55:46 AM
It should be
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on March 08, 2017, 10:30:52 AM
Hi Jachym

i just made the latest updates blocks and plugins
for my first site
http://valdefench57sgz.franceserv.com/meteotemplate/indexDesktop.php

help I lost my menu on the dashboard !
an idea for recovery without doing too much "trouble" ?
thanks in advance
Best regards
fto bianco57
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 10:49:22 AM
Bianco, the problem is that you probably completely ignored the new menu section in the wiki.

In the update instructions I included that it is absolutely essential that you read the Menu section in the wiki, the menu in version 11 is completely new - it looks similar, but it works completely differently.

There is also a videotutorial for this.

Here: http://www.meteotemplate.com/web/wiki/wiki7GB.php#menuSection
And here: https://www.youtube.com/watch?v=qGNPolq_LQc&index=20&list=PLbC4jIYzmOyZ27NfE0URrg49EryG74mpU
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on March 08, 2017, 10:57:40 AM
Jachym i reassure you i understood the new operation
with the difference that in my management console i have the "menus" ?!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 11:03:27 AM
OK I see,
looking at your site, you made some modifications in the header/menu file, so it is hard to tell what could happen when you are not using the original code, what exactly did you do
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 11:05:05 AM
Bianco also check your custom VP2 block you created, Im not sure it is working correctly, the numbers are just changin every second, including sunrise time
Title: Re: Meteotemplate - new free website template
Post by: bianconero57 on March 08, 2017, 11:34:45 AM
nothing special except the banner scroll at the beginning of the page but it works without bug on my second site
for al console VP2 live it is a simple "gif" it must click on it to be redirected on the external link  ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 11:50:25 AM
So what did you do when it stopped working
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 08, 2017, 03:29:24 PM
Looks like I too will be migrating away from 1&1 Hosting, after a week of "500 Internal Server Error" and countless emails back and forth I got the following reply:
As checking your account found that you have already reached the maximum php memory of your package. And also found that on your webisite has too many processes that's why it is getting errors. Suggest that to do something with your script using compatible version with old php version as checked you are already using php version 7 also check scripts of the site.

Not very useful!

 ](*,) ](*,) ](*,)
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 08, 2017, 04:03:02 PM
Looks like I too will be migrating away from 1&1 Hosting, after a week of "500 Internal Server Error" and countless emails back and forth I got the following reply:
As checking your account found that you have already reached the maximum php memory of your package. And also found that on your webisite has too many processes that's why it is getting errors. Suggest that to do something with your script using compatible version with old php version as checked you are already using php version 7 also check scripts of the site.

Not very useful!

 ](*,) ](*,) ](*,)


Aside of a few minor issues (all now resolved), I am using a site called Network Panda for my hosting. Been using them for several years now.
Free SSL add on, and I have never gone over my disk space. 99-100% uptime with servers across the world.
http://www.networkpanda.com/?coupon=3ee4ad
BTW, I got a discount when I signed up. Have been paying the same amount ($28 USD/yr) for about 4 years now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 04:51:48 PM
Looks like I too will be migrating away from 1&1 Hosting, after a week of "500 Internal Server Error" and countless emails back and forth I got the following reply:
As checking your account found that you have already reached the maximum php memory of your package. And also found that on your webisite has too many processes that's why it is getting errors. Suggest that to do something with your script using compatible version with old php version as checked you are already using php version 7 also check scripts of the site.

Not very useful!

 ](*,) ](*,) ](*,)


Ridiculous... and it is definitely their fault... no-one else has any problems, only people with 1and1 and same for Saratoga, this is not a script issue.

Let me know if you then need help with the migration. You will need to download all files via FTP and then re-upload them, only thing to change then is the path in Main settings. More problematic is the MySQL, that has to be exported and imported separately. Let me know if you need help with that.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 08, 2017, 05:34:44 PM
Hi Jachym,
about dynamic text block....is it possible to change text color and add a custom icon (instead of mticon- or fa fa-) like in the menu?
Opss, last question.
Is it also possible to insert an interval of date to show a particular text?
Thanks in advance,

P.S.
Possible bug.
When i enter on the setup, all triggers goes "enable" even if it was disable.
Please, let me know.

Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 08, 2017, 06:43:35 PM
Hi Alessandro,
make sure you download the latest version and always make sure you update ALL files, including the setup.php, when updating block or plugin, always update everything, only your settings.php will stay original.
Then go to setup and disable/enable it again, I think there was a bug in version 2.1.

Text color etc. - yes this is possible because you can use HTML tags in the message. So for example you can use something like

it will <b>rain</b>

and the rain will be in bold, you can use "span" to make colors etc.
Title: Meteotemplate - Plugin Update - User Map 4.0
Post by: Jáchym on March 08, 2017, 06:44:39 PM
Plugin Update - User Map 4.0

Hi guys,

major update of this plugin.

Changes/New:

- converted to Leaflet maps
- clicking a user in the table now shows the corresponding marker and triggers the popup in the map
- clicking country flag filters the users in the table
- major code optimization (now loads much faster - tested - I can view it on my laptop again even with 500+ markers :D)
- added several base map layers

DEMO: http://www.meteotemplate.com/template/plugins/userMap/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 08, 2017, 07:49:18 PM
Looks like I too will be migrating away from 1&1 Hosting, after a week of "500 Internal Server Error" and countless emails back and forth I got the following reply:
As checking your account found that you have already reached the maximum php memory of your package. And also found that on your webisite has too many processes that's why it is getting errors. Suggest that to do something with your script using compatible version with old php version as checked you are already using php version 7 also check scripts of the site.

Not very useful!

 ](*,) ](*,) ](*,)


Ridiculous... and it is definitely their fault... no-one else has any problems, only people with 1and1 and same for Saratoga, this is not a script issue.

Let me know if you then need help with the migration. You will need to download all files via FTP and then re-upload them, only thing to change then is the path in Main settings. More problematic is the MySQL, that has to be exported and imported separately. Let me know if you need help with that.
Thanks, the new hosting outfit is Canadian and have offered to do the migration for free!  We'll see, I've not yet officially pulled the trigger on migrating but plan to do so in the AM.
Right after I download a copy of everything and export a *.sql of the database so I've an extra copy.

Will let you know if I need help.
Title: Meteotemplate - Block Update - GrLevelX 2.0
Post by: Jáchym on March 09, 2017, 07:10:41 AM
Block Update - GrLevelX 2.0

Hi guys,

update of this block includes:

- when only one product type is selected, the select product box is hidden
- image can be clicked and zoomed in
- when no current images from any of the product are found, the entire block will disappear and not be visible at all on your homepage

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=grLevelX

Enjoy
Title: Meteotemplate - Block Update - Station Data 7.0
Post by: Jáchym on March 09, 2017, 10:32:46 AM
Block Update - Station Data 7.0

Hi guys,

in the new version I added dates for the max/day values. If there are more days with the max, it will just say "more days", this is because otherwise the block could get very long, for example if it does not rain for the first 10 days in a month, you would see 10 days. For the averages for the day, it will show the year when max was observed.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 09, 2017, 12:21:30 PM
Jachym,

Do we need a Bing API for the user map?  I see there is a place to put it in the settings but the map seems to be working.

On a personal note:
My grandson has just signed to play American football for the Prague Lions.  I understand you are not too interested in sports, but I think it is cool.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2017, 12:25:37 PM
Jachym,

Do we need a Bing API for the user map?  I see there is a place to put it in the settings but the map seems to be working.

On a personal note:
My grandson has just signed to play American football for the Prague Lions.  I understand you are not too interested in sports, but I think it is cool.

Jay

Hi Jay,
it is for the user globe.

Prague Lions :D I assume it is not the Prague I know right? :D
Title: Meteotemplate - New Plugin - Canada Weather Summaries
Post by: Jáchym on March 09, 2017, 12:26:06 PM
New Plugin - Canada Weather Summaries

Hi guys,

this new plugin shows detailed textual weather summaries for all the provinces. In the setup you can select the location loaded by default. The reports are cached for 6 hours and the plugin is fully localized to both English and French depending on your current template language selection.

DEMO: http://www.meteotemplate.com/template/plugins/canadaSummary/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 09, 2017, 12:41:30 PM
Jachym,

Yes it is the Prague you know.

Which of the API do I need for this.
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2017, 12:45:30 PM
Jachym,

Yes it is the Prague you know.

Which of the API do I need for this.
Jay

Oh nice! :)
See, i didnt even know there is such team :D I only know Sparta and Slavia, the main soccer and hockey teams :-)

The Bing API key is for the user globe, it is Bing Maps API key, but the globe I think works even without the key :D
Title: Re: Meteotemplate - New Plugin - Canada Weather Summaries
Post by: pimohdaimaoh on March 09, 2017, 12:47:18 PM
New Plugin - Canada Weather Summaries

Hi guys,

this new plugin shows detailed textual weather summaries for all the provinces. In the setup you can select the location loaded by default. The reports are cached for 6 hours and the plugin is fully localized to both English and French depending on your current template language selection.

DEMO: http://www.meteotemplate.com/template/plugins/canadaSummary/

Enjoy


Nice update but too Bad for me, since most of it are available for europe countries, canada, (U.S) and theres none that kind of monitoring program in the Philippines, many of countries almost they have all monitoring systems including fire alarm levels, air quality, lake radar, water precipitation levels except in my country. so if you view my site, they are too few, not all of them I can attached to my weather site even I like to add for more menu's and selections of plugins. but I hope someday our government pursue to add more weather and climate monitoring systems.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2017, 01:07:07 PM
I disagree,

looking at your official NWS - http://www.pagasa.dost.gov.ph/ - there is quite a lot you can do, radars, warnings etc.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 09, 2017, 01:09:54 PM
Jachym,

I got my Bing API.  The page worked but the Earth wasn't showing without it.  The station points were just in space in a round design.  All is well now.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2017, 01:13:11 PM
OK, good, i know it used to work even without a key, but it was probably just temporary and I added the key there just for that reason...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 09, 2017, 02:45:38 PM
I have seen it,  there is like literally thousands of products.

Most of it are normal desktop applications,  see if you can find something you think could be useful and possible to add to meteotemplate and let me know,  some usable online Api

The one thing I did see was the MODUS Fire API.  No sure if this would fit with the other such plugins - volcanoes, earthquakes, avalanche, etc.

https://data.nasa.gov/external-dataset?datasetId=psbc-zh9i

So I was looking at the data, but... Im not really sure this is accurate, for example, it is freezing here and it shows several places in my country as "fire detected" and there is many fires all over Europe, especially Ukraine and Russia... i think this is useless really...

You can check yourself and let me know guys if it works for your area
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on March 09, 2017, 09:34:19 PM
I disagree,

looking at your official NWS - http://www.pagasa.dost.gov.ph/ - there is quite a lot you can do, radars, warnings etc.

Yes you're right, and that supposed to be my Idea couple of months ago, but PAGASA doesn't allow me to link or use their weather tab forecasts as a third party, (I was recieve their letter  last year) regarding that request, but all of their daily advisories, climate, MESO, all of link tabs list on their site with PDF embedded that their weather secretaries typed written with PDF links will not allow us to re link on our sites, PAGASA only allow us to use their "Rainfall maps,Earthquake, Tides predictions, doppler RADARS, rain assessments", other than that are not not allowed, they have laws have passing last year's petition regarding re linking their daily type weather forcast to other sites which disallow ANY third party / amateurs to use or else will be liable for government agency law sanctions. so my proposed to get the daily advisories for example are limited and no any chance to me and to other weather hobbyist in my country. If you see our co weather hobbyist here, he was sanctioned by PAGASA last year which resulting his web are removed, and he allowed to hyperlink all PAGASA data before he gets jailed http://www.typhoon2000.ph/ <------ He's the one of very active weather hobbyist forecaster in our country, but sadly he was WARNED by PAGASA a year ago. in the end all of his DATA are mostly all directed as hyperlinked and not scripted or plug- in programs that are allowed. Hope they change their minds someday.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 09, 2017, 11:01:45 PM
Looks like I too will be migrating away from 1&1 Hosting, after a week of "500 Internal Server Error" and countless emails back and forth I got the following reply:
As checking your account found that you have already reached the maximum php memory of your package. And also found that on your webisite has too many processes that's why it is getting errors. Suggest that to do something with your script using compatible version with old php version as checked you are already using php version 7 also check scripts of the site.

Not very useful!

 ](*,) ](*,) ](*,)


After leaving them and moving to inmotion, I have not had any problems!  1&1 sucks.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 09, 2017, 11:05:17 PM
I have seen it,  there is like literally thousands of products.

Most of it are normal desktop applications,  see if you can find something you think could be useful and possible to add to meteotemplate and let me know,  some usable online Api

The one thing I did see was the MODUS Fire API.  No sure if this would fit with the other such plugins - volcanoes, earthquakes, avalanche, etc.

https://data.nasa.gov/external-dataset?datasetId=psbc-zh9i

So I was looking at the data, but... Im not really sure this is accurate, for example, it is freezing here and it shows several places in my country as "fire detected" and there is many fires all over Europe, especially Ukraine and Russia... i think this is useless really...

You can check yourself and let me know guys if it works for your area

Lol.  Maybe the whole world is burning...  lol
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on March 10, 2017, 12:40:55 AM
I have seen it,  there is like literally thousands of products.

Most of it are normal desktop applications,  see if you can find something you think could be useful and possible to add to meteotemplate and let me know,  some usable online Api

The one thing I did see was the MODUS Fire API.  No sure if this would fit with the other such plugins - volcanoes, earthquakes, avalanche, etc.

https://data.nasa.gov/external-dataset?datasetId=psbc-zh9i

So I was looking at the data, but... Im not really sure this is accurate, for example, it is freezing here and it shows several places in my country as "fire detected" and there is many fires all over Europe, especially Ukraine and Russia... i think this is useless really...

You can check yourself and let me know guys if it works for your area


im looking to its DATA and I think its not accurate, because our country never had fire bushes incident for couple of months but the data shows "Detected" too even it doesnt. or maybe because summer season in our country arrives?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 10, 2017, 05:41:31 AM
It is only based on reflectivity, which is a very poor indicator of fires, it could be other things as well
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 10, 2017, 05:42:05 AM
I disagree,

looking at your official NWS - http://www.pagasa.dost.gov.ph/ - there is quite a lot you can do, radars, warnings etc.

Yes you're right, and that supposed to be my Idea couple of months ago, but PAGASA doesn't allow me to link or use their weather tab forecasts as a third party, (I was recieve their letter  last year) regarding that request, but all of their daily advisories, climate, MESO, all of link tabs list on their site with PDF embedded that their weather secretaries typed written with PDF links will not allow us to re link on our sites, PAGASA only allow us to use their "Rainfall maps,Earthquake, Tides predictions, doppler RADARS, rain assessments", other than that are not not allowed, they have laws have passing last year's petition regarding re linking their daily type weather forcast to other sites which disallow ANY third party / amateurs to use or else will be liable for government agency law sanctions. so my proposed to get the daily advisories for example are limited and no any chance to me and to other weather hobbyist in my country. If you see our co weather hobbyist here, he was sanctioned by PAGASA last year which resulting his web are removed, and he allowed to hyperlink all PAGASA data before he gets jailed http://www.typhoon2000.ph/ <------ He's the one of very active weather hobbyist forecaster in our country, but sadly he was WARNED by PAGASA a year ago. in the end all of his DATA are mostly all directed as hyperlinked and not scripted or plug- in programs that are allowed. Hope they change their minds someday.

"only allow us to use their "Rainfall maps,Earthquake, Tides predictions, doppler RADARS, rain assessments""

thats quite good too
Title: Meteotemplate - Block Update - Current Conditions 9.0
Post by: Jáchym on March 10, 2017, 07:54:34 AM
Block Update - Current Conditions 9.0

Hi guys,

updated version of the Current Conditions block also allows you to enable/disable trends. In the block settings, if you enable this, you also specify the number of hours. Then the script will look this number of hours back and calculate the trend of the corresponding parameter in that period. For wind and gust it will not use absolute values but compare the averages from the first half of that period and the second half of that period.

Example:
You specify the number of hours as 3. The temperature trend will be calculated as the difference between current temperature and the temperature 3 hours ago. Wind trend will be calculated as the difference between the wind values from the first 1.5 hours and the second 1.5 hours etc.

There are some tolerances built-in, so if for example the temperature difference is something like 0.2 degrees, it will show as "steady". Same for other parameters (the tolerance is set differently for various parameters and units).

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Enjoy
Title: Meteotemplate - Block Update – Lightning 3.0
Post by: Jáchym on March 10, 2017, 11:31:29 AM
Block Update – Lightning 3.0

Hi guys,

this block now also supports some regional images (not just continents).

New:
Europe
- United Kingdom
- Scandinavia
- Southwest Europe
- Southeast Europe
- Central Europe
- Eastern Europe

North America
- Florida
- California
- New York
- Texas
- Minnesota
- Domincan Republic

Asia
- Japan

Africa
- South Africa

Oceania
- New Zealand
- New South Wales

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=lightning

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 10, 2017, 02:49:52 PM
Jachym,

I'm not sure what I am doing wrong, but my Google API key is being rejected.
The referrer(s) I am using are
lightningweather.com
www.lightningweather.com/ (http://www.lightningweather.com/)*
*.lightningweather.com/*
lightningweather.com/*

the Javascript console says "Your site URL to be authorized".
What am I missing?   ](*,) ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 10, 2017, 05:37:52 PM
try adding this:

*lightningweather.com/*
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 10, 2017, 06:11:31 PM
try adding this:

*lightningweather.com/*
Already have. I've used every combination including
lightningweather.com/SL2/
lightningweather.com/SL2/*
I've added the star in front of the 2 above as combination as well.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 10, 2017, 06:28:45 PM
Jonny I cannot access your site again, did you blacklist my IP again? I need to see what it is doing.
Title: Re: Meteotemplate - Looking for a guinea pig :D
Post by: Jáchym on March 10, 2017, 06:30:47 PM
I need a volunteer who is using Twitter and uses the Notifications plugin. If interested PM or email.

That was quick :D
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 11, 2017, 07:20:51 AM
Jonny I cannot access your site again, did you blacklist my IP again? I need to see what it is doing.
I sent you a PM Jáchym

Sent from my SM-G935R4 using Tapatalk

Title: Meteotemplate - Downloads
Post by: Jáchym on March 11, 2017, 10:15:21 AM
Hi guys,

some of you might have noticed already, I have made a change in the Downloads section.

The main template and update packages can now only be downloaded with a download token.

To get a token, all you need to do is email me and this token will be then valid for 24 hours.

Why this change?

First of all, the main reason is that the main template file is approximately 50MB large. It was unfortunately impossible to filter out all the bots and this large file was downloaded almost every minute, which as you can imagine was putting an extreme load and slowed down the server. Most of these downloads were from IPs from China, India, Ukraine and Russia, but because there could be a user from this country too, I am not a big fan of generally blocking entire country IP range (not to mention that a relatively large percentage was also from the U.S. and EU and these were not real users).

Second, a similar problem was now when a new version was released. There is now over 525 of you and when I released a new version, I could see in Google Analytics that up to 35 people were suddenly trying to download the new file. My server has a maximum of 5 parallel PHP script executions so this is again impossible to handle. Introducing the download tokens will distribute the downloads more evenly in terms of time. The only downside is that you might have to wait a while before I send you the token, but as you know me, I will always try to reply within max 24 hours.

Third, it did happen in the past that after a new version release a major bug was discovered. It was at that moment a big problem because many people have already downloaded the script, I had no idea who and it was all very problematic. The above mentioned distribution in time will help to overcome these issues (which can never be completely avoided) and I will know exactly who has already downladed the buggy file and who I need to contact to apply a fix.

Blocks and plugins will not need any token and will remain as they are now.

You will of course get the download token for free and it will be valid always for 24h. Each person gets a unique token, so it will not work if you try to use it a month later for a new download.

Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 11, 2017, 11:18:28 AM
Does anyone have any idea how to use this?

https://demo.cocorahs.org/Help

I was just looking at it, but there is hardly any documentation as to what "id" is etc. Or did I just find something that is still not finished?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 11, 2017, 01:18:47 PM
I can't access that cocorahs site due to security issues.  I have emailed my Cocorahs Canada contact.

Paul
Title: Meteotemplate - Block Update – Station Records 3.0
Post by: Jáchym on March 11, 2017, 03:18:03 PM
Block Update – Station Records 3.0

Hi guys,

major update of this block. In addition to temperature it is now possible to dynamically switch between temperature, humidity, pressure, wind speed/gust, feels like and dew point. I have also included tooltips for the icons and added a function which will prevent the block to be too long in case there were too many yrs with the same value (max displayed number of years is 3, if there is more it will just show “more than 3 years”)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationRecords

Enjoy

Title: Re: Meteotemplate - Downloads
Post by: Colin on March 12, 2017, 03:26:18 AM
Hi guys,

some of you might have noticed already, I have made a change in the Downloads section.

The main template and update packages can now only be downloaded with a download token.

To get a token, all you need to do is email me and this token will be then valid for 24 hours.




Jachym

I would of thought having the files available on Dropbox or similar would ease the load on your server.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2017, 04:47:14 AM
I don't use Dropbox,  theoretically I could use my GDrive,  but just like I created meteotemplate to have data on my server,  not relying on anyone,  I prefer the same with Downloads.

And,  the load was not the only reason I gave above.

Anyone can ask for a token and they will get one,  I will try within 24h
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 12, 2017, 05:22:38 AM
That is your call of course Jachym, as it is your Meteotemplate. It just makes sense that if your server cannot handle 30+ downloads, then use something like Dropbox. As your user base gets bigger, the problems you have had in the past will only get bigger. New users may not want to wait up to 24 hours to get a token.
The other reasons you gave could easily be remedied by other means.
I am not trying to be critical, just offering a suggestion based on what I think about getting prior permission to download.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2017, 08:22:39 AM
Hi Colin,
no, thats fine, I appreciate your feedback.
You are right in that server load could be solved by other means (though Im not a big fan of storing files using third-party services like GDrive, Dropbox, OneDrive, CDN etc.)
However those were not the only reasons.
This download token system will make my life a lot easier, solve all the problems I mentioned and based on the feedback I got, vast majority of users do not have a problem with it. If someone cannot wait 24h (which is maximum, usually you will get yours in a matter of minutes/hours depending what time of the day you ask for it), then all I can say Im afraid is -noone is forcing them...
New users usually contact me because they have questions anyway before starting to install it.

Jachym
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 12, 2017, 05:55:37 PM
Hi guys,
meteogram block seems to be fault.
Dose anyone have this problem?
Regards,



Alessandro
Title: Meteotemplate 12.0 Orange - direct support by SW!
Post by: Jáchym on March 12, 2017, 06:09:04 PM
Meteotemplate 12.0 Orange - direct support by SW!

Hi guys,

I have just released a new version of the template – Meteotemplate 12.0 Orange! Some of you might think this is a rather very small update, however, in reality it is actually a major one and it was very difficult this time to prepare it – mostly because it did not depend just on me and I had to make sure everything is well co-ordinated and synchronized.

This update includes practically just bug fixes and one major new thing – a new API. If you want to read what the bug fixes are, they are listed at the bottom of this post, now I will talk about the API.

This new API now allows developers of software to built-in Meteotemplate updates into their SW. In practice this means you will only select Meteotemplate in the corresponding SW, specify your update password and that´s it. No CRON jobs, no set up in Meteotemplate, all working automatically.

In addition there are some other major advantages, so let´s just briefly look at those:
- the API supports many extra sensors and parameters including unlimited number of extra temperature sensors, humidity sensors, leaf wetness, soil temperature, soil moisture, sunshine duration, levels of various gases, noise level, lightning etc etc. This can now all be optionally sent to the API and I can create blocks/plugins that will use this information
- no CRON jobs – updates will be triggered by the SW directly using HTTP GET request (note: this is dealing with the updates, if you are using any extra plugins that require cron jobs, eg. webcam, notifications etc, you will still need a CRON job for that)
- much higher reliability – using FTP is always problematic, it is unreliable and slow. HTTP GET request, which is what this API uses, is much faster and reliable. For example, this new API also supports sending data in packages (each sensor can send separately at different intervals and the data will be available in real-time as well as cached for the database) and this interval can be as short as 2 seconds (tested).
- higher accuracy – the api script has been improved and for example precipitation is now calculated more accurately (the update script is slightly problematic when logging rain during the last 5 minutes of the day), wind gust should now exactly match the real maximum
- nicely rounded times – the api will save data to the database in nicely rounded times, eg: 11:00:00, 11:05:00, 11:10:00 etc.
- error handling – improved data validation and error handling
- API uses standardized units and variable names and is well documented in the wiki now, so any developer can easily create a script to update Meteotemplate or integrate it into their SW. People who know how to program and use some own system of getting data from their PWS can easily update the template now too.

These were just some of the advantages. One very important thing – after you update to v12, the original scripts for updates are still available so it is up to you when you decide to switch from update to API if whatever SW you use supports this.

As you can imagine, this time it was not just up to me, but I have already been in touch with several developers and we were working together on this, so here is some information about software support for SW whose developer I have been in touch with:

Meteobridgefull support of the API, an update to your MB device is available, reboot your device
Weather Display full support of the API, an update of WD should be available now
WeeWxfull support of the API using an extra package, already available for download
WeatherCatfull support of the API (an update of WC will be available whenever Stu has time for this, the scripts are ready and it should be in a matter of weeks or max one month)
Cumulus – I have been in touch with Steve, but unfortunately Cumulus will not support the new API scripts

I have not contacted anyone else, but as mentioned above, the API is now fully documented in the WIKI so if you are using some other means of updates or getting data from your PWS, you can contact the developer and discuss it with them and of course also let me know so that I can add this information to the wiki for others.

If you are using one of the SW that will support the new API, then until an update is available and you install it, just leave everything as it is now. The template will be updated using the original update.php.

Then, once you switch to the api script, all you will have to provide is the API URL and update password.

- API URL – is simply api.php and this file is in your template root folder, alongside indexDesktop, so the URL is something like …../api.php.
- UPDATE PASSWORD – the update password specified in the Main settings.

After you do this MAKE SURE YOU DISABLE the CRON job. The updates will be triggered automatically by the SW and if you use the update.php it will make a mess in your database updates. Again, as mentioned above, we are talking about the CRON job that is updating your database (either update.php or the corresponding update script if you are using any of the plugins for updates – WeatherCat etc.). Do not disable any other CRON jobs you might have – the cron.php, updating your webcam plugin, notifications plugin etc. That should stay as it is now!

If you are using Meteobridge, you can then disable the original HTTP requests.

ONE LAST VERY IMPORTANT THING!

The API opens much wider potential for future blocks, plugins etc. This however required some changes in the way it saves data. What this means is that I will need to update those blocks and plugins, which use the realtime files – in particular I am talking about clientraw, mbLive and realtimeMT (WD, MB, WeatherCat). After you switch to this new API script, you need to change the update type of these blocks and plugins to “db”, so that they use your database.

This of course will only be temporary, I will update all the blocks and plugins as soon as I can, hopefully in a matter of days or a week max.

Bug fixes/improvements in v12:
menu check for available pages fixed
climate/index.php – bug fixes for missing values
install/setup.php – prevent autocomplete of the fields by the browser, which often overwritten the original MySQL details
annual report – fixed max values, fixed monthly rain values
climate analysis – optimization to prevent data overflow
mobile header – bug fixes
trends page – sparkline graphs fix
install/setup.php – improved compatibility with https pages
indexDesktop.php – fixed font color for menu blocks when using light theme
icons – added Davis Vantage Vue
header.php – fixed sunrise/sunset calculations
pages/astronomy/sun – fixed graphs (due to Highcharts update)
daily report – fixed number of decimal places for pressure when using inHg
update/testUpdate.php – fixed an issue when using custom file type update

As I said above, this was a difficult update, changing the update scripts is always potentially problematic and one has to make absolutely sure it works fine. Hopefully it will as it has been tested by several users, at this point I would like to thank (in particular order) to Luc, Brian (WD), Stu (WeatherCat), Matt (WeeWx), Arthur, Reinhard and Boris (MB) for their cooperation and help.

I have a full list of features to add, based on the January questionnaire, but I will leave those for v13. In this update I wanted to concentrate on the API to make sure it works perfectly.

Update instructions - more info in the blog

Downloading Files

As I mentioned yesterday, for downloading the update you will need a token. I will get back to you within 24 hours so please be patient. First come, first serve, but I have to make sure I do this in batches so that there is not too many people trying to download this at the same time and I also work every day so in case I just don´t see your email immediately, please be patient, I will definitely get back to you.

The other reason for this is that this update is potentially problematic, updates is something that just has to work, so in case I see any issues, I will immediately stop issuing the download tokens until the problem is resolved.

Enjoy!

Jachym
Title: Re: Meteotemplate 12.0 Orange - direct support by SW!
Post by: vreihen on March 12, 2017, 07:47:11 PM
WeeWxfull support of the API using an extra package, already available for download[//quote]

Matthew Wall has the weewx stuff (V0.8 ) on his github page here:

https://github.com/matthewwall/weewx-meteotemplate (https://github.com/matthewwall/weewx-meteotemplate)

I know that Jáchym has been working on this since before Christmas, and would like to thank him, Matthew Wall, and all of the others publicly for the effort in making it happen.....
Title: Meteotemplate - Block Update - Current Conditions 10.0
Post by: Jáchym on March 12, 2017, 07:53:54 PM
Block Update - Current Conditions 10.0

Hi guys,

added support for Meteotemplate API :-)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 12, 2017, 08:04:13 PM
Jachym,
New current conditions block works great.  Have it updating every 30 seconds.  Really nice.
Thanks,
Tom
Title: Meteotemplate - API update!
Post by: Jáchym on March 12, 2017, 09:11:40 PM
Hi guys,

just a quick update with regards to the new API.

The api.php script is working fine as confirmed by several users of Weather Display and WeeWx.

Unfortunately, there seems to be a major bug in Meteobridge update Boris released today. The problem is that your MT settings is not saved. Ive been testing the MB update for over 2 weeks and it works fine, however Boris probably made some other changes in the final release, which is currently not functional. Given my MB works it is not a problem on my side.

There is not much I can do right now, the script is fine and fix has to be made with MB.

I emailed Boris, but he is in the same timezone as me and given it is after 2AM I am afraid he is just wasting time in bed right now and it will not be fixed until morning :D. You can of course update your template, just do not yet change the update script to the api.php.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on March 12, 2017, 10:31:47 PM
Cool, you are keeping your template updated regularly, I wish you could also make a whole tamplate that suitable to asian countires or for trophical countries who doesnt get snow or winter seasons, because It may mis interpret to some that your weather station is installed to a winter / snowy countires. Right now I'm trying to modify my seratoga version of my ajax dashboard into more detailed version but I have still finding ways to disable those snow / winter script since im living in SE asia which doesnt have windter season. well I hope so.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 12, 2017, 10:42:16 PM
Read how the template works,   there is no version for continents,  it is global,  you install what you want

See meteotemplate.com
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 12, 2017, 11:12:37 PM
As a committed Cumulus user what are the issues by updating?  I understand any of the features using the API would not be available but will the newer versions of Meteotemplate.and blocks and plugins continue to work and be available?


Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 06:24:44 AM
Hi Paul,
yes, absolutely. I am not removing anything, or even changing, Im just adding stuff. Whatever worked for you will work. Just that the API will provide some extra features and the updates to db will be more accurate, more reliable, faster etc. But if you dont use the API, you will simply have whatever you had until now.
Title: Meteotemplate - Block Update - Gauges 5.0
Post by: Jáchym on March 13, 2017, 06:52:09 AM
Block Update - Gauges 5.0

Hi guys,

added support for Meteotemplate API :-)

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 07:00:59 AM
Cool, you are keeping your template updated regularly, I wish you could also make a whole tamplate that suitable to asian countires or for trophical countries who doesnt get snow or winter seasons, because It may mis interpret to some that your weather station is installed to a winter / snowy countires. Right now I'm trying to modify my seratoga version of my ajax dashboard into more detailed version but I have still finding ways to disable those snow / winter script since im living in SE asia which doesnt have windter season. well I hope so.

Meteotemplate does not work like this. There is no "US" version or "EU" version etc. There is just one template and you choose the blocks you want. If you don´t want snow, you dont install it. If you want hurricane/tropical cyclone block instead, then you install that. Might be useful to look to the wiki. So "making a whole new template suitable for Asian countries" is nonsense, i already have users from Asia and they simply choose what interests them. I am not a fan of some special template versions for each region. It should work for the whole world and have possibility to choose features you want, which is what I did with Meteotemplate.
Title: Meteotemplate - Plugin/Block Update - Steel Series
Post by: Jáchym on March 13, 2017, 07:15:53 AM
Plugin/Block Update - Steel Series

Hi guys,

surprise, surprise 😀

The updated version now supports the new API – this means also the SteelSeries Gauges block will use the API since the block uses the settings file from this plugin.

Updating this plugin and choosing API means both the plugin and the block will use it. You do not need to make any changes to the ssGauges Block.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: mcrossley on March 13, 2017, 07:33:33 AM
As a committed Cumulus user what are the issues by updating?  I understand any of the features using the API would not be available but will the newer versions of Meteotemplate.and blocks and plugins continue to work and be available?
Hi Paul, from what I can see the API is just a HTTP GET with the data supplied as parameters. CumulusMX can be configured to do this quite easily. Though Steve may be reluctant to devote the time to adding it as a integrated feature specific to Meteotemplate (understandable given his current situation) Cumulus already provides the facility for calling custom URLs at whatever intervals you want - look under "Custom HTTP" in settings.

It just means you would have to construct the URL yourself using the appropriate data tags.

Cumulus 1 could also do this, but you would have to use the "external programs" feature to call a utility such as CURL to perform the HTTP get for you.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 07:53:16 AM
Hi Mark/Paul,

ok, here is what happened...

I contacted Steve about this. He said he wants to see the documentation first. I sent it to him.

First problem was the units. The API accepts standardized units, however Cumulus sends (also realtime), units specified by the user. I said I could add unit parameters to the request, though it was not something I was very happy about, one of the points about the api was also to have it all standardized.

Once we had that, he said another issue is the date. Cumulus apparently is not able to send UNIX timestamp, which is what I required because it prevents any issues with DST, TZ errors etc etc. Again, I said, OK, well if absolutely necessary I could try adding date parsing to the API.

Then, Steve said that the next problem is that Cumulus cannot send the aggregated data sets. At this point I said that in that case it is not possible to use. If Cumulus can only send current conditions, not being able to aggregate data (avg, max, min) since last request was sent, then the data sent by Cumulus would not meet the standards I set for the API.

Whoever wants to support the api, must have this possibility. This is to prevent the very common issue with for example wind gust, where the maximum is not logged because of the interval between the updates. The way the API works prevents this and ensures absolutely accurate results.

This cannot be overcome by setting an Http request, and you would probably run into problems with the units/timestamp as well.


I really wished Cumulus would support the API as well, but unfortunately, the problem is that first, Im not making an API for Cumulus. Just imagine Steve contacted eg. WU saying "look I want to use your API, so please change the following things so that I can send data to you"... None of the other devs had any problems implementing it. Im not sure how Cumulus is programmed but it is surprising that it is unable to provide the data in the required format.

And even if all the data in the URL were fine, we still have the major issue with the aggregation. I only want the API to be used by SW, which supports this, because that was one of the main goals - absolutely accurate results, which match your station data.

Your template will still work fine, you are in the same situation as users of WLink, NetAtmo etc. The API will have some extra blocks, features, sensor support etc. But if you want to use that, then all I can say Im afraid is - use one of the supported SW... and in fact just since yesterday I already had 4 people asking about this and saying they are moving away from Cumulus. It is indeed a nice SW, but looks to me a bit like Steve probably doesnt have much time for it and maybe not so much interest anymore - just my impression.

Last thing I want to emphasize though is that Steve did at least look at the documentation, so it was not like he said "no, Im not interested", we just came to a conclusion this wont work and we tried - several emails.
Title: Re: Meteotemplate - new free website template
Post by: mcrossley on March 13, 2017, 08:26:35 AM
OK, must admit I hadn't looked at it too closely. The time stamp would be an issue, as would fixed units as Cumulus works in user selected units, I didn't realise you wanted aggregated data too. Wind gust is often handled by sending the last 10 minute max gust.  Ah well.  :sad:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 08:33:51 AM
Hi Mark,

yes, I have to admit I was surprised by the units and timestamp. Obviously this could be done by the api script too, I could do the conversion as well, however, it requires a redundant unit parameter in the URL and I just cannot see why Cumulus could not do the conversion itself, it must have these included too because it can do conversions (when user changes from C to F for example it must also do the conversion).

The API uses mostly metric units, in case of temperature, it accepts deg C, so of course Ive never seen the code, but I cant imagine it would be that difficult to check what the units are and if necessary do F->C. Same for other.

Timestamp - likewise.

Aggregated data - your suggestion doesnt solve the problem because the API is actually used in two ways:

1. first, all currently received values are saved in "meteotemplateLive.txt" - this file always includes the latest data set
2. the data is then added to a cache file

Every 5 minutes, the cache file is analyzed and used for db update. So for example, for temperature, the cached values are averaged out and that is saved to column "T", the maximum from the cache is saved to Tmax, and minimum to Tmin. And a nicely rounded time is added to db (eg. 12:05:00), same at 12:10:00. After each update the cache is emptied.

Then, some blocks/plugins, do not use the db, but use the meteotemplateLive.txt directly. These are the realtime blocks/plugins and allow updates much more frequently than 5 minutes.
Eg: Luc´s page uses 2.5s updates! Check the wind: http://www.lucdesign.nl/template/indexDesktop.php

So here we have a problem again. If Cumulus sent 10min max gust, then this would show in the realtime blocks, but this value could be like 8 minutes old for example. And... since the updates to the db are every 5 minutes, this 10min maximum would always be inserted twice, which is again incorrect.

All the currently supported SW - MB, WD etc. send avg/max/min since the last request, this means that the cache file has all the extremes from that period, but all and only. No valeus from previous intervals.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 08:39:39 AM
Maybe it was confusing, so I will use an example:

At 10:42, a maximum wind gust of 20 km/h was observed

Cumulus sends parameter G as 20 to the template
At 10:45, the db is updated with G of 20 km/h

In the next 5 min interval, the max G was 15 km/h
At 10:50 however, the max 10 min gust is still 20 km/h which occured 8 minutes ago, so the db is again updated with 20 km/h, which is of course incorrect

You could argue that I could check if the value is the same and simply not use it, but this brings another issue:
1. if I do that, what do I use instead... that real value (15 km/h) is not logged anywhere
2. what if it really was the same again, this could happen as well of course
Title: Re: Meteotemplate - new free website template
Post by: droiddk on March 13, 2017, 09:20:01 AM
Hi Jáchym

Congrats with the new API!

How often does fx the Meteobridge "contact" the api.php?

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 09:43:01 AM
Hi,
you can set this in MB (once it works... Boris still didnt get back to me).

the maximum interval is obviously 5 minutes, in that case every update would result in db update as well, no caching.

You can also set shorter intervals and this pretty much depends on what your server can handle. This will reflect in how up-to-date your realtime blocks/plugins will be. Data will be cached, so db always updated every 5 minutes.

The interval possible in MB is:
- every 10s
- every 20s
- every 30s
- every minute
- every 2 minutes¨
- every 5 minutes

and there are actually even longer intervals, but those should never be used
Title: Re: Meteotemplate - new free website template
Post by: droiddk on March 13, 2017, 09:45:05 AM
Hi,
you can set this in MB (once it works... Boris still didnt get back to me).

the maximum interval is obviously 5 minutes, in that case every update would result in db update as well, no caching.

You can also set shorter intervals and this pretty much depends on what your server can handle. This will reflect in how up-to-date your realtime blocks/plugins will be. Data will be cached, so db always updated every 5 minutes.

The interval possible in MB is:
- every 10s
- every 20s
- every 30s
- every minute
- every 2 minutes¨
- every 5 minutes

and there are actually even longer intervals, but those should never be used

Thanks! Now I see how the api works :)

Good work!

Regards
Title: Meteotemplate - Block Updates
Post by: Jáchym on March 13, 2017, 11:55:07 AM
Hi guys,

further updates:

Block Update – Thermometer 2.0 - added API support
Block Update – Indoor Conditions 5.0 - added API support

Block Update – Station Records 4.0
- added precipitation

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 13, 2017, 11:57:23 AM
I don't want to belabour the issue and just wanted to get clarification, and thank you for that.  I have also been a supporter of Meteotemplate from the earliest beginning with a lot of tests and suitable accommodation.  You make your Meteotemplate how you want and we will work with it, or not.  Steve made Cumulus many years ago and added a lot of features so it is what it is.  Steve will decide how much user customization or changes he can and will incorporate.  And at the moment he is on a very long road trip but still proving excellent remote support.

Quote
and I just cannot see why Cumulus could not do the conversion itself, it must have these included too because it can do conversions (when user changes from C to F for example it must also do the conversion).
Unfortunatelly that is incorrect... http://wiki.sandaysoft.com/a/FAQ#What_do_I_need_to_get_right_when_first_getting_Cumulus.3F (http://wiki.sandaysoft.com/a/FAQ#What_do_I_need_to_get_right_when_first_getting_Cumulus.3F)
Quote
What do I need to get right when first getting Cumulus? The installation process for Cumulus displays readme.txt, that has many tips. See also Setup (http://wiki.sandaysoft.com/a/Setup). Below are three key points.
 
  • Install Cumulus in its own directory directly under a drive root.
  • Connect your weather station before you start Cumulus
  • When you first run Cumulus, it displays the Station settings screen. On this, make sure you pick the right sort of station (to ensure Cumulus communicates correctly with your weather station, and can identify all the observations) and choose your units wisely. (Changing units later means all stored Lowest and highest numbers up to that point have to be converted immediately manually).  See the Help for information about the rest of the screen, but generally you can easily adjust the other options later.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 13, 2017, 12:08:08 PM
Hi Paul,
not really, we are talking about current data, so it would not require changing any history data, simple conversion before sending the request.

I just have to slightly disagree with this:
Quote
You make your Meteotemplate how you want and we will work with it, or not.

This casts the impression I made the api incompatible with Cumulus, which is not the case. I was willing to do the changes, not really happy about it, but ok. I even said I would change the timestamp issue. But after that we were stuck again with the data aggregation and that is something I cannot change myself. There is no way I can change something in the API script or create a completely new script from scratch, which would solve the issue with eg. the wind gust outlined above.

As long as Cumulus can only send current conditions, it will never be accurate. I do not want now to say "it is Steve´s fault" - he has done a great job and is still doing and he was trying to co-operate, but there would probably have to be some major changes in the code to support this. And so in a sense, it is not his "fault", but it is because of his code.

I cannot do anything from my side. Even if I made an api just for Cumulus, it would still not work due to the data Cumulus can send.

You can of course still use realtime.txt, I just don´t want you to think there is no Cumulus support because I was not willing to make some changes. From my perspective, it is simply impossible.
Title: Meteotemplate - New Block – Webcam Timelapse
Post by: Jáchym on March 13, 2017, 03:21:18 PM
New Block – Webcam Timelapse

Hi guys,

this new block is dependent on the Webcam plugin. It will load all images from today and show them in a timelapse. If no images are found from today, the block will completely disappear from the homepage.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=webcamTimelapse – only static, I do not have a webcam

Enjoy
Title: Meteotemplate - Meteobridge Update
Post by: Jáchym on March 13, 2017, 05:01:16 PM
Hi guys,

the Meteobridge issue should now be solved, please reboot your device and you should be able to set updates to the Meteotemplate API
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 13, 2017, 09:58:53 PM
Cool, you are keeping your template updated regularly, I wish you could also make a whole tamplate that suitable to asian countires or for trophical countries who doesnt get snow or winter seasons, because It may mis interpret to some that your weather station is installed to a winter / snowy countires. Right now I'm trying to modify my seratoga version of my ajax dashboard into more detailed version but I have still finding ways to disable those snow / winter script since im living in SE asia which doesnt have windter season. well I hope so.

Meteotemplate does not work like this. There is no "US" version or "EU" version etc. There is just one template and you choose the blocks you want. If you don´t want snow, you dont install it. If you want hurricane/tropical cyclone block instead, then you install that. Might be useful to look to the wiki. So "making a whole new template suitable for Asian countries" is nonsense, i already have users from Asia and they simply choose what interests them. I am not a fan of some special template versions for each region. It should work for the whole world and have possibility to choose features you want, which is what I did with Meteotemplate.

To Jachym's point, one of the great things about the design of the template, is the ability to customize it for your needs.  I actually adjust my homepage based on the season.  During hurricane season I want the tropical information front and center.  In the winter, it's the snow.  You can make it what works best for you!

Thanks Jachym!
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 13, 2017, 10:21:36 PM
Something I found with the API setup running off my database, maybe it's a setting that I have incorrect, but my pressure is at 0 and not recording.
Any idea? I have the max pressure at 1300 mb, which should be well above any high pressure. Low side is at 900.
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 13, 2017, 10:45:42 PM

Made the switch to Orange using the API with WD.  Seems to be working fine.  What is not working since the upgrade to Orange is the map in nwsForecastCustom.  I get an error now saying Oops! Something went wrong.  See the JavaScript console for technical details.  I have the google API installed or at least I believe I do.  The location map in the Main Setup is working so I assume if it is showing OK then the Google API is OK.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 14, 2017, 04:37:05 AM

Nice site nineback. Sorry I cannot help with that problem but I did notice another one. The footer date 17/03/14
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 06:49:58 AM
Any problems with blocks cannot be due to the update of the version.

The error you mention is generated by Google. If you see "Ooops...." it just means google sent this message instead of the map.

Open the browser console and you should see the error message there
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 07:13:38 AM

Nice site nineback. Sorry I cannot help with that problem but I did notice another one. The footer date 17/03/14

Thats fine, he probably has his date format set to

Y/M/D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 07:14:14 AM

Made the switch to Orange using the API with WD.  Seems to be working fine.  What is not working since the upgrade to Orange is the map in nwsForecastCustom.  I get an error now saying Oops! Something went wrong.  See the JavaScript console for technical details.  I have the google API installed or at least I believe I do.  The location map in the Main Setup is working so I assume if it is showing OK then the Google API is OK.

Here is the problem:

Quote
Google Maps API error: InvalidKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 14, 2017, 08:02:01 AM
Thanks I saw that on the console.  I looked at the google console page and I have a browser key 1, api key , and server key.  Which one do I use?
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 14, 2017, 08:11:14 AM
Thanks I saw that on the console.  I looked at the google console page and I have a browser key 1, api key , and server key.  Which one do I use?
Use the API key

Sent from my SM-G935R4 using Tapatalk

Title: Meteotemplate - Block Update – Rain 5.0
Post by: Jáchym on March 14, 2017, 08:16:33 AM
Block Update – Rain 5.0

Hi guys,

I completely redesigned this block. This block will now work differently depending on how much data you have in your database.

Users with < 1 year of data

The block will work as it worked until now, showing maximum specified in the block settings.

Users with > 1 year of data

The block will first calculate average precipitation for each day in the year. Then, it will set that as the gauge maximum and show you the percentage.

For example:

Imagine it is 14 Mar. The block will calculate the average precipitation total for 1 to 14 March and for 1 Jan – 14 March. It will then compare this with values from this year and show this as a percentage. The gauge will therefore show if you are above/below the average cumulative annual/monthly sum. If it is over or equal to 100%, the gauge will be full.

See DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=rain

Enjoy
Title: Re: Meteotemplate - Block Update – Rain 5.0
Post by: droiddk on March 14, 2017, 09:01:13 AM


The block will first calculate average precipitation for each day in the year. Then, it will set that as the gauge maximum and show you the percentage.



Cool!

Regards
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 14, 2017, 09:25:22 AM
I deleted my keys and made a new one.  All seems to be working fine now.   

Is there a way to put text with the icons.  For example I have the lightning block installed.  For someone new to the site they will see the map and then see numerous icons above the map with the different continents and then the lightning bolt.  They may or may not know that the lightning bolt is the indicator of what this block is.  Same way with the rain block though it is more obvious.  I would like to see the icon with text.

I have the trend block installed.  Even I have a hard time figuring out what the icons are for.  I have to look at the unit of measure and then figure it out or place the cursor over the icon.  I have had people tell me they do not understand the icons and they do not know to place the cursor over the icon.  Same with current conditions.  The average person will not understand the icons.

I know space is limited in some blocks but othere have room for text.

Another suggestion is to put in the title a brief help explanation.  For example the NWS Custom Forecast people visiting the site probably do not know that you can drag the marker to a different location.  I actually found out where in the code to add a comment telling the user to drag the teardrop to change locations.  This works fine until a block is updated. :-)

The Current Conditions block is the same way.  Folks may not realize that you can click on the +/- to zoom the screen or that you can click and drag the map.  A lot of the blocks (interactive Graph for example) have drop down menus that allow you to change what is being shown.  I am not sure that people realize this.  Again a short description such as Click on the bar to change parameters would be helpful. The same with the the block that have more at the bottom such as rain.  As  a minimum at least but "more" inside a box but why not say "click here for more".  I am finding out a lot of people visit the page really are not computer savvy or do not go putting the mouse all over the screen to discover the full potential of the program. 

Please don't take this wrong.  I really like the program. Just a few suggestions that I think would make it even better for the non-savvy computer user for the non-technical weather user who doesn't know the icon.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 09:31:36 AM
Hi,
I guess this is an unsolvable problem. Ive just answered two similar "questions". You do one thing based on someone´s suggestion and you get 2-3 people telling you previous was better. I guess unless everyone creates their own site, it will never be 100% what you want it to be because I have to make more and more compromises that will "almost" fit all.
I see exactly what you mean with the icons. I usually try to add the tooltips. Adding text is very problematic for various reasons. First - homepage is very limited in terms of space. Second - dont forget about translations.
Sometimes it is very hard to fit the text in the available space. And I do it and day later I get an email from someone that in eg. German, the word is much longer and very badly wraps to a next line completely ruining the overall look of the block, making it wrong size etc. Same with adding some text instructions... they need to then be added to the translation database, translated, and most importantly, you have to make sure the text looks good for all, and there is now over 25 languages...

I have one idea how this could at least partially be solved, but I will keep that for v13 and we will see if it solves this problem (partially). I will not say exactly what I plan to do, because I am not 100% sure yet how I will try to do it, but lets just say this needs to be handled somehow more in general, not for each block separately.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 09:37:07 AM
With regards to block titles:

I guess I could add option to enable/disable block title. I did it in a few blocks already, in this one I sort of thought the lightning icon is pretty much self-explanatory, but maybe not :D This is I guess the only possible solution, to allow users to enable/disable something in general, but obviously I cannot do this with everything. I cannot have customizations for every single font size, color, text etc. - mostly because of the time it takes to add all this. And in fact even that would put off some people. They open the settings page and see never ending list of things to set... :D Ive had this problem too :D I did have a few people asking me to reduce the Main settings customizations and just set some of it to what I think works the best, making the Main settings page shorter and faster to fill in :D
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 14, 2017, 09:59:49 AM
Hi Jachym,
i've just installed ver. 12 with API enable.
All work as it should.
Thank you so much for your great job!  =D&gt; =D&gt; =D&gt;

Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 14, 2017, 10:01:35 AM
Options are always a good thing.  Give people the ability to turn things on or off.  The best of both worlds.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 10:07:34 AM
Theoretically yes, but there has to be a point where I draw a line and say - this will be as I think it will work the best - i.e. as I mentioned previously, it is in practice impossible to allow you to set every single color, font size, font type, text etc. It would just be an infinitely long code... and even then, some people would complain about too much settings - just look at the parallel thread about Meteotemplate... it discusses WD and some people dont like the fact it has too many options.

Brian is great, whenever someone asks for a feature, he adds it. But then obviously for some this is not what they prefer if they prefer something rather simple. I can very well imagine even people saying why did he include MT, many WD users will never use this feature....

I tried to solve this problem with blocks, plugins etc - you install what you want, but there will always be a problem that it will not look 100% you want it to look simply because I have to decide on some things and make compromises that will more or less satisfy the now over 530 users and 27 languages...
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 11:58:50 AM
Finally finished moving hosting, and am now in the process of catching up on all the updates!
Rain block looks odd to me, see attached, or did I misunderstand a setting???
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 12:16:22 PM
Hi,
yes, well this is sort of confusing I know.
The problem is that this basically shows that your current sums since beginning of month and beginning of year are way over the average from previous years for this period - the percentage given below the gauges.

However the gauge cannot have anything higher than 100%, so the gauge is full and shows 100% full.

Still trying to figure out how to do this because the gauge will not work with numbers higher than 100, it cannot "overflow"
Title: Meteotemplate - Plugin Update - River Heigths U.S. 2.0
Post by: Jáchym on March 14, 2017, 12:25:16 PM
Plugin Update - River Heigths U.S. 2.0

Hi guys,

haven´t updated this one for some time...

I added a brand new page showing gage heights and streamflow for all available stations in the U.S. grouped by state.

Data is visualized using an interactive map with changable underlay and in an interactive table.

DEMO: http://www.meteotemplate.com/template/plugins/riverHeightsUS/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 14, 2017, 12:40:46 PM
Our local NWS (USA) office has links to this University of Wyoming server, and I was wondering if it may be a good source of observation data or obscure things like weather balloon soundings?

http://weather.uwyo.edu/cgi-bin/wyowx.fcgi?TYPE=sflist&DATE=current&HOUR=current&UNITS=A&STATION=LKTB (http://weather.uwyo.edu/cgi-bin/wyowx.fcgi?TYPE=sflist&DATE=current&HOUR=current&UNITS=A&STATION=LKTB)

It looks like their hard drive took a dump a new days ago, so I can't tell what other info may be available again in the future.  There were no terms of use or copyright info on the main site when I just checked, but there is an email address for data questions.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 12:46:01 PM
Hi Arthur,
the link you provided shows only METAR data, am I missing something?
Title: Meteotemplate - Plugin Update – Indoor Conditions 4.0
Post by: Jáchym on March 14, 2017, 01:09:33 PM
Plugin Update – Indoor Conditions 4.0

Hi guys,

I updated the indoor plugin and added support for Meteotemplate API.

See blog for more info.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 01:37:40 PM
Hi,
yes, well this is sort of confusing I know.
The problem is that this basically shows that your current sums since beginning of month and beginning of year are way over the average from previous years for this period - the percentage given below the gauges.

However the gauge cannot have anything higher than 100%, so the gauge is full and shows 100% full.

Still trying to figure out how to do this because the gauge will not work with numbers higher than 100, it cannot "overflow"

OK, that makes sense kinda.

I'll have to dig into my data, since typically we only get snow this time of year there maybe a glitch in some data! Maybe I should disable the rain block during the winter months and only enable April - Oct!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 01:40:35 PM
I will try to find a way of somehow changing the numbers so that the percentages are the same inside the gauges as well and they simply are full if the rain is above 100%.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 01:42:43 PM
Hi,
yes, well this is sort of confusing I know.
The problem is that this basically shows that your current sums since beginning of month and beginning of year are way over the average from previous years for this period - the percentage given below the gauges.

However the gauge cannot have anything higher than 100%, so the gauge is full and shows 100% full.

Still trying to figure out how to do this because the gauge will not work with numbers higher than 100, it cannot "overflow"

OK, that makes sense kinda.

I'll have to dig into my data, since typically we only get snow this time of year there maybe a glitch in some data! Maybe I should disable the rain block during the winter months and only enable April - Oct!

Bill

If you look here:
http://www.sanfordweather.com//meteo/pages/station/climate.php?var=R

Choose the Day Graphs and choose March and you will see the spike there is this year on Mar 6th, so you might want to check if that is correct
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 14, 2017, 01:51:08 PM
Hi Arthur,
the link you provided shows only METAR data, am I missing something?

If you go to the homepage, there are weather balloon soundings, a Meteogram generator with global data, and who knows what else when they get done restoring their server's hard drive:

http://weather.uwyo.edu/ (http://weather.uwyo.edu/)

http://weather.uwyo.edu/cgi-bin/wyowx.fcgi?type=sfgram&units=a&STATION=SWF (http://weather.uwyo.edu/cgi-bin/wyowx.fcgi?type=sfgram&units=a&STATION=SWF)

I don't know if there is anything useful/unique there, but it seems to have a simple API for global METAR/observation data.  It reminds me of WU back in the olden days, when they were at the University of Michigan.....
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 01:52:55 PM
Hi,
yes, well this is sort of confusing I know.
The problem is that this basically shows that your current sums since beginning of month and beginning of year are way over the average from previous years for this period - the percentage given below the gauges.

However the gauge cannot have anything higher than 100%, so the gauge is full and shows 100% full.

Still trying to figure out how to do this because the gauge will not work with numbers higher than 100, it cannot "overflow"

OK, that makes sense kinda.

I'll have to dig into my data, since typically we only get snow this time of year there maybe a glitch in some data! Maybe I should disable the rain block during the winter months and only enable April - Oct!

Bill

If you look here:
http://www.sanfordweather.com//meteo/pages/station/climate.php?var=R (http://www.sanfordweather.com//meteo/pages/station/climate.php?var=R)

Choose the Day Graphs and choose March and you will see the spike there is this year on Mar 6th, so you might want to check if that is correct
Yup that is correct, even had rain inside the house that day  ](*,)

In winter I often get snow in the rain gauge, then on a sunny day it will melt and show as rain!
I know what's going on but maybe my users don't, have to think about that!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 02:10:18 PM
LOL...

should I add rain display to the indoor plugin/block? :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 02:12:32 PM
Nah not necessary, hopefully only a random event!

Something else to put in the job jar for the spring!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 02:20:49 PM
When I was younger I sometimes visited my grandpa and he lived in a relatively old house on the countryside with not very well isolated windows and if I lived there I would probably install a wind sensor inside :D
Title: Re: Meteotemplate - new free website template
Post by: rainbow on March 14, 2017, 03:19:21 PM
Hi Jachym,
I made the switch to Orange too using the API with meteobridge. Seems to be working fine \:D/. Thanks a lot for orange.
Det
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 04:29:10 PM
That is your call of course Jachym, as it is your Meteotemplate. It just makes sense that if your server cannot handle 30+ downloads, then use something like Dropbox. As your user base gets bigger, the problems you have had in the past will only get bigger. New users may not want to wait up to 24 hours to get a token.
The other reasons you gave could easily be remedied by other means.
I am not trying to be critical, just offering a suggestion based on what I think about getting prior permission to download.

Colin, based on the last 3 days I think this is not going to be a problem.

It actually works perfectly. The load is distributed.

In the past 3 days, so far I issued 159 tokens, average email->issue time is less than an hour and everyone received a token within max 8 hours, often in a matter of minutes - people here will confirm that.

And those of you wondering if I do something else I want to assure you I do :D I am working on 4 papers which all have to be finished by the end of March, am preparing a presentation I will have for the whole institute on 27th and tutored my sister biology :D

It definitely works much better than before and it was fortunately not necessary to do any fixes, but if it was it would be even more advantageous to know exactly who has the buggy version installed.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 04:32:23 PM
I have decided to switch to Weather Display from Cumulus for Meteotemplate so I can use the new API.  I am having a difficult time figuring out how to set up Weather Display.  Steep learning curve for an old man.  Can someone please help me with this.
Thanks,
Jay
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 14, 2017, 04:39:30 PM
I have decided to switch to Weather Display from Cumulus for Meteotemplate so I can use the new API.  I am having a difficult time figuring out how to set up Weather Display.  Steep learning curve for an old man.  Can someone please help me with this.
Thanks,
Jay
What issues are you having Jay

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 04:39:50 PM
:D Brian's gonna love me :D :D I guess a win win situation, since some might see MT icon in WD and look it up and decide to use it as well.

Jay maybe better would be asking at the WD forum. There is a dedicated MT thread as well and Brian answers all questions within hours.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 04:50:05 PM
Jonny,
I have no idea what settings to turn on and how to get the clientraw to my server.  I doesn't seem to upload. with the settings I have.  Is there a way to test the ftp in WD?  Or where in the software do I turn it on?
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 04:56:15 PM
Hi Jay,

you do NOT need clientraw at all. This is the original way of getting data to MT. Now there is a built-in dialog just for MT, where you only give the url of the api:

..../api.php and your update password

nothing more, WD and the api.php script will take care of all the updates, real-time file creation etc.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 05:00:26 PM
Is there a problem with the forecast block?
I've re-downloaded and gone through the settings a couple of times but all I get is this static image:
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 14, 2017, 05:03:38 PM
Jáchym is right.
Use the instructions page on the WD site to set up your ftp account, then find the section in the instructions to setup MT. Use  weather-watch (not WxForum) forums if you get stuck.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 05:32:24 PM
How do I format the password?  Do I need ?password= before the password at the end of api.php?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 05:39:07 PM
no Jay, just fill the update password in
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 05:44:18 PM
Jachym,
Sent you a personal message.
Jay
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 05:50:59 PM
How do I change the database update method.  I went to the control panel and changed to API but there is no save button and it goes back to cumulus when I leave the page.  Wow am I confused.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 06:00:14 PM
Jay, Im confused now too, are you setting up Cumulus or WD?

If Cumulus then make no changes and use the update.php! Cumulus does not support the API
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 06:01:58 PM
Sorry, ok I see what you mean.

No, you can completely ignore the update setup in MT control panel. That is not for the API, the API ignores this.

All settings you need to do is only in WD.

In WD open the MT dialog, put the url of your api.php, just the url : http://www..../api.php
In the second field in the WD MT dialog put just the update password, choose interval and save. Thats it, the update setup in MT control panel you can complteley ignore
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 14, 2017, 06:47:40 PM
Jachym,  Here is what I have in Weather Display  No place for a password.

I don't know about the syntax of the rest of the URL they are building, but the password can be amended as "&PASS=your_upload_passwd" to the end of the URL to pass the MT upload password.

FWIW, this is one of the update posts that weewx is pushing to my MT system via the new API:

/weather/api.php?RR=0.000&H=72.0&UV=0&SW=weewx-3.6.2&S=0.000&P=1032.243&TIN=36.28&R=0.000&U=1489400683&T=-13.61&W=0.00&PASS=my_upload_passwd&UGP=1014.704
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 06:49:41 PM
Jachym,

I got it figured out.  I didn't see the Meteotemplate icon on the WD control panel.  Once I got my old eyes focused and clicked the correct place it was easy.  Thanks for all the work you continue to put into this.  The improvements are better and better.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 14, 2017, 06:56:06 PM
vreihen,

Thanks for the post.  I got WD to work.  I just didn't see where to go to set it up.

Jay
Title: Meteotemplate - Block Update – Rain 6.0
Post by: Jáchym on March 14, 2017, 07:54:26 PM
Block Update – Rain 6.0

Hi guys,

- changed the display of the percentages – the percentage number inside the gauges now shows correct value and if it is above 100%, the gauge will look full
- possibility to disable the percentages and have the gauge show the maximum specified in settings and current total instead of the percentages (enable/disable in settings)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 08:08:26 PM
Talking about the server load (download tokens :D)

If interested, here is a screenshot of my Google Analytics. It is actually a comparison of daily number of visits this Monday and exactly yr ago. You can see the increase and the fact it is like so 24h a day. It was therefore necessary to distribute the load a bit. Plugins and blocks remain without token. The increase is on average around 600% compared to yr ago.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 14, 2017, 08:17:07 PM
Talking about the server load (download tokens :D)

If interested, here is a screenshot of my Google Analytics. It is actually a comparison of daily number of visits this Monday and exactly yr ago. You can see the increase and the fact it is like so 24h a day. It was therefore necessary to distribute the load a bit. Plugins and blocks remain without token. The increase is on average around 600% compared to yr ago.

That is impressive!  I will publicly state that the token process was absolutely painless and quick.  Great solution :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 08:20:39 PM
Thanks Jeff, it is a bit more work (2 requests and tokens issued just since I posted the GA thing...), but it is easier in long-term and works fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 09:17:14 PM
Is there a problem with the forecast block?
I've re-downloaded and gone through the settings a couple of times but all I get is this static image:

Just tried looking at your site, no problems with the forecast block. Works perfectly for me, tried refreshing 3 times and always ok.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 09:30:38 PM
Is there a problem with the forecast block?
I've re-downloaded and gone through the settings a couple of times but all I get is this static image:

Just tried looking at your site, no problems with the forecast block. Works perfectly for me, tried refreshing 3 times and always ok.

Just to confirm we're looking at this

screen shot from seconds ago!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 14, 2017, 09:36:19 PM
OK sorry, I was looking at the EC forecast.

I see it now.

Simple fix...

In your homepage setup, change "foreccast" to "forecast" ;)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 14, 2017, 09:37:53 PM
OK sorry, I was looking at the EC forecast.

I see it now.

Simple fix...

In your homepage setup, change "foreccast" to "forecast" ;)

Sigh!! Time for new glasses

Thanks!
Title: Meteotemplate - Block Update – Current – Big 2.0
Post by: Jáchym on March 15, 2017, 08:08:18 AM
Block Update – Current – Big 2.0

Hi guys,

added support for Meteotemplate API.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 15, 2017, 10:38:32 AM
Hi Jachym,
could you tell me better where webcamtimelapse works?
Because i've put this link on webcam settings: http://www.meteopistoia.it/webcam/pistoia.jpg (update every minute)
but block is empty  :?: :?:

Other thing.
Where is davisvuewhite icon here: http://www.meteopistoia.it/admin/menu/menuIcons.php
Thanks for your support.
Regards,


Alessandro
Title: Meteotemplate - New Block - BloomSky Timelapse
Post by: Jáchym on March 15, 2017, 11:01:01 AM
New Block - BloomSky Timelapse

Hi guys,

I created a new block for Bloomsky users. If you have the Bloomsky camera you can use this block to show the timelapse videos from previous days. All you have to do is provide your Bloomsky API key.

Then, the block will load video files from previous 5 days and by default show the latest available one.

The block will automatically choose the videos with the units based on your template settings.

If no videos are found for the previous 5 days, the block will completely disappear from your homepage.

DEMO - not available because I do not have a BS cam, see the screenshot on the Blocks page - http://www.meteotemplate.com/web/blocks.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 11:05:13 AM
Hi Jachym,
could you tell me better where webcamtimelapse works?
Because i've put this link on webcam settings: http://www.meteopistoia.it/webcam/pistoia.jpg (update every minute)
but block is empty  :?: :?:

Other thing.
Where is davisvuewhite icon here: http://www.meteopistoia.it/admin/menu/menuIcons.php
Thanks for your support.
Regards,


Alessandro

Hi Alessandro,
the webcam timelapse uses the webcam plugin, you first have to make sure that one is working (using the updateWebcam cron job etc.)

Davis Vue:

use this:
Code: [Select]
mticon-davisvueblack
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 15, 2017, 11:29:03 AM
Hi Alessandro,
the webcam timelapse uses the webcam plugin, you first have to make sure that one is working (using the updateWebcam cron job etc.)

Davis Vue:

use this:
Code: [Select]
mticon-davisvueblack

Yes, sure.
It is working here: http://www.meteopistoia.it/indexMobile.php

About Davis Vue icon.
I would like davisvuewhite icon because i need to replace davispro icon on weatherstation menu.
If i replace it with new one in black version, icon disappers.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 11:59:26 AM
Use the string I showed you, ignore it says black, it will be white, this is just a namespace for it

In the menu use mticon-davisvueblack, it will be white if necessary
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 15, 2017, 12:38:22 PM
Use the string I showed you, ignore it says black, it will be white, this is just a namespace for it

In the menu use mticon-davisvueblack, it will be white if necessary

It's strange.
I've just insert mticon-davisvueblack like in this screeshot:

(http://i.imgur.com/kKJ6ZZe.png)

but any icon appear on weather station menu  :sad: :sad:
Title: Re: Meteotemplate - new free website template
Post by: Torjan on March 15, 2017, 12:43:19 PM
Hi!
We have a ready-made timlaps here http://regnskvett.com/Video.mp4
Is it possible to get it into a timlapseblock.

Torjan
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 12:51:00 PM
Use the string I showed you, ignore it says black, it will be white, this is just a namespace for it

In the menu use mticon-davisvueblack, it will be white if necessary

It's strange.
I've just insert mticon-davisvueblack like in this screeshot:

(http://i.imgur.com/kKJ6ZZe.png)

but any icon appear on weather station menu  :sad: :sad:

Make sure you updated all the files, all files in the css directory from version 12
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 12:51:58 PM
Hi!
We have a ready-made timlaps here http://regnskvett.com/Video.mp4
Is it possible to get it into a timlapseblock.

Torjan

Hi Torjan,
no this block uses the Bloomsky API so it wont unfortunately work for your video as it is.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 15, 2017, 12:52:13 PM
Use the string I showed you, ignore it says black, it will be white, this is just a namespace for it

Make sure you updated all the files, all files in the css directory from version 12

How to check this?
I've uploaded all files inside update directory on this page: http://www.meteotemplate.com/web/download.php

Edit:
I've just re-done it now
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 02:12:05 PM
Yes and I see a nice Vue icon in your menu
Title: Meteotemplate - New Plugin – Australia Synoptic Charts
Post by: Jáchym on March 15, 2017, 02:20:25 PM
New Plugin – Australia Synoptic Charts

Hi guys,

I created a new plugin which shows recent synoptic chart images for Australia and New Zealand. Data is cached for 60 minutes.

No need to set up anything, works out of the box, just update menu.php and add link to menu.

DEMO: http://www.meteotemplate.com/template/plugins/australiaSynopticCharts/index.php

Enjoy
Title: Meteotemplate - Satellite Images
Post by: Jáchym on March 15, 2017, 04:13:55 PM
Hi guys,
please remove the Satellite images plugin from your menu. The plugin is no longer working.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 04:44:05 PM
Working on a fix.... all of the over 40 pages will need changes  :cry:
Title: Meteotemplate - Plugin Update – Satellite Images 1.1
Post by: Jáchym on March 15, 2017, 05:16:00 PM
Plugin Update – Satellite Images 1.1

Hi guys,

major update due to changes in data source format. Please make sure you replace all the files!

Enjoy
Title: Re: Meteotemplate - New Block - BloomSky Timelapse
Post by: jeffm5690 on March 15, 2017, 08:19:12 PM
New Block - BloomSky Timelapse

Hi guys,

I created a new block for Bloomsky users. If you have the Bloomsky camera you can use this block to show the timelapse videos from previous days. All you have to do is provide your Bloomsky API key.

Then, the block will load video files from previous 5 days and by default show the latest available one.

The block will automatically choose the videos with the units based on your template settings.

If no videos are found for the previous 5 days, the block will completely disappear from your homepage.

DEMO - not available because I do not have a BS cam, see the screenshot on the Blocks page - http://www.meteotemplate.com/web/blocks.php

Enjoy

TY TY TY!!!

This works and looks great.  I just added it at the bottom of my page for now.  Almost time to reorganize my homepage anyway with winter ending :D

Jeff
Title: Re: Meteotemplate - New Plugin – Australia Synoptic Charts
Post by: jeffm5690 on March 15, 2017, 09:01:51 PM
New Plugin – Australia Synoptic Charts

Hi guys,

I created a new plugin which shows recent synoptic chart images for Australia and New Zealand. Data is cached for 60 minutes.

No need to set up anything, works out of the box, just update menu.php and add link to menu.

DEMO: http://www.meteotemplate.com/template/plugins/australiaSynopticCharts/index.php

Enjoy

Not in Australia (obviously) - but I like these :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 15, 2017, 09:10:10 PM
Im just thinking I will probably disable certain features for HTTPS users in the next version of MT...

now... dont get me wrong, Im a big fan of https and that is the future, however... it is still quite early. The problem is that what works with https, will work with http, but not the other way around... and so sometimes I get emails from people asking why X or Y does not work. It is because of this and unfortunately in certain situations there just isnt a way around it unless the source changes.

In a sense I will not "remove" anything. I will remove a nonfunctional thing because I think it is better to show nothing then to show something that is not working and just confusing you.

Things I currently have on my list is for example the asteroids page, the check for latest plugin/block versions and the update check feature on the homepage. These on some https servers dont work because they are loaded from an http source
Title: Re: Meteotemplate - New Plugin – Australia Synoptic Charts
Post by: Jáchym on March 15, 2017, 09:49:37 PM
New Plugin – Australia Synoptic Charts

Hi guys,

I created a new plugin which shows recent synoptic chart images for Australia and New Zealand. Data is cached for 60 minutes.

No need to set up anything, works out of the box, just update menu.php and add link to menu.

DEMO: http://www.meteotemplate.com/template/plugins/australiaSynopticCharts/index.php

Enjoy

Not in Australia (obviously) - but I like these :)

Yeah... unfortunately, it is quite embarrassing that NOAA/NWS still uses Flash! (i.e. a no-no for MT...)
http://www.wpc.ncep.noaa.gov/basicwx/day0-7loop.html
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on March 16, 2017, 05:25:10 AM
Yes and I see a nice Vue icon in your menu

Great!
Thank you Jachym!
Regards,



Alessandro
Title: Meteotemplate - Plugins Discontinued - Live Gauges MB, WD
Post by: Jáchym on March 16, 2017, 07:33:30 AM
Plugins Discontinued - Live Gauges MB, WD

Hi guys,

the Live Gauges WD and Live Gauges MB are discontinued because the files used for the updates have been replaced by the API (mbLive, clientraw).
Title: Meteotemplate - New Plugin – Live Gauges API
Post by: Jáchym on March 16, 2017, 07:42:03 AM
New Plugin – Live Gauges API

Hi guys,

same design as the previous Live Gauges, but using the realtime API file.

Demo 1: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index.php
Demo 2: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index2.php
Demo 3: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index3.php
Demo 4: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index4.php
Demo 5: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index5.php
Demo 6: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index6.php
Demo 7: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index7.php
Demo 8: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index8.php
Demo 9: http://www.meteotemplate.com/template/plugins/liveGaugesAPI/index9.php

Enjoy
Title: Meteotemplate - New Block – Videos
Post by: Jáchym on March 16, 2017, 09:17:01 AM
Meteotemplate - New Block – Videos

Hi guys,

the name pretty much says it all…. block showing unlimited number of MP4 videos. Just specify the URL, titles and you are ready to go.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=videos

Enjoy
Title: Meteotemplate - looking for volunteers
Post by: Jáchym on March 16, 2017, 12:46:24 PM
Hi guys,

I am looking for a user with whose help I could develop some more stuff thanks to the new API.

I am looking for someone who fits the following criteria:
 - you are running Meteotemplate 12.0
 - you are using the API script for the udpates
 - you have some extra sensors (eg. temperature, humidity etc.)

If you fulfil all the above and would like to help me, then please PM me or use my email.

Thanks
Title: Meteotemplate - Plugin Update – SteelSeries 3.0
Post by: Jáchym on March 16, 2017, 06:19:41 PM
Plugin Update – SteelSeries 3.0

Hi guys,

I added an extra parameter to the setup where you can specify the gauge update timeout. This means you set the number of minutes after which the gauges will stop updating. This can be useful if for example some visitor leaves the page opened and it then updates every few seconds infinitely long. If however you set this to for example 10 minutes, then after 10 minutes the gauges will stop updating to save resources. If you set this to some very large number then it means the gauges will never stop updating.

If you are updating this plugin, make absolutely sure you update all the files, including the ones in the folders, then after you update the files go to the setup and set this new limit (in the Status section), click save and you are done.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 16, 2017, 06:51:26 PM
Hi Fellow Meteotemplate Users!

I have not used grlevelx for a long time (since the old version stopped).  I just d/l a trial and trying to get my site to display again.  It is weird.  I have the images going into my folder.

I am thinking it is related to the "relative path"...  I attached some screenshots.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 16, 2017, 07:33:59 PM
Hi Jeff,
not sure why you posted the screens from your PHPMyAdmin, the block/plugin does not use this.

For the paths, try ../../grlevelx/
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 16, 2017, 07:40:14 PM
Hi Jeff,
not sure why you posted the screens from your PHPMyAdmin, the block/plugin does not use this.

For the paths, try ../../grlevelx/

Oh crap.  I attached the wrong pics.....
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 16, 2017, 08:00:50 PM
So...  Nothing shows on my homepage.  Like the block is not there.  I attached the correct screenshots this time lol
Title: Meteotemplate - Plugin Update - Live Gauges API 2.0
Post by: Jáchym on March 17, 2017, 07:37:15 AM
Plugin Update - Live Gauges API 2.0

Hi guys

added possibility to add time of last update at the top and also set its format (see setup page).

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 07:43:27 AM
So...  Nothing shows on my homepage.  Like the block is not there.  I attached the correct screenshots this time lol

Hi Jeff,
just checked your FTP. The problem is not with the block. Look in the grlevelx folder on your server. It is empty. Nothing is being uploaded there so the block automatically hides rather than showing nothing... it is set to hide if no images are found.
Title: Re: Meteotemplate - Plugin Update – SteelSeries 3.0
Post by: vreihen on March 17, 2017, 08:50:32 AM
I added an extra parameter to the setup where you can specify the gauge update timeout. This means you set the number of minutes after which the gauges will stop updating. This can be useful if for example some visitor leaves the page opened and it then updates every few seconds infinitely long. If however you set this to for example 10 minutes, then after 10 minutes the gauges will stop updating to save resources. If you set this to some very large number then it means the gauges will never stop updating.

Captain Coredump here.  :lol:  I set that parameter to a large integer (65535), and the gauges stopped updating completely!  The time of last update was 0:00:00, it switched to metric, and the trends were missing.  #-o

I also noticed that whenever I go back into the setup page, the tool tips keeps changing back to hover when I have it set to click (since my tablet doesn't have hover).

Another glitch is that the rain rate gauge appear to be ignoring the max rain rate inches setting.  I told it 8, it is displaying a gauge with 0.0 - 0.5 inches.

Plugin version 3.0, block version 2.2, data updates via API.

Maybe I did something wrong when updating?  I deleted both old folders, un-zipped the replacements, and ran through the plugin/block setups from scratch.

I also have a general question about the SS gauges.  Is there a reason why some of them only offer analog versions (types 1-4), and others only offer digital versions (types 5-8)?  It drives me nuts when I see mixed analog/digital gauges on race car instrument panels, and the rain gauge cluster being one analog and one digital is messing with my OCD brain.....  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 09:09:59 AM
Some of the things you mentioned were bugs in previous versions, based on what you told me it looks like you maybe during one of the updates did not update one of the files and it corrupted the settings file because I am unable to replicate the issues you mention.

Never mind, the click/hover is a bug (typo... accidentally put = instead of ==...), with regards to the offline thing, does it work if you put eg. 1000? It could be that if the number is too large it overflows the JS
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 09:16:50 AM
Arthur Im not sure what you mean with the digital thing, I just switched to digital font and all the guages have digital font
Title: Metoffice - API changes
Post by: Jáchym on March 17, 2017, 09:21:40 AM
Nice.... I have to admit Im getting a bit tired of this, NWS/NOAA, now Metoffice:

Quote
In early April we will be beginning the process of migrating users from the existing version of DataPoint to a new service. The existing DataPoint service will be switched off at the end of summer 2017. A first step in the improvements will involve our many thousands of existing users re-registering for the new developer portal and obtaining a new API key per application.  First-time users will also need to register. 

I read the info and basically, all urls and data formats will be changed and you will even have to register for a new API key.

Maybe best not to use external sources at all really...
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 17, 2017, 10:52:28 AM
Arthur Im not sure what you mean with the digital thing, I just switched to digital font and all the guages have digital font

PhotoBucket is having issues letting me logon and upload this morning, so I can't post a screenshot at the moment.

To clarify what I meant, I'm talking about analog needles versus digital LED rings.  The rain rate and precipitation for example are an attached gauge pair, where the rain rate is an analog needle (types 1-4) but the precipitation is a digital LED ring (types 5-8).  Putting the individual solar and UV gauges side-by-wide is likewise a mix of the two types.  Just wondering if there was a technical reason why all 8 types are not available for each gauge, since this is messing with my OCD brain?????  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 11:01:25 AM
Yes, a technical problem because the gauges behave differently, it is not impossible, but I would have to make lot of further changes in the original SS script
Title: Re: Metoffice - API changes
Post by: Jáchym on March 17, 2017, 11:02:17 AM
Nice.... I have to admit Im getting a bit tired of this, NWS/NOAA, now Metoffice:

Quote
In early April we will be beginning the process of migrating users from the existing version of DataPoint to a new service. The existing DataPoint service will be switched off at the end of summer 2017. A first step in the improvements will involve our many thousands of existing users re-registering for the new developer portal and obtaining a new API key per application.  First-time users will also need to register. 

I read the info and basically, all urls and data formats will be changed and you will even have to register for a new API key.

Maybe best not to use external sources at all really...

This is why one always tries to avoid using HTML scraping and use an API... looks like it doesnt really matter and best to use just your own data
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 17, 2017, 11:54:03 AM
So...  Nothing shows on my homepage.  Like the block is not there.  I attached the correct screenshots this time lol

Hi Jeff,
just checked your FTP. The problem is not with the block. Look in the grlevelx folder on your server. It is empty. Nothing is being uploaded there so the block automatically hides rather than showing nothing... it is set to hide if no images are found.

So this is strange.  I have images there.

http://www.linyweather.net/grlevelx/
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 17, 2017, 12:02:35 PM
Some of the things you mentioned were bugs in previous versions, based on what you told me it looks like you maybe during one of the updates did not update one of the files and it corrupted the settings file because I am unable to replicate the issues you mention.

I first installed SS last weekend, and only did the one update this morning...by renaming the old folder and un-zipping the new plugin/block archives in their place.

With the old version 2.0 plugin, the rain rate and precipitation gauges both scale from the max rain rate entry when using inches.  On the block (version 2.1) side, precipitation seems to be scaling from the max rain rate setting, and the rain rate gauge is scaling to 0.5 no matter what I enter.

When I put the 3.0 plugin and 2.2 block folders back, the same exact thing happens.  Both folders were downloaded and unzipped in place on the server, and the folder they replaced were renamed beforehand.  There is zero chance of cross-contamination, assuming that the blocks/plugins are being distributed as complete packages and not just updated files.  Oh, and I cleared the plugin's cache folder to delete the "yesterday" file.

Quote
... with regards to the offline thing, does it work if you put eg. 1000? It could be that if the number is too large it overflows the JS

I specifically chose 65,535 because it is the largest value that would fit into an unsigned 16-bit integer.  Does JS used signed integers by default?  Apparently not, since 35,000 worked but 39,000 did not.  Maybe my brain is failing, but it seems fishy in a binary sense.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 12:25:15 PM
So...  Nothing shows on my homepage.  Like the block is not there.  I attached the correct screenshots this time lol

Hi Jeff,
just checked your FTP. The problem is not with the block. Look in the grlevelx folder on your server. It is empty. Nothing is being uploaded there so the block automatically hides rather than showing nothing... it is set to hide if no images are found.

So this is strange.  I have images there.

http://www.linyweather.net/grlevelx/

It must be something to do with that redirection you have set. Go to your FTP and when you open the folder with the template files, in which you have the indexDesktop etc. and you open grlevelx, it is empty
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 12:28:23 PM
Some of the things you mentioned were bugs in previous versions, based on what you told me it looks like you maybe during one of the updates did not update one of the files and it corrupted the settings file because I am unable to replicate the issues you mention.

I first installed SS last weekend, and only did the one update this morning...by renaming the old folder and un-zipping the new plugin/block archives in their place.

With the old version 2.0 plugin, the rain rate and precipitation gauges both scale from the max rain rate entry when using inches.  On the block (version 2.1) side, precipitation seems to be scaling from the max rain rate setting, and the rain rate gauge is scaling to 0.5 no matter what I enter.

When I put the 3.0 plugin and 2.2 block folders back, the same exact thing happens.  Both folders were downloaded and unzipped in place on the server, and the folder they replaced were renamed beforehand.  There is zero chance of cross-contamination, assuming that the blocks/plugins are being distributed as complete packages and not just updated files.  Oh, and I cleared the plugin's cache folder to delete the "yesterday" file.

Quote
... with regards to the offline thing, does it work if you put eg. 1000? It could be that if the number is too large it overflows the JS

I specifically chose 65,535 because it is the largest value that would fit into an unsigned 16-bit integer.  Does JS used signed integers by default?  Apparently not, since 35,000 worked but 39,000 did not.  Maybe my brain is failing, but it seems fishy in a binary sense.....

Arthur I am not the author of this script, I modified it, but I did not check each single line - and I knew very well why I didnt want to use this... but so many people asked for this so I used Mark´s script, it is the only plugin/block that uses mostly script I didnt make and so Im unable to answer your questions. It really is not a block/plugin I wanted to make for particualrly this reason. There is a parameter at the top for the offline interval, just like there is a parameter for max rain rate. I set them both using PHP using data from the setup page. Why it is doing what it is doing I cannot tell now. Maybe I should really delete these because Im unable to provide support or check the scripts. They are very long and it is thousands of lines to check to understand what exactly it is doing.

The hover/click thing is my mistake and I can fix that.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 17, 2017, 01:05:51 PM
So...  Nothing shows on my homepage.  Like the block is not there.  I attached the correct screenshots this time lol

Hi Jeff,
just checked your FTP. The problem is not with the block. Look in the grlevelx folder on your server. It is empty. Nothing is being uploaded there so the block automatically hides rather than showing nothing... it is set to hide if no images are found.

So this is strange.  I have images there.

http://www.linyweather.net/grlevelx/

It must be something to do with that redirection you have set. Go to your FTP and when you open the folder with the template files, in which you have the indexDesktop etc. and you open grlevelx, it is empty

I think you are ftp'ing to my old site.  The 1&1 does not have anything in the folder.  The site that is up and running does...  I will send you the ftp info via PM
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 17, 2017, 02:17:57 PM
Arthur I am not the author of this script, I modified it, but I did not check each single line - and I knew very well why I didnt want to use this... but so many people asked for this so I used Mark´s script, it is the only plugin/block that uses mostly script I didnt make and so Im unable to answer your questions. It really is not a block/plugin I wanted to make for particualrly this reason.

After examining the code for both the block and plugin, I can see where your frustration comes from.  The variable names appear to be inconsistent/wrong in several places upon quick examination, and the block's gauge code for the rain rate has an auto-ranging algorithm with 0.5 inches as the default instead of what was specified in the config (possibly part of a VWS data bug workaround).

Is Mark a member here, or is he the original SS developer?  I've got a few "blind" hacks/changes that appear to have fixed the problems for me, but would rather have the author check and apply my changes than share my hacked files with everyone.....
Title: Re: Meteotemplate - Plugin Update - Live Gauges API 2.0
Post by: i_fiorentino on March 17, 2017, 02:31:00 PM
Plugin Update - Live Gauges API 2.0

Hi guys

added possibility to add time of last update at the top and also set its format (see setup page).

Enjoy


Hi Jachym,
can i delete liveGaugesWD folder?
Thanks in advance.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 02:35:44 PM
If you are using the liveGaugesAPI then yes, the clientraw is no longer needed by the template and the liveGaugesAPI uses different files.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 17, 2017, 02:39:17 PM
Hi,
yes it is Mark´s code.

I modified it quite a lot, I completely changed the file that feeds data to it and I added some extra customizations and used some config settings, added some further designs etc., but I left the absolute core untouched, or rather only modified cosmetic things. It is literally thousands of lines and Im not a JS expert so going one by one, trying to understand which one does what, and they are interconnected, is quite difficult and time-consuming.
I know there is some rounding going on with the limits and there was a problem with the RR in mm, but I thought I fixed it...

It really is the only plugin where Im not 100% sure what is going on in all parts of the code and I hoped it will work and pretty much only did this whole thing because so many people asked for it, but Im not JS expert to write similar gauges myself... does the update thing work when you set it to something a bit smaller?

I can fix the hover/click thing, that is for example something I added so I know how it works.
Title: Meteotemplate - Block Updates
Post by: Jáchym on March 17, 2017, 07:16:53 PM
Hi guys,

few updates

Block Update – Dynamic Text 2.4
- bug fixes on the setup page

Rise/Set 6.3
- optimization for faster loading

SteelSeries Gauges 2.2
- now also supports update timeout (make sure you have latest version of SteelSeries Plugin, it uses its settings file)

EU Warnings - Regional 1.3
- translation improvements

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 17, 2017, 07:47:31 PM

Quote
Is Mark a member here, or is he the original SS developer?
YES, YES
http://www.wxforum.net/index.php?action=profile;u=10774
http://sandaysoft.com/forum/viewforum.php?f=21


Paul



Title: Re: Meteotemplate - Block Updates
Post by: jeffm5690 on March 17, 2017, 08:06:58 PM
Hi guys,

few updates

Block Update – Dynamic Text 2.4
- bug fixes on the setup page

Rise/Set 6.3
- optimization for faster loading

SteelSeries Gauges 2.2
- now also supports update timeout (make sure you have latest version of SteelSeries Plugin, it uses its settings file)

EU Warnings - Regional 1.3
- translation improvements

Enjoy

Cool!  Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Paul on March 18, 2017, 11:14:51 AM
Great work Jachym as always.
Loving the WD & API Updates, or I would if I could get it to work!

Anyway I will get on to that but now I have a strange issue when I try and set the update back to my CRON job.

The update script keeps picking up an old clientraw.txt and I cannot figure out why.

If you look at:

http://www.paulrickwood.co.uk/Weather/clientraw.txt

That is fine. If I paste the very same URL into the settings for the update and test it, it picks up a clientraw.txt from last October.
Now this could be related to a server move by my provider (for the update to PHP) and it is somehow picking up the old one.

But I can't figure it out, any ideas anyone?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2017, 11:19:20 AM
Paul,
if you are using WD you do not use the update.php anymore. This script is completely bypassed by the API and you also need to disable all cron jobs you had for this script.

The CRON jobs are now autoexecuted directly by WD and WD also sends data directly to the API script (api.php), which processes it and saves to db.

So what you need to do is:
- disable CRONs for update.php
- ignore "Update setup" in control panel
- in WD set the URL of the api.php (in your template root) and your update password, choose interval of realtime updates (db wlll be updated every 5min no matter what you choose, this is for gauges etc.)
- click OK
- done (ideally..)
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 18, 2017, 11:24:06 AM
Great work Jachym as always.
Loving the WD & API Updates, or I would if I could get it to work!

Anyway I will get on to that but now I have a strange issue when I try and set the update back to my CRON job.

The update script keeps picking up an old clientraw.txt and I cannot figure out why.

If you look at:

http://www.paulrickwood.co.uk/Weather/clientraw.txt

That is fine. If I paste the very same URL into the settings for the update and test it, it picks up a clientraw.txt from last October.
Now this could be related to a server move by my provider (for the update to PHP) and it is somehow picking up the old one.

But I can't figure it out, any ideas anyone?
Did you by chance make sure you point your ftp to that folder via WD?
I'm not at home, so I can't get a good look, but it sounds like you have your clientraw possibly going to a different folder and your site is pointing towards the one that you linked to.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Paul on March 18, 2017, 11:25:13 AM
Hi Jachym,

Yes I will look at that but I was having issues with it not working so I was reverting back to the CRON job and the update script so I wouldn't lose too much info whilst I troubleshooted the WD based API update.

But the update script no longer works as the old clientraw is being parsed.

Maybe I'll just try and get the WD API update working in the meantime.

Thanks,

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2017, 11:42:33 AM
Hi Paul,
what was wrong with the api, why did it not work?
Title: Re: Meteotemplate - new free website template
Post by: Paul on March 18, 2017, 12:05:04 PM
OK I figured it out.

paulrickwood.co.uk still resolves to the old server at my provider which is still available which is why the API updates were not working properly.
However as part of the move I did some testing with my provider and I had added the new server IP address to my Hosts file for paulrickwood.co.uk

Hence when looking at the clientraw in my browser on my desktop it was picking up the right clientraw, yet when run server side it resolves to the old server.

ploppy.me.uk resolves to the new server so I can use that URL for now.

Need to get my provider to update the A record or whatever it is called to point to the right place.

API updates via WD working nicely now :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2017, 12:13:39 PM
 \:D/
Title: Re: Meteotemplate - Plugin Update - Extremes
Post by: bchwdlks on March 18, 2017, 01:22:47 PM
I have gone back through the setup and if I skipped something or incorrectly set the data values, I cannot find the setting. The Extremes block has no settings to adjust. I have 2 places where the numbers do not make sense.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2017, 01:56:18 PM
Thanks, this looks like a bug. Sorry about that and thanks for letting me know. Im at work now, I will look at it as soon as I can tonight.

Just to make sure - we are talking about the "block", not plugin right?
Title: Re: Meteotemplate - new free website template
Post by: bchwdlks on March 18, 2017, 03:26:58 PM
It is the block Extremes ver 1.1.

It is not a bug - it is an "undocumented feature"
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2017, 03:32:37 PM
:D OK then, I take you for the word... it is now "documented", so do we leave it as it is? :D
Title: Re: Meteotemplate - new free website template
Post by: vreihen on March 18, 2017, 03:57:39 PM

Quote
Is Mark a member here, or is he the original SS developer?
YES, YES
http://www.wxforum.net/index.php?action=profile;u=10774
http://sandaysoft.com/forum/viewforum.php?f=21

That's what I was afraid of, since it makes me hesitate to use the awesome-looking SS stuff for anything. :(

The good thing about open-source is that you can review the code.   :-)

The bad thing about open-source is that you can review the code.....  :shock:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 18, 2017, 04:08:07 PM

Quote
Is Mark a member here, or is he the original SS developer?
YES, YES
http://www.wxforum.net/index.php?action=profile;u=10774
http://sandaysoft.com/forum/viewforum.php?f=21

That's what I was afraid of, since it makes me hesitate to use the awesome-looking SS stuff for anything. :(

The good thing about open-source is that you can review the code.   :-)

The bad thing about open-source is that you can review the code.....  :shock:

Mark knows about it being used in MT. I asked him before starting to work on it. You could try asking him, but it might be difficult for him too because now we have sort of a hybrid, which no-one understands completely - I changed lot of the code and you need to know how MT works to understand that and I used his Javascript, which I based it on without going through each line of it...

This is exactly why I was avoiding this for quite some time... I guess this really was not a good idea. Im not going to discontinue it, but I will never use some ready code and modify it again. I will just stick to what I normally do and write it myself...
Title: Meteotemplate - Block Updates
Post by: Jáchym on March 18, 2017, 04:09:36 PM
Hi guys

Block Update - Extremes 1.2
- bug fixes (see above)

Block Update - Lightning 3.1
- added possibility to enable/disable block title

Enjoy
Title: Meteotemplate - Block Update – Current Conditions 11.0
Post by: Jáchym on March 19, 2017, 09:21:53 AM
Block Update – Current Conditions 11.0

Hi guys,

in this new version I added the possibility to enable time highlight. If you enable this then every time the block is updated in the background, the time will briefly be highlighted. You can also set the highlight interval, i.e. for how long the time will stay highlighted. If you set this to something really short, the time will just briefly flash. If something longer, it will stay highlighted for that time.

Note: In the demo the interval is relatively long, set to 30s (to prevent server overload), so if you want to see it, you would have to wait 30s.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on March 19, 2017, 07:12:55 PM
Hi guys,

few updates based on your suggestions:

Block Update - Lunar Eclipses 2.0
 - added possibility to add block title
 - CSS tweaks
 - optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=lunarEclipses

Block Update - Solar Eclipses 2.0
 - added possibility to add block title
 - CSS tweaks
 - optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=solarEclipses

Block Update - Meteor Showers 2.0
 - added possibility to add block title
 - CSS tweaks
 - optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=meteors

Plugin Update - Live Gauges 2.1
 - bug fix for rain rate

Enjoy
Title: Meteotemplate - What is coming
Post by: Jáchym on March 20, 2017, 07:03:14 AM
Hi guys,

in the blog I posted some info about what I plan to do in the near future and what is coming.

If interested:
http://meteotemplate.com/blog/?p=2172
Title: Meteotemplate - New – Blocks Page
Post by: Jáchym on March 20, 2017, 10:24:59 AM
New – Blocks Page

Hi guys,

just a little change on the Blocks download page. Over the time the number of blocks has grown to over 165. It could now be a bit difficult for a new user to easily choose the ones they want at the beginning.

I have therefore decided to implement a new feature – each block has one or more tags and you can filter the blocks by these tags. By default you are shown all the blocks just like before, but you can filter them using these tags. One block can be in several categories.

Blocks: http://www.meteotemplate.com/web/blocks.php

Enjoy
Title: Re: Meteotemplate - New – Blocks Page
Post by: i_fiorentino on March 20, 2017, 05:50:23 PM
New – Blocks Page

Hi guys,

just a little change on the Blocks download page. Over the time the number of blocks has grown to over 165. It could now be a bit difficult for a new user to easily choose the ones they want at the beginning.

I have therefore decided to implement a new feature – each block has one or more tags and you can filter the blocks by these tags. By default you are shown all the blocks just like before, but you can filter them using these tags. One block can be in several categories.

Blocks: http://www.meteotemplate.com/web/blocks.php

Enjoy

Great idea!
Thanks,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 20, 2017, 07:05:14 PM
Thank you
Title: Meteotemplate - Plugin Update – Earthquakes 3.0
Post by: Jáchym on March 21, 2017, 08:00:55 AM
Plugin Update – Earthquakes 3.0

Hi guys,

no-one actually noticed, but the plugin stopped working due to changed data source format. I fixed this so it is now working fine and in addition I added a new feature – possibility to export the map with the markers as a normal image file.

DEMO: http://www.meteotemplate.com/template/plugins/earthquakes/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 09:06:54 AM
When I originally set up my home page I set it for three blocks (25,50,25).  I now want to add one block (100%) that spans the entire screen.  How do I add a single block to my existing setup?

Thanks,
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2017, 09:15:39 AM
Hi Tom,
this is what the header and footer blocks are for.

If you want it at the top, put its namespace to the Header block section, similarly if you want it at the bottom, use the Footer block
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 10:35:54 AM
Too easy.

Thanks,
Tom
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 10:49:06 AM
I have the gauges showing at the top but the solar gauge is not showing anything and is indicating NaN in the middle.  Other places are showing the solar value just not the gauge.
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 10:50:11 AM
I should have mentioned I am using the API.


I have the gauges showing at the top but the solar gauge is not showing anything and is indicating NaN in the middle.  Other places are showing the solar value just not the gauge.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 21, 2017, 11:20:42 AM
If you are using WD then look at https://www.weather-watch.com/smf/index.php/topic,64827.0.html
Tom
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 11:45:53 AM
Thanks Tom. I had to turn on the switch.  It is a little confusing as parts of the template are using the API and other I guess are still using the clientraw file.  Steel gauge were working fine and I saw the solar value on another screen as well.
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 21, 2017, 12:00:23 PM
The different blocks and plugins could still be using clientraw.txt until you change them to the api.
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 12:07:45 PM
I believe you are right.  I need to go through the settings and change them to API.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 21, 2017, 12:26:43 PM
Jachym

Just tried to use the database backup selection in the admin panel for the first time on my new host but it never seems to complete!

Started it at 11:08 and it is now 11:25 and it seems to hang on creating the csv file for 2015, 2010-2014 completed with files sizes in the 9.2M range but 2015 seems to hang at 8.4M

Is there an error log somewhere that might hint what's happening??

Bill

Note, any login credentials you might have for me are no longer correct, if you need access pm me and I'll get them to you.
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 21, 2017, 12:30:36 PM
Anyone know how to turn off the all the 0, 1,2,3's etc inside the precipitation gauge.  I only want 1,2,3 to show the place on the graph that corresponds to 1,2,3 etc.  Now I get 10 ones, 10 twos, etc because I have the interval set to .1.  Funny I just noticed that I only have 5 0's showing.
Title: Meteotemplate - Block Update – Thermometer 3.0
Post by: Jáchym on March 21, 2017, 12:37:44 PM
Block Update – Thermometer 3.0

Hi guys,

it is now possible to enable/disable display of today´s min/max.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=thermometer

Enjoy
Title: Re: Meteotemplate - Plugin Update – Earthquakes 3.0
Post by: i_fiorentino on March 21, 2017, 12:48:28 PM
Plugin Update – Earthquakes 3.0

Hi guys,

no-one actually noticed, but the plugin stopped working due to changed data source format. I fixed this so it is now working fine and in addition I added a new feature – possibility to export the map with the markers as a normal image file.

DEMO: http://www.meteotemplate.com/template/plugins/earthquakes/index.php

Enjoy

Hi Jachym,
please check your download link, it seems broken.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2017, 01:07:21 PM
It is all down again, I was briefly at home and uploaded the file from my laptop and it again crashed. No downloads are working now.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 21, 2017, 01:21:24 PM
Dear Jachym, I am Juan MŞ Vilaro, user of your template and request to download version 12.
http://www.meteobadalonaprogres.cat/template/indexDesktop.php

My email is: joanmariavs@telefonica.net

Thanks for your attention
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 21, 2017, 01:51:05 PM
ok it should be fine now

toke sent
Title: Meteotemplate - New Plugin – Czech Pollen Calendar
Post by: Jáchym on March 22, 2017, 12:38:52 PM
New Plugin – Czech Pollen Calendar

Hi guys,

new plugin which shows a pollen calendar for Czech Republic.

DEMO: http://www.meteotemplate.com/template/plugins/pollenCZ/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 22, 2017, 01:39:32 PM
Anyone?

Anyone know how to turn off the all the 0, 1,2,3's etc inside the precipitation gauge.  I only want 1,2,3 to show the place on the graph that corresponds to 1,2,3 etc.  Now I get 10 ones, 10 twos, etc because I have the interval set to .1.  Funny I just noticed that I only have 5 0's showing.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 22, 2017, 01:47:17 PM
Fixed:
http://www.kq5s.com/template/indexDesktop.php

You need to set the interval of major ticks to just 1 and 10 for the minor ticks. You set 10 for major ticks and 0 for minor.
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 22, 2017, 02:03:58 PM
Thanks.
Title: Meteotemplate 13.0 Lemon
Post by: Jáchym on March 23, 2017, 08:46:14 AM
Meteotemplate 13.0 Lemon

Hi guys,

as mentioned in a previous post, this is a very minor update, I only needed to add some things to the index file, which will greatly increase potential for new blocks / block improvements. I have also fixed one minor bug in one of the pages.

I am primarily now working on version 14, which should be ready probably in a few weeks. I started working on version 12 in December, and I only wanted this to be about the api, which was problematic and required co-ordination and synchronization with other developers. I have started working on version 14 in January after your suggestions from the questionnaire. However I decided to release this one extra update with just the very few files because of the potential it will bring.

The update should take you maybe 10 seconds – only replace the index files, the footers and the one page from the pages/station directory, which has a minor bug in it (thanks Gus for letting me know).

I also disabled the token requirement, which means that this particular update (12->13) does NOT require a download token (others do as well as the whole template file).

V14 will be the next major update and I can already tell you that you really have something to look for and Im very excited about what I have already 🙂

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 23, 2017, 09:42:09 AM
Hey there.  I started getting a strange error on my Bloomsky Timelapse Block.  The video is definitely there and the cron is running.  Any ideas?

Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on March 23, 2017, 09:45:33 AM
Love lemons!
Updated and all seems well!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2017, 10:11:28 AM
Hey there.  I started getting a strange error on my Bloomsky Timelapse Block.  The video is definitely there and the cron is running.  Any ideas?

This looks like an issue with the BS API again
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2017, 10:35:31 AM
Love lemons!
Updated and all seems well!

LOL.... Im at work now, but I think I should be at home because Im probably sick... I need to do some groceries after work so I will make sure I buy some lemons as well, will be useful now :D
Title: Meteotemplate - Block Update – Station Status 4.0
Post by: Jáchym on March 23, 2017, 10:36:14 AM
Block Update – Station Status 4.0

Hi guys,

added new feature for API users – displays the SW type used for updates.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=stationStatus

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 23, 2017, 11:04:38 AM
Updated and everything seems to be running fine.  Quick and painless.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 23, 2017, 01:09:45 PM
Hello, I installed the template 12 and it works almost everything, except that I had installed many plugins and now only some are seen from where they are activated now in the Menu?
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 23, 2017, 01:28:56 PM
Hey there.  I started getting a strange error on my Bloomsky Timelapse Block.  The video is definitely there and the cron is running.  Any ideas?

This looks like an issue with the BS API again

Lol.  Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 23, 2017, 01:49:22 PM
Hello, I installed the template 12 and it works almost everything, except that I had installed many plugins and now only some are seen from where they are activated now in the Menu?

Hi Juan,
not sure what exactly you mean, there was no change in v12 with the menu. Check your menu setup if all plugins are there and make sure you are using the latest version of menu.php.
Title: Meteotemplate - Block Update – Database Info 2.0
Post by: Jáchym on March 23, 2017, 02:29:33 PM
Block Update – Database Info 2.0

Hi guys,

- added date/time of last update
- major optimization (reduced loading time by 70%)
- CSS tweaks

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dbInfo

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on March 23, 2017, 05:16:50 PM
SuperFAST update.  Easiest one yet.  Thank you and already excited for the next update!!!
Title: Meteotemplate - new feature/tips
Post by: Jáchym on March 23, 2017, 07:01:20 PM
Hi guys,

just like there is lots of blocks there is also lots of languages now, so again to make it easier and better adapted to the current situation, I added a new link in the Translations section “Download All”, which will download all the language files at once as a ZIP file.

Translations: http://www.meteotemplate.com/web/translations/index.php

Make sure you keep these files up-to-date

I have also just posted some version update tips: http://meteotemplate.com/blog/

Enjoy
Title: Meteotemplate - Block update/new block
Post by: Jáchym on March 24, 2017, 07:45:19 AM
Hi guys,

Block Update – Current Australia 1.2
- minor bug fixes
- CSS optimization

New Block – Germany – Current Conditions
This new block shows national and regional maps with current conditions and warnings in Germany.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=currentDE

Enjoy
Title: Meteotemplate - New Block – Dynamic Graph
Post by: Jáchym on March 24, 2017, 10:03:45 AM
New Block – Dynamic Graph

Hi guys,

this new block is finally a real “interactive/dynamic” graph. First you select parameter of choice and the number of data points to preload from db. This will show initally on your page. Then, using the API, it will dynamically be adding points in realtime, so the graph will be sort of “moving forward” as new data is sent by the API script.

In the DEMO I set the interval to 30 seconds and used wind speed, which probably best illustrates how this works because it changes very quickly. Works with both dark and light themes.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dynamicGraph

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2017, 02:32:07 PM
Hi guys

Block Update – Bloomsky Timelapse 1.1
- minor CSS tweaks to ensure proper scaling

Meteotemplate Recommended Software
At the Meteotemplate homepage I added a new section on the left “Recommended Software”. In this section you will find a list of SW, which support the API and thus guarantee you will be able to use Meteotemplate to its full potential, ensuring highly accurate and reliable data and very easy to set up.

This is not a definite list of programs which Meteotemplate supports, but for some features the API is required. If you are using a different means of updating and would like to see the API built-in whatever software you use, then just ask the developer and send them link to the API page in the WIKI and let me know if they are interested so that I can add them to the “Recommended SW” as well.

http://www.meteotemplate.com/web/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: kocher on March 24, 2017, 04:34:37 PM
Greetings Jachym

You maintain your intense activity as always.  =D&gt;

Thanks for your template updates.
I installed Meteotemplate 12.0 Orange.

The block of Dynamic Graph does not work on my page; I have curiously observed that in the php files of that block, the php closing sign "?>" is missing  #-o

   http://kocher.es/meteotemplate/ (http://kocher.es/meteotemplate/)

Saludos desde San Sebastian  :grin:

Javier



Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2017, 05:04:42 PM
Hi Javier,

when a file has no HTML, just PHP, it can be, or in fact it is even preferable to omit the ending ?> tag

See for example: http://stackoverflow.com/questions/3344506/php-closing-tag-unnecessary

And this should not cause any problems at all
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on March 24, 2017, 05:06:25 PM
the dynamic graphs work OK for me
( I am using Version 13, Lemon)
Title: Re: Meteotemplate - new free website template
Post by: kocher on March 24, 2017, 05:08:59 PM
Hi Javier,

when a file has no HTML, just PHP, it can be, or in fact it is even preferable to omit the ending ?> tag

See for example: http://stackoverflow.com/questions/3344506/php-closing-tag-unnecessary

And this should not cause any problems at all


Ok, I did not know  :idea:
Title: Meteotemplate - Block Update – Forecast 4.2
Post by: Jáchym on March 24, 2017, 05:44:57 PM
Block Update – Forecast 4.2

Hi guys,

the MeteoBlue forecast is now localized. Language will be chosen automatically, if you are using “gb” or “us”, or your chosen language is not on the list below, English will be used.

Supported languages in no particular order (except the first one of course 😉
- Czech
- Slovak
- German
- French
- Spanish
- Italian
- Portuguese
- Greek
- Bulgarian
- Serbian
- Polish
- Romanian
- Dutch
- Hungarian

Enjoy
Title: Re: Meteotemplate - New Block – Dynamic Graph
Post by: i_fiorentino on March 24, 2017, 05:48:08 PM
New Block – Dynamic Graph

Hi guys,

this new block is finally a real “interactive/dynamic” graph. First you select parameter of choice and the number of data points to preload from db. This will show initally on your page. Then, using the API, it will dynamically be adding points in realtime, so the graph will be sort of “moving forward” as new data is sent by the API script.

In the DEMO I set the interval to 30 seconds and used wind speed, which probably best illustrates how this works because it changes very quickly. Works with both dark and light themes.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dynamicGraph

Enjoy

Hi Jachym,
i've just installed dynamic graph block but i've blank page in its space.
Please could you give an eye here: http://www.meteopistoia.it

I've also seen that there isn't rain value as choice on settings menu.....is it possible to add it in the next release?
Regards,


Alessandro
Title: Re: Meteotemplate - Block update/new block
Post by: EastFrisianGuy on March 24, 2017, 05:48:32 PM
Hi guys,


New Block – Germany – Current Conditions
This new block shows national and regional maps with current conditions and warnings in Germany.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=currentDE

Enjoy

Thanks a lot for the current conditions plugin Jáchym, very useful. :-)
However you made a little typo in the tab for "Niedersachsen/Bremen", Bremen is spelled with just "m".  ;)

Best Regards

Georg
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2017, 05:56:43 PM
:D

Block Update - Germany - Current Conditions 1.1
- minor bug fixes...

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: kocher on March 24, 2017, 06:34:39 PM
the dynamic graphs work OK for me
( I am using Version 13, Lemon)

I could not upgrade to version 13.0 Limón.

The download link to update the template, takes me to:

http://www.meteotemplate.com/web/downloadedTemplate.php (http://www.meteotemplate.com/web/downloadedTemplate.php)

I can not find any files to update  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: nineback on March 24, 2017, 06:37:57 PM
Ust this link.
http://www.meteotemplate.com/web/download.php (http://www.meteotemplate.com/web/download.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2017, 07:00:06 PM
the dynamic graphs work OK for me
( I am using Version 13, Lemon)

I could not upgrade to version 13.0 Limón.

The download link to update the template, takes me to:

http://www.meteotemplate.com/web/downloadedTemplate.php (http://www.meteotemplate.com/web/downloadedTemplate.php)

I can not find any files to update  ](*,)

Javier please try again, just use the downloads page. I just checked the log file and there was too many of you recently so the server was having a hard time serving everyone. Also double check your popup blocker.
Title: Re: Meteotemplate - new free website template
Post by: kocher on March 24, 2017, 07:04:03 PM
Ok Jachym

 Now it worked
Also works the block "Dynamic Graphics"

 thank you very much  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 25, 2017, 05:41:24 AM
Good morning, I installed the latest version of the Forecast with the vxsim and it does not work well with the comma separation, because at 24 hours it does not erase the previous day, if in configuration I change 24 by 23 if it works well, you can see if Block error?
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 25, 2017, 05:59:32 AM
In the forum is there anyone who has detected this possible failure?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2017, 09:22:21 AM
Hi Juan,
thanks for letting me know, I think this is about the third time someone complained about WxSim block/plugin and I decided to remove all WxSIM support from Meteotemplate. Im not happy about doing this, but I really cannot offer support or develop stuff for a software, which produces very inconsistent and confusing log files, with bugs, with no documentation, developer is nice, but didnt provide any either and most importantly, software I have never seen or was able to use myself. I did this with Bloomsky, GrLevelX, solar sensor etc. , but when I cannot use it myself, I have to have good documentation and consistent, usable input, which is not the case of WxSim
Title: Meteotemplate - Block Update – Indoor Conditions 6.0
Post by: Jáchym on March 25, 2017, 09:47:26 AM
Block Update – Indoor Conditions 6.0

Hi guys,

- added possibility to enable/disable comfort index (very dry, dry, comfortable etc.)
- added possibility to add block heading
- CSS tweaks
- optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=indoor

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 25, 2017, 10:59:26 AM
Hello, if you need any Wxsim file, I have no problem sending you any data, it is a real shame, because it is an extremely reliable program and its creator a very good person.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2017, 11:25:11 AM
The problem is that your file does not help me. Several people in the past sent me their files and they are different because they depend on whatever setting you choose in the program. Timezones and DST is not handled properly and there are bugs in the CSV file, which btw. is nightmare to parse. Language strings are another issue, there is no list of them, which is what I need to be able to translate it. I really cannot work with something that I dont have myself and unlike for example NetAtmo, which I also dont have, does not have any proper documentation and description.
I know Tom is nice, it is just that these log files were not designed to be parsed (thats what he told me himself) and so are not consistent, the DST is a problem and he said he does not have list of language strings.
It is indeed a nice and useful program, but in this case I just have to say rather than having something full of bugs, I will discontinue these.

I tried:

https://www.weather-watch.com/smf/index.php/topic,63367.0.html
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 25, 2017, 02:10:39 PM
Ok

Thank You
Title: Meteotemplate - Translations
Post by: Jáchym on March 25, 2017, 02:14:27 PM
Meteotemplate - Translations

Hi guys,

in the Blog I just posted some important information about translations in general. If you are intersted you can read it to better understand how this works and why things are the way there are :-)
Title: Meteotemplate - Block Update - Summary 5.4
Post by: Jáchym on March 25, 2017, 05:28:48 PM
Block Update - Summary 5.4

Hi guys,

problem with the fact someone thought it would be funny to have months and days in the week in English capitalized is solved :D

Enjoy ;)
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 25, 2017, 06:18:46 PM
Jachym,

I have noticed the US NWS forecast block is not loading.
I have the block on my homepage and it just sits there loading.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2017, 06:54:10 PM
Which one Jonny, there are 3 NWS blocks
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 25, 2017, 07:09:15 PM
Which one Jonny, there are 3 NWS blocks
The one that uses the setup lat/long to create the forecast

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2017, 07:16:03 PM
I need the block namespace, they all use GPS, is it the NWS multiple? NWS? NWS custom?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 25, 2017, 07:17:44 PM
They all seem to work fine, I just checked

http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecastCustom
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecastMultiple
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecast
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 25, 2017, 07:17:59 PM
NWSforecast

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 25, 2017, 07:19:09 PM
I'll look at my block settings again when I return home

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: weatherbee on March 25, 2017, 07:47:56 PM
Mine has been working fine.
Tom
Title: Meteotemplate - New Plugin – Pollen Forecast EU
Post by: Jáchym on March 26, 2017, 09:10:38 AM
New Plugin – Pollen Forecast EU

Hi guys,

this new plugin shows pollen forecast for Europe for the upcoming 96 hours for several species.

DEMO: http://www.meteotemplate.com/template/plugins/pollenForecastEU/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on March 26, 2017, 09:23:56 AM
I've updated to the latest version, I tried activating the new API and it doesn't seem to be working with the "current" block...the settings in WD say success when I do a test, but my block just says offline...


Sent from my iPhone using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 09:25:21 AM
Did you select "api" in the current block settings? You must switch the data source in the Current from WD to API
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on March 26, 2017, 12:10:07 PM
Could somebody please ping hsncweather.com and let me know what IP you get?  I just moved to a new house, and along with a new ISP, I have a new wan IP address.  Obviously I messed something up, because my site resolves off the network, but on the network (from either router, 1 is downline from the other, and the server is plugged into the upline router) I cannot resolve my site.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 12:45:48 PM
Hi Stefan,
Im at work so I cannot ping you right now, but your site loads fine
Title: Re: Meteotemplate - new free website template
Post by: bchwdlks on March 26, 2017, 12:46:10 PM
Could somebody please ping hsncweather.com and let me know what IP you get?  I just moved to a new house, and along with a new ISP, I have a new wan IP address.  Obviously I messed something up, because my site resolves off the network, but on the network (from either router, 1 is downline from the other, and the server is plugged into the upline router) I cannot resolve my site.

stefanbagnato

sent pm with ping and traceroute to hsncweather.com
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on March 26, 2017, 02:19:50 PM
@portsmouthriwx
make sure you are using the latest update of WD
(and there is now a log file for what is sent auto,sentcustomhttget.txt)
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on March 26, 2017, 02:27:16 PM
@portsmouthriwx
make sure you are using the latest update of WD
(and there is now a log file for what is sent auto,sentcustomhttget.txt)

i am

Jachym, i did select it, how ever i now have set the block setting back to WD and its now not loading from the WD clientraw file
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on March 26, 2017, 02:44:05 PM
@portsmouthriwx
make sure you are using the latest update of WD
(and there is now a log file for what is sent auto,sentcustomhttget.txt)

all this log file says is "OK"
Title: Re: Meteotemplate - new free website template
Post by: slayer91 on March 26, 2017, 03:15:18 PM
Hi,
Meteotemplate seemed to have stopped updating my weather site @ http://www.quinweather.com/meteo/indexDesktop.php at 00:59 this morning which would indicate some possible issue with the daylight saving change over.
I am using WD ver 10.37s44 (latest version) and meteotemplate 11.00.
WD is sending the clientraw.txt every 5mins and I can see updating on the website webserver. But when I checked the mysql database the last entry is at
2017-03-26 00:59:26 and my site is showing offline status.

Any ideas?

Regs

Liam K

Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 26, 2017, 03:23:37 PM
Hi,
Meteotemplate seemed to have stopped updating my weather site @ http://www.quinweather.com/meteo/indexDesktop.php at 00:59 this morning which would indicate some possible issue with the daylight saving change over.
I am using WD ver 10.37s44 (latest version) and meteotemplate 11.00.
WD is sending the clientraw.txt every 5mins and I can see updating on the website webserver. But when I checked the mysql database the last entry is at
2017-03-26 00:59:26 and my site is showing offline status.

Any ideas?

Regs

Liam K
Highly suggested that you update to 12 for the API and 13 to get caught up with everything.
Some of the bug fixes may clean that issue up.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on March 26, 2017, 03:27:08 PM
when i load my api.php from my server all i get when it loads "no password provided"
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 26, 2017, 03:34:57 PM
when i load my api.php from my server all i get when it loads "no password provided"
You need to make sure in WD the update password is entered in the meteotemplate settings with the URL to the api.php file.
Set the update rate, and you're done.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Greg_M on March 26, 2017, 03:45:40 PM
Am I right in assuming these displays only work with Weather Display ?
So you have to buy that program to use them...yes?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 26, 2017, 03:50:33 PM
Quote
[/size]
// * Copyright 2013 by Eusotec GmbH  *
// ***********************************
//  Any usage of this webpage (also with modifications) is only
//  allowed on web servers with Eusotec control software.
//  Publishing of this file is forbidden.


Paul
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on March 26, 2017, 03:52:50 PM
when i load my api.php from my server all i get when it loads "no password provided"
You need to make sure in WD the update password is entered in the meteotemplate settings with the URL to the api.php file.
Set the update rate, and you're done.

Sent from my SM-G935R4 using Tapatalk

ive done this, and the meteotemplateLive.txt is being updated, not sure why the block isn't reading or displaying the information
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on March 26, 2017, 04:29:20 PM
Could somebody please ping hsncweather.com and let me know what IP you get?  I just moved to a new house, and along with a new ISP, I have a new wan IP address.  Obviously I messed something up, because my site resolves off the network, but on the network (from either router, 1 is downline from the other, and the server is plugged into the upline router) I cannot resolve my site.

stefanbagnato

sent pm with ping and traceroute to hsncweather.com

So everything does look fine from external.  It is only an issue on my network itself.  If I try to access the site via localhost, it tries to load, but with no CSS, which if I remember correctly means it is DSN related.  FYI for anybody reading, I have my own IIS server which runs the site, and my domain is through GoDaddy.  I am pretty sure it is just a setting in GoDaddy that is messed up.
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on March 26, 2017, 04:58:42 PM
note that was a few updates of WD to fix a couple of things with the new meteotemplate support
so make sure to download again
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 05:02:55 PM
Am I right in assuming these displays only work with Weather Display ?
So you have to buy that program to use them...yes?

Which displays?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 05:04:06 PM

// * Copyright 2013 by Eusotec GmbH  *
// ***********************************
//  Any usage of this webpage (also with modifications) is only
//  allowed on web servers with Eusotec control software.
//  Publishing of this file is forbidden.


Paul


?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 05:19:38 PM
when i load my api.php from my server all i get when it loads "no password provided"
You need to make sure in WD the update password is entered in the meteotemplate settings with the URL to the api.php file.
Set the update rate, and you're done.

Sent from my SM-G935R4 using Tapatalk

ive done this, and the meteotemplateLive.txt is being updated, not sure why the block isn't reading or displaying the information

Email/PM me your admin password
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 08:21:19 PM
Quote
[/size]
// * Copyright 2013 by Eusotec GmbH  *
// ***********************************
//  Any usage of this webpage (also with modifications) is only
//  allowed on web servers with Eusotec control software.
//  Publishing of this file is forbidden.


Paul


Just wondering, someone obviously deleted some post, what was it about? What did that file have to do with Meteotemplate?
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 26, 2017, 08:26:08 PM
Quote
[/size]
// * Copyright 2013 by Eusotec GmbH  *
// ***********************************
//  Any usage of this webpage (also with modifications) is only
//  allowed on web servers with Eusotec control software.
//  Publishing of this file is forbidden.


Paul


Just wondering, someone obviously deleted some post, what was it about? What did that file have to do with Meteotemplate?
The entire post is a bit further back in the thread.
Not my post, but I did see the entire post then what you quoted came up shortly after

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on March 26, 2017, 09:00:46 PM
Could somebody please ping hsncweather.com and let me know what IP you get?  I just moved to a new house, and along with a new ISP, I have a new wan IP address.  Obviously I messed something up, because my site resolves off the network, but on the network (from either router, 1 is downline from the other, and the server is plugged into the upline router) I cannot resolve my site.

stefanbagnato

sent pm with ping and traceroute to hsncweather.com

So everything does look fine from external.  It is only an issue on my network itself.  If I try to access the site via localhost, it tries to load, but with no CSS, which if I remember correctly means it is DSN related.  FYI for anybody reading, I have my own IIS server which runs the site, and my domain is through GoDaddy.  I am pretty sure it is just a setting in GoDaddy that is messed up.

I believe I fixed the issue.  If someone wouldn't mind trying to access my site, I'd appreciate it.  hsncweather.com or southwakeweather.com
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 26, 2017, 09:05:43 PM
Could somebody please ping hsncweather.com and let me know what IP you get?  I just moved to a new house, and along with a new ISP, I have a new wan IP address.  Obviously I messed something up, because my site resolves off the network, but on the network (from either router, 1 is downline from the other, and the server is plugged into the upline router) I cannot resolve my site.

stefanbagnato

sent pm with ping and traceroute to hsncweather.com

So everything does look fine from external.  It is only an issue on my network itself.  If I try to access the site via localhost, it tries to load, but with no CSS, which if I remember correctly means it is DSN related.  FYI for anybody reading, I have my own IIS server which runs the site, and my domain is through GoDaddy.  I am pretty sure it is just a setting in GoDaddy that is messed up.

I believe I fixed the issue.  If someone wouldn't mind trying to access my site, I'd appreciate it.  hsncweather.com or southwakeweather.com
I get address unreachable for an error
On both domains


Sent from my SM-G935R4 using Tapatalk
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on March 26, 2017, 09:23:49 PM
Could somebody please ping hsncweather.com and let me know what IP you get?  I just moved to a new house, and along with a new ISP, I have a new wan IP address.  Obviously I messed something up, because my site resolves off the network, but on the network (from either router, 1 is downline from the other, and the server is plugged into the upline router) I cannot resolve my site.

stefanbagnato

sent pm with ping and traceroute to hsncweather.com

So everything does look fine from external.  It is only an issue on my network itself.  If I try to access the site via localhost, it tries to load, but with no CSS, which if I remember correctly means it is DSN related.  FYI for anybody reading, I have my own IIS server which runs the site, and my domain is through GoDaddy.  I am pretty sure it is just a setting in GoDaddy that is messed up.

I believe I fixed the issue.  If someone wouldn't mind trying to access my site, I'd appreciate it.  hsncweather.com or southwakeweather.com
I get address unreachable for an error
On both domains


Sent from my SM-G935R4 using Tapatalk

(sigh).......
And now?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 26, 2017, 09:35:55 PM
Now it works
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on March 27, 2017, 02:39:32 AM
Re WD and Meteotemplate
the auto updates are done via the cronhttpget.exe
make sure that is not being blocked or similar
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2017, 05:25:32 AM
when i load my api.php from my server all i get when it loads "no password provided"
You need to make sure in WD the update password is entered in the meteotemplate settings with the URL to the api.php file.
Set the update rate, and you're done.

Sent from my SM-G935R4 using Tapatalk

ive done this, and the meteotemplateLive.txt is being updated, not sure why the block isn't reading or displaying the information

OK, fixed. It is sort of what I expected - half your fault, half mine :D

In PHP, "API" is not equal to "api". It is also my fault because I usually always assume users do this and before using the input do trim(strtolower(...)). In this case I forgot.

Part of the problem is also the fact you have chosen a font where it is very difficult to tell what is capitalized and what is not, so you need to be careful about this.

Works fine now :-)
Title: Meteotemplate - Block Update – Dynamic Graph 2.0
Post by: Jáchym on March 27, 2017, 06:25:25 AM
Block Update – Dynamic Graph 2.0

Hi guys,

added support for Cumulus via realtime.txt.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 27, 2017, 06:38:01 AM
Hello Jachym, forgive my insistence, I just wanted to comment, how does Weather28 or Saratoga data collect? Is that Template 13, pick up data from other files, both Weather 28 and Sataroga work correctly with Wxsim.
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2017, 06:43:04 AM
I don´t know Juan, but both Wim and Ken have access to the SW and I think Leuven is based on Saratoga script and these two templates in the backend are much more similar so it is easier to share code. I use totally different code for everything, I cannot just take Ken´s script and I want to use my own code, but I will just repeat myself, I do not have access to WxSIM, there is no documentation for it and the logs are very developer unfriendly and inconsistent (based on your settings in WxSIM, which I have no clue how it looks like).
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 27, 2017, 06:52:15 AM
Thank you Jachym, I do not want to disturb you, it was just out of curiosity
regards
Title: Re: Meteotemplate - new free website template
Post by: BristolRILiveWx on March 27, 2017, 07:21:27 AM
when i load my api.php from my server all i get when it loads "no password provided"
You need to make sure in WD the update password is entered in the meteotemplate settings with the URL to the api.php file.
Set the update rate, and you're done.

Sent from my SM-G935R4 using Tapatalk

ive done this, and the meteotemplateLive.txt is being updated, not sure why the block isn't reading or displaying the information

OK, fixed. It is sort of what I expected - half your fault, half mine :D

In PHP, "API" is not equal to "api". It is also my fault because I usually always assume users do this and before using the input do trim(strtolower(...)). In this case I forgot.

Part of the problem is also the fact you have chosen a font where it is very difficult to tell what is capitalized and what is not, so you need to be careful about this.

Works fine now :-)

Thank you very much, sir


Sent from my iPhone using Tapatalk
Title: Meteotemplate - Block Update – Current Conditions – Big – 3.0
Post by: Jáchym on March 27, 2017, 09:22:49 AM
Block Update – Current Conditions – Big – 3.0

Hi guys,

added possibility to add time of update at the top.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 27, 2017, 08:15:05 PM
It is funny when you check the user map... there are almost like "Meteotemplate hotspots" :D

Just using U.S. as an example... there is still quite a few states where there are no users at all. In contrast, I just added the seventh (!) user from Phoenix, Arizona :D
Title: Meteotemplate - New Plugin – Pollen Calendar
Post by: Jáchym on March 28, 2017, 06:44:53 AM
New Plugin – Pollen Calendar

Hi guys,

I created a pollen calendar for the U.K. and I decided to merge it with the already existing Czech pollen calendar.

The Czech pollen calendar plugin is therefore discontinued and replaced by this general “Pollen calendar” plugin, which currently includes the original Czech one and one for the U.K.

Also make sure you update your menu.php, delete your Czech pollen calendar link and include the new one.

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KeithErnest on March 28, 2017, 09:06:12 PM
Wanted to try Meteotemplate. Got key and downloaded V12. Took long time to set it up okay but had 15 updates in one week then new version 13. Next day 8 more updates and now 6 more since.
Cannot keep up. Sorry. Too many. Must look for something else.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 28, 2017, 09:33:45 PM
The update takes usually a few seconds,  but most importantly,  you don't really need to do it,  unless it is some major bug fix you can of course keep on using what you already have,  blocks and plugins can be updated for example from version 2 to 5 directly, 
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 28, 2017, 10:48:25 PM
These are the easiest updates to my site I've ever done... Usually it takes me a day to a day and a half to get the updates coded. This setup, 1 hr and I'm all done

Well done Jáchym. Simplification at its finest

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 29, 2017, 05:53:59 AM
Hello Jachym, in the Summary block, all the tabs work with your information, except the "Forecast" tab that does not offer any information, is normal or has to be activated somewhere.
regards

http://www.meteobadalonaprogres.cat/template
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 06:12:57 AM
Hi Juan,
no activation should be required, data is loaded from yrNo, but some servers struggle with the parsing and connecting to yrNo, I will see if I can fix it, but I know that for some people their servers just refuse connecting to yrNo, no clue why...

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 06:15:21 AM
These are the easiest updates to my site I've ever done... Usually it takes me a day to a day and a half to get the updates coded. This setup, 1 hr and I'm all done

Well done Jáchym. Simplification at its finest

Sent from my SM-G935R4 using Tapatalk

Hi Jonny,
thanks, well this is one of those dilemas I have all the time. On one hand I do understand that it might be annoying to see too many updates. On the other hand, i receive several emails with suggestions every single day, or bug fix reports etc. It is then hard to decide what to do. So I try to make a compromise - do the updates as soon as possible, but try to make them as simple as possilbe. It used to be much harder in previous versions of Meteotemplate, where for example every update meant deletion of all your settings.

With the main template file you have to go from one version to the next, but this only happens usually every 2-3 months. With blocks/plugins, you can skip versions. Just dont delete your settings.php and you can replace all the other files, eg from v1 to v8 directly.
Title: Meteotemplate - Plugin Update – Pollen Calendar 2.0
Post by: Jáchym on March 29, 2017, 06:57:45 AM
Plugin Update – Pollen Calendar 2.0

Hi guys,

in this new version I added data for the United States. I wanted to do similar thing for a long time, now I finally found the necessary data.

Given the size of the U.S., the plugin required dividing it into sections, so you have 6 regions available:
- Northwest
- Midwest
- Northeast
- Southwest
- South Central
- Southeast

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 29, 2017, 09:16:35 AM
According Jachym, let me know, your is a solution
regards
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 29, 2017, 09:21:35 AM
Plugin Update – Pollen Calendar 2.0

Hi guys,

in this new version I added data for the United States. I wanted to do similar thing for a long time, now I finally found the necessary data.

Given the size of the U.S., the plugin required dividing it into sections, so you have 6 regions available:
- Northwest
- Midwest
- Northeast
- Southwest
- South Central
- Southeast

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/

Enjoy
Are you planning on a block or is the php file too large for it?
Just curious.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 09:39:27 AM
Hi Jonny,
not really, there is too much data to display nicely in a block and also this is likely to get even bigger if I add more and more countries
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 10:29:09 AM
Yeah, I was looking at it again. The problem really is in the amount of data to show and most importantly, each country is in different format and has different data (sometimes even country resolution is not enough - i.e. US :D). So it would have to be a block for each country separately, which could soon be quite  a lot of blocks...
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 29, 2017, 10:30:33 AM
What I figured... Just asking.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 11:00:12 AM
I was thinking maybe only show those allergens that are currently important - i.e. check current month and check the data and only show what is current for today´s date. I guess that would work with regards to the space for the block, but we still have the problem with different data formats for each country
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 12:49:17 PM
Hi guys,

so far, the recently released plugin “Pollen Calendar” supports the Czech Republic, United Kingdom and United States. I am more than happy to include your country as well (if it is not the one already available), but it is a bit problematic trying to find the data for me if it is not in English. I am sure I would be able to understand it once I have the page, but trying to find such page is difficult.

If, therefore, you would like to see your country as well, then look at the plugin and look what sort of data it expects – basically a list of trees/weeds/grasses and their activity during the year. If you then find similar information somewhere, just send me a link and I will see what I can do.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 29, 2017, 01:03:20 PM
Jachym,
Just wondering if you would ever change the Links page?  I am in the process of adding my own links to it and don't want to get confused later on.  Would I have an issue adding a new heading?
Thanks,
Jay

PS,  Like the Pollen Calendar.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 29, 2017, 01:15:52 PM
Hi, does anyone have problems with the earthquake plugin ?, I can not see the image.

Http://www.meteobadalonaprogres.cat
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 01:28:44 PM
Jachym,
Just wondering if you would ever change the Links page?  I am in the process of adding my own links to it and don't want to get confused later on.  Would I have an issue adding a new heading?
Thanks,
Jay

PS,  Like the Pollen Calendar.

Hi Jay,
you mean the "Links" page which is default part of the template right?
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 29, 2017, 01:31:48 PM
Yes

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 01:32:30 PM
Hi, does anyone have problems with the earthquake plugin ?, I can not see the image.

Http://www.meteobadalonaprogres.cat

Hi Juan,
the link you posted points to Leuven template, not Meteotemplate.

And when I checked your MT site, I dont see the EQ plugin installed
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 01:35:46 PM
Yes

Jay

Yes I know, that page is very old and not really what I currently want it to look like. You can of course change it, but maybe I will just say "wait" :-)
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 29, 2017, 01:54:44 PM
Hi Jachym, if installed version 3.0

Http://www.meteobadalona.cat/template
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 01:56:46 PM
I get DNS error when I try that link - Im about to leave to part-time job, I will look at it when I get back, but you need to provide functional URL
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 29, 2017, 02:06:22 PM
Juan,

It looks like you don't have a google maps API.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on March 29, 2017, 02:18:21 PM
Ok thanks a lot, solved
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 29, 2017, 04:51:10 PM
TY Jay
Title: Meteotemplate - Block Update - Astro Events 3.0
Post by: Jáchym on March 30, 2017, 08:00:25 AM
Block Update - Astro Events 3.0

Hi guys,
I added possibility to add block heading.

Enjoy
Title: Meteotemplate - Pollen Calendar
Post by: Jáchym on March 30, 2017, 08:02:54 AM
Hi guys,

thanks to all of you who have suggested links and sources for other countries for the pollen calendar. I will try to add them, but it might take some time as it takes relatively long because each data source comes in a different format and has to be coded differently.

For Northern hemisphere pollen will soon be an issue so I will concentrate on this now.

Meanwhile I continue working on v14, which is still far away, but Im gradually adding new features and improvements, also based on your tips from the January questionnaire.
Title: Meteotemplate - Cumulus users - important
Post by: Jáchym on March 30, 2017, 11:22:10 AM
Hi guys,

as part of preparations for v14 I want to optimize and make the update script even better.

I am now in the process of optimizing the parsing of realtime.txt for Cumulus and we have a problem, which Im not sure how to solve - because there is no clear right or wrong answer.

So, in realtime.txt are these three parameters:

- wind speed average
- latest wind speed
- 10min wind gust

MT database includes 2 parameters - wind speed average and max wind gust for each interval.

Problem No.1:
Wind speed average
Here we have two options. Option one is to always cache the "wind speed average" parameter and then save avg of this to the db as wind speed average. This looks straight forward, but it in fact isn´t so. The db value would in such case be exactly the avg. However, the API does two things, it saves the parsed values to cache (and after 5 minutes uses this to update the db) and in addition, it saves currently parsed values into the file that includes the "current conditions". So we have to choose now. If I take the "wind speed avg", then the avg in the db will be spot on (it will be average of the averages in the cache), but your current value would correspond to the 1-min average, not the latest. Alternatively, I can use the latest wind parameter and in such case, the live conditions file would include the real latest value, but the average saved to db would not be average of averages, but average of the latest saved at the time of each execution of the api script.

Problem No.2:
What do we do with the gust.... cumulus does not send 5min max wind, but this is the interval in the db. So again we have two options:
First option is to cache the averages/latest values and then after 5 min save maximum of those values into the db as G. This of course creates a problem because if the gust occurs in between the interval at which you run the update CRON, it would not be registered. Theoretically you could overcome by setting the CRON update times to something very short in which case every realtime would be read by the api before being overwritten by another one.
Second option is to take the 10min max gust. This would ensure that the maximum value is registered - BUT - it would mean that this value would be duplicated in the db, because since the updates are at 5min intervals, the 10min max gust will be the same for both.

You have to tell me what you prefer.... obviously no matter what we choose it will be a compromise, but unfortunately this is the best we can do unless realtime.txt is changed or Cumulus sends data directly to the API - which is also not an option currently.
Title: Web provider?
Post by: Didiersm on March 31, 2017, 01:48:08 AM
 Hi,
Jachim advised me to post here regarding my search. Specially For the French guys, I'm looking for a cheap web provider to start my tests with MeteoTemplate. I'm currently to "free.fr" but the "Curl" is not present.
Thanks for your answers.

Didier
Title: Meteotemplate - Block Update – NWS Forecast 4.0
Post by: Jáchym on March 31, 2017, 06:34:57 AM
Block Update – NWS Forecast 4.0

Hi guys,

- added time of forecast update
- added period of forecast validity
- fixed a bug with caching

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecast

Enjoy
Title: Meteotemplate - Plugin Update – Pollen Calendar 3.0
Post by: Jáchym on March 31, 2017, 08:12:20 AM
Plugin Update – Pollen Calendar 3.0

Hi guys,

you will have to bear with me, this one takes a lot of time to do because each country requires completely different script. Here is another batch of new countries and more will come later.

Added:
- Belgium
- Germany
- Switzerland – available in German, Italian, French and English depending on your template language settings
- Norway
- Sweden

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/index.php

Enjoy
Title: PageSpeed
Post by: Jáchym on March 31, 2017, 10:26:31 AM
Hi guys,

several of you asked me about this and i think this might be useful for anyone creating a webpage.

I just wanted to summarize some important things to keep in mind when optimizing your web page and testing it using some online speed testing tools such as the Google PageSpeed

http://meteotemplate.com/blog/?p=2270
Title: Meteotemplate - Block Update - NWS Forecast - Custom 3.0
Post by: Jáchym on March 31, 2017, 12:43:37 PM
Block Update - NWS Forecast - Custom 3.0

Hi guys,

- added last update time and valid for time to forecasts
- added a little message at the top informing the user they can drag the marker to whatever location they want - will automatically disappear when the user does so

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=nwsForecastCustom

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 31, 2017, 02:15:47 PM
Jachym,

Not sure why, but when I switched from PHP 7.0 to 7.1 the daily notification stopped working.  I have reverted back to 7.0 for now.  Ideas?

Jay
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on March 31, 2017, 02:29:42 PM
Jáchym,
I have noticed that a plug in menu I added does not show on the mobile side. How can I fix that?
This is for the US Weather menu.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on March 31, 2017, 04:07:44 PM
Jachym,

Another question.  Is it possible to add a link to another site on the menu as another item?  As an example after Tools then a link menu item.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2017, 04:15:20 PM
Jáchym,
I have noticed that a plug in menu I added does not show on the mobile side. How can I fix that?
This is for the US Weather menu.

Hi Jonny,
plugins are only for the desktop version. This might slightly misleading. "Desktop" version is not really for desktops. It is for decently sized screens. The "Mobile" version is for very small screens. Most phones these days and tablets will display the desktop version absolutely fine when in landscape mode and most of the plugins use various maps, graphs etc. which you cannot simply wrap to a new line and if you make them smaller they become useless, not to mention the fact that it would take ages to optimize everything twice - without even knowing the result - it took me a lot of time to do the current mobile section and with help of other users who told me what it looks like on a smartphone I was able to create something that sort of works.
So mobile section is only for very small screens and therefore shows the most basic stuff like current conditions, a few tables, graphs etc. If you want to look at plugins, just use the desktop version. The mobile menu is fixed and only includes those pages that are optimized for this. In the main settings you can specify which devices should be redirected to the desktop and if you set this to something like 800px, you will see that 90% of phones will load the desktop version too.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2017, 04:16:01 PM
Jachym,

Another question.  Is it possible to add a link to another site on the menu as another item?  As an example after Tools then a link menu item.

Jay

Hi Jay,
not sure I understand, but yes you can of course include extrnal links in the menu, see the wiki.
Title: Re: PageSpeed
Post by: jeffm5690 on March 31, 2017, 04:49:35 PM
Hi guys,

several of you asked me about this and i think this might be useful for anyone creating a webpage.

I just wanted to summarize some important things to keep in mind when optimizing your web page and testing it using some online speed testing tools such as the Google PageSpeed

http://meteotemplate.com/blog/?p=2270

LOL - I got a 21/100...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2017, 05:06:14 PM
For example, it will give you marks down for not caching the map images... which again is nonsense, but it only knows it should ignore Google Maps and as soon as you use Leaflet maps...

The best thing though is its recommendation to optimize "my" Google Analytics script :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2017, 05:11:44 PM
Dont get me wrong, Im not saying it is useless, no, it is very good. But one must know how to use it. It is more like a list of things to check, sometimes it will tell you to do something and you will go - aaaahhh.. of course I forgot. In other cases you will go - oh, thats fine, thats correct the way it is now - eg. the webcam img caching... These are general rules and will never fit each website. Just Google it and you will find this exact same opinion from many developers. It is just a tool to check things and make sure you did not forget about something and that the page behaves the way you want it to behave. It might for example suggest to compress certain image. And again, it depends. Maybe you really forgot about compressing some one particular image. In other case, such compression could lead to unusable quality degradation.
Title: Re: Meteotemplate - new free website template
Post by: Colin on March 31, 2017, 10:38:57 PM
What I find most annoying is that when I visit Meteotemplate sites (other than mine) they always run the mobile version and I have to scroll to the bottom of the site and select the desktop version. That may be okay for mobile phones but the desktop versions work beautifully on my 9.7" iPad pro.

Jáchym,
I have noticed that a plug in menu I added does not show on the mobile side. How can I fix that?
This is for the US Weather menu.

Hi Jonny,
plugins are only for the desktop version. This might slightly misleading. "Desktop" version is not really for desktops. It is for decently sized screens. The "Mobile" version is for very small screens. Most phones these days and tablets will display the desktop version absolutely fine when in landscape mode and most of the plugins use various maps, graphs etc. which you cannot simply wrap to a new line and if you make them smaller they become useless, not to mention the fact that it would take ages to optimize everything twice - without even knowing the result - it took me a lot of time to do the current mobile section and with help of other users who told me what it looks like on a smartphone I was able to create something that sort of works.
So mobile section is only for very small screens and therefore shows the most basic stuff like current conditions, a few tables, graphs etc. If you want to look at plugins, just use the desktop version. The mobile menu is fixed and only includes those pages that are optimized for this. In the main settings you can specify which devices should be redirected to the desktop and if you set this to something like 800px, you will see that 90% of phones will load the desktop version too.
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 01, 2017, 12:01:11 AM
What I find most annoying is that when I visit Meteotemplate sites (other than mine) they always run the mobile version and I have to scroll to the bottom of the site and select the desktop version. That may be okay for mobile phones but the desktop versions work beautifully on my 9.7" iPad pro.

Jáchym,
I have noticed that a plug in menu I added does not show on the mobile side. How can I fix that?
This is for the US Weather menu.

Hi Jonny,
plugins are only for the desktop version. This might slightly misleading. "Desktop" version is not really for desktops. It is for decently sized screens. The "Mobile" version is for very small screens. Most phones these days and tablets will display the desktop version absolutely fine when in landscape mode and most of the plugins use various maps, graphs etc. which you cannot simply wrap to a new line and if you make them smaller they become useless, not to mention the fact that it would take ages to optimize everything twice - without even knowing the result - it took me a lot of time to do the current mobile section and with help of other users who told me what it looks like on a smartphone I was able to create something that sort of works.
So mobile section is only for very small screens and therefore shows the most basic stuff like current conditions, a few tables, graphs etc. If you want to look at plugins, just use the desktop version. The mobile menu is fixed and only includes those pages that are optimized for this. In the main settings you can specify which devices should be redirected to the desktop and if you set this to something like 800px, you will see that 90% of phones will load the desktop version too.
I do have  my settings pointing tablets to the desktop version.
I was beta testing my MT so I could get everything I wanted set up before making it the primary site.

Sent from my SM-G935R4 using Tapatalk

Title: Meteotemplate - Block Update – Indoor 7.0
Post by: Jáchym on April 01, 2017, 08:50:09 AM
Block Update – Indoor 7.0

Hi guys,

I am sure we all have problems with leaks. Water can leak through the ceiling, not well insulated windows mean wind can get into our houses. I therefore added support for indoor precipitation and indoor wind speed to the indoor block. You don´t even have to have a sensor for this because the script is smart enough to determine how badly your house is designed.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=indoor

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 01, 2017, 09:30:07 AM
Quote
Hi guys,

I am sure we all have problems with leaks. Water can leak through the ceiling, not well insulated windows mean wind can get into our houses. I therefore added support for indoor precipitation and indoor wind speed to the indoor block. You don´t even have to have a sensor for this because the script is smart enough to determine how badly your house is designed.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=indoor

Enjoy

April Fools Day.  Pretty funny, Jachym.  Like your sense of humor

Jay
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 01, 2017, 09:40:29 AM
Jachym,

Will the stickers be able to use the API at some point?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 01, 2017, 10:27:59 AM
Good point, yes, when i get home from work I will look at it
Title: Meteotemplate - Plugin Update – Pollen Calendar 4.0
Post by: Jáchym on April 01, 2017, 06:05:15 PM
Plugin Update – Pollen Calendar 4.0

Hi guys,

slowly adding new countries (each requires a different script and all has to be done manually, so it takes time and I will add further countries in the future).

New countries available:
- Italy
- Spain – divided into Central Spain, Northern Spain, Mediterráneo , Baleares and Canary Islands

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/

Enjoy

Title: Meteotemplate - Block Rollback - Indoor 6.0
Post by: Jáchym on April 01, 2017, 08:16:10 PM
Block Rollback - Indoor 6.0

Hi guys,

it is now Apr 2 already and I think it is time to do the first ever block rollback. The latest version of Indoor plugin (7.0) is no longer available and if you actually really did update to v7.0, you can now download 6 again :-)

Enjoy and have fun

Jachym
Title: Meteotemplate - Plugin Update – Stickers 7.0
Post by: Jáchym on April 02, 2017, 08:36:50 AM
Plugin Update – Stickers 7.0

Hi guys,

new in version 7 (all for the interactiveSticker):

- auto support of the API – you don´t need to change anything. The script will automatically detect if you are using the API and if yes, use current conditions loaded from the live conditions file (i.e. your data will be more up-to-date, not loaded from the db, but directly from the live file and this will also improve performance because it bypasses the database)
- improved decimal places handling
- optimization

Note: This plugin of course still supports the original scripts if you are not using the API and it is worth updating even for those not using the API because it should run faster and include some minor bug fixes and tweaks. Also, if in the future you start using the API, the interactive sticker will automatically switch to data from it.

Enjoy
Title: Re: Meteotemplate - Plugin Update – Stickers 7.0
Post by: jeffm5690 on April 02, 2017, 09:52:43 AM
Plugin Update – Stickers 7.0

Hi guys,

new in version 7 (all for the interactiveSticker):

- auto support of the API – you don´t need to change anything. The script will automatically detect if you are using the API and if yes, use current conditions loaded from the live conditions file (i.e. your data will be more up-to-date, not loaded from the db, but directly from the live file and this will also improve performance because it bypasses the database)
- improved decimal places handling
- optimization

Note: This plugin of course still supports the original scripts if you are not using the API and it is worth updating even for those not using the API because it should run faster and include some minor bug fixes and tweaks. Also, if in the future you start using the API, the interactive sticker will automatically switch to data from it.

Enjoy

Perfect as usual!  Thanks!!!
Title: Meteotemplate - Block Update – Rise/Set 6.4
Post by: Jáchym on April 02, 2017, 11:40:38 AM
Block Update – Rise/Set 6.4

Hi guys,

this update fixes a bug, which caused the color in the daytime diagram to overlap the half circle.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=riset

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on April 02, 2017, 06:51:47 PM
Hi guys,

Block Update - Rise/Set 6.5
Sorry, just minor fix for an issue with timezones

Plugin Update - Drought U.S. 1.1
Current version no longer works because of changes in data source. Please update your plugin to make it functional again.

Enjoy
Title: Meteotemplate - Block Update – Current conditions – Australia 2.0
Post by: Jáchym on April 03, 2017, 06:36:35 AM
Block Update – Current conditions – Australia 2.0

Hi guys,

in the new version the original location you selected is still used by default, but the users themselves can switch regions. Each region file is cached separately to save resources.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentAustralia

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 03, 2017, 12:58:14 PM
Hi guys,

all the translations are always done by a native speaker. With just one exception – English…. As you all know, English is not my native language and is far from perfect (sometimes I just follow my gut feeling :D). This includes not just the template, but also the wiki. If therefore you are an English native speaker and find some language issue – and this includes everything – grammar, typos, spelling etc., please let me know so that I can fix it. There is also two versions available – British and American English, so if you think some phrase should be used differently in a particular version, also let me know.

Thanks!
Title: Meteotemplate - Videotutorials
Post by: Jáchym on April 04, 2017, 05:50:32 AM
Hi guys,

I removed all ads from the videotutorials so you can now enjoy watching them ad-free, just like the entire meteotemplate.com site.
Title: Meteotemplate - New Block – Audio
Post by: Jáchym on April 04, 2017, 09:25:59 AM
New Block – Audio

Hi guys,

since the NOAA radio block is no longer available I replaced it with a more general “Audio” block. In the settings you simply specify the URL of the audio file you want to play and title and users can play this file directly from your homepage.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=audio

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on April 04, 2017, 09:44:49 AM
Another NWS change.......

http://www.wrh.noaa.gov/mtr/webchanges.php

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2017, 10:49:41 AM
To be quite honest I feel like saying one more change and Im deleting all NWS blocks and plugins. Im getting a bit tired of this. Ive been doing Meteotemplate for less than two years and some scripts - and I want to emphasize Im not talking about HTML scraping, thats of course a different matter - scripts that use API, XML feeds etc. - have already been updated 3 times. This is not how an api or data provision should work.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 04, 2017, 11:58:06 AM
To be quite honest I feel like saying one more change and Im deleting all NWS blocks and plugins. Im getting a bit tired of this. Ive been doing Meteotemplate for less than two years and some scripts - and I want to emphasize Im not talking about HTML scraping, thats of course a different matter - scripts that use API, XML feeds etc. - have already been updated 3 times. This is not how an api or data provision should work.

Ugh.  Please don't!!!!  I hate to beg...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 04, 2017, 12:05:09 PM
Well... you know Im not gonna do it, but it is really frustrating and to make things even more exciting, the U.K. Metoffice is redesigning their API from scratch and you will even need a new API key... The last time I had to change something because of API changes was 2 days ago...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 04, 2017, 10:43:00 PM
Well... you know Im not gonna do it, but it is really frustrating and to make things even more exciting, the U.K. Metoffice is redesigning their API from scratch and you will even need a new API key... The last time I had to change something because of API changes was 2 days ago...

Looks like it began.  My block for the nws now says forecast not available.
Title: Meteotemplate - updates
Post by: Jáchym on April 05, 2017, 09:45:08 AM
Hi guys

Block Update – Astro Events 3.1
- minor bug fixes

Plugin Update – Pollen Calendar 5.0
- added Austria

Wind Direction sensor
The DEMO will no longer show wind direction. I tried repairing the wind direction sensor of my station which broke about 2 months ago, I managed to repair it, but it only worked for couple of days and now stopped again. I think the damage is permanent so all data in the DEMO for wind direction will be showing 0.

I just want you to know this so that you know this is not an error in the script.

Same goes for solar radiation, which in the demo has never been working since I have no solar sensor, but I enabled it in the Main settings to show you what it looks like when you have one.

Im just hoping the rest of the station will work fine, it is already 7 years old and these cheap plastic stations usually don´t last very long, so I would not be surprised if it just stopped anytime…
Title: Meteotemplate - Plugin Update – Pollen Calendar 6.0
Post by: Jáchym on April 06, 2017, 07:31:25 AM
Plugin Update – Pollen Calendar 6.0

Hi guys,

in version 6:
- added support for Canada – both English and French version available and autoselected based on your template language
- added French version to the Belgian page
- added tooltips for flags (thanks Gus)

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/index.php

Enjoy
Title: Meteotemplate - New Block – Denmark – Current conditions
Post by: Jáchym on April 06, 2017, 02:18:00 PM
New Block – Denmark – Current conditions

Hi guys,

this new block shows a map and table of current weather in Denmark.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentDK

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on April 07, 2017, 08:26:31 AM
Hi guys

Plugin Update - Pollen Calendar 7.0
- added the Netherlands
DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/index.php

Block Update - Station Data 7.1
- CSS tweaks
- fixed incorrectly calculated and converted rain from last 24h

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 07, 2017, 06:03:21 PM
Is there a problem with the admin script to back up the system data?

I've been trying all day to use it and it never completes!  It used to before I changed hosting companies and I can't remember if I've used it since.

I've data since mid 2010 and it will always create a csv file for the first few years but never gets to 2017, occasionally it will create part of a file for 2016 but mostly stops part way through 2015.

The time stamps on the files it does create are all within a 45 second window, is there a limit on how long a script can run?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 07, 2017, 06:21:02 PM
Hi,
yes there is a limit, PHP has two limits:
- maximum execution time of one script
- maximum memory allowed

both are set on the server in the main PHP config file (php.ini).

I split the data by years to try to eliminate the maximum execution limit, but the other one could be an issue. This is almost certainly due to different host which has different limits, or, you simply now have more data in the db and it cannot finish on time. The only option is either increase those limits or try the export directly from PHPMyAdmin in SQL format
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 07, 2017, 06:26:44 PM
Hi,
yes there is a limit, PHP has two limits:
- maximum execution time of one script
- maximum memory allowed

both are set on the server in the main PHP config file (php.ini).

I split the data by years to try to eliminate the maximum execution limit, but the other one could be an issue. This is almost certainly due to different host which has different limits, or, you simply now have more data in the db and it cannot finish on time. The only option is either increase those limits or try the export directly from PHPMyAdmin in SQL format

I knew about the option in PHPMyAdmin so wasn't really worried but more curious!  Memory looks like 128M and execution limit is 30 if I read the output of http://www.sanfordweather.com/meteo/admin/phpinfo.php right!


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 07, 2017, 06:43:45 PM
That sounds about average, but it is hard to tell because it depends also on server speed, how overloaded it is - i.e. how fast it executes the script and if 30s is enough. My provider also has 30s and it manages to finish, but... if you can do it via PHPMyAdmin then that should be even easier. I might have to change this sometime in the future, so that you are able to back up year by year, theoretically you can already do it using the interactive table script.
Title: Meteotemplate - Plugin Update - Pollen Calendar 8.0
Post by: Jáchym on April 07, 2017, 07:04:16 PM
Plugin Update - Pollen Calendar 8.0

Hi guys,

added New Zealand - month order adjusted to Southern Hemisphere

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/index.php

Enjoy
Title: Re: Meteotemplate - updates
Post by: tstorm on April 08, 2017, 09:23:32 AM
Hi guys,

Block Update - Rise/Set 6.5
Sorry, just minor fix for an issue with timezones

Plugin Update - Drought U.S. 1.1
Current version no longer works because of changes in data source. Please update your plugin to make it functional again.

Enjoy

Jachym,

   The droughtUS current conditions image is not showing.  The url is missing the word home.  It should be  http://droughtmonitor.unl.edu/data/png/current/current_usdm_home.png.  I made the change it shows up fine.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 08, 2017, 10:27:48 AM
Thanks John, though Im sure it worked before, 100% sure, I checked it, which means they are making further changes.... getting more and more annoyed with NWS to be quite honest, updating everything basically on a monthly basis...
Title: Meteotemplate - updates
Post by: Jáchym on April 08, 2017, 10:57:14 AM
Hi guys,

New Block – Pollen Forecast

this block shows a list of current potential pollen allergens in the Czech Republic (for this day of the year) and highlights the potential risk.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=pollen


Plugin Update – Drought U.S. 1.2

- further changes in the data source, let's hope this will not continue because I really cannot be updating this every other week

DEMO: http://www.meteotemplate.com/template/plugins/droughtUS/index.php


Enjoy
Title: Meteotemplate - New Block – Pie Visualization
Post by: Jáchym on April 09, 2017, 09:07:30 AM
New Block – Pie Visualization

Hi guys,

this new block is just a fancy way of showing today´s temperature.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dayPie

Enjoy
Title: Meteotemplate - New Plugin – Wind Power
Post by: Jáchym on April 10, 2017, 03:55:49 PM
New Plugin – Wind Power

Hi guys,

this new plugin calculates an estimate of wind power generated providing a particular wind speed and some other parameters.

Main features:
- wind power calculator
- efficiency/blade length/wind speed graph
- station averages
- interactive animated wind icon reflecting selected wind speed

DEMO: http://www.meteotemplate.com/template/plugins/windPower/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 10, 2017, 06:18:11 PM
Hi Jachym,
i've deleted all guestbook messages :(
Is it possible to recover part of this?
Thanks in advance,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 10, 2017, 06:20:38 PM
Hi,
if you made no backup of all the files then Im afraid no. The posts are saved in a JSON text file in the plugins folder.
Title: Meteotemplate - New Language – Albanian
Post by: Jáchym on April 10, 2017, 07:31:02 PM
New Language – Albanian

Hi guys,

another language translation is now complete.

Meteotemplate is now also available in Albanian and big thanks goes to Kristi for his help!

Enjoy
Title: Meteotemplate - Plugin Update – Air Traffic 1.1
Post by: Jáchym on April 11, 2017, 06:26:10 AM
Plugin Update – Air Traffic 1.1

Hi guys

- minor improvements
- bug fixes

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on April 11, 2017, 09:25:19 AM
Is anybody else having issues with the NWS Warnings block (warningsUSRegions)?  I know it is not the block itself; it is the NWS.  Last week we had a tornado watch, severe thunderstorm warning, wind advisory, and frost advisory all within about 24 hours.  The block never showed any of that.  I am in Wake County NC, and these are the zone codes I am using: NCC183,NCZ041
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2017, 09:37:16 AM
I remember reading elsewhere on this forum that these RSS channels often dont match the warnings on the webpage
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on April 11, 2017, 09:42:24 AM
Oh.....that's horrible..... Unless anybody has some magic mapping information, maybe I will switch to the warningsUS block and just set the entire state.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 11, 2017, 10:03:51 AM
I think this started when they migrated to the new server/system. These RSS channels are not always accurate, cant tell if this is temporary... hopefully...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 11, 2017, 06:33:06 PM
Just something cool...  I'm sure someone here has seen it but thought it was worth mentioning.

https://toolkit.climate.gov

Title: Meteotemplate - Plugin Updates
Post by: Jáchym on April 12, 2017, 09:38:09 AM
Hi guys

Plugin Update - Data Quality Check 1.2
- some improvements
- bug fixes

Plugin Update - Wind Power 1.1
- bug fixes

Enjoy
Title: Meteotemplate - Plugin Update – WL-IP 2.1 – URGENT!
Post by: Jáchym on April 12, 2017, 12:42:12 PM
Plugin Update – WL-IP 2.1 – URGENT!

Hi guys,

users of WL-IP are currently not getting any data from WL.com. This is because Davis made a mistake in the way their XML feed is generated and all apps/pages that use their XML are now broken.

I prepared an urgent bug fix, however, I am at work so I do not have much time and I cannot even test this myself because i don´t have Davis. You can try the new version 2.1, but I cannot guarantee it will help. If not, we will just have to wait for Davis to fix their site.

This just shows why I said it is advantageous to use the API and not rely on external services such as WeatherLink or WU...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 12, 2017, 03:17:49 PM
OK, you can safely apply the update, one person confirmed to me it works.
Title: Meteotemplate - Block Update – Pie Visualization 2.0
Post by: Jáchym on April 13, 2017, 08:11:59 AM
Block Update – Pie Visualization 2.0

Hi guys,

major update of this block.

New features:
- possibility to view any parameter
- optmized for very fast loading when switching parameters

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dayPie

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 13, 2017, 11:02:09 AM
I've looked at the pie chart and must admit I really do not understand it.  There is no legend to explain the various colors.  I look at pressure and I see purple and orange but have no idea what the colors mean.  I look at wind and it is purple.  What does purple mean?  I look at temperature and see blue which I assume is cold and red which I assume is hot but don't know what hot and cold means as far as actual temperature.  I have no idea at what level the colors change.  I think you need a legend that shows the range that each color represents.


Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 13, 2017, 11:42:10 AM
Hi,
It is not really to show you the exact values, the color scale will adjust based on the values measured that day, so for example the most "blue" will be the coldest period of that day and most red will always be the warmest.

Likewise for the wind/gust, darker color simply means stronger wind, but the darkest will again correspond to the highest gust of that day. It is just to give you an idea of the progress of that particular parameter during the day - i.e. when was coldest, warmest, driest, with rain it will show blue bands and the intensity of blue will depend on the instantenous rain rate.

Title: Re: Meteotemplate - Block Update – Pie Visualization 2.0
Post by: droiddk on April 13, 2017, 12:01:29 PM
Block Update – Pie Visualization 2.0

Hi guys,

major update of this block.

New features:
- possibility to view any parameter
- optmized for very fast loading when switching parameters

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dayPie

Enjoy

Not very often used like this, the pie-chart, but I like it!

Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 13, 2017, 12:08:48 PM
LOL, yeah... this one is not really that "scientific", just one of those unusual ways of visualizing data. I am a statistics freak, I log everything from all my daily expenses, working time, coding time, energy consumption, GPS to (of course) the weather. Ive always been fascinated by numbers and especially their analysis and that is why I probably ended up applying for a job as a meteorologist rather then pursuing a career as a molecular biologist or geneticist, which is what I mastered in.

Meteotemplate was always very exciting for me and it all started from my own personal webpage, which no-one ever looked at apart from me, but I liked looking at the numbers, looking for patterns and last but not least - trying to come up with unusual/new ways of looking at things.

Another example of this:
http://www.meteotemplate.com/template/plugins/radialGraphs/index.php

Of course I do this in addition to the standard statistical methods, it is just to make it a bit more interesting. And I hate when people do things like eg. WU, where they "calculate" the avg temperature as the middle value between daily min and max. This sort of things drives me nuts and was also one of the reasons I said, I wont use WU and that I have to come up with something myself, even though I knew this would take a lot of time and work, given I knew nothing about HTML 2.5 yrs ago and had to start from scratch in my free time.

I like this idea of a graph that looks like a clock, I might develop it a bit further, but probably as part of some plugin because I dont want to include too much stuff in blocks as it slows down everything and they need to be lightweight so that you can load many of them on the homepage.
Title: Meteotemplate - Block Update – Current Conditions 12.0
Post by: Jáchym on April 14, 2017, 08:11:53 AM
Block Update – Current Conditions 12.0

Hi guys,

in this new version I extended the highlight feature.

Originally, everytime the script triggered update, the timestamp flashed. Now the timestamp will only flash if that update loaded new values. So if the block update interval is shorter and the same conditions are loaded again during update, the timestamp will not flash.

Second, now also the actual numbers (parameters) will flash – but only those that changed since last update.

So basically the flashing is now extended to the parameters as well, not just timestamp and the flash only occurs if the value changed.

In addition I also improved handling of decimal places:

Example:

Previously: 18.8, 18.9, 19, 19.1

Now: 18.8, 18.9, 19.0, 19.1

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Enjoy
Title: Meteotemplate - New Plugin – Antarctica
Post by: Jáchym on April 15, 2017, 10:59:20 AM
New Plugin – Antarctica

Hi guys,

I am slowly mentally getting ready for my least favorite season – the summer and looking forward to fall when it starts getting cold again (though I have to say there is a cold front coming tomorrow with even snow possible 🙂

I therefore thought I need to make a plugin for the summer – and so I decided to make a plugin with current conditions from the automated weather stations in Antarctica – so that I at least have something to look at which will remind me of winter during the uncomfortable warm, sunny days.

What seemed a relatively easy task turned out very complicated because I found that both Google maps and Leaflet maps are useless. Just try entering some of the GPS in Google maps and you will most likely end up with a marker in the middle of the ocean – this is due to the Mercator projection which is used by all these map APIs and which works ideal for most locations – but not Antarctica.

I therefore had to use different ways to show the correct map of Antarctica, but I think it works now.

Data is (or rather should be) updated ever hour – HOWEVER – as you can probably imagine, many stations often fail to report so the number of stations is likely to vary. Right now there is around 15, yesterday there was over 40 when I was creating this. The plugin will always load whatever is currently available and display it.

Data includes:
- temperature
- humidity
- pressure
- wind speed

Data is shown on an interactive map as well as in a sortable table, clicking the item in the table will show you that station on the map.

DEMO: http://www.meteotemplate.com/template/plugins/antarctica/index.php

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 15, 2017, 11:47:49 AM
Love it!

I just got an ADS-B setup.  Hope to get it assembled and programmed this week.  Will be feeding to Flightradar24 and have a free business account.  Not sure if this will help with any future plugins other than what you have but would be happy to supply an API source if you can use it.  I know it's worth about $100 a month in data.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 11:58:35 AM
Hi Jeff,

I recently removed flightradar from the plugin because the new T&C did not allow its reproduction. Im afraid it will not be possible to do anything with it any more due to copyright issues.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 15, 2017, 12:07:17 PM
Hi Jeff,

I recently removed flightradar from the plugin because the new T&C did not allow its reproduction. Im afraid it will not be possible to do anything with it any more due to copyright issues.

It looks like since I will have a business account since I am supplying them with data, I can use it for redistribution - so we may be able to continue:

"Please note that the Business Services are the only subscription whereby you are allowed to use the Services in relation to any commercial use or for any commercial purposes including any public display (commercial or non-commercial)."

I will contact them once I am online and my account is active.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 12:16:24 PM
"so we may be able to continue"

well.... you are AFAIK the only user who has this so it is not of much use if you see what I mean... I doubt your license entitles all MT users to use this :D
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 15, 2017, 12:35:05 PM
"so we may be able to continue"

well.... you are AFAIK the only user who has this so it is not of much use if you see what I mean... I doubt your license entitles all MT users to use this :D

Nope he's not the only one, I've been hosting F-CYWG3 since late 2014! I find it easier to just log onto my account at FlightRadar24 to view activity rather than get to the public version via a template.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 12:37:19 PM
OK, but I still think it is a problem. So you are two. And I am still unsure it is possible to easily use the data on your own website, you might have extra possibilities on their server, but i have no clue how this works.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 15, 2017, 12:50:38 PM
OK, but I still think it is a problem. So you are two. And I am still unsure it is possible to easily use the data on your own website, you might have extra possibilities on their server, but i have no clue how this works.

I wouldn't worry about it, Not sure I'd want to use it on my site even if it's legal.
Title: Meteotemplate - WeatherCat now supports Meteotemplate API
Post by: Jáchym on April 15, 2017, 12:51:23 PM
WeatherCat now supports Meteotemplate API

Hi guys,

this is just to let you know that today’s new release of WeatherCat 2.4.2 now includes direct support of Meteotemplate. This means you can now use the API and I will delete the WeatherCat plugin in a few days. Thanks to Stu for his co-operation on this.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 15, 2017, 01:44:49 PM
well.... you are AFAIK the only user who has this so it is not of much use if you see what I mean... I doubt your license entitles all MT users to use this :D

<===== Clearing throat to draw attention.... :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 02:50:09 PM
You have it too Arthur?

It is still the same problem however, having a key does not entitle you to share it with hundreds of users :D So making a plugin out of it is impossible. And if I understand it correctly, you have some advantages on their page already, which is probably the point of their business accounts.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 15, 2017, 03:50:36 PM
You have it too Arthur?

It is still the same problem however, having a key does not entitle you to share it with hundreds of users :D So making a plugin out of it is impossible. And if I understand it correctly, you have some advantages on their page already, which is probably the point of their business accounts.

Personally, I would love to just iframe DUMP1090 and show what comes off of my home receiver.  The limiting factor is that I'm running it on a home web server, because sending the raw radio stream to a hosting company 24/7 would eat up bandwidth.

http://ae3.homelinux.net:82/ (http://ae3.homelinux.net:82/)

What I don't like about FR24 and the others is that they allow private and government aircraft owners to opt-in for a "do not track" option.  A mysterious federal government diplomatic transportation group has a fleet of 757's, and does touch-and-go landings for several hours at a time at the airport in my backyard.  They *do* squawk ABS-B, and my local DUMP1090 can see them.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 03:59:44 PM
Hi,

iframing...

1. by far one of the worst things in web development practice you can do - and should only be used as the last resort if every other option fails
2. in 99% of cases, iframing means violating T&C and if that was how F24 was implemented on your site, it would be violation as well - unless they have a widget, which uses iframe and was specifically built for this purpose
3. iframing the original page will definitely be against T&C and most likely will not even work, because there are ways to prevent someone iframing your page ;)
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 15, 2017, 05:53:08 PM
2. in 99% of cases, iframing means violating T&C and if that was how F24 was implemented on your site, it would be violation as well - unless they have a widget, which uses iframe and was specifically built for this purpose
3. iframing the original page will definitely be against T&C and most likely will not even work, because there are ways to prevent someone iframing your page ;)

I'm talking about publishing my own DUMP1090 data, not using FR24 et. al. data.

http://ae3.homelinux.net:82/ (http://ae3.homelinux.net:82/)

DUMP1090 is the program that uploads to FR24, and it also includes a local web server that shows your receiver's data as an overlay on a yucky Google map.  The link above is to my DUMP1090 Raspberry Pi at home, which is interesting to watch since I'm sitting in the holding pattern area for all three NYC airports.  In addition, I'm under one of the primary air corridors between northern Europe and the entire USA east coast from NYC to Philadelphia, Washington DC, and Atlanta.  Interesting to watch.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 06:16:10 PM
Aha, I see.

There is only a very small airport in Brno, we are relatively large city, but there is a large international airport in Prague and another one even closer in Vienna so there wont be much point in building another huge one here
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 15, 2017, 07:20:07 PM
Here's a screen capture of what I believe was a T-38 doing recon passes of the local airport for the NYC air show a few years ago:

(http://i791.photobucket.com/albums/yy193/vreihen/ae0022-duce31_zpsazijnpk9.png)

Never a dull moment.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 15, 2017, 07:28:57 PM
Aha... ok :D

When I first saw it I thought you gave your tablet to some little kid to look at planes with the handwriting mode enabled :D
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 15, 2017, 09:26:11 PM
Aha... ok :D

When I first saw it I thought you gave your tablet to some little kid to look at planes with the handwriting mode enabled :D

Haha
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 15, 2017, 09:30:54 PM
2. in 99% of cases, iframing means violating T&C and if that was how F24 was implemented on your site, it would be violation as well - unless they have a widget, which uses iframe and was specifically built for this purpose
3. iframing the original page will definitely be against T&C and most likely will not even work, because there are ways to prevent someone iframing your page ;)

I'm talking about publishing my own DUMP1090 data, not using FR24 et. al. data.

http://ae3.homelinux.net:82/ (http://ae3.homelinux.net:82/)

DUMP1090 is the program that uploads to FR24, and it also includes a local web server that shows your receiver's data as an overlay on a yucky Google map.  The link above is to my DUMP1090 Raspberry Pi at home, which is interesting to watch since I'm sitting in the holding pattern area for all three NYC airports.  In addition, I'm under one of the primary air corridors between northern Europe and the entire USA east coast from NYC to Philadelphia, Washington DC, and Atlanta.  Interesting to watch.....

I may hit you up.  I just installed piaware 3 and am waiting on my dongle.  I grabbed a decent antenna and have to get that on the mast.  Should I be installing something else instead on the sdcard (dump?)?  I want to be able to have the page accessible like yours from the web.  I'm currently hosted and may need some help.  I heard also about virtual radar and plane plotter, etc.  just trying to get my bearings and get my data uploading to Flightaware and activate the premium plan and take it from there.  Anything you could offer that could help would be awesome!

Jeff
Title: Meteotemplate - Block Update – Pie Chart 3.0
Post by: Jáchym on April 16, 2017, 08:02:46 AM
Block Update – Pie Chart 3.0

Hi guys,

another major update of this block. Based on your feedback I added some new features.

- using calendar you can now show any day available in your database
- below the chart you will see legend for the colors

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dayPie

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 16, 2017, 08:07:03 AM
Happy Easter to all!!!

🐇
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 08:19:31 AM
Thanks Jeff, happy easter to you as well.

I hope you like the "easter egg" I implemented to Meteotemplate :D :D :D
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 16, 2017, 08:41:17 AM
The pie chart looks really nice now that you added the legend.

Thanks.

Tom
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 16, 2017, 08:44:21 AM
Thanks Jeff, happy easter to you as well.

I hope you like the "easter egg" I implemented to Meteotemplate :D :D :D

Yes!  Thanks Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 08:48:06 AM
:D Easter egg in a form of an easter egg :-)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 16, 2017, 09:23:46 AM
Hi Jachym,
before all happy easter to you and your family!

I've just installed day pie block.
On rain amount it shows 0.0 but today i've an 1.2mm of rainfall.
Any ideas?
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 09:34:05 AM
Hi Alessandro,
the block is not showing rain, but rain rate, because that shows nicely when exactly it rained, if I used the rain parameter, it is cumulative, so the color would be all time since the rain occured.

In other words, if it rained at eg. 10AM, the pie would be colored right until midnight, because rain is cumulative daily value.

So instead it shows rain rate at each daily interval, so you see exactly when it rained.

When I look at your page it looks like your rain rate is 0 for the whole day.

You can also see it from the units, it is not "mm", but "mm/h"
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on April 16, 2017, 11:00:48 AM
Happy Easter pipol ^_^
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 16, 2017, 01:07:51 PM
Hi Alessandro,
the block is not showing rain, but rain rate, because that shows nicely when exactly it rained, if I used the rain parameter, it is cumulative, so the color would be all time since the rain occured.

In other words, if it rained at eg. 10AM, the pie would be colored right until midnight, because rain is cumulative daily value.

So instead it shows rain rate at each daily interval, so you see exactly when it rained.

When I look at your page it looks like your rain rate is 0 for the whole day.

You can also see it from the units, it is not "mm", but "mm/h"


Ahhh ok.
Thank you so much Jachym.

Last problem with webcam timelapse script.
I've install it but if you give an eye to my webcam section block it seems no working correctly :(
This is webcam settings section:
(http://i.imgur.com/lnOtMWz.png)


Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 01:19:12 PM
Hi,
the webcam timelapse block is dependent on the webcam plugin, so make sure that one is working, if it is, then you dont need to set up anything in the timelapse block.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 16, 2017, 01:44:13 PM
I may hit you up.  I just installed piaware 3 and am waiting on my dongle.  I grabbed a decent antenna and have to get that on the mast.  Should I be installing something else instead on the sdcard (dump?)?  I want to be able to have the page accessible like yours from the web.

I believe that piaware is just a Linux distribution for the Pi, bundled with a customized version of DUMP1090.  Never tried it myself.  I went old-school, and installed it on my first Pi (B+) along with a few other home network services like print spooling.

Making DUMP1090 available from the web requires setting up your home NAT router to pass the incoming web traffic to your DUMP1090 server, publishing a DNS record dynamically so people can find it (and it can be updated when your home ISP rotates addresses), and keeping your fingers crossed that your ISP does not discover that you are running a home web server if their terms of service prohibit it.  The first part is router-specific, but there should be tutorials for opening ports for home web servers if you Google around.

The problem with trying to do this on a hosting company's web server is that you have no way to plug the USB dongle into their server.  #-o  There may be a way to send the raw radio stream to the web server, but the continuous bandwidth needed to do it may be unacceptable to cheaper hosting plans.  Even then, you'll still have to open up a firewall hole for the TCP-SDR port, set up the dynamic DNS, etc.

I purchased a Raspberry Pi Zero back when they first came out, with the intention of putting it outdoors in a tupperware box on my weather station's mast to keep the antenna cable short.  Something failed after the first week (suspect it was an automatic software update gone awry), so I shelved the whole project (before I had a chance to mount it on the mast) and switched back to the indoor setup that I was previously using.  Given my current 25-30 mile range on the indoor antenna, I think that I may grab the latest Pi bundle and see if I can get it working this weekend.  Seems only fitting to bring the Pi Zero back to life on Easter.....  :lol:
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 16, 2017, 01:49:24 PM
Hi,
the webcam timelapse block is dependent on the webcam plugin, so make sure that one is working, if it is, then you dont need to set up anything in the timelapse block.

Webcam block works fine but timelapsed not  :? :?
Please, give an eye here: http://www.meteopistoia.it

Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 16, 2017, 03:31:54 PM
Hi,
the webcam timelapse block is dependent on the webcam plugin, so make sure that one is working, if it is, then you dont need to set up anything in the timelapse block.

Webcam block works fine but timelapsed not  :? :?
Please, give an eye here: http://www.meteopistoia.it (http://www.meteopistoia.it)

Regards,


Alessandro

This block is dependent on the Webcam plugin not the webcam block

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 05:35:52 PM
Yes, thanks Bill, Alessandro it needs webcam PLUGIN, not block, it creates the timelapse from the images saved using the webcam plugin. You cannot just give it URL of the webcam image, this image needs to be saved periodically so that the block can create the video and it is the plugin which saves it.
Title: Re: Meteotemplate - new free website template
Post by: EastFrisianGuy on April 16, 2017, 05:44:10 PM
Hi Jáchym,

I just upgraded the pie block from version 2 to 3 and since then, the circle does not show up anymore.
The legend does show up, only the circle is gone. Any ideas what might cause this?

http://www.weatherfrog80.bplaced.net/template/indexDesktop.php

Regards

Georg

 

 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 06:03:47 PM
Hmm, this is really strange. The output to the block is the same as on my page, where it works. Even the console shows no errors. I guess I will have to look into this a bit more, but I need my office PC to test this, I will let you know tomorrow. It is very strange especially if it worked before. The MySQL queries are the same...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 06:10:55 PM
OK I think I know, the problem is that your db is in 4min intervals and it just exceeded the max number of points Highcharts will accept (notice that today usually works because there isnt that many points). I think I know how to solve it, I will try, but you will have to tell me if it fixed the problem because on my server it already works fine.
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 16, 2017, 06:12:04 PM
Is it possible that the permissions on the server are set incorrectly?

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 06:18:43 PM
Hi Jonny,
what were you referring to, Georg's problem?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 16, 2017, 06:21:24 PM
Yes, thanks Bill, Alessandro it needs webcam PLUGIN, not block, it creates the timelapse from the images saved using the webcam plugin. You cannot just give it URL of the webcam image, this image needs to be saved periodically so that the block can create the video and it is the plugin which saves it.


Sorry guys,
this is my plugin page: http://www.meteopistoia.it/plugins/webcam/index.php

All works as it should but timelapsed not found :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 06:31:03 PM
Hi,
Alessandro, this is not how the webcam plugin normally looks like. You have some extra things and more importantly, there are things missing, you probably modified the code and I think you removed some of the crucial parts of the code that the block needs.
Title: Re: Meteotemplate - new free website template
Post by: EastFrisianGuy on April 16, 2017, 06:45:52 PM
OK I think I know, the problem is that your db is in 4min intervals and it just exceeded the max number of points Highcharts will accept (notice that today usually works because there isnt that many points). I think I know how to solve it, I will try, but you will have to tell me if it fixed the problem because on my server it already works fine.

Hi Jáchym,

Thanks a lot for looking into this and yes indeed now that its just after midnight here, the circle shows up again.
Will tell you if it is works, once the fix is ready. ;-)

Regards

Georg
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 16, 2017, 07:06:24 PM
Hi Jonny,
what were you referring to, Georg's problem?
Yes

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 07:12:33 PM
Working on a fix
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 07:24:13 PM
Georg, you are using 1min db intervals?
Title: Meteotemplate - Block Update - Pie Visualization 3.1
Post by: Jáchym on April 16, 2017, 07:32:20 PM
Block Update - Pie Visualization 3.1

Hi guys,

- optimization for larger databases

Enjoy
Title: Re: Meteotemplate - Block Update - Pie Visualization 3.1
Post by: EastFrisianGuy on April 16, 2017, 09:22:46 PM
Block Update - Pie Visualization 3.1

Hi guys,

- optimization for larger databases

Enjoy

Thanks a lot for the fix Jáchym, will report if it solves the problem this evening.
Yes it is set to one minute in Weather Display, but Meteotemplate updates are set to 5 Minutes.
Since i shut down my PC overnight, i import the overnight data from the WD logfile the next morning into Meteotemplate.
Maybe i need to reformat my database structure again? Already did that with my "older data".

Best regards and Good Night

Georg

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 16, 2017, 09:38:18 PM
Data in your db from previous days is in 1min

Let me know if the fix fixed it
Title: Meteotemplate - Plugin Update - Antarctica 1.1
Post by: Jáchym on April 17, 2017, 08:13:42 AM
Plugin Update - Antarctica 1.1

Hi guys,

- fix for Retina displays

Make sure you also update the "images" directory.

Enjoy
Title: Meteotemplate - Block Update - Pollen 2.0
Post by: Jáchym on April 17, 2017, 11:18:43 AM
Block Update - Pollen 2.0

Hi guys,

I added a function which automatically checks if you have the Pollen Calendar plugin installed and if the Czech page is available and if so, adds a link to it directly from the block.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=pollen

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: EastFrisianGuy on April 17, 2017, 06:01:08 PM
Hi,

Well i confirm the fix is working even with a 1 minute interval db.

Edit: Well was a bit slow here. Just set data to April 17th and you see it is working. ;-)
http://www.weatherfrog80.bplaced.net/template/indexDesktop.php

See also the attachment from yesterday.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 17, 2017, 06:06:39 PM
Hi,
ok, well... I maybe would recommend you switch to the recommended 5min interval. The entire template is optimized for this interval and there are many reasons why I chose this interval.

And in fact - the reason your dayPie was not working was because the HCh default interval did not work with your data. This further proves to me that the interval I chose is a good one - Highchart developers chose a very similar interval for their default value. And I didnt even know they did this, but now when you showed me your page I found that they actually did similar thing and because you did not use the default MT, I also had to change the Highchart default interval.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 18, 2017, 04:54:22 AM
Hi,
Alessandro, this is not how the webcam plugin normally looks like. You have some extra things and more importantly, there are things missing, you probably modified the code and I think you removed some of the crucial parts of the code that the block needs.

Nono Jachym,
i haven't delelete anything of your code, i've only insert a privacy message below webcam image.

Anyway, i've uplpoaded a new page with original code to check why wecamtimelapse script doesn't found
Link here: http://www.meteopistoia.it/plugins/webcam/index.php

Thanks in advance.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 18, 2017, 06:10:08 AM
Hi Alessandro,
I just checked your page. But it only shows the current image. Did you set up the CRON job for this plugin? Are the images regularly saved by the webcamUpdate script?
Title: Meteotemplate - Block Update – Current Conditions – Big 4.0
Post by: Jáchym on April 18, 2017, 07:06:06 AM
Block Update – Current Conditions – Big 4.0

Hi guys,

similarly to the Current Conditions block, I added option to highlight the time and/or value if it changed during the update.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentBig

Enjoy
Title: Meteotemplate - Plugin Update – Pollen Calendar 9.0
Post by: Jáchym on April 18, 2017, 11:43:04 AM
Plugin Update – Pollen Calendar 9.0

Hi guys,

- added France

DEMO: http://www.meteotemplate.com/template/plugins/pollenCalendar/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 18, 2017, 11:58:24 AM
Hi guys,

quick question, I noticed some of you here discussed some new BloomSky device, I just looked it up to see if it would be possible to add as one of the update options, but if I understand it correctly, there is no wind?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 09:13:31 AM
600 :)
Title: Meteotemplate - Block Update - Pie Visualization 4.0
Post by: Jáchym on April 19, 2017, 01:10:30 PM
Block Update - Pie Visualization 4.0

Hi guys,

- added times of min/max

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dayPie

Enjoy
Title: Re: Meteotemplate - Block Update - Pie Visualization 4.0
Post by: droiddk on April 19, 2017, 02:24:49 PM
Block Update - Pie Visualization 4.0

Hi guys,

- added times of min/max

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dayPie

Enjoy

Hi Jáchym

Looks good.

Just an idea: Maybe two Pie-charts on the same page so one can compare two days side by side?

Regards
Droiddk
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 03:05:30 PM
Hi,
that wont work because the min always has the most blue color. Max is red. What I mean is, the colors dont represent some fixed scale. If the daily range is smaller, then you would still have the full range of colors if you see what I mean, so you cant really compare them side by side because on each the particular color represents different temperature.

I had to do it like this because otherwise if I used an absolute scale, to make sure it works for all days it would have to include winter as well as summer temperatures and differences of just several degrees would not be noticeable.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on April 19, 2017, 03:11:57 PM
you see what I mean..

Hi

I got it, but it would be a cool feature  :grin: It would not be possible to compare colors but it could give an overview of the tendency the two days, "is high at the same time", but I guess you don't like that  :grin:

Regards

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 03:20:48 PM
It would allow comparing the tendency, I agree with that, on the other hand it would be very confusing. For example, they could both show same colors, but one would be -10 to 0 degrees and other one 20 to 30. It would be very confusing for people.
Title: Re: Meteotemplate - new free website template
Post by: droiddk on April 19, 2017, 03:22:14 PM
It would be very confusing for people.

Not me, cause I came up with the idea ;)

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 03:23:26 PM
Yes, but... :D
Title: Re: Meteotemplate - new free website template
Post by: droiddk on April 19, 2017, 03:23:54 PM
Yes, but... :D

I agreee :)
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 19, 2017, 03:24:50 PM
Jáchym,
I don't believe you have this as atleast a plugin, but can you look into the NWS Storm Prediction Center and possibly set something up for their severe outlook?
Here's the NWS site:
http://spc.noaa.gov
I was thinking of a block for the current days severe outlook map, and a plugin showing the full 7 days with detailed text corresponding to the SPC page
Maybe link the block to the plugin if possible (if equipped on the SITE).
Since severe weather in the middle and eastern half of the US is vital for people's safety, I was looking to possibly add it.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 03:26:33 PM
To be quite honest Im a bit hesitant with regards to making anything with NWS because they just change their sites/APIs way too often and the blocks/plugins that use this break and need update way too often...
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 19, 2017, 03:34:43 PM
Yea but the NWS is what us folks in the US have available.  I would like to see this supported as well.

To be quite honest Im a bit hesitant with regards to making anything with NWS because they just change their sites/APIs way too often and the blocks/plugins that use this break and need update way too often...
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 19, 2017, 03:40:12 PM
The spc is not at this point, susceptible to the API due to it covering the entire nation. It's not broken down by region.
Its mostly graphics with text information.
I have included a screenshot of today's graphic with corresponding text... You can't read it very well due to how lengthy it is today due to the severe threats.

(https://uploads.tapatalk-cdn.com/20170419/f6c6205c19f2e8dbc2a35eb44cd0dc33.jpg)

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 03:42:28 PM
Hi,
yes I know that NWS is what you have in the U.S. on the other hand you have to understand that it is very difficult to work with a page (organization) that changes things so often. Im not saying it is your or their fault, but if I look at updates done to fix things as a result of changes in data source, NWS would be like 90%. Some blocks/plugins had to be updated even twice or three times and remember MT is still less than 2 years old. And it is then very hectic when I get emails, messages, posts from people asking why something is not working and I know I have to fix it ASAP
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 04:03:41 PM
Hmm... ok looking at it hopefully this should not be that bad and you know that I will do it eventually... :D

Just that Im now concentrating on something else, something really cool.... some of you probably know what Im referring to and Im really excited about it :-)
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on April 19, 2017, 05:20:18 PM
Hi Alessandro,
I just checked your page. But it only shows the current image. Did you set up the CRON job for this plugin? Are the images regularly saved by the webcamUpdate script?


Thanks Jachym,
now it works as it should.
I didn't remember to set cron Job regularly.
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 19, 2017, 06:45:46 PM
The spc is not at this point, susceptible to the API due to it covering the entire nation. It's not broken down by region.
Its mostly graphics with text information.
I have included a screenshot of today's graphic with corresponding text... You can't read it very well due to how lengthy it is today due to the severe threats.

Sent from my SM-G935R4 using Tapatalk

Just looked at it. The problem is that if you look at the images, they have dynamic URL. So the only way to get the URL in such case is HTML scraping - and that is exactly what always breaks the scripts...
Title: Meteotemplate - question for users from the U.S.
Post by: Jáchym on April 19, 2017, 08:40:51 PM
Hi guys,
ok, I was looking at the http://spc.noaa.gov/ website. Unfortunately to get some of the data the only way will be HTML scraping (image urls are dynamic etc.). Nevertheless I understand this could be very useful info so Im willing to give it a try. However, the problem is that if you look there there is literally hundreds of images, pages, info etc. And Im not quite sure what is really useful to you, what you would like to see so Im asking you to tell me what you would want. Ideally explain how you would want it to work, provide URLs and I will then look at what you want and try to come up with something. This can be a block, plugin or even both, but keep in mind that blocks should be rather simple, clear and short, and are also limited in terms of space. Yes we can use the "more" button, but that also can only be done to a certain extent. Plugins are more flexible, can have more pages.
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 19, 2017, 09:39:24 PM
Jáchym,
Thanks for atleast looking into it.
Let's start off with a block (if possible).
I know there's alot of information on each day's page. The images are set up in tabs (categorical, tornado, hail, wind). I'm not sure if the tabs can be used in a block, if so, great. If not atleast use Categorical, and leave just the image with possible link to the plugin.
Regarding the plugin...
Design it similarly to the SPC page. The first 3 days are similar in setup with days 4-8 as one page. Each page would have tabs to show each categories image, like on the SPC site. Days 4-8 would be only tabbed
The text for each day's graphics would be set below the tabbed graphics. Days



Edit: After going back through the messages, I realized you need more information, links and such.
To give you perspective of how some other sites have it designed, I linked to my old site template, which is still active. [size=78%]http://lightningweather.com/sl/index.php?p=ws_spc_main&lang=en#data-area (http://lightningweather.com/sl/index.php?p=ws_spc_main&lang=en#data-area)[/size]
That may aid in how to set it up...I hope.

Title: Re: Meteotemplate - new free website template
Post by: Colin on April 20, 2017, 03:54:17 AM
Why not just put a link somewhere   :idea:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 05:57:59 AM
Link to what
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 07:01:50 AM
Is it just me having constantly problems with the SPC site? Like when I reload it, there is always some image broken, link not working, I reload and a different one doesn´t load... and even when I look at some people´s websites who have scripts using SPC, many images are broken, I reload, different one is broken... looks like the server is extremely unreliable and sometimes even some text shows "Page not found" and 10s later it works and then again reload and it doesnt work at all
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 07:28:05 AM
No problem here with the SPC site.

Tom
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on April 20, 2017, 07:33:42 AM
Anybody in the US using the NWS warnings block having the issues with it not showing current warnings, watches, advisories?  I know Jachym's has been dealing with the API issues with NWS for weeks now, but I wanted to see if anybody has it working for them.  I don't want to give up on it, but it's frustrating when it constantly says there are no current advisories.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 07:39:19 AM
The problem is that the RSS feed works - from my perspective as a programmer... the feed is working, data is coming in and correctly parsed. The problem is the content. It doesnt include all the warnings and I also noticed this might only be an issue with some areas.
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on April 20, 2017, 08:09:46 AM
NWS, you are so frustrating  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 08:15:17 AM
Yes, I just have lunch break so Im working on the SPC block.

For example look at this site:
http://www.spc.noaa.gov/products/outlook/day1otlk_1200_prt.html

And check the source code... the forecast discussion, which is delimited by the <pre> tags, should always only include pure text.... but some sloppy programmer also included a script at the end of it, before the </pre> tag. Which is why my script failed to load this. I then discovered it so I had to do some further "corrections" in the HTML before parsing it.
Title: Meteotemplate - New Block – U.S. Storm Prediction
Post by: Jáchym on April 20, 2017, 09:11:54 AM
New Block – U.S. Storm Prediction

Hi guys,

This block show convective outlook as well as forecast discussion using data from the Storm Prediction Center.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=usSPC

Enjoy
Title: Re: Meteotemplate - New Block – U.S. Storm Prediction
Post by: droiddk on April 20, 2017, 10:05:08 AM
New Block – U.S. Storm Prediction

Hi guys,

This block show convective outlook as well as forecast discussion using data from the Storm Prediction Center.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=usSPC

Enjoy

Hi, Images (or text?) not loading.

Regards
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 10:20:11 AM
I have no clue, it works in the demo, must be some issue with your server and its communication with SPC
Title: Re: Meteotemplate - new free website template
Post by: droiddk on April 20, 2017, 10:22:15 AM
I have no clue, it works in the demo, must be some issue with your server and its communication with SPC

You are right, have tested with a computer at another location and it loads fine there  :shock:

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 10:27:45 AM
About half of the time I load the block the image is broken. But the URL is the same, it is as I mentioned previously, obviously an issue with the SPC server. I see these broken images even directly on their webpage. Didnt I say Im not a fan of doing anything using data from NWS? :D....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 10:33:19 AM
Attached an image of what just appeared to me when I loaded the SPC homepage....

If I reload it, it loads fine, I try reloading again and it looks fine but all images are broken and so on
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 20, 2017, 10:46:27 AM
Interesting.  I've never seen a problem with links in the past or today with the SPC website.  I just loaded the block 50 times and didn't run across a problem
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 10:47:42 AM
Interesting.  I've never seen a problem with links in the past or today with the SPC website.  I just loaded the block 50 times and didn't run across a problem

Well at least thats good news, I personally dont care about that website so if it works for you it fulfils the purpose :D
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 11:23:49 AM
Thanks for adding the NWS SPC block.  FYI.  I have no problems accessing the site.

Tom
Title: Re: Meteotemplate - new free website template
Post by: droiddk on April 20, 2017, 11:27:57 AM
I have no clue, it works in the demo, must be some issue with your server and its communication with SPC

You are right, have tested with a computer at another location and it loads fine there  :shock:

Works now  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 11:46:04 AM
 ](*,)
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 11:48:36 AM
Several of the blocks have "more" at the bottom.  Is there a possibility that you could somehow highlight this by maybe putting a box around it like you do for the drop down menus?  It is easy to overlook "more" and the additional data it provides.  A box would let people know to click on it.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 12:01:01 PM
Not sure about that, a box around it would look awful, trust me, "more" is I think relatively self-explanatory and when you hover over it, it has an interaction showing you you can click it
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 12:09:54 PM
I disagree I think it would look better but it is your program.  I don't think it stands out like it should.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 12:21:46 PM
Also given how many blocks use it, you have to remember there is limited space, if every block has a large "more" button, it is a problem. Also, it cannot be done globally, each block that has this would have to be updated.
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 12:29:26 PM
Did not say it had to be large and you could add it when you updated the block or added a new block.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 12:34:03 PM
Hi,
as I said, I personally dont agree with this, and there will be many others who will say your idea is good and many who will agree with me. There will always have to be compromises. Also the thing is I would have to do it at once. Making the "more" text look two ways (depending on whether I already updated it or not) would make it look awful and even more confusing for people, suggesting they have different functions
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 12:37:51 PM
I had similar problems in the past. There is obviously no right or wrong answer. Design is always subjective. And it did happen to me several times in the past that someone asked for something like you did now, I changed it and I got several emails from people saying why did you change it, it was better as it was before... I am sure you will find people like you, who would like it bigger or think that a box around it would be nice. But if I were a normal MT user and the developer changed it, I would say, hey, can you put it back? I think it was better. And this is again not to say my opinion is the right one, but it is likely that such opinion is not just mine. I just have to choose one or the other and in some cases, like this one, it is really sort of 50:50 and then all I can do is choose myself.

It was different yesterday for example, when I said Im not sure I want to do an SPC block given how problematic NWS blocks are, but I did it because either you like such block and you use it, or you dont and you dont use it. But with this, it would affect everyone.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 01:10:06 PM
Tom:

You can change the size of the font if you want, this is not difficult.

Go to:
/homepage/css/style.php

Then find this:
Code: [Select]
.more, #moreYrNo, #moreWU, .more2{
   font-weight: bold;
   font-variant: small-caps;
   cursor: pointer;
}

And you can add something like:
Code: [Select]
   font-size: 1.4em!important;
Title: Re: Meteotemplate - new free website template
Post by: Colin on April 20, 2017, 06:35:58 PM
Link to what

Was referring to this post of yours.

Quote
Hi guys,
ok, I was looking at the http://spc.noaa.gov/ website. Unfortunately to get some of the data the only way will be HTML scraping (image urls are dynamic etc.). Nevertheless I understand this could be very useful info so Im willing to give it a try. However, the problem is that if you look there there is literally hundreds of images, pages, info etc. And Im not quite sure what is really useful to you, what you would like to see so Im asking you to tell me what you would want. Ideally explain how you would want it to work, provide URLs and I will then look at what you want and try to come up with something. This can be a block, plugin or even both, but keep in mind that blocks should be rather simple, clear and short, and are also limited in terms of space. Yes we can use the "more" button, but that also can only be done to a certain extent. Plugins are more flexible, can have more pages.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 20, 2017, 08:39:39 PM
Nest time you're reviewing the NASAimage of the day block can it be made to expand if you click on it?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 20, 2017, 08:50:50 PM
Hi,
yes, but not now, later today :D
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 20, 2017, 09:57:54 PM
Jachym,
My main page says the following...


Data for Block updates could not be loaded from Meteotemplate.com...


Is your server having some sort of issue?  I was able to go to the MT site and was able to download the usSPC block (which I thank you for btw).


Just wanted to make you aware of the potential problem.
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 20, 2017, 10:42:10 PM
So - I got my ads-b going - not fully set up but testing it - and the antenna is still inside until I can mount it on the mast.  Check it out:

http://69.127.115.90/dump1090-fa/
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 10:44:47 PM
Nice!

Tom

So - I got my ads-b going - not fully set up but testing it - and the antenna is still inside until I can mount it on the mast.  Check it out:

http://69.127.115.90/dump1090-fa/
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 20, 2017, 10:50:07 PM
Nice!

Tom

So - I got my ads-b going - not fully set up but testing it - and the antenna is still inside until I can mount it on the mast.  Check it out:

http://69.127.115.90/dump1090-fa/

Thanks.  Hoping to get the antenna up about 20' this weekend.  That will improve reception quite a bit.  Been playing with the business plans at FR24 and FA.  Lots of cool stuff.  I want to make a block using my data since it's local to my users.  I also want to work in some other still and looking at rtl-sdr.
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on April 20, 2017, 10:57:21 PM
So - I got my ads-b going - not fully set up but testing it - and the antenna is still inside until I can mount it on the mast.  Check it out:

http://69.127.115.90/dump1090-fa/

cool aviation monitor, Id like one but its not gonna work in my country coz our aviation doesnt support to recept such that console in my country in philippines.  :roll:
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 20, 2017, 10:59:22 PM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Tom

Nice!

Tom

So - I got my ads-b going - not fully set up but testing it - and the antenna is still inside until I can mount it on the mast.  Check it out:

http://69.127.115.90/dump1090-fa/

Thanks.  Hoping to get the antenna up about 20' this weekend.  That will improve reception quite a bit.  Been playing with the business plans at FR24 and FA.  Lots of cool stuff.  I want to make a block using my data since it's local to my users.  I also want to work in some other still and looking at rtl-sdr.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2017, 05:59:43 AM
Jachym,
My main page says the following...


Data for Block updates could not be loaded from Meteotemplate.com...


Is your server having some sort of issue?  I was able to go to the MT site and was able to download the usSPC block (which I thank you for btw).


Just wanted to make you aware of the potential problem.

Hi,
I know it doesnt work for anyone with https because https does not like loading data from my http server. I know this feature does not work for some people, it is obviously a problem in communication between my server and your server, but it is practically impossible to tell which one is refusing connection with the other one. I personally have no way to tell.

The data is cached for 24h, this means that if it was just temporary and for whatever reason my/your server had some issue with loading the data, it would still show as "not possible to connect" for another 24h. Therefore just wait and see if today, after 24h, it doesnt load it again and if so, you can disable this feature in the Main setup.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 21, 2017, 06:57:07 AM
Thanks.  Hoping to get the antenna up about 20' this weekend.  That will improve reception quite a bit.  Been playing with the business plans at FR24 and FA.  Lots of cool stuff.  I want to make a block using my data since it's local to my users.

Wow!  They have made huge improvements since I did my install!  Can PiAware report to FR24 out of the box?

Regarding the MT block, I just read the "mutability" fork's readme file (that PiAware is based on) and they mentioned that they have the option to run with an external web server through JSON files that they write to /run every second.  Might be worth pursuing if you want to share it publicly.....
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 21, 2017, 07:16:13 AM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Let's see...putting an antenna in a proper location to receive signals, keeping the feed line short to avoid signal loss, listening for distant signals, and processing them with an SDR (software-defined radio) module that should already be in every serious ham's toolkit.  People are even building their own J-pole antennas for 1090Mhz for ADS-B.  Unless you're one of the hams who feels that the hobby has gone to crap ever since they dropped the Morse code requirement, this sounds like a ham radio hobby project to me!

Of course, I'm not a "real" ham because I don't own an AM/SSB transceiver, Morse code key, and prefer FM modes and working with Ghz plus stuff.

I forgot to mention that I saw under the gear icon in the above PiAware install that they added NEXRAD radar as a map overlay. Talk about a killer MT block if it can be done!!!!!
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 21, 2017, 07:54:03 AM
A ham with a license is a ham.  I have an sdr dongle though I have to admit I don't use it much since I do not have a way to ground the antenna when I transmit on my HF rig.  Perhaps at 1090mhz there might not be an issue with overloading the sdr.

Tom

I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Let's see...putting an antenna in a proper location to receive signals, keeping the feed line short to avoid signal loss, listening for distant signals, and processing them with an SDR (software-defined radio) module that should already be in every serious ham's toolkit.  People are even building their own J-pole antennas for 1090Mhz for ADS-B.  Unless you're one of the hams who feels that the hobby has gone to crap ever since they dropped the Morse code requirement, this sounds like a ham radio hobby project to me!

Of course, I'm not a "real" ham because I don't own an AM/SSB transceiver, Morse code key, and prefer FM modes and working with Ghz plus stuff.

I forgot to mention that I saw under the gear icon in the above PiAware install that they added NEXRAD radar as a map overlay. Talk about a killer MT block if it can be done!!!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2017, 08:19:34 AM
LOL, I have no clue what you are talking about guys :D The only thing I understood was that there might be some JSON file. Not sure what it contains or what is its purpose, but if there is one, then I guess that would be usable :D :D :D
Title: Meteotemplate - Plugin Update - U.S. Radar 2.0
Post by: Jáchym on April 21, 2017, 09:08:38 AM
Plugin Update - U.S. Radar 2.0

Hi guys,

U.S. radar plugin is probably one of the oldest plugins I have made and never really updated. It is unbelievable, but this plugin is almost 1 and a half years old and since then I learned a lot of new things and doing things better. Today this plugin was more or less useless because even the block could do more.

I therefore decided to redesign this plugin from scratch. I concentrated on the actual image, so I made it as large as possible. I also didn´t want anything like "national" or "regional". Instead I used an interactive map and overlayed the images over the map so you can just zoom in and move around using the map.

I also added various layers. You can combine them together, set opacity for each, set the order in which they are layed on top of each other and you have two base maps available (terrain, road).


Available layers include:
- NEXRAD Composite
- GOES IR
- GOES Water Vapor
- GOES Visible
- Above layers in detail for: E, W, N
- Alaska Visible
- Alaska IR
- Alaska Water Vapor
- Hawaii Visible
- 1h precipitation
- 24h precipitation
- 48h precipitation
- 72h precipitation
- Hybrid-Scan Reflectivity Composite

IMPORTANT!!! You need to update your menu.php, the new link is different.

DEMO: http://www.meteotemplate.com/template/plugins/usRadar/

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 21, 2017, 09:43:56 AM
I like the way you highlighted the button to select the different layers.  Easy to see but perhaps needs some text somewhere to tell folks to click the highlighted box to select layers.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2017, 09:50:33 AM
Hi Tom,
the actual button is default and built-in to the openlayers map script library loaded over CDN, so this is not something I can change really, this would be very complicated to do, most likely either use a local copy and edit the map script (which i dont want to do because it is thousands of lines written by many people as an open-source project and would also make it impossible to update the script) or use some plugin, which is also problematic, because I cant find anything like that.

However given this is used on many webpages in exactly the same way, it is likely people will understand. The actual button is part of the script that handles the actual loading of the map tiles etc., just like the Google Maps library.
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 21, 2017, 09:59:27 AM
Thanks.  I thought it was something you added and could change.

Tom
Title: Meteotemplate - Block Update -Lightning 3.2
Post by: Jáchym on April 21, 2017, 10:01:07 AM
Block Update -Lightning 3.2

Hi guys,

just minor improvements.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2017, 10:05:54 AM
Thanks.  I thought it was something you added and could change.

Tom

Not this particular thing. I did not make the actual mapping library (OpenLayers), this is an open-source Javascript mapping library, which includes this feature, referred to as "layer switcher". I would rather not mess up with the mapping script because you never know what might break, you cannot update when they release new version of OpenLayers and you would not be able to use the CDN, which makes it load a lot faster.

I now usually use OpenLayers or Leaflet mapping libraries instead of Google Maps which I used previously. Although I still think Google maps are the best maps out there, it is now a bit problematic since they introduced the API keys and even though Im a big Google fan and use practically all their services, if there is an open-source free alternative, I always try to use that.
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 21, 2017, 10:29:18 AM
I prefer Google maps and like most here have obtained the key.  I find Google maps to be much better than the open source maps.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2017, 11:01:31 AM
Hi,
but:
1. they are much slower
2. you never know whats going to happen, if Google decides they can no longer handle the request or that they want to make more money and monetize even the cheapest plan, then everything stops working.

If there is a free open-source alternative, I will always use that. And also, in this particular case, Google maps would not be better and in fact they would not even be able to do this. Because another huge advantage of open source is that anyone can develop extensions and it is developed by the community, not a private company which can do whatever they like.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on April 21, 2017, 11:07:07 AM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Tom

Tom, I'm a ham also. I've been feeding ADS-B data to FR24.com for several years. I have two receiving stations with a range of about 250 miles.
You can get into this hobby for about $40.00--so a lot less than 100 feet of 9913 coax.  Most of the software is also open source--and if you can build your own antenna it's even cheaper.  It's pretty cool.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 21, 2017, 11:21:47 AM
Jachym,

Just an FYI for you. The US Radar update went well. The radar from WSI is working properly. However, the data from TWC that is below it is out of date. Shows data from Dec 7th 2016.
I have attached a screenshot from my PC of that section of the page.
All tabs show the same date and information from that timeline.
I attempted to refresh the page, to no avail.
 
Regards,


Jonny J.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 21, 2017, 11:33:08 AM
Jonny, you are using the original script, please update your menu.php. It is emphasized in the instructions, the screenshot is radar v1. The new link is:

usRadar/index.php

previously

usRadar/radar.php
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on April 21, 2017, 11:34:33 AM
Jonny, you are using the original script, please update your menu.php. It is emphasized in the instructions, the screenshot is radar v1. The new link is:

usRadar/index.php

previously

usRadar/radar.php
I thought I had...
Apparently it didn't upload correctly to my server.
Squared away... Thanks

Sent from my SM-G935R4 using Tapatalk
Title: Meteotemplate - Block Update – NASA Image 2.0
Post by: Jáchym on April 21, 2017, 12:23:15 PM
Block Update – NASA Image 2.0

Hi guys,

added:
- possibility to zoom the image
- translation

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 21, 2017, 05:14:48 PM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Tom

Tom, I'm a ham also. I've been feeding ADS-B data to FR24.com for several years. I have two receiving stations with a range of about 250 miles.
You can get into this hobby for about $40.00--so a lot less than 100 feet of 9913 coax.  Most of the software is also open source--and if you can build your own antenna it's even cheaper.  It's pretty cool.

--Kurt

It was rather simple.  The Pi was about $25 and the dongle maybe $20.  I spent the extra on the antenna but you could build your own.  Let me ask why two stations?  I have to see how my range is when I get the antenna up this weekend.  Inside on the floor (not ideal lol) I was getting about 50 miles.  I'm sure once it's up it will be much better.  I will post pics when done.  I can see how the Pi can be addicting.  So much you can do.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 21, 2017, 05:33:58 PM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Tom

Tom, I'm a ham also. I've been feeding ADS-B data to FR24.com for several years. I have two receiving stations with a range of about 250 miles.
You can get into this hobby for about $40.00--so a lot less than 100 feet of 9913 coax.  Most of the software is also open source--and if you can build your own antenna it's even cheaper.  It's pretty cool.

--Kurt

It was rather simple.  The Pi was about $25 and the dongle maybe $20.  I spent the extra on the antenna but you could build your own.  Let me ask why two stations?  I have to see how my range is when I get the antenna up this weekend.  Inside on the floor (not ideal lol) I was getting about 50 miles.  I'm sure once it's up it will be much better.  I will post pics when done.  I can see how the Pi can be addicting.  So much you can do.

I really should dust off one of my Pi's and hook it back up to the SDR dongle and see what it can do.  I regularly get 250+ nautical miles with the FR24 setup I'm hosting. I don't expect that with a home made collinear antenna but you'll never know until you try!

Bill
VE4LI
Title: Meteotemplate - BloomSky
Post by: Jáchym on April 21, 2017, 06:17:40 PM
Hi guys,
does anyone of you have the BloomSky Sky and Storm units?
Title: Meteotemplate - Plugin Update - BloomSky 2.0
Post by: Jáchym on April 23, 2017, 07:45:15 AM
Plugin Update - BloomSky 2.0

Hi guys,

this update adds support for metric units. This means that if in your template you are using metric units, all the videos will now have metric data embedded in them.

Update instructions:

If want to update the plugin, replace the update.php. The videos with metric units will start appearing tomorrow, when a new video is loaded - existing videos will remain as they are.

If you want to install it from scratch, follow the instructions in the plugin documentation.

Enjoy
Title: Meteotemplate - Plugin Update – Canada Monthly Summaries 1.1
Post by: Jáchym on April 24, 2017, 06:24:07 AM
Plugin Update – Canada Monthly Summaries 1.1

Hi guys,

your current version is no longer working due to changes in data source. This update should fix this.

If you want to update this plugin please make sure you read the instructions in the blog:
http://meteotemplate.com/blog/?p=2410

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on April 24, 2017, 09:59:57 AM
Hello again Jáchym,

until now im puzzled how to put my banner here in my signature, everytime I tried to put my banner link, it will just post as a link instead of my banner picture, can you guide me how? thanks and more power to your clean and enjoyable site ^^
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2017, 10:04:16 AM
Just post here the code you are using
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on April 24, 2017, 04:37:06 PM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Tom

Tom, I'm a ham also. I've been feeding ADS-B data to FR24.com for several years. I have two receiving stations with a range of about 250 miles.
You can get into this hobby for about $40.00--so a lot less than 100 feet of 9913 coax.  Most of the software is also open source--and if you can build your own antenna it's even cheaper.  It's pretty cool.

--Kurt

It was rather simple.  The Pi was about $25 and the dongle maybe $20.  I spent the extra on the antenna but you could build your own.  Let me ask why two stations?  I have to see how my range is when I get the antenna up this weekend.  Inside on the floor (not ideal lol) I was getting about 50 miles.  I'm sure once it's up it will be much better.  I will post pics when done.  I can see how the Pi can be addicting.  So much you can do.

I really should dust off one of my Pi's and hook it back up to the SDR dongle and see what it can do.  I regularly get 250+ nautical miles with the FR24 setup I'm hosting. I don't expect that with a home made collinear antenna but you'll never know until you try!

Bill
VE4LI

So - I have two ways for you to see my data.  I have the standard PIAWARE but am also running Virtual Radar Server.  Now that my antenna is mounted I am really getting great results.  Check them out:

http://69.127.115.90:8181/virtualradar

http://69.127.115.90/dump1090-fa/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 24, 2017, 05:26:39 PM
Nice, lots of planes :D
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on April 25, 2017, 12:40:38 AM
nice flight radar and im looking at his flightware and ive seen example PAL127, in the radar it looks like a fighter plane or bi-plane something, since I dont have an antenna and doesnt support in my country at least im using flight24 at least it does support in any countries.
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on April 25, 2017, 12:44:35 AM
Just post here the code you are using

here is the code maybe you could assist me regarding this. Thanks in advance

<a href="http://pimohweather.webutu.com/wxindex.php">
<img src="http://pimohweather.webutu.com/banner.jpg?type=banner"
alt="Current Weather Conditions in Tierra Bella Subdivision Commonwealth Ave. Quezon City"
title="Current Weather Conditions in Tierra Bella Subdivision Commonwealth Ave. Quezon City"
width="468" height="60" /></a>
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 25, 2017, 06:08:16 AM
Use this:

Code: [Select]
[img]http://pimohweather.webutu.com/banner.jpg?type=banner[/img]
Title: Meteotemplate - NWS changes
Post by: Jáchym on April 25, 2017, 06:32:37 AM
Hi guys,

all NWS scripts were not working yesterday. I was aware of the ("very welcomed...") changes, but because I knew how these particular blocks working, I was hoping they will continue working fine.

I checked them again today and as far as I can see, everything including all icons and forecasts is working fine so hopefully it will remain like this.
Title: Meteotemplate - New Block – Station Averages
Post by: Jáchym on April 25, 2017, 07:40:56 AM
New Block – Station Averages

Hi guys,

I created a new block for your station data, which shows averages and max/min for previous and upcoming 3 days. This allows you to easily compare current situation with data from previous years.

No setup required, works out of the box.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=stationAverages

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on April 25, 2017, 08:53:20 AM
I am a ham radio operator and looked briefly at ads-b.  I actually tried to get a free receiver and was told no thank you by flightAware and one other data provider.  I wasn't willing to invest the money.  I had rather spend it on the ham radio hobby.

Tom

Tom, I'm a ham also. I've been feeding ADS-B data to FR24.com for several years. I have two receiving stations with a range of about 250 miles.
You can get into this hobby for about $40.00--so a lot less than 100 feet of 9913 coax.  Most of the software is also open source--and if you can build your own antenna it's even cheaper.  It's pretty cool.

--Kurt

It was rather simple.  The Pi was about $25 and the dongle maybe $20.  I spent the extra on the antenna but you could build your own.  Let me ask why two stations?  I have to see how my range is when I get the antenna up this weekend.  Inside on the floor (not ideal lol) I was getting about 50 miles.  I'm sure once it's up it will be much better.  I will post pics when done.  I can see how the Pi can be addicting.  So much you can do.

I really should dust off one of my Pi's and hook it back up to the SDR dongle and see what it can do.  I regularly get 250+ nautical miles with the FR24 setup I'm hosting. I don't expect that with a home made collinear antenna but you'll never know until you try!

Bill
VE4LI

So - I have two ways for you to see my data.  I have the standard PIAWARE but am also running Virtual Radar Server.  Now that my antenna is mounted I am really getting great results.  Check them out:

http://69.127.115.90:8181/virtualradar (http://69.127.115.90:8181/virtualradar)

http://69.127.115.90/dump1090-fa/ (http://69.127.115.90/dump1090-fa/)

Very nice, turns out Virtual Radar runs under linux also!!
Now if it will quit snowing and warm up I might get my antenna outside
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on April 25, 2017, 11:17:31 AM
Use this:

Code: [Select]
[img]http://pimohweather.webutu.com/banner.jpg?type=banner[/img]

Thank You Jachim  :-P
Title: Meteotemplate - Block Update – Pollen 5.0
Post by: Jáchym on April 26, 2017, 02:06:15 PM
Block Update – Pollen 5.0

Hi guys,

- added support for Switzerland

Enjoy
Title: Meteotemplate - New Plugin – CoCoRaHS
Post by: Jáchym on April 27, 2017, 07:41:49 AM
New Plugin – CoCoRaHS

Hi guys,

this new plugin shows data from the CoCoRaHS network regarding precipitation in the United States.

Main features:
- data grouped by state
- possibility to view history data
- several parameters available (rain, snow, snow depth etc.)
- data displayed on an interactive map
- data displayed in a sortable table

DEMO: http://www.meteotemplate.com/template/plugins/cocorahs/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 27, 2017, 10:41:28 AM
Jachym,
I want to change the default map on the CoCoRaHs plugin.  Is this possible?
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 10:58:14 AM
Hi,
you could swap them in the code but I do not recommend it because if you use the terrain map, which I tried, the points are not always clearly visible.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 06:46:09 PM
Jachym,
I want to change the default map on the CoCoRaHs plugin.  Is this possible?
Jay

Jay do you think you want to change it? Do you need help with it?
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 27, 2017, 06:52:02 PM
Jachym,
Yes,  I would like to use the the map that looks like street view.  I have trouble seeing the dots on the default map.
Thanks,
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 06:57:15 PM
OK,
so the default tile is in the index.php, here:

Code: [Select]
var map = L.map('map').setView([67, -100], 3);
L.tileLayer('http://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.{ext}', {
subdomains: 'abcd',
minZoom: 0,
maxZoom: 18,
ext: 'png',
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> &mdash; Map data &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);

If you scroll below that you will see all the other tiles so you just swapt the URL and the parameters below and choose the one you like
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 27, 2017, 07:04:34 PM
OK, I'll give it a try.  I'll let you know.

Jay
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 27, 2017, 07:05:09 PM
Interesting... you would expect that a developer will understand how it feels when someone steals your work...

Obviously not... http://www.boock.ch/meteo-villarzel.php

And last time I was told it was an accident... now it is back as it was. Entire homepage and over 50% of pages copied, all credits carefully deleted. This is not so rare, I sometimes see this, but in this case it is really surprising given he is a developer of another template - why he does not use his is one thing and the fact he deleted all MT credits another... I already posted in his guestbook

Not that it excuses his actions, but he did have the courtesy to put in a plug for MT (and probably the other four sites that he "borrowed" code from) in the footer.....

"Merci au webmaster de ces sites pour leur aide ŕ la conception du site météo Villarzel."

"Thanks to the webmaster of these sites for their help in the design of the weather site Villarzel."
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 07:27:43 PM
Well... the footer is hardly visible, and he still deleted all the credits. As I said, this is not the first and last time this happened/will happen, but in this case it is surprising given he himself develops a template, which he does not use himself (!) and then does this.... Anyway, sorry for bothering you with it, I just felt a bit disappointed by this and surprised.

Anyway, let's not worry about Pierre's site and let's look forward to the future of Meteotemplate.

Something major might be coming soon, very soon :-)
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 27, 2017, 07:53:27 PM
Jachym,  I can't figure how to change it. This is what I want to use.

providers['Thunderforest_CycleMap'] = {
            title: 'Thunderforest_CycleMap',
            icon: 'icons/Thunderforest_CycleMap.png',
            layer: L.tileLayer('http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png', {
               attribution: '&copy; <a href="http://www.thunderforest.com/">Thunderforest</a>, &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'

Can you tell me how to change it?

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 08:08:12 PM
Replace the corresponding section (mentioned above) with this:

Code: [Select]
var map = L.map('map').setView([67, -100], 3);
L.tileLayer('http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://www.thunderforest.com/">Thunderforest</a>, &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);

and delete it from the providers array below (delete the code you posted which was there for this tile)
Title: Re: Meteotemplate - Cumulus
Post by: Jáchym on April 27, 2017, 08:10:36 PM
Hi guys,

any Cumulus guniea pigs? :D

Need to test something, if you are interested email me or PM
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 27, 2017, 08:24:03 PM
That didn't do it.  Still the same default map.

http://www.jayswoodfurniture.com/meteo/plugins/cocorahs/index.php

Jay
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 27, 2017, 08:27:47 PM
I am a Cumulus user a[size=78%]nd have been known to do a bit of testing. [/size]



Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 08:34:42 PM
That didn't do it.  Still the same default map.

http://www.jayswoodfurniture.com/meteo/plugins/cocorahs/index.php

Jay

I think it did Jay, try zooming in, you will see it is a different map, but I guess it is just not the tile URL you wanted to use. Try replacing the URL with yet a different provider URLs and find the one you want. If you still cant get it working I will look at it tomorrow
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 27, 2017, 08:36:10 PM
I am a Cumulus user a[size=78%]nd have been known to do a bit of testing. [/size]

Paul

Hi Paul, yes I know and I would contact you directly first but I need someone who is using the latest version and I noticed you are still using 12. If you want to update to 13 then let me know once you do so (no need for download token) and I would get back to you tomorrow and send you a few files to test.
Unfortunately the files I need to test will not work with 12 for testing.
Title: Meteotemplate - New Block – Forecast – Graphical
Post by: Jáchym on April 28, 2017, 07:04:29 AM
New Block – Forecast – Graphical

Hi guys,

This new block shows a 48h forecast as an interactive image with a slider to slide through days. The background will reflect the forecasted condition and show for example animated rain, lightning (when thunderstorm is forecasted), falling snow, sun, sunrise, sunset, fog etc.

In addition you can also see the forecasted conditions (temperature, humidity, pressure, wind speed, dew point).

It is a little bit like the interactive banner, but it uses much less CPU power and of course there is no Flash or similar technologies used.

It is however still a bit experimental so if you discover any bugs let me know.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=forecastGraphical

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 28, 2017, 07:34:26 AM
The graphical forecast looks nice but as I mentioned earlier the block needs a heading and some instructions.  A visitor to the site would not know what the block is.  The user would also have to figure out to move the slider to change time.  I am finding on my site that people often do not spend time trying to figure out what is going on.  They don't tend to experiment much on the site.  If something is obvious they will try it.  If not they move on.

I am talking about the average visitor to the site not a long time template user.

Perhaps a header should include something like "Move slider to change time for forecast."

My site is not for my use put for the casual visitor.


Tom

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 07:42:31 AM
Hi Tom,
originally I had a heading there "forecast", but it looked ugly and I thought it is pretty obvious what it is if you see future times with conditions and icons.

Slider - yes I agree some explanation could be added, but I dont think it is a good idea to put the whole sentence above it. If we did this in all blocks your page would be twice as long and you would see these descriptions all over the place.

maybe a better idea would be using a tooltip which shows when you hover over it.

I use these tooltips throughout the template (and there will be even more of them in v14), also I think people are used to tooltips from other pages and once they notice you have them, they start using them.

In some future update of this block I can add this, a tooltip for the slider saying you should drag it and slide to the right/left to change date and time.

Thanks for the feedback
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 28, 2017, 07:50:53 AM
Tool tip is a great idea!  Will the tool tip pop up when you mouse over the entire window or just the slider? 

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 08:15:10 AM
Tool tip is a great idea!  Will the tool tip pop up when you mouse over the entire window or just the slider? 

Tom

Slider, the entire block would be problematic because it could clash with other hover effects. Or maybe some small area around the slider as well, but not the entire block
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 08:15:54 AM
Also because the tooltip stays opened for the time you hover over it, so if it was the whole block you wouldnt be able to get rid of it if you see what I mean
Title: Meteotemplate - Plugin Update - CoCoRaHS 1.1
Post by: Jáchym on April 28, 2017, 11:16:02 AM
Plugin Update - CoCoRaHS 1.1

Hi guys,

based on your feedback I made some minor CSS adjustments to make the map more clear.

DEMO: http://www.meteotemplate.com/template/plugins/cocorahs/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 28, 2017, 11:21:06 AM
Looks like my reply of last night has been lost...
I think I am now up to date in version and blocks/plugins.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 11:23:19 AM
Hi Paul,
thanks a lot, Ron has already contacted me this morning and we tested what was necessary, it now works.

The fact you updated to v13 will be very useful soon :-)
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 28, 2017, 11:45:38 AM
Jachym,

Public thank you for the CoCoRaHs block update.
Another question.  I have added the GRLevelX block to the homepage.  Is it possible to make the image smaller?  The block seems to take up a lot of real estate on the page.

Thanks,

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 11:54:15 AM
Hi Jay,
yes in fact very easily. The image will always adjust to whichever column you put it in based on width. So if you move this block to one of the side columns which are narrower, it will also shrink. All blocks with images (radars etc.) always adjust dynamically to block width depending on screen size and also to make sure the aspect ratio is maintained.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 11:56:05 AM
Jachym,

Public thank you for the CoCoRaHs block update.
Another question.  I have added the GRLevelX block to the homepage.  Is it possible to make the image smaller?  The block seems to take up a lot of real estate on the page.

Thanks,

Jay

Welcome... just wondering, would you want this as a "block"? :D But obviously we would have to come up with something a bit different, map is not possible, it would be too small, maybe data from a particular station?
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 28, 2017, 12:06:58 PM
Jachym,

I don't think a block would be helpful. I find that it is more helpful to compare all the stations.  If there was just one station then it would only be my station.  That information is on my station info block.  Maybe a dropdown list to show all the stations and the option to chose.  Perhaps by county the way CoCoRaHs identifies the stations.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 12:55:47 PM
Or a list of stations specified by you?
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 28, 2017, 01:53:31 PM
Or a list of stations specified by you?

That would work!😂
Title: Re: Meteotemplate - new free website template
Post by: vreihen on April 28, 2017, 08:12:12 PM
Tool tip is a great idea!

...says the person using a legacy PC with a mouse!  Try it on a mobile device or tablet, and let me know if your opinion changes.  (I just tested against MT 12's current conditions block with my iPhone and Google Chrome for iOS.)

News flash 3 April, 2017 --> ‘End of an era’: Windows usage falls behind Android for first time in 'milestone in tech history'

https://finance.yahoo.com/news/end-era-windows-usage-falls-130400389.html (https://finance.yahoo.com/news/end-era-windows-usage-falls-130400389.html)

The post-PC era has officially begun..... ;)
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on April 28, 2017, 08:37:54 PM
The graphical forecast looks nice but as I mentioned earlier the block needs a heading and some instructions.  A visitor to the site would not know what the block is.  The user would also have to figure out to move the slider to change time.  I am finding on my site that people often do not spend time trying to figure out what is going on.  They don't tend to experiment much on the site.  If something is obvious they will try it.  If not they move on.

I am talking about the average visitor to the site not a long time template user.

Perhaps a header should include something like "Move slider to change time for forecast."

My site is not for my use put for the casual visitor.




Tom


You could create a subBlock with a text block on top and graphicalForecast on the bottom.
In the text block you can put whatever description/directions you want.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 28, 2017, 08:48:50 PM
Yes. but that probably is not the most elegant solution :D

I could include some "help" icon which when clicked, will open some help text, but Im just not 100% convinced it is necessary to say "slide the slider"

The thing is, this slider is the default jQuery slider. jQuery is today used by over 70% of all pages on the web! Including Facebook, Google, Twitter, LinkedIn, all news pages you name it. And this is the default slider, so I dare to say vast majority of users have already seen such slider before and will understand they should "slide it".

They might not know what will happen, I agree with that, but once they slide it, they surely will understand when they see the time moving forward and conditions changing.

With regards to icon descriptions in general, I agree there should be some icon descriptions dialog/page. And it might not take that long before it will be implemented :-)
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on April 28, 2017, 08:59:13 PM
Yes. but that probably is not the most elegant solution :D

I could include some "help" icon which when clicked, will open some help text, but Im just not 100% convinced it is necessary to say "slide the slider"

The thing is, this slider is the default jQuery slider. jQuery is today used by over 70% of all pages on the web! Including Facebook, Google, Twitter, LinkedIn, all news pages you name it. And this is the default slider, so I dare to say vast majority of users have already seen such slider before and will understand they should "slide it".

They might not know what will happen, I agree with that, but once they slide it, they surely will understand when they see the time moving forward and conditions changing.

With regards to icon descriptions in general, I agree there should be some icon descriptions dialog/page. And it might not take that long before it will be implemented :-)


True, but as Tom noted the casual view may not even notice the slider.
In my text block I simply said "48 Hour Forecast:  move slider to change time/day"
Title: Re: Meteotemplate - new free website template
Post by: nineback on April 28, 2017, 09:31:03 PM
I think this comment applies to many of the Template block/plug-ins.  I have been trying to convince Jáchym of this but you said it so simply.

" the casual view may not even notice the slider."

In a few cases I have changed my text block and if I remember correctly an update wiped out my changes.


Tom

Yes. but that probably is not the most elegant solution :D

I could include some "help" icon which when clicked, will open some help text, but Im just not 100% convinced it is necessary to say "slide the slider"

The thing is, this slider is the default jQuery slider. jQuery is today used by over 70% of all pages on the web! Including Facebook, Google, Twitter, LinkedIn, all news pages you name it. And this is the default slider, so I dare to say vast majority of users have already seen such slider before and will understand they should "slide it".

They might not know what will happen, I agree with that, but once they slide it, they surely will understand when they see the time moving forward and conditions changing.

With regards to icon descriptions in general, I agree there should be some icon descriptions dialog/page. And it might not take that long before it will be implemented :-)


True, but as Tom noted the casual view may not even notice the slider.
In my text block I simply said "48 Hour Forecast:  move slider to change time/day"
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 29, 2017, 10:23:26 AM
  In the case of the graphical forecast in my opinion I don't think there needs to be any explanation on what to do.  I just asked my wife and son (13) who don't go to my website and they knew they needed to move the slider. 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2017, 10:43:21 AM
Yes... this is exactly the problem... hundred people, hundred opinions

Without suggesting I prefer one or the other let me just mention a few points, which some of you might not realize:

1. some people have lot of blocks, having a description of everything will make each block much larger in terms of space

2. one thing many of you probably dont realize is that in a sense you are very lucky - lucky because I have decided to use your native language as the template default - in other words, the strings appear ok for you without having to wait for translation to be available, installing it etc. But remember you are a minority, over 50% of users use the template in a different language. Now let's just assume that I decided to have English as just an additional language, and default Czech. This would happen then - you would install this block and at the top you would see "klikněte na pohyblivý posuvník pro posun předpovědi" - great isnt it :D And you would have to wait before someone provides translation (or provide it yourself), then wait before I add it to the translation database and then update your language files. And this would happen with every single string. This is a major issue. I try to use icons wherever possible, try to avoid as much as possible long strings, and try to use the already available ones. This is also because the more language strings there are, the more people are discouraged from even translating something - they see a very long list and just say - "oh, Im not doing that". From my perspective this is not a problem, but...

3. on the other hand I understand that in some cases some people find it not so intuitive

4. I can add customizations to the template, but only to a certain extent. I simply cannot let you set every single font color, every section of the block, this would create infinitely long settings pages, hours of work for me and I think that unless you write all the code yourself, you will simply never have 100% what you like - and this is by no means just a problem of Meteotemplate

5. to make things worse, as you can see, even if I think I found a solution (tooltip), someone points out a scenario, where this will not work (touchscreen displays)

This was not to say I prefer one or the other soluton, just summarizing the situation, if anyone has any ideas, Im happy to hear them, but when I look at it, I personally think the only solution is some sort of a compromise, which will never 100% suit everyone
Title: Meteotemplate - Block Update – Meteogram 2.0
Post by: Jáchym on April 29, 2017, 11:17:33 AM
Block Update – Meteogram 2.0

Hi guys,

version 2 adds support for multiple locations.

If you are updating this block, you also need to delete the original settings.php file in the Meteogram block folder and set up the block again, the original settings file is NOT compatible with this update.

If you only specify one location, no select box will appear. If you specify more than one, you will see a select box, where the first location in your settings will load by default.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=meteogram

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 29, 2017, 11:23:04 AM
Jachym,

I am helping a friend get his MT going and we are getting a warning in the GRLevelX block about time zone,  Can you suggest a fix?

http://somnwx.com

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2017, 11:26:42 AM
In grLevelXImageLoader.php

Right at the top above

include("settings.php");

Put:

date_default_timezone_set("UTC");
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on April 29, 2017, 11:33:57 AM
Thanks, that solved the problem.  Why didn't my installation have that issue?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2017, 11:38:00 AM
Because your (and my and most people's) server tolerates a bit more :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2017, 12:45:01 PM
Thanks, that solved the problem.  Why didn't my installation have that issue?

Jay

Just to clarify this a bit more.

Technically you should always provide the server with the timezone when requesting time. However, vast majority of servers will tolerate it even if you dont and just use the default server time.

The reason you did not see this on other pages is because I normally always have to make sure the TZ is specified as well so that the times are correct. The reason I did not do it in this case was because the time as such was irrelevant. I only used it because I needed to generate a random number to add to the image name to prevent the browser from caching the image. And I used the current timestamp for that.
Title: Meteotemplate - Possible outages!
Post by: Jáchym on April 29, 2017, 01:38:14 PM
Hi guys,

tomorrow, April 30th 2017, between 12 and approximately 16 UTC certain pages at meteotemplate.com might be temporarily not available (DEMO, wiki, Downloads). 
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on April 29, 2017, 02:08:28 PM
Yes... this is exactly the problem... hundred people, hundred opinions

Without suggesting I prefer one or the other let me just mention a few points, which some of you might not realize:

1. some people have lot of blocks, having a description of everything will make each block much larger in terms of space

2. one thing many of you probably dont realize is that in a sense you are very lucky - lucky because I have decided to use your native language as the template default - in other words, the strings appear ok for you without having to wait for translation to be available, installing it etc. But remember you are a minority, over 50% of users use the template in a different language. Now let's just assume that I decided to have English as just an additional language, and default Czech. This would happen then - you would install this block and at the top you would see "klikněte na pohyblivý posuvník pro posun předpovědi" - great isnt it :D And you would have to wait before someone provides translation (or provide it yourself), then wait before I add it to the translation database and then update your language files. And this would happen with every single string. This is a major issue. I try to use icons wherever possible, try to avoid as much as possible long strings, and try to use the already available ones. This is also because the more language strings there are, the more people are discouraged from even translating something - they see a very long list and just say - "oh, Im not doing that". From my perspective this is not a problem, but...

3. on the other hand I understand that in some cases some people find it not so intuitive

4. I can add customizations to the template, but only to a certain extent. I simply cannot let you set every single font color, every section of the block, this would create infinitely long settings pages, hours of work for me and I think that unless you write all the code yourself, you will simply never have 100% what you like - and this is by no means just a problem of Meteotemplate

5. to make things worse, as you can see, even if I think I found a solution (tooltip), someone points out a scenario, where this will not work (touchscreen displays)

This was not to say I prefer one or the other soluton, just summarizing the situation, if anyone has any ideas, Im happy to hear them, but when I look at it, I personally think the only solution is some sort of a compromise, which will never 100% suit everyone


Of course, as the developer you can do whatever you choose to do.
I don't know, but my guess is the you chose English because it is your most widely used single language.
I don't think you would have nearly the following you enjoy if you did it in Czech.

Besides, i wasn't asking you to change anything just offering a solution for a particular issue.

I still agree with Tom that the casual viewer may not notice the slider.

Casual viewing is much different than asking a family member to look at something.

Steve

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2017, 02:17:40 PM
Yes, I appreciate your feedback.

But I also think you missed my point when talking about English being the most widely used single language. Yes, but translations are related to all other users and I know that the number of users of all other languages is greater than that of English speaking users, so the problem I outlined above is a problem of over 50% of users.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 29, 2017, 02:22:45 PM
If I did what I said in Czech, it would affect like 95% of users, but even with English, we are still talking about majority.

Anyway, it is not really a matter of yes or no. Some description is always required and some sort of intuition as well. It is all about finding the line where you say, ok this is just something people should be able to figure out - i.e. if we take it to an extreme and exaggarate it, you could end up including statements such as "use left button of your mouse to click the below link to go to the linked page", "click on the menu with left mouse button to open it" etc.

So I am not saying we should not have this and as I said previously, some of this will also be taken into account in the upcoming new version, I added headings to several blocks based on Tom's suggestion. However in this particular case, my feeling is that this slider, not even being something Meteotemlate-specific, is understandable and large enough for the user to notice it, we can make a poll :D
Title: Meteotemplate 14.0 Rose Apple
Post by: Jáchym on April 30, 2017, 08:38:48 AM
Meteotemplate 14.0 Rose Apple

Hi guys,

I am proud to announce a new version of Meteotemplate is now available - this time a real major update in terms of new features and another on of the "front-end" updates - meaning most of the changes are changes you can directly see on the page, help you as an admin or brand new pages.

There really is A LOT of new things - but the update is actually quite simple and should not take very long. This update further extends the possibilities for blocks, menu, homepage, introduces several new designs, many new design tweaks in the main setup, several brand new pages,  adds "semi-support" for some programs for the API (Cumulus etc.) etc. etc. And one absolutely unique feature, which I am sure you will all find very useful!


All information about what is new, demos and most importantly - update instructions - can be found in the Blog:


http://meteotemplate.com/blog/?p=2420


You will need a download token, I will probably issue just a few at the beginning to make sure the upadte works fine. I will try to make sure you will always get a token within 24 hours, unless some serious problem is discovered and I need to pause the updates.

DEMO has been updated already and wiki as well.

ENJOY!

P.S. I know this will sound harsh, but if you do not read and follow the instructions and something goes wrong, I will be very hesitant to help you. In v12 update I spent hours fixing things only because people "assumed" things rather then reading what to do and you have to understand it is quite frustrating to spend hours preparing the documentation, which people then ignore anyway :-) Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 12:38:12 PM
OK, no complaints or desperate posts about template not working so I assume it is working fine, great :-)

If you find any bugs you can post them, I already know about one, but I would fix them all at once and release a bug fix package in a few days
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 30, 2017, 01:29:18 PM
I saw in the demo that the seasons winter and summer have years 2016/2017 etc I think this has to do with Northern Hemisphere and Southern ?

Anyway I will install this week and ask for the token , looks promising Jachym  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 01:42:54 PM
Hi Ron,
thanks, it is a mistake, you should of course only see this for winter (N) and summer (S)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on April 30, 2017, 02:14:06 PM
Your welcome indeed it was confusing
Ron
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 02:16:40 PM
http://meteotemplate.com/blog/?p=2456
Title: Re: Meteotemplate - new free website template
Post by: rainbow on April 30, 2017, 04:49:17 PM
Meteotemplate 14.0 works well, I had only 3 minor problems:
1. graph.php
2. meteogram block
3. format of the astroEvents block
...have not worked. I have installed the previous versions again.

Good job!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 05:41:15 PM
Hi

thanks

1. not sure what you mean, can you be more specific? What happened? It seems to be working for everyone fine so I need to know what happened to you, for me it works fine.
2. there was a minor bug, which I fixed very soon after releasing this block so try re-downloading it
3. not sure what you mean
Title: Re: Meteotemplate - new free website template
Post by: rainbow on April 30, 2017, 05:58:33 PM
1. The new graph.php doesn´t load any values from my database
3. I think that after the update there was no line break in the block, but I can´t replicate it.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 30, 2017, 06:01:12 PM
I have completed the update and generally all seems ok.
I had to change the update cron-job update.php?pass=xxxx to update.php?password=xxxx
The sitemap link shows the plugins and blocks list but the hot link is incorrect and gives a 404 (Page Not Found) error) and presuming it is not intended to bring up the page.

When the homepage first loads there is a "Transferring data from www.meteosur.sr..." shown above the footer.  What would this be for?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 06:01:57 PM
OK, I cannot replicate the graph issue on my server, so please just upload the new version temporarily even if it is not working because I need to see what exactly it is doing.

Once it is uploaded let me know and I will have a look at it.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: rainbow on April 30, 2017, 06:07:15 PM
The new version of graph.php is online temporarily.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 06:10:40 PM
I have completed the update and generally all seems ok.
I had to change the update cron-job update.php?pass=xxxx to update.php?password=xxxx
The sitemap link shows the plugins and blocks list but the hot link is incorrect and gives a 404 (Page Not Found) error) and presuming it is not intended to bring up the page.

When the homepage first loads there is a "Transferring data from www.meteosur.sr..." shown above the footer.  What would this be for?

Paul

Hi Paul,

sitemap - yes thanks for letting me know, I will add it to the known bugs and then fix it in a bug fix package
meteosur... - I did not see that and I have no idea where it would come from. I just did a search in all template files (blocks, plugins, default) for this string and found no occurrence and I did not see it on your page.
THis is the URL from which the Suriname radar is loaded, so the only thing I can think of is that you saw it instead of the image before the radar image was loaded
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 06:13:26 PM
OK, I think I see the problem, the graph page as such is ok, the problem is most likely in one of the German strings, Im trying to find which one is causing it
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 06:19:26 PM
The new version of graph.php is online temporarily.

Looks like your graph.php is corrupted (could happen during the FTP transfer or unzipping it).

Please email me your graph.php.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on April 30, 2017, 06:26:43 PM
The "Transferring data from www.meteosur.sr (http://www.meteosur.sr)..." shows up each time the home page is loaded for about 20 seconds (my page loads slow and likely the link disappears when everything is fully loaded).  I have attached a screen capture and it shows at the bottom left.  If it is a legitimate load/link that is ok, just wanted to follow up in it.  I did go to www.meteosur.sr (http://www.meteosur.sr) and it looks like a personal website.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 06:32:32 PM
Hi Paul,

this is normal, it is just showing in your status bar that it is loading data from meteosur.sr, which is the data source for the Suriname radar. It is not a string in the template, it is a string in the status bar of your browser.

It is not a personal site.

http://www.meteosur.sr/RADAR/R150.gif
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 06:42:40 PM
The new version of graph.php is online temporarily.

Hi Det,
I found the issue, it should be fixed now. One of the German translators included an extra blank line symbol in one of the translations and I didnt notice it. Just update your de.php from the Translations page and it will work fine.

Title: Re: Meteotemplate - new free website template
Post by: rainbow on April 30, 2017, 06:50:34 PM
Hi Jachym,
ok, that was the solution- many thanks  :grin:
Title: Re: Meteotemplate - new free website template
Post by: kocher on April 30, 2017, 06:53:25 PM
Updated to the latest version (v.14 Rose Apple) and, working correctly  =D&gt;


Jachym, thank you very much and congratulations for your incredible work
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 07:06:50 PM
Great :-)

Thanks guys for your feedback
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 30, 2017, 07:20:43 PM
My site map is only showing the location at the top.

http://www.harpersferry-weather.com/meteotemplate/sitemap.php

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 07:23:57 PM
My site map is only showing the location at the top.

http://www.harpersferry-weather.com/meteotemplate/sitemap.php

John

Hi John,
please make sure you update all the files in the update package, looking at your site I immediately see the menu.php has not been updated
Title: Re: Meteotemplate - new free website template
Post by: tstorm on April 30, 2017, 07:31:39 PM
 #-o  All is well now.  Hopefully that's the only file I missed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 07:42:09 PM
#-o  All is well now.  Hopefully that's the only file I missed.

Good :)

(technically isnt because the sitemap is not working correctly, but I fixed it already along with the two other minor bugs found so far and will fix them all at once as part of some bug fix package in a few days)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2017, 07:46:10 PM
LOL... this time I obviously chose a fruit most of you probably wont expect.... just for fun I made a google search for "rose apple" and limited it to the last 24h and last week and my blog post comes up first :D
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on May 01, 2017, 05:13:30 AM
Jáchym,
I got my site back up.
I attempted to pull data from WU to reset my files and the files did not transfer. I went through the entire setup process, by the book several times. and it was as if I didn't do anything.
Something to look into.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 01, 2017, 07:46:33 AM
Hi Jonny,
sorry, not sure I understand what you mean by:

"pull data from WU to reset my files"
Title: Re: Meteotemplate - new free website template
Post by: justinhow on May 01, 2017, 09:01:13 AM
I have updated to 14.0 - it went very smoothly so far - great work Jachym! Just starting to look at all the new features.

I wanted to create a top level menu option that takes you straight to the gauges page - which I have done, however it opens the gauges in a new page/tab - is there anyway to stop this?
Justin
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 01, 2017, 09:09:16 AM
Hi,
ok I see... well this is a scenario I did not expect :D

The links inside the menu tabs can be either opened in the same tab or in a new one (by adding |blank). But the ones directly in the menu always open in a new one because I expected people will use this for external links (it was actually based on what people asked for in the Jan questionnaire). And while doing it I assumed that people will put internal links (gauges etc) inside the individual tabs (the default menu + plugins) and use the direct link option for external links.

It is of course possible to change this, but you would have to do it directly in the menu.php code by deleting the target="_blank" attribute
Title: Re: Meteotemplate - new free website template
Post by: justinhow on May 01, 2017, 09:14:01 AM
OK - I understand. I have updated menu.php and works as required now  :grin:

Thanks again for the long hours you obviously put into this update!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 01, 2017, 09:22:52 AM
Thank you Im glad you like it
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on May 01, 2017, 09:32:35 AM
Hi Jachym,
updated to the latest version (v.14 Rose Apple) and all works as it should
Excellent job, congratulations  =D&gt; =D&gt; =D&gt; =D&gt;


Only one thing.
Please look this screenshot about my site:
(http://i.imgur.com/5z7twat.png)

Is it normal missing block message?
Thank you so much again.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: jonnyj771 on May 01, 2017, 11:06:01 AM
Hi Jonny,
sorry, not sure I understand what you mean by:

"pull data from WU to reset my files"
Jáchym,
I had to do a clean install of MT on a new server.
I had to import my data from WU again. I went over everything in detail, but the files did not import.
I don't know if that's a bug or what. But I tried on multiple browsers, with no success.

Sent from my SM-G935R4 using Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 01, 2017, 11:22:36 AM
I tested WU, so Im more inclined into thinking something was wrong in your setup.

PM me your new URL, admin password and your WU ID and the period you want to import I will first look myself
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 01, 2017, 11:23:37 AM
Hi Jachym,
updated to the latest version (v.14 Rose Apple) and all works as it should
Excellent job, congratulations  =D&gt; =D&gt; =D&gt; =D&gt;


Only one thing.
Please look this screenshot about my site:
(http://i.imgur.com/5z7twat.png)

Is it normal missing block message?
Thank you so much again.
Regards,



Alessandro

Hi Alessandro,
this means that you have an extra comma in one of the menu blocks and no block specification after it, something like this probably:

xxx,xxx,

That last comma should not be there otherwise it creates an extra blank namespace block
Title: Meteotemplate - Plugin Update – WL-IP 3.0
Post by: Jáchym on May 01, 2017, 12:31:04 PM
Plugin Update – WL-IP 3.0

Hi guys,

this is a major change in the way this plugin works. The change is in that now the WeatherLink updates will be handled by the API script, the WL update script will only load the data and then pass it to the API.

This means you will have to make a few changes, but in the mean time, it brings you at least some advantages of the API (obviously we cannot have all the advantages because that would require co-operation of Davis with me, which is…. let´s say unlikely :D)

The change is that in all blocks which use realtime data, where you originally specified update type as “WL”, you will now choose “API”. I made sure the original update script URL remains the same, so you do NOT have to make any changes to your CRON job, this will stay the same. The only change is that once you update this plugin, you will have to change the “update type” in blocks like “current conditions”, “gauges” etc. to “API”.

Advantages of this new API handling of the script:
- nicely rounded times in the database (10:00:00, 10:05:00, 10:10:00 etc.)
- better error handling (the API is more sophisticated than the original script)
- possibility to use all the blocks which are only supported by the API
- now also possible to use indoor data – temperature and humidity, including indoor block

See Blog for more info

http://meteotemplate.com/blog/?p=2460

Enjoy
Title: Meteotemplate - Plugins
Post by: Jáchym on May 01, 2017, 02:37:24 PM
Hi guys,

similiarly to the Blocks page I added tags to the plugins to make it easier to find the ones you want. Each plugin can have more than one tag.

http://www.meteotemplate.com/web/plugins.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on May 01, 2017, 05:28:29 PM
Hi Alessandro,
this means that you have an extra comma in one of the menu blocks and no block specification after it, something like this probably:

xxx,xxx,

That last comma should not be there otherwise it creates an extra blank namespace block

Yes, fixed.
Thank you so much.
Regards,


Alessandro
Title: Meteotemplate - Plugin Update – WL-IP 3.1
Post by: Jáchym on May 01, 2017, 05:59:06 PM
Plugin Update – WL-IP 3.1

Hi guys,

wind speed fix

Enjoy
Title: Meteotemplate - Block Update – Interactive Graph 5.0
Post by: Jáchym on May 02, 2017, 09:54:25 AM
Block Update – Interactive Graph 5.0

Hi guys,

although it might not look like it, this is a rather major update of this block. I completely changed the way the script works and optimized it, it now loads much faster and takes up 80% less resources. It is also no longer loaded via an iFrame, but rather directly in the block on the homepage.

Enjoy
Title: Meteotemplate - Block Update – Meteogram 3.0
Post by: Jáchym on May 03, 2017, 07:47:05 AM
Block Update – Meteogram 3.0

Hi guys,

- major optimization – no longer uses an iFrame
- loads faster
- corrected units formatting
- better use of space (stretches to the full size of the block)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=meteogram

Enjoy
Title: Meteotemplate - Bug Fixes Package 14.1
Post by: Jáchym on May 03, 2017, 11:39:44 AM
Bug Fixes Package 14.1

Hi guys,

first of all thanks to everyone who got back to me either reporting an issue or just saying everything went fine, I really appreciate your feedback!

Based on this feedback I prepared fixes for a few pages, hopefully this should solve all the problems.

Instructions are in the Blog. I also updated the update package and main download file so those still using an older version can now update directly to 14.1, skipping 14.0. If you are only downloading the bug fix package (14->14.1), you do not need a download token.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 03, 2017, 06:00:15 PM
Hi Jachym, can you send me a Key to upgrade to V14?

Tank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 03, 2017, 06:15:12 PM
PM
Title: Alexa ranking
Post by: Jáchym on May 03, 2017, 06:18:07 PM
LOL, Im impressed how accurate the Alexa ranking is... have a look what it shows as pages similar to Meteotemplate :D
Title: Meteotemplate - Plugin Update – Year Comparison 4.0
Post by: Jáchym on May 04, 2017, 07:58:00 AM
Plugin Update – Year Comparison 4.0

Hi guys,

- added colors to tables based on values
- CSS tweaks
- speed optimization
- improved unit formatting
- fixed graph credits
- icons converted to SVG

DEMO: http://www.meteotemplate.com/template/plugins/yearComparison/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2017, 08:22:11 AM
I applied the bug fix package yesterday butt now am getting a warning that I must update to 14.1 before updating/installing any new blocks/plugins?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 08:48:26 AM
Where do you get that warning Bill?
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2017, 08:50:40 AM
At the very top of the screen above the normal header!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 08:51:35 AM
OK, what version do you see in the footer
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2017, 08:53:10 AM
Footer says 14.0, but there was no new footer.php in the bug fix package
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 04, 2017, 08:57:27 AM
My footer says 14.1 with bug fix package.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 08:58:25 AM
Hi,
ok makes sense then, you probably skipped the last step:
http://meteotemplate.com/blog/?p=2476

By opening the Main settings and just Saving the new config.php you update all the version files etc. Lot of things are cached and by just refreshing the config you force the template to reload new data.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2017, 09:03:23 AM
Sigh!
Thought I had done that yesterday, but doing it this morning fixed it

Thanks
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 04, 2017, 09:04:55 AM
Jáchym,
Is there a way you could create a script that would automatically update all the files?  Seem like I could upload the change package to my template root directory and then run a script and update all the files.  It is too easy to miss a step when you have an upgrade like 14 that requires many steps and copying many different files.

A script would make things much easier and quicker.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 09:18:51 AM
Jáchym,
Is there a way you could create a script that would automatically update all the files?  Seem like I could upload the change package to my template root directory and then run a script and update all the files.  It is too easy to miss a step when you have an upgrade like 14 that requires many steps and copying many different files.

A script would make things much easier and quicker.

Tom

Go to the Blog, find the December newsletter, there is a Q/A section and I give the answer to this right in the first question
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 04, 2017, 09:24:14 AM
Hello, good afternoon, this morning I sent you an email requesting a download key.
I just want to know if he has received it, if not, I will resend it again.
Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 09:37:17 AM
Hi Juan,
yes you asked me here yesterday and I sent it to you by a message here on the forum within 5 minutes.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2017, 05:21:24 PM
In future would it be possible to have the ability to define columns in the LINKS page much like one can in the menu pages?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 05:28:41 PM
Hi Bill
probably not because unlike the menu, the Links descriptions can be longer sentences, menu is just 1-2 words
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 04, 2017, 05:36:53 PM
Hi Bill
probably not because unlike the menu, the Links descriptions can be longer sentences, menu is just 1-2 words

Yes I see, could get real messy quickly!
Thanks anyway :D

Bill
 
Title: Meteotemplate - bug fix
Post by: Jáchym on May 04, 2017, 06:05:14 PM
Hi guys,

sorry for another fix, we all mistakes so I hope you bear with me, it should only take you a few seconds to fix this. There is one more problem with the api.php.

Info in the Blog
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 04, 2017, 06:38:06 PM
Hi guys,

as you know, the last Rain block updates turned out to be problematic and I said I will try to do something about it once v14 is out and I have more time for this. I think I finally got it right, but I want to make sure, so whoever wants to test it just email me and I will send you the updated scripts to test.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 05, 2017, 01:26:22 AM
Good day Jachym, yesterday I updated to version 14.1, without any problem in sight, thanks again for your effectiveness.
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 05, 2017, 01:34:50 AM
Hi again, I just saw that there is another update to 14.2, can you send me a key to get back upgraded ??

Regards
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on May 05, 2017, 01:37:02 AM
14.2 only has a couple of files to update, no key needed to download those
(see the bug fix link on the downloads)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 05:56:38 AM
Hi again, I just saw that there is another update to 14.2, can you send me a key to get back upgraded ??

Regards

Hi Juan,
please read the blog, it is really crucial that people read my Blog posts, I explained in detail how you should do the update depending on which version you are using.

http://meteotemplate.com/blog/?p=2488
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 07:24:26 AM
Hi guys,

I would like to ask you to please read the following blog post:
http://meteotemplate.com/blog/?p=2491
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 05, 2017, 07:49:08 AM
Jáchym,
Have you thought about setting up a Yahoo Group.  Yahoo is not perfect but it does provide a great way to communicate.  I belong to many different Groups and find them very valuable.  You can set up different ways to receive post (individual email, digest, no email).  Groups could take the place of the Blog as well as the Forum if desired.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 05, 2017, 08:25:29 AM
Hi Jáchym, is this the big update we was talking about a few weeks back?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 09:00:55 AM
Hi Bashy,
yes, this is a major update, in case you have not done it yet, I could say sort of good for you because you can now download the main package which will directly install v14.2 including the bug fixes.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 09:03:09 AM
Jáchym,
Have you thought about setting up a Yahoo Group.  Yahoo is not perfect but it does provide a great way to communicate.  I belong to many different Groups and find them very valuable.  You can set up different ways to receive post (individual email, digest, no email).  Groups could take the place of the Blog as well as the Forum if desired.

Tom

Hi Tom,
thanks for the tip. Yes I know about this, in fact I could also use Google Groups, which IMHO has much more perspective given the situation Yahoo is currently in (I doubt the groups will last for much longer really..).

Question is what benefit it would have. There is already quite a few channels (FB, RSS, G+, Twitter) available and one thing I dont like about the Google groups (not sure if Yahoo works the same way) is that everytime someone comments on something, you get an email, which results in way too many emails, which you can of course opt-out from, but that means you will get no emails at all, which again would not solve the problem of getting updates.

EDIT: Sorry I re-read your post, so it seems like there are these digests etc. which would probably work ok. I could actually make a poll in the blog and ask people to see if anyone would be interested in using this and none of the current options works for them. If there is some interest I could look into it, my only worry is that as I mentioned above, from what Ive heard Yahoo is very soon going to end and this is exactly that kind of service they might discontinue
Title: Meteotemplate - Updates
Post by: Jáchym on May 05, 2017, 09:04:09 AM
Hi guys,

Block Update – Rain 6.1

I know this block was problematic and I promised that once v14 is out I will look at it. So here is an update, based on the feedback I got from people who tested this, it is working fine, so hopefully yes – if not, of course please let me know. I also added some further details to make the averages more clear.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=rain

Plugin Update – Canada – Radar 2.0

The Canada Radar plugin was the longest non-updated plugin of all, believe it or not, it did not change since its first release in September 2015. Since then so much changed and in fact the Canadian radar block can already do more so this plugin was sort of pointless. I recently updated the US radar and I wanted to substantially improve this one as well.

I decided to redesign it and add new features.

The major new thing in version 2.0 is a complete image archive.

- all radar images since 2010
- both national and regional images
- various image types – precipitation, snow etc.
- translation of the plugin
- optimization
- standardization – the landing page of the plugin is now index.php – MAKE SURE you update menu.php, the default link changed

DEMO: http://www.meteotemplate.com/template/plugins/canadaRadar/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 05, 2017, 09:31:28 AM
Hi Bashy,
yes, this is a major update, in case you have not done it yet, I could say sort of good for you because you can now download the main package which will directly install v14.2 including the bug fixes.

Thanks, will have a look :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 09:40:39 AM
Here is more info:

http://meteotemplate.com/blog/?p=2420
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 05, 2017, 11:10:22 AM
I really think folks will find the Groups more user friendly.  By posting the blog stuff to the Groups as well as Forum stuff people only have one place to look for info and can get it pushed to them.

I can't predict the future of Yahoo Groups but I think they will be around for a while.

Tom

Jáchym,
Have you thought about setting up a Yahoo Group.  Yahoo is not perfect but it does provide a great way to communicate.  I belong to many different Groups and find them very valuable.  You can set up different ways to receive post (individual email, digest, no email).  Groups could take the place of the Blog as well as the Forum if desired.

Tom

Hi Tom,
thanks for the tip. Yes I know about this, in fact I could also use Google Groups, which IMHO has much more perspective given the situation Yahoo is currently in (I doubt the groups will last for much longer really..).

Question is what benefit it would have. There is already quite a few channels (FB, RSS, G+, Twitter) available and one thing I dont like about the Google groups (not sure if Yahoo works the same way) is that everytime someone comments on something, you get an email, which results in way too many emails, which you can of course opt-out from, but that means you will get no emails at all, which again would not solve the problem of getting updates.

EDIT: Sorry I re-read your post, so it seems like there are these digests etc. which would probably work ok. I could actually make a poll in the blog and ask people to see if anyone would be interested in using this and none of the current options works for them. If there is some interest I could look into it, my only worry is that as I mentioned above, from what Ive heard Yahoo is very soon going to end and this is exactly that kind of service they might discontinue
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 11:30:57 AM
Hi Tom,
ok, I will make a poll next week. Though I will definitely be reposting entire blog posts, just quick info about the post as such - title and first sentence - the way it works in the RSS channels etc. And the way it works here as well.
The Blog is and will remain the primary source of info we are only talking about other communication channels that will inform people about new stuff in the Blog.

I have one more idea though, just wait :)
Title: Re: Meteotemplate - new free website template
Post by: SLOweather on May 05, 2017, 12:10:21 PM
Based on the popularity of this topic, we could create a separate area on WXForum for you rather than this single long thread, if that would help.

Chris
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 12:32:25 PM
Hi Chris,

thanks for your suggestion.

In fact I asked Ken in the past that I think it would be nice if the topics were re-arranged slightly, not just Meteotemplate, but all of them. If you look at the main forum homepage for example, there are direct links to topics that were not used for years - eg. in the HW section. In contrast, one of the most used threads (templates in general, not just mine) are not even a subheading, but a subsubheading.

In general I think it would help to maybe reduce the number of links directly on the homepage, create a new section for Templates, just like there is SW, HW etc. and then have direct headings in this section from the homepage to the four major ones - Saratoga, Leuven, Meteotemlate and PWS template. And then reduce the number of links in the HW/SW etc. based on their popularity. Right now the forum homepage really is IMHO way too long and most of the links are not used at all and those topics which are used most often are hidden under subsubcategories.

I would of course leave the other highly used ones as they are - Weather conditions discussion, member introductions, Tech corner etc.

On the other hand, I know very well this would take quite some time to do, so I did not remind Ken about it because I know how busy he is and I don´t know to what extent you as an admin can do things and how much time you have.

If the above was implemented it would be great, but if you dont have time for it, then thats totally fine, but in such case I would prefer this thread stayed as it is now - simply because it is then easier for me to just always go to this thread and read about all people asked. It sometimes happens that I miss a question about MT when people create a new thread and do not include the "MT" word in the name of it and say eg. "Help".

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 12:41:12 PM
Here is just one specific example:

Links that I think are unnecessary direclty on the homepage as main category:
- The WxTech Dream Machine

In contrast, this is how you get to Leuven or Meteotemplate:
Weather Website PHP/AJAX scripting -> Custom Website Templates

Saratoga - this is probably the most complicated for people because there is no universal thread/section for it so people post all over the place (Tech corner, PHP Ajax scripting, Weather Website help etc etc.)

Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 05, 2017, 01:56:02 PM
Please, after having updated the Block Meteogram to version 3.0 I can not get it to work "Failed loading data, please try again later", I searched in Yr.no Badalona, but I can not understand (I apologize) how to put the correct address , Can you tell me what I have to put ???www.yr.no/place/Spain/Catalonia/Badalona/ but do not read me
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 01:59:23 PM
Hi Juan,
if you want to use just one location you should use:

Code: [Select]
Badalona,Spain/Catalonia/Badalona
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 05, 2017, 02:29:44 PM
This address does not recognize it with Meteogram version 3.0

With the previous version it works correctly.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 02:46:30 PM
Email me link to your website and your admin password
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 05, 2017, 02:53:21 PM
Send a: jachymcz@gamil.com
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 05, 2017, 03:13:47 PM
Thanks Jachym, but I did not know where the problem was.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 05, 2017, 05:19:53 PM
Hi,
I didnt get your email because the address is not "gamil" but "gmail"
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 05, 2017, 05:42:39 PM
Hi,
I didnt get your email because the address is not "gamil" but "gmail"
:shock:
Title: Re: Meteotemplate - new free website template
Post by: EastFrisianGuy on May 05, 2017, 07:59:15 PM
Hi Jáchym,

There seems to be a bug with the Rise/Set of the sun/moon block, when the astronomical twilight ends after midnight, as this is currently the case here until mid August.
The pie chart shows only a tiny fraction of the disk in grey, the rest of the disk is in black.

See here
http://weatherfrog80.bplaced.net/template/indexDesktop.php

Best Regards

Georg
Title: Meteotemplate - New Block – Meteotemplate Blog RSS
Post by: Jáchym on May 06, 2017, 09:18:40 AM
New Block – Meteotemplate Blog RSS

Hi guys,

based on my yesterday´s post I decided to develop an additional communication channel to make it easier for you to stay up-to-date.

This Meteotemplate RSS block will check once per day new posts in this Blog and show them to you with a link and date.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=mtBlog

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on May 06, 2017, 11:56:32 AM
Hi guys,

Plugin Update – Canada – Radar 2.1

- added animation to current regional radar

DEMO: http://www.meteotemplate.com/template/plugins/canadaRadar/

Block Update – Rise/Set 6.6

- fix for situations where astronomical twilight is after midnight

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 07, 2017, 03:23:23 AM
Hi Jachym,

I appear to be having an error when trying to update the database from WD,

Code: [Select]
Unknown column 'station_id' in 'field list'
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 07, 2017, 08:27:50 AM
Hi,
is this an error message somewhere in WD? I guess you need to ask Brian at the WD forum, I have never used WD myself, I dont even know what the MT setup looks like there, it wont run on my linux PC.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 07, 2017, 08:29:08 AM
Hi, yeah it is and as ya know, that will be impossible seen as I got banned from there, oh well, was worth a shot :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 07, 2017, 08:51:29 AM
OK, I will ask him myself then...
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on May 07, 2017, 10:28:20 AM
Hi,
is this an error message somewhere in WD? I guess you need to ask Brian at the WD forum, I have never used WD myself, I dont even know what the MT setup looks like there, it wont run on my linux PC.


Hi Jachym,
about that.
When i restart WD, after a no-work time, it recovers all weather data from datalogger.
Is there a possibility to recover that data also on meteotemplate database?
Thanks in advance.
Regards,


Alessandro

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 07, 2017, 10:42:14 AM
Hi Alessandro,
yes, simply do a data import with the corresponding log file where you only include the time period affected
Title: Meteotemplate - Block Update – Info 2.0
Post by: Jáchym on May 07, 2017, 11:11:38 AM
Block Update – Info 2.0

Hi guys,

- conversion to SVG
- station icon automatically chosen based on your Main settings
- optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=info

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on May 07, 2017, 12:08:12 PM
Hi Alessandro,
yes, simply do a data import with the corresponding log file where you only include the time period affected

Ok but it seems so hard to do this  :???: :???: :???:
Field delimeter, decimal separator, header row, ecc.ecc.  ](*,) ](*,) ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 07, 2017, 12:17:43 PM
Not if ou use the latest version 14, because in that version you set it up just once and save the settings and if the log file has the same format you dont have to specify it again.

I dont see any other way of doing this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 07, 2017, 05:53:17 PM
Hi Jachym,

I appear to be having an error when trying to update the database from WD,

Code: [Select]
Unknown column 'station_id' in 'field list'

Bashy can you summarize exactly what you did in WD and ideally post a screenshot?

There should be the MT logo icon, there you only provide the URL of the api.php and your update password. THere should be no station ID etc. Detailed info about what you did and a screenshot would help. You are almost done so it would be a pity to give up now.
Title: Meteotemplate - volunteers
Post by: Jáchym on May 07, 2017, 07:03:22 PM
Hi guys,

looking for volunteers: http://meteotemplate.com/blog/?p=2521
Title: Meteotemplate - New Plugin – Solar
Post by: Jáchym on May 08, 2017, 10:13:54 AM
New Plugin – Solar

Hi guys,

this new plugin is related to solar radiation and sun shine duration. I will probably add more pages later, for now there is a page which shows the average estimated sunshine duration for each day of the year. This value is a station average calculated for each day from all years.

The value is shown in a graph as well as table, where you can also see the percentage of estimated sunshine from the possible maximum.

Don´t forget to update your menu otherwise it will not work if you just add it in the Menu setup.

The DEMO is more or less useless because I do not have a solar sensor and therefore there is nothing to show. This also means I had never actually seen it working, only did some very basic testing with some limited dummy data so if you see any issues let me know.

DEMO: http://www.meteotemplate.com/template/plugins/solar/index.php

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 08, 2017, 08:55:41 PM
  Solar plugin installed.  For some reason for Nov 30 there's no average sunshine or % of sunshine.

John
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 08, 2017, 08:58:09 PM
Hi John,
this would suggest you dont have any solar values for Nov 30, check your db. The plugin takes average of all years for each day of the year and there has to be at least one value for each day.
Title: Re: Meteotemplate - new free website template
Post by: tstorm on May 08, 2017, 09:36:02 PM
I checked the DB and also looked at the interactive graph and there's solar values for 2015 and 2016 for Nov 30.

John
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 09, 2017, 03:38:58 AM
Hi, i am not able to import any data from WU, not even 1 day, the import cache file says a date, ie 2015-02-24
I do have a large DB that WD has filled but i assume this is way off the mark do to the table?

It says i can do it from a file, but which files have compatible tables please? or do i have to create a file some how?

Thank you
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2017, 05:46:30 AM
I checked the DB and also looked at the interactive graph and there's solar values for 2015 and 2016 for Nov 30.

John

Hi John,
ok I know why. The graph does not show solar radiation, but estimated sun shine, which is based on a particular threshold solar radiation value. I checked your data for Nov 30 from the past years and the daily max never exceeded this threshold so the sunshine time estimate for those days is 0
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2017, 05:47:25 AM
Hi, i am not able to import any data from WU, not even 1 day, the import cache file says a date, ie 2015-02-24
I do have a large DB that WD has filled but i assume this is way off the mark do to the table?

It says i can do it from a file, but which files have compatible tables please? or do i have to create a file some how?

Thank you

Hi,
strange, you can email me your WU ID and the time period you want to import and I will try myself. Alternatively, you can use the WD monthly logs to do this.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 09, 2017, 06:38:39 AM
Hi, i am not able to import any data from WU, not even 1 day, the import cache file says a date, ie 2015-02-24
I do have a large DB that WD has filled but i assume this is way off the mark do to the table?

It says i can do it from a file, but which files have compatible tables please? or do i have to create a file some how?

Thank you

Hi,
strange, you can email me your WU ID and the time period you want to import and I will try myself. Alternatively, you can use the WD monthly logs to do this.

I have emailed you, i have WD from 2015 but i have data on WU since 2007 that i would like if it works that is :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 09, 2017, 09:56:47 AM
HI Jachym,

A suggestion if i may, for the forecast comparison, would it be possible for it to automatically take a snap shot at set times during the day/night? or is this just not possible?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 09, 2017, 10:50:53 AM
Hi,
it is but you will need a CRON job to do it and then modify the snapshot page and replace the session checker with update password checker and set up a new cron including this password
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 09, 2017, 11:21:03 AM
OO, thats great, I can work with crons in cpanel, that part is easy enough, not so sure about what editing mind   :oops:
Title: Meteotemplate - New Plugin - Page Builder
Post by: Jáchym on May 09, 2017, 05:56:02 PM
New Plugin - Page Builder

Hi guys,

this new plugin is an extension of the Custom Pages feature. It lets you create your custom pages exactly as the default page, but it also has a simple web editor which will help you with the styling without having to know HTML.

Once you download it, update your menu.php and then add the namespace of this plugin (pageBuilder) to the list of “admin plugins” so that it only appears in the admin menu tab. This plugin will not be viewable to a normal user.

I modified the DEMO scripts so in the DEMO on my site you can have a look even as a user and I put the link in the Tools tab, but this is only for demonstration purposes.

DEMO: http://www.meteotemplate.com/template/plugins/pageBuilder/customPageEdit.php?page=myPage

Enjoy
Title: Meteotemplate - Plugin Update – Solar 2.0
Post by: Jáchym on May 10, 2017, 09:53:02 AM
Plugin Update – Solar 2.0

Hi guys,

the previous release seemed to work fine so I can move on and add some new scripts. In this update there is a new page which does pretty much the same thing as the existing one, but instead of days, the data is aggregated by months so you see the average sunshine for the individual months as well as the average day length etc. The averages are given as both avg min/day and the avg total number of hours/month.

DEMO – http://www.meteotemplate.com/template/plugins/solar/index.php (again very limited due to the fact I don´t have any solar data)

Enjoy
Title: Meteotemplate - Plugin Update – Guestbook 2.0
Post by: Jáchym on May 10, 2017, 11:52:21 AM
Plugin Update – Guestbook 2.0

Hi guys,

I added some extra checking mechanisms and hopefully this update will reduce (probably not completely eliminate…) any potential spam you are getting and as an added value also test the intelligence of your visitors 😀

DEMO: http://www.meteotemplate.com/template/plugins/guestbook/index.php

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 10, 2017, 12:07:41 PM
Jachym,

I can't get meteogram to load data. Any help would be appreciated.  I used your location and mine for a test.

http://www.jayswoodfurniture.com/meteo/indexDesktop.php

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 12:43:02 PM
Hi Jay,
check the cache, if it is empty then there is a problem with loading data from yr.no (you would not be the first person...)
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 10, 2017, 12:47:15 PM
Jachym,

I have three files in the cache, all blank text files.  Does this mean I can't use the block?  I use yr.no in my forecst block.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 12:54:17 PM
This is very strange, before you updated to 3, were you using the latest version? Because the dataLoader page did not change at all, even if there was a problem with the new non-frame version, the raw data should not be affected at all
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 10, 2017, 12:56:04 PM
I have not used the meteogram prior to today.  I just decided to add it to the home page.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 01:01:42 PM
Aha I see,
Im looking at the code, it only tries one of the possible ways of loading data, the one that is simpler to do. But maybe your server just doesnt like this one and requires CURL, thats the other method and this block only tries one
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 10, 2017, 01:11:31 PM
I've also tried to setup the neteogram but the syntax is confusing me I entered
Code: [Select]
Apeldoorn,http://www.yr.no/place/Netherlands/Gelderland/Apeldoorn/ but no joy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 10, 2017, 01:15:03 PM
Ron,

Take off http://www.yr.no/place/ and see if that works.

Jay
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 10, 2017, 01:19:51 PM
Ron,

Take off http://www.yr.no/place/ and see if that works.

Jay

Sorry doesnt work thanks anyway
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 01:24:59 PM
Ron you also need to delete the cache file because it is cached. What Jay suggested was correct, you need to use:

Apeldoorn,Netherlands/Gelderland/Apeldoorn
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 01:25:39 PM
I have not used the meteogram prior to today.  I just decided to add it to the home page.

Jay

Just checked the forecast block, that one uses both methods. I will email you a modified version to see if that helps.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 10, 2017, 01:29:17 PM
Ron you also need to delete the cache file because it is cached. What Jay suggested was correct, you need to use:

Apeldoorn,Netherlands/Gelderland/Apeldoorn

Aha indeed it works now Thanks both !
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 10, 2017, 01:30:40 PM
Sorry Ron, I missed the trailing slash.

Jay
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 10, 2017, 01:35:30 PM
Jachym,

I'm sorry I created more work for you.  Your last post to Ron gave me an idea.  I deleted the three cache files and reloaded the page and the meteogram block worked fine.  I think the problem was that I had the wrong location string in and then changed it without deleting the cache.  A lesson to me.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 01:44:40 PM
Aha... ok great :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 10, 2017, 05:09:31 PM
Info about "mobile" homepage:
http://meteotemplate.com/blog/?p=2545
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 11, 2017, 02:24:19 AM
Now im finally understanding the blocks , thanks ;) is it possible for me to have multiple instances of a block
i tried renaming the folder and the files to say for example wind1, index1.php config1.php etc but that didnt work unless i missed sommat
evidently not that straight forward :/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2017, 08:11:28 AM
Hi Bashy,
yes it is not that straight forward and very much depends on which block in particular. In some cases renaming of all the files will do, in others not. This is because the way this works in the backend is that all the blocks are loaded as one piece on the homepage, meaning there must not be script clashes between the blocks and if you copy one block, you are loading the same code twice leading to an error and either none of the blocks loading, or just one and most likely all the subsequent scripts will just stop being executed due to the error in the block preceeding them.
Title: Meteotemplate - Updates
Post by: Jáchym on May 11, 2017, 10:06:57 AM
Hi guys

Block Update – Australia – Current Conditions 3.0

- added support for new v14 features (flag shape etc.)
- CSS tweaks
- optimization (size reduction from 950kb down to 48kb)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentAustralia

Blog – New feature

I added a new feature here in the Blog, where you will see a red PDF link in the bottom-right corner of each post and clicking it will create a nice PDF file from the post which is ideal for example if you want to print out some instructions etc.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 11, 2017, 11:03:29 AM
Hi Bashy,
yes it is not that straight forward and very much depends on which block in particular. In some cases renaming of all the files will do, in others not. This is because the way this works in the backend is that all the blocks are loaded as one piece on the homepage, meaning there must not be script clashes between the blocks and if you copy one block, you are loading the same code twice leading to an error and either none of the blocks loading, or just one and most likely all the subsequent scripts will just stop being executed do to the error in the block preceeding them.

I had a feeling that might be the case and the ones i was trying to do are prob the worst, i was looking at separating Wind and rain from the SS gauges so they have their own blocks, looking further, it looks like wind is 2, ie, speed and direction are coupled together.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2017, 11:08:29 AM
It is possible to create a duplicate, but the SS gauges are by far the most complicated block and in this case it would mean going through thousands of lines of code
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 11, 2017, 11:09:52 AM
We will just forget i ever mentioned that one lol, move along, nothing to see here.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 11, 2017, 12:01:51 PM
Its ok, sometimes it is possible by modifying the scripts slightly (I have done this for people with specific blocks they asked for), but you probably chose the only one where it is practically impossible unless I spent hours with it :D
Title: Meteotemplate - Updates
Post by: Jáchym on May 12, 2017, 09:20:41 AM
Hi guys,

New Plugin – Czech Republic – Meteogram

This new plugin includes detailed Meteograms (forecast diagrams) which include temperature, precipitation, wind speed, pressure, cloudiness etc. for over 800 locations in the Czech Republic.

DEMO: http://www.meteotemplate.com/template/plugins/czechMeteogram/index.php

Block Update – Cloud Height 4.0

- added translations

Plugin Update – Antarctica 2.0

- added colors in the table

DEMO: http://www.meteotemplate.com/template/plugins/antarctica/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 13, 2017, 02:36:53 AM
Morning Jachym, was just creating a new page, well, playing more like it, question, can you not use php include in the template?

I tried it here and it failed to produce

http://www.suffolkweather.info/template/custom/customPage.php?page=monthForecast
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 13, 2017, 02:10:12 PM
Is anyone else having trouble with the dynamicText block?

I made a minor change and when I hit save I get the following

"You don't have permission to access /meteo/homepage/blocks/dynamicText/saveSettings.php on this server."

that file and in fact everything in that directory has permissions set to 0777

confused!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 02:21:53 PM
Morning Jachym, was just creating a new page, well, playing more like it, question, can you not use php include in the template?

I tried it here and it failed to produce

http://www.suffolkweather.info/template/custom/customPage.php?page=monthForecast

Hi Bashy,
yes and this is I think even mentioned in the description on the custom pages edit page. No Javascript and no PHP for security reasons.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 02:23:02 PM
Is anyone else having trouble with the dynamicText block?

I made a minor change and when I hit save I get the following

"You don't have permission to access /meteo/homepage/blocks/dynamicText/saveSettings.php on this server."

that file and in fact everything in that directory has permissions set to 0777

confused!

Me too because all the settings scripts use the same script, the block namespace is only passed as a parameter so it should theoretically then show for every block settings. But Im afraid I really cant help you with this because this clearly is a permission issue, not a PHP problem
Title: Meteotemplate - Block Update - Calculator 3.0
Post by: Jáchym on May 13, 2017, 03:58:14 PM
Block Update - Calculator 3.0

Hi guys,

- added Beaufort conversion
- added Kelvin conversion
- optimization (size reduction by 85%)

Enjoy
Title: US Radar
Post by: nineback on May 13, 2017, 04:40:56 PM
Is there a better radar available, other than GRLevelX, that we can make into a block.  The NWS radar covers too much area and the map resolution is poor.  I would like a radar that can be zoomed in around my home.  Weather Underground's Wundermap does this but I do not know if it is available for public use.

https://www.wunderground.com/wundermap?lat=34.26&lon=-86.22&radar=1 (https://www.wunderground.com/wundermap?lat=34.26&lon=-86.22&radar=1)

Weather.com also has a nice radar similar to WU.

https://weather.com/weather/radar/interactive/l/35950:4:US?layer=radarConus&zoom=8 (https://weather.com/weather/radar/interactive/l/35950:4:US?layer=radarConus&zoom=8)

Thanks,

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 05:28:22 PM
Hi Tom,
yes I know numerous very good nice pages with US graphs, including the ones you posted, unfortunately the NOAA/NWS ones are the only ones that can be used due to copyright. If this did not matter than we could use eg. Accuweather, Intellicast etc. There is quite a few, but NOAA/NWS is only one that can be reproduced and used.
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 13, 2017, 06:05:41 PM
What about using the Weather Underground API?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 06:18:47 PM
WU API is for forecast data not for radar.

It is unlikely you will find a free and usable page because if there was one no-one would use the paid ones. The only free and usable one is therefore the governmental one - i.e. NOAA/NWS. I have seen people using images from sites like Intellicast, Accuweather etc. but this is against their T&C and it is therefore their own responsibility to do this and to create the code for it.
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 13, 2017, 06:24:38 PM
Thanks.  I really do not understand the API but saw this.
https://www.wunderground.com/weather/api/d/docs?d=layers/radar (https://www.wunderground.com/weather/api/d/docs?d=layers/radar)

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 06:29:51 PM
Yes, I know about this, this is exactly what you are looking for.

But is this ok for you?... (see radar)

https://www.wunderground.com/weather/api/d/pricing.html
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 06:31:13 PM
And the other major issue is the number of calls because if you wanted zoom features etc. you cannot cache this.
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 13, 2017, 06:48:33 PM
I do have an API.  It is free.  I believe I got it because I upload data to WU.  Like I said earlier I am not familiar with the API but do have one. :-) . I have the stratus developer plan.  It appears as though I could also choose the Cumulus or Stratus developer plan and create a new key and get radar for free?  I am not 100% sure of this but it looks right.

My guess is that a lot of Template users also upload to WU and have access to the API key.

Tom

Title: Re: Meteotemplate - new free website template
Post by: nineback on May 13, 2017, 06:58:39 PM
Understand about priorities.  No problem.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 07:01:51 PM
I also dont want the blocks to take up too much browser resources and maps are always an issue, not to mention map overlays. Some time ago I started working on an update to the US radar to support complete history archive including regional images, but I then realized it will take a lot of time so I postponed it and probably will get back to it sometime in the future, but cant tell when right now, looking at the list of things I want to do most likely not very soon  :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 07:10:13 PM
In a sense you are very lucky because the U.S. probably has the most usable data. Usually it is the case that the national weather service has some free data available, usually not so good as the commercial ones, but better than nothing.

Sometimes however it is very difficult to find something and right now a great example of a country which is probably the worst in this respect is Switzerland. Ive already spent hours and hours looking for something. The problem is that MeteoSwiss also sells everything and has nothing for free. Ive even asked several Swiss users and they were unable to find anything either so there is nothing for Switzerland yet and I will probably keep on looking and hopefully find something.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 13, 2017, 07:28:18 PM
With an up-front disclaimer that Debian/Ubuntu is my least-favorite Linux distribution, does anyone have a "cheat sheet" or notes for how to get MT running on this server platform?

I'm trying to get a brand new install of MT 14.2 running on an Amazon AWS virtual machine, running Ubuntu 16.x and PHP7.  Setup.php runs fine, and the installation passes the MT server test and database test.  The config.php file is created fine.  When loading index.php, it correctly forwards to indexDesktop.php...which displays absolutely nothing.  The web server logs have no errors, and just say that the page loaded normally (200) and was 31 bytes long.

It appears that PHP is choking in header.php, trying to set up the $stationWarningsInterval string via the "lang" function.  Disabling station warnings in config.php allowed header.php to finish, but then something else failed further down the line back in indexDesktop.php.

TL;DR - I do not have any data in the database yet, but don't think that it is the cause of my problem.  Could PHP7 be the problem?  I feel like I'm missing something simple, because a test php_info() call works and both nginx and Apache were able to run the setup.php and write a config.php file.

Any ideas/pointers would be greatly appreciated.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 07:32:12 PM
Assuming your page is local and so impossible for me to look at myself,

can you please try the following URL and let me know if you saw anything:

..../indexDesktop.php?errors
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 13, 2017, 08:06:24 PM
can you please try the following URL and let me know if you saw anything:

..../indexDesktop.php?errors

(Making mental bookmark for that useful troubleshooting procedure.)

I just found the stupid gotcha.  MT's "lang" function was breaking because the JSON language arrays were empty due to json_decode() not being present on the server! #-o   Six hours of  ](*,) trying to figure it out.

In case it comes up in Trivial Pursuit, here's the server-side fix:

Code: [Select]
sudo apt-get install php-json php-services-json

I will share my notes when I finish this exercise, in case anyone else wants to play along at home.  Amazon AWS gives you a free Linux virtual machine for a year to learn their service, so someone can really cut their hosting costs down significantly if they are comfortable with managing a raw server via the command line.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 13, 2017, 08:29:36 PM
Glad you found the problem, this would cause many other issues, JSON format is used all over the template in almost every script
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 14, 2017, 08:34:36 AM
Have been doing a bit of research on cloud height and cloud temperature. Seems it is not an exact science but rather an approximation based on assumptions. I input my parameters into various web site calculators and they were all pretty much identical.

It is 8.9C outside and the dew point is 8.4C. Cloud height is approx 62.2M and cloud temp is 8.3C.
So I went outside to call my dog in and the stars are clearly visible with hardly a cloud to be seen.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 14, 2017, 08:43:01 AM
Colin the concept of the cloud height is a bit different. It tells you the cloud base height IF there are clouds obviously... as you mentioned yourself, the values are derived completely from just the temperature and dewpoint - and obviously these two parameters can be measured regardless of whether it is clear sky or cloudy. It is more like what the cloud base is/would be if there are clouds. This calculation is based on how clouds form and how water condenses in the atmosphere.

There is obviously no way to tell if the clouds are really present just by looking at your station data.
Title: Meteotemplate - Block Update – Forecast 6.0
Post by: Jáchym on May 14, 2017, 09:02:35 AM
Block Update – Forecast 6.0

Hi guys,

updated the Forecast block with some more options for WxSIM - http://meteotemplate.com/blog/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 14, 2017, 09:07:37 AM
Thanks Jachym, I did come to that same conclusion.
Just do not see the point of it all if there are no clouds.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 14, 2017, 09:22:29 AM
It is useful when there are clouds and given you cannot determine whether there are or not there is no other way of doing this. It is also sort of assumed that people looking at it can tell if there are clouds or not :D

You can add to the title "potential" cloud height :)
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 14, 2017, 10:30:07 AM
Is anyone else having trouble with the dynamicText block?

I made a minor change and when I hit save I get the following

"You don't have permission to access /meteo/homepage/blocks/dynamicText/saveSettings.php on this server."

that file and in fact everything in that directory has permissions set to 0777

confused!

Me too because all the settings scripts use the same script, the block namespace is only passed as a parameter so it should theoretically then show for every block settings. But Im afraid I really cant help you with this because this clearly is a permission issue, not a PHP problem

OK fired up Filezilla and logged onto my hosting server, selected the directory where MT is installed and told Filezilla to change that directory's permissions to 777 and to Recurse into subdirectories and change all files and directories also.

I then went through all 90 plus blocks I've installed and made a minor change to each and then hit Save!

All worked as expected except these two!

dynamicText
You don't have permission to access /meteo/homepage/blocks/dynamicText/saveSettings.php on this server.
indoor block
You don't have permission to access /meteo/admin/blockSave.php on this server.

Just to confirm I then checked the permissions on these and confirmed they are set to 777

Its really not a big deal but has caused me to  ](*,) ](*,) ](*,) ](*,)

The results for the indoor block really confused me as you said Jachym that file is the same one used on most block settings!
Could there be a global thing my hosting company has set???
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 14, 2017, 10:35:37 AM
Glad you found the problem, this would cause many other issues, JSON format is used all over the template in almost every script

Feature request for the next version - add a check for the presence of the PHP json_decode() package to the setup.php server test routine. :-)  Since it apparently isn't installed by default on Ubuntu with the base PHP package (and I suspect also not on Debian), O think it is worthy of a special check just like the curl package.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 14, 2017, 11:14:38 AM
Hi Arthur,
I see your point, however theoretically we could then add check for every single PHP function used in the template because who knows what is/is not included in each. JSON_DECODE should be included in all PHP > 5.3. Obviously it is not, so who knows then what else is not included in other installations...

I think it is easier to just use the debugging mode in such case to see what exactly is the problem and as you have seen yourself, that solved the problem immediately
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on May 14, 2017, 11:46:13 AM
Hi Bill,
Those 2 blocks seem to be working ok on my site.  I have permissions at 705.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 14, 2017, 11:52:38 AM
Hi Bill,
Those 2 blocks seem to be working ok on my site.  I have permissions at 705.

Enjoy,
Paul

Thanks Paul,
I'm gonna ignore if for now, I can always go and edit the settings.txt file manually if I need to!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 14, 2017, 12:15:53 PM
Yes, but it makes no sense...
Title: Meteotemplate - Block Update - Pollen 6.0
Post by: Jáchym on May 14, 2017, 07:07:21 PM
Block Update - Pollen 6.0

Hi guys

- added some new features from v14
- added support for all Canadian provinces

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 15, 2017, 01:02:09 AM
Morning Jachym, was just creating a new page, well, playing more like it, question, can you not use php include in the template?

I tried it here and it failed to produce

http://www.suffolkweather.info/template/custom/customPage.php?page=monthForecast

Hi Bashy,
yes and this is I think even mentioned in the description on the custom pages edit page. No Javascript and no PHP for security reasons.

js yes, but not php ;)

In the wxsim forecast, is it showing average or gustspeed (for wind)?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 15, 2017, 06:47:46 AM
PHP will not work either because the code you provide is JSON encoded so if you include something like <?php..... it will just display the code as plain text or hide it completely, but it will not execute the commands
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 15, 2017, 06:59:06 AM
Yeah, managed to do it with a new page,
What about the wind in the wxsim forecast, would it be possible to to show gust as well as average please?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 15, 2017, 07:43:50 AM
Hi Bashy,
to be quite honest I dont want to touch that script. It was a nightmare to create this and many times I had to re-do it before I got it right and working (I will not go into reasons why because Ive explained that several times here already).
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 15, 2017, 07:50:06 AM
Ah OK, but what is shown, gust or average cause it does not say?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 15, 2017, 08:04:30 AM
It is this field:

Wind Spd.
Title: Meteotemplate - New Plugin – WANET
Post by: Jáchym on May 15, 2017, 10:56:06 AM
New Plugin – WANET

http://meteotemplate.com/blog/?p=2570

Enjoy
Title: Meteotemplate - Block Update - Calendar 3.0
Post by: Jáchym on May 15, 2017, 03:32:32 PM
Block Update - Calendar 3.0

http://meteotemplate.com/blog/?p=2572

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 15, 2017, 04:37:53 PM
Hello, I installed the version 6.0 of Forecast, basically it works but in the upper right there is a symbol that opens another screen, Wxsim in black but without any data, that has to be seen here ??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 15, 2017, 05:03:46 PM
Did you specify URL of your plaintext.txt in the block setup?
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 16, 2017, 02:27:30 AM
Hi Jachym, I still  cannot get the webcam timelapse to work
its in a menu block with the webcam here http://www.suffolkweather.info/template/

It just loads image placers (not right name lol)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2017, 06:23:30 AM
OK check that in the "webcam" plugin folder there are images being saved periodically
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 16, 2017, 06:28:49 AM
Mmm, apparently not lol have I missed somewhere about setting permissions.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2017, 07:07:01 AM
Permissions or your CRON is not working
Title: Meteotemplate - Block Update – BaroTrend 2.0
Post by: Jáchym on May 16, 2017, 08:20:57 AM
Block Update – BaroTrend 2.0

Hi guys,

- added pressure tendency description
- added expected weather forecast (see the screenshots of this block on the Blocks page)
- block optimization – size reduction from 254 kb to 2.3 kb

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=baroTrend

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 16, 2017, 09:13:54 AM
Permissions or your CRON is not working

That's interesting, I don't remember seeing anything about crons or permissions, what seems to on are they under in the wiki please?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2017, 09:37:43 AM
Always make sure you read documentation for each plugin you install, it is all explained there
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 16, 2017, 11:09:52 AM
Hi, already did that when i first installed them, i made sure there was no instructions in the folder
I read the instructions for both the webcam block and the webcam plugin during seting, just done
it again to make sure and i cannot see anything with regards to permissions and cron jobs :/

Heres the screen shots from both block and plugin, theres also nothing in the timelapse folder and
theres no settings for the timelapse, i see nothing, not even dead peoples.....

I must be missing something?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2017, 11:15:26 AM
Try using relative path for the plugin as well. PM me the CRON URL you are using for this.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 16, 2017, 11:28:16 AM
Thats just it, what cron? i cannot find anything that says to setup a cron job :/ i have been over anything to do with the
webcam side of things, checked all folders, even gone through the scripts, to see if there is any info regarding instructions
for cron setup.

Honestly, im not normally this dumb :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2017, 11:51:08 AM
Each plugin has detailed documentation and install instructions, click the "i" button:

http://www.meteotemplate.com/web/plugins.php
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 16, 2017, 12:40:12 PM
Well blow me, never noticed that before, damn, that means i have to go through all my plugins  :shock:
I have 1 image now in timelapse, cant believe i never noticed the ! before  #-o thanks Jachym
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 16, 2017, 01:21:39 PM
Np, in most cases there is no plugin setup necessary other than the actual plugin setup page
Title: Meteotemplate - Updates - Very important!
Post by: Jáchym on May 16, 2017, 05:35:22 PM
Meteotemplate - Updates - Very important!

http://meteotemplate.com/blog/?p=2580
Title: Meteotemplate - updates
Post by: Jáchym on May 17, 2017, 07:38:29 AM
Hi guys,

Plugin Update – Radial Graphs 3.0

I added a new page to this plugin with rather unusual visualization of your station data. It is based on the daily pie graph block, but uses this concept slightly differently and again produces something unique and allows you to analyze your data a bit differently. I have also optimized the other pages for faster loading.

http://meteotemplate.com/blog

Enjoy
Title: Meteotemplate - another milestone
Post by: Jáchym on May 17, 2017, 08:54:38 AM
Hi guys,

unbelievable how quickly our “Meteotemplate community” grows. And I dare to say it now spread worldwide as I have just added a user from the 50th country today 🙂 Although it might not be so clear, I probably benefit from all this at least as you do because I meet people all over the world, learn new things during the development process, learn to communicate and provide support and last but not least, it feels great to be creating something others find useful and like.

Once again thanks all for your support

http://meteotemplate.com/blog/?p=2582

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 17, 2017, 09:40:52 AM
I quite like those  =D&gt; but there is one parameter missing that i thought would be one of the top ones and
would be good on the radials and thats wind direction  8-[
Title: Meteotemplate - Q/A
Post by: Jáchym on May 17, 2017, 04:45:07 PM
Hi guys,

first Q/A with common questions answered now in the blog

http://meteotemplate.com/blog/?p=2589
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 01:58:20 AM
Morning Jachym, was just having a play with the mobile side of things, i.e. adding blocks, when i noticed that there is no
header logo....
http://www.suffolkweather.info/template/indexMobile.php

Also, on my note 3, when i open the menu and i have to scroll to parts of the menu that are not showing, the menu just closes
as soon as ya drag the page to go to that part of the menu, therefore impossible to go to any menu link that i have to scroll to

Build 14.2

PS, already checked it without any blocks (reset the mobile page) and still he same

On a different note, i cannot find anywhere (so far) that shows the current cloud conditions, i.e. cloudy, partly cloudy,
sunny etc. Is it possible to add this to the current conditions block? and maybe at some time create a block just for this?
Perhaps its not in the WD api yet i presume, i cannot see it in there?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 05:25:29 AM
Hi,
yes if you look at your homepage for desktop there is also no image (flag) at the top. This is because most likely in the main settings you disabled the default flag image and put "custom", but provided no url for it, so even on your desktop homepage I can see a broken image icon. Either set it back to the flag in the Main settings or provide a URL for alternative. If you leave it blank it will not work.

Not sure what you mean with the menu, I tried it and it works fine

Question 3:

unfortunately impossible for several reasons:
– over half of users, including me, do not have solar sensor. And even if you have one – your solar sensor measures global radiation, not sunglight. This means that there is no direct correlation between partly sunny, sunny, or even mostly sunny, you cannot tell
– there is no way you can tell difference between snow and rain
– no way to tell difference between rain and thunderstorm

So in conclusion, you could basically only tell two conditions:
– raining/snowing/drizzeling/thunderstorm
or
– cloudy/partly cloudy, mostly cloudy – and this is only for users with solar sensor (not that many)

That is not very great is it… and for over half of users like me without solar sensor it would be only:
– raining (thunderstorm, maybe rain, maybe snow…)
– not raining (maybe cloudy, maybe sunnny, maybe partly cloudy, maybe fog.-.)

I am sure you agree this is useless… people would only complain. It is better not to show anything than this nonsense
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 05:56:53 AM
I changed the image to a blank image and it still does not show the logo

If you look in the clientraw, you will see the current conditions, e.g. Whether it's Sunny/dry , partly cloudy/dry,  mostly cloudy/dry,  overcast/dry,  my solar sensor does correlate to the cloud cover brilliantly, as does my night cloud sensor.

For folks without a solar, it would just say dry or raining, for folks with a solar it would say the current sky conditions

See here www.suffolkweather.info

Like I said, the conditions are already there in the clientraw file, it works well on the saratoga and Leuven
It deffo does not look like nonsense and no, sorry, I can't agree on this one... it could be done say if a person choose a no solar then it shows nothing like it does now, showing the current conditions to me is one of the more important items I like to see and have showing for the visitors that want to know what it's like at the time of visits, ie, could be planning to set of and know what it's like over here etc

It works the same way as it does in the WD console.

On my note three, if I choose a menu where the items have gone past the bottom of the screen, when I try to slide the screen to the item I want the menu closes
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 06:13:30 AM
I just had a quick look through the user list and got as far as Ascot weather, and all of them that I could access have a solar sensor, I stopped at Ascot, I'm trying to sunbathe :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:14:30 AM
Meteotemplate does not use clientraw and majority of users dont even have it Bashy. And I do not think you can correctly deduce weather condition just based on station data, regardless of solar sensor availability. How are you going to differentiate between rain, snow, thunderstorm, partly/mostly cloudy, hail, fog....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:14:57 AM
I just had a quick look through the user list and got as far as Ascot weather, and all of them that I could access have a solar sensor, I stopped at Ascot, I'm trying to sunbathe :D

Majority does not - including me, which obviously is crucial
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 06:21:56 AM
Meteotemplate does not use clientraw and majority of users dont even have it Bashy. And I do not think you can correctly deduce weather condition just based on station data, regardless of solar sensor availability. How are you going to differentiate between rain, snow, thunderstorm, partly/mostly cloudy, hail, fog....

That's just it, wd does all the work, the other templates base the clientraw number on an icon the template uses, the current conditions icon numbers could be added to the api, your template does not have to work anything out, it just needs to show the icon that corresponds to the current conditions number that would come from the api if Brian would add them.
MT does not need to work out anything, it's all done in wd, it would be the same for other weatherr software to if it shows a conditions icon in the console.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 06:24:39 AM
I just checked other MT sites with regards to the menu and I have the same issue on those too, for some reason it does not like the Note 3,could be cause of its size?? Baffled....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:28:21 AM
Menu - yes it could, I have no way to test this, it works for me, but I dont have a smartphone

Weather Conditions - as I told you, majority of users (including me!) does not have solar sensor and yet another majority does not use WD (MT supports many other SW like Meteobridge, WeeWx, NetAtmo, Wanet, WU, WeatherLink, Cumulus, Meteohub, WeatherCat, you name it...) and so your solution would not work.

I agree that you could show wet/dry, but that would only be based on the current rain rate and still might not be 100% accurate, not to mention that it would be useless because anyone can just look at the rain and see if it is raining or not (and it could be snowing etc.).
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 06:37:18 AM
Just as a side note, to me, a solar sensor is one of the most important sensors, I don't care about how many w/m2 it's only  for one thing and that's the current sky conditions and same with the night cloud

Just seen your reply, I take it there is no point in asking  the users what they would like?

I mean no disrespect, MT is great for data look up and comparing etc, i will use it as a tool for just that, but sadly I cannot put it into main stream because my visitors and more importantly me,  cannot see at a glance what the current conditions are like.

The rain idea wouldn't work if the rain was very light, unless I somehow told them to look at my leaf wetness gauge.

You've have done a great job with it, it is a cracking template, thank you.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:45:41 AM
Im not saying solar sensor is not an important sensor (though it is not ideal because it is not really measuring sun light, but rather global radiation and can be biased by cloud reflection), but my station does not have it, does not support it and likewise I dont have WD.

Obviously this is not your problem, but unfortunately it will affect you given you use a template that Im developing.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:47:49 AM
Just as a side note, to me, a solar sensor is one of the most important sensors, I don't care about how many w/m2 it's only  for one thing and that's the current sky conditions and same with the night cloud

Just seen your reply, I take it there is no point in asking  the users what they would like?

I mean no disrespect, MT is great for data look up and comparing etc, i will use it as a tool for just that, but sadly I cannot put it into main stream because my visitors and more importantly me,  cannot see at a glance what the current conditions are like.

The rain idea wouldn't work if the rain was very light, unless I somehow told them to look at my leaf wetness gauge.

You've have done a great job with it, it is a cracking template, thank you.

If you think the automatic algorithm from WD works fine for you (which might also be due to your particular location and conditions, because I have seen countless times a sitaution where it was not showing the current conditions correctly and my opnion is that it is better to show nothing rather than show nonsense), then you are absolutely free to create a block for it, use the "blank" block as a template and parse the data from WD and choose icons you like. It should not be that difficult.
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on May 18, 2017, 06:50:58 AM
Meteotemplate does not use clientraw and majority of users dont even have it Bashy. And I do not think you can correctly deduce weather condition just based on station data, regardless of solar sensor availability. How are you going to differentiate between rain, snow, thunderstorm, partly/mostly cloudy, hail, fog....

That's just it, wd does all the work, the other templates base (Italics/bold by wvdkuil) the clientraw number on an icon the template uses, the current conditions icon numbers could be added to the api, your template does not have to work anything out, it just needs to show the icon that corresponds to the current conditions number that would come from the api if Brian would add them.
MT does not need to work out anything, it's all done in wd, it would be the same for other weatherr software to if it shows a conditions icon in the console.
Some minor explanation as you mention other templates:
If it is night, no template or weather-program as I am aware of, calculate current conditions based on the stations sensors.
They all use METAR (or Yahoo which uses Metar) for that. As does WD which only uses its own calculations in day-time AND only if there is a solar sensor attached.

So the easiest, most proven solution, is getting a METAR of a close-by airport and use that.

Wim
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 07:00:04 AM
I use the Davis one and a home made solar in a jar, well, it's actually a light bulb, do you have or can you add an extra temp sensor to your station, if so, you would have a solar sensor, you would be pleasantly surprised as to how good they really do work with regards to the current sky conditions, rain, fog, snow, storm (not thunder as I do t have a lightning detector) and haze/dust etc are all worked out by the weather software.

I do understand your predicament, ya could have just said that in the beginning ;)

How about a poll, hear me out,

For people with a solar sensor, would you like to have the current conditions icon, if so, would you be will to donate to help me with it.


For people with a solar sensor, I don't want the icon

If it is important to enough people and help you at the same time, it would be a win win.

It's just an idea is all, but I would be willing to put up a couple of quid to help :)

Hi Wim, just caught your reply, actually, WD does calculate night cloud conditions, I have been using it for a while now and I am sure your template even follows this too, it certainly shows the correct conditions at night time, but, granted, not many have made a night cloud sensor, only a small group has, but even Brian himself has one ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 07:00:14 AM
Thanks Wim!

And that also explains a lot because I was wondering too how WD does it, especially at night.

And so this brings another problem - I did use METAR previously to get station conditions, but I got many complains it is not showing accurate things. And that is understandable given how many METAR stations there are and how local precipitation and cloudiness can be.

The way I look at it is this:
- station data on its own is unusable to correctly determine current conditions.
- external data is usually accurate, but not accurate for your location given how local these things can be and unless you live just behind the airport...

And it is IMHO better not to show anything than to show something that is potentially misleading.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 07:04:23 AM
I use the Davis one and a home made solar in a jar, well, it's actually a light bulb, do you have or can you add an extra temp sensor to your station, if so, you would have a solar sensor, you would be pleasantly surprised as to how good they really do work with regards to the current sky conditions, rain, fog, snow, storm (not thunder as I do t have a lightning detector) and haze/dust etc are all worked out by the weather software.

I do understand your predicament, ya could have just said that in the beginning ;)

How about a poll, hear me out,

For people with a solar sensor, would you like to have the current conditions icon, if so, would you be will to donate to help me with it.


For people with a solar sensor, I don't want the icon

If it is important to enough people and help you at the same time, it would be a win win.

It's just an idea is all, but I would be willing to put up a couple of quid to help :)

Hi Wim, just caught your reply, actually, WD does calculate night cloud conditions, I have been using it for a while now and I am sure your template even follows this too, it certainly shows the correct conditions at night time, but, granted, not many have made a night cloud sensor, only a small group has, but even Brian himself has one ;)

Hi,
no, my station does not support any additional sensors, not even the wind direction sensor is working anymore.

Let´s just disregard the fact I still think you cannot accurately do this (especially at night), when taling about night cloud sensor, I think you are talking about maybe 1% of all users. As I mentioned to you already, feel absolutely free to use the "blank" block as a template and create a block tailor-made for your setup that works for you and does what you want it to do. But releasing a block, which I personally think (might be subjective opinion of course) is misleading, and which will not work for 99% of users because they either dont have night-cloud sensor, solar sensor, dont use WD, live in different location and climate where things might be more difficult to predict etc., is not a good idea.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 07:16:42 AM
I just wrote a large reply and the page didn't respond, I did say that night cloud users including Brian himself is a small minority, I also said that my station accurately states the current conditions day and night, sun's just gone in, check out www.suffolkweather.info

A block or icon in the current conditions block itself would not be misleading, because only uses of a solar sensor would use said block, no point non solar users using it cause it wouldn't work. Disregard or even forget about night time too cause with a solar block, the icon number would come from the software, if wd, it already has the nighttime icon numbers in there too, it's an all in one package so to speak.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 07:19:57 AM
I am not trying to tell you what to do, it's just an idea is all, if you don't want to do it,  that is 100% ok, it's your template.

I have only been replying replying  because your info on solar sensors is inaccurate is all.  We can just leave it here, again, that is fine by me..

PS, battery on me note is about dead anyway lol 
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 07:21:27 AM
Yes, I get your point. We are talking about users with solar sensor + WD. Which like it or not is a minority and most imporatnaly is something I cannot test myself. All Meteotemplate code is open-source and I have never said you cannot modify the blocks, in fact it is always nice to see when people implement their own ideas, so feel absolutely free to use the WD icon number in the current block if it works for you, I never said Bashy you cant do that.

btw.... talking about accurately detecting weather conditions... once people get this it is a different matter :D We use these on our stations at work :D

http://www.vaisala.com/en/products/presentweathersensors/Pages/PWD2252.aspx
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 07:22:28 AM
I am not trying to tell you what to do, it's just an idea is all, if you don't want to do it,  that is 100% ok, it's your template.

I have only been replying replying  because your info on solar sensors is inaccurate is all.  We can just leave it here, again, that is fine by me..

PS, battery on me note is about dead anyway lol

One thing I want to make absolutely clear - dont get me wrong, I think solar sensor is extremely useful, especially in combination with the UV. No doubt about that. Thats why I even made an exception and tried to do a plugin just for solar sensor, even though on my page it is useless because it shows 0 all the time.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 07:33:33 AM
Ha ha Vaisala is a whole new kettle of fish, what are they +/- 0.5C.?

But hey, I thought the Davis would be more accurate than my old OS WMR 968 but they are about spot on temp wise, wind is lower reading, smaller cups, humidity is about the same but does reach 100% where as the Davis tops out at 96, when I 1st got the Davis setup, I did think to myself, whey did I just blow nearly Ł2000 :o
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 07:35:29 AM
Yes, I get your point. We are talking about users with solar sensor + WD. Which like it or not is a minority and most imporatnaly is something I cannot test myself. All Meteotemplate code is open-source and I have never said you cannot modify the blocks, in fact it is always nice to see when people implement their own ideas, so feel absolutely free to use the WD icon number in the current block if it works for you, I never said Bashy you cant do that.

I think you would be surprised at how many really do have a solar sensor, I will have a look at creating so thing, but I'm more of a bodger...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 07:40:35 AM
Yes, I get your point. We are talking about users with solar sensor + WD. Which like it or not is a minority and most imporatnaly is something I cannot test myself. All Meteotemplate code is open-source and I have never said you cannot modify the blocks, in fact it is always nice to see when people implement their own ideas, so feel absolutely free to use the WD icon number in the current block if it works for you, I never said Bashy you cant do that.

I think you would be surprised at how many really do have a solar sensor, I will have a look at creating so thing, but I'm more of a bodger...

Usually only people with Davis have solar sensor. I would say maybe half. But not all those use WD, only a minority given how many other possible options there are for updating the db. There is probably also a difference in the proportion of people who have it based on a particular country simply because of the cost of Davis Pro2.
Title: Meteotemplate - Plugin Update – User Map 5.0
Post by: Jáchym on May 18, 2017, 07:44:43 AM
Plugin Update – User Map 5.0

Hi guys,

in this new version there are some new features as well as improvements.

- new “country table” – open/close it by clicking the table icon below the map. It shows the number of users from each country as well as some statistics such as number of users per million inhabitants or surface area of the country
- added tooltips to the flags
- flag shape based on Main settings
- other minor tweaks

DEMO: http://www.meteotemplate.com/template/plugins/userMap/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 07:51:09 AM
Usually only people with Davis have solar sensor. I would say maybe half. But not all those use WD, only a minority given how many other possible options there are for updating the db. There is probably also a difference in the proportion of people who have it based on a particular country simply because of the cost of Davis Pro2.

I think you maybe forgetting about the OS stations with UV, WD can calculate solar form that
Also there are quite a few that have the solar in a jar and any station can have that if it can take an extra temp sensor, as long as the software they use has the solar in a jar built in, i think you will find there are quite a lot of WD users have a solar in a jar, you can even do it with a davis extra temp sensor :)

I will let you carry on with ya postings cause its interfering with it and ya posts may get missed.....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 07:55:02 AM
No thats fine, feel free to post :-) The important posts from me are in the Blog anyway :-)

I will just repeat myself - I totally agree solar sensor is great no matter if it is a DYI one or a bought one, Im not saying no-one has it, lot of people do and so if WD provides what you want and like, feel absolutely free to modify any of my scripts.
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 18, 2017, 09:58:10 AM
I agree with Bashy on the Solar Sensor.  WD lets you set the thresholds at which it reports Sunny, Partly Cloudy, etc.  I am not sure why you do not want to allow the program to take advantage of stations that have greater capabilities than others.  There should be an easy way to toggle if a solar sensor is available and if so then other options come into play.  Like was mentioned before WD uses Metars at night.  I think you should allow Meter data to be used at the operator's option.  In my opinion Metars are better than nothing and if someone doesn't like them then allow a way to toggle Metars off.

Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 10:05:26 AM
Tom did I ever say you cant insert it? Feel absolutely free to do so and I also emphasized that solar sensor is a great thing to have. I only said it will be unusable for majority - not all and those who want to add it, feel free to do so, Im always interested in seeing how people modify things.
Title: Re: Meteotemplate - another milestone
Post by: gdreelin on May 18, 2017, 11:15:35 AM
Kept up the great work and more will join!!!   =D&gt;

Hi guys,

unbelievable how quickly our “Meteotemplate community” grows. And I dare to say it now spread worldwide as I have just added a user from the 50th country today 🙂 Although it might not be so clear, I probably benefit from all this at least as you do because I meet people all over the world, learn new things during the development process, learn to communicate and provide support and last but not least, it feels great to be creating something others find useful and like.

Once again thanks all for your support

http://meteotemplate.com/blog/?p=2582

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 11:27:57 AM
I am not sure I am following this correctly but in the US Current Conditions is pulls from the Metar so you get the sunny/dry etc. I see there is a block similar to the US for the rest so my viewers get the most current condition for the area from that block. Now yes it is not on my station but I have no way to evaluate sky conditions. My solar sensor just does Sun and UV only.

I changed the image to a blank image and it still does not show the logo

If you look in the clientraw, you will see the current conditions, e.g. Whether it's Sunny/dry , partly cloudy/dry,  mostly cloudy/dry,  overcast/dry,  my solar sensor does correlate to the cloud cover brilliantly, as does my night cloud sensor.

For folks without a solar, it would just say dry or raining, for folks with a solar it would say the current sky conditions

See here www.suffolkweather.info

Like I said, the conditions are already there in the clientraw file, it works well on the saratoga and Leuven
It deffo does not look like nonsense and no, sorry, I can't agree on this one... it could be done say if a person choose a no solar then it shows nothing like it does now, showing the current conditions to me is one of the more important items I like to see and have showing for the visitors that want to know what it's like at the time of visits, ie, could be planning to set of and know what it's like over here etc

It works the same way as it does in the WD console.

On my note three, if I choose a menu where the items have gone past the bottom of the screen, when I try to slide the screen to the item I want the menu closes
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 11:33:26 AM
This might seem like a trivial thing, but it is actually not so easy. The problem is also the fact that many people now use MT without generating clientraw at all. And the API does not support any parameter for sky conditions. So first I would have to talk to Brian and agree on some way of doing this, then I would have to add this to the API documentation, then Brian would have to add it to WD, then - most importantly - change in the api.php can only be done during version update, so this is not possible to do earlier than in v15 and only then I could actually try to add it to the block, but that would probably be the easiest bit..
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 11:45:54 AM
Yes agree 100% this is how it is done in my WD not based on sensors. I see no way my equipment can tell me if it is cloudy, overcast, night, etc. Unless you had some type of camera that could deduce the sky view then it may be done. I pull all my data for current conditions on Metars and other National Weather sources for my area. The MT takes that data and displays it for my viewers.

Meteotemplate does not use clientraw and majority of users dont even have it Bashy. And I do not think you can correctly deduce weather condition just based on station data, regardless of solar sensor availability. How are you going to differentiate between rain, snow, thunderstorm, partly/mostly cloudy, hail, fog....

That's just it, wd does all the work, the other templates base (Italics/bold by wvdkuil) the clientraw number on an icon the template uses, the current conditions icon numbers could be added to the api, your template does not have to work anything out, it just needs to show the icon that corresponds to the current conditions number that would come from the api if Brian would add them.
MT does not need to work out anything, it's all done in wd, it would be the same for other weatherr software to if it shows a conditions icon in the console.
Some minor explanation as you mention other templates:
If it is night, no template or weather-program as I am aware of, calculate current conditions based on the stations sensors.
They all use METAR (or Yahoo which uses Metar) for that. As does WD which only uses its own calculations in day-time AND only if there is a solar sensor attached.

So the easiest, most proven solution, is getting a METAR of a close-by airport and use that.

Wim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 11:51:24 AM
This is more or less exactly what I said, the problem is that using an external source is always a problem because these things are extremely local, things like precipitation, fog, cloudiness... it changes in just hunderds of meters so some station even just a few km/mi away might have totally different conditions.

Eg:
Here in Brno we have two professional stations. One at the airport and one here in our institute. Our institute is in the northern part of the city, not far from the city center. The airport is on the city outskirts at the Southern tip of the city. A few days ago we had 0.0 mm here, i.e. no rain whatsoever, I could hear the thunder but not a drop. The airport, 9km away, had over 15mm (almost an inch). So even such short distance is a problem. Same with cloudiness, fog, rain/snow, thunder/no thunder. And in most cases it will be even worse because many people, in fact majority, live much further away from the closest Metar station, which in my case is less than 10km (7mi).

Taking the value directly from WD would be possible (not easy, but possible), question is how accurate this can be.
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 01:22:36 PM
Hey everyone,

   As Jachym has stated a few times on this forum and in the website instructions if you want something added to the template (aka block or plugin) then you all are more than welcome to design one or post the idea for others to see. Others may find it useful and design it for the group. Jachym gave us an outstanding template base to work with (an improving all the time) we as a PWS group need to contribute our part to make it better. Example I have attached is an Info-graphics viewer for my pages that takes weather related info-graphics and posts them at bottom of site (http://mistymtnweather.com/template/indexDesktop.php). Now may not be something everyone wants or needs but it is contributing to others. There is a blank blocks that one can make into anything they want with little code knowledge. The same goes with plugins take a basic plugin and add your code to it. There are tons of smart people out there that can come up with some great ideas to add to this template but it has to work for all types of weather programs. Now many have custom sensors and or just other sensors if you want to have a block for it make it, test it, and let us all see it. Not all of us have these devices so we benefit from your ideas and equipment for future parts to the template. I commend Jachym for taking his (long amount of) time to create this base template and keep it updated with new ideas and features. As a PWS community we all need to help out  \:D/ to improve what he has created.

"A dream doesn't become reality through magic; it takes sweat, determination and hard work."

   -- Colin Powell


 
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 01:24:30 PM
Well, i have managed it :D

I hacked an old dashboard thats currently in use on another template, hacked it right down to just the
current conditions icon an text, then saved that, then created a new block and used a php include, im
lucky, i already have everything in place for my old Saratoga setup, just had to cop over my ajax images
folder in to the template folder, job done :)

http://www.suffolkweather.info/template/

Bear in mind folks, this is only possible if you use the saratoga template and also if you have a solar sensor
although, as you can see from mine at the moment, its raining, thats the only one you would see if you dont
have a solar sensor
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 01:58:21 PM
Hey everyone,

   As Jachym has stated a few times on this forum and in the website instructions if you want something added to the template (aka block or plugin) then you all are more than welcome to design one or post the idea for others to see. Others may find it useful and design it for the group. Jachym gave us an outstanding template base to work with (an improving all the time) we as a PWS group need to contribute our part to make it better. Example I have attached is an Info-graphics viewer for my pages that takes weather related info-graphics and posts them at bottom of site (http://mistymtnweather.com/template/indexDesktop.php). Now may not be something everyone wants or needs but it is contributing to others. There is a blank blocks that one can make into anything they want with little code knowledge. The same goes with plugins take a basic plugin and add your code to it. There are tons of smart people out there that can come up with some great ideas to add to this template but it has to work for all types of weather programs. Now many have custom sensors and or just other sensors if you want to have a block for it make it, test it, and let us all see it. Not all of us have these devices so we benefit from your ideas and equipment for future parts to the template. I commend Jachym for taking his (long amount of) time to create this base template and keep it updated with new ideas and features. As a PWS community we all need to help out  \:D/ to improve what he has created.

"A dream doesn't become reality through magic; it takes sweat, determination and hard work."

   -- Colin Powell


 

Thanks Greg,
sometimes things seem easier than they really are (eg. the change in the api - this is also dependent on other developers and requires changes in core scripts which can only be done as part of template version update - which is not coming any time soon right now). I sometimes do things even with sensors/SW I dont have (WxSim, solar sensor, wind direction, GrLevelX, webcam, BloomSky, NetAtmo, Wanet, WeatherLink, Cumulus, WeatherCat...... well in fact looking at it now I relatively often do such things :D), but obviously it is always problematic when you are trying to achieve something and don´t see what the result will be until you release it (eg. the Solar plugin).

In the meantime I also have to make compromises. Given I have a full- and a part-time job, I have to do things that more people will benefit from preferentially. If one day I can afford to quit my part-time job and work on MT instead, or get additional sensors Im sure it would be easier, but for now I just do what I can with whatever I have available.

Feel free to make suggestions, I always welcome new ideas.
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 02:38:57 PM
I like the block but can you pull that same data from a Metar that WD pulls? So if you have a solar sensor you can do it the way you do it or if you want to use the Metar condition you can use that instead? It would have to be an option in the settings.php file. Can you post that block maybe I can work the code some too.

Thanks Bashy!

Well, i have managed it :D

I hacked an old dashboard thats currently in use on another template, hacked it right down to just the
current conditions icon an text, then saved that, then created a new block and used a php include, im
lucky, i already have everything in place for my old Saratoga setup, just had to cop over my ajax images
folder in to the template folder, job done :)

http://www.suffolkweather.info/template/

Bear in mind folks, this is only possible if you use the saratoga template and also if you have a solar sensor
although, as you can see from mine at the moment, its raining, thats the only one you would see if you dont
have a solar sensor
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 02:40:53 PM
Jáchym,

    Many weather sources are moving towards the API so it is a step in the right direction. NWS just changed a bunch of things to API stuff now and killed some things too..sad no NOAA radio anymore.


Hey everyone,

   As Jachym has stated a few times on this forum and in the website instructions if you want something added to the template (aka block or plugin) then you all are more than welcome to design one or post the idea for others to see. Others may find it useful and design it for the group. Jachym gave us an outstanding template base to work with (an improving all the time) we as a PWS group need to contribute our part to make it better. Example I have attached is an Info-graphics viewer for my pages that takes weather related info-graphics and posts them at bottom of site (http://mistymtnweather.com/template/indexDesktop.php). Now may not be something everyone wants or needs but it is contributing to others. There is a blank blocks that one can make into anything they want with little code knowledge. The same goes with plugins take a basic plugin and add your code to it. There are tons of smart people out there that can come up with some great ideas to add to this template but it has to work for all types of weather programs. Now many have custom sensors and or just other sensors if you want to have a block for it make it, test it, and let us all see it. Not all of us have these devices so we benefit from your ideas and equipment for future parts to the template. I commend Jachym for taking his (long amount of) time to create this base template and keep it updated with new ideas and features. As a PWS community we all need to help out  \:D/ to improve what he has created.

"A dream doesn't become reality through magic; it takes sweat, determination and hard work."

   -- Colin Powell


 

Thanks Greg,
sometimes things seem easier than they really are (eg. the change in the api - this is also dependent on other developers and requires changes in core scripts which can only be done as part of template version update - which is not coming any time soon right now). I sometimes do things even with sensors/SW I dont have (WxSim, solar sensor, wind direction, GrLevelX, webcam, BloomSky, NetAtmo, Wanet, WeatherLink, Cumulus, WeatherCat...... well in fact looking at it now I relatively often do such things :D), but obviously it is always problematic when you are trying to achieve something and don´t see what the result will be until you release it (eg. the Solar plugin).

In the meantime I also have to make compromises. Given I have a full- and a part-time job, I have to do things that more people will benefit from preferentially. If one day I can afford to quit my part-time job and work on MT instead, or get additional sensors Im sure it would be easier, but for now I just do what I can with whatever I have available.

Feel free to make suggestions, I always welcome new ideas.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 02:49:25 PM
It will work from current conditions that you may already have in another template on your site,
Weather Display will use a solar or night sensor, yes, its setup up for peltier, Boltwood and homemade night sensors
WD will also use a METAR for its current conditions thus allowing you to use that on your site.

Example, i have hacked the dashboard from another template that is already running on my server
it was the whole dashboard here  (http://www.suffolkweather.info/indexOLD.php), i just removed everything except for the icon and text

So, unless you already have the Saratoga template running on your site where you can hack the dashboard to pieces and
using WD or other software that can use a METAR for your current conditions, then sadly it will not work.

Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 03:00:23 PM
So basically you are porting that information from the Ajax panel to the block? Here is the thing WD takes homemade sensors and uses that data to create the output that gives you the Station information on MT now if you just broke that one piece out to a single block then your current conditions would be shown in the block.... In a technical sense you made the same thing the CurrentUS Block does without all the info just the graphics, but using your data not the Metar data. I would think you could hack that to make the block....just a thought. 

It will work from current conditions that you may already have in another template on your site,
Weather Display will use a solar or night sensor, yes, its setup up for peltier, Boltwood and homemade night sensors
WD will also use a METAR for its current conditions thus allowing you to use that on your site.

Example, i have hacked the dashboard from another template that is already running on my server
it was the whole dashboard here  (http://www.suffolkweather.info/indexOLD.php), i just removed everything except for the icon and text

So, unless you already have the Saratoga template running on your site where you can hack the dashboard to pieces and
using WD or other software that can use a METAR for your current conditions, then sadly it will not work.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 03:07:48 PM
Yeah, basically just porting it from a very shortened version of the ajax dashboard, then just added a php include into a new block
With what you are saying is beyond me, i 1st tried it with what you are saying but i had 500 errors left right and center, i couldt
figure out how to point from the blocks folder all the way out to the public folder, i got lost in there, i struggle to get my head around
stuff like this, unless its a straight forward hack, i am useless, made worse by the tablets im on and no, im not sharing :p
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 03:19:19 PM
Well if you don't share then no one can help you   #-o...just saying. The whole point of MT is the collaborate ideas. Maybe one of us can see something you missed just saying. WD has to make an output for the Ajax to work I would assume it is the Clientraw.txt? If that is so then it can be used without having Ken's template on the site as well. I have used Ken's template for many years now and understand the Ajax part so I know the data is being uploaded in some file. The same works with Metar reports. Just my two cents there  8-).



Yeah, basically just porting it from a very shortened version of the ajax dashboard, then just added a php include into a new block
With what you are saying is beyond me, i 1st tried it with what you are saying but i had 500 errors left right and center, i couldt
figure out how to point from the blocks folder all the way out to the public folder, i got lost in there, i struggle to get my head around
stuff like this, unless its a straight forward hack, i am useless, made worse by the tablets im on and no, im not sharing :p
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 18, 2017, 03:28:00 PM
There is nothing to share, it was literally deleted, i gave up very early on and changed my mind and wen the PHP include route, much easier
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 03:30:45 PM
Ah!  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 05:53:14 PM
Oh right, you persuaded me.

Now the question is how to go best about it.

I made some quick estimation, WD is currently used by about 25-30% of MT users. Out of that, about 40% of people have solar. That leaves us with 10-15% of users potentially able to use the WD forecast (assuming Brian adds it to the api and I update the template). This therefore does not seem as an ideal solution to me.

We are therefore more or less left with two options:
1) creating some custom algorithm to calculate this - but the problem is that it cannot be "calculated" and does not solve the issue with people without solar sensor
2) external source

Option 2 is probably the one we should use. Now we again have several options:
- METAR - this is what is used by the interactive header.
  pros: very reliable in terms of data availability, fast loading times, no API key
  cons: not very dense network, which could be a major issue, not easy to decode and some of the conditions can only be guessed based on the cloud types etc.
- WU - I would rather avoid this for obvious reasons
- YrNo - does not provide current conditions (only forecasts)
- Yahoo - same as WU
- DarkSky - currently my favorite, it is the same thing also used for the Outlook page and so we could even use the cache file from this page

Title: Re: Meteotemplate - new free website template
Post by: nineback on May 18, 2017, 06:08:30 PM
I find Dark Sky to be the least accurate at my home.

Tom

quote author=Jáchym link=topic=26825.msg323875#msg323875 date=1495144394]
Oh right, you persuaded me.

Now the question is how to go best about it.

I made some quick estimation, WD is currently used by about 25-30% of MT users. Out of that, about 40% of people have solar. That leaves us with 10-15% of users potentially able to use the WD forecast (assuming Brian adds it to the api and I update the template). This therefore does not seem as an ideal solution to me.

We are therefore more or less left with two options:
1) creating some custom algorithm to calculate this - but the problem is that it cannot be "calculated" and does not solve the issue with people without solar sensor
2) external source

Option 2 is probably the one we should use. Now we again have several options:
- METAR - this is what is used by the interactive header.
  pros: very reliable in terms of data availability, fast loading times, no API key
  cons: not very dense network, which could be a major issue, not easy to decode and some of the conditions can only be guessed based on the cloud types etc.
- WU - I would rather avoid this for obvious reasons
- YrNo - does not provide current conditions (only forecasts)
- Yahoo - same as WU
- DarkSky - currently my favorite, it is the same thing also used for the Outlook page and so we could even use the cache file from this page
[/quote]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:14:15 PM
OK... well this is exactly what I was talking about however...

If I use WD, 85% of people are going to complain they cant use it.

If I use METAR, many will complain too (I know that because I used it already in the past)

If I use Darksky, another group of users will be unsatisfied...


This is the time where you just have to decide and use one. I eliminated WD because it would be usable only by a few and would require template version update, which is not coming in the next few months. WU and Yahoo is not usable, they are unreliable and often return "NA".

So we really are left with just a few.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 18, 2017, 06:16:02 PM
But one thing is for sure, I can guarantee that - this will be optional and you will be able to disable it if the results are unsatisfactory.
Title: Re: Meteotemplate - new free website template
Post by: gdreelin on May 18, 2017, 09:13:00 PM
Yeah I have seen some of DarkSky is a little off at times but true all have merit and disadvantages. So is there a way to make a selection for those that want Darksky, Metar, and or something else? Then it would appease the masses (some)....lol
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 01:20:41 AM
Hey, if you use DarkySky, WU, Yr etc, then you will be using metars  cause thats how they know if its raining, sunny, cloudy snowing at this momment in time, so, whether a script created to use metars or the above sites, it would be the same data, just gone through a 3rd
party api, that will be called upon a lot more than say the forecast usage would use up, reason being is cause it it will be used for each
and every visitor, i have already been told by WU (think it was them) that i have used 2 eye drops or sommat like that already lol :0

A selection, means a lot more work for Jachym, because of what i said above, you can only do a Metar OR a dark sky or other service
pointless using both.


For anyone that does not have a solar sensor but does have or can add an extra temp sensor, there is your solar as long as your
weather software has the option for solar in a jar, WD has for sure.

For folks that would like to try the block, all its is a php include to a cut down copied version of the ajax-dashboard.php
rename the file and that needs to stay where the original version is. Also notice i left all of Kens info in there at the top
Please leave it there!!!!

Put any txt on to your pc desktop, open it and insert the code below,
You then need to go through it to make sure some of the settings match where your files are
to save it, put in this name ajax-dashboard-current-icon-only.php
this next part is IMPORTANT, before ya save, click the drop box Save as file type and choose All files, then save.
Put that file on ya ftp where the original ajax-dashboard is.

please note, theres parts left in the code for a reason, when i tried to remove it, the block broke, if anyone can
tidy it up, make it so it auto refreshing too, that would be great ;) :)

Code: [Select]
<?php

// ajax-dashboard.php  - Ken True - webmaster@saratoga-weather.org


//error_reporting(E_ALL);

// --- settings for standalone use --------------------------

$uomTemp '&deg;C';

$uomBaro ' inHg';

$uomWind ' mph';

$uomRain ' mm';

$uomPerHour '/hr';

$uomHeight ' m';

$imagesDir './ajax-images/';  // directory for ajax-images with trailing slash

//  $timeFormat = 'D, d-M-Y g:ia T';  // Fri, 31-Mar-2006 6:35pm TZone

$timeFormat 'd-M-Y g:ia';  // Fri, 31-Mar-2006 6:35pm TZone

$timeOnlyFormat 'g:ia';    // h:mm[am|pm];

//$timeOnlyFormat = 'H:i';     // hh:mm

$dateOnlyFormat 'd-M-Y';   // d-Mon-YYYY

$WDdateMDY false;     // true=dates by WD are 'month/day/year'

//                     // false=dates by WD are 'day/month/year'



$ourTZ "Europe/London";  //NOTE: this *MUST* be set correctly to

// translate UTC times to your LOCAL time for the displays.

//

// optional settings for the Wind Rose graphic in ajaxwindiconwr as wrName . winddir . wrType

$wrName   'wr-';       // first part of the graphic filename (followed by winddir to complete it)

$wrType   '.png';      // extension of the graphic filename

$wrHeight '90';        // windrose graphic height=

$wrWidth  '90';        // windrose graphic width=

$wrCalm   'wr-calm.png';  // set to full name of graphic for calm display ('wr-calm.gif')

$haveUV   false;        // set to false if no UV sensor

$haveSolar true;       // set to false if no Solar sensor

$WXtags  =  'testtags.php';  // source of our weather variables

$fcstorg =   'WXSIM'// default forecast organization ('NWS','EC','WU','WXSIM')

$fcstscript 'plaintext-parser.php'// default forecast script

//            NWS - 'advforecast2.php', EC - 'ec-forecast.php', 

//            WU - 'WU-forecast.php', WXSIM - 'plaintext-parser.php',

$UVscript  = 'get-UV-forecast-inc.php'// worldwide forecast script for UV Index

// comment out above line to exclude UV forecast



// --- end of settings for standalone use

//

// overrides from Settings.php if available

global $SITE;


if (isset(
$SITE['tz']))  {$ourTZ $SITE['tz'];}

if (isset(
$SITE['UV']))  {$haveUV $SITE['UV'];}

if (isset(
$SITE['SOLAR']))  {$haveSolar $SITE['SOLAR'];}

if (isset(
$SITE['WXtags']))  {$WXtags $SITE['WXtags'];}

if (isset(
$_REQUEST['sce']) && ( strtolower($_REQUEST['sce']) == 'view' or

    
strtolower($_REQUEST['sce']) == 'show') ) {

   
//--self downloader --

   
$filenameReal __FILE__;

   
$download_size filesize($filenameReal);

   
header('Pragma: public');

   
header('Cache-Control: private');

   
header('Cache-Control: no-cache, must-revalidate');

   
header("Content-type: text/plain");

   
header("Accept-Ranges: bytes");

   
header("Content-Length: $download_size");

   
header('Connection: close');

   

   
readfile($filenameReal);

   exit;

}

// testing parameters// testing parameters

$DebugMode false;

if (isset(
$_REQUEST['debug'])) {$DebugMode strtolower($_REQUEST['debug']) == 'y'; }

if (isset(
$_REQUEST['solar'])) {$haveSolar $_REQUEST['solar'] <> '0';}



  include_once(
$WXtags);   // for the bulk of our data




// --- end of settings -------------------


   
putenv("TZ=$ourTZ");  // set our timezone for 'as of' date on file

  
$UpdateDate date($timeFormat,strtotime("$date_year-$date_month-$date_day  $time_hour:$time_minute:00"));

//  $UpdateDate = "$date_year-$date_month-$date_day  $time_hour:$time_minute:00";

// --- end of initialization code ---------

print "<!--  ajax-dashboard.php - 1.07 - 29-Mar-2008 -->\n";

?>



<!-- start of ajax-dashboard.php -->

<div class="ajaxDashboard">

          <table width="180" border="0" cellpadding="2" cellspacing="0">



  <tr>

<td align="center" valign="top" style="text-align: center;border: none">

<span class="ajax" id="ajaxconditionicon2">

  <img src="<?php echo $imagesDir newIcon($iconnumber?>" />

</span>

  </td>

</td>

</tr>

  <tr>

<td align="center" class="data1" style="text-align: center;border: none"><span class="ajax" id="ajaxcurrentcond">

  <?php echo $current_summary?> </span>


</td>

  </tr>

              <tr>

                <td>
                 </table>

 </div>

 <!-- end of ajax-dashboard.php -->



<?php



//=========================================================================

//

// Functions




//=========================================================================

// pick the NOAA style condition icon based on iconnumber 

function newIcon($numb) {



  
$iconList = array(

"skc.jpg",          //  0 imagesunny.visible

"nskc.jpg",         //  1 imageclearnight.visible

"bkn.jpg",          //  2 imagecloudy.visible

"sct.jpg",          //  3 imagecloudy2.visible

"nbkn.jpg",         //  4 imagecloudynight.visible

"sct.jpg",          //  5 imagedry.visible

"fg.jpg",           //  6 imagefog.visible

"hazy.jpg",         //  7 imagehaze.visible

"ra.jpg",           //  8 imageheavyrain.visible

"few.jpg",          //  9 imagemainlyfine.visible

"mist.jpg",         // 10 imagemist.visible

"nfg.jpg",          // 11 imagenightfog.visible

"nra.jpg",          // 12 imagenightheavyrain.visible

"novc.jpg",         // 13 imagenightovercast.visible

"nra.jpg",          // 14 imagenightrain.visible

"nshra.jpg",        // 15 imagenightshowers.visible

"nsn.jpg",          // 16 imagenightsnow.visible

"ntsra.jpg",        // 17 imagenightthunder.visible

"ovc.jpg",          // 18 imageovercast.visible

"sct.jpg",          // 19 imagepartlycloudy.visible

"ra.jpg",           // 20 imagerain.visible

"ra.jpg",           // 21 imagerain2.visible

"shra.jpg",         // 22 imageshowers2.visible

"ip.jpg",           // 23 imagesleet.visible

"ip.jpg",           // 24 imagesleetshowers.visible

"sn.jpg",           // 25 imagesnow.visible

"sn.jpg",           // 26 imagesnowmelt.visible

"sn.jpg",           // 27 imagesnowshowers2.visible

"skc.jpg",          // 28 imagesunny.visible

"scttsra.jpg",      // 29 imagethundershowers.visible

"hi_tsra.jpg",      // 30 imagethundershowers2.visible

"tsra.jpg",         // 31 imagethunderstorms.visible

"nsvrtsra.jpg",     // 32 imagetornado.visible

"wind.jpg",         // 33 imagewindy.visible

"ra1.jpg",          // 34 stopped rainning

"windyrain.jpg"     // 35 windy/rain 

);



return($iconList[$numb]);

}


// end of functions

//=========================================================================

?>

Now you need to create a new block php with just include to point to the new file ya just created, that should be it

New block

Code: [Select]
<div align="center">


<table table width="180">
<div style="text-align:center;width:100%;font-weight:bold;font-size:1.4em;font-variant:small-caps">
<?php echo lang('current conditions','w')?>
</div>
<tr>
<td align="center"><?php include_once("http://YOUR-SITE.HERE/ajax-dashboard-current-icon-only.php"); ?>
</td>
</tr>
</table>


Dont complain about the coding, i did NONE of it, its all borrowed and chopped, It will be highly unlikely i will be able
to help with any support on this cause, hey, i aint got a clue what im doing, seriously, i dont!!!
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 01:44:48 AM
Oh right, you persuaded me.

Now the question is how to go best about it.

I made some quick estimation, WD is currently used by about 25-30% of MT users. Out of that, about 40% of people have solar. That leaves us with 10-15% of users potentially able to use the WD forecast (assuming Brian adds it to the api and I update the template). This therefore does not seem as an ideal solution to me.

We are therefore more or less left with two options:
1) creating some custom algorithm to calculate this - but the problem is that it cannot be "calculated" and does not solve the issue with people without solar sensor
2) external source

Option 2 is probably the one we should use. Now we again have several options:
- METAR - this is what is used by the interactive header.
  pros: very reliable in terms of data availability, fast loading times, no API key
  cons: not very dense network, which could be a major issue, not easy to decode and some of the conditions can only be guessed based on the cloud types etc.
- WU - I would rather avoid this for obvious reasons
- YrNo - does not provide current conditions (only forecasts)
- Yahoo - same as WU
- DarkSky - currently my favorite, it is the same thing also used for the Outlook page and so we could even use the cache file from this page



Surely not everyone using  saratoga/leuven templates that are showing the current condition icon are all using WD?
I do know know what other weather software produce in their real time tag files, but i bet there are others that do
include solar conditions.

You only really have 2 options

Most users with a solar sensor will already be or have been showing current sky conditions on  their site or their old template if they are now using MT therefore.......

option 1 for solar users: use whatever means that are already in place, for example WD already has the means to give the correct
data for sky conditions, therefore there is no need for MT do do any calculations, just needs to pick a number ;) :D

Option 2 is for non solar users, there is only 1 option else it would have been done before now i believe and that is to use  a METAR
This is how most if not all sites such as WU, weather bug, UK Met Office, Netweather and so on, produce current conditions. So, in
effect, for non solar users, i did say only 1 option, well thats not entirely accurate, there is one other and that is, to be only able to
say if its Raining or Dry. and no, it doesnt already do that, for one there is no specfic icon, and 2, if its light rain it could be a long time
before the rain counter updates again.

Ideally you need to find out if other weather software produces solar current conditions icon numbers, letters or wording and go from there?
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on May 19, 2017, 02:28:14 AM
Good morning: I updated Forecast 6.0 and it works correctly, thanks Jachym, with WxSim.
It would be possible that the previsions may have them in Spanish, I have available plaintext-parser-lang-es.txt, how can you translate it?
Is it necessary to modify the script?
regards
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 04:26:11 AM
Hi Jachym, when on mobile and i click request desktop, this does not go to the full site, stays on the mobile site, what do i need to edit to sort this out please?

With regards to my logo  not showing, i am using the custom logo option in the main settings, perhaps this is not
following over on to the mobile page?
Title: Re: Meteotemplate - new free website template
Post by: Colin on May 19, 2017, 05:28:27 AM
Just got rid of about 24MB of error.log files scattered in just about every block and plugin.
In functions.php there is a Class AND a Function both named 'mooonPhase' that seems to generate the error. I changed the function from 'moonPhase' to 'mymoonPhase' and that stopped the errors.
Might be something to keep in mind for future versions. I know it does not affect functionality but it does generate errors.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 06:35:27 AM
Good morning: I updated Forecast 6.0 and it works correctly, thanks Jachym, with WxSim.
It would be possible that the previsions may have them in Spanish, I have available plaintext-parser-lang-es.txt, how can you translate it?
Is it necessary to modify the script?
regards

Hi Juan,
WxSim related things only work in English because the developer of WxSim was unable to provide me the list of strings and I do not have the SW myself. I have explained this here many times so this will only stay in English. I know it is translated in other templates, but they work differently and I would need more info and access to the SW myself.
Title: Meteotemplate - Block Update – Current Conditions 13.0
Post by: Jáchym on May 19, 2017, 07:27:09 AM
Block Update – Current Conditions 13.0

Hi guys,

you can now optionally add current conditions icon.

More info: http://meteotemplate.com/blog/?p=2598

This feature is OPTIONAL and only use it if you want to and if you think it is reasonably accurate.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 07:32:23 AM
That ks for doing that for those that don't have a solar sensor.

I have tried to add my icon your original current conditions block
But cause I don't know coding it's prove difficult, I did
Try to duplicate the temp and tried to place it there but fail.
I can easily place it above the condolence just not at the beginning where it would look better :/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 09:02:48 AM
Just got rid of about 24MB of error.log files scattered in just about every block and plugin.
In functions.php there is a Class AND a Function both named 'mooonPhase' that seems to generate the error. I changed the function from 'moonPhase' to 'mymoonPhase' and that stopped the errors.
Might be something to keep in mind for future versions. I know it does not affect functionality but it does generate errors.

Hi Colin,
yes this is something they plan on adding to the new version  ](*,) ](*,) of PHP. It is still working fine, it is just an alert to let you know in upcoming versions it will not, I am aware of it. Changing the name in the functions.php solves the problem only partially because changes will have to be made in some of the scripts as well because otherwise those scripts will be looking for the class with the original name.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 09:09:31 AM
Found another wee issue that i cannot understand

In the reports it is saying that on the 17th of May, the station had 24.8mm thats the exact same as we had on the 18th 24.8mm
Yet when i look at the database there is only 11mm for the 17th of which is correct and what WD says.

Not sure why MT reports has copied the 18th's rainfall amount?

EDIT, got it the wrong way round 18th copied the 17th, that was 24.9mm and the 18th should have been 11.0
although, WU says it was 10.9mm, i think the best option here would be for me to import the erroneous
data from WU, but perhaps we could do with finding out why MT decided to do that? or perhaps i did although
not got a clue what i could have done to make it copy a days rain only :/ confused.com lol :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 09:30:51 AM
Ive seen the issue where rain got copied over from previous day, but only in case of people who had their updates of API set to something like 2-3 seconds and the script was not able to execute in time before another one was already triggered
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 09:33:35 AM
Yeah, that be me then, im at 3 seconds cause my wind updates every second on the Davis

No work around i take it, how did the others tidy their data, is just pulling it back in from WU the easiest way?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 09:39:36 AM
It depends, I have a user who has 2s and it works fine. Then I have two other who used 3s and had to increase it to 10. This pretty much depends on your server speed.

The problem is that if the first instance starts, it saves the cache and before the database update is complete, another instance is already started, it uses the data from the old cache, but the first instance of the script has not yet udpated the db and in the end it results in a wrong date being assigned to the rain value.

Increase the interval to 5s, but I would probably recommend 10s. You have to try what works for you. It depends on how quickly your server executes it and saves to db.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 09:40:26 AM
Yeah, that be me then, im at 3 seconds cause my wind updates every second on the Davis

No work around i take it, how did the others tidy their data, is just pulling it back in from WU the easiest way?

No, just go to the Data edit page and delete it from there, it should only be one row, it saved the rain from previous day in the first record of the next day and zeroed it at 0:05 instead of 0:00
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 19, 2017, 02:48:35 PM
My server is pretty quick, it's an i5 3740 with 16gb
Hiw did that user manage 2 second updates, I take it the
Are not using WD?

I found the line, thanks, I will just keep an eye on it
Could a rule be added,  the 1st rain in the 1st few minutes at 1mm+ has to be incorrect due to the new day
Rain would start at 0 for many of us, well, those that have the day 12 to 12,obviously it would have to be different for those that have their day start at 9am
So if there is more than 1mm in the 1st row of the day, disregard?
Title: Re: Meteotemplate - new free website template
Post by: kocher on May 19, 2017, 04:04:47 PM
Greetings Jachym

Congratulations on your great work.  :grin:

A friend, Spanish, has begun to have problems with the template.
Your template updates every 5 minutes from Wunderground.

Well, when performing the test, the following error message occurs:

(http://kocher.es/images/meteotarrasa-error-wu.png)

Your page has worked fine since its upgrade to version 14

The address of your template is:

http://www.meteoterrassaoest.es/template/ (http://www.meteoterrassaoest.es/template/)

I do not know what may be failing   :roll:

Saludos desde San Sebastian

Title: Re: Meteotemplate - new free website template
Post by: kocher on May 19, 2017, 04:47:51 PM
I think I have discovered something strange in extracting my friend data from Wunderground:
(These data are created and exported by Weatherlink)

https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ICTTERRA2&month=05&year=2017&day=19&format=1 (https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ICTTERRA2&month=05&year=2017&day=19&format=1)


(http://kocher.es/images/wu-error.png)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 05:26:29 PM
Hi Javier,
yes I know he emailed me, but when I email him back it takes quite long for him to get back to me.

His page was working fine and then stopped suddenly, so Im 99% sure this is not a script error, these scripts dont just stop working like that. Those WU records are very strange... and most likely the problem. It is as if he was sending data to WU from two different stations/SW. Something is obviously not right, but Im afraid it is not really an issue with the template. If he uses Cumulus he should use the API not WU
Title: Re: Meteotemplate - new free website template
Post by: kocher on May 19, 2017, 05:36:57 PM
Hi Javier,
yes I know he emailed me, but when I email him back it takes quite long for him to get back to me.

His page was working fine and then stopped suddenly, so Im 99% sure this is not a script error, these scripts dont just stop working like that. Those WU records are very strange... and most likely the problem. It is as if he was sending data to WU from two different stations/SW. Something is obviously not right, but Im afraid it is not really an issue with the template. If he uses Cumulus he should use the API not WU

I totally agree.

It was very strange that your template did not work well.
It was also strange that the failure occurred from a certain moment.

Thank you very much for your interest and your work  :grin:

Saludos desde San Sebastian

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 19, 2017, 06:25:24 PM
Something is wrong with whatever SW he uses
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 20, 2017, 02:35:54 AM
Morning, i thought i would create a video of the menu issue and the request desktop site issue

I refresh the page half way through just to show it on a fresh start
When you request desktop, the menu stays wide open and still only displays the mobile page
spose thats one one to resolve the 1st menu issue  :lol: :lol: :lol: :lol:

https://www.youtube.com/watch?v=innyjHftzvQ&feature=youtu.be

Watch the bad grampa clip afterwards ;) :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2017, 11:03:34 AM
Hi Bashy,
yes I see the problem, but the only way I can test mobile things is by making the browser window narrower and in such case, when the hamburger-style menu appears, it works fine... I have never had anyone complain about this so I guess this is another of those issues occurring on a particular device with a particular browser....
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 20, 2017, 12:55:50 PM
Very weird, I am using a a phone with a 1080p supper amoled screen, and using chrome, just noticed the little icon you go to the desktop version, the works, but, see image please..... And it's set to 100% width, it's fine on the 2 desktops on 23" screen shots and the 27" in the room, and ok on the laptop, on its ok on the galaxy tab 2
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2017, 02:24:04 PM
Yes and in fact you said it yourself - it works fine on all other devices... and I really have no ideas why some phones do this... sorry I cant help you with this, I have no clue and no way to test things. The number of devices, multiplied by the number of possible browsers is practically infinite. Unlike other websites, I cannot make the page 100% responsive simply because I gave you as the webmaster maybe too many possibilities for customization... it would be much better if I just set a fixed layout, fixed number of columns and fixed width - then it could be a fully responsive page, but obviously people dont want to have a fixed page with fixed same blocks...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2017, 02:31:01 PM
I have spoken about this with two friends who are professional web developers. I told them I need help with making this responsive and ideally just one version for both desktop and mobiles. They happily agreed and recommended using something like Bootstrap. I then went on and explained how it works, basically told them that:
- I dont know how many columns the page will have
- how wide these columns will be
- and most importantly, what these columns will contain

I was told by both that I should make one fixed layout for everyone and if someone is not ok with it they have to edit and modify the CSS files themselves to match what they want...

That convinced me even more that what is available now is the best I can do and spending more time with it is unlikely to have any positive effect and only lead to more frustration.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2017, 02:31:47 PM
Very weird, I am using a a phone with a 1080p supper amoled screen, and using chrome, just noticed the little icon you go to the desktop version, the works, but, see image please..... And it's set to 100% width, it's fine on the 2 desktops on 23" screen shots and the 27" in the room, and ok on the laptop, on its ok on the galaxy tab 2

In this particular case I think it is the Gauges block which is too wide and pushes everything to the left, making it over 100% width and the header stays 100% so it is smaller
Title: Meteotemplate - Plugin Update – Guestbook 3.0
Post by: Jáchym on May 20, 2017, 02:59:31 PM
Plugin Update – Guestbook 3.0

Hi guys, ok finally I think I found a solution to eliminate the spam.

More info: http://meteotemplate.com/blog/?p=2603

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 20, 2017, 03:29:06 PM
I forgot about my home phone, that's an android phone too and the two issues are the same on that too

I do understand stand what you are saying, you cant please everyone one, just a bit shocked that one of the most popular phones with a screen that's nearly as big as some tablets and was the biggest phone back when it came out  is struggling with the display.

I was going to use an existing mobile page and then the choice to go to the desktop page to get around the menu issue

I will have to get rid of the gauges, I am a bit confused though, if both the gauges and the page are at 100%, shouldn't both follow each other if one is bigger than the other, vice versa? The way my brain is working (and that ain't too good)  In effect something isn't 100% of which is making it stay at that size, if it was all 100% then it should keep up with the gauges, yes, no? Or am I talking out my ass? Also, shouldn't the gauges just wrap onto another line? Looking at my phone now, they have wrapped on to two lines but then there is another 2 more empty lines!, not always though. If they can wrap on to 2 I wonder why not 3 or 4 lines

both my phones in built browsers are the same as the chrome ones, so deffo limited to my note 3,   not even going to check the 2 old Samsung Omnia's that I have, screens aren't much bigger than my watch lol

I spose with the unlimited variations, something has to crop up now and then. 

I'm. About to call it a night and go read, I will remove the gauges on the morning and go from there, really didn't one to remove them though as they were quite fundamental

PS, found a bug, goto reports, then annual reports, then click the extremes tab, the temp icon has no box and ya can't click any criteria.

Good night, catcha tomoz

PS, its not the gauges, nor the paypal in the footer
PPS, its not any block that is causing it, i just removed each column one at a time and there was still over lapping each time
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 20, 2017, 05:25:30 PM
I checked the gauges code and I take back what I said, they should wrap to a new line when necessary. Which means there is something very strange going on and unless I see this myself and can look in the console (which the mobile browser probably doenst even have) there really is nothing I can do because I have no clue where to begin, Im unable to replicate the issue
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 03:30:53 AM
Just installed Firefox and when I clicked the Firefox menu and chose request desktop site all works fine, I'm still trying to get to the bottom of this, there must be a cross browser issues somewhere with the request of desktop site, because that way does not work in chrome, clicking your desktop icon at the bottom doesn't work in Firefox or Chrome, but, just a FYI, requesting desktop versions on others site or even saratoga and Leuven works ok

Image is Firefox
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 06:27:08 AM
And from the iPhone 6, a close station sees it too, so not limited to the Note 3

Edit

Figured out a way to get it to show desktop looking ok, it's long winded mind....

When it shows the mobile page, you have to click the desktop link at the bottom, then request desktop within the browser, then back to the bottom and choose desktop again, that's crazy ain't it..... Again, same with iPhone 6 too
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 07:35:08 AM
This last screenshot is weird - and the blocks on it dont correspond to the ones you have on your page. The homepage should not be doing this unless - did you make any custom blocks that you have on your page? I see some unknown blocks on that screenshot which are not on your homepage when I look at it now, what are those?

Block "Records and Stats" - what is that?
Title: Meteotemplate - New Plugin – Czech Republic – Climate
Post by: Jáchym on May 21, 2017, 08:10:04 AM
New Plugin – Czech Republic – Climate

Hi guys,

this new plugin shows climate averages for the Czech Republic as a whole and all its regions. This includes both temperature and precipitation averages and for each there is also a comparison with a long-term average, possibility to sort the data in a table and of course a graph as well.

DEMO: http://meteotemplate.com/blog/?p=2608

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 08:31:31 AM
No new blocks other than the current condition icon at the top, this is how he sees it on his phone, I think it's automatically opened one of the menu blocks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 08:36:06 AM
No Bashy, look at the screenshot you posted, that block on the left, right below gauges, some Trends as of.... this is not a default template block and it is not even on your homepage now, what is that?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 08:38:14 AM
See the attached image, this is what you posted and the highlighted block is not a block I made and based on the picture it seems to be pushing everything else to the right.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 08:42:10 AM
Ah yeah, I can see it now I've zoomed in properly, it looks like that's just picked up some ajax trends from the condition icon script, I just need to try to tear it up a bit more, evidently I didn't cut it down enough, totally disregard that, pretend it's not even there..... Lol

But, in my screen shots that is not showing and still have the same issue., I wonder if for some reasons it's still picking up on the block but not showing it, let me see what happens when I disable the conditions icon block
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 08:43:29 AM
Hi,
ok my experience is that everytime I see something like this (header not extending full width and rest of the page stretching to the right) - and this is by far not the first time Ive seen it - it is always the case the user created some custom block, which is not responsive and this is the result
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 08:45:55 AM
Deffo not the case this time, that icon block had now been removed and it still doing it, there is nothing else on there that I have created and nine had been fiddled with

What phone do you have? Is it the same for you when you go to the desktop version?
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 08:48:44 AM
Here's yours

Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 21, 2017, 09:08:30 AM
Jachym

Next time you are looking at the Radial Graphs plugin could you add wind direction to the options for the single parameter?
I know there is a Wind Direction plugin but that is average over the time span of the database, I've a user looking for something more like daily average!

Thanks
Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 09:15:33 AM
Hi Bill,
Im not sure how it would be displayed because these graphs always have a specific color for a particular value, in this case there are many. Second problem is that my wind direction sensor is permanently damaged and so I cannot test these things.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 09:15:51 AM
Here's yours

OK, in that case Im afraid I cant help you - use landscape mode...
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 21, 2017, 09:18:56 AM
Hi Bill,
Im not sure how it would be displayed because these graphs always have a specific color for a particular value, in this case there are many. Second problem is that my wind direction sensor is permanently damaged and so I cannot test these things.

Not a problem, I'm going to look into an other way. WeeWX generates a windrose diagram for the past 24hrs, I'll see if I can modify that to give me past week and past month!
Something to do on a rainy Sunday!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 09:20:21 AM
Here's yours

OK, in that case Im afraid I cant help you - use landscape mode...

Makes a little difference in landscape, but bear in mind it's not just the note 3,also prob the most popular phone, the iPhone 6 is the same, perhaps it's jot been mentioned before be I others haven't tried it in the desktop mode yet  :?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 10:12:06 AM
Yes, it is very likely it doenst work on other phones as well
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 10:33:14 AM
Hi Bill,
Im not sure how it would be displayed because these graphs always have a specific color for a particular value, in this case there are many. Second problem is that my wind direction sensor is permanently damaged and so I cannot test these things.

Not a problem, I'm going to look into an other way. WeeWX generates a windrose diagram for the past 24hrs, I'll see if I can modify that to give me past week and past month!
Something to do on a rainy Sunday!

Bill

I will give it a try as well
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on May 21, 2017, 10:36:36 AM
Hi Bill,
Im not sure how it would be displayed because these graphs always have a specific color for a particular value, in this case there are many. Second problem is that my wind direction sensor is permanently damaged and so I cannot test these things.

Not a problem, I'm going to look into an other way. WeeWX generates a windrose diagram for the past 24hrs, I'll see if I can modify that to give me past week and past month!
Something to do on a rainy Sunday!

Bill

Well that was easy, or rather would have been if I could type  ](*,)

Now if I could only get the pageBuilder plugin to work keep getting the "you don't have permission error" even though everything has permissions of 777!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 10:57:35 AM
OK, however this is not really how the radial graph works, it is sort of like a clock whereas what you posted is a simply wind rose aggregated from the whole day
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 11:36:19 AM
I have resolved my issue, i have had to add an over ride like this
In the header i have disabled

Code: [Select]
<meta name="viewport" content="width=device-width, initial-scale=1">

Now looks like
Code: [Select]
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->

I then added this in to the <head> section in the header

Code: [Select]
<!-- start of my edit -->
<?php
session_start
();
if(
$_GET['desktop'] == 'true') {
    
$_SESSION['desktopmode'] = 'true';
}
?>


<?php
if($_SESSION['desktopmode'] == 'true') {
    
/* DESKTOP MODE */
    
?>

    <meta name="viewport" content="width=1080">
    <?php
} else {
    
// DEFAULT
    
?>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <?php
}
?>

<!-- end of my edit -->

So if i use http://www.suffolkweather.info/template/indexDesktop.php?desktop=true link i wil always get the desktop version :)

I still find i very strange that bang on half of the page is used for the main page and the blocks cover 100%
I have gone over a lot of the header code but i aint got a clue what im looking at really, there is something that the mobile
does not like, but, hey ho, there is a fix if folks should want /need it, just need to add that link where they need it, well, not
mine perse' lol :D
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 11:55:09 AM
one question please, how do i edit the mobile page menu?
i would like to use the fa fa-desktop icon to sit next to the Home icon...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 12:00:36 PM
Hi,
the menu file for the mobile homepage is in "mobile/menu.php"
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 21, 2017, 12:02:20 PM
Cheers :D should have looked a bit deeper.....
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on May 21, 2017, 12:41:47 PM
http://www.skeltonweather.co
This maybe a stupid question, feel free to ignore,some of my blocks have descriptive headings i.e.Current conditions, Lightning, earthquakes, etc but some don't i.e. rise/set, timelapse etc , is it possible to have a title of my own making, or are they there and not showing because of the way I have the blocks setup, I know a lot are self explanatory but to the non weather types it would be nice.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 21, 2017, 12:46:37 PM
Hi,
yes you are right, some dont have it. The thing is, the homepage is obviously limited in space, thats why I used all the "more" links etc. I added the titles to those where I thought it is useful. Then there are ones which dont have it, but in those case I really think everyone, regardless of their knowledge of weather, should be able to understand what it does - eg. seeing a sun icon with arrow up and down with times below is IMHO really absolutely clear. If you think some other blocks need a title, you can add one, it is quite simple, just use the <h2> tag.
Title: Meteotemplate - blocks
Post by: Jáchym on May 21, 2017, 12:48:03 PM
Block Update – Current Conditions – Big 5.0

I added option to show current condition icon loaded from DarkSky, the exact same thing as in the Current Conditions block which I also updated recently. Please note – unlike the other parameters, if you select “condition”, the icon will not be updated in realtime unless you refresh the page.

New Block – Current Conditions – Finland

this new block allows you to view current conditions from many cities around Finland, this includes temperature, humidity, pressure, dew point, wind speed, wind gust, wind direction, last hour precipitation, snow depth.

More info in the Blog
http://meteotemplate.com/blog/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on May 21, 2017, 03:15:04 PM
Hey everyone,

   As Jachym has stated a few times on this forum and in the website instructions if you want something added to the template (aka block or plugin) then you all are more than welcome to design one or post the idea for others to see. Others may find it useful and design it for the group. Jachym gave us an outstanding template base to work with (an improving all the time) we as a PWS group need to contribute our part to make it better. Example I have attached is an Info-graphics viewer for my pages that takes weather related info-graphics and posts them at bottom of site (http://mistymtnweather.com/template/indexDesktop.php). Now may not be something everyone wants or needs but it is contributing to others. There is a blank blocks that one can make into anything they want with little code knowledge. The same goes with plugins take a basic plugin and add your code to it. There are tons of smart people out there that can come up with some great ideas to add to this template but it has to work for all types of weather programs. Now many have custom sensors and or just other sensors if you want to have a block for it make it, test it, and let us all see it. Not all of us have these devices so we benefit from your ideas and equipment for future parts to the template. I commend Jachym for taking his (long amount of) time to create this base template and keep it updated with new ideas and features. As a PWS community we all need to help out  \:D/ to improve what he has created.

"A dream doesn't become reality through magic; it takes sweat, determination and hard work."

   -- Colin Powell


 

I love the info graphics block!!!  Great job!!!
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 22, 2017, 03:19:26 AM
Morning Jachym

Just activated the UV dial on the SS block using, all are show except for the UV dial
T,A,H,P,W,B,WindRose,R,UV,S

http://www.suffolkweather.info/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 22, 2017, 06:46:11 AM
Do you have UV enabled in the SteelSeries plugin? Because this particular block depends on it.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 22, 2017, 07:01:44 AM
Ah yes, I see now, thanks

Back to the menu closing when scrolling, I found this, does it make any sense to you?

I had the same issue when working on a responsive site of my own. I was unable to discover the root cause of the issue but I developed a work-around. The anchor which I use to display the menu had a "open" toggle class added to it. I essentially used the "window.onscroll" call to check whether or not the menu should be shown each time the user scrolls the page, "showing" the menu again after each scroll.

Code: [Select]

window.onscroll = function (e) { 
    var sidebar = $('#sidebar')
    var menu = $('#sidebar > ul');
    if(sidebar.hasClass('open'))
        {
            menu.show();
        }
    }
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 22, 2017, 07:07:27 AM
This has to do with opening and closing the submenus
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 22, 2017, 07:09:02 AM
Yes that's right, when I open the menu, it's not all showing so I have to scroll down to see the rest, when I do that, the menu closes, the code is meant to be a fix / workaround for it
Title: Meteotemplate - New Block – Wind Rose
Post by: Jáchym on May 22, 2017, 07:37:57 AM
New Block – Wind Rose

Hi guys,

name of this new block is pretty much self-explanatory, more info about it:
http://meteotemplate.com/blog/?p=2615

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=windRose

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on May 22, 2017, 07:43:30 AM
Yes that's right, when I open the menu, it's not all showing so I have to scroll down to see the rest, when I do that, the menu closes, the code is meant to be a fix / workaround for it
Same thing on my site ;)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 22, 2017, 01:18:04 PM
Yes that's right, when I open the menu, it's not all showing so I have to scroll down to see the rest, when I do that, the menu closes, the code is meant to be a fix / workaround for it
Same thing on my site ;)

Phew, glad im  not the only one :)

Hi Jachym, regarding the Partner stations block, is there a way to include a METAR from WU? i am failing at present..
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 22, 2017, 02:22:20 PM
Metar from WU? Not sure I understand
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 22, 2017, 02:30:28 PM
I beleive the block is based on WU stations, that's why I said METAR from Wu
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 22, 2017, 02:41:52 PM
OK I see, unfortunately this will not work because the METAR stations are treated differently by WU and the data is in different format
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 22, 2017, 02:42:43 PM
Thats what I though, thanks
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 23, 2017, 02:32:58 AM
Morning, just tested the paypal button and i get this error at paypal,  email addy is correct, triple checked it.
http://suffolkweather.info

PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.

Also, as mentioned a few days back, the reports/extremes is broken
Title: Meteotemplate - New Plugin – Climate – Custom
Post by: Jáchym on May 23, 2017, 12:50:55 PM
New Plugin – Climate – Custom

http://meteotemplate.com/blog/?p=2617

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 23, 2017, 02:11:21 PM
Jachym,

Is there a way to change the parameters of the colors on the thermometer block?  I would like to not see red all the time.  I live in a warmer climate and 90 degrees f is not very hot.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 23, 2017, 02:20:25 PM
Jachym,

Is there a way to change the parameters of the colors on the thermometer block?  I would like to not see red all the time.  I live in a warmer climate and 90 degrees f is not very hot.

Jay

Hi Jay,

in thermometerBlock, replace this:
Code: [Select]
function getGaugeColor($offset){
if($offset<=0.1){
return array("#0C00F5","#3C33F7");
}
else if($offset>0.1 && $offset<=0.2){
return array("#3C33F7","#6D66F9");
}
else if($offset>0.2 && $offset<=0.3){
return array("#6D66F9","#9D99FB");
}
else if($offset>0.3 && $offset<=0.4){
return array("#9D99FB","#CECCFD");
}
else if($offset>0.4 && $offset<=0.5){
return array("#CECCFD","#edecfc");
}
else if($offset>0.5 && $offset<=0.6){
return array("#E6BFBF","#edd8d8");
}
else if($offset>0.6 && $offset<=0.7){
return array("#CE7F7F","#E6BFBF");
}
else if($offset>0.7 && $offset<=0.8){
return array("#B63F3F","#CE7F7F");
}
else if($offset>0.8 && $offset<=0.9){
return array("#9E0000","#B63F3F");
}
else{
return array("#620000","#9E0000");
}
}

with:
Code: [Select]
function getGaugeColor($offset){

return array("#620000","#9E0000");
}

and the same in the thermoUpdater.php

Hopefully that will do it.

P.S. Im glad I dont live anywhere close to you :D That would be the end of me :D

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 23, 2017, 02:21:19 PM
Oh and you might also want to delete this in thermometerBlock.php
Code: [Select]
highlights: [
{
from: <?php echo $thermometerMinimum?>,
to: <?php echo $thermometerMinimum 0.15*$gaugeInterval?>,
color: "#002994"
},
{
from: <?php echo $thermometerMinimum 0.15*$gaugeInterval?>,
to: <?php echo $thermometerMinimum 0.3*$gaugeInterval?>,
color: "#476dd0"
},
{
from: <?php echo $thermometerMinimum 0.7*$gaugeInterval?>,
to: <?php echo $thermometerMinimum 0.85*$gaugeInterval?>,
color: "#e22424"
},
{
from: <?php echo $thermometerMinimum 0.85*$gaugeInterval?>,
to: <?php echo $thermometerMaximum?>,
color: "#8f0000"
}
],
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 23, 2017, 02:52:27 PM
Jachym,

Thanks!  I changed the colors of the thermometer from what you suggested and decided I would still keep the color scale. Looks good.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 23, 2017, 05:41:13 PM
Morning, just tested the paypal button and i get this error at paypal,  email addy is correct, triple checked it.
http://suffolkweather.info

PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.

Also, as mentioned a few days back, the reports/extremes is broken

Hi, yes I know about this problem, I fixed it long time ago and it will be ok in v15
Title: Meteotemplate - Block Update – Wind Rose 1.1
Post by: Jáchym on May 23, 2017, 07:59:20 PM
Block Update – Wind Rose 1.1

- minor bug fixes

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 23, 2017, 08:43:57 PM
So who's going to be the quarter milionth viewer of this thread? :D
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on May 23, 2017, 09:18:40 PM
I win!

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 23, 2017, 10:37:44 PM
Lol
Title: Re: Meteotemplate - New Block – Wind Rose
Post by: jeffm5690 on May 23, 2017, 10:41:35 PM
New Block – Wind Rose

Hi guys,

name of this new block is pretty much self-explanatory, more info about it:
http://meteotemplate.com/blog/?p=2615

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=windRose

Enjoy

Thanks Jachym - this is great!
Title: Meteotemplate - network is back
Post by: Jáchym on May 24, 2017, 08:25:44 AM
Hi guys,
 
I have some great news for you :-)

http://meteotemplate.com/blog/?p=2621

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on May 24, 2017, 02:57:50 PM
Hi guys,

New Block - Current Conditions - Poland
- current conditions for Polish cities

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentPL

Plugin Update - NetAtmo 4.0
- improvements with regards to data timing

Enjoy
Title: Meteotemplate - New Block – Netherlands – Temperature Normals
Post by: Jáchym on May 25, 2017, 08:29:41 AM
New Block – Netherlands – Temperature Normals

Hi guys,

this block allows you to choose from several locations in the Netherlands and it will show you the temperature normals for the upcoming days, including average, avg maximum, avg minimum, extremes and even what is expected in the future based on predicted climate changes.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=climateNL

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 26, 2017, 08:51:15 AM
Hi Jachym

For the weather warning block, when theres a warning and a button to click for more, all you get is the word rain
and no more details? is that how its meant to be?

http://www.suffolkweather.info/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 09:06:38 AM
Hi Bashy,
yes because thats all thats available - thank Meteoalarm.... EU in this respect is useless compared to U.S, Canada or AU.

This is the data source and you can see there are no details about anything:
http://www.meteoalarm.eu
Title: Re: Meteotemplate - new free website template
Post by: aru on May 26, 2017, 09:10:58 AM
http://www.meteoalarm.eu/su_FI/0/0/FI039-Keski-Suomi.html
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on May 26, 2017, 09:13:57 AM
Hi Bashy,
yes because thats all thats available - thank Meteoalarm.... EU in this respect is useless compared to U.S, Canada or AU.

This is the data source and you can see there are no details about anything:
http://www.meteoalarm.eu
I strongly disagree already for years and years:

There is a lot of information available.
It depends maybe a little bit on the local MeteoOrganization, but most do provide a lot of information.

You can check the Leuven scripts as an example
http://www.weerstation-leuven.be/demowarningv3/demoWarning.php
Wim

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 09:25:32 AM
Sorry, I didn´t express myself correctly, yes there is, but not centralized.

I have two blocks for Meteotemplate for EU warnings, Bashy look at the regional one. That one gives more details, it is broken down by regions, but I know that for example when I looked at it at a time when there was a warning for my country, it only included the regions, and for each just warning type. No details about it. Those details are of course available, but only on our local national weather service website.
Title: Meteotemplate - Block Update – Soil 4.0
Post by: Jáchym on May 26, 2017, 09:38:49 AM
Block Update – Soil 4.0

Hi guys,

finally updated the Soil block. It will now use data from the API. The only exception is Cumulus users. Instructions for Cumulus users are given in the block. I re-organized the format of this block, it now supports up to  4 soil temperature and soil mositure sensors. The leaf wetness info was removed from this block, I will make a separate one for this because they are not really related.
- redesign
- added support for more soil moisture sensors
- added compatibility with the API
- added block title
- optimization (size reduction by 90%)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil
(demo uses dummy data, I don´t have these sensors myself)

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 26, 2017, 09:47:40 AM


Sorry, I didn´t express myself correctly, yes there is, but not centralized.

I have two blocks for Meteotemplate for EU warnings, Bashy look at the regional one. That one gives more details, it is broken down by regions, but I know that for example when I looked at it at a time when there was a warning for my country, it only included the regions, and for each just warning type. No details about it. Those details are of course available, but only on our local national weather service website.


That's what I thought, just went to have a look and found d this for the warning
http://www.meteoalarm.eu/en_UK/0/0/UK014-Northern+Ireland.html

I will have a look at the regional one, can't believe I missed it...

Also are you aware that the met office UK data point also has decent warnings too?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 09:49:09 AM
Probably, I didnt look. Technically it would of course be possible to go and create a warnings block for each country, but in practice impossible due to the time this would take, then maintaining it etc.
Title: Re: Meteotemplate - Block Update – Soil 4.0
Post by: bianconero57 on May 26, 2017, 11:27:21 AM
Block Update – Soil 4.0


 =D&gt; =D&gt; yep but for me who uses a "custom file" the new block does not work and does put my station offline ! Regards
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 26, 2017, 12:57:32 PM
Hi Jachym, only me :D

Just looking at the regional warnings block and noticed it doesnt have the colours for the warnings text as it does in the other warnings block
So, me being me wanted to at least add the same red colour but i am failing at every try to add it, line 137 is where i am playing, what am i
missing please?

You can see i have added the colour to the line
Code: [Select]
<div style="width:98%;margin:0 auto;text-align:center;colour:D90000;font-variant:small-caps;font-weight:bold">

I have tried it with the # (#D90000) and without, tried it with the : and the - as in colour-D90000 or colour:D90000, tried it in the middle, of the code
at the edn and at the beginning, but i am failing to change the darn colour  :???: ](*,)

And, you cannot have  both the EU and regional warnings blocks at the same time, the MORE and HIDE only work on the regional, the EU blocks
MORE and HIDE actually works the regionals block lol, well, certainly not in the header area anyway

Then, when i move the regional warnings to the 3rd column, the MORE and HIDE actually works the EU version thats in the header lol
Title: Re: Meteotemplate - new free website template
Post by: jerryg on May 26, 2017, 01:00:12 PM
Just updated my soil block and works ok  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 01:07:55 PM
Hi Jachym, only me :D

Just looking at the regional warnings block and noticed it doesnt have the colours for the warnings text as it does in the other warnings block
So, me being me wanted to at least add the same red colour but i am failing at every try to add it, line 137 is where i am playing, what am i
missing please?

You can see i have added the colour to the line
Code: [Select]
<div style="width:98%;margin:0 auto;text-align:center;colour:D90000;font-variant:small-caps;font-weight:bold">

I have tried it with the # (#D90000) and without, tried it with the : and the - as in colour-D90000 or colour:D90000, tried it in the middle, of the code
at the edn and at the beginning, but i am failing to change the darn colour  :???: ](*,)

And, you cannot have  both the EU and regional warnings blocks at the same time, the MORE and HIDE only work on the regional, the EU blocks
MORE and HIDE actually works the regionals block lol, well, certainly not in the header area anyway

Then, when i move the regional warnings to the 3rd column, the MORE and HIDE actually works the EU version thats in the header lol

Hint: The problem is in you being British :D

OK... hint 2 :D In IT you can´t use British spelling :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 26, 2017, 01:08:43 PM
your kidding, its wants a typo as in color???   :roll: :roll: ](*,) :lol: :lol: :lol:
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 26, 2017, 01:13:54 PM
HA, i should have realised that, rookie mistake, thanks Jachym :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 01:14:15 PM
Unfortunately, thats the behaviour of all computer languages, similarly you can´t for example centre things ;)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 26, 2017, 01:17:11 PM
Ah, i know that once cause here centre is like is like the The Bike Center or the Audio Centre and center is just center, we have so many
words over here that either mean different things or sound the same but spelt differently :/
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 01:29:12 PM
LOL I know.... I used to be a big car fan and probably about half of all the words that are different in American and British English have to do with cars... no clue why :D
Title: Re: Meteotemplate - Block Update – Soil 4.0
Post by: wxthomson on May 26, 2017, 08:06:10 PM
Block Update – Soil 4.0

Hi guys,

finally updated the Soil block. It will now use data from the API. The only exception is Cumulus users. Instructions for Cumulus users are given in the block. I re-organized the format of this block, it now supports up to  4 soil temperature and soil mositure sensors. The leaf wetness info was removed from this block, I will make a separate one for this because they are not really related.
- redesign
- added support for more soil moisture sensors
- added compatibility with the API
- added block title
- optimization (size reduction by 90%)

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=soil
(demo uses dummy data, I don´t have these sensors myself)

Enjoy

Works well for me.
Thanks for updating to API.
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 26, 2017, 08:18:07 PM
LOL I know.... I used to be a big car fan and probably about half of all the words that are different in American and British English have to do with cars... no clue why :D

You mean like hood/bonnet, trunk/boot, fender/wing, gasoline/petrol, truck/lorry, camper/caravan, wrench/spanner, junkyard/breakers, dumpster/bin, etc?  I love watching Edd China work his magic on TV, because I don't understand a word that he's saying at times!  :lol:

https://en.wikipedia.org/wiki/Edd_China (https://en.wikipedia.org/wiki/Edd_China)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 26, 2017, 08:58:11 PM
indicators/blinkers, windscreen/windshield, motorway/interstate... yes these :D

As a non-native speaker you notice this even more and I could name so many other examples.. not just spelling.

One good example is saying don't use the elevator/lift, use the stairs and go to the third floor. Even if the other person understands what they should not use, they are most likely going to end up on a wrong floor :D
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 27, 2017, 02:53:02 AM
Boot/trunk and neither of those actually mean the rear space in a car, boot=shoe, trunk=elephant lol  :lol: :???:
not to mention, there, their and they're :D

Anyhoo, ive noticed the metarCustom block on my right hand side (http://www.suffolkweather.info/template/indexDesktop.php?desktop=true) does not have a close button, what code could i insert please?
Title: Re: Meteotemplate - New Block – Wind Rose
Post by: Brett001 on May 27, 2017, 09:47:51 AM
New Block – Wind Rose

Hi guys,

name of this new block is pretty much self-explanatory, more info about it:
http://meteotemplate.com/blog/?p=2615

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=windRose

Enjoy



Hi!

Not working! :( The block window is empty. What is wrong?
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 27, 2017, 09:59:46 AM
New York Subway             London Underground
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 27, 2017, 11:06:32 AM
New York Subway             London Underground
  :???:  :???:  :???:
Title: Re: Meteotemplate - New Block – Wind Rose
Post by: Jáchym on May 27, 2017, 11:30:06 AM
New Block – Wind Rose

Hi guys,

name of this new block is pretty much self-explanatory, more info about it:
http://meteotemplate.com/blog/?p=2615

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=windRose

Enjoy



Hi!

Not working! :( The block window is empty. What is wrong?

Hi,

it is because you ignored the very important message in the wiki and also in bold at the top of the Blocks and Plugins page:

Quote
IMPORTANT: Please remember that if you are not using the latest template version, you should not add/update any blocks or plugins because there are likely to be compatibility problems.

More info: http://meteotemplate.com/blog/?p=2088

You are 4 versions behind, either you have to update your template or you must leave it as it is. It will work fine, but no more updates or new things. Make sure you read the instructions, you would save time to yourself too ;)
Title: Meteotemplate - New Block – United States – Normals
Post by: Jáchym on May 27, 2017, 12:02:34 PM
New Block – United States – Normals

Hi guys,

this new block allows you to display climate normals for your location. First choose from thousands of available stations around the United States (list included and there is also a script which will automatically calculate the closest locations – see the block setup page), then depending on data availability (some stations do not measure all parameters), you will see 1981-2010 averages for max/min/avg temperature, precipitation, wet days, snowfall, snow depth and degree days for “today” (this day of the year), “this month” and annual.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=normalsUS

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Brett001 on May 27, 2017, 03:30:29 PM
Hi Jáchym!

Thanks, Unfortunately, I have not been able to track developments and changes in recent times.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 27, 2017, 04:14:23 PM
Hi Jáchym!

Thanks, Unfortunately, I have not been able to track developments and changes in recent times.

Thats fine Brett, but if you dont update the template you must leave your page as it is, no new blocks or plugin updates
Title: Re: Meteotemplate - new free website template
Post by: vreihen on May 27, 2017, 05:10:35 PM
New York Subway             London Underground

Boston The T      London Tube

I used to be an active participant in an international car forum, and it was funny that everyone assumed I was local to them because I would always reply in the local measurement units and lingo of the original poster.  For example, I would have written something like this in response to a post from the UK:

Remove the jubilee clip (that's hose clamp for those on the other side of the pond) from the heater core.

As they say, two countries...divided by a common language.....  :lol:
Title: Re: Meteotemplate - New Block – United States – Normals
Post by: nineback on May 27, 2017, 05:10:46 PM
I tried this with all 10 closest sites and not one of them returned any data.  All I see on my page is the block headers?

Tom

New Block – United States – Normals

Hi guys,

this new block allows you to display climate normals for your location. First choose from thousands of available stations around the United States (list included and there is also a script which will automatically calculate the closest locations – see the block setup page), then depending on data availability (some stations do not measure all parameters), you will see 1981-2010 averages for max/min/avg temperature, precipitation, wet days, snowfall, snow depth and degree days for “today” (this day of the year), “this month” and annual.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=normalsUS

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 27, 2017, 05:49:48 PM
Check what is in the cache folder
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 27, 2017, 06:00:03 PM
I have a text file for each of the sites I tried but the files are 0 bytes.

Tom

Check what is in the cache folder
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 27, 2017, 06:02:10 PM
Which IDs did you use
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 27, 2017, 06:06:06 PM
USC00010957
USC00013154
USC00013573
USC00013575
USC00017207
USC00018648
USW00063857
USW00063866


Which IDs did you use
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 27, 2017, 06:19:21 PM
Just tried the first one you posted:

http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=normalsUS

Which means it must be an issue in the communication between your server and NCDC
Title: Re: Meteotemplate - new free website template
Post by: nineback on May 27, 2017, 06:48:37 PM
Any idea how to test it.  This works fine from my home machine.  I just don't know how to test it from my server?

https://www1.ncdc.noaa.gov/pub/data/normals/1981-2010/products/station/USC00010957.normals.txt (https://www1.ncdc.noaa.gov/pub/data/normals/1981-2010/products/station/USC00010957.normals.txt)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 27, 2017, 08:02:35 PM
You don't need to test, the proof is the empty cache files, it is trying to load it but the result is empty
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on May 28, 2017, 05:16:33 AM
just upgraded block meteogram from version 1.3 to 3 and it stopped working, is the new version setup differently, made sure the setting file wasn't over written, reverted back to version 1.3 and its back working again
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 28, 2017, 05:26:44 AM
I was under the impression that soil and leaf go hand in hand, sommat to do with disease and gdd etc,

For me the old version is great, I only have 1 soil moisture sensor and 1 leaf sensor
Therfore a separate block just for that seems overkill
And does not look right with just that sensor. If you have a whole array of soil temp and moisture, then I spose this new soil block will be ok. But for me, deffo not,

Am I right in thinking that cause i will stay with the older block, it will mean I cannot update the template anymore? If that's the case can you not make it backward compatible?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 07:41:20 AM
just upgraded block meteogram from version 1.3 to 3 and it stopped working, is the new version setup differently, made sure the setting file wasn't over written, reverted back to version 1.3 and its back working again

Hi Stewart, same problem as here:

http://www.wxforum.net/index.php?topic=26825.msg324486#msg324486
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 07:45:16 AM
I was under the impression that soil and leaf go hand in hand, sommat to do with disease and gdd etc,

For me the old version is great, I only have 1 soil moisture sensor and 1 leaf sensor
Therfore a separate block just for that seems overkill
And does not look right with just that sensor. If you have a whole array of soil temp and moisture, then I spose this new soil block will be ok. But for me, deffo not,

Am I right in thinking that cause i will stay with the older block, it will mean I cannot update the template anymore? If that's the case can you not make it backward compatible?

Hi Bashy,
no this is not really correct. It is the other way around - you cannot update blocks/plugins unless you update the template to the latest version, not that you cannot update the template unless you update blocks. Technically it can happen that updating the template will make a particular outdated block stop working, yes it is possible, but it is less likely than the other way around.
My answer is therefore
"not necessarily, but could happen in the future, I cannot tell right now what changes will be made in the future and I will always make sure it works with the latest versions of the blocks/plugins, but what happens with the older ones really depends on a particular block/plugin and what exactly it is doing".
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on May 28, 2017, 08:07:53 AM
just upgraded block meteogram from version 1.3 to 3 and it stopped working, is the new version setup differently, made sure the setting file wasn't over written, reverted back to version 1.3 and its back working again

Hi Stewart, same problem as here:

http://www.wxforum.net/index.php?topic=26825.msg324486#msg324486

Must have missed that upgrade while I was on holiday, will upgrade immediately. Thanks
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 28, 2017, 08:58:02 AM
Good to know Jachym, sorry I got it the wrong way round
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 09:02:22 AM
But as I said, I cannot guarantee, it should work for now, but it can stop working in the future, just like any other block/plugin. It is not a general rule that unless you have latest versions things will not work, but it is a possibility.
Title: Meteotemplate - Block updates
Post by: Jáchym on May 28, 2017, 10:33:33 AM
Hi guys,

updated the following two blocks:

Block Update - Australia - Current Conditions 3.1
 - minor bug fixes

Block Update - Denmark - Current Conditions 2.0
 - added sorting feature
 - added full compatibility with v14

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on May 28, 2017, 10:35:03 AM
Hi guys, can someone here (not Jachym since he needs a little break from being on his computer all the time) give me a word of suggestion? 

I recently did a fresh install of 14.2 from (oh my, it was that long ago) 10 Meteotemplate.

It went smoothly and boy the improvements continue to roll along. 

But I have the blocks working well, installed all my favorite plug ins and ... nothing.  I went through the sections in the Wiki a couple of times and must be just skipping over something.  It is my understanding from the Wiki that all one needs to do is to load each PlugIn into it's own folder under the Plugins folder, go to Admin and Setup Plugins to set parameters that are needed, and away you go.  I've looked at my webpage from several browsers and several computers and there just isn't the plugins showing up in the default menu places that I hadd with 10.0.

Is there a 'switch' to turn on using plugins that I missed somewhere?

Any comments or thoughts would be welcome.

Thanks, Dale
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 10:41:53 AM
Hi Dale,
you did indeed do everything correctly, but you now need to add the new plugin to the menu.

Originally this was done automatically, but it was a problem because it required me choosing which tab and where the link will go. It saved you work, but many people complained because they felt it belongs in a different tab, etc etc. You therefore now have a full control of how the menu looks like.

See:
http://www.meteotemplate.com/web/wiki/wiki7GB.php#menuSection

I agree it is now a bit more work, but in the end the result is more the way YOU like it, not the way I think it should be :-)

P.S. Dont worry about me answering :-) Im at work anyway and I can stay here as long as I want and when I get finished what I have to do here. It is very nice weather here today, sunny, I was jogging when going here so Im not sitting in front of a PC all the time :-)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 28, 2017, 10:46:43 AM
Hi Jachym your banner is behaving strange  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 10:52:01 AM
Why strangely? I like it this way :D It shows me dewpoint and apparent T and monthly/annual values as well and I also could not choose which image of my beautiful hometown I should use, so I chose three ;) :D
Title: Re: Meteotemplate - new free website template
Post by: nitrx on May 28, 2017, 10:57:31 AM
Why strangely? I like it this way :D It shows me dewpoint and apparent T and monthly/annual values as well and I also could not choose which image of my beautiful hometown I should use, so I chose three ;) :D

I didnt know meteotemplate had this future I will have a look  8-)
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on May 28, 2017, 11:46:06 AM
Upgrade to 14.2 went smoothly and everything working, excellent job.  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 12:27:35 PM
Great, glad to hear that and see you up-to-date :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 28, 2017, 05:54:07 PM
Some info about regional (country-specific) blocks/plugins:

http://meteotemplate.com/blog/?p=2641
Title: Meteotemplate - New Block – Leaf
Post by: Jáchym on May 29, 2017, 08:23:36 AM
New Block – Leaf

More info: http://meteotemplate.com/blog/?p=2648
DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=leaf
Title: Meteotemplate - New Block – GFS
Post by: Jáchym on May 30, 2017, 07:50:11 AM
New Block – GFS

Hi guys,
I have always wanted to create a block for the GFS (Global Forecast System) model. It was, however, relatively difficult to find usable data and there was quite a lot of information that somehow needed to be squeezed into a block.
Now finally I think it is in a state I wanted it to be and is definitely one of the most complex and informative blocks.

Main features:
– GFS model forecast for the Northern Hemisphere for the upcoming 16 days (sometimes you will less, this depends on which time of the day you look at it, the model calculation takes a lot of time)
– overview meteogram
– all the ensembles for the different parameters (temperature, precipitation, pressure, wind speed)
– interactive tables for all parameters (temperature, precipitation, dew point, wind speed, humidity, wind gust, pressure) and the meteogram
– literally hundreds of maps, regions include Europe and North America, Caribbean and Middle East. There are both regional as well as more global maps of temperature, wind speed, dew point, temperature anomaly, precipitation, snow depth, CAPE and wind gust. Using a slider below the map you can move in time.
– information about the GFS model as such

Best thing would be to see it for yourself, no setup required, works out of the box and data is reloaded every 3 hours 🙂

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=gfs

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 09:23:08 AM
Some info about regional (country-specific) blocks/plugins:

http://meteotemplate.com/blog/?p=2641

Hi Jachym
How about the UK Met office warnings as a block, i did mention it not long back but seen as you are asking now ;)
Data is available through their Datapoint so if someone wants to use the block they would have to sign up to the
Met's datapoint and get an api key that allows use of  a lot of data from the Met

Here is their product list but, i cannot find the warnings on there,  http://www.metoffice.gov.uk/datapoint/product/list

But they are available through RSS

http://www.metoffice.gov.uk/guide/weather/rss

Also, with the warnings block i have atm, its the regional one, is there a way for the block to
only show when there is a warning?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2017, 09:35:58 AM
Hi Bashy,
I can put it on my to-do list, but as a priority I want to do things that are not available at all yet, especially countries which have no or just a few blocks, no warnings at all etc. There is already a warnings block for the U.K. which is usable (the regional one). Im not saying this cannot be done, but probably not soon because I just have too many suggestions and ideas and need to prioritize ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2017, 09:37:05 AM
Maybe Im just blind, but I dont see warnings:
http://www.metoffice.gov.uk/datapoint/product/list
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 09:40:39 AM
 Not a problem, whenever, if ever.... 😎

No, ya right, hence I said about it beinf rss instead
. But, there are a good few products there to choose from in the future :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2017, 10:14:13 AM
I remember now, I was looking at this while creating other blocks using MetOffice and it wasnt (and still isnt) there so for now I think what is available is sufficient. Thats the problem with Europe that the centralized source (meteoalarm) gives very little details and making a specific block for each country is just not feasible.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 10:28:23 AM
No problem, I will just make a specific  rss block for it
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 10:40:04 AM
Heres another thought, how about a plugin that can do this

http://weather.gladstonefamily.net/qchart/E9093?date=20170530&addnl=D7935&addnl=EGUL&addnl=EGUN&addnl=EGYM&Add+to+charts=Add+to+charts&.cgifields=addnl

This would be world wide mind, but being able to compare station data to a selection
of local stations would be brill, but not using gladstones data mind, as you can see, the
Met Office station at Marham is having chickens lol
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2017, 10:41:49 AM
http://www.meteotemplate.com/template/plugins/stationCompare/index.php
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 11:04:00 AM
http://www.meteotemplate.com/template/plugins/stationCompare/index.php

Already seen and using that one, i was on about being able to do what you can on CWOP, compare against
multiple local stations as a quality check


Poo, forgot to ask, how can i add the menu icon to the help area please?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2017, 12:18:10 PM
The help dialog is in the footer.php
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 12:19:41 PM
Thanks, will have a look
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 30, 2017, 12:47:18 PM
Meteobridge – Backport

Hi guys,

I have some very good news for Meteobridge users. As you know from my previous post, Meteobridge updates are now free only for two years and after that you need to pay extra 20 euros for another 2 years of support. In case of Meteotemplate the problem was that the Meteobridge templates were missing the UNIX timestamp parameter, which in practice means you could not do a manual HTTP request for the API script and therefore rely on the built-in one, which is hard-coded and potentially problematic in case I need to make some modifications to the API.

Boris added the UNIX timestamp parameter to the Meteobridge templates, but this update was part of version 3.3, which is no longer available to users who did not pay for the extra support and have been using Meteobridge for more than 2 years.

The good news now is that after some discussion with Boris he agreed to do a backport – this means ALL users, regardless of whether they paid extra or not, will get this update as part of version 3.2. This actually means the potential API problem is solved because in case I really need to modify the API, you will have to set up the request manually, but you will still be able to do it, so even users who do not want to pay for the extra support, will be able to update Meteotemplate
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 30, 2017, 02:36:00 PM
Hi Jachym

Thanks for the heads up re icons and footer, I hit a small snag, although i have managed to add the menu, the fa fa-bars icon is a
little smaller than the rest as seen here (http://brecklandweather.com/template/indexDesktop.php) between Webcam and Table

Code i used was copied from table icon

Code: [Select]
<div class="iconHelpDiv">
<span class="fa fa-bars helpIcon"></span><br><?php echo lang('menu','c')?>
</div>

Any advice please?

ps, always wondered, what do the letters mean, e.g. the 'c' in this part

Code: [Select]
<?php echo lang('menu','c')?>
pps, well done re meteobridge, i was following the concerns

Thanks
Title: Re: Meteotemplate - New Block – GFS
Post by: wxthomson on May 30, 2017, 09:12:03 PM
New Block – GFS

Hi guys,
I have always wanted to create a block for the GFS (Global Forecast System) model. It was, however, relatively difficult to find usable data and there was quite a lot of information that somehow needed to be squeezed into a block.
Now finally I think it is in a state I wanted it to be and is definitely one of the most complex and informative blocks.

Main features:
– GFS model forecast for the Northern Hemisphere for the upcoming 16 days (sometimes you will less, this depends on which time of the day you look at it, the model calculation takes a lot of time)
– overview meteogram
– all the ensembles for the different parameters (temperature, precipitation, pressure, wind speed)
– interactive tables for all parameters (temperature, precipitation, dew point, wind speed, humidity, wind gust, pressure) and the meteogram
– literally hundreds of maps, regions include Europe and North America, Caribbean and Middle East. There are both regional as well as more global maps of temperature, wind speed, dew point, temperature anomaly, precipitation, snow depth, CAPE and wind gust. Using a slider below the map you can move in time.
– information about the GFS model as such

Best thing would be to see it for yourself, no setup required, works out of the box and data is reloaded every 3 hours 🙂

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=gfs

Enjoy

Is there a way to make the map the default?
Title: Re: Meteotemplate - New Block – GFS
Post by: Jáchym on May 31, 2017, 05:51:59 AM
New Block – GFS

Hi guys,
I have always wanted to create a block for the GFS (Global Forecast System) model. It was, however, relatively difficult to find usable data and there was quite a lot of information that somehow needed to be squeezed into a block.
Now finally I think it is in a state I wanted it to be and is definitely one of the most complex and informative blocks.

Main features:
– GFS model forecast for the Northern Hemisphere for the upcoming 16 days (sometimes you will less, this depends on which time of the day you look at it, the model calculation takes a lot of time)
– overview meteogram
– all the ensembles for the different parameters (temperature, precipitation, pressure, wind speed)
– interactive tables for all parameters (temperature, precipitation, dew point, wind speed, humidity, wind gust, pressure) and the meteogram
– literally hundreds of maps, regions include Europe and North America, Caribbean and Middle East. There are both regional as well as more global maps of temperature, wind speed, dew point, temperature anomaly, precipitation, snow depth, CAPE and wind gust. Using a slider below the map you can move in time.
– information about the GFS model as such

Best thing would be to see it for yourself, no setup required, works out of the box and data is reloaded every 3 hours 🙂

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=gfs

Enjoy

Is there a way to make the map the default?
see email
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2017, 05:52:52 AM
Hi Jachym

Thanks for the heads up re icons and footer, I hit a small snag, although i have managed to add the menu, the fa fa-bars icon is a
little smaller than the rest as seen here (http://brecklandweather.com/template/indexDesktop.php) between Webcam and Table

Code i used was copied from table icon

Code: [Select]
<div class="iconHelpDiv">
<span class="fa fa-bars helpIcon"></span><br><?php echo lang('menu','c')?>
</div>

Any advice please?

ps, always wondered, what do the letters mean, e.g. the 'c' in this part

Code: [Select]
<?php echo lang('menu','c')?>
pps, well done re meteobridge, i was following the concerns

Thanks

Hi Bashy,

go to this page:
http://www.meteotemplate.com/web/translations/index.php

Click How to translate on the left and that explains how the lang function works

Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 31, 2017, 06:36:16 AM
Thanks, understand it now, any thoughts on why the bars icon is smaller?
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on May 31, 2017, 06:50:09 AM
Hi guys,
I've created something similar as a plugin page about GFS, Reading, UKMO ecc. ecc.
Link: http://www.meteopistoia.it/custom/gfsgm.php

Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2017, 07:02:53 AM
Hi guys,
I've created something similar as a plugin page about GFS, Reading, UKMO ecc. ecc.
Link: http://www.meteopistoia.it/custom/gfsgm.php

Regards,


Alessandro

:D Yes I know this page, Im planning on making a plugin for this one, I didnt use it for the block because there is too much information for a block. It might take some time before I get to it though.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2017, 07:08:18 AM
Thanks, understand it now, any thoughts on why the bars icon is smaller?

You might need to change the font size of the span
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 31, 2017, 07:12:58 AM
Ah, you mean like you have done with some of the others? Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2017, 07:39:32 AM
Yes, sometimes the SVG scaling is not 100% equivalent
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 31, 2017, 07:43:01 AM
Ah great, thanks, will have a look after sunbathing
PS, the air quality block ain't working, it was, but stopped this morning
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 31, 2017, 08:10:06 AM
It is, its just not a reliable source and often times out and then you have to wait before the cache expires and it tries again.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on May 31, 2017, 08:56:50 AM
Thanks, understand it now, any thoughts on why the bars icon is smaller?

You might need to change the font size of the span

Worked perfect with

Code: [Select]
<div class="iconHelpDiv">
<span class="fa fa-bars helpIcon" style="font-size:1.95em"></span><br><?php echo lang('menu','c')?>
</div>

For anyone interested, thanks to Jachym for the info, this is the menu bars for the blocks, (see image below) i have added
it to the help section with the above code in to the footer.php add it into this area below, but bear in mind were cause it wouldt
look right in the weather section ;)

Code: [Select]
<h2 style="color:white"><?php echo lang('icons','c')?></h2>
<div class="iconHelpDiv">
<span class="mticon-temp helpIcon"></span><br><?php echo lang('temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-humidity helpIcon"></span><br><?php echo lang('humidity','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-pressure helpIcon"></span><br><?php echo lang('pressure','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-wind helpIcon"></span><br><?php echo lang('wind speed','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-gust helpIcon"></span><br><?php echo lang('wind gust','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-rain helpIcon"></span><br><?php echo lang('precipitation','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-sun helpIcon"></span><br><?php echo lang('solar radiation','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-snow helpIcon"></span><br><?php echo lang('snow','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-apparent helpIcon"></span><br><?php echo lang('apparent temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-dewpoint helpIcon"></span><br><?php echo lang('dew point','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-uv helpIcon"></span><br><?php echo lang('uv','u')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-visibility helpIcon"></span><br><?php echo lang('visibility','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-cloudbase helpIcon"></span><br><?php echo lang('cloudbase','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-evapotranspiration helpIcon"></span><br><?php echo lang('evapotranspiration','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-indoortemp helpIcon"></span><br><?php echo lang('indoor temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-indoorhumidity helpIcon"></span><br><?php echo lang('indoor humidity','c')?>
</div>
<br>
<div class="iconHelpDiv">
<span class="mticon-sunrise helpIcon"></span><br><?php echo lang('sunrise','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-sunset helpIcon"></span><br><?php echo lang('sunset','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-moonrise helpIcon"></span><br><?php echo lang('moon rise','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-moonset helpIcon"></span><br><?php echo lang('moon set','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-time helpIcon"></span><br><?php echo lang('time','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-hourglass-start helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('from','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-hourglass-end helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('to','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-window-maximize helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('fullscreen','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-image helpIcon"  style="font-size:1.75em"></span><br><?php echo lang('export as image','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-gear helpIcon" style="font-size:1.75em"></span><br><?php echo lang('settings','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-home helpIcon" style="font-size:1.75em"></span><br><?php echo lang('homepage','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-webcam helpIcon"></span><br><?php echo lang('webcam','c')?>
</div>
<div class="iconHelpDiv">
<span class="fa fa-bars helpIcon" style="font-size:1.95em"></span><br><?php echo lang('menu','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-table helpIcon"></span><br><?php echo lang('table','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-graph helpIcon"></span><br><?php echo lang('graph','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-map helpIcon"></span><br><?php echo lang('map','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-trendneutral helpIcon"></span><br><?php echo lang('steady','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-trendup helpIcon"></span><br><?php echo lang('rising','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-trenddown helpIcon"></span><br><?php echo lang('falling','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-warninggeneral helpIcon"></span><br><?php echo lang('warning','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-lat helpIcon"></span><br><?php echo lang('latitude','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-lon helpIcon"></span><br><?php echo lang('longitude','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-history helpIcon"></span><br><?php echo lang('history','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-solar helpIcon"></span><br><?php echo lang('solar eclipse','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-lunar helpIcon"></span><br><?php echo lang('lunar eclipse','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-gps helpIcon"></span><br>GPS
</div>
<div class="iconHelpDiv">
<span class="mticon-elevation helpIcon"></span><br><?php echo lang('elevation','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-day helpIcon"></span><br><?php echo lang('day','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-month helpIcon"></span><br><?php echo lang('month','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-calendar-year helpIcon"></span><br><?php echo lang('year','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-hot helpIcon"></span><br><?php echo lang('high temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-cold helpIcon"></span><br><?php echo lang('low temperature','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-sun helpIcon"></span><br><?php echo lang('day','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-night helpIcon"></span><br><?php echo lang('night','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-spring helpIcon"></span><br><?php echo lang('spring','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-summer helpIcon"></span><br><?php echo lang('summer','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-autumn helpIcon"></span><br><?php echo lang('autumn','c')?>
</div>
<div class="iconHelpDiv">
<span class="mticon-snow helpIcon"></span><br><?php echo lang('winter','c')?>
</div>
</div>
Title: Meteotemplate - Plugin Update – User Map 6.0
Post by: Jáchym on May 31, 2017, 10:27:39 AM
Plugin Update – User Map 6.0

Hi guys,

the updated version includes the following new features:

- mini-globe in the map bottom right
- current daylight visualization

DEMO: http://www.meteotemplate.com/template/plugins/userMap/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 02:12:06 AM
Morning Jachym

Just tried out the new Soil and New leaf block, neither worked for me, please see image, the soil looks just odd and the leaf
didnt work at all, now reverted back to the original block

Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on June 01, 2017, 05:39:37 AM
soil temp and moisture working here (soil block 4.0), just tested, using the API
(make sure to click on settings in the block setup for soil maybe ?)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 05:45:22 AM
Yes, but Im not surprised it does not Bashy, look:

http://suffolkweather.info/template/meteotemplateLive.txt

Eg. leaf wetness is labeled in the API as "LW". There is no data for any LW sensor in the raw input sent by whichever SW you use so the template has nothing to use.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 01, 2017, 09:24:59 AM
Jachym,

I noticed today that the footer season icon changed to summer.  I have astronomical selected in the main setup.  I tried resetting with no change.  Bug maybe?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 09:36:49 AM
Jachym,

I noticed today that the footer season icon changed to summer.  I have astronomical selected in the main setup.  I tried resetting with no change.  Bug maybe?

Jay

Hi Jay,
yes, thanks, I found the problem and fixed it, will be ok in v15
Title: Meteotemplate - New Plugin – API Viewer
Post by: Jáchym on June 01, 2017, 09:38:15 AM
New Plugin – API Viewer

Hi guys,

this plugin is a good way to check what exactly your software, or whichever update type you use, sends to the API and what is available to the template.
It loads all the variables from the input and so whatever you see here is exactly the data that was provided to the template. If you see any missing data or incorrect values you must check the data source (the software used, Weather Underground etc.).
The DEMO shows all the possible parameters the API supports, the data is updated automatically and in the plugin setup you only have to provide the update interval in seconds.
As I mentioned above, this is a good way to check if some data is available and useful for example if you want to install a block which uses data from some extra sensors.
As always, don´t forget to update the menu.php before adding it.

DEMO: http://www.meteotemplate.com/template/plugins/apiViewer/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 01, 2017, 09:39:59 AM
Jachym,

Thanks for looking at it.  Is there a way for me to fix it now, or too complicated?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 09:49:06 AM
I will email it to you so that you can test it.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 12:46:53 PM
Yes, but Im not surprised it does not Bashy, look:

http://suffolkweather.info/template/meteotemplateLive.txt

Eg. leaf wetness is labeled in the API as "LW". There is no data for any LW sensor in the raw input sent by whichever SW you use so the template has nothing to use.

it should be this one (http://www.brecklandweather.com/template/meteotemplateLive.txt) the other is the old one, but, still not in that either, not sure why not, i am using WD, your old block worked ok, is that cause it was using the clientraw?
By the sounds of it, it should be in WD cause its working for Brian, I only updated WD yesterday as well, confused.com  :???:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 12:55:18 PM
Install the just released plugin, that will show you everything the template has available.

if something is missing there, it will never show up anywhere in the template simply because the template does not have that info. The API viewer plugin is a list of everything it has available, before doing any further processing, basically just raw data converted to display units. Which means that if the units are wrong it is also not the template´s fault...
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 12:56:11 PM
Oki, on it now, thanks..
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 01:02:39 PM
Yip, deffo not in the apiViewer, LW not in there :/

But then its also showing an extra temp as soil temp when i dont have a soil temp, that temp is
for night cloud not soil (extra temp 2)
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on June 01, 2017, 01:29:58 PM
this soil block is to to show soil temperature and soil moisture

not sure why no leaf wetness (LW) data supplied by WD for the api would affect it
(it works for me, shows soil temp and soil wetness OK with no LW data in the api data)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 01:40:01 PM
No leaf is regards to the new leaf block not working, the issue with the soil block is it looking odd, I only have 1 soil moisture (testing for Mick) and no soil temp.

Leaf was working fine on the old combined soil and leaf block
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 01:48:13 PM
Old block used clientraw. New block uses API. What is not in API will not show in blocks.
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on June 01, 2017, 01:56:03 PM
next update of WD will have leaf wetness data in the MT API
(no leaf temperature , that is not supported in WD (I don't know of any station that provides that data)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 01:58:06 PM
I cant remember which SW and who told me about this, but I know someone has that :D
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 02:17:08 PM
next update of WD will have leaf wetness data in the MT API
(no leaf temperature , that is not supported in WD (I don't know of any station that provides that data)

Thank you Brian...
Quote from: Jáchym link=topic=26825.

msg324872#msg324872 date=1496339293
Old block used clientraw. New block uses API. What is not in API will not show in blocks.

Understood, thanks...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 02:20:27 PM
Using anything other than the API would now be a step back for many reasons.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 01, 2017, 02:23:30 PM
That could be open for debate ;) if an item is not in the API but is in the client raw then that would be a side step :D
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 02:30:44 PM
No, that would be a something to ask the SW developer about, not me ;) Because the API supports everything.
Title: Meteotemplate - Block Updates
Post by: Jáchym on June 01, 2017, 02:32:25 PM
Hi guys,

few updates:

Block Update – Forecast – Italy 2.0

in this major update I added also national forecast for today, tomorrow and upcoming five days. The text is nicely formatted and only available in Italian. In addition I also added “close” button.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastIT

Block Update – PayPal 2.0

one of you asked if I could change the Donate button and use an icon which will better correspond to the rest of the icons. I personally prefer using the original button so in the end I decided to give you the choice and also add one new feature to this block.

New:
- possibility to choose whether to use the default PayPal donate button or a PayPal icon
- possibility to include additional text in the “more” section

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=payPal

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Juan Maria Vilaro on June 01, 2017, 04:10:42 PM
Hi, in Air Quality World, in settings register this address and it does not work to me, what is the error ???
http://www.aqicn.org/city/spain/catalunya/sant-adria-de-besos/

Saludos
Title: Re: Meteotemplate - New Plugin – API Viewer
Post by: nineback on June 01, 2017, 04:22:19 PM
Works really nice.  Any chance it can display the software version number instead of just Weather Display?

Also I noticed that WD supports a second temperature sensor.  Any chance of being able to display that temperature perhaps in the station data block or the steel gauges or somewhere else.

New Plugin – API Viewer

Hi guys,

this plugin is a good way to check what exactly your software, or whichever update type you use, sends to the API and what is available to the template.
It loads all the variables from the input and so whatever you see here is exactly the data that was provided to the template. If you see any missing data or incorrect values you must check the data source (the software used, Weather Underground etc.).
The DEMO shows all the possible parameters the API supports, the data is updated automatically and in the plugin setup you only have to provide the update interval in seconds.
As I mentioned above, this is a good way to check if some data is available and useful for example if you want to install a block which uses data from some extra sensors.
As always, don´t forget to update the menu.php before adding it.

DEMO: http://www.meteotemplate.com/template/plugins/apiViewer/index.php

Enjoy
Title: Re: Meteotemplate - New Plugin – API Viewer
Post by: Jáchym on June 01, 2017, 05:59:14 PM
Works really nice.  Any chance it can display the software version number instead of just Weather Display?

Also I noticed that WD supports a second temperature sensor.  Any chance of being able to display that temperature perhaps in the station data block or the steel gauges or somewhere else.

New Plugin – API Viewer

Hi guys,

this plugin is a good way to check what exactly your software, or whichever update type you use, sends to the API and what is available to the template.
It loads all the variables from the input and so whatever you see here is exactly the data that was provided to the template. If you see any missing data or incorrect values you must check the data source (the software used, Weather Underground etc.).
The DEMO shows all the possible parameters the API supports, the data is updated automatically and in the plugin setup you only have to provide the update interval in seconds.
As I mentioned above, this is a good way to check if some data is available and useful for example if you want to install a block which uses data from some extra sensors.
As always, don´t forget to update the menu.php before adding it.

DEMO: http://www.meteotemplate.com/template/plugins/apiViewer/index.php

Enjoy

Extra sensors (temp/humidity) - planned
SW version - no because the API viewer shows everything that is available via the api, I did not choose not to display the version number or anything else Tom, what you see is everything there is in the API. I did not include SW version in the API parameters so it is not possible to show this.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 01, 2017, 06:00:25 PM
Hi, in Air Quality World, in settings register this address and it does not work to me, what is the error ???
http://www.aqicn.org/city/spain/catalunya/sant-adria-de-besos/

Saludos

Hi Juan,
I just tried it and it works fine for me, if it worked before then only thing I can think of is some change on your server, which is unable to communicate with the air quality server... I tested it and it worked fine for me
Title: Meteotemplate - Autoimport
Post by: Jáchym on June 01, 2017, 08:25:49 PM
If you are interested in reading about auto-importing data and ideally providing some feedback see my last Blog post:

http://meteotemplate.com/blog/?p=2673
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 02, 2017, 01:18:38 AM


Hi Jachym,  the paypal block still does not work for me, this is the error, sames as before, from paypal

Error Detected


Error Message
PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.

Hi guys,

few updates:


Block Update – PayPal 2.0

one of you asked if I could change the Donate button and use an icon which will better correspond to the rest of the icons. I personally prefer using the original button so in the end I decided to give you the choice and also add one new feature to this block.

New:
- possibility to choose whether to use the default PayPal donate button or a PayPal icon
- possibility to include additional text in the “more” section

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=payPal

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 02, 2017, 01:36:03 AM
I updated WD this morning, i am now seeing the LW in the api viewer, (http://www.brecklandweather.com/template/plugins/apiViewer/index.php) but no data for the sensor,

Leaf wetness   Sensor 1

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2017, 06:26:01 AM


Hi Jachym,  the paypal block still does not work for me, this is the error, sames as before, from paypal

Error Detected


Error Message
PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.

Hi guys,

few updates:


Block Update – PayPal 2.0

one of you asked if I could change the Donate button and use an icon which will better correspond to the rest of the icons. I personally prefer using the original button so in the end I decided to give you the choice and also add one new feature to this block.

New:
- possibility to choose whether to use the default PayPal donate button or a PayPal icon
- possibility to include additional text in the “more” section

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=payPal

Enjoy

But this is a problem with your code Bashy, not the script.

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2017, 06:27:19 AM
I updated WD this morning, i am now seeing the LW in the api viewer, (http://www.brecklandweather.com/template/plugins/apiViewer/index.php) but no data for the sensor,

Leaf wetness   Sensor 1

Problem with WD, it sends no data, LW is there but nothing to display
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 02, 2017, 06:42:41 AM
What code? I ain't touched the paypal block, it's as is
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2017, 07:36:38 AM
I meant your PayPal code you provided in the main settings, there must be some problem with that, the code of your button. Because that script for this block is directly taken from PayPal and it works fine for me, the only difference on your page from mine is that for you it uses the code you provided for your PayPal button.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 02, 2017, 07:47:06 AM
The only code for paypal in the main settings is my paypal email addy and thats 100% correct

I have just created a new button in paypal and added the form code to the block, bypassing the settings :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2017, 07:59:48 AM
The PayPal code should be a unique ID of your PayPal donate button, could be that PayPal for some reason uses a different code for you... no clue
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 02, 2017, 08:01:57 AM
There is no telling with them, hey ho, it's working now
Title: Meteotemplate - New Block – Forecast – Germany
Post by: Jáchym on June 02, 2017, 03:05:54 PM
New Block – Forecast – Germany

Hi guys,

this block shows current conditions and weather forecast for selected city using data from DWD.  The text is only available in German.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastDE

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 02, 2017, 05:39:17 PM
Is anyone having a problem with the gfs block?  I just finally added it and using multiple browsers the block is completely blank - like a placeholder...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 02, 2017, 05:58:15 PM
Is anyone having a problem with the gfs block?  I just finally added it and using multiple browsers the block is completely blank - like a placeholder...

Its like there is something missing in the package.  Jachym - any chance there was something corrupted?  I only just downloaded it.  If anyone has the zip file from a working install, do you want to send it to me?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 02, 2017, 06:34:35 PM
Hi Jeff,
it seems as if you didnt fully update your template.

First thing I would ask you to do is check your scripts/functions.php, I did some tests on your page and it looks like some functions are missing, which were added in v14 to this file.
Title: Meteotemplate - Block Update – Canada High/Low 3.0
Post by: Jáchym on June 02, 2017, 06:45:48 PM
Block Update – Canada High/Low 3.0

http://meteotemplate.com/blog/?p=2689

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 02, 2017, 08:49:38 PM
Hi Jeff,
it seems as if you didnt fully update your template.

First thing I would ask you to do is check your scripts/functions.php, I did some tests on your page and it looks like some functions are missing, which were added in v14 to this file.

Thanks for the help...  It appears that one file was dated 4.30 and the file size was different that the one I just downloaded.  I must have missed it.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 03, 2017, 02:30:53 AM
New leaf block now working, thanks Brian.

Jachym, if one only has say one or 2 (but one in my case) leaf wetness sensor, then the other 3 in the block are
obsolete, therefore i changed

line 87
Code: [Select]
for($i=1;$i<=4;$i++){
to

line 87
Code: [Select]
for($i=1;$i<=1;$i++){
Could something be added to the settings to turn off none needed sensors perhaps?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 03:29:04 AM
Hi,
Not really because in the Api documentation and in the email I sent to all developers,  I explained how this works, each sw should only send whatever is available, the template then checks what is in the Api, otherwise you would have to disable every sensor you don't have and look on the demo how many there are, all the pollution etc. If you have one, then the Api should receive lw1 and lw1 only, in such case, no other sensor will be displayed for lw
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 03, 2017, 03:30:50 AM
But i only have 1 yet all 4 displayed, albeit no data was shown for the other 3

I see what you mean, the API is saying 4, forget it asked, i will just modify the code
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 06:25:49 AM
The problem is that if you only have one, then wd should only send lw1 and no other lws, that's how the template treats the Api data
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 03, 2017, 06:35:27 AM
I just thought we would turn it on in mt like the soil block, don't we ad the depth and if we don't admit then it's not shown. But it's not a problem, I just fiddles with the block and it's showing 1, no biggy...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 07:56:17 AM
No:

API documentation:
Quote
If any of the parameters are not available (sensor currently not reporting, sensor not available at all, your SW does not log this etc.), then simply omit the corresponding parameter from the URL.

The reason it is done in this way is because otherwise everything you see in the DEMO API viewer, the things supported by the api, would have to be manually disabled. Not to mention that in theory the API supports unlimited number of these extra sensors, in the blocks I limited it to 4, but I can change this, the API has unlimited number. And surely you would not want having to manually disable all the pollution, all the extra sensors, noise levels, lightning etc.

The logic is that if for example you have 3 LW sensors, there should be LW1, LW2 and LW3 in the API data and if one of them is "" then the template will show this as blank, which is again different. Not showing it at all would mean "I dont have this sensor", showing blank value means "this sensor is currently not reporting "
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 03, 2017, 07:59:11 AM
That logic does not make sense, why show a sensor that has no data?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 08:15:58 AM
There is IMHO a difference between no sensor and currently N/A sensor and it can tell for example you that something is wrong or the user that you have this sensor at all. But if you read the API documentation, which is exactly what was there at the beginning for the developers as well, it says that it should not be included even at situations when the sensor is inactive, so in theory such situation should not happen - all sensors sent via the API should have some data.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 03, 2017, 08:19:47 AM
OK, so you are saying,  the sensors that are not in use, should no be sent through the API, that's fine, but in this instance it is, therefore it is showing 3 extra sensor that are not in use, hence why I have changed the block to show just one, as see in my moisture block, under menu
Http://www.brecklandweather.com/template
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 09:08:21 AM
Yes, I understand why you did that and yes is also the answer to your question... SW should not be sending parameters for sensors which are N/A.
Title: Meteotemplate - New block/block update
Post by: Jáchym on June 03, 2017, 09:14:40 AM
Hi guys,

New Block – France – Climate

this block allows you to choose a station in France from the MeteoFrance network and it will show you an interactive graph of long-term averages, including max/min temperature, record max/min temperature, precipitation or sunshine hours.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=climateFR

Block Update - High/Low U.S.

in this update I added an interactive map, which will try to reverse geocode the locations where the highs and lows were observed. Please note that this might not be 100% working, in some cases you might not see the points because the original data does not come with GPS coordinates and the template has to try to find it itself.

If you are updating this block make sure you delete the cache folder, previous cache file will not work.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=highLowUS

Enjoy


Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 03, 2017, 10:18:45 AM
Jachym,
I installed the high/lowus block and deleted the cache but the map doesn't show.  Thoughts?  Noticed also that the calendar to select other days isn't working either.
Jay
http://www.jayswoodfurniture.com/meteo/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 10:40:43 AM
Jachym,
I installed the high/lowus block and deleted the cache but the map doesn't show.  Thoughts?  Noticed also that the calendar to select other days isn't working either.
Jay
http://www.jayswoodfurniture.com/meteo/indexDesktop.php

Jay are you 100% sure you fully updated the block? I.e. replaced/added ALL files from the block folder? The only file you should always ignore is settings.php, but that one is not included in these packages anyway, so updating a block/plugin always means replaceing ALL files. I suspect you did not upload the other scripts that were part of this update.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 03, 2017, 10:43:58 AM
Did it a second time before I posted.  I would be happy to try it again if you want,  Even deleted the entire folder the second time.
Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 03, 2017, 11:03:42 AM
Sorry Jay, yes you are right I see the problem. Stupid copy/paste mistake and it worked on my server because I used the other block too... Just a sec
Title: Meteotemplate - Block Hotfix - U.S. High/Low 3.1
Post by: Jáchym on June 03, 2017, 11:09:32 AM
Block Hotfix - U.S. High/Low 3.1

- fixes map issue

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 03, 2017, 11:12:18 AM
Thanks, Jachym.  That solved the issue.  I like the map.
Jay
Title: Meteotemplate - Block Update – Netherlands – Forecast 2.0
Post by: Jáchym on June 03, 2017, 07:15:06 PM
Block Update – Netherlands – Forecast 2.0

Hi guys,

major update of this block:

- added forecast from KNMI – in the settings you choose your desired default, thanks to Marco for his help
- icons replaced with SVGs
- added full compatibility with template v14 new features
- block optimization – despite all the new features the block size was reduced by 92%

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=forecastNL

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 04, 2017, 05:53:25 AM

Yes, I understand why you did that and yes is also the answer to your question... SW should not be sending parameters for sensors which are N/A.

Another thought, what about if the end user does have 4 sensors but only wants to show say sensor 1 and 3 for what ever reason they may have :) I'm just saying, wouldn't it be easier, useful to be able to turn on/off sensors, when  they have all the sensors but 1 is playing up and giving bad readings, should prefer of that 1 sensor be turned off in the template, do you see what I'm saying now?
Title: Meteotemplate - Block Update / New Blocks
Post by: Jáchym on June 04, 2017, 12:34:26 PM
Hi guys

Block Update – Greece – Radar 2.0

more info/DEMO: http://meteotemplate.com/blog/?p=2703

New Block – Greece – Current Conditions

more info/DEMO: http://meteotemplate.com/blog/?p=2705

New Block – Greece – Climate

more info/DEMO: http://meteotemplate.com/blog/?p=2707

New Block – Greece – Marine Forecast

more info/DEMO: http://meteotemplate.com/blog/?p=2709

Enjoy

Title: Meteotemplate - Block Update - Leaf 2.0
Post by: Jáchym on June 04, 2017, 07:01:13 PM
Block Update - Leaf 2.0

- added possibility to manually enable sensors or set to "auto" and the template will try to determine sensor availability automatically
- fixed a bug when LW=0

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 05, 2017, 01:48:36 AM
Block Update - Leaf 2.0

- added possibility to manually enable sensors or set to "auto" and the template will try to determine sensor availability automatically
- fixed a bug when LW=0

Enjoy

Thank you, just tried it in auto but all four still showed up, is there a time for the script to check back to see
if there is any live data for the other sensors? sorry, didnt wait it out if there is, but the off switch works great :)
re the bug, is that the on Brian mentioned about, i.e. the font being black when at 0, background not showing,
still the same in that respect, see image please. image is when it was set to auto, gonna go back and set to
auto again and give it a few minutes....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 05:34:32 AM
It would work if it was 0, but not if it is "", not sure why they still show up, but thats why the off switch is there now :D
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 05, 2017, 05:39:34 AM
They are all zero ;)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 05:44:42 AM
No they are not, in the API file they are "", if they were 0 it would mean the sensor is active and showing measured 0. Those zeros are just the string converted to a number, but it is not 0 in the API file.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 05, 2017, 05:46:17 AM
But my sensor, number one is zero though, that 1is active
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 05, 2017, 05:48:45 AM
I can work with you later on if you like, if ya want to work on the auto part, but I ain't available till later, I am waiting for my heating oil then nipping out to get a new/used weather pc, i3, 8gb,1tb :D
Title: Meteotemplate - New Block – Switzerland – Current Conditions
Post by: Jáchym on June 05, 2017, 06:19:43 AM
New Block – Switzerland – Current Conditions

Hi guys,

this block shows current conditions in many Swiss cities – includes temperature, humidity, pressure, wind speed, snowfall, snow depth, precipitation etc.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentCH

Enjoy
Title: Re: Meteotemplate - new free website template- New icon
Post by: gillesroszak on June 05, 2017, 08:41:59 AM
Hi guys,

I created a new icon and i want to use it in the menu like big icon when the menu is open.

How can i do that ?
Where should i upload this icon in which file ?

Thanks in advance
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 09:09:39 AM
Hi Gilles,
the icons are not individual images, the template uses SVG vector objects integrated and compiled into a one large font file, so to add new icons you would need to re-compile the font and convert your icon to SVG as well and then replace all the corresponding files in the template for all the fonts, the references to them. This unfortunately is not that easy, but there were many reasons why I switched from using normal PNG icons to SVGs, the advantages of this far outweigh the disadvantages.
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 09:15:27 AM
HI Jachym,
 
Ok OK then I will not do it. To difficult for me  !!!!
May be one day you'll add a WU icon ????

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 09:40:19 AM
To be quite honest I hope not :D People here know that I dont like WU for all the different reasons and I hope it will soon be replaced by a much better alternative :-) Lets hope so :-)
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 09:59:55 AM
i know  Jachym, but i have no other alternative to use my data . i need to use WU for that.
My Pws is an Aercus weather ranger and i can't send my data directly to my host. There is no other way for me  but to buy a new pws, and for now my financial situation don't authorize me to do it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 10:33:03 AM
Yes I know, so your station can send only to WU? Nothing else?
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 10:42:48 AM
it's a clone of ws1001 wifi ambient weather. There is a way i think but i have to update the firmware with last one from Ambient weather 4.1 or so. but i don't know if it will work with my Pws considering that is not the same brand (mine is an AERCUS)
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 10:44:02 AM
if you can help me for bypassing wu i will be happy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 12:46:03 PM
Hi,
Im not sure I can help you with this, I dont know this station, I have WH1080 with Meteobridge
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 05, 2017, 12:51:23 PM
if you can help me for bypassing wu i will be happy

Not sure if this would be of any help but it does mention your PWS model!!

https://github.com/weewx/weewx/wiki/observer

Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 01:22:53 PM
just a question,

in the firmware there is a file named server.ini (attached) it seems to have two possibilities for sending data. one is for wunderground the second is not completed; Perhaps can i use it for sending the data to meteotemplate.
But the problem is that i don't know under which form this data are sent

Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 01:26:21 PM
if you can help me for bypassing wu i will be happy

Not sure if this would be of any help but it does mention your PWS model!!

https://github.com/weewx/weewx/wiki/observer

Yes i saw that but my problem is that i don't know how to install this soft. i think it is built for linux
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 01:55:25 PM
Can you set it to send data to your own server via FTP?
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 02:00:33 PM
That is the question, if i modify the file like below  do you think that will work or not

[Menu]
default=www.wunderground.com
web=2
web1=www.wunderground.com
web2=www.dashboard.meteokerbach.fr/template

[www.wunderground.com]
Server=rtupdate.wunderground.com
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

[www.dashboard.meteokerbach.fr/template]
Server=www.dashboard.meteokerbach.fr/template
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 05, 2017, 02:26:40 PM
I really dont know, you need to ask in a different thread on this forum, someone who has this station might be able to help you
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 05, 2017, 02:28:02 PM
ok I'll do that and see
Title: Meteotemplate - New Block – Switzerland – Climate
Post by: Jáchym on June 05, 2017, 06:59:23 PM
New Block – Switzerland – Climate

Hi guys,

in this block you select a city/place and the block will show various long-term averages including:

- avg/min/max temperature for the period 1961-1990 and 1981-2010
- number of various days (summer days, tropical days, ice days, freezing days) for periods 1961-1990 and 1981-2010

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=climateCH

Enjoy
Title: Meteotemplate - Block Update – New Zealand – Current Conditions 2.0
Post by: Jáchym on June 06, 2017, 06:20:51 AM
Block Update – New Zealand – Current Conditions 2.0

Hi guys,

added colors to the table based on values and optimized the entire block.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=weatherNZ

Enjoy
Title: Meteotemplate - New Block – Station Deviations
Post by: Jáchym on June 06, 2017, 09:42:36 AM
New Block – Station Deviations

Hi guys,

in this block you provide monthly long-term averages or normals for temperature and precipitation. The block will then calculate the deviations from your station. In addition you can set up whether or not you want to display the current, so far incomplete, month and how many months should be displayed by default.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=stationDeviation

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 06, 2017, 12:59:19 PM
Hi guys,

another set of Q/A in the blog.

If you want to read all these questions and answers to common questions as well as some useful tips they are all on this page:

http://meteotemplate.com/blog/?s=q%2Fa
Title: Meteotemplate - Block Update – Deviations 2.0
Post by: Jáchym on June 07, 2017, 09:38:36 AM
Block Update – Deviations 2.0

Hi guys,

- added interactive graph
- added precipitation deviations given as percentages
- fixed decimal places bug
- fixed a bug where background did not display correctly when all values above normal

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=stationDeviation

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 02:27:01 AM
Hi, History block is showing all the way up to or back to 47 years ago, my data stops at 2007

http://www.brecklandweather.com/template/

Block: Middle, bottom


Resolved; thanks to Ron
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 02:36:58 AM
Hi, Rain block is not quite right, when you click More, you see

Today   2.8 mm
95.5% avg (2.93333333333mm)

Block: Right, 4th down (Moisture), Menu; Rain (ignore the other 2 in the menu, was testing them and neither work, still show black text on dark background, previous issue, but hey, Ive always wanted a Deviations block, thanks ;) )
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 08, 2017, 02:41:07 AM
Hi, History block is showing all the way up to or back to 47 years ago, my data stops at 2007

http://www.brecklandweather.com/template/

Block: Middle, bottom

Your database has probably a record with the date 1970-01-01 (epoch date ) this was 47 years ago see also here http://www.brecklandweather.com/template/pages/station/climate.php?var=T
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 05:09:02 AM
Thanks, will try to find it..

Found it, thanks Ron :)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 08, 2017, 06:40:02 AM
You're welcome I had the same issue some months ago  :grin:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2017, 07:50:45 AM
Hi, Rain block is not quite right, when you click More, you see

Today   2.8 mm
95.5% avg (2.93333333333mm)

Block: Right, 4th down (Moisture), Menu; Rain (ignore the other 2 in the menu, was testing them and neither work, still show black text on dark background, previous issue, but hey, Ive always wanted a Deviations block, thanks ;) )

Works fine - 2.8 mm = 95% of 2.93mm
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 07:57:02 AM
but why the hundreds of 3's?
Title: Meteotemplate - New Block – Climate – U.K.
Post by: Jáchym on June 08, 2017, 08:56:31 AM
New Block – Climate – U.K.

Hi guys,

this block shows long-term data for temperature (min/max), precipitation and sunshine hours for a selected station from the MetOffice weather station network.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=climateUK

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 01:17:13 PM
Hi, on this page (http://www.brecklandweather.com/template/pages/forecast/index.php) and then current conditions, where is the data coming from for the METAR please? The METARS over here always shows to the nearest decimal, its always 16.0C 17.0C 20.0C never 16.7C
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2017, 01:39:32 PM
Hi,
it is using interpolated results of nearby METARs based on your lat/lon so it is a weighted average, thats why you can see decimals.

Jachym
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 03:22:40 PM
That's a good idea how many metars , or should I say, how many miles away from the station, too far could be wrong, I use 3 of the closest stations, on CWOP, I think the furthest is just over 12 miles, but that one (Marham) I the official met office station...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2017, 03:28:48 PM
In your case

AR176, AU446, D2843, D3371, D7089, D7935, D9422, E0058, E2699, E3743, E6611, E9093, EGSC, EGUL, EGUN, EGYM
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 08, 2017, 04:58:39 PM
Crikey, I beleive most of those are private stations including my own  E9093, D7935, is Neal in Brandon with a vantage Vue, and not to mention a good few are 20, 30 miles away, in your list, that I know of are 4 airports, the 1st two I cannot find, so they could be smaller ones, but the majority there are private  CWOP stations, took me a moment to figure it out, there is a letter missing from each of the CWOP stations, not so sure it's a credible reading, for one thing, the reading in the block is far too close of a match to my own, hence I was asking, if it was just the metars, EGUL, EGUN, EGYM, the latter being 12 miles out, that would suffice, from a start, the latter is the official station. Going bed now, will have a look in the motto see if I can twiddle with it
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2017, 06:05:35 PM
Bashy, if you find a source which offers forecasts that are:
- free
- in machine readable format available online
- accurate for a user living in any part of the world

please let me know, I am interested :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 08, 2017, 06:07:06 PM
This is really funny, just spent 3 hours today chatting to our new colleague here in the Czech NWS.... the funny thing is that he is from Illinois and only came here year ago and doesnt even speak Czech :D The world is small.... One of the MT users lives 10 miles from where he lived until last year :D
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 09, 2017, 01:43:13 AM
Bashy, if you find a source which offers forecasts that are:
- free
- in machine readable format available online
- accurate for a user living in any part of the world

please let me know, I am interested :-)

Trying to word this reply right so as not to offend is difficult,
so please, try to take it as its meant to be, constructive criticism

We are talking about the current conditions part, not forecasts  :?

Please see images, these are the the top 10 (up to 23.5miles away) that are closest to me, luckily 4 are metars,
the the other 6 are PWS Why are the PWS included in the METAR current conditions, thats what im on about,
i cannot check all stations as to who they are but, i am fairly certain some are probably netamos. Then
there are the other 6 stations that dont make the list cause they are even further away, some that are
over 30 miles away, E3743 @ 38.3 miles

And there's my own station, that is in that list too, so the current condition will be partly my own that i
will be comparing against.

The current conditions part is not really fit for purpose, not when i am comparing against myself, and comparing
against other PWS that are miles away, not to mention what their data is actually like, i really like it cause
i thought i was comparing against a METAR(s) I even made a block on its own just for the station vs metar part

With the above in mind, regards to the current condition comparison alone, can this not be made to use METARS only?
I mean, it does say Airport vs Station
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 05:24:49 AM
The script uses Darksky API. Darksky API uses the stations I listed above. If you want a very accurate forecast then probably the best I know is AccuWeather. They also have an excellent API and I know that the data is very accurate. The only minor problem I need to warn you about is that you will be paying 410 dollars/3 months.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 09, 2017, 05:26:52 AM
I'm not on bout the forecast, I'm on about the current  conditions comparison between METAR and my station, not forecast
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 05:32:20 AM
Sorry I used a wrong word, I was talking about current conditions. The Darksky API output provides forecast as well as current conditions, which also includes the list of stations being used.

https://darksky.net/dev/docs
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 09, 2017, 05:46:40 AM
But, all those stations shouldn't be used a site comparison for my station, more so when my own station is in the list, how does that make sense?

Using all the stations as far out as nearly 40 miles away from me also makes no sense to me there are only 4 stations that I would use as a comparison to my station
That reaches to Marham, about 13 miles away, even that's stretching things but as it's an official met office station I use it.

Surely you see what I am saying?  You cannot compare with stations 20, 30 miles away  and certainly not with your own station,

For a forecast, it makes perfect sense, but not for the current conditions
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 06:01:12 AM
The API uses your exact co-ordinates, how exactly they average out the current conditions is not in the documentation.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 09, 2017, 10:57:06 AM
Jachym,

I just updated the CO2 plugin and I get a blank page on the Mauna Loa page.  Nothing shows.  I have downloaded it twice.  The file looks good but nothing there.  Everything else seems to work fine.

Jay

http://www.jayswoodfurniture.com/meteo/plugins/co2/co2.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 11:11:57 AM
Jachym,

I just updated the CO2 plugin and I get a blank page on the Mauna Loa page.  Nothing shows.  I have downloaded it twice.  The file looks good but nothing there.  Everything else seems to work fine.

Jay

http://www.jayswoodfurniture.com/meteo/plugins/co2/co2.php

http://meteotemplate.com/blog/?p=2740
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on June 09, 2017, 11:15:38 AM
Thank you sir!

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 11:19:56 AM
Welcome, thanks for letting me know
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 09, 2017, 12:34:56 PM
I am up to date with blocks and plugins and all work fine, except climateUK block which shows empty.  I have re-downloaded and reinstalled 3 times.  Then checking Cache and there is a data.txt file with the following:
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
 
You don't have permission to access "http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/southamptondata.txt" on this server.<P>
Reference #18.cf58acc6.1497025844.e8e53cd
</BODY>
</HTML>

Permissions have been set to 777

I have also tried other locations such as the default Heathrow.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 12:37:25 PM
Hi Paul,
no this has nothing to do with the permissions on your server, it is the MetOffice server which is blocking yours. Your server tries to load data from MetOffice, but the response is that you are denied... no clue why, but you cannot solve this yourself, maybe trying to contact them or your provider.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 09, 2017, 12:51:29 PM
I am up to date with blocks and plugins and all work fine, except climateUK block which shows empty.  I have re-downloaded and reinstalled 3 times.  Then checking Cache and there is a data.txt file with the following:
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
 
You don't have permission to access "http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/southamptondata.txt" on this server.<P>
Reference #18.cf58acc6.1497025844.e8e53cd
</BODY>
</HTML>

Permissions have been set to 777

I have also tried other locations such as the default Heathrow.

Paul

Hi Paul do you also get an acces denied by going directy to http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/southamptondata.txt ? if so the UK has banned Canada  :roll:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 09, 2017, 01:15:56 PM
Though you have to remember that when he accesses it from a browser, it is using his IP, but his server uses his provider IP. This server is likely to be shared so it could also be that some other user of that server was overloading their server so they banned the IP, which now affects all the server users.
Title: Re: Meteotemplate - new free website template
Post by: nitrx on June 09, 2017, 01:21:37 PM
Yes in case of shared hosting you might be right.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 09, 2017, 02:35:02 PM
This is a problem with shared hosting, one person can ruin it for thousands, just checked it with my server and all is well with the block, Paul, send a ticket asking for a new ip, it might be possible..... 
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 10, 2017, 03:43:11 AM
Hi, with regards to snow

I do not see any data on this page overall summary (http://www.brecklandweather.com/template/plugins/snow/allSeason.php)
I do see the data on the monthly and annual reports (http://www.brecklandweather.com/template/plugins/snow/snowReports.php)

have i forgot to do something?
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 10, 2017, 09:36:25 AM
Yes I am on shared hosting with GoDaddy.
@Ron , I can get http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/southamptondata.txt (http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/southamptondata.txt)  ok.

I guess I'll leave this as the one block that I can use but don't.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 10, 2017, 12:25:27 PM
You could send email to MetOffice and ask them why your server is blocked, but you would need to find its IP. GoDaddy shared hostings usually have dozens of people on the same server... and it could also be GoDaddy blocked in general by MetOffice for some reason
Title: Meteotemplate - New Block – Australia – Climate
Post by: Jáchym on June 10, 2017, 02:34:32 PM
New Block – Australia – Climate

Hi guys,

first you select the city you want to use, then the block will show detailed information in a form of graphs about monthly average min/max temperature, absolute min/max temperature, daily precipitation, max daily precipitation, wind gust, wind run, sunshine, solar exposure, evaporation etc.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=climateAU

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 10, 2017, 05:53:27 PM
Hi guys,

The MeteoTemplate update should be done every 5 minutes but sometimes it takes 10 to 12 minutes. What can be the problem ?

Thanks in advance
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 10, 2017, 06:39:54 PM
First thing to check is the CRON job, make sure it is executed every 5 minutes, if you are using API update directly then you need to check the SW. The script obviously works, if there was a script problem, it would simply never update. This must be either Station/Software or CRON job problem Gilles.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 11, 2017, 01:29:31 AM
https://www.wxforum.net/index.php?topic=26825.msg325416#msg325416
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 11, 2017, 04:26:13 AM
HI guys,

No problem with the cron job it's executed every 5 mn, no problem with the station, easy weather IP is updated every 16 s, and the data are sent every 2 mn to WU. 

May be a problem with WU ???
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 11, 2017, 08:52:59 AM
@Bashy,
Quote
Hi, with regards to snow

I do not see any data on this page overall summary (http://www.brecklandweather.com/template/plugins/snow/allSeason.php)
I do see the data on the monthly and annual reports (http://www.brecklandweather.com/template/plugins/snow/snowReports.php)

have i forgot to do something?

 Sorry, I don't know what the problem may be.  Mine is showing and I don't recall doing anything special during install and setup http://www.komokaweather.com/j-template/plugins/snow/index.php

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 11, 2017, 08:59:18 AM
Hi Paul, tis strange, wonder if its cause i just manually inputted the data, some of it was guestimate too
I cant remember how many days the snow was on the ground, so i went by, if there was percip after the
snow day but i didnt input snow, then that would have been a melt day lol
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 11, 2017, 09:13:49 AM
I don't think that would make a difference as it pretty well accepts whatever data you enter.  The only difference I see is that I enter data for every day of the snow season, even if it is 0 (zero).  But that shouldn't have any effect as a couple of years ago we had snow in October and I just added a month to the season and then filled in the data for all years going back - pretty easy to add on the input page.

Have you checked your MySQL snow table to see if the data seems ok?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 11, 2017, 12:58:31 PM
Yeah, i didnt enter 0, i couldnt see any reason why, it would be a pain having to manually do that every day

Added image of the table, thats all of it too lol
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on June 15, 2017, 09:05:09 PM
I’m just as guilty but...  crickets chirping...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 17, 2017, 07:08:17 PM
I’m just as guilty but...  crickets chirping...

http://www.meteotemplate.com/blog/?p=2790
Title: Meteotemplate - updates
Post by: Jáchym on June 18, 2017, 08:11:14 AM
Hi guys

Block Update – U.S. SPC 2.0 - http://meteotemplate.com/blog/?p=2780
New Plugin – SPC Reports - http://meteotemplate.com/blog/?p=2757
New Plugin – Sea Temperature - http://meteotemplate.com/blog/?p=2759
New Block – UV - http://meteotemplate.com/blog/?p=2764
New Block – U.S. Extreme Weather - http://meteotemplate.com/blog/?p=2775
Block Update – Germany – Current Conditions 1.2 - http://meteotemplate.com/blog/?p=2771
Plugin Update – WL-IP 4.0 - http://meteotemplate.com/blog/?p=2769
Plugin Update – Data Display 3.0 - http://meteotemplate.com/blog/?p=2767
Block Update – Current Conditions 13.1 - http://meteotemplate.com/blog/?p=2762
Block Update – UV Forecast 2.0 - http://meteotemplate.com/blog/?p=2773
New Block – Sea Temperature - http://meteotemplate.com/blog/?p=2778
New Plugin – Meteohub - http://meteotemplate.com/blog/?p=2755
New Plugin – Forecast – Netherlands - http://meteotemplate.com/blog/?p=2753
New Plugin – Solar Power - http://meteotemplate.com/blog/?p=2751

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 18, 2017, 09:59:23 AM
I keep getting a file not found when I try to download thePlugin – Sea Temperature
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 18, 2017, 10:00:12 AM
Fixed
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 18, 2017, 11:16:22 AM
I am all up to date, and working... I think!

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: tstorm on June 18, 2017, 12:05:34 PM
Jachym,

  Good to see you doing better.  For the U.S. SPC block the image for the 4-8 Day and the forecast discussion are not showing.  It looks like exper needs to be included in the url for Day4-8 whereas for other days it's not. (ex. Day 4-8  http://www.spc.noaa.gov/products/exper/day4-8/day48prob.gif?1497800943286; Day 1 http://www.spc.noaa.gov/products/outlook/day1otlk_1300.gif?1497801705161)

John
Title: Re: Meteotemplate - new free website template
Post by: gus on June 18, 2017, 12:43:42 PM
Hi Jachym,
There is problem in the Sea Temperature block when the temperature units is set to F.
Gus
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 18, 2017, 01:19:44 PM
Hi,
yes I see, stupid PHP float rounding. I will look at it next week.

J.
Title: Meteotemplate - Block Update - Sea Temperature 1.1
Post by: Jáchym on June 18, 2017, 05:56:37 PM
Block Update - Sea Temperature 1.1

Hi guys,

- unit conversion fix
- data source URL fix

Enjoy
Title: Re: Meteotemplate - Block Update - Sea Temperature 1.1
Post by: i_fiorentino on June 18, 2017, 06:33:11 PM
Block Update - Sea Temperature 1.1

Hi guys,

- unit conversion fix
- data source URL fix

Enjoy


No update, there is only 1.0 on your site
I'm confusing block / plugin  ](*,) ](*,) #-o #-o #-o

Ok, block installed.
But there is a possible bug.
Actually, viareggio's sea temperature  is 25 degrees
But plugin showed 2.5.....it's too cold for me  :roll:
(http://i.imgur.com/18F6Vei.png)

Any ideas?
Regards,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 18, 2017, 07:37:05 PM
Strange, I will look at it tomorrow
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 19, 2017, 01:52:08 AM
Hi Jachym, good to hear ya feeling better,

One has fallen foul of the windows 10 creators update (BIG one) i will have to wait hours no doubt before
the pc comes back online, so, my question is, to populate the DB with the missing data, which of WD's files
is it i need to use when updating the database please? is it the 62017lg.txt but then that does no include UV and
solar, that would have to be the vantage log or is there another log to suit the import system please?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 19, 2017, 02:58:06 AM
Hi,
Yes that one, uv is not being used by the db,  with solar you would have to probably do it manually if wd can't do that,
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 19, 2017, 02:59:48 AM
OK, thanks, will sort it once the machine stops dicking about.... Would UV be added in the future?
Title: Re: Meteotemplate - Block Update - Sea Temperature 1.1
Post by: Jáchym on June 19, 2017, 07:13:18 AM
Block Update - Sea Temperature 1.1

Hi guys,

- unit conversion fix
- data source URL fix

Enjoy


No update, there is only 1.0 on your site
I'm confusing block / plugin  ](*,) ](*,) #-o #-o #-o

Ok, block installed.
But there is a possible bug.
Actually, viareggio's sea temperature  is 25 degrees
But plugin showed 2.5.....it's too cold for me  :roll:
(http://i.imgur.com/18F6Vei.png)

Any ideas?
Regards,


Alessandro

OK, this should fix it, make sure you delete the cache folder too

http://meteotemplate.com/blog/?p=2796
Title: Meteotemplate - New Plugin – Maps U.K.
Post by: Jáchym on June 19, 2017, 10:25:35 AM
New Plugin – Maps U.K.

Hi guys,

this plugin shows dozens of climate-related maps for the region of the United Kingdom.

- national and regional maps
- 30-year averages (1961-1990, 1971-2000, 1981-2010)
- min/max/mean temperature
- degree days
- relative humidity
- days of hail, frost, rain
- wind speed
- pressure
- growing season length

etc.

DEMO: http://meteotemplate.com/blog/?p=2798

Enjoy
Title: Meteotemplate - Block Updates
Post by: Jáchym on June 20, 2017, 11:48:26 AM
Hi guys

Block Update – Radar U.S. 7.0 - http://meteotemplate.com/blog/?p=2805
Block Update – UV 1.1 - http://meteotemplate.com/blog/?p=2802
Block Update - Interactive Graph 6.0 - http://meteotemplate.com/blog/?p=2800

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 20, 2017, 01:06:13 PM
Hi Guys,
I just updated the block Interactive Graph
But the text is not clear at all due to the color of the font .
How can I change it ?
 [ You are not allowed to view attachments ]

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 20, 2017, 02:04:28 PM
Hi Gilles, this is strange, this rather grey color should only be used for the grid line, no the text, I will check this.

I just checked your site and everything looks fine to me:

http://www.meteokerbach.fr/pws/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 20, 2017, 02:48:19 PM
Hi Guys,
I just updated the block Interactive Graph
But the text is not clear at all due to the color of the font .
How can I change it ?


Yes all is fine now sorry


Title: Meteotemplate - Block Update – Sea Temperature 2.0
Post by: Jáchym on June 20, 2017, 03:22:46 PM
Block Update – Sea Temperature 2.0

Hi guys,

based on your feedback I added support for multiple locations (max 5).

IMPORTANT! – if you are updating this block, you need to update your settings, the URL is now different, now you only include the last part of the URL, not the first part (see the settings) and you also need to delete the cache folder, it will NOT work with the original cache file.

Enjoy!
Title: Meteotemplate - New Block – Brazil – Current Conditions
Post by: Jáchym on June 21, 2017, 08:40:55 AM
New Block – Brazil – Current Conditions

Hi guys,

this block shows an interactive map with hundreds of stations around Brazil, clicking the individual markers shows information about location, current conditions and for some also a photo.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=currentBR

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on June 21, 2017, 11:27:30 AM
Hi Jachym,
probably co2 block is no longer available.
Please check it.
Look at my site here: http://www.meteopistoia.it/indexDesktop.php (left side after air quality block)
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 21, 2017, 11:36:45 AM
Hi,
thanks for letting me know, yes it is no longer available, just remove it from your homepage I will remove it from the demo too
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 21, 2017, 11:40:08 AM
Same with the CO2 plugin, it is not working anymore, I will post it in the Blog when I have time
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 21, 2017, 05:57:08 PM
Hi Jachym,
probably co2 block is no longer available.
Please check it.
Look at my site here: http://www.meteopistoia.it/indexDesktop.php (left side after air quality block)
Regards,



Alessandro

Fixed, working again, see the Blog
Title: Meteotemplate - New Block – Marine U.K.
Post by: Jáchym on June 22, 2017, 08:39:32 AM
New Block – Marine U.K.

Hi guys,

this block shows data from available ships/buoys around the U.K., and loads the available parameters (this varies and includes air and sea temprature, wave height, wave period, wind speed etc.) over the last 24h.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=marineUK

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 23, 2017, 01:11:19 AM
Hi Jachym

Just looking at the stickers setup and i am seeing rain, baro and wind to .000
not even sure why the baro has a decimal see as it looks like its rounding it off, its currently 1012.9
but at time of screenshot, wind was 5.8mph and rain 0.0mm
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2017, 07:02:28 AM
Hi,
yes I see, this was more like an experiment, the only one that really works correctly is the interactive one and that one also is the only one which uses the API. The other ones are no longer supported, I guess I should update the plugin and just remove these, it is not working as I wanted and I would recommend using the interactive one, thats the only one working as it should.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 23, 2017, 07:29:51 AM
No worries, thanks, it's the one I chose anyway ☺
Title: Meteotemplate - Block Update – Twitter Feed 2.0
Post by: Jáchym on June 23, 2017, 08:09:09 AM
Block Update – Twitter Feed 2.0

Hi guys,

if you are logged in as the admin you will see a new button at the bottom of this block “Post current”, which when you press it will post the current conditions to your Twitter feed.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 23, 2017, 08:17:39 AM
I have a suggestion, how about a plugin to auto post to fb, I know fb made it harder but if Twitter can do it then it's possible, if you can figure it out, perhaps the end user will be able setup the post using the data from the api, perhaps create something like my macro does as seen here
https://www.facebook.com/breckweather/?ref=bookmarks

Just a thought is all, give you a challenge :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2017, 08:59:24 AM
Hi,
yes I looked into how FB works several times in the past and there are many problems with it because they made it very difficult for developers to use their API. The major two problems are:
- lot of setup has to be done on the client´s side - i.e. you would have to create a developer´s account, generate the API key etc etc and I had problems finding out how to do it myself and it took me quite a while
- the token has to be re-generated every 3 months, then it stops working
- the API changes very often

It was obvious to look into it, so I did quite some time ago.

However there is a way of doing this, if you use the Twitter feature then you can use ITTT and set a recipe to auto-repost these twitter posts to your FB account as well
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 23, 2017, 09:05:27 AM
Thats a shame, i knew they made it harder but thats sounds almost like they dont want people to do it

As for twitter, we are restricted to the amount of characters, therefore the post that i make wouldnt fit
As soon as they increase the limit i will be in like Flint ;) I really like what i have setup to auto post
it just means that every half an hour, for a few minutes i cannot touch the mouse on the weather pc, but its worth it :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 23, 2017, 09:10:47 AM
Spot on - they dont want people to use it and they discontinued some parts of the API completely - they simply want people to go to FB directly and use all the features there and instead of making it easy to "implement FB elsewhere", they try adding everything to FB...
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 23, 2017, 09:13:48 AM
Well, least they will never be able to stop a macro :D, tis a pain sometimes
have to leave the mouse alone, spose i could setup up a very cheap pc just
to do that
Title: Meteotemplate - New Plugin – Temperature Sums
Post by: Jáchym on June 24, 2017, 11:40:33 AM
New Plugin – Temperature Sums

Hi guys,

this new plugin is for calculation temperature sums – the number of hours when the average temperature was above or below a certain threshold. The values are expressed as both absolute number of hours and percentage and you will see them as interactive tables and graphs, grouped by years, months and all months.

DEMO: http://www.meteotemplate.com/template/plugins/tempSums/

Enjoy
Title: Meteotemplate - Block Update – Info 3.0
Post by: Jáchym on June 25, 2017, 08:58:15 AM
Block Update – Info 3.0

Hi guys,

new features:

- show PHP info
- show server info
- show MySQL info
- language tweaks

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=info

Enjoy
Title: Meteotemplate - Block Update – Current Conditions 14.0
Post by: Jáchym on June 25, 2017, 10:50:09 AM
Block Update – Current Conditions 14.0

Hi guys,

new/changed things:

- block now uses API exclusively – all of you should now be using the API so the option to select update type was removed
- more accurate rain rate (now taken directly from the api live conditions file, not database as previously)
- removed UV enable/disable parameter from the settings, the block now automatically adds UV if it detects it is available in the API file
- CSS tweaks and improved formatting
- optimization

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on June 25, 2017, 11:34:35 AM
Using current conditions it shows the rain for the day and also the rain rate.  It has stopped raining for a while and the rain rate is still showing.  Is there a way to tell it is currently raining?   I have use the Dark Sky API for current icon.  Where do I see the icon?  Is it the background image in the header?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 11:51:49 AM
OK, I see the problem, just a sec
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 11:55:43 AM
OK fixed
http://meteotemplate.com/blog/?p=2854
Title: Re: Meteotemplate - new free website template
Post by: nineback on June 25, 2017, 12:24:02 PM
thanks.  That fixed it.

Is there a way to tell it is currently raining other than looking at the rain rate?   

I have use the Dark Sky API for current icon.  Where do I see the icon?  Is it the background image in the header?  If it is then it is not very accurate.  My background is showing sunny and in fact it is cloudy.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 12:28:46 PM
If it is raining, rain rate should be >0, if it is 0, it should not be raining.

Header - uses METAR
Current conditions icon in current block - uses Darksky
Title: Re: Meteotemplate - new free website template
Post by: nineback on June 25, 2017, 12:36:02 PM
I am looking at the METAR for my area.  It is showing METAR K8A0 251615Z AUTO 32003KT 10SM -RA BKN120 18/18 A3024 RMK AO2.  I assume the -RA is rain but my background is showing sunny.  It is raining though very light.

I do not see an icon on my CURRENT block?

I think for rain there should be a locally produced icon to display and not depend on the metar.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 01:11:50 PM
The METAR thing is cached for 60mins so you could have looked just after it was updated. The Darksky current condition icon must be enabled in the block settings.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 01:21:58 PM
This is the URL used by the header, and it shows "clear", so it is more likely to be a problem with the update time of the NOAA server.

http://tgftp.nws.noaa.gov/data/observations/metar/stations/K8A0.TXT
Title: Re: Meteotemplate - new free website template
Post by: nineback on June 25, 2017, 01:32:29 PM

I have it set to True.

The Darksky current condition icon must be enabled in the block settings.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 01:43:22 PM
Strange, check what is inside the settings.php file
Title: Re: Meteotemplate - new free website template
Post by: nineback on June 25, 2017, 01:59:53 PM

I see nothing is the setting file relating to DarkSky.  I am also seeing the UV icon but I only have the solar sensor not UV sensor.

<?php
// current settings file
// Version: 14.1
// Created: 2017-06-25 12:56:19

$updateInterval = '30';
$currentHighlightUpdate = true;
$currentHighlightInterval = '3.0';
$windDirectionView = 'image';
$currentShowBftW = false;
$currentShowBftG = false;
$showTitle = true;
$conditionEnable = true;
$currentMaxInterval = '11';
$showCurrentWarnings = true;
$currentThresholdHighT = '100';
$currentThresholdLowT = '0';
$currentThresholdHighD = '80';
$currentThresholdLowD = '0';
$currentThresholdHighA = '100';
$currentThresholdLowA = '32';
$currentThresholdHighH = '100';
$currentThresholdLowH = '40';
$currentThresholdHighP = '32';
$currentThresholdLowP = '28';
$currentThresholdHighR = '3';
$currentThresholdHighW = '25';
$currentThresholdHighG = '35';
$currentThresholdHighS = '800';
$currentThresholdHighUV = '7';
$currentWarningColorHighT = '#c30000';
$currentWarningColorLowT = '#0045ba';
$currentWarningColorHighH = '#007528';
$currentWarningColorLowH = '#c6a600';
$currentWarningColorHighP = '#a800b1';
$currentWarningColorLowP = '#b96f00';
$currentWarningColorHighR = '#0065db';
$currentWarningColorHighW = '#5a00a1';
$currentWarningColorHighS = '#ced200';
$currentWarningColorHighUV = '#d78800';
$currentShowTrends = true;
$currentTrendInterval = '3';

Strange, check what is inside the settings.php file
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 25, 2017, 05:38:51 PM
The settings file looks ok, and looking at your page, it seems to have fixed itself...I can see the icon now.

The reason you see UV is because whichever SW you use, is sending the UV value (as 0)

http://www.kq5s.com/template/meteotemplateLive.txt

Title: Meteotemplate - New Block – U.K. – Warnings
Post by: Jáchym on June 26, 2017, 06:06:27 AM
New Block – U.K. – Warnings

Hi guys,

finally I managed to come up with some warnings block for the U.K., originally I wanted to use the official XML feed provided by MetOffice, however the problem is that all it provides is the date, affected areas, level and name (rain, hail etc.) and no details about it whatsoever. This would be useless since this can already be achieved by the regional EU warnings block from Meteoalarm. In the end I therefore decided to do it slightly differently and in a more complicated way, but having it tested by one of you, surprisingly it seems to work fine.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUK

Enjoy
Title: Meteotemplate - Plugin Update – Sea Temperature 2.0
Post by: Jáchym on June 26, 2017, 11:29:55 AM
Plugin Update – Sea Temperature 2.0

http://meteotemplate.com/blog/?p=2863

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 27, 2017, 01:30:05 AM
New Block – U.K. – Warnings

Hi guys,

finally I managed to come up with some warnings block for the U.K., originally I wanted to use the official XML feed provided by MetOffice, however the problem is that all it provides is the date, affected areas, level and name (rain, hail etc.) and no details about it whatsoever. This would be useless since this can already be achieved by the regional EU warnings block from Meteoalarm. In the end I therefore decided to do it slightly differently and in a more complicated way, but having it tested by one of you, surprisingly it seems to work fine.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUK

Enjoy

This is great, thank you, its good to see some context to the warning

Is there a way to eliminate Northern Ireland though please? thieving DUP Hate them.....

http://www.brecklandweather.com/template/indexDesktop.php
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 27, 2017, 05:54:24 AM
New Block – U.K. – Warnings

Hi guys,

finally I managed to come up with some warnings block for the U.K., originally I wanted to use the official XML feed provided by MetOffice, however the problem is that all it provides is the date, affected areas, level and name (rain, hail etc.) and no details about it whatsoever. This would be useless since this can already be achieved by the regional EU warnings block from Meteoalarm. In the end I therefore decided to do it slightly differently and in a more complicated way, but having it tested by one of you, surprisingly it seems to work fine.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=warningsUK

Enjoy

This is great, thank you, its good to see some context to the warning

Is there a way to eliminate Northern Ireland though please? thieving DUP Hate them.....

http://www.brecklandweather.com/template/indexDesktop.php

No there isnt
Title: Meteotemplate - Updates
Post by: Jáchym on June 27, 2017, 01:59:20 PM
Hi guys,

Plugin Update – River Heights U.S. 3.0 - http://meteotemplate.com/blog/?p=2874
Block Update – Air Quality U.S. 3.0 - http://meteotemplate.com/blog/?p=2876
Plugin Update – Climate U.S. 4.0 - http://meteotemplate.com/blog/?p=2878
Plugin Update – CoCoRaHS 2.0 - http://meteotemplate.com/blog/?p=2872
Block Update – Italy – Climate 3.0 - http://meteotemplate.com/blog/?p=2870

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on June 27, 2017, 02:48:16 PM
All up to date, and all working...

Enjoy
Paul
Title: Meteotemplate - New Plugin – Air Quality Forecast Canada
Post by: Jáchym on June 27, 2017, 06:52:43 PM
New Plugin – Air Quality Forecast Canada

Hi guys,

this new plugin shows air quality forecast for selected Canadian province, supports both English and French.

DEMO: http://www.meteotemplate.com/template/plugins/airQualityForecastCA/index.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 28, 2017, 02:37:57 AM
Station data for today is showing yesterdays rain at 42mm, todays is 27.6mm so far....

PS, when i choose 24hrs from the drop list its doubles yesterdays amount to 84mm
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 05:17:48 AM
Hi,
this happens when people set their update intervals too fast and the server is slower and when the next update starts before the previous one is finished, it uses the previous cache file. If this happens at midnight, it will save previous day´s rain over to the next day as well. You need to edit the first entry in the db for that day and change the rain to 0 and if you are using some very short interval for the updates you will probably need to increase it.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 28, 2017, 05:32:16 AM
Its deffo not a slow server I believe its an i5 with 16gb and there is only 5 sites on it,
its not like a 1 and 1 server where theres a 1000+

I remember having to edit the database before as well, cant a check be put in place, i mean
its really obvious that say for example 42mm didnt fall 1 minute after midnight, is there no
way to fail safe this?

Putting that one aside, if i havent used the admin side of the site for say an hour or so, when i
open the menu and choose an admin option, it says im not authorised, yet if i click back and do that
again, it lets me in...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 05:33:35 AM
This depends on the browser session expiry time and if that happens you must re-create the session, which is done by the homepage script.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 28, 2017, 05:34:53 AM
This depends on the browser session expiry time

Thanks, Can this be adjusted by me somewhere?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 06:02:33 AM
No, these things are built-in to browsers, I think Chrome uses 20mins
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 28, 2017, 06:05:37 AM
Oh, OK,  thanks.
Title: Meteotemplate - IMPORTANT! – Site Backup
Post by: Jáchym on June 28, 2017, 08:12:49 AM
READ THIS PLEASE:

http://meteotemplate.com/blog/?p=2884
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 28, 2017, 08:23:26 AM
it's done. Thanks for the warning
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 08:24:22 AM
The problem is that I know about 4 users who had this problem, the passwords and everything were unchanged, it seems to be an injection to the menu, but until I see someone´s access log to find the issue I cant really fix it, I checked all the menu related pages, they all require the session and being logged in
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 08:25:08 AM
This really could be anything, for example both the users told me they were on vacation and Im just wondering, if you connect via public wifi, who knows...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 09:01:25 AM
OK, based on two access logs I have seen, this looks like someone guessed the password, re-created the cookie and that logged them in straight because from the access logs I can see they were immediately logged in, the template would ask for password or redirect to login page, but there is no try of that, as a fix for now, i removed the cookie feature, you can dwonload updated header.php, which for now should prevent anyone misusing the cookie. Also then log out of your template and for now you will not be able to use the Remember me feature if you update the new header.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 28, 2017, 11:14:55 AM
Thanks for the Heads UP, Do we know any ip addresses we can block?
Is there a way that if the password is guessed incorrectly it will lock you out (them) and the only
way to rectify that would be to use the FTP, to get their password right, they must have had very
simple passwords......
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 11:32:14 AM
I know the IP, but I dont want to post it here in case they do a Google search and find this thread. For now, just make sure you follow the instructions in the Blog. As far as I can see, it looks like the 3 people might not follow one of the crucial instructions in the wiki, so hopefully this should not affect others, but I would still do what I posted in the Blog.
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 28, 2017, 02:49:04 PM
Hi guys,
I have a problem with the page "perspective" of meteotemplate look at the screenshot below!!!!
what can it be ?
 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 28, 2017, 05:05:25 PM
Hi Gilles,
rule number 1 :D Always provide a link please
Title: Re: Meteotemplate - new free website template
Post by: Bashy on June 29, 2017, 12:48:40 AM
I know the IP, but I dont want to post it here in case they do a Google search and find this thread. For now, just make sure you follow the instructions in the Blog. As far as I can see, it looks like the 3 people might not follow one of the crucial instructions in the wiki, so hopefully this should not affect others, but I would still do what I posted in the Blog.

Thanks, i go it, Looks like they have been reported for WP hacking too a couple of days ago
Could you elaborate please,

Quote
it looks like the 3 people might not follow one of the crucial instructions in the wiki

i.e. which one in case many of us (namely me) may not have done also..?

I have all my sites and the 4 other clients auto backed up to PC here at home, nightly, i think i have it
set to 1 weeks worth, plus 1 monthly, i also have it duplicated on to a backup drive but in the same PC
so hopefully im covered for any eventuality not just the MT situ'

Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 29, 2017, 04:11:46 AM
Hi Gilles,
rule number 1 :D Always provide a link please

Here it is !!!

http://www.dashboard.meteokerbach.fr/template/pages/forecast/index.php (http://www.dashboard.meteokerbach.fr/template/pages/forecast/index.php)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 05:24:41 AM
I know the IP, but I dont want to post it here in case they do a Google search and find this thread. For now, just make sure you follow the instructions in the Blog. As far as I can see, it looks like the 3 people might not follow one of the crucial instructions in the wiki, so hopefully this should not affect others, but I would still do what I posted in the Blog.

Thanks, i go it, Looks like they have been reported for WP hacking too a couple of days ago
Could you elaborate please,

Quote
it looks like the 3 people might not follow one of the crucial instructions in the wiki

i.e. which one in case many of us (namely me) may not have done also..?

I have all my sites and the 4 other clients auto backed up to PC here at home, nightly, i think i have it
set to 1 weeks worth, plus 1 monthly, i also have it duplicated on to a backup drive but in the same PC
so hopefully im covered for any eventuality not just the MT situ'

Follow the checklist I posted in the Blog and hopefully you will be fine, in the absolute worst scenario, a backup is always a solution, there is nothing secret in the template so all that can happen is that a certain page does not work. But if you do what I posted in the Blog it should not be a problem.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 05:28:04 AM
Hi Gilles,
rule number 1 :D Always provide a link please

Here it is !!!

http://www.dashboard.meteokerbach.fr/template/pages/forecast/index.php (http://www.dashboard.meteokerbach.fr/template/pages/forecast/index.php)

I dont see any problems
Title: Meteotemplate - Block Update – Air Quality Canada 3.0
Post by: Jáchym on June 29, 2017, 07:44:29 AM
Block Update – Air Quality Canada 3.0

Hi guys,

- the block now automatically adds link to the Air Quality Forecast Canada plugin – if available
- improved CSS
- optimization

Enjoy
Title: Meteotemplate - Jun 29, 2017 – Q/A
Post by: Jáchym on June 29, 2017, 09:12:53 AM
Jun 29, 2017 – Q/A

In the top header I can set either the flag image or custom, is there a way to just delete that image completely?

Have you thought about using Postgres database instead of MySQL? It seems to be able to handle more data?

Any news about version 15?

It says that Cumulus supports the API only partially, what does it mean?

Answers in the Blog :-)

Enjoy
Title: Meteotemplate - New Block – Daily Deviations
Post by: Jáchym on June 29, 2017, 01:50:04 PM
New Block – Daily Deviations

Hi guys,

in this new block you first select a particular month and year. The script will then draw a graph of daily average temperature and temperature range for the selected month and compare it with the overall average for that particular month and the average for the month of the selected year. It might sound a bit complicated, but once you see it you will get what it does. No setup required.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dailyDeviations#/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: juppie on June 29, 2017, 03:13:45 PM
Hello Jachym
In the report, the diagrams for temperature, humidity, wind etc. are not displayed.

http://wetter-lehmschlenke.de/template/pages/station/reportDaily.php?d=29&m=06&y=2017

Greeting Juppi
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 04:08:20 PM
Hi,
make sure you have the latest German language file, I suspect thats the issue
Title: Re: Meteotemplate - new free website template
Post by: gand on June 29, 2017, 04:59:29 PM
Hi

You need to click on an icon, have you tried that.

Gert
Title: Meteotemplate DEMO station OFFLINE
Post by: Jáchym on June 29, 2017, 05:41:42 PM
Hi guys,

today at around 1:40 PM, while at work, I noticed my station stopped reporting. I checked my Meteobridge remotely, and it worked, meaning it could not be a network issue. The station was offline the whole day and I now finally got home only to find out that someone must have gotten in to our garden and literally ripped the outdoor sensors into pieces. I was/am speechless. It is the WH1080 and the plastic is not difficult to break.

For now the station will therefore stay offline, I will try to borrow an external sensor from a friend temporarily who has a similar station, or try to find an alternative solution. For some reason Meteobridge now also refuses to communicate with the station completely, so even though the console shows at least the indoor conditions, I cannot see it in MB and so nothing is going to the website.

This is likely to affect many blocks and plugins, so if you see any errors it is because of this. It will not affect any pages that your pages use (update check etc.)
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 29, 2017, 06:10:31 PM
very sad to heard that someone broke your station Jachym. the people are crazy Nowadays, Nothing can stops them.

If everyone on the forum gave you 5 euros you could buy a new station !!!!
come on  guys...... for jachym we can do that at least..... NO ?
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 06:13:17 PM
This is the second time, last time I was able to glue it together, but the WH1080 has a very short signal range so I could not place it anywhere else. Now I at least need to figure out why the console stopped communicating with MB despite the fact the indoor console was unaffected by this and shows realistic data.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 06:28:49 PM
Hi guys,

just an update. Together with Boris I managed to fix the Meteobridge issue and borrowed the outdoor sensors from a friend so it is now working. I will try to fix the original sensor because I dont want to be using my friend's for too long. In case I don't manage to fix it the station might be offline again for some time in the upcoming weeks.

I want to emphasize again that this will NOT in any way affect your pages and all that would happen is that some blocks/plugins will show nonsense, which is why I am posting this so that you don't think there is some problem with the actual plugin/block.

Jachym
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 29, 2017, 06:29:49 PM
very happy for you Jachym
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 29, 2017, 06:30:49 PM
very sad to heard that someone broke your station Jachym. the people are crazy Nowadays, Nothing can stops them.

If everyone on the forum gave you 5 euros you could buy a new station !!!!
come on  guys...... for jachym we can do that at least..... NO ?

Come on guys a little effort please !!!!!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 06:48:32 PM
Dont worry Gilles, I will find a way, last time I made the solar shield myself from flowerpots so I will do it again :) The crucial question is now whether the transmitter is damaged and I cannot test this now because I cannot find some parts now :D Either they stole them or it is just too dark outside, it is close to 1AM :)
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 29, 2017, 06:57:16 PM
I hope everything will be fine
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 29, 2017, 07:25:58 PM
Too bad I dont have a webcam....
Title: Meteotemplate - Block Update – Sweden – Current Conditions 3.0
Post by: Jáchym on June 30, 2017, 07:53:57 AM
Block Update – Sweden – Current Conditions 3.0

Hi guys,

- added colors to the table
-- optimization
- full compatibility with v14

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=weatherSweden

Enjoy
Title: Meteotemplate - Block Update – Daily Deviations 2.0
Post by: Jáchym on June 30, 2017, 10:36:01 AM
Block Update – Daily Deviations 2.0

Hi guys,

based on a suggestion of one of you I added an extra setting for this block where you specify the long-term (ideally 30-year) normals for your location, which are then also shown on the graph for comparison. This is particularly useful for people with very short history of records, where 2-3 years average is not really a representative value of the local climate.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dailyDeviations

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on June 30, 2017, 11:51:33 AM
Hi Guys

In Meteotemplate, Is there a way to extract the yearly and monthly  data for modified them or corrected them.
Title: Re: Meteotemplate - Block Update – Daily Deviations 2.0
Post by: KapitainOne on June 30, 2017, 12:04:20 PM
Block Update – Daily Deviations 2.0

Hi guys,

based on a suggestion of one of you I added an extra setting for this block where you specify the long-term (ideally 30-year) normals for your location, which are then also shown on the graph for comparison. This is particularly useful for people with very short history of records, where 2-3 years average is not really a representative value of the local climate.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dailyDeviations (http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dailyDeviations)

Enjoy

Like the block, when looking for the 30 year normals for temperature I also found similar data for wind, precip, pressure, humidity, radiation and a bunch of others. Any way some of these could be included in either this block or a similar one?

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2017, 12:25:50 PM
:D Theoretically yes, too bad I didnt think about this myself because people always come up with new ideas when I update something (this update was also based on yesterday´s suggestion) and that leads to the same block being updated in very short intervals - which is ok with me, but not ok with some other people :D But of course feel free to suggest things, I might just wait a little while with this, it wont be that easy anyway, to support more variables the block code will pretty much have to be mostly rewritten
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on June 30, 2017, 02:10:42 PM
:D Theoretically yes, too bad I didnt think about this myself because people always come up with new ideas when I update something (this update was also based on yesterday´s suggestion) and that leads to the same block being updated in very short intervals - which is ok with me, but not ok with some other people :D But of course feel free to suggest things, I might just wait a little while with this, it wont be that easy anyway, to support more variables the block code will pretty much have to be mostly rewritten

Isn't that always the way!  No rush, another item for your to-do list!!

Would it be easier to have multiple blocks, ie one for Temp, another for Precip, etc , then folks could include only those they want and have long term average info for...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on June 30, 2017, 02:17:19 PM
And I get dozens of complains there is way too many blocks, making it difficult to find what you need - especially for new users ;)
Title: Re: Meteotemplate - new free website template
Post by: Colin on July 01, 2017, 07:52:13 AM
And I get dozens of complains there is way too many blocks, making it difficult to find what you need - especially for new users ;)
The good thing is you just install what you want. My preference is to just display data relevant to my weather station. Don't care about the rest. Having said that, others may find it useful.
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 01, 2017, 10:09:02 AM
Hi Jachym,

I'm a bit confused as to why my Menu is not 'updating'.

I accidentally created a default menu.

So I downloaded the menu.php from your site and overwrote the one in my template root folder.
I thought this had links to all plugins.

But I still got the default. So I downloaded the menu.php from my other site where the menu has all the links and extra tabs, and updated on my site.
But still it only shows the default items?

Are the changes not stored in menu.php? If I edit the menu by adding a new tab, where does this get stored? Can't see any obvious file that gets updated.

Thanks,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2017, 10:11:51 AM
Hi Paul,
no, the menu.php includes references to everything, but when you create your menu, it is saved in
admin/menu/menuItems.txt and menuOrder.txt

So the menu.php only checks what you have in those two files and based on that generates the menu.

If you reset the menu then the above two files were overwritten, it gave you a warning this will happen. The plugins are not added automatically because it was like this before, but it meant I was the one who had to chose which tab, which position etc. they will go and people might have different opinions about where it belongs to. So the menu is now fully customizable, but that also means you have to set it up yourself.
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 01, 2017, 10:15:10 AM
Great, yes that makes sense. All back to 'normal' now.
Title: Meteotemplate - Block Update – Forecast 7.0
Post by: Jáchym on July 01, 2017, 10:42:38 AM
Block Update – Forecast 7.0

http://meteotemplate.com/blog/?p=2920

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 01, 2017, 06:08:04 PM
Could someone kindly check if they are having Google Maps API issues?  It looks like it may be down but want to confirm before I go crazy.

Thanks!

Jeff
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2017, 07:50:25 PM
Hi Jeff,
all I can say is that it cannot be global, because DEMO works fine:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=earthquakes
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 01, 2017, 08:24:13 PM
Looks like I’m not having anymore issues with the API.  It looks like it’s specific to the block.  When I get home I’m going to remove the block and then reinstall it.  An hour ago I could not even pull the google map on the settings page and that is back so it’s limited to earthquakes.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2017, 08:31:38 PM
Looks like I’m not having anymore issues with the API.  It looks like it’s specific to the block.  When I get home I’m going to remove the block and then reinstall it.  An hour ago I could not even pull the google map on the settings page and that is back so it’s limited to earthquakes.

Which makes no sense because the Google Maps script is not loaded by the blocks, but by the actual homepage script (indexDesktop.php), which then loads all the blocks, so either the maps should work for all blocks or none
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 01, 2017, 08:42:51 PM
Looks like I’m not having anymore issues with the API.  It looks like it’s specific to the block.  When I get home I’m going to remove the block and then reinstall it.  An hour ago I could not even pull the google map on the settings page and that is back so it’s limited to earthquakes.

Which makes no sense because the Google Maps script is not loaded by the blocks, but by the actual homepage script (indexDesktop.php), which then loads all the blocks, so either the maps should work for all blocks or none

As usual, something freaky going on.  I reloaded the earthquakes block and not it shows no earthquakes within 5000 miles...  didn't say that before....   The plugin works fine.  WTH?  I give up for the night.  Maybe the weather fairy will fix it while I sleep LOL.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2017, 09:06:34 PM
We'll see lol
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 01, 2017, 09:08:03 PM
We'll see lol

Oh and this only started after I went to v3.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 01, 2017, 10:36:55 PM
It cannot be that since I haven't touched the map feature
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 01, 2017, 10:39:43 PM
It cannot be that since I haven't touched the map feature

Wasn’t implying that.  Just figured since maybe I messed up something...
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 01, 2017, 10:42:50 PM
It cannot be that since I haven't touched the map feature

Wasn’t implying that.  Just figured since maybe I messed up something...

And like magic...  it’s all fixed...  lol
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 02, 2017, 01:31:36 AM
Strange
Title: Meteotemplate - Block Update – Daily Deviations 3.0
Post by: Jáchym on July 02, 2017, 09:15:45 AM
Block Update – Daily Deviations 3.0

http://meteotemplate.com/blog/?p=2928

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 02, 2017, 09:31:39 AM
Strange
Still working lol
Title: Meteotemplate - New Block – Belgium – Radar
Post by: Jáchym on July 03, 2017, 08:35:31 AM
New Block – Belgium – Radar

http://meteotemplate.com/blog/?p=2933

Enjoy
Title: Meteotemplate - Block Update – Rain 6.2
Post by: Jáchym on July 03, 2017, 12:36:16 PM
Block Update – Rain 6.2

http://meteotemplate.com/blog/?p=2935

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 03, 2017, 02:15:21 PM
Jachym,

If I press Reset all Precipitation on the database page does it just reset that page or everything in the database?

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 03, 2017, 02:26:07 PM
Jachym,

If I press Reset all Precipitation on the database page does it just reset that page or everything in the database?

Jay

Always just for that particular day, it is there because the rain is cumulative so if someone wanted to edit something they might otherwise have to edit many lines, this will zero the rain for the entire day, but that day only
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 03, 2017, 02:29:13 PM
Thanks!

Jay
Title: Meteotemplate - New Block – France – Radar
Post by: Jáchym on July 03, 2017, 05:55:04 PM
New Block – France – Radar

http://meteotemplate.com/blog/?p=2937

Enjoy
Title: Meteotemplate - Block Update – Gauges 7.0
Post by: Jáchym on July 04, 2017, 08:03:52 AM
Block Update – Gauges 7.0

http://meteotemplate.com/blog/?p=2939

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: nineback on July 04, 2017, 11:17:52 AM
Thanks for the gauges update.  Any chance we can get a rain rate gauge?  I use the gauges as a header for my page but there is no way for someone to tell if it is currently raining. They can see that there has been an accumulation but do not know if it is currently raining.

The rain block tells you the Rain Rate Now but it is hidden.

I am really looking as some way for a casual user to be able to quickly tell the current conditions such as temperature, wind, gust, humidity, dry, raining, etc.
Tom
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 04, 2017, 11:45:12 AM
Thanks for the gauges update.  Any chance we can get a rain rate gauge?  I use the gauges as a header for my page but there is no way for someone to tell if it is currently raining. They can see that there has been an accumulation but do not know if it is currently raining.

The rain block tells you the Rain Rate Now but it is hidden.

I am really looking as some way for a casual user to be able to quickly tell the current conditions such as temperature, wind, gust, humidity, dry, raining, etc.
Tom

Current block? IMO even much quicker and easier to understand than gauges...
Title: Re: Meteotemplate - new free website template
Post by: nineback on July 04, 2017, 01:34:48 PM
I have the current block as my footer.  I find the gauges much easier to "understand".
Title: Meteotemplate - Block Update – Warnings U.K. 2.0
Post by: Jáchym on July 05, 2017, 09:41:31 AM
Block Update – Warnings U.K. 2.0

Hi guys,

- redesign
- possibility to choose region

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 05, 2017, 03:55:26 PM
  I use the station warning notification icon for the current block.  For the dew point the icon shows up fairly often in the summer.  There's not a threshold which you can specify in the main setup, but I would like to set it up so the icon doesn't show until a slightly higher dew point.   

Thanks,

John
Title: Meteotemplate - updates
Post by: Jáchym on July 05, 2017, 06:09:30 PM
Hi guys,
few updates:

- Block Update - Radar France 2.0 - http://meteotemplate.com/blog/?p=2950
- Plugin Update - Wind Direction 2.1 - http://meteotemplate.com/blog/?p=2952
- Block Update - Warnings U.K. 2.1 - http://meteotemplate.com/blog/?p=2954 - please make sure you update this block to ensure correct functionality

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 05, 2017, 07:27:53 PM
Hi Jachym,
just a question about gfs Block.
Is it possible to choice which type of data or chart shows on block?
Because actually block show mandatory temperatures meteogram.
Thanks to advance,


Alessandro

Inviato dal mio SM-T535 utilizzando Tapatalk

Title: Re: Meteotemplate - new free website template
Post by: gand on July 06, 2017, 12:25:16 AM
Hi

You can set the threshold in Settings. Login as Admin > Block Setup >Current >Settings

Gert

  I use the station warning notification icon for the current block.  For the dew point the icon shows up fairly often in the summer.  There's not a threshold which you can specify in the main setup, but I would like to set it up so the icon doesn't show until a slightly higher dew point.   

Thanks,

John
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 02:01:46 AM
Block Update – Warnings U.K. 2.1

Hi guys,

- redesign
- possibility to choose region

Enjoy



You are a star, thank you, that eliminates my Northern Ireland issue  :)
Title: Re: Meteotemplate - new free website template
Post by: Colin on July 06, 2017, 02:23:40 AM


Quote
that eliminates my Northern Ireland issue  :)

Not quite, the thieving DUP are still there  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 02:24:40 AM


Quote
that eliminates my Northern Ireland issue  :)

Not quite, the thieving DUP are still there  :lol:

HA, touche
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 08:12:00 AM
Block Update – Warnings U.K. 2.1

Hi guys,

- redesign
- possibility to choose region

Enjoy



Just noticed that clicking "More" no longer shows more information, but takes you to the Met Offices site.
is this accidental? if not then i think maybe removing the "More" button....
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2017, 08:27:42 AM
No it is not accidental. It shows more information about the warning, the warning on the page only shows you the level, type and affected areas, whereas the main Metoffice page shows detailed info about the warning. The more button is set to open the link in a new tab so your page stays opened.
I included it because the MetOffice page includes much more detailed info
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 08:29:56 AM
Oh, on the older version when you clicked on more, it showed more information about the warning
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2017, 08:39:56 AM
Yes, but that is no longer possible so I thought this is better than nothing.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 08:45:21 AM
Ah, ok, i will remove the button then, thanks.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2017, 08:49:24 AM
Not sure why you want to do that since it is IMO very useful. The details are quite useful to know and so since it is not possible to view directly on your page I think it is good to allow the user to read the info elsewhere. If you want your users to get detailed info and useful data then keep it, if you are only interested in them visiting your page as such, remove it...
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 09:01:57 AM
Not sure why you want to do that since it is IMO very useful. The details are quite useful to know and so since it is not possible to view directly on your page I think it is good to allow the user to read the info elsewhere. If you want your users to get detailed info and useful data then keep it, if you are only interested in them visiting your page as such, remove it...

The last thing a site owner should want is to send their visitors to another site, as you can see from my main site that this extra info is
available http://www.brecklandweather.com/  so i will have a go copying that :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2017, 09:08:15 AM
Depends how you look at it. For me personally it is more important to provide full info rather then being "selfish" and only limiting them to my own site, especially in cases where it is the national service page. Do whatever works for you, just make sure you do not use the v1 script of the Warnings block, it showed the extra info, but it is no longer supported and I would strongly advise you not to use it.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 06, 2017, 09:12:44 AM
Im not overly sure we should be calling names really, im far from being selfish, the visitor has a choice. to
look at my site or go elsewhere, i dont want to be pushing/sending them away from my site, i want them
to find all the information they require, i will try to provide a diverse range of that information.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2017, 09:13:11 AM
It is actually a very strange approach because if everyone applied that logic, then there would be no internet, there would be no search engines etc. Why? Because what you are basically suggesting is that any external link is basically bad or undesirable. I guess your "internet" would then be called "intronet" :D Everyone uses external links.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 06, 2017, 09:14:04 AM
Im not overly sure we should be calling names really, im far from being selfish, the visitor has a choice. to
look at my site or go elsewhere, i dont want to be pushing/sending them away from my site, i want them
to find all the information they require, i will try to provide a diverse range of that information.

Yes I agree with that, however the block I made does not have that info (i.e. not all info is there) so including a link to this info seemed like a logical thing to do.
Title: Meteotemplate - updates
Post by: Jáchym on July 06, 2017, 11:56:49 AM
Hi guys

Jul 6, 2017 – Q/A - http://meteotemplate.com/blog/?p=2960
Plugin Update – Wind Direction 2.2 - http://meteotemplate.com/blog/?p=2958
Block Update – Switzerland – Current Conditions 2.0 - http://meteotemplate.com/blog/?p=2956

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 06, 2017, 10:30:34 PM
All up to date I think, and warnings UK is now working.


Paul
Title: Re: Meteotemplate - new free website template
Post by: juppie on July 07, 2017, 06:42:30 PM
Hello Jáchym
When I call the chart in the report, for example the temperature over the icon, the window remains empty.

http://wetter-lehmschlenke.de/template/pages/station/reportDaily.php?d=06&m=07&y=2017

Veileicht last update not I copied everything. I noticed it very late that it does not work.

Greeting juppie

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 07, 2017, 07:35:27 PM
Hi,
I think this is an issue with the language file. I remember I fixed that already, try updating your de.php and let me know if it helped.
Title: Re: Meteotemplate - new free website template
Post by: juppie on July 07, 2017, 07:50:44 PM
Hi,
I think this is an issue with the language file. I remember I fixed that already, try updating your de.php and let me know if it helped.

Did an update of the de.php,
without success

juppie
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 07, 2017, 08:41:16 PM
Hmmm, Im looking at your page and from the Console, I am 99.9% sure the problem is in the language file.

Try temporarily changing the language to eg. English and see if it helps. Then switch back to German. If this helps then I would try once more uploading the new de.php because I remember this issue and I remember fixing it and people telling me it works now. I also just checked the language database and I can see it should be fixed.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 07, 2017, 08:48:29 PM
OK I tried it and in English it works, so it must be a problem with the de.php. I actually see the problem and know exactly what is causing it, but I am 99.9% sure I fixed that and I double checked that in the language database now. Please try again downloading de.php and then making absoltuely sure the FTP upload went ok, I would delete the lang/de.php first and then upload the new one, sometimes just overwriting it might not work correctly. Let me know if it still does not work.
Title: Re: Meteotemplate - new free website template
Post by: juppie on July 07, 2017, 08:57:10 PM
Hmmm, Im looking at your page and from the Console, I am 99.9% sure the problem is in the language file.

Try temporarily changing the language to eg. English and see if it helps. Then switch back to German. If this helps then I would try once more uploading the new de.php because I remember this issue and I remember fixing it and people telling me it works now. I also just checked the language database and I can see it should be fixed.

When I set my page on English-language works
Title: Re: Meteotemplate - new free website template
Post by: juppie on July 07, 2017, 09:46:26 PM
OK I tried it and in English it works, so it must be a problem with the de.php. I actually see the problem and know exactly what is causing it, but I am 99.9% sure I fixed that and I double checked that in the language database now. Please try again downloading de.php and then making absoltuely sure the FTP upload went ok, I would delete the lang/de.php first and then upload the new one, sometimes just overwriting it might not work correctly. Let me know if it still does not work.

Thank you
Have updated the de.php and it works  :-)  :grin:  =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 08, 2017, 02:47:31 AM
Hi Jachym,
just a question about gfs Block.
Is it possible to choice which type of data or chart shows on block?
Because actually block show mandatory temperatures meteogram.
Thanks to advance,


Alessandro

Inviato dal mio SM-T535 utilizzando Tapatalk
Hi Jachym,
is it possible?
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 07:48:03 AM
Hi Jachym,
just a question about gfs Block.
Is it possible to choice which type of data or chart shows on block?
Because actually block show mandatory temperatures meteogram.
Thanks to advance,


Alessandro

Inviato dal mio SM-T535 utilizzando Tapatalk
Hi Jachym,
is it possible?
Regards,



Alessandro

Hi Alessandro,
I am not sure what you mean because the block shows not just temperature, but all the other variables as well:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=gfs
Title: Meteotemplate 15.0 Black Currant
Post by: Jáchym on July 08, 2017, 09:41:20 AM
Meteotemplate 15.0 Black Currant

New version is available with several features many of you asked for and a brand new update mechanism, which will update your template in a matter of milliseconds.

http://meteotemplate.com/blog/?p=2969
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 08, 2017, 10:40:28 AM
Great  =D&gt;  updated before blinking my eyes Thanks Jachym!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 10:48:12 AM
Thanks Ron, I think we found a solution to the dilema of frequent updates with new features vs. too much time spent with updating the template :)
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 08, 2017, 10:51:32 AM
Lol well the updates were mostly easy after good resding but this method beats all  :grin:
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 08, 2017, 12:03:40 PM
It is actually a very strange approach because if everyone applied that logic, then there would be no internet, there would be no search engines etc. Why? Because what you are basically suggesting is that any external link is basically bad or undesirable. I guess your "internet" would then be called "intronet" :D Everyone uses external links.

I agree.  In fact good SEO includes links, back links, etc...
Title: Re: Meteotemplate - new free website template
Post by: mldenison on July 08, 2017, 12:15:34 PM
Nice job, Jachym.  I wish all products were that easy and slick to update!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 12:33:08 PM
Thanks, in terms of MT block/plugin/template updates, this is probably as easy as it can get, this template update process was the last thing that really took some time and could potentially cause errors when not done correctly.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 08, 2017, 12:57:49 PM
It is actually a very strange approach because if everyone applied that logic, then there would be no internet, there would be no search engines etc. Why? Because what you are basically suggesting is that any external link is basically bad or undesirable. I guess your "internet" would then be called "intronet" :D Everyone uses external links.
I agree.  In fact good SEO includes links, back links, etc...

Yes, to a certain extent, but ever since Google rolled out its Penguin algorithm, the whole landscape of backlinking has changed

Me not wanting to link to competitor sites is not going to break the internet, its my preference, not the preference of billions
Me wanting to have the actual content on my site opposed to sending visitors to other sites to get it makes a lot more sense
It means more visitors, it means staying longer, it means giving the visitors the information that they need, there and then.
It also means repeat visitors, if then had to leave on a link to another site, it means i did not have what they needed, the other
site did, why would they come back to me if that other site has what they needed?

Thats the way i have always looked at it, getting the visitors, and keeping them, i used to own a large forum 38k+ members
38k because i knew what i was doing, it was called Bashys Place, i must have been doing something right :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 01:29:28 PM
Hmm... Metoffice as your main competitor? I see you aim quite high...

Well maybe given how successful you are at all this you could create a template for us all as well and Im sure it would be the best template ever.

P.S. The way things work in science and in general on the internet, is that you share knowledge and try not to duplicate things, thats just my 2 cents
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 01:31:32 PM
One more crucial issue - that information actually comes from your competitor, and so you cannot really call it a competitor, it is simply a source which you want to duplicate on your site and in this particular case, scraping metoffice is forbidden, they have an RSS feed which I used and they do not include all the info - probably to attract people to their site, which makes sense to me and I made the block accordingly.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 08, 2017, 01:40:02 PM
Never once said main competitor, but in a sense they are I suppose.
The data is available because Wim has sourced it for the Leuven template

Owning and running a forum is totally different to coding a template,  your analogy is inappropriate.

You evidently have some issues with me so how about we leave it there and I shall walk away, thanK you for letting me try the template.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 01:48:16 PM
Wim sourced it from Meteoalarm, which gets data from Metoffice...

You know I sort of expected you to say this, but it is your decision. If you want to use MT, feel free to do so, if not, then thats totally fine with me too. Do whatever you want to do. I dont have any issues with you, I just reply to what you say.
Title: Re: Meteotemplate - new free website template
Post by: weather34 on July 08, 2017, 01:52:36 PM
http://www.metoffice.gov.uk/guide/weather/rss

Link to content pages
The RSS service may be used only with those platforms from which a functional link is made available that, when accessed, takes the viewer directly to the display of the full article on the Met Office Site. You may not display the RSS Content in a manner that does not permit successful linking to, redirection to or delivery of the applicable Met Office Site web page. You may not insert any intermediate page, splash page or other content between the RSS link and the applicable Met office Site web page.

so basically where ever the rss data is being used ! above quite clearly quotes if you take take the time you will find more reference on the guidance of using their data. seems quite bad that you want to use there data portray it as yours but yet offer nothing in return not even a simple reciprocal gesture ... think your attitude sux quite frankly .. as he says above design your own stuff give us something to drool over and tear apart  .. we can only judge you based on your writings ..

just my 2 pence worth ... brian
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 01:55:37 PM
Thanks Brian....
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 08, 2017, 02:17:27 PM
http://www.metoffice.gov.uk/guide/weather/rss

Link to content pages
The RSS service may be used only with those platforms from which a functional link is made available that, when accessed, takes the viewer directly to the display of the full article on the Met Office Site. You may not display the RSS Content in a manner that does not permit successful linking to, redirection to or delivery of the applicable Met Office Site web page. You may not insert any intermediate page, splash page or other content between the RSS link and the applicable Met office Site web page.

so basically where ever the rss data is being used ! above quite clearly quotes if you take take the time you will find more reference on the guidance of using their data. seems quite bad that you want to use there data portray it as yours but yet offer nothing in return not even a simple reciprocal gesture ... think your attitude sux quite frankly .. as he says above design your own stuff give us something to drool over and tear apart  .. we can only judge you based on your writings ..

just my 2 pence worth ... brian

Woah, easy tiger, this has now been taken way out of context, I have always acknowledged when using others data, never said anything to the contrary.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 08, 2017, 02:18:26 PM
And for what's its worth, nothing, and I repeat,  nothing has been torn apart
Title: Re: Meteotemplate - new free website template
Post by: kocher on July 08, 2017, 02:19:49 PM
Updated to the new version without any problem.

The speed of the update is incredible.  :roll:

Many thanks Jachym
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 08, 2017, 02:23:26 PM
I only asked if instead of having to link to the met office can the more button actually show the extra information, this whole thing has been blown up way out of proportion, quite disgusted by it to be honest, Jáchym said no, I respected that bit it's just gone on and on, this is deffo the last I am saying on it for sure, carry on ya witch hunt if you like, I'm Finshed, I have Spiderman Home coming to watch :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 08, 2017, 02:45:44 PM
It is actually a very strange approach because if everyone applied that logic, then there would be no internet, there would be no search engines etc. Why? Because what you are basically suggesting is that any external link is basically bad or undesirable. I guess your "internet" would then be called "intronet" :D Everyone uses external links.
I agree.  In fact good SEO includes links, back links, etc...

Yes, to a certain extent, but ever since Google rolled out its Penguin algorithm, the whole landscape of backlinking has changed

Me not wanting to link to competitor sites is not going to break the internet, its my preference, not the preference of billions
Me wanting to have the actual content on my site opposed to sending visitors to other sites to get it makes a lot more sense
It means more visitors, it means staying longer, it means giving the visitors the information that they need, there and then.
It also means repeat visitors, if then had to leave on a link to another site, it means i did not have what they needed, the other
site did, why would they come back to me if that other site has what they needed?

Thats the way i have always looked at it, getting the visitors, and keeping them, i used to own a large forum 38k+ members
38k because i knew what i was doing, it was called Bashys Place, i must have been doing something right :)

Hmmm.  I’d like to know your page hit volume and bounce rate.  Maybe you should share your “secret sauce” with those outside your competitive region :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 08, 2017, 02:50:08 PM
http://www.metoffice.gov.uk/guide/weather/rss

Link to content pages
The RSS service may be used only with those platforms from which a functional link is made available that, when accessed, takes the viewer directly to the display of the full article on the Met Office Site. You may not display the RSS Content in a manner that does not permit successful linking to, redirection to or delivery of the applicable Met Office Site web page. You may not insert any intermediate page, splash page or other content between the RSS link and the applicable Met office Site web page.

so basically where ever the rss data is being used ! above quite clearly quotes if you take take the time you will find more reference on the guidance of using their data. seems quite bad that you want to use there data portray it as yours but yet offer nothing in return not even a simple reciprocal gesture ... think your attitude sux quite frankly .. as he says above design your own stuff give us something to drool over and tear apart  .. we can only judge you based on your writings ..

just my 2 pence worth ... brian

Exactly why when websites are made, one mit be very careful.  I know of someone that had a website - and not some little nothing, but a rather large website and they did get caught with having “copywrited” information on it - they were forced to take it down when presented with a cease and desist and had to rework it so it was a link to the other users website.
Title: Re: Meteotemplate - new free website template
Post by: weather34 on July 08, 2017, 03:18:06 PM
bashy

get a grip will you ?  if you make a comment "The last thing a site owner should want is to send their visitors to another site" then can i not just say this sux ? i wouldn't call it a witch hunt i just find it somewhat false ...fair enough if the original content is yours and its something you put together and generate then one would expect you to try and keep the data within .but when it comes to scraping lets say I decided to use something from your website perhaps scraping your clientraw and deem it as mine and fail to acknowledge ! your gonna get the hump ? in fact you would become the man of Notre Dam or resemble a camel ! .

don't see everything as being detrimental sometimes we just quote the obvious and have to spell it out..

remember there is no body language or tone of voice in my writings so you see it somewhat different perhaps very different ..

brian
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 08, 2017, 03:32:32 PM
I have updated to v.15 without any issues and all seems to be working.  Blocks and plugins all up to date.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 08, 2017, 04:19:04 PM
Great to see it is all working as intended   :grin:
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on July 09, 2017, 05:05:19 AM
Update without problems and very fast Thanks to Jachym  :-P :-P :-P
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 09, 2017, 09:59:07 AM
Hi Jachym,
just a question about gfs Block.
Is it possible to choice which type of data or chart shows on block?
Because actually block show mandatory temperatures meteogram.
Thanks to advance,


Alessandro

Inviato dal mio SM-T535 utilizzando Tapatalk
Hi Jachym,
is it possible?
Regards,



Alessandro

Hi Alessandro,
I am not sure what you mean because the block shows not just temperature, but all the other variables as well:
http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=gfs
Hi Jachym,
now default picture is meteogram.
Is it possible to set chart as default setting?

Another question.
Is there a possibility to show an alerts when a (monthly or yearly) records is broken?
Like Curl's script on Saratoga template ;)
Please, let me know about both questions.
Regards,

Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 09, 2017, 11:00:40 AM
Hi Alessandro,
I still dont understand, the GFS block shows a graph of all the parameters at once, not just temperature, so I dont quite see what you want to set as default.

Records - this is a problem. This would cause many issues.
Just one of them:
you are a new user, with blank database and install the template in January. Then most likely, almost every day until June you would see that "year max" was broken, "monthly max" was broken etc. because from jan to Jun it would be getting warmer and warmer.
And even after 1-2 years, it is not enough to make any sort of statistic.
There are many other issues with this. Someone has already asked me about this, but it would do more harm than good.
Title: Meteotemplate - Plugin Update – Extended Graphs 3.0
Post by: Jáchym on July 09, 2017, 01:11:00 PM
Plugin Update – Extended Graphs 3.0

http://meteotemplate.com/blog/?p=2988

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 09, 2017, 05:17:31 PM
Alessandro, probably the best thing would be if you could post a screenshot and highlight where you want the change
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 09, 2017, 11:06:21 PM
Jachym,

Just noticed on update of extended graphs if you choose the 3 Parameter graph the meteotemplate icon spins behind the graph.  Tried it on your site with same result.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Colin on July 10, 2017, 12:52:54 AM
I find it amazing how quickly people turn on you.
Bashy was happy with HIS weather site. If he wanted to remove the 'more' button from HIS site then he should be able to do so without question and should not have to explain why.

When he wrote "Ah, ok, i will remove the button then, thanks." That should of been the end of it.

But no! You lot went on and on with personal insults, being called "selfish" and questioning why he wants HIS site the way he wants HIS site.

Comments like..
Quote
Well maybe given how successful you are at all this you could create a template for us all as well and Im sure it would be the best template ever.
was un-called for and just plain rude.

Quote
I’d like to know your page hit volume and bounce rate.  Maybe you should share your “secret sauce” with those outside your competitive region"
is just another smart-arsed comment.

And the post by weatherist34 was pathetic.

God help anybody that has and expresses a different opinion than you.
Title: Re: Meteotemplate - new free website template
Post by: weather34 on July 10, 2017, 03:03:08 AM
I find it amazing how quickly people turn on you.
Bashy was happy with HIS weather site. If he wanted to remove the 'more' button from HIS site then he should be able to do so without question and should not have to explain why.

When he wrote "Ah, ok, i will remove the button then, thanks." That should of been the end of it.

But no! You lot went on and on with personal insults, being called "selfish" and questioning why he wants HIS site the way he wants HIS site.

Comments like..
Quote
Well maybe given how successful you are at all this you could create a template for us all as well and Im sure it would be the best template ever.
was un-called for and just plain rude.

Quote
I’d like to know your page hit volume and bounce rate.  Maybe you should share your “secret sauce” with those outside your competitive region"
is just another smart-arsed comment.

And the post by weatherist34 was pathetic.

God help anybody that has and expresses a different opinion than you.

hello Colin

i can only say if it was taken as an insult then i stand by my comment "there is no body language or tone of voice in my writings" you simply take it as you feel .

i can think of ways of really clearly insulting someone through musing aloud .. but I don't see any reason to actually insult Bashy based on his writings (comments) I just merely said it rather SUX that you want to use a source of info without some reciprocal  link to acknowledge. If thats an insult then the world has become a rather sensitive weak minded place .

has for expressing opinions , they will always be challenged whether you or they are right or wrong its the nature of the world we live in "too many Chiefs and not enough Indians"..

anyway nice clean site you have its has some nice originality...

have a nice evening Brian..
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 06:21:30 AM
Hi,
there are situations where one´s opinion can be different from other person´s and you cant tell who is right or wrong. In this case however, it is absolutely clear that what Bashy wanted to do was unacceptable, or rather I should say, violating the T&C. In the end, it would be up to him, if he deleted the link, all I would/could say is well its your choice, but it is a bit disappointing to see such disrespect on his end.

I dont understand why you labeled Brian´s post as pathetic. His post was right to the point and quoted the exact paragraph from the Terms and Conditions of Metoffice. I dont see anything wrong with that, it is a pure fact and again, nothing to really argue about. Deleting the link is not allowed, period.

One thing I want to emphasize is that I never asked Bashy to delete his website, that was completely his decision, however in the mean time I am not going to plead him not to do it. If he didnt like his page overall, then it was an obvious thing to do, if he did, then quite honestly it is his loss, not mine. If he didnt do it and sent me a request for a download token for update to version 15, I would have sent it to him without any comments or hesitation.

But as a developer, I have to make sure certain standards are met - or at least make it clear to people about what they should / should not do and for that reason I told Bashy, he should definitely not delete that link (but again, if he did so, I cant do anything about it anyway).

Last but not least, even if we disregard the absolute condition of metoffice to do this, I personally would include it even if that condition wasnt there, simply to show a bit of appretiation for the fact you are using their data. Just like Brian correctly pointed out, you are using them and not offering anything in return. Think about how you would feel if I iframed your website and made sure that the iframe does not include any of the footer information or identification that it is actually your site. I am sure you would not like that either.

And I dont want to discuss this anymore. Bashy did what he did, it was his decision, I respect it and in the meantime I insist that what I said was correct in this case and I would have said it again and to anyone else should they want to do similar thing - thats all I can do, I cannot prevent them from doing it, but I have to inform them about it.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 06:30:11 AM
Jachym,

Just noticed on update of extended graphs if you choose the 3 Parameter graph the meteotemplate icon spins behind the graph.  Tried it on your site with same result.

Jay

Hi Jay,
thanks for letting me know I will look at it today when I have break at work, I think I know what the problem is
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 10, 2017, 08:12:23 AM
Jachym, you went off me when i mentioned about all the negative WU posts, you took it to heart but thats fine, thats up to you.

With regards to the Met Office, did you or did you not create the 1st block with a more button and that showed more information (WITH NO LINK to the MO i might add all it said was Data source: MetOffice) regardless of how much more information there was but there was some, that is what i was interested in, but you sir, jumped the gun, all i was interested in was that information back, When i said i will remove that link, it was not to remove any copyright, i was going to modify the block myself, like i had done with some of the others to get the info back, but in the end i decided to go back to the original block so in effect all this is because i spoke of removing the more link. I respect copyright (when i remember to add it, not all perfect) I belive its thre on the UK extremes block, scroll down its on the left hand side somewhere (http://brecklandweather.com/index.php?p=57&lang=en)

I am well aware of the TOC's of the UK Met office, who do you think got us all permission to use the UK extremes data from the Met Office, yep, that was me, so i know whats what, but you sir just jumped on me and before i knew it, it just blew up in my face.

You sir also pinned me down in the other thread mentioning an issue on another forum, that sir was disrespectful, What happened between Brian and I has no bearing in this forum, things are said in the heat of the moment, we have talked since.

You sir belittled me in this thread (not to mention calling me selfish) and the other thread because you took my reply totally the wrong way and well out of context, what, all because i mentioned to you about the number of the negative WU posts. 

When i finally found out which reply of mine you thought was bad, i explained it to you and you just went silent, no apology, just silence, i swear i saw a tumbleweed........

I feel this is why you slammed me down in this thread, then another coder jumped in too, saying
Quote
design your own stuff give us something to drool over and tear apart
Quote
Well maybe given how successful you are at all this you could create a template for us all as well and Im sure it would be the best template ever.
as though i was slagging off Meteotemplate, this was obviously not the case, it was a successful forum, running a forum and being a coder are totally different, the comment was said to belittle me, i am most definitely right when i said witch hunt, three of you having words all because i said i will remove the more button, no heed was taken as to what would happen next, you all just pounced..... Hats off to you all, proud of you, but most of all i am very surprised at you Jáchym.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 10, 2017, 08:35:26 AM
Alessandro, probably the best thing would be if you could post a screenshot and highlight where you want the change


Hi Jachym.
Ok,
please look these images:

(http://i.imgur.com/l9aaGIv.png)

This image is a default image of gfs block. This is the image showed when you visit my site.
Is it possible to make this image

(http://i.imgur.com/UPu2lqT.png)

like a default image instead of previous?

Other question:

Is there a possibility to show an alert (in Home) when a record (monthly or yearly or all time) is broken?
Thank you in advance.
Regards,



Alessandro


Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 08:38:11 AM
Hi,
I see what you mean, I will put it on my to-do list

Record alerts - this will not work, I explained this in the previous post
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 08:42:28 AM
Jachym, you went off me when i mentioned about all the negative WU posts, you took it to heart but thats fine, thats up to you.

With regards to the Met Office, did you or did you not create the 1st block with a more button and that showed more information (WITH NO LINK to the MO i might add all it said was Data source: MetOffice) regardless of how much more information there was but there was some, that is what i was interested in, but you sir, jumped the gun, all i was interested in was that information back, When i said i will remove that link, it was not to remove any copyright, i was going to modify the block myself, like i had done with some of the others to get the info back, but in the end i decided to go back to the original block so in effect all this is because i spoke of removing the more link. I respect copyright (when i remember to add it, not all perfect) I belive its thre on the UK extremes block, scroll down its on the left hand side somewhere (http://brecklandweather.com/index.php?p=57&lang=en)

I am well aware of the TOC's of the UK Met office, who do you think got us all permission to use the UK extremes data from the Met Office, yep, that was me, so i know whats what, but you sir just jumped on me and before i knew it, it just blew up in my face.

You sir also pinned me down in the other thread mentioning an issue on another forum, that sir was disrespectful, What happened between Brian and I has no bearing in this forum, things are said in the heat of the moment, we have talked since.

You sir belittled me in this thread (not to mention calling me selfish) and the other thread because you took my reply totally the wrong way and well out of context, what, all because i mentioned to you about the number of the negative WU posts. 

When i finally found out which reply of mine you thought was bad, i explained it to you and you just went silent, no apology, just silence, i swear i saw a tumbleweed........

I feel this is why you slammed me down in this thread, then another coder jumped in too, saying
Quote
design your own stuff give us something to drool over and tear apart
Quote
Well maybe given how successful you are at all this you could create a template for us all as well and Im sure it would be the best template ever.
as though i was slagging off Meteotemplate, this was obviously not the case, it was a successful forum, running a forum and being a coder are totally different, the comment was said to belittle me, i am most definitely right when i said witch hunt, three of you having words all because i said i will remove the more button, no heed was taken as to what would happen next, you all just pounced..... Hats off to you all, proud of you, but most of all i am very surprised at you Jáchym.

Ive had enough, you are no longer using it so please dont post anything in this thread. The original block did not have that and that was exactly why I released the new version. And thats all, I dont want to have any other posts about this in this thread ok? You probably enjoy labeling yourself as a scapegoat and put all the blame on others, the reason I mentioned the WD forum was for exactly this very reason, maybe you should sometime also think a bit about whether you are partly also not the one making the mistakes.

But anyway, I have to say that out of the 730 users Ive been in touch with, I only had problems with one of them so I dont think I should change anything in general. I asked you already to please stop discussing this issue and I thought you wanted that as well, so dont understand why you come back to it again, or if you feel the need to do so, please create a new thread, I dont it in this one any more, it is just spam for others.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 10, 2017, 08:46:16 AM
Hi,
I see what you mean, I will put it on my to-do list

Record alerts - this will not work, I explained this in the previous post

Thank Jachym,
sorry for alert question, i haven't see your post.
Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 08:48:34 AM
Hi Alessandro,
I am looking at the GFS block, it should not be a problem to do.
Title: Meteotemplate - Block Update - GFS 2.0
Post by: Jáchym on July 10, 2017, 09:03:07 AM
Block Update - GFS 2.0

http://meteotemplate.com/blog/?p=2992

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on July 10, 2017, 10:13:35 AM
Hello Bashy,

I have been reading the posts between you and Jachym and watched the conversation deteriorate. As you are now well aware the warningsUK block had to be updated so as not to contravene the Met Office rules. This appears to be the change that you were not happy about, now when you click on the 'More' button to read the detail of the warnings, the visitor is taken to the Met Office website and away from yours.

This did not bother me in the slightest when I updated it, but it clearly bothered you, you want visitors to remain on your site and not have to go elsewhere. This is the bit I feel you personally have to wrestle with and hopefully let go of, visitors to your site may well have arrived there by links somewhere else on the Internet - it works both ways.

I never saw your MeteoTemplate website and now believe you have deleted it - which is such a shame, just a little give way on your part and none of this would have taken place.

John
Title: Meteotemplate - Plugin Update - Extended Graphs 4.0
Post by: Jáchym on July 10, 2017, 10:23:21 AM
Plugin Update - Extended Graphs 4.0

Hi guys,

I thought it would be nice to also have a “month comparison” (annual comparison is already available in the overall statistics pages). So I added a new monthly comparison graph to the Extended Graphs. You can select combination of any months and compare them on a single graph, for all the parameters you can choose between showing an average or range, for precipitation you will always see a column graph of daily sum.

In addition I fixed some minor bugs.

DEMO: http://www.meteotemplate.com/template/plugins/extendedGraphs/monthComparison.php

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 04:30:54 PM
Hi guys,
not that I would completely agree with the method used to measure this (which I explained here in the past), but still, this looks good :)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 10, 2017, 05:48:29 PM
Hello Bashy,

I have been reading the posts between you and Jachym and watched the conversation deteriorate. As you are now well aware the warningsUK block had to be updated so as not to contravene the Met Office rules. This appears to be the change that you were not happy about, now when you click on the 'More' button to read the detail of the warnings, the visitor is taken to the Met Office website and away from yours.

This did not bother me in the slightest when I updated it, but it clearly bothered you, you want visitors to remain on your site and not have to go elsewhere. This is the bit I feel you personally have to wrestle with and hopefully let go of, visitors to your site may well have arrived there by links somewhere else on the Internet - it works both ways.

I never saw your MeteoTemplate website and now believe you have deleted it - which is such a shame, just a little give way on your part and none of this would have taken place.

John

I do not want to keep this thing going but want to make a statement.  You cannot please everyone.  I would say 1 out of 500 people is not bad.  I bet if he had to pay for it, it would not be used.  People want things for free AND want it THEIR way.  That is just not the right thing.  Could you imagine calling Apple and telling them to change something and when they don't getting all nasty?  I am sorry but I have to side with the other 700+ users and say that I am very happy with the template.  Do I like all of it?  Probably not.  Would I like to customize some things?  Probably yes.  That said I completely respect the reasons the develop has made decisions and more importantly respect the TC of the various components within.  I have seen the posts by this person in other forums on and off this site and I have to say that unless you seen some of the interactions, you would not understand.  Don't sweat it Jachym (obviously it does not bother you which is GOOD) and keep up the great work.  If it weren't for people like Jachym, I would still be sitting here with a pathetic website - if any at all.  You have made it possible for me to ENJOY it without all the work in developing and reading on how to do it.  Does that make it difficult  Yes!  I have asked many a stupid question, but in the end this has been amazing.

Thank you!!!
Title: Re: Meteotemplate - Block Update - GFS 2.0
Post by: jeffm5690 on July 10, 2017, 05:49:01 PM
Block Update - GFS 2.0

http://meteotemplate.com/blog/?p=2992

Enjoy

Absolutely love the ability to make this change in settings!  Thanks!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 10, 2017, 06:59:46 PM
Thanks, always welcome
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on July 10, 2017, 11:18:51 PM
Hi guys,
not that I would completely agree with the method used to measure this (which I explained here in the past), but still, this looks good :)
Mine is much different!!!

Not that I really care but ......

Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 11, 2017, 01:08:08 AM

I do not want to keep this thing going but want to make a statement.  You cannot please everyone.  I would say 1 out of 500 people is not bad.  I bet if he had to pay for it, it would not be used.  People want things for free AND want it THEIR way. 

Look, Jachym asked me to stop posting, how can i stop when people keep making "statements"

Now you've brought it up, I DID PAY!! (donate) not a lot but some and no doubt a lot more than many

jeffm5690, where are you getting off on this? you are speaking as though i have issues with MT
stop saying that, i do not have any issues at all with MT.

So many times i have literally walked away from this thread and let it go back to support

From the 6th that was the end of it, until you jeffm5690 revived it and again this time round
If i am to keep out of this thread with regards to this then should it not apply to others too?

Quote
I have seen the posts by this person in other forums on and off this site and I have to say that unless you seen some of the interactions, you would not understand.

Fab, glad you can read, it wasnt really a secret that Brian and i had a disagreement, but another trying to discredit
me is again, out of order, there are always 2 sides to a story and in both cases, glass half full springs to mind
and again, it has no bearing on you guys jumping on me because i wanted to modify a block.
Yes, exactly that, who brought up SEO, wasnt me, i was only interested in modifying the block,

You also said forums, thats plural, that makes it sound like you have seen something in more than one other, that sir
is untrue and misleading, unless of course i have forgot something of which case please, pray tell?

Quote
Could you imagine calling Apple and telling them to change something and when they don't getting all nasty?

Your statement is inaccurate, i have not told anyone to do anything, i have not gotten nasty. i asked, was told no and i said thanks.

Quote
Do I like all of it?  Probably not.

That is more than i have ever said, i would not have the nerve

All i have ever done in this forum is defend myself, i have not been abusive, i asked about a block, the short answer
was no, i said i will remove it and said my thanks
, to me, that was the end, should have been the end

The issue is not localised to this thread, it spans 2 others and originated from a WU issue thread, i dont care
how you want to look at it, that is what happened.

To me the ride is over, it was days ago. but i will say it once more, i have NO issues with MeteoTemplate, please stop saying i do, i dont even have an issue with Jachym, to me its finished with
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 11, 2017, 05:51:12 AM
Hi guys,
not that I would completely agree with the method used to measure this (which I explained here in the past), but still, this looks good :)
Mine is much different!!!

Not that I really care but ......

Hi,
this pretty much depends on several things - your server speed and whether it compresses data, the block choice and partly also "luck", it could be that my site is simply more visited so each user has a lower probability of reloading the cache since someone else has already done so (and in this case the user was obviously Google), this is also a major thing because loading external data happens in the backend via PHP, so it will count towards the overall time.

In the meantime, 10s is still quite good, especially because Google does not take into account how Meteotemplate works. On a normal page, 10s could be a lot, but for Meteotemplate it is not that much because of the way it is built - i.e. the blocks load gradually so the first one might load after 0.5s, second after 1s.... and after 10s they were all loaded, but you could start using the page and look at the data much earlier than that.
Title: Meteotemplate - Block Update – Current Conditions 15.0
Post by: Jáchym on July 11, 2017, 01:10:36 PM
Block Update – Current Conditions 15.0

Hi guys,

this is a major update of the Current Conditions block. In this update I added a brand new “dashboard”, which shows detailed information about current conditions.

New:
- detailed current conditions dashboard
- includes new parameters such as heat index, humidex, wet-bulb temperature, indoor temperature, saturation water vapor pressure, station/sea-level pressure, absolute humidity etc.
- now uses combination of API and database
- auto-scaling depending on sensor availability (the dashboard will look different depending on whether you do or do not have solar and UV sensor) – ideally use in a wide column or as header block
- dashboard colors based on alltime extremes
- database values: daily max solar radiation, rain rate
- added smart caching to ensure very fast loading and possibility of quick update intervals
- optimization – more features, 50% smaller size

DEMO - wide block: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current
DEMO - header block: http://www.meteotemplate.com/template

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 11, 2017, 01:54:11 PM
Quote
Block Update – Current Conditions 15.0

Hi guys,

this is a major update of the Current Conditions block. In this update I added a brand new “dashboard”, which shows detailed information about current conditions.

New:
- detailed current conditions dashboard
- includes new parameters such as heat index, humidex, wet-bulb temperature, indoor temperature, saturation water vapor pressure, station/sea-level pressure, absolute humidity etc.
- now uses combination of API and database
- auto-scaling depending on sensor availability (the dashboard will look different depending on whether you do or do not have solar and UV sensor) – ideally use in a wide column or as header block
- dashboard colors based on alltime extremes
- database values: daily max solar radiation, rain rate
- added smart caching to ensure very fast loading and possibility of quick update intervals
- optimization – more features, 50% smaller size

DEMO - wide block: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=current
DEMO - header block: http://www.meteotemplate.com/template

Enjoy

Jachym,

Great job on this update!  I really like the extra detail.

Jay
Title: Meteotemplate - Block Update - Current Conditions 15.1
Post by: Jáchym on July 11, 2017, 06:41:45 PM
Block Update - Current Conditions 15.1

Hi guys,
based on feedback:
- added option to hide indoor data
- station pressure bug fix

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 11, 2017, 07:36:19 PM
The download token mechanism works great. It prevented one fatal bug being distributed during the last v15 update and also helped to distribute server load and optimize the update process.
If interested, attached is a screenshot of daily visits to the page and what it looks like when new version is released (and it was on Sat, usually the calmest day of the week)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on July 11, 2017, 07:49:20 PM
The download token mechanism works great. It prevented one fatal bug being distributed during the last v15 update and also helped to distribute server load and optimize the update process.
If interested, attached is a screenshot of daily visits to the page and what it looks like when new version is released (and it was on Sat, usually the calmest day of the week)

I love the token process.  It seems that since implemented the site is more responsive when downloading.  Maybe it’s a placebo effect or maybe it’s due to lighter loads.  Either way it’s a good way to control the traffic and distribution,
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 11, 2017, 08:12:01 PM
I received 67 download token requests within 10 minutes after release, just counted the emails... so yes, if 67 people were trying to download the file at the same time, the server would struggle...
I also noticed the fatal error, which actually made the page completely non-functional, after the first user installed it and immediately updated the update package before anyone else downloaded it.
Time should also not be an issue, the person who had to wait the longest for a token waited less than 8h, usually I sent it within an hour. I know it would be easier without it for you as individual, but overall this does work better - not to mention the other reasons, I openly admit that I want to have some control over who is downloading it since there were individuals who wanted to sell the template in the past and it also prevents bots from downloading the files periodically.
Title: Meteotemplate - Block Update – UV 2.0 + Extra sensor blocks/plugins
Post by: Jáchym on July 12, 2017, 09:56:56 AM
Block Update – UV 2.0 + Extra sensor blocks/plugins

http://meteotemplate.com/blog/?p=3005

Enjoy
Title: Meteotemplate - New Block – Extra Temperature Sensors
Post by: Jáchym on July 12, 2017, 12:16:44 PM
New Block – Extra Temperature Sensors

Hi guys,

name of this block is probably self-explanatory. This block loads data from any extra temperature sensors you have. Before installing it, check that you actually have some data in your api. Either use the API viewer plugin or look directly in meteotemplateLive.txt in your template root, extra temperature sensors are labeled as T1, T2, T3….

The block supports up to 8 sensors and also allows you to specify a name for each.

DEMO: http://meteotemplate.com/blog/?p=3010

Note: since I don´t have any extra temperature sensor, the demo is static, only for demonstration purposes

Enjoy

Title: Re: Meteotemplate - new free website template
Post by: Paul on July 12, 2017, 12:28:52 PM
Thought I would ask everyone what they are doing if they have missing data?
I've had a 12 hour outage caused by my ISP which coincided with some very wet weather here in the UK.

I'm using WD and Jachym's API to get data into the DB.
Jachym's API is set to add a new record in the DB every 5 minutes.

I do have the missing data in my WD Log files but they are in minute intervals.

I could import them directly via Jachym's import scripts but then would have a mixture of 1 and 5 minutes in the DB which would not be good for calculations I imagine.

So I wonder what the options are?

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2017, 01:29:11 PM
See database reformating in wiki, that script will convert 1min to 5min
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 12, 2017, 02:26:13 PM
Jachym, will the reformat script be ok for a mixed database, i.e my normal 5 min database with a 1 min log imported for the missing data.

That is to say is it smart enough to leave the records with 5 min intervals alone and only aggregate those record which are at 1 minute intervals?

See database reformating in wiki, that script will convert 1min to 5min
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 12, 2017, 03:09:31 PM
Well... I think it should, but :D Do you know how to use PHPMyAdmin? If so, make a backup of the alldata table before doing the reformatting
Title: Re: Meteotemplate - new free website template
Post by: Paul on July 12, 2017, 04:48:38 PM
Yes I can use PHPMyAdmin to copy the DB.

What I will probably do is have a new MT instance in a different folder so I can setup new DB connection info, I can then use this test database with your reformatting and importing scripts.

Title: Re: Meteotemplate - new free website template
Post by: stewart45 on July 13, 2017, 06:08:25 AM
the radarUK block has been working fine for a couple of days since install, today it started throwing up an error on loading. any ideas anyone
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2017, 06:31:42 AM
Problem with Google Maps Key,
press F12 and you should see the error in the browser console
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on July 13, 2017, 06:44:40 AM
thanks for the reply, this is the error, works fine in Chrome
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 13, 2017, 07:13:52 AM
Hi,
yes, which means the referrer for the API key is not correct, you need to fix this in your Google API console
Title: Meteotemplate - Bug Fixes 15.0
Post by: Jáchym on July 13, 2017, 07:20:42 AM
Bug Fixes 15.0

Important! http://meteotemplate.com/blog/?p=3014

Enjoy
Title: Meteotemplate - New Block – Humidity – Extra Sensors
Post by: Jáchym on July 13, 2017, 10:15:31 AM
New Block – Humidity – Extra Sensors

http://meteotemplate.com/blog/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 13, 2017, 07:19:04 PM
Hi Jachym,
interactive graph version 7 is no longer working on my site: http:www.meteopistoia.it
Any idea?

Regards,



Alessandro
Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 13, 2017, 09:14:47 PM
Hi Jachym,
interactive graph version 7 is no longer working on my site: http:www.meteopistoia.it
Any idea?

Regards,



Alessandro

Try Admin/Block Setup/ and open up the setting file for interactiveGraph.  Click on save.
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on July 14, 2017, 02:03:29 AM
Hi Jachym,
interactive graph version 7 is no longer working on my site: http:www.meteopistoia.it
Any idea?

Regards,



Alessandro

Try Admin/Block Setup/ and open up the setting file for interactiveGraph.  Click on save.

Perfect!
Thank you so much  =D&gt; =D&gt; =D&gt;
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 14, 2017, 03:27:02 AM
After updating a block/plugin, always go to the settings and update the settings file, even if you dont change anything
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 15, 2017, 12:27:45 AM
BugFix15 and all plugins and blocks up to date.  All seems good.

Paul
Title: Meteotemplate - New Plugin – Precipitation Analysis
Post by: Jáchym on July 15, 2017, 08:24:17 AM
Hi guys,

New Plugin – Precipitation Analysis

this new plugin concentrates on precipitation. I know that the default pages don´t show all the info you might want so I decided to make this additional plugin for those who want to see more precipitation data.

- annual totals + interpolated total for current year
- monthly totals, averages
- comparison with normal values (specified in plugin setup page based on long term averages for your location)
- calculation of days with precipitation above thresholds specified in setup
- visual annual heatmaps
- overall extremes
- longest dry/wet periods
- cumulative totals
- zoomable timeline of all data
- percentage ratios
- sortable tables + interactive graphs
- optimized for very fast loading without caching, so all data is calculated in realtime

DEMO: http://www.meteotemplate.com/template/plugins/precipitationAnalysis/

Enjoy
Title: Re: Meteotemplate - New Plugin – Precipitation Analysis
Post by: droiddk on July 15, 2017, 09:09:00 AM
Hi guys,

New Plugin – Precipitation Analysis

this new plugin concentrates on precipitation. I know that the default pages don´t show all the info you might want so I decided to make this additional plugin for those who want to see more precipitation data.

DEMO: http://www.meteotemplate.com/template/plugins/precipitationAnalysis/

Enjoy

Wow, that's for sure is a huge load of data, fantastic plugin! Very informative.

Regards
Title: Re: Meteotemplate - New Plugin – Precipitation Analysis
Post by: Paul on July 15, 2017, 01:57:22 PM


Wow, that's for sure is a huge load of data, fantastic plugin! Very informative.

Regards

Agreed, great plugin Jachym. Grabbed 30 year averages from the Met Office.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 15, 2017, 05:39:08 PM
OK, well Im glad you like it, I will see if I can make more plugins like this, concentrating on blocks/plugins related to your station (these are also easier for me to maintain since I can add new features and there is no need to constantly fix them based on changes in external sources :D)
Title: Meteotemplate - Plugin Update – Data Distribution 2.0
Post by: Jáchym on July 16, 2017, 09:43:00 AM
Plugin Update – Data Distribution 2.0

Hi guys,

I added a brand new page called “heatmap”, which shows an annual overview of the selected paramter. Thanks to implementing the Highcharts Turboboost feature, this page should load fast enough to be usable (hopefully 😀 I wanted to do this before but only now I see it as fast enough).

I also created a new index page for this plugin, so make sure that if you update this plugin you also need to update your menu.

New:

- annual heatmaps
- new index page
- optimization

DEMO: http://www.meteotemplate.com/template/plugins/distributions/

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 16, 2017, 10:07:38 AM
I have updated, including update menu.
The Graphs display nicely but get no data/map in HeatMap, just a short Loading.. message and after that is finished no data/map shown.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 16, 2017, 10:10:08 AM
Hi Paul,
I see everything fine on your page
Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 16, 2017, 10:13:36 AM
Hi Paul,
I see everything fine on your page

This is strange as I can't see the heatmap data from my site, Paul's, or Meteotemplate.

Update - I'm using a Macbook Pro and it seems that there's an issue with FF displaying the heatmap.   When I bring it up in Safari it shows up fine.
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 16, 2017, 10:20:21 AM
Here as well, I can't see Jachym's HeatMap.  Harpers Ferry doesn't give me the HeatMap icon, is it/menu updated?

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 16, 2017, 10:23:01 AM
Im looking at it, it works in Chrome, Opera, based on your feedback Safari as well, and surprisingly, works fine even in IE! The only problem seems to be in FF, which is strange, it shows no errors...
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 16, 2017, 10:24:05 AM
Looks like a FF issue as I can see Jachym's and my HeatMap in Chrome.

Paul
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 16, 2017, 10:32:44 AM
This is the first time I have ever seen a problem in FF, which does not occur in any other browser... Im looking for the issue, but it might take some time, because I am at work and I released it during break and there is no error in the console, making it problematic to find the issue
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on July 16, 2017, 10:35:43 AM
Same issue here, doesn't work in FF but does in Chrome.  Note I'm running Linux in case that makes any difference!

Bill
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 16, 2017, 10:38:12 AM
Found the problem:

http://meteotemplate.com/blog/?p=3041

One extra tab in the HTML :D Would you believe this would make it non-functional? :D
Title: Re: Meteotemplate - new free website template
Post by: tstorm on July 16, 2017, 10:42:14 AM
Thanks Jachym!  That fixed the issue with FF.
Title: Re: Meteotemplate - new free website template
Post by: KapitainOne on July 16, 2017, 10:44:27 AM
Yes that fixed it, but it sure highlights the times I've got data missing !! 
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 16, 2017, 11:01:23 AM
Yes now fine here too.

Paul
Title: Re: Meteotemplate - new free website template
Post by: danb35 on July 16, 2017, 05:28:31 PM
I'd emailed Jachym about this, but as he doesn't have an iPad, it's hard for him to troubleshoot.  I'm having a problem with the mobile home page on my iPad.  When I load the page in portrait mode, it looks fine:
 [ You are not allowed to view attachments ]
But when I load it in landscape mode, the whole menu is expanded, requiring me to scroll down quite a bit before I get to the page data:
 [ You are not allowed to view attachments ]

If I load the page in portrait mode, and then rotate the iPad to landscape mode, the menu opens up as above.  Likewise, if I load the page in landscape mode, and then rotate the iPad to portrait mode, the menu closes.

I see this in Safari, Firefox, and Chrome on the iPad.  However, if I load the desktop page on the iPad, it works fine in either orientation.  Thoughts?
Title: Re: Meteotemplate - new free website template
Post by: Colin on July 17, 2017, 12:33:37 AM
Don't think it is a problem with your installation as such. I think it is just Meteotemplate.
It is not just your site. It is like that on all Meteotemplate sites I visit using my iPad.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 17, 2017, 06:08:10 AM
Yes, I know about it, it happens on all iPads (based on what I have been told)
Title: Meteotemplate - updates
Post by: Jáchym on July 17, 2017, 09:13:27 AM
Hi guys,

Block Update – Extra Temperature Sensors 2.0
Block Update – Extra Humidity Sensors 2.0


- added possibility to hide certain sensors – for example, if in your API file you have data from sensors 1, 2 and 3, then if in the sensor name specification you only provide names for sensors 1 and 3, sensor 2 will not be shown in the block

Enjoy
Title: Meteotemplate - Plugin Update – Precipitation Analysis 2.0
Post by: Jáchym on July 17, 2017, 10:24:30 AM
Plugin Update – Precipitation Analysis 2.0

http://meteotemplate.com/blog/?p=3049

Enjoy
Title: Meteotemplate - 2nd anniversary
Post by: Jáchym on July 18, 2017, 07:52:25 AM
Meteotemplate - 2nd anniversary

http://meteotemplate.com/blog/?p=3053 + interesting infographic :)

Enjoy :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 18, 2017, 07:58:27 AM
Congrats, have sent you a little something, no hard feelings eh'  :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2017, 09:26:30 AM
Thank you very much Bashy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 18, 2017, 09:29:39 AM
Very welcome, hope it helps :)
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 18, 2017, 10:00:29 AM
Congratulations Jachym, you and Meteotemplate  have come a long way http://www.wxforum.net/index.php?topic=25900.msg249467#msg249467
Quote
May 26, 2015
Hi guys,yes... the day has finally come and I have first files to test.  Meteopage template testing - v. 0.0.0.0......
Paul

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 18, 2017, 10:56:20 AM
:D Yes Paul, that was not even 1.0, that was still 0.x Beta :)
Title: Re: Meteotemplate - 2nd anniversary
Post by: jeffm5690 on July 18, 2017, 11:04:35 AM
Meteotemplate - 2nd anniversary

http://meteotemplate.com/blog/?p=3053 + interesting infographic :)

Enjoy :)

Amazing accomplishment Jachym!  Thank you and CHEERS!
Title: Meteotemplate - Plugin Update – Data Distribution 3.0
Post by: Jáchym on July 18, 2017, 01:52:03 PM
Plugin Update – Data Distribution 3.0

Hi guys,

in this new version I added interval selector – this allows you to choose any time interval from your database, both shorter (eg. a few months) or longer (eg. the entire period of measurement). In addition, I used a new interval selector, which should be easier to use and also fully localized in terms of both language and date formats so hopefully that works too.

DEMO: http://www.meteotemplate.com/template/plugins/distributions/heatmap.php

Enjoy
Title: Meteotemplate - New Block
Post by: Jáchym on July 18, 2017, 05:30:12 PM
New Block – Weather Facts – Czech Republic

http://meteotemplate.com/blog/?p=3056

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 19, 2017, 02:30:31 AM
Hi Jachym, does this look right to you?

http://www.brecklandweather.com/meteotemplateextralog22017.txt

Namely the date being on a differently line but, mostly the time is HH:MK

Then confusion sets in with regards to php and 0 and the numbering of the fields, i.e. what number would UV be please?
is it 3 or 2 or is it number 1 because its the 1st sensor field discounting date and time? i was going to experiment and
find out for myself but, that time issue is stopping me going further

Code: [Select]
Parsing line 0 finished.
Checking validity of date...
Checking date and time...
There seems to be a problem with the date and time. Either it has not been parsed correctly or it is a date/time in the future! Check the format you specified and also the actual values.


There is a problem with the date and time, nothing would be imported. Check the date/time format you specified and the actual values in the file.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 19, 2017, 06:00:15 AM
Hi Bashy,
the date on a new line seems strange and probably should not be that way (if it does not work, this is the cause).
With regards to column numbers, they are absolute, i.e. you start counting with the first field no matter if it is date, time etc.

Eg:

Fields:
Date,time,temp, humidity, UV

UV would be 4 (0,1,2,3,4), temp would be 2, time 1, date 0 and humidity 3
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 19, 2017, 06:41:11 AM
Ah OK that makes sense, I thanks, regards to that date issue is from the files that Brian has recently added to the MT setup screen in wd.
Title: Meteotemplate - Block Update – Station Data 8.0
Post by: Jáchym on July 19, 2017, 12:32:31 PM
Block Update – Station Data 8.0

http://meteotemplate.com/blog/?p=3061

Enjoy
Title: Meteotemplate - New Block – Germany – Climate
Post by: Jáchym on July 20, 2017, 08:25:56 AM
New Block – Germany – Climate

Hi guys,

this new block shows climate data for German cities, in the settings you can choose the default one.

- average monthly temperature
- average min/max monthly temperature
- average monthly precipitation
- average monthly number of wet days
- average monthly sunshine hours
- 40 cities available

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=climateDE

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Andy Thompson on July 20, 2017, 10:52:16 AM
Hi,

I tried doing the update to Version 15 this morning and I keep getting a 500 Error when I try to go to the update page. The funny thing is that it worked once, but towards the bottom of the update page it said that it could not write to the back up file to back up Version 14. Could it be something with the permissions I have set? I could use some help.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 20, 2017, 11:06:35 AM
Hi,
if it cannot create backup folder it means that the backup folder of the template is not writable for the script. All the template directories must be writable, not just the backup one, the template needs to be able to write settings files, cache files etc. and in this case also overwrite your original v14 files
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on July 20, 2017, 02:12:55 PM
H Andy, just in case this helps, when I updated to version 15 I also had a similar problem, after looking at the folder structure I noticed the 'backup' folder was not there in the first place, so I created it with Filezilla and then the update performed perfectly.

John
Title: Meteotemplate - Block Update – Database Info 3.0
Post by: Jáchym on July 21, 2017, 08:30:27 AM
Block Update – Database Info 3.0

Hi guys,

I decided to redesign this block and show some extra info. First of all I changed the way the duration of measurements is displayed. Instead of showing something like 6 years = 72 months = …. days etc. it now shows something like 6 yrs, 2 months, 3 days etc.

Next I also added a “more” section, which shows all the parameters that are being logged and I also implemented the new alldataExtra table, so if you are saving data from any extra sensors, it will appear in the table as well.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoNarrow.php?block=dbInfo

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Andy Thompson on July 21, 2017, 09:50:17 AM
HI all,

I got it working yesterday, but I had to shift some files around to do so. But I do have another question, on the Partner station block, what is the user name that has to go in there? I'm not sure what that means.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 21, 2017, 10:05:31 AM
Andy,

I think that the user name is what you want to identify the station as.  Such as the name of the owner or the name of the site.  My user name could be Las Cruces Weather or Jay's Weather or your choice.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 21, 2017, 10:05:43 AM
Hi,
it can be anything, it is basically the name of the station shown in the block, the data is loaded based on the WU ID
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 21, 2017, 01:26:05 PM
Plugin Update – Station Feed 2.0

Hi guys,

- implementation of API – the current conditions data now shows the most recent values directly from the API file (previously loaded last record from database)
- now includes extra sensor data if available (UV, soil temperature, sunshine hours etc.)
- optimization

DEMO – JSON: http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=json

DEMO – XML: http://www.meteotemplate.com/template/plugins/stationFeed/index.php?format=xml

Enjoy
Title: Meteotemplate - Block Update – Station Data 8.1
Post by: Jáchym on July 22, 2017, 11:22:00 AM
Block Update – Station Data 8.1

http://meteotemplate.com/blog/?p=3071

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 23, 2017, 06:42:11 PM
Hi All:

I switched my site over to SSL today.  All is well except the station thinks it is offline.  I've changed the path in the main setup to https://www.kpw3.com
but the current block is not displaying the current data.

Take a look:  https://www.kpw3.com/meteo (https://www.kpw3.com/meteo)

Thanks,

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 23, 2017, 07:11:27 PM
What software do you use for the updates? Do you use a CRON job? In such case you also need to update the CRON URL
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on July 23, 2017, 11:22:00 PM
I am using Cumulus. Using this, the one I had been using, with a cron job did not work:

Code: [Select]
/usr/bin/curl -s "https://localhost/meteo/update/update.php?password=xxxx
Changing it to:

Code: [Select]
/usr/bin/curl -s "https://www.kpw3.com/meteo/update/update.php?password=xxxx
Fixed it.

Thanks,

--K



Title: Re: Meteotemplate - new free website template
Post by: danb35 on July 24, 2017, 09:12:36 AM
Code: [Select]
/usr/bin/curl -s "https://localhost/meteo/update/update.php?password=xxxx
curl is most likely dying on this because your TLS certificate isn't valid for "localhost".  There's a command-line flag you could use to tell curl to ignore the mismatch, but the better answer is to just use the proper hostname (as you've done).
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on July 25, 2017, 07:38:16 AM
Now don't anybody jump down my throat for this one, just a polite query, or showing my ignorance, I see a lot of the text on the template with Abbr after them i.e. MaximumAbbr, does it stand for abbreviation when in this case Maximum is not an abbrevation
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2017, 07:50:38 AM
Solution: http://www.meteotemplate.com/web/translations/index.php

Make sure you keep those files up-to-date, people often don´t upadte the language files because in English it usually works - usually :-) Not always
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on July 25, 2017, 08:35:07 AM
Just updated language files still getting Abbr after some of the text, (see attachment one example) looks a bit strange
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 25, 2017, 08:38:22 AM
Could be that you didnt select language at all, go to Control panel and click the Check for errors link and see if it finds any problems
Title: Re: Meteotemplate - new free website template
Post by: stewart45 on July 25, 2017, 08:51:32 AM
You were right, no default language selected, once again many thanks
Title: Meteotemplate - Block Update – Count Down 3.0
Post by: Jáchym on July 25, 2017, 08:54:35 AM
Block Update – Count Down 3.0

http://meteotemplate.com/blog/?p=3083

Enjoy
Title: Meteotemplate - New Plugin - Blog
Post by: Jáchym on July 26, 2017, 08:51:55 AM
Meteotemplate - New Plugin - Blog

Hi guys

http://meteotemplate.com/blog/?p=3090

Enjoy
Title: Meteotemplate - updates
Post by: Jáchym on July 27, 2017, 08:39:57 AM
Hi guys

Plugin Update – Precipitation Analysis 2.1 - http://meteotemplate.com/blog/?p=3107
Plugin Update – Australia – Radar 1.2 - http://meteotemplate.com/blog/?p=3093
Block Update – Database Info 3.1 - http://meteotemplate.com/blog/?p=3109
Block Update – Station Data 8.2 - http://meteotemplate.com/blog/?p=3113

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2017, 05:54:20 AM
Ideas?

http://meteotemplate.com/blog/?p=3120
http://meteotemplate.com/blog/?p=3126
Title: Re: Meteotemplate - new free website template
Post by: Bashy on July 28, 2017, 05:58:57 AM
Hi, IE11 has about 13% market share, theres the other section where folks may be using earlier IE versions too

https://www.netmarketshare.com/browser-market-share.aspx?qprid=2&qpcustomd=0
Title: Re: Meteotemplate - new free website template
Post by: nitrx on July 28, 2017, 06:12:38 AM
According to statscounter http://gs.statcounter.com/browser-market-share/all/netherlands 8% uses IE in my country  ](*,)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2017, 06:31:13 AM
Hi, IE11 has about 13% market share, theres the other section where folks may be using earlier IE versions too

https://www.netmarketshare.com/browser-market-share.aspx?qprid=2&qpcustomd=0

Unbelievable, you would have to pay me to use it...

Anyway, so the question is, what to do now. If I use it, 13% of users will have a problem (solvable problem...), and 87% users, including mobile ones, will have a nice page. If not, everyone will have something, but not always nice.
Title: Re: Meteotemplate - new free website template
Post by: weather34 on July 28, 2017, 06:38:30 AM
:-) dont be a defeatist Jachym work on it this is what you call laziness  :-) !! it doesn't matter wether you recommend it or not make your template work in everything , you will be better respected by those that know a thing or two about web design . nothing is easy you just need to concentrate on getting your template working across all platforms you spend too much time pumping out add-ons and not dealing with the design flaws . don't be angry 4 weeks ago i went to a school to arrange a setup of 2 weather stations and have them on the net , we went through around 15 of your users list and not one displayed well on a iPad , the IT guy was disappointed as it had all the features the students could use but the problem is every student is issued an iPad its one of there educational tools . they opted for Ken Saratoga template for there educational purpose and my template for general use because it was essential to have everything functional on the iPad and Safari. don't ignore it Jachym what not may be of use to you or popular in your country it is certainly popular elsewhere ..i really hope you nail it in terms of design and please fix that menu its a nightmare on any IOS device ..

user experience is critical Jachym and like it or not many companies using windows as a working tool use internet explorer and many companies using MAC use safari..

dont put a message out there this site is not useable on IE it just forcing the issue and basically saying install another browser ..so anyone who uses your template offers nothing to a casual user who may be looking for the weather in a particular location..

one day i hope to be able to use your template with my devices and computer hardware..as it stands now I cant or I can in a limited way ..

flexbox has been around for a while in different forms began in 2011 !! its lighter than using a bootstrap

 -ms-flexbox

don't be offended its time to work on the design !

brian ...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2017, 06:51:44 AM
Hi Brian,
I am well aware of the fact MT does not work well on practically any Apple device, I am not trying to find excuses, but you have to understand that it is like me asking you to develop stuff for something where you cannot test, never see the result... it is close to impossible. As you know yourself, Safari cannot be installed on any device other than an Apple device, not to mention the fact that Safari on iPhone and Ipad might produce different results compared to desktop Safari. If I had an iPad and was able to see the result, I could probably do something about it. Like this... very unlikely, and even if someone sends me a screenshot, it is not that helpful, I can change something, but we are back again in a situation where I cannot see whether the change made any difference. Emailing with someone with an iPad back and forth is absolutely inefficient and will not work in long term anyway.
You are in a sense right, but you look at it from a perspective of a company that offers a product. My situation is slightly different. With very outdated hardware I develop a page primarily for myself (or rather I should say, originally primarily for myself), which others can use if they want to, given I can never guarantee it will work or display nicely. I am not a programmer, I have limited resources, and very limited time, especially when over 50% of the time now goes towards support. With regards to adding new stuff - again, this is now almost exclusively done on direct requests from people. Again, I know you might see this as an excuse, but Im just saying what the current circumstances are and based on experience, it is unlikely to change anytime soon.

Your template is great in that it is very simple and concentrates on that one single page, which on the other hand can be made to perfection. For some this is exactly what they are looking for. Others might prefer more things at the expense of it not always being 100% correctly displayed, and then they might opt for MT. Not once did I recommend your template to people when they thought setting up MT was too complicated. It is simply an alternative.

With 750 users you will never be able to please everyone. Never, especially not in a situation Im in.

However thanks a lot for your feedback and with regards to IE, I never said I will make this change which would result in non-functional page in IE. With regards to Safari - it was obviously never the case I would intentionally make it unusable on iPads etc., there is simply nothing I can do about it, just think about how many hours you spend testing and tweaking yourself and in your case, basically just that one page. It takes time and it requires certain HW and SW to do it. I do the best I can. One particular thing I know does not work in Safari is one of the gauges blocks (fortunately there is an alternative). But when i asked those people if they could at least try to see if they can diagnose the problem, I never got any useful feedback, again putting me into a position where I see something working fine, and being unable to replicate the problem, thus unable to solve it - fixing something that to me works perfectly fine.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2017, 07:00:52 AM
Quote
don't be angry 4 weeks ago i went to a school to arrange a setup of 2 weather stations and have them on the net , we went through around 15 of your users list and not one displayed well on a iPad , the IT guy was disappointed as it had all the features the students could use but the problem is every student is issued an iPad its one of there educational tools . they opted for Ken Saratoga template for there educational purpose and my template for general use because it was essential to have everything functional on the iPad and Safari.

I am not angry at all, what I would say about this is - Im glad they found a solution that worked
Title: Re: Meteotemplate - new free website template
Post by: weather34 on July 28, 2017, 07:03:18 AM
ok it looks like you not seeing the point of view , you can fix it Jachym it takes time in your case its gonna take some time . but think about the end result , you could start now and in a few months you could have it done . nothing is instant , design it from the ground up  if you don't do it then its never going to get fixed is it ? then your in the same boat as internet explorer use-age . I'm not comparing it to what I do there is no point and doesn't fix anything or help you .

seriously start now and in a few months you will be a happy man probably many more users . you have finally found flexbox and there are alternatives .

I just want to see it looking cool and have that wow factor and complete user experience ..nothing else.. brian

Title: Re: Meteotemplate - new free website template
Post by: danb35 on July 28, 2017, 07:16:32 AM
http://meteotemplate.com/blog/?p=3126
I don't use Internet Explorer, but I do use an iPad, so for me the answer would be obvious--but it's not all about me, of course.  However bad of a browser it is, IE is still used quite a bit, and breaking compatibility with it would be a bad thing.

FWIW, the mobile page shows fine on my iPad in portrait mode, and the desktop page is fine in either portrait or landscape mode.  It's the mobile page in landscape mode that has a problem.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2017, 07:26:29 AM
I know, it auto-opens the menu on iPads. I have seen about 10 screenshots of it which ppl sent me. However, when I go to the mobile page, from any device I have available, it works... and so it is frustrating, but I cannot do anything, I cannot fix something which I see as working fine. No user has so far been able to at least partially try to find the issue and tell me "I think the problem is....". I honestly admit that in this particular case, I have no idea what is wrong and no idea how to fix it.

I completely agree with what Brian said, he is absolutely right, I will not use Flexbox, unless I find a solution to make it work on IE (saying something only works in XYZ browsers is a very bad practice), I also agree that time should first be spent with making things work rather than spending time with adding stuff, on the other hand at this point I know that trying to fix this with my current knowledge of programming and most importantly, with the description of the problem I have, would be just pure waste of time as it would lead nowhere. The menu has many lines of code and practically anything could be added to that script - some JS code, some CSS...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 28, 2017, 05:40:16 PM
Ideas?

http://meteotemplate.com/blog/?p=3120
http://meteotemplate.com/blog/?p=3126

Problem solved for IE 10 and 11 and I guess that is as far back as Im willing to go in terms of compatibility :D

http://meteotemplate.com/blog/?p=3131
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 31, 2017, 12:11:28 PM
Just a note to thank Brian from Weather Display and Jachym for the ability to create MT logfiles.  My Router failed and updates were not happening.  I was able to restore the data from Weather Display and I'm a happy camper.

Jay
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on July 31, 2017, 12:14:32 PM
Thank you Jay, glad to hear that
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 31, 2017, 06:38:58 PM
Anybody still using a non-API software (IE Cumulus..yes, I know I need to switch...) who also uses cron-job.org able to reach the site?  I cannot from any of my machines, nor from work.  I can ping it, but it times out when I try to access it.  Until I get my SW updated, I still need to work with my cron but I have not been able to access the site for over a week...
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on July 31, 2017, 06:52:12 PM
I was just able to connect to my account at cron-job.org  No issues

Jay
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on July 31, 2017, 07:13:13 PM
I use Cumulus and cron- job.org and don't seem to have any problem.
.


Paul
Title: Re: Meteotemplate - new free website template
Post by: stefanbagnato on July 31, 2017, 07:22:09 PM
Hmmm   #-o
I mean my job still runs, so that is good.  But I need to get in there and edit it to conform with what MT needs so that all my blocks will update correctly.  No idea why it continuously times out.
Title: Meteotemplate - Block Update – Interactive Graph 9.0
Post by: Jáchym on August 01, 2017, 10:11:56 AM
Block Update – Interactive Graph 9.0

http://meteotemplate.com/blog/?p=3133

Ënjoy
Title: Meteotemplate - Weather Facts + UK
Post by: Jáchym on August 01, 2017, 11:56:54 AM
Hi guys,

some changes to the WeatherFacts blocks (now a block), now also available for the U.K.

http://meteotemplate.com/blog/?p=3137

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on August 01, 2017, 12:23:45 PM
Thanks for this new block Jachym, lot's of interesting facts for the UK and other countries.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2017, 01:12:49 PM
Thanks John, I was also surprised by some of the values, despite living in Scotland in the past I would think the abs max is higher than 32 :D
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on August 01, 2017, 02:23:12 PM
They are fun little factoids to read and they even update when you change country - great little block.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 01, 2017, 02:59:13 PM
They are fun little factoids to read and they even update when you change country - great little block.

Yeah they do :-) Amazing isnt it :D
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 03, 2017, 04:09:45 AM
Hi guys,

The forcastFR block is no more working for me, is there here a french guy who use it and could tell me if it is the same for him.

Thanks
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2017, 06:23:49 AM
Hi guys,

The forcastFR block is no more working for me, is there here a french guy who use it and could tell me if it is the same for him.

Thanks

http://meteotemplate.com/blog/?p=3143

Title: Re: Meteotemplate - new free website template
Post by: meteo29 on August 03, 2017, 06:55:40 AM
Hi,

Thanks for the information.
On my side, riset does not display anything. Any idea of the cause?
Gilles, what is the name of the block you have with the température graph, in the middle just below Metar?

Regards
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 03, 2017, 07:01:06 AM

Gilles, what is the name of the block you have with the température graph, in the middle just below Metar?

It's interactiveGraph block
Title: Meteotemplate - Block Update - Weather Facts 2.0
Post by: Jáchym on August 03, 2017, 04:55:52 PM
Block Update - Weather Facts 2.0

Hi guys,
added:
- Australia
- New Zealand

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 03, 2017, 05:10:04 PM
Hi,

Thanks for the information.
On my side, riset does not display anything. Any idea of the cause?
Gilles, what is the name of the block you have with the température graph, in the middle just below Metar?

Regards

Everytime you have a question or a problem - rule number one is - include a link
Title: Re: Meteotemplate - new free website template
Post by: meteo29 on August 04, 2017, 05:22:57 AM
Hi,

Of course! I wanted to add the banner like yours (Gilles and yourself) but I did not find it/how to make it, and then I forgot to come back... :(

The link: meteo29180.alwaysdata.net
the riset is on the left, below "éclipses solaires"
I also have "summary" block that does not work at the bottom of the right column
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 04, 2017, 06:01:00 AM
This is the error:

Fatal error: Uncaught Error: Call to undefined function gregoriantojd()

gregoriantojd function is by default included in PHP so something is wrong with your PHP installation, some components are missing
Title: Re: Meteotemplate - new free website template
Post by: meteo29 on August 04, 2017, 08:34:44 AM
Is there a way to know in which file it is?
Is it in php-calendar extension?

EDIT: Indeed, it was in calendar extension. Both are working now. Thanks for your help  :grin:
Title: Meteotemplate - updates
Post by: Jáchym on August 05, 2017, 09:19:25 AM
Hi guys,

Plugin Update - Blog 2.0
- SEO optimizations

Block Update - Weather Facts 3.0
- now includes data for Denmark, Sweden and Norwaz

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 08, 2017, 02:47:03 AM

Thanks for this new block Jachym, lot's of interesting facts for the UK and other countries.

For what it is worth, and I am no expert by any means but your Meteotemplate page is one of the better ones I have seen. Very nice!

Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 08, 2017, 05:45:53 AM
I agree, John´s site is very nice - keeping it simple, to the point and I also created some custom blocks for him making it a bit unique :-)
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on August 08, 2017, 07:55:48 AM

For what it is worth, and I am no expert by any means but your Meteotemplate page is one of the better ones I have seen. Very nice!


Thank you Colin for your kind words, although it's Jachym who made the custom graphics block at the top of the page for me, I liked it so much I sent him a donation.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 08, 2017, 10:48:39 AM
NetAtmo users:

Please note that NetAtmo servers are having issues and are more down than up. If you experience problems with your data there is unfortunately nothing you/me can do.
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 09, 2017, 11:33:32 PM
...And speaking of donations for those of you who don't read the MT blog which is where I originally posted this:

I'm speaking primarily to you Americans here--and to myself...

There is absolutely NO REASON most/all/any of you (and me) can't donate $25.00-$50.00 a few times a year.  There just isn't.  That is coffee money, isn't it?
I go to Dunkin' Donuts most work days and spend $2.65 on a large coffee.  That's $53.00 USD if I go five days a week for a month. So lets stop all this nonsense talk about donating a dollar or two a month and start *showing* Jachym that we do indeed appreciate the great work he's done on MT. 

If you claim you can't afford that level of support how is it that you even have a computer and a website?  C'mon!

Sorry, Jachym.  I know you don't appreciate this kind of posting but this needed to be said.

--Kurt

Title: Re: Meteotemplate - new free website template
Post by: Bashy on August 10, 2017, 12:21:24 AM
Kurt, there are a multitude of reasons as to why people cannot afford to donate, emotional blackmail does not make any difference.

As to why we are able to afford a website, there are many free hosts and there are many at Ł1 a month, even I offer a Ł1 a month package or it may mean they are doing without certain food luxuries.

As for owning a PC, weather equipment, Ferrari in the garage..... has nothing to do with what a person can afford  "now". Peoples situations change.

Kurt, if you can afford X amount per year, good on ya, leave the less fortunate alone, if they feel they can, they will, enough said i believe.
Title: Re: Meteotemplate - new free website template
Post by: Colin on August 10, 2017, 12:32:43 AM
To Kurt:

You want reasons why some cannot donate $50 USD a few times a year.
Some are not as wealthy as others. Some are unemployed and others like myself are on an aged pension.
When the American economy fails, it drags down the economy of other countries and like me I lost most of my life savings when your stock market crashed.
People donate what they can afford, including me, and I find it rather offensive that you are trying to inflict guilt feelings on others.
You can gloat you have coffee and donuts 5 days a week. I cannot remember when I went out for coffee and donuts so don't rub that insult in.

Jachym has a 'Donate' link on his site. People can either use it or not. We do not need you telling us what we can or cannot afford.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 10, 2017, 01:07:14 AM
Kurt I appreciate you trying to help,  but I am really not sure this was the ideal way to do it. What Colin and Bashy said is to a large extent true
Title: Meteotemplate - New Block – Solar Eclipse Aug 21, 2017
Post by: Jáchym on August 10, 2017, 01:49:19 PM
Hi guys

New Block – Solar Eclipse Aug 21, 2017

http://meteotemplate.com/blog/?p=3187

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: N0BGS on August 10, 2017, 05:00:50 PM
To Kurt:

You want reasons why some cannot donate $50 USD a few times a year.
Some are not as wealthy as others. Some are unemployed and others like myself are on an aged pension.
When the American economy fails, it drags down the economy of other countries and like me I lost most of my life savings when your stock market crashed.
People donate what they can afford, including me, and I find it rather offensive that you are trying to inflict guilt feelings on others.
You can gloat you have coffee and donuts 5 days a week. I cannot remember when I went out for coffee and donuts so don't rub that insult in.

Jachym has a 'Donate' link on his site. People can either use it or not. We do not need you telling us what we can or cannot afford.

1. You're not an American and that is primarily to whom I was addressing my comments as I clearly wrote since that is the country I live in and the culture with which I am most familiar.
2. I only have coffee--no donuts. The idea that me or anyone is "gloating" about buying a cup of coffee is laughably absurd.
3. The stock market is not "my" stock market. I too lost money 10 years ago.  Thankfully, most of it has been recovered now.
4. I don't support the idea of victimhood.  If I or anyone is unhappy with their current lot in life only the man in the mirror can change it. Blaming others will change nothing.  I will never receive a pension and expect to work until the day I die because I cannot afford to do otherwise.
5.  I will continue to write what I believe here regardless of what others tell me they don't "need" to hear from me. 

Sorry, but since I am a man my touchy-feelee sensitivity setting is set really low.

--Kurt
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on August 10, 2017, 05:10:46 PM
I think that it should be OK if people want to encourage others to donate more to the cause (and if they can, it might just make them go, I have been meaning to do that, and this is the push I need to do just that), and even if it is only the price of a cup of coffee as a donation, then if everyone did that once in a while then that would be great

that's just my 2 cents worth (inflated to the price of a cup of coffee)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 10, 2017, 06:36:20 PM
While donations are great - I have donated and will in th future, calling out people - especially from a particular country is plain wrong - and I am from NY, USA.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 10, 2017, 06:42:02 PM
 ](*,) ](*,) ](*,)

I will not say I agree with one or the other. It is not black and white. One thing I will say though is that we should try to avoid generalizations. Very often things are different or completely opposite to what you would expect.

How about we change topic slightly :-)

Is there anyone in the path of totality on Aug 21? Here in my country, the next total solar eclipse will be in 2134, so I will have to wait :-)
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 10, 2017, 06:43:24 PM
](*,) ](*,) ](*,)

I will not say I agree with one or the other. It is not black and white. One thing I will say though is that we should try to avoid generalizations. Very often things are different or completely opposite to what you would expect.

How about we change topic slightly :-)

Is there anyone in the path of totality on Aug 21? Here in my country, the next total solar eclipse will be in 2134, so I will have to wait :-)

I wish I was but I’ll only be at 70%.  I will be in the next pass in 2024 I believe!
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 10, 2017, 06:54:14 PM
In 1998 I experienced 90% here. But the problem is that 90% still looks quite "normal". You don't see the corona effect and it is actually not even that dark. More like hour before sunset. There is a major difference between 90% and 98%. 90% seems like a lot, but its actually still quite light.
I will have to wait until 2134 :-)
Title: Re: Meteotemplate - new free website template
Post by: danb35 on August 10, 2017, 07:11:34 PM
We should get about 95-96% here.
Title: Re: Meteotemplate - new free website template
Post by: rods55555 on August 10, 2017, 07:49:19 PM
In 1998 I experienced 90% here. But the problem is that 90% still looks quite "normal". You don't see the corona effect and it is actually not even that dark. More like hour before sunset. There is a major difference between 90% and 98%. 90% seems like a lot, but its actually still quite light.
I will have to wait until 2134 :-)

I experienced a total solar eclipse in 1994, I was very young but remember it very well. I took a chance when the sun was completely blocked and I took a look for like a second at the sun, it was one of the most beautiful things I've ever seen in my life, it's really amazing. The next total solar eclipse in my region is said to happen in the next 400 years .... I think I will not be able to be here to see the other one.  :lol:
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 10, 2017, 07:59:42 PM
Yes, the great thing about 100% is that at the very moment of the total eclipse you can actually look at it with naked eye. If you did that even with 98% you would end up blinded for a while and risk potential permanent eye damage.
I remember I was quite excited when I learned it will be over 90%, but to be quite honest it was a bit of a disappointment. Just that few % left makes a huge difference. Today we had a large thunderstorm in the afternoon and it was probably darker than back then.

Quote
The next total solar eclipse in my region is said to happen in the next 400 years .... I think I will not be able to be here to see the other one.

Come on... you need to be a bit more optimistic :-)
Title: Re: Meteotemplate - new free website template
Post by: rods55555 on August 10, 2017, 08:16:16 PM
Yes, the great thing about 100% is that at the very moment of the total eclipse you can actually look at it with naked eye. If you did that even with 98% you would end up blinded for a while and risk potential permanent eye damage.
I remember I was quite excited when I learned it will be over 90%, but to be quite honest it was a bit of a disappointment. Just that few % left makes a huge difference. Today we had a large thunderstorm in the afternoon and it was probably darker than back then.

Quote
The next total solar eclipse in my region is said to happen in the next 400 years .... I think I will not be able to be here to see the other one.

Come on... you need to be a bit more optimistic :-)

I remember that since it would be a 100% solar eclipse all the schools allowed the students to skip school that day if they wanted or you could go to school and the teachers would be there to help the students to see the eclipse. I chose to stay home with a few friends and we made a "device" with a mirror covered with a piece of paper with a round cut in the middle, so we could see how much of the sun was blocked by projecting the light on a wall, and when it went totally dark I took a look at the sun ..... I will never forget that.
Title: Re: Meteotemplate - new free website template
Post by: bchwdlks on August 11, 2017, 03:25:24 PM
]
...
How about we change topic slightly :-)

Is there anyone in the path of totality on Aug 21? Here in my country, the next total solar eclipse will be in 2134, so I will have to wait :-)

2 minutes and 30 seconds of totality. There is a 10 mile view (https://www.wxforum.net/index.php?action=dlattach;topic=32194.0;attach=27088;image) across the valley to the WNW. It will be very interesting to see how quickly it changes from daylight to dark in the eclipse because the darkness will be moving from the west instead of from the east.  We normally have an extremely long twilight with a glow in the western sky long after sun set.
Title: Meteotemplate - Block Update - Weather Facts 5.0
Post by: Jáchym on August 12, 2017, 03:26:13 PM
Block Update - Weather Facts 5.0

 - added support for Italy

Enjoy
Title: Meteotemplate - Questionnaire
Post by: Jáchym on August 13, 2017, 01:23:46 PM
Meteotemplate - Questionnaire

Hi guys,

please help me with planning future development of the template by filling in a short questionnaire, it will only take a minute or two.

Thanks

http://meteotemplate.com/blog/?p=3206
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 01:01:01 PM
Can someone please check the DEMO mobile page and tell me if it looks better than the current one you have?

Thanks!

http://www.meteotemplate.com/template/indexMobile.php
Title: Re: Meteotemplate - new free website template
Post by: danb35 on August 14, 2017, 01:05:41 PM
http://www.meteotemplate.com/template/indexMobile.php
Still not looking right in Chrome on my iPad, I'm afraid.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 01:06:46 PM
OK, well when I tried narrowing the browser window, the current version looks perfect, the old one has very small font size. If it shows incorrectly then it means desktop Chrome behaves differently than mobile chrome even when you make the window narrow
Title: Re: Meteotemplate - new free website template
Post by: danb35 on August 14, 2017, 01:08:22 PM
It's working like my current site--if I rotate the iPad to portrait mode, it looks fine.  If I have it in landscape mode, though, the whole menu is expanded.  I think I posted screen shots of my site up-thread; your site is behaving the same way.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 01:10:29 PM
Aha, ok, no, I was playing around with font size.

That auto menu opening is an issue specific to Ipad and something I have not been able to replicate. I guess unless some user finds the root of the problem and how to fix it, I will not be able to do so myself. I suspect the problem might be that iPad sends incorrect screen size to the template when used in landscape, but I am not 100% sure.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 01:11:02 PM
This is how Chrome emulates iPhone, this seems good to me
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 14, 2017, 01:21:36 PM
Can someone please check the DEMO mobile page and tell me if it looks better than the current one you have?

Thanks!

For me with android 5.1 it is perfect and better than mine
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 01:23:31 PM
Thanks,
from what I can tell it now looks perfect to me, the only issue is Safari. Not sure about iPhone, but I know it does not display well on iPad.
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 14, 2017, 01:34:00 PM
on my Ipad 3 with Safari it is also very good Jachym
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 14, 2017, 01:34:43 PM
Aha, ok, no, I was playing around with font size.

That auto menu opening is an issue specific to Ipad and something I have not been able to replicate. I guess unless some user finds the root of the problem and how to fix it, I will not be able to do so myself. I suspect the problem might be that iPad sends incorrect screen size to the template when used in landscape, but I am not 100% sure.

ipad... menu

@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px)...
to
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 250px)...

from the developers site ...
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 01:48:08 PM
Hi Brian,
thanks, there are actually two problems:

1. I suspect that what iPad does is send the screen width in landscape mode same as in portrait or vice versa
2. what I still dont understand though is why it opens it. The menu should always start closed just like when used on a desktop PC or other phones.
Title: Re: Meteotemplate - new free website template
Post by: jay_hoehn on August 14, 2017, 01:58:24 PM
Jachym,
The menu problem is not specific to Ipad.  My Acer Android has the same issue with the menu starting open.
Jay

Well, that is weird.  If I turn the tablet to portrait mode the menu looks fine.  In landscape mode the menu opens every time.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 02:05:02 PM
OK, well in that case I have to say Im lost. It doesnt do it in the browser no matter how narrow I make it... I tried on my sister´s Android phone and it worked fine too...
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 14, 2017, 02:05:41 PM
Hi Brian,
thanks, there are actually two problems:

1. I suspect that what iPad does is send the screen width in landscape mode same as in portrait or vice versa
2. what I still dont understand though is why it opens it. The menu should always start closed just like when used on a desktop PC or other phones.

you need to go to the developers web site and read the discussions there are numerous fixes all related mobile devices , not just specific to ipad .
for example there are many other references ..

- Set "#cssmenu ul ul" to "display:none;" when the width is less than 768, to prevent the mobile menu to show the sub-items when the menu is first opened.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 02:13:56 PM
Thanks, I will see. Though without being able to test if it helped it will be problematic. As I said in the past, this of course is not your problem that I cannot test this, on the other hand, MT is offered as is...
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 14, 2017, 02:22:18 PM
Thanks, I will see. Though without being able to test if it helped it will be problematic. As I said in the past, this of course is not your problem that I cannot test this, on the other hand, MT is offered as is...

stop being a defeatist if your contemplating a pro version then you need to start thinking about these minor small things ..
if you make the changes then drop me a line i will test it no problem only takes a second a check so its nothing inconvenient ..
now you've fixed the font issue of being too small before i can read everything clearly on your demo in mobile mode before I couldn't..

brian
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 02:24:26 PM
OK at least some good news :D

P.S. Im no longer contemplating a Pro version (for different reasons), but I guess that makes no difference
Title: Re: Meteotemplate - new free website template
Post by: weather34 on August 14, 2017, 02:30:14 PM
OK at least some good news :D

P.S. Im no longer contemplating a Pro version (for different reasons), but I guess that makes no difference

not sure why thats good news thought it was for your benefit anyway just fix this minor issue your users will appreciate it..
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 02:33:36 PM
good news is that the font size now seems to be usable
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 14, 2017, 02:41:16 PM
P.S. Im no longer contemplating a Pro version (for different reasons), but I guess that makes no difference

??
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 02:43:31 PM
I made some changes, here it looks ok...

http://ipadpeek.com/
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on August 14, 2017, 02:50:31 PM
Works on http://ipadpeek.com/ in both landscape and portrait, but only displays correctly in portrait mode on my ipad
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 05:49:00 PM
OK John, thanks for letting me know... so the emulator is useless
Title: Re: Meteotemplate - new free website template
Post by: jeffm5690 on August 14, 2017, 07:51:00 PM
P.S. Im no longer contemplating a Pro version (for different reasons), but I guess that makes no difference

??

Oh no!!!  Was just about to fill out my survey.  I so wanted that option :(
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 14, 2017, 07:52:46 PM
Don't worry,  the features I promised will be available
Title: Re: Meteotemplate - new free website template
Post by: Bashy on August 15, 2017, 01:43:57 AM
Hi, in both portrait and landscape it looks fine on Android, namely my Note 3, using Chrome and Samsung browsers, but,
As you know, there is the issue when you choose to view the normal site, it was also found to be the same on numerous
devices.

It is kind of a biggy, folks have these big phones and other mobile devices so that they can take their pc on the move so
to speak, they prefer to look at the main sites (well, i do) because mobile sites are just a small cut down of the desktop
version and do not offer all, actually, very limited information.

If after you have tried clicking the desktop icon and you then try the browsers, request desktop site, it changes back to
mobile with the menus all out.

If you do not know about the desktop icon at the bottom and use the browsers, request desktop site, again, that just
refreshes the mobile site and opens all the menus.

The only way i have managed to get it to work on my site is by adding a desktop redirect link, even still, thats not 100%
But it is 80% better, I still then have to click the browsers, request desktop site if i want to view it 100% as desktop.


(http://thumbs.imagebam.com/85/bc/3f/ff004a578439313.jpg) (http://www.imagebam.com/image/ff004a578439313) (http://thumbs.imagebam.com/01/49/01/d15bda578439323.jpg) (http://www.imagebam.com/image/d15bda578439323) (http://thumbs.imagebam.com/e0/95/7d/0e43a4578443013.jpg) (http://www.imagebam.com/image/0e43a4578443013)



If you have an android phone Jachym, you can emulate iphone browser click here  (https://www.cnet.com/uk/how-to/how-to-force-nonmobile-web-site-versions-on-android-browsers/)to show you how
couple of images down and you will see, its a small hack using the standard browser :)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 15, 2017, 05:20:30 AM
Hi guys,
as some of you might have noticed already, WU XML feeds are not working (surprise surprise...)

Scripts affected:
- partner station block
- some comparison plugins
- Meteotemplate database updates via WU
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 16, 2017, 07:01:09 AM
 I having trouble with this block  warningsEUregions,

http://www.dashboard.meteokerbach.fr/template/indexDesktop.php (http://www.dashboard.meteokerbach.fr/template/indexDesktop.php)

the fifth one on the right.
 it doesn't charging

What can be the problem ??
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on August 16, 2017, 07:15:35 AM
I having trouble with this block  warningsEUregions,

http://www.dashboard.meteokerbach.fr/template/indexDesktop.php (http://www.dashboard.meteokerbach.fr/template/indexDesktop.php)

the fifth one on the right.
 it doesn't charging

What can be the problem ??
All templates are affected
http://www.meteoalarm.eu/  site is down so all alarm scripts can not get to the data.
Last few days it is on/off multiple times / day.

Wim
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 16, 2017, 10:13:41 AM
OK Thanks Wim
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 17, 2017, 04:45:43 AM
Hi guys


I want to add the blazon of my city in the header. As in the screen shot below. Is that possible or not?

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2017, 06:36:37 AM
Hi Gilles,
it certainly is possible, but there is no built-in code for this. You would have to add it in the header.php, most likely using some DIV element with absolute positioning relative to the header itself.
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 17, 2017, 06:52:01 AM
OK Jachym I don't know anything about php coding but i will try it's an opportunity to learn
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2017, 07:25:23 AM
Email me the image and I will help you, this is not PHP, but HTML+CSS, but I can do it for you
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 17, 2017, 07:35:47 AM
this is very nice from you jachym. i send you the image

thanks a lot
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2017, 08:17:51 AM
this is very nice from you jachym. i send you the image

thanks a lot

See email, I sent you the code
Title: Re: Meteotemplate - new free website template
Post by: gillesroszak on August 17, 2017, 08:21:51 AM
Ok Thanks a lot

It' s done !!!!!!!

Wonderfull :-) :-) :-) :-) :-) :-)
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 17, 2017, 08:49:08 AM
welcome
Title: Meteotemplate - Info
Post by: Jáchym on August 17, 2017, 09:36:22 AM
Hi guys,

some of you were asking about my decision about Pro version, I explained my decision here:

http://meteotemplate.com/blog/?p=3228
Title: Meteotemplate
Post by: Jáchym on August 18, 2017, 09:06:17 AM
Hi guys,

Block Update - Indoor 7.0
- added today´s min/max

Also, please note, that I no longer post about every single update here on this forum, to see all recent updates please subscribe to the MT Blog or my personal Twitter account

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 20, 2017, 01:13:42 PM
New features:

http://meteotemplate.com/blog/?p=3236
Title: Meteotemplate - forum
Post by: Jáchym on August 24, 2017, 05:11:40 AM
Hi guys,
as most of you probably have noticed already, I decided to create a dedicated forum for Meteotemplate because it will make things more organized and easier (although there are disadvantages of this as well, for example the time it takes to admin :D).

Just over the last 4 days since launch there is now close to 100 users and 300 posts so I take it it was worth it.

There are also general topics being discussed so if anyone wants to join, regardless of whether you are or are not a Meteotemplate user, you are of course welcome.

With regards to this forum - I will still watch it and post, I will not lock this topic, but I will not post about every update/new stuff, probably just major things. If you are an MT user, you really need to watch the Blog, that is the most important source of information.

FORUM: http://www.meteotemplate.com/forum/

Enjoy
Title: Re: Meteotemplate - forum
Post by: pimohdaimaoh on August 27, 2017, 12:01:18 AM
Hi guys,
as most of you probably have noticed already, I decided to create a dedicated forum for Meteotemplate because it will make things more organized and easier (although there are disadvantages of this as well, for example the time it takes to admin :D).

Just over the last 4 days since launch there is now close to 100 users and 300 posts so I take it it was worth it.

There are also general topics being discussed so if anyone wants to join, regardless of whether you are or are not a Meteotemplate user, you are of course welcome.

With regards to this forum - I will still watch it and post, I will not lock this topic, but I will not post about every update/new stuff, probably just major things. If you are an MT user, you really need to watch the Blog, that is the most important source of information.

FORUM: http://www.meteotemplate.com/forum/

Enjoy

keep it up, I will wait for the final assembly of your template then thats the time I will request for a copy ^^


-Mike-
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on August 27, 2017, 03:42:52 AM
Hi Mike,

I don't think there will be a final version of Meteotemplate - there are several version updates every year. Jachym continues to update and improve it all the time. There'll always be something that can be tweaked or improved or even automated. So when you're ready drop him an email and ask if you may download the template - I'm sure you'll enjoy setting it up and designing your own unique home page.

John
Title: Re: Meteotemplate - forum
Post by: Jáchym on August 27, 2017, 05:11:39 AM
Hi guys,
as most of you probably have noticed already, I decided to create a dedicated forum for Meteotemplate because it will make things more organized and easier (although there are disadvantages of this as well, for example the time it takes to admin :D).

Just over the last 4 days since launch there is now close to 100 users and 300 posts so I take it it was worth it.

There are also general topics being discussed so if anyone wants to join, regardless of whether you are or are not a Meteotemplate user, you are of course welcome.

With regards to this forum - I will still watch it and post, I will not lock this topic, but I will not post about every update/new stuff, probably just major things. If you are an MT user, you really need to watch the Blog, that is the most important source of information.

FORUM: http://www.meteotemplate.com/forum/

Enjoy

keep it up, I will wait for the final assembly of your template then thats the time I will request for a copy ^^


-Mike-

Not sure what you mean to be quite honest, my template has been available for over 2 years now
Title: Re: Meteotemplate - forum
Post by: jeffm5690 on August 27, 2017, 04:34:27 PM
Hi guys,
as most of you probably have noticed already, I decided to create a dedicated forum for Meteotemplate because it will make things more organized and easier (although there are disadvantages of this as well, for example the time it takes to admin :D).

Just over the last 4 days since launch there is now close to 100 users and 300 posts so I take it it was worth it.

There are also general topics being discussed so if anyone wants to join, regardless of whether you are or are not a Meteotemplate user, you are of course welcome.

With regards to this forum - I will still watch it and post, I will not lock this topic, but I will not post about every update/new stuff, probably just major things. If you are an MT user, you really need to watch the Blog, that is the most important source of information.

FORUM: http://www.meteotemplate.com/forum/

Enjoy

keep it up, I will wait for the final assembly of your template then thats the time I will request for a copy ^^


-Mike-

Not sure what you mean to be quite honest, my template has been available for over 2 years now

I think Mike had a lot of issues related to the availability of the data sources for his country.  Mike - aren’t you in the Philippines and the data is unable to be used in any manner on a website to reproduce it?
Title: Re: Meteotemplate - forum
Post by: pimohdaimaoh on August 30, 2017, 12:23:13 AM
Hi guys,
as most of you probably have noticed already, I decided to create a dedicated forum for Meteotemplate because it will make things more organized and easier (although there are disadvantages of this as well, for example the time it takes to admin :D).

Just over the last 4 days since launch there is now close to 100 users and 300 posts so I take it it was worth it.

There are also general topics being discussed so if anyone wants to join, regardless of whether you are or are not a Meteotemplate user, you are of course welcome.

With regards to this forum - I will still watch it and post, I will not lock this topic, but I will not post about every update/new stuff, probably just major things. If you are an MT user, you really need to watch the Blog, that is the most important source of information.

FORUM: http://www.meteotemplate.com/forum/

Enjoy

keep it up, I will wait for the final assembly of your template then thats the time I will request for a copy ^^


-Mike-

Not sure what you mean to be quite honest, my template has been available for over 2 years now

I think Mike had a lot of issues related to the availability of the data sources for his country.  Mike - aren’t you in the Philippines and the data is unable to be used in any manner on a website to reproduce it?

I have no issues, I temporarily suspend my DATA availability reporting because im transferring all my sensors including my seismometer to my new location on south mindanao which until now is not yet finished constructing my new house there, so you will see the DATA acquisition is stopped until now, but will be restored as soon all the tools and the internet is completed. -Mike-
Title: Re: Meteotemplate - new free website template
Post by: pimohdaimaoh on August 30, 2017, 12:27:27 AM
Hi Mike,

I don't think there will be a final version of Meteotemplate - there are several version updates every year. Jachym continues to update and improve it all the time. There'll always be something that can be tweaked or improved or even automated. So when you're ready drop him an email and ask if you may download the template - I'm sure you'll enjoy setting it up and designing your own unique home page.

John

Ok I understand, I will note for that, yes sure I will ask Jachym for his template request soon, but first I have to complete my relocation and restoration progress first  8-)

-Mike-
Title: Meteotemplate - updates
Post by: Jáchym on September 02, 2017, 11:07:51 AM
Hi guys,
those of you using MT probably watch the blog and the new forum so you know what is going on, but I thought I will still post here from time to time about new features in bulk.


DEMOs and more info in the Blog

Discussion: http://www.meteotemplate.com/forum/index.php


Enjoy

Block Update - Current Conditions 18.0
- added UV max for today
- possibility to auto-open by default

Block Update - Station Data 9.0
- added maximum rain rate

Block Update - Wind 2.0
- optimization

Plugin Update - Annual Averages 9.0
- brand new "Periods" page
- added rain totals

Block Update - Weather Facts - 8.0
- added support for Canada, Portugal and Switzerland

Block Update - Air Quality World 3.0
- design tweaks

Block Update - Station Deviation 3.3
- CSS bug fixes

Block Update – Forecast – Netherlands 2.1
- bug fixes

Block Update – Dynamic Graph 2.1
- timezone bug fix

Block Update – Forecast – France 3.0
- complete redesign
- now also includes warnings

Plugin Update – Blog 3.0
- added option to change post date/time

Block Update – UV Forecast 2.1
- minor tweaks

Plugin Update – Climate – Spain 2.0
- major optimization
- https comatibility fixes

Plugin Update – France – Climate 2.0
- optimization

Plugin Update – Week Days 3.0
- added working day/weekend stats

New Block – Croatia – Forecast

New Block – Austria – Climate

Block Update – EC Forecast 2.2
- changes due to changed format of source

Block Update – Pie Visualization 4.2
- minor tweaks

New Language – Russian

Plugin Update – Continentality 2.0
- design tweaks
- optimization

Block Update – Belgium – Radar 1.1
- compatibility fixes

New Block – Warnings – Russia

Block Update – Forecast – Italy 2.1
- compatibility tweaks

Plugin Update – Precipitation Analysis 3.0
- brand new precipitation balance page

Block Update – Australia Forecast 2.0
- optimization

Plugin Update – Climate – Canada 3.0
- optimization
- https fixes
Title: Meteotemplate 16.0 Physalis
Post by: Jáchym on September 24, 2017, 08:06:34 AM
Meteotemplate 16.0 Physalis

Hi guys,

a new version of Meteotemplate is now available. Over the past few versions I got rid of all changes directly in code and converted everything to GUI. With this version (apart from other new things) I also got rid of most FTP, unzipping etc. Just click and everything is installed/updated directly from my website to your template.

more info: http://meteotemplate.com/blog/?p=3374

enjoy
Title: Re: Meteotemplate - Updating from Weather for you and Cumulus
Post by: K8POS on September 28, 2017, 08:42:46 PM
I am about to upgrade my template to Meteotemplate.
I am running a Davis Vantage Pro2 with the UV and Solar sensors with Cumulus software version 1.9.4
I have a hosted web site @ www.melvinweather.com (http://www.melvinweather.com)
What if anything should I back up from my web server space?  I would like to do a total "NEW" install, just as long as I do not loose my current history files (3 years worth)   I am thinking I can pretty much delete everything off the web server since the data files reside on my local PC.
 300 plus pages on this thread, tone of reading to do.

Bob
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on September 28, 2017, 09:11:18 PM
Hi Bob,
I presume your history files are on your computer's Cumulus/data folder and not stored on your website, so nothing will get lost by using Meteotemplate.

The toughest will be getting your MySQL database table set up, but not really very tough.  If you don't mind loosing your current template you can remove the files and install Meteotemplate in www.melvinweather.com (http://www.melvinweather.com).  Or you can leave your existing template and set up a new folder for Meteotemplate i.e. www.melvinweather.com (http://www.melvinweather.com)/mt

In addition to getting current data from Cumulus through your realtime.txt you can import your Cumulus monthly log files to the Meteotemplate MySQL database table so all your historical data is available for your new Meteotemplate install.

Lots of reading available but you can go direct to the install instructions and you should have a Meteotemplate page up in no time.  Adding the blocks and plugins will take quite some time but you  can do that over time.

Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: K8POS on September 28, 2017, 09:21:55 PM
Paul,
Thank you for the reply.
That is pretty much what I thought, but did not want to start deleting things off the Web server till I was sure.  Not really anything on there I need to keep anyway.  Got tires of it being a rather static display.
Now that I just retired, I will have plenty of time to play with the Adult blocks and plug ins.

Bob
Title: Uploading
Post by: K8POS on September 29, 2017, 01:14:14 PM
Man,
Not sure which is harder, Deleting all my old weather stuff off the server, or uploading the new template
Unfortunately my server wont allow me to unzip a file on the server side. 
But I am getting there.
Title: Meteotemplate - updates
Post by: Jáchym on October 12, 2017, 07:58:11 AM
Hi guys,

just a bulk summary of Sep/Oct updates:

New Language - Russian
Block Update – Weather Facts 8.0
Block Update – Germany – Forecast 1.1
Block Update – Weather Facts 9.0
Block Update – Climate Australia 1.1
Block Update – Climate Finland 1.1
New Block – Upcoming
Plugin Update – Meteohub 2.0
Block Update – Current Conditions 18.1
Plugin Update – Precipitation Analysis 4.2
Block Update – Deviations 3.4
Plugin Update – Drought U.S. 1.3
Block Update – Station Data 10.0
New Block – Slovakia – Radar
Block Update – Spain – Radar 3.0
Block Update – Radar U.S. 8.0
New Block – Radar – Ireland
Plugin Update – Maps U.K. 1.1
Plugin Update – BloomSky 3.0
Block Update – Station Averages 2.0
Plugin Update – Snow Statistics 4.1
Block Update – Meteotemplate Blog 1.1
Plugin Update – El Nino 2.1
Block Update – Extremes 2.0
Plugin Update – WD Parser 2.0
Plugin Update – Diary 4.0
Plugin Update – U.S. Extremes 2.0
Block Update – Interactive Graph 10.0
Plugin Update – Air Quality Forecast – Canada 1.1
Block Update – CO2 3.0
Plugin Update – Stickers 7.2
Block Update – Warnings EU – Regional 2.0


More info as always in the Blog and at the Meteotemplate Forum

Enjoy!
Title: Re: Meteotemplate - new free website template
Post by: kweaver66 on November 07, 2017, 08:22:49 PM
precipitation totals stopped working in my blocks today. Today was the first time since just before Oct 31 that we have had rain.  I haven't made any changes and the rain totals are showing up every where else....

Anyone else had this happen to them?
Title: Re: Meteotemplate - new free website template
Post by: BfdWx on November 07, 2017, 10:19:57 PM
precipitation totals stopped working in my blocks today. Today was the first time since just before Oct 31 that we have had rain.  I haven't made any changes and the rain totals are showing up every where else....

Anyone else had this happen to them?

No issue here, raining now and readings are accurate!
Title: Re: Meteotemplate - new free website template
Post by: bthoven on December 02, 2017, 12:19:57 AM
Anyone could share your template which fits on your android tablet having fullhd resolution (either 1920x1080 or 1280x800). I plan to use my old tablet for desktop weather console.

Thanks.
Title: Re: Meteotemplate - new free website template
Post by: mkutche on December 02, 2017, 08:37:03 PM
http://gosportwx.com/j-template/ (http://gosportwx.com/j-template/) got my template going. Right now I don't think I'll mess with the menu it looks good as is! :) .. I added a poll be sure to vote!

Thanks
Mike
Title: Re: Meteotemplate - new free website template
Post by: DaleReid on December 02, 2017, 09:21:50 PM
Nice layout.  I wasn't aware (as in most things) that you could use the menu bar to steer to other software running saratoga and template 34 for instance.  Very cool.

On the home page for Meteo, I like the current conditions boxes and the colors for the backgrounds for them.
 
Title: Re: Meteotemplate - new free website template
Post by: mkutche on December 02, 2017, 09:40:58 PM
Thanks i cant seem to figure out the mobile part grr
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on December 03, 2017, 05:16:45 AM
Thanks i cant seem to figure out the mobile part grr

Hi Mike, when you're assembling your mobile page in Meteotemplate, use a single column and place your blocks under each other. Use blocks you consider most essential, blocks that show data in a wide format don't display as well. In other words keep it simple.

 [ You are not allowed to view attachments ]

Title: Re: Meteotemplate - new free website template
Post by: mkutche on December 03, 2017, 07:11:28 AM
Cool thanks! Got it how I want it now.. love this template!
Title: Re: Meteotemplate - new free website template
Post by: hankster on December 09, 2017, 07:47:59 PM
Just setting up using this template. Does anyone know what units Weather Display uses for the data that is sent via the API? Also, is there a Weather Flow option for a station? Thanks!
Title: Re: Meteotemplate - new free website template
Post by: elspinars on December 18, 2017, 09:40:03 AM
Hi everybody,

I already posted this on the Meteotemplate forum (http://meteotemplate.com/forum/index.php) but I thought I would also put it here as some users may not have acces to the official forum (they should register though. Lots of good stuff there).

I live in a town where traffic can get nasty a certain time in the week. The visitors of my website www.elspinars.es (https://www.elspinars.es) often visit it in the morning as a one shop stop to get their daily dosis of meteo, but also requested to have some kind of info about the traffic.
That how I came with the trafficAlert block, which is available for download here : www.elspinars.es/dev/dev.php (https://www.elspinars.es/dev/dev.php)

Concept is very basic : you define some routes, the block check the time it takes to drive that route and if the time is above certain thresold, it displays an alert, with the possibility to display the current traffic on a map :
(https://www.elspinars.es/imgs/forum/trafficAlert.JPG)

I tried to make the setup as user-friendly as possible (but may have failed in the attempt).

After entering an optional block heading, the first step is to add an alert :
(https://www.elspinars.es/imgs/forum/trafficAlertSetup1.JPG) (https://www.elspinars.es/imgs/forum/trafficAlertSetup1.JPG)
Then you define your route name and use the map to define your route.
On the map, a left-click define the center and a right click define the starting and ending point.
The page will update the route and the normal time it takes to drive it. You can then use these values to define your thresolds in the alerts.
You can alernatively enter the values manually and click on the Refresh Map button to see how it looks like. 
Then you define your alerts :
(https://www.elspinars.es/imgs/forum/trafficAlertSetup2.JPG) (https://www.elspinars.es/imgs/forum/trafficAlertSetup2.JPG)
For each alert level (Green, Orange, Red), you define the thresold and the message.
You can use tags like %T in your message to display the actual time it takes to drive the route according to Google Maps Directions.
You can also personalize the icon and animate it.
Finally, you can disable an alert level.
When done, click on save, don't forget to add your block on your homepage and you're done.

This is an early version of the block, I would appreciate if you could let me know if you find it useful, if you tried it and if you have any idea on how to improve it.
Next steps will be to allow the users to create their own routes (after registration) and to add notifications in a mobile app on which I am working (also available on my dev page (https://www.elspinars.es/dev/dev.php))
You can either comment on this forum post or leave me a message on my contact page  (https://www.elspinars.es/plugins/contact/index.php)

Cheers,

Pol-Brieuc
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on December 19, 2017, 08:02:57 AM
Just setting up using this template. Does anyone know what units Weather Display uses for the data that is sent via the API? Also, is there a Weather Flow option for a station? Thanks!

This is fixed, API uses metric units, but they are converted based on your db units setting
Title: Meteotemplate 17.0 Nectarine
Post by: Jáchym on December 30, 2017, 02:13:27 PM
Hi guys,

new version of Meteotemplate includes several tweaks and for example a brand new mobile homepage, which uses Bootstrap and is ideal for any device type

more: http://meteotemplate.com/blog/?p=3549
Title: Re: Meteotemplate - new free website template
Post by: paulIOG on March 30, 2018, 04:56:35 PM
Hi

Having some issues..... templates were a breeze to set up btw now i have this issue the templates will not load from my url of http://www.iogweather.org.uk/ but they ll load perfectly from http://www.iogweather.org.uk/template/indexDesktop.php.

Template folder is in public_html folder of server been scratching my head for hours.

Any ideas on how to fix this anyone?

Thanks

Paul
Title: Re: Meteotemplate - new free website template
Post by: waiukuweather on March 30, 2018, 05:13:59 PM
you would need a index.html or index.htm
in your root folder
to at least  have a link to where you template is (or a redirect)
Title: Re: Meteotemplate - new free website template
Post by: paulIOG on March 30, 2018, 05:25:26 PM
I tried putting all the files in the root folder without the 'template' subfolder so index.php etc are there like old site setup it loads but its a mess
Title: Re: Meteotemplate - new free website template
Post by: paulIOG on March 30, 2018, 05:58:15 PM
I tried putting all the files in the root folder without the 'template' subfolder so index.php etc are there like old site setup it loads but its a mess

Put a redirect in for now till i come up with a solution
Title: Re: Meteotemplate - new free website template
Post by: Johnny 5 on March 30, 2018, 06:08:09 PM
Hi Paul, in the Meteotemplate Main Setup, go to the section Paths and make sure the URL you have specified is correct. For instance under path I have a forward slash / and under page URL I have http://www.watfordweather.co.uk
Title: Re: Meteotemplate - new free website template
Post by: paulIOG on March 30, 2018, 06:22:55 PM
Hi Paul, in the Meteotemplate Main Setup, go to the section Paths and make sure the URL you have specified is correct. For instance under path I have a forward slash / and under page URL I have http://www.watfordweather.co.uk

Just tried no joy  :sad: i ll put the redirect back in for now

thanks for the idea tho
Title: Re: Meteotemplate - new free website template
Post by: Asobig on March 31, 2018, 06:05:23 AM
For me, your website loads perfectly. :lol:
Some blocks keep spinning, but it shows 'Online'.
Title: Re: Meteotemplate - new free website template
Post by: paulIOG on March 31, 2018, 07:17:06 AM
Thanks should be 2 blocks spinning working on that today. The redirect in place on the server has got this site working for now
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 31, 2018, 09:28:43 AM
Some blocks fail because this function is missing:

gregoriantojd

It is a standard PHP function so it looks like your PHP installation is not complete.

Your page looks nice except for the footer. I would really consider removing all the page counters, they look awful and very amateur
Title: Re: Meteotemplate - new free website template
Post by: paulIOG on March 31, 2018, 04:28:20 PM
Some blocks fail because this function is missing:

gregoriantojd

It is a standard PHP function so it looks like your PHP installation is not complete.

Your page looks nice except for the footer. I would really consider removing all the page counters, they look awful and very amateur

Took your advice looks much tidier now but still lots to do im not entirely happy yet  also fixed my  gregoriantojd issue by switching to php 7.0 on server
Title: Re: Meteotemplate - new free website template
Post by: vinesweather on April 13, 2018, 09:51:23 PM
Hi All
I am trying to import my data using the Import Data function in the template but I get an error saying:
Forbidden
You don't have permission to access /site/admin/testImportFile.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I have made the import files permissions to 777 but still the same issue. Can anyone advise what I need to do please?
Cheers
Chris
Title: Re: Meteotemplate - new free website template
Post by: kweaver66 on April 14, 2018, 02:45:27 PM
Mine only works if I have it at 755
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 14, 2018, 05:42:21 PM
I personally use 650 for folders and 640 for files, but it does not work on all servers, you need to use try/error method
Title: Re: Meteotemplate - new free website template
Post by: vinesweather on April 14, 2018, 07:50:01 PM
Many thanks guys.
Title: Re: Meteotemplate - new free website template
Post by: vinesweather on April 14, 2018, 09:59:15 PM
Failing I get the permissions to work, can I do it through myphpadmin?
Title: Re: Meteotemplate - new free website template
Post by: vinesweather on April 15, 2018, 11:38:30 AM
Turned out to be a modsec rule. All sorted now
Title: Re: Meteotemplate - new free website template
Post by: Andy Thompson on April 29, 2018, 11:42:44 AM
Good morning,

I have been experiencing high amounts of junk mail coming through my website Contact form. A robot has outsmarted the form by filling it out and sending the messages. About 5 months ago is when I started seeing them. They contain anything from random letters and characters, to advertising. It is quite annoying. I was wondering if the Contact form could be changed? I was thinking of a script that randomly generates a string of numbers and letters instead of simply checking box that says "I am not a robot".
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 30, 2018, 03:05:43 PM
I tried that before, math calculations, captcha, Google recaptcha.... sooner or later it stops being effective. I have the same problem in the forum, which uses Google Recaptcha and the PHPBB built-in captcha and even those two together dont work, I have on average 2 fake registrations daily. I usually discover it by googling the email address and finding it in the Spam mail database.
Title: Re: Meteotemplate - new free website template
Post by: Andy Thompson on September 01, 2019, 11:52:35 AM
Jachym,

I am experiencing difficulties in updating the Bio Indexes plugin on my website. It just does not seem to want to take. I've tried downloading it directly off your website, but nothing seems to happen when I click on the "download" icon. Any ideas?
Title: Re: Meteotemplate - new free website template
Post by: wxthomson on September 03, 2019, 09:24:31 AM
Jachym,

I am experiencing difficulties in updating the Bio Indexes plugin on my website. It just does not seem to want to take. I've tried downloading it directly off your website, but nothing seems to happen when I click on the "download" icon. Any ideas?

Andy,
You might try the Meteotemplate Forum  http://www.meteotemplate.com/forum/

Most of the discussion has moved there.
Title: Re: Meteotemplate - new free website template
Post by: tigro11 on December 06, 2019, 02:52:49 AM
hello guys same problem interactive Graph block, the chart is one hour ahead, and is it possible to solve the problem?
thanks
Valerio
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on March 24, 2020, 08:32:17 AM
Hi guys,
long time no see..

I am still alive :) Just came by to tell you hi. Meteotemplate is certainly not dead. The problem is that I dedicated 40-60mins a day to it given my current time possibilities - about enough time to deal with emails (about 3-4 new users/day), support and from time to time fix something... I admit gone are the times when I spent 5-6hrs working on this - different job position and my girlfriend wouldn´t like it either :D.

Some people PMed me how I am. I am doing fine. Still working as the head of air quality dpt. at the Czech hydrometeorological institute (the Czech National weather service). As of last year I am also a project leader at the EEA (European Environment Agency), the main EU body for environmental issues and I am responsible for the EU emission database (checking its validity etc.). This also means frequent visits to Copenhagen (Denmark), where the headquarters are.

About 2 yrs ago somebody destroyed my station again (vandalism), given this was the second time this happened it was a hard decision to make, but I stopped monitoring the weather at home. However, in Jun-Jul I am moving to a new flat I bought, which has an amazing view and will have the possibility to place safely a weather station so I am looking forward and plan to buy one again.

In my free time, apart from Meteotemplate, I enjoy biking, inline skating, macrophotography and I also created a company website, only available in Czech, but if anyone is interested (www.chmibrno.org). One of my main goals right now is to raise public awareness about air quality, so I organized presentations in the city observatory and also approached my friends from universities, municipality etc. who also presented. We also organize and attend many conferences and specialize on air quality analysis using scanning electron microscopy, which is quite unique. My daily job is about 50% administration and 50% data analysis etc. I have colleagues who are 100% R&D and so we work together on this microscope thing, which is quite unique and not done by many worldwide.

Right now we are, as most of you, going through tough times. The Czech Republic is in quarantine, I received a special paper that allows me to go to work being a critical infrastructure - I sent most of my colleagues home and they either work home office if possible or just stay at home.

Hope you guys are doing fine, Im sure this will be over soon. I will come back here now and then again.

Take care
Title: Re: Meteotemplate - new free website template
Post by: PaulMy on March 24, 2020, 12:30:41 PM

Hi Jachym,
Nice to hear and that all is good with you. 


Oh, how fast the past 5 years have slipped by!


Enjoy,
Paul
Title: Re: Meteotemplate - new free website template
Post by: thomas on March 24, 2020, 07:57:55 PM
Very good to hear from you, glad things are going well.  Good luck with your new home
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on March 29, 2020, 11:25:50 AM
Glad to hear you're doing well and great to hear about your new place and sounds like other than than the current situation life's been treating you pretty good.   

Sorry about your weather station but glad to hear you can stand it up again.

Stay safe.   
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 02, 2020, 06:07:09 AM
Hi guys,

looks like we have, unfortunately, another problem. In the history of MT I have changed the data source for forecasts 3 times already, always trying to find the best free option.

Unfortunately, the current global trend is to discontinue all free products or reduce them to bare minimum, some sort of a trial. This has happened numerous times in the past and I fear it will be more and more common.

Today I received another email of this kind. Dark Sky, the main provider for all forecast data for Meteotemplate has been taken over by Apple and guess what, no more free API registrations and the current ones will work until the end of 2021.

My goal was to create a template that has no extra costs (other than a donation to cover the costs for licenses, hosting etc., which about 30 % users really provided). There are no other costs apart from maybe the GrLEVELX plugin which requires the GrLevelX software which is not free, but thats one plugin out of hundreds.

Dark Sky was the last data source, which provided data for free, but in a very good form, detailed. Now this is no longer the case, Apple immediately after purchase decided to stop this (you probably know I am not a fan of Apple, but in this case I am not saying this because of this, this is an objective statement). Similraly to what Weather Underground did a few years back when bought by another company.

Not quite sure what to do now. Maybe just remove all forecasts and concentrate on data from your station. The original concept was for you to create a very complex page with all sorts of weather information - data from your station was the basis, complemented by radar images, forecasts etc. etc. However, the global internet trends change, more and more often you run into copyright issues, paid services... We have to decide - either have a template basically just about your station data, or have a wider-focused template, but with additional costs (usually in the form of subscription, another popular trend of all companies to generate continuous profit).
Title: Re: Meteotemplate - new free website template
Post by: wvdkuil on April 02, 2020, 06:23:39 AM
There are other free forecasts, mostly owned by "government"

The NWS forecasts are free, but cover only the USA
=> https://www.weather.gov/documentation/services-web-api#

The met.no forecasts are not that extensive (no textual description) but are usable worldwide 
=> https://api.met.no/weatherapi/locationforecast/1.9/documentation

Another clone of met.no is yr.no
=> https://hjelp.yr.no/hc/en-us/articles/360001940793-Free-weather-data-service-from-Yr

Then there are the forecast for those station-owners which upload to
WeatherUnderground  => https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit

PWSweather =>get an API key from Aeris
=> https://www.aerisweather.com/signup/pws/

Yes, there have been numerous "out-of-service" API's these last three years.
But there are still other "free' options available.

Best regards, keep up the good spirit in these difficult times

Wim
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on April 02, 2020, 10:16:34 AM
Hi Wim,

yes you are right, although neither of them offer as detailed forecast as Dark Sky. Users also reported it was quite accurate.
Title: Re: Meteotemplate - new free website template
Post by: sundevil01010101 on April 07, 2020, 05:17:30 PM
Yes this is quite disappointing.

Dark Sky was my favorite service and was very accurate.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on May 06, 2020, 09:51:50 AM
Hi guys,

new version, 18.0 Papaya, is now available. More info in the MT Blog :)

Hope everyone is safe and healthy.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: Gyvate on September 18, 2020, 08:08:08 AM
Hi
if anyone uses Meteobridge to upload sensor data to Meteotemplate - and has more than one PM2.5 sensor and more than 4 soil moisture sensors (and lightning sensor data) to upload - the inbuilt Weather Net upload cannot do this - so far.
I have created a workaround until after maybe some time the inbuilt upload might be updated ....

For those interested, you can look it up at
https://www.wxforum.net/index.php?topic=40447.0
Title: Re: Meteotemplate - new free website template
Post by: i_fiorentino on September 26, 2021, 05:52:06 AM
Hi guys,
i've imported about 5 years of data through weather display log files.
I've ran reformat.php but it seems doesn't work.
My db is formatted with 1 minute interval.

Any ideas?
Thanks in advance,


Alessandro
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on October 04, 2021, 01:47:35 AM
Hi guys,

this is just to say hi and to assure you that Meteotemplate is not dead. About 3 yrs ago the development slowed down a lot due to my new job. That settled down a bit and COVID19 arrived, leaving me with extra work that I had to do as I was one of very few who still  went to work in person. Then I got to know someone, who currently is my wife :D and we got ourselves two dogs and now we are moving to our new own house with a nice garden. In addition I finally finished my PhD thesis so I have a graduation this December.

That said, I tried to spend time on Meteotemplate, but... I get about 20-30 emails a day related to it. Just dealing with the support therefore takes at least 30-45 minutes every day, which is about as much time I can currently devote to it. I know I said there will be a new version and that holds, but it will not be as soon as I thought. Hopefully next year things will calm down and I definitely still enjoy the development so there will be new stuff. I already have something prepared :).

Also, our own house means I will finally be able to have my own weather station again, which was not possible for the last 3 years.

Wish you all nice day from Brno, Czech Rep.
Title: Re: Meteotemplate - new free website template
Post by: mickopla on October 04, 2021, 06:44:23 AM
Hi guys,

this is just to say hi and to assure you that Meteotemplate is not dead. About 3 yrs ago the development slowed down a lot due to my new job. That settled down a bit and COVID19 arrived, leaving me with extra work that I had to do as I was one of very few who still  went to work in person. Then I got to know someone, who currently is my wife :D and we got ourselves two dogs and now we are moving to our new own house with a nice garden. In addition I finally finished my PhD thesis so I have a graduation this December.

That said, I tried to spend time on Meteotemplate, but... I get about 20-30 emails a day related to it. Just dealing with the support therefore takes at least 30-45 minutes every day, which is about as much time I can currently devote to it. I know I said there will be a new version and that holds, but it will not be as soon as I thought. Hopefully next year things will calm down and I definitely still enjoy the development so there will be new stuff. I already have something prepared :).

Also, our own house means I will finally be able to have my own weather station again, which was not possible for the last 3 years.

Wish you all nice day from Brno, Czech Rep.

Congrats on everything. Glad to hear you are well.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 13, 2021, 05:22:06 AM
Hi folks, i have a few niggles i would like to iron out, please,

The 1st one is the Rain block as that's visible, the liquid graphics did work, then didn't, then did and now they don't, i do see this error in the console but i don't know the resolution;

Code: [Select]
VM90:37 Uncaught ReferenceError: d3 is not defined
    at loadLiquidFillGauge (eval at <anonymous> (jquery.min.js:2), <anonymous>:37:17)
    at eval (eval at <anonymous> (jquery.min.js:2), <anonymous>:55:20)
    at eval (<anonymous>)
    at jquery.min.js:2
    at Function.globalEval (jquery.min.js:2)
    at m.fn.init.domManip (jquery.min.js:3)
    at m.fn.init.append (jquery.min.js:3)
    at m.fn.init.<anonymous> (jquery.min.js:3)
    at m.access (jquery.min.js:3)
    at m.fn.init.html (jquery.min.js:3)

The other is some of the plugins don't work as they should, such as the extended graphs, namely the Interactive and the Comparison graphs, the other 3 are ok, the same with the Station data comparison, which doesn't work at all, it just throws up "Data N/A" for both METAR and WU.


Title: Re: Meteotemplate - new free website template
Post by: davidefa on November 13, 2021, 02:04:44 PM
Can you share the address of your site?

Is this a 'new installation' ( a few pages do not 'behave well' with only a few weeks of data )?
 
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 13, 2021, 07:35:46 PM
Hi, if youre talking about me, its under my profile also here (http://www.brecklandweather.com), although you must have found it already?
No, not a new install, but it is a new update, its been running for a good few years now
Title: Re: Meteotemplate - new free website template
Post by: davidefa on November 14, 2021, 07:38:43 AM
If I remember correctly I solved the extended graph issue modifying the indexDesktop.php ( in the root directory of meteotemplate ) script to use highcharts v6.1 ( in lines 189-190 ).

 [ You are not allowed to view attachments ]

Regarding the rain block I can visualize it correctly


 [ You are not allowed to view attachments ]


Maybe you can try a different browser or clearing the cache of the browser

Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 15, 2021, 08:29:00 AM
Hi, thanks for the help, sadly it didn't work for my issue, those 1st 2 graphs (https://www.brecklandweather.com/meteo/plugins/extendedGraphs/index.php) just will not play ball

Woah, that's so weird the rain graphics working for you, they do not for me and I've tried Chrome (go to browser), Edge and Firefox, its also the same on my weather laptop for both Chrome and Edge, its also the same on my Note 20 Ultra 5G using Chrome and Samsung browser, and the same on 4x Tab S2's and Nvidia Shield K1 tablet perhaps at the time you checked it was working, maybe its not now? Just check all of my devices and they all show it not working, really weird, perhaps its a server thing?

I really don't get it, Just noticed an update for the Chrome browser on my lappy and now the rain graphic is showing but its still not on everything else, what is going on here :/
Title: Re: Meteotemplate - new free website template
Post by: davidefa on November 15, 2021, 11:45:10 AM
Regarding the extendedGraph I noticed your plugins/extendedGraphs/highstock.js scripts is slightly different from mine ( only in 5 points it has https in place of http ).
I tried your highstock.js script on my testing server and it misbehaves as on your server.
It's worth a try.

P.S.
After substituting the script need to clear cache/site data or use a different browser


 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Gyvate on November 15, 2021, 07:19:06 PM
Hi, thanks for the help, sadly it didn't work for my issue, those 1st 2 graphs (https://www.brecklandweather.com/meteo/plugins/extendedGraphs/index.php) just will not play ball

Woah, that's so weird the rain graphics working for you, they do not for me and I've tried Chrome (go to browser), Edge and Firefox, its also the same on my weather laptop for both Chrome and Edge, its also the same on my Note 20 Ultra 5G using Chrome and Samsung browser, and the same on 4x Tab S2's and Nvidia Shield K1 tablet perhaps at the time you checked it was working, maybe its not now? Just check all of my devices and they all show it not working, really weird, perhaps its a server thing?

I really don't get it, Just noticed an update for the Chrome browser on my lappy and now the rain graphic is showing but its still not on everything else, what is going on here :/
with me (my MT) the rain icons also keep on disappearing and reappearing
 [ You are not allowed to view attachments ]   [ You are not allowed to view attachments ]
clicking on the refresh button of the browser rarely helps, whereas clicking on the homepage icon (top left) of MT usually brings the icons back.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 15, 2021, 10:26:48 PM
Regarding the extendedGraph I noticed your plugins/extendedGraphs/highstock.js scripts is slightly different from mine ( only in 5 points it has https in place of http ).
I tried your highstock.js script on my testing server and it misbehaves as on your server.
It's worth a try.

P.S.
After substituting the script need to clear cache/site data or use a different browser


 [ You are not allowed to view attachments ]

Thank you ever so much, it looks like its working now in FF, not in Chrome or Edge as yet, i did clear the cache so hopefully they will play ball soon all working now, thanks again for the help :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 15, 2021, 10:28:07 PM

with me (my MT) the rain icons also keep on disappearing and reappearing

clicking on the refresh button of the browser rarely helps, whereas clicking on the homepage icon (top left) of MT usually brings the icons back.

Wow, that may explain how i managed to get it working at times, thank you, i wonder why its falling over the other times though, and for so many devices/browser
Title: Re: Meteotemplate - new free website template
Post by: davidefa on November 16, 2021, 03:53:00 AM
Super Gyvate you nailed it.
The correct site url is that given in the main setup of meteotemplate ( same as clicking the home icon )
So the Bashy site url should be: https://www.brecklandweather.com/meteo/indexDesktop.php
The Gyvate site url should be: http://meshka.eu/meteo/template/indexDesktop.php
Other urls may work partially ( as you experienced ):
http://www.brecklandweather.com/meteo/indexDesktop.php
http://brecklandweather.com/meteo/indexDesktop.php

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 16, 2021, 06:59:02 AM
Super Gyvate you nailed it.
The correct site url is that given in the main setup of meteotemplate ( same as clicking the home icon )
So the Bashy site url should be: https://www.brecklandweather.com/meteo/indexDesktop.php
The Gyvate site url should be: http://meshka.eu/meteo/template/indexDesktop.php
Other urls may work partially ( as you experienced ):
http://www.brecklandweather.com/meteo/indexDesktop.php
http://brecklandweather.com/meteo/indexDesktop.php

 [ You are not allowed to view attachments ]

I get it, so I need to add https://brecklandweather.com to the redirect as well then, thanks guys...
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 16, 2021, 07:13:20 AM
When I set the redirect to go to https:// and then go to brecklandweather.com, it just goes to https://brecklandweather.com stupid thing...

This is what is in my htaccess file

Code: [Select]
RewriteCond %{HTTP_HOST} ^brecklandweather\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.brecklandweather\.com$
RewriteRule ^/?$ "https\:\/\/www\.brecklandweather\.com\/meteo\/indexDesktop\.php" [R=301,L]



Going to
https://brecklandweather.com/meteo/indexDesktop.php
Should, by rights go to https://www.brecklandweather.com/meteo/indexDesktop.php but it doesn't :/
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 22, 2021, 09:40:56 AM
Hi folks, i need a little help with the webcam image saving to the db, it use to work for about 3 months back in 2017  :lol: #-o :roll: :roll:

It stopped a few months later and i never even noticed cause i don't look at the webcam  :oops:

To be honest, i really do not have a clue as to why it would stop, well, apart from the db settings
but i think it works off the main db settings so they must be correct as the weather data is updating the db
Unless i have it totally wrong?

https://www.brecklandweather.com/meteo/plugins/webcam/index.php

Thanks...
Title: Re: Meteotemplate - new free website template
Post by: davidefa on November 22, 2021, 11:10:57 AM
You should have a cron job that executes load/cron.php?password=xxx ( insert your update password ).
This is needed for your webcam images to be saved in db.
Check if it is working correctly.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 22, 2021, 11:17:04 AM
wahoo, thats the money shot right there, i did, at the very early stages of the template, change folder name from template to meteo
I am gonna go out on a hunch here and say that that was the issue before I've even checked to see if its working lol
I have just checked now and the 1st images is in the db, thank you davidefa, very much appreciated, thank you :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 22, 2021, 11:20:52 AM
Dammit, i was a tad premature lol, the 1st image is in the db and in the webcam/images folder but its empty, 0kb :/
Just refreshed the FTP and the 2nd is in now and that too is blank...

Interestingly, its saving blanks every 5 minutes but i have it set to every minute, more confusing lol
Is it my image being 920?
Title: Re: Meteotemplate - new free website template
Post by: davidefa on November 23, 2021, 11:28:40 AM
This is a slightly modified version of load/crons/updateWebcam.php script ( it has additional debug prints )
Expand it in the load/crons directory ( make a backup of the original file ).
Execute the script ( https://www.brecklandweather.com/meteo/load/cron.php?password=xxxx ) and post the result.
My guess is that the file_get_contents in line 152 fails ( for some reason ), added another attempt to retrieve image in line 159 ( that may succeed )

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Bashy on November 24, 2021, 04:48:45 AM
This is a slightly modified version of load/crons/updateWebcam.php script ( it has additional debug prints )
Expand it in the load/crons directory ( make a backup of the original file ).
Execute the script ( https://www.brecklandweather.com/meteo/load/cron.php?password=xxxx ) and post the result.
My guess is that the file_get_contents in line 152 fails ( for some reason ), added another attempt to retrieve image in line 159 ( that may succeed )

 [ You are not allowed to view attachments ]

Hi, thank you for the file and the assist, much appreciated, i have done as requested but once i had ran that, i thought i would quickly check and it looks like its saving now, oh i also changed the image to 640x480, don't know if that helped... https://www.brecklandweather.com/meteo/plugins/webcam/index.php

Code: [Select]
debug=1
baseURL=/home/breckland/public_html/meteo/
intervalFromLastSave=102 sec
webcamSaveInterval=5 min
Webcam image being saved.
imageURL=##http://www.brecklandweather.com/jpgwebcam.jpg##
file_get_contents: read 154021 bytes
nwritten=154021
INSERT INTO webcam (DateTime, T, H, P, R, RR, S, W, G, img) VALUES ('2021-11-24 09:41:44',5.9, 96.1, 1022.400, 0.000, 0.000, 18.0, 0.7, 3.8, '202111240941')
No images older than 2002-01-25 00:00:00
Loaded CRON: /home/breckland/public_html/meteo/load/crons/updateWebcam.php

Very much appreciate it and taking the time and patience with me :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on December 03, 2021, 05:45:28 AM
Hi folks, not sure whats going on but it looks like my site defaulted to a previous password, the only way that could happen is if i changed it or my site was restored from a backup, neither of those things, this led to my MT not getting data for over 4 days. Thats been resolved now but my Steelseries is not working, I'm getting a syntax parse error according to the LED scroller. https://www.brecklandweather.com/meteo/plugins/steelSeries/index.php
Title: Re: Meteotemplate - new free website template
Post by: davidefa on December 03, 2021, 06:32:42 PM
I see your plugins/steelSeries/cache/yesterday.txt is empty and your plugins/steelSeries/ssMeteotemplate.php results in errror.
Try uploading this script ( which has extended error logging enabled, and a few errors corrected ), in plugins/steelSeries directory, calling with the browser should display something like this:

 [ You are not allowed to view attachments ]

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Bashy on December 03, 2021, 11:35:12 PM
I see your plugins/steelSeries/cache/yesterday.txt is empty and your plugins/steelSeries/ssMeteotemplate.php results in errror.
Try uploading this script ( which has extended error logging enabled, and a few errors corrected ), in plugins/steelSeries directory, calling with the browser should display something like this:


Hi, thanks for the reply,  upon checking them this morning (4am) they are working again, is that due to getting the site running again yesterday? i ask that because you mentioned yesterday.txt cache being empty? I still upped that script though and the results
https://www.brecklandweather.com/meteo/plugins/steelSeries/ssMeteotemplate1.php

Thanks again for your help, i am still baffled how the password reverted to and older one, i had it set to something simple whilst testing stuff in case anyone needed access and i hadn't changed it back yet, not that i can recall anyway, its not sommat you forget mind lol
Title: Re: Meteotemplate - new free website template
Post by: davidefa on December 04, 2021, 05:48:02 AM
Sorry can't help about remembering/forgetting ( I'm old, I even don't remember what I ate yesterday ; - ).
But password and configuration are stored in config.php, so the only way of changing them ( I can imagine ) is via the main configuration page or editing the file directly ( or restoring a previous backup )
Title: Re: Meteotemplate - new free website template
Post by: Bashy on December 04, 2021, 06:00:17 AM
Sorry can't help about remembering/forgetting ( I'm old, I even don't remember what I ate yesterday ; - ).
But password and configuration are stored in config.php, so the only way of changing them ( I can imagine ) is via the main configuration page or editing the file directly ( or restoring a previous backup )


I think I vaguely remember doing something a few days back and maybe I restored some files from, no, wait, that was for the pwsWD2021 template, different folder, but ya get pretty much guarantee I did sommat and forgot about it, just kicking myself that it was 4 days up the swanny lol thanks again, you're a great help as always :)
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 06, 2022, 10:58:38 AM
RE webcam plugin, if i have it setup like this, why is it saving the images every 5 minutes and not every minute, please?
Title: Re: Meteotemplate - new free website template
Post by: Gyvate on February 06, 2022, 11:45:11 AM
I guess it's because the database archive interval is 5 minutes .
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 06, 2022, 11:48:28 AM
I guess it's because the database archive interval is 5 minutes .

What am i missing, please? I have it set to 1 minute, where is this 5 minute setting? it must be hard coded?
Title: Re: Meteotemplate - new free website template
Post by: Gyvate on February 06, 2022, 12:54:15 PM
I guess it's because the database archive interval is 5 minutes .

What am i missing, please? I have it set to 1 minute, where is this 5 minute setting? it must be hard coded?
What did you set to one minute ?
The plugin or the database ? The database has afaik no (direct) option to set the archiving interval. I guess it's someware in the php files.
I don't think you can have a picture update interval separate from the weather data archiving interval. (But I may be mistaken).
Maybe the 1 minute pictures are saved somewhere "locally", i.e. not in the database but in the file system.
As does the API - it collects data from the posting source in a loop, accumulates them and every archiving interval, afaik that's every 5 minutes, one resulting entry per table is made.
That may be difficult (by nature) with pictures, you cannot add them or choose e.g. a max value.
I don't know who has written the plugin and what is the logic behind it though.
When you go through all the php files you may find (or someone else already knows) where the database interval is defined, and one could change this.
The php script which makes the database updates needs to be trigered somehow, usually by some cron job.
It may also depend on the CRON implementation of your web hoster who may not allow shorter database update intervals.

Maybe you should direct your question directly to Jachym, the designer of meteotemplate. He should know how it works and how it can be done (if it can be done).
Title: Re: Meteotemplate - new free website template
Post by: davidefa on February 06, 2022, 04:12:47 PM
The webcam table is different from the sensors table and you can set different update intervals ( well the sensors update interval is fixed to 5 mins ).
As Gyvate pointed out, the culprit is the cron job that executes the load/cron.php, you have to set it at 1 min interval ( all the scripts in load/crons directory should execute at their set interval )
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 06, 2022, 10:43:47 PM
Thanks guys, i have changed the load/cron to update every 1 minute, i will see how that goes :)

Yep, that's got it, luckily, its my own server hosted in France so i have no constraints, thanks again guys, much appreciated :)
Title: Re: Meteotemplate - new free website template
Post by: davidefa on February 07, 2022, 04:38:39 AM
I see your api.php is called every few seconds ( 3 seconds roughly ) this is 'too much fast' ( I don't think meteotemplate can cope well with this update rate )
Additionally I see none of your pages that shows graph ( graghInteractive, Extended Graphs, Temperature... in menu Weather Station ) work as intended.
I think you should reduce the data update rate ( to 1 min to be on the safe side ) and see if this helps.
If this have no effect, we should dig deeper.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 07, 2022, 08:08:37 AM
I see your api.php is called every few seconds ( 3 seconds roughly ) this is 'too much fast' ( I don't think meteotemplate can cope well with this update rate )
Additionally I see none of your pages that shows graph ( graghInteractive, Extended Graphs, Temperature... in menu Weather Station ) work as intended.
I think you should reduce the data update rate ( to 1 min to be on the safe side ) and see if this helps.
If this have no effect, we should dig deeper.

Hi, i have my own server with no limitations at all

Datacentre- RBX1 - Rack: 12B05 - Server ID: 106784
OS - Centos 7 cPanel (64bits)
Boot - Boot from hard drive (no netboot)
Commercial name - KS-6 Server - Intel i5-750 - 16GB DDR3 1333 MHz - 2Tb SATA

Load avg 0.17 - 0.17 - 0.15

So its plenty capable of handling those 3-second updates, its been doing it for the last 10 years on this server :)
Its set to 3 seconds because because my wind is updated every 2.7 seconds.

As for those graphs, it is strange because i did get them all working when i last noticed an issue with them, but i cannot remember what the fix was, i think you may have helped, i am going to have to go through all my replies and see whats what, but yeah, they shouldn't stop working for no reason, i haven't done anything at all to the template since I last got them working, weird.

Also noticed the rain block has stopped working also, btw, the data is added to the db every 5 minutes by the looks of things, the 3 second API call is primarily for the live data, steel series etc

My chrome browser seems to have a problem with this site also, it keeps lagging and i cannot find out what the issue is.

Code: [Select]

 Edit Copy Delete2011-12-12 23:52:008.48.48.498.08.127.437.0193.00.0001.800980.900NULL2.6
 Edit Copy Delete2011-12-12 23:57:008.58.58.598.08.217.142.6172.00.0001.800980.900NULL4.8
 Edit Copy Delete2011-12-13 00:02:008.58.58.598.08.223.037.0190.00.0000.000980.900NULL3.6
 Edit Copy Delete2011-12-13 00:07:008.58.58.598.08.221.935.2214.00.0000.000980.900NULL3.8

Just noticed that NULL, looks like S (sun?) stopped working 2017-05-09 17:25:00 lol
Title: Re: Meteotemplate - new free website template
Post by: davidefa on February 07, 2022, 07:32:21 PM
No doubt your server can handle a query every 3 seconds ( I was only wondering if meteotemplate can ), but if you did this for the last 10 year we could be 'quite sure' it can.
You posted the database records of 2011 ( 1 record every 5 minutes ), check if the last records are saved regularly every 5 minutes too.
You can also copy the attached script in the homepge/blocks/interactiveGraph directory and call it in the browser:
Code: [Select]
https://www.brecklandweather.com/meteo/homepage/blocks/interactiveGraph/graphAjax1.php?parameter=T&value=all&interval=todayit should print a few debug info to help pinpoint the problem.
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 07, 2022, 11:21:33 PM
No doubt your server can handle a query every 3 seconds ( I was only wondering if meteotemplate can ), but if you did this for the last 10 year we could be 'quite sure' it can.
You posted the database records of 2011 ( 1 record every 5 minutes ), check if the last records are saved regularly every 5 minutes too.
You can also copy the attached script in the homepge/blocks/interactiveGraph directory and call it in the browser:
Code: [Select]
https://www.brecklandweather.com/meteo/homepage/blocks/interactiveGraph/graphAjax1.php?parameter=T&value=all&interval=todayit should print a few debug info to help pinpoint the problem.


Hi, thanks for looking in to my issue again,


please see the image for the latest db additions, was much easier grabbing the screenshot than trying to cut, paste and getting it to look ok :/

I have added the script and checked it but its all hocus pocus to me lol
I tried copying and pasting the data but it all ended up on one like so, here's the URL again lol

https://www.brecklandweather.com/meteo/homepage/blocks/interactiveGraph/graphAjax1.php?parameter=T&value=all&interval=today (https://www.brecklandweather.com/meteo/homepage/blocks/interactiveGraph/graphAjax1.php?parameter=T&value=all&interval=today)

Title: Re: Meteotemplate - new free website template
Post by: davidefa on February 08, 2022, 07:29:49 AM
Well, I'd say everything is ok but nothing works.
The sql query returns no error and no result.

Please try executing this sql query in phpmyadmin ( copy in the sql tab and click go ), it should return many rows:
Code: [Select]
SELECT DateTime, avg(T), avg(A), min(Tmin), max(Tmax), avg(D) FROM alldata WHERE DATE(alldata.DateTime) = CURDATE() GROUP BY YEAR(alldata.DateTime), MONTH(alldata.DateTime), DAY(alldata.DateTime), HOUR(alldata.DateTime), MINUTE(alldata.DateTime) ORDER BY DateTime
If the above returns 0 rows try the followings:
Code: [Select]
SELECT DateTime, avg(T), avg(A), min(Tmin), max(Tmax), avg(D) FROM alldata WHERE DATE(alldata.DateTime) = CURDATE() ORDER BY DateTime
Code: [Select]
SELECT DateTime, avg(T), avg(A), min(Tmin), max(Tmax), avg(D) FROM alldata WHERE DATE(alldata.DateTime) = CURDATE() GROUP BY YEAR(alldata.DateTime), MONTH(alldata.DateTime), DAY(alldata.DateTime), HOUR(alldata.DateTime), MINUTE(alldata.DateTime) ORDER BY alldata.DateTime
Code: [Select]
SELECT DateTime, avg(T), avg(A), min(Tmin), max(Tmax), avg(D) FROM alldata WHERE DATE(DateTime) = CURDATE() GROUP BY YEAR(DateTime), MONTH(DateTime), DAY(DateTime), HOUR(DateTime), MINUTE(DateTime) ORDER BY DateTime
Code: [Select]
SELECT DateTime, T, A, Tmin, Tmax, D FROM alldata WHERE DATE(alldata.DateTime) = CURDATE() GROUP BY YEAR(alldata.DateTime), MONTH(alldata.DateTime), DAY(alldata.DateTime), HOUR(alldata.DateTime), MINUTE(alldata.DateTime) ORDER BY DateTime
This should work ( as it the same query used by station data blocks that works in your homepage ):
Code: [Select]
SELECT  max(Tmax), min(Tmin), avg(T), avg(H), max(H), min(H), avg(P), max(P), min(P), avg(A), max(A), min(A), avg(D), max(D), min(D), avg(W), max(W), avg(G), max(G), avg(S), max(S), max(R), min(W), min(G), min(S), max(RR) FROM  alldata WHERE DATE(DateTime) = CURDATE()
Please also check that the structure of the alldata table is similar to this one:

 [ You are not allowed to view attachments ]
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 08, 2022, 07:50:24 AM
Hi, the structure is the same

All of the sql's ya gave do not work, they give an error, but the last one worked  as seen in the image below

This should work ( as it the same query used by station data blocks that works in your homepage ):

Code: [Select]
SELECT  max(Tmax), min(Tmin), avg(T), avg(H), max(H), min(H), avg(P), max(P), min(P), avg(A), max(A), min(A), avg(D), max(D), min(D), avg(W), max(W), avg(G), max(G), avg(S), max(S), max(R), min(W), min(G), min(S), max(RR) FROM  alldata WHERE DATE(DateTime) = CURDATE()
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 08, 2022, 07:54:26 AM
All the others gave these errors...
see image..
Title: Re: Meteotemplate - new free website template
Post by: davidefa on February 08, 2022, 08:50:00 AM
Ok, I should have tought!
You should disable the ONLY_FULL_GROUP_BY option in sql_mode ( via phpmyadmin or your hosting provider control panel ):
- if in phpmyadmin if you have the variables tab search for the sql_mode variable and remove ONLY_FULL_GROUP_BY option
- if you don't have the variable tab execute the following command ( from the integrated console or the sql tab ):

Code: [Select]
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

 [ You are not allowed to view attachments ]


P.S.
The previous script didn't return any error... well because I made an error : - (
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 08, 2022, 10:45:02 AM
Ok, I should have tought!
You should disable the ONLY_FULL_GROUP_BY option in sql_mode ( via phpmyadmin or your hosting provider control panel ):
- if in phpmyadmin if you have the variables tab search for the sql_mode variable and remove ONLY_FULL_GROUP_BY option
- if you don't have the variable tab execute the following command ( from the integrated console or the sql tab ):

Code: [Select]
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));




P.S.
The previous script didn't return any error... well because I made an error : - (

Thanks, i have executed that via SQL using my root privileges, it was good.

EDIT: ah ha, that fixed it, thank you ever so much, how did it managed to break though, any ideas?
Title: Re: Meteotemplate - new free website template
Post by: davidefa on February 08, 2022, 12:46:39 PM
Maybe your web hosting upgraded the mysql to a newer version that has this option enabled by default
Title: Re: Meteotemplate - new free website template
Post by: Bashy on February 08, 2022, 12:58:34 PM
I am my Web host, it's my own managed server, I think I may have updated mysql sometime in the last 6 months but I don't remember, so let's just say I did, best off that way, mystery solved lol
Title: Re: Meteotemplate - new free website template
Post by: Bashy on March 01, 2023, 08:36:53 PM
Hi folks, I have had earwigs playing seesaw, how would one go about fixing erroneous rain data in the database, well, i know how to do it for each 5 minute as a singular edit but i don't know how to zero the rain from say 01:35 to 08:55, thats one helluva lot of edits. I suppose i could go the nuke option and just delete those times in phpmyadmin, that would prob be easiest option, i was wondering if there is some SQL code that i could use to just nuke the rain from x time to x time, please?

Never mind, due to the script not resetting the day rain on many, many occasions, most of my rain data is just wrong

www.brecklandweather.com
Title: Re: Meteotemplate - new free website template
Post by: livefeed on March 07, 2023, 04:20:37 PM
Any help here would be much appreciated as I'm pulling my hair out!

The display of my webpage is completely messed up. I have updated all the files as mentioned over in the MT thread I've even tried a brand new fresh install, but the page layout using Safari on a Mac or chrome looks a mess (even on a pc). Were is the problem? is it in the database or in the files as like I said with a clean install, I get the same output.

http://www.nitram-media.com/weather (http://www.nitram-media.com/weather)
PHP 8.1

I also posted this in the MT forum.
Title: Re: Meteotemplate - new free website template
Post by: davidefa on March 08, 2023, 09:53:29 AM
You have http to https redirection enabled.
Check in the meteotemplate control panel -> main setup that 'Page URL' is set to https://www.nitram-media.com ( note the leading https )

( see n. 1 )
 [ You are not allowed to view attachments ]

Title: Re: Meteotemplate - new free website template
Post by: livefeed on March 08, 2023, 02:46:35 PM
@davidefa thank you for all your work that you do here.
Yes that was the issue and all fixed now.
Title: Re: Meteotemplate - new free website template
Post by: Jáchym on August 22, 2023, 09:57:21 AM
Hi guys,

just to let you know, over the weekend I released a new version. Major change is that the template is now compatible with PHP8.x. There are also some bug fixes and security updates so I highly recommend updating to the most recent 19.0 Cranberry version.

Enjoy
Title: Re: Meteotemplate - new free website template
Post by: livefeed on August 22, 2023, 10:38:21 AM
@Jáchym Installed and working great - thank you!
Title: Re: Meteotemplate - new free website template
Post by: Gyvate on August 31, 2023, 06:32:26 AM
I have two MT installations - one 18.0 (http://meshka.eu/meteo/template) and one upgraded to V. 19.0 (http://rainer-lang.net/meteo/template)  - my test environment.
They are running on different web hosts.
This morning 2023-08-31 00:55 both stopped writing to the database.
They are still showing the current data, but no longer archiving the data.
below a recent apiLog.txt file, which shows imo some weird discrepancies
even though the apiLog.txt file creation timestamp is 2023-08-31 12:02:43 (24h notation), it says in the end

End time for database update based on timestamp of current data: 2023-08-31 11:26:27
Rounded end time for database update: 2023-08-31 11:30:00
Not yet time to update the db, saving new data to cache/apiCache.txt

where can I find a log file for the database connection and database writes etc. ?

any advice is welcome
thanks

Code: [Select]
2023-08-31 12:02:43
INFOS:
Authorized access.
Current date/time: 2023-08-31 12:02:43
api called by http
update U: 1693473987
update T: 16.8
update TMX: 16.8
update TMN: 16.7
update H: 70.0
update P: 1014.5
update W: 1.8
update G: 2.9
update B: 87.0
update R: 0.0
update RR: 0.0
update S: 674.0
update UV: 3.0
update TIN: 24.2
update HIN: 51.0
update T1: 17.7
update H1: 68.0
update T2: 18.9
update H2: 69.0
update T3: 16.6
update H3: 72.0
update T4: 15.9
update H4: 80.0
update SM1: 76
update SM2: 87
update SM3: 72
update SM4: 59
update SM5: 24
update L: 0
update LD: 20
update LT: 1692940487
update PP1: 7.0
update PP2: 4.0
update PP3: 1.0
update PP4: 2
update CO2_1: 345.0
update TS1: -22.7
update TS2: 24.9
update TS3: 7.3
update T5: -22.7
update T6: 24.9
update H6: 67.0
update T7: 7.3
update H7: 44.0
update T8: 16.8
update H8: 70.0
update T9: 14.9
update T10: 35.0
update T11: 16.3
update Station: GW1000A
update FW: V1.7.3
Begin of common part of api script
Start handling live data
Checking if extra sensors should be logged
Extra sensors data to save in db: TIN, HIN, UV, L, LD, LT, T1, H1, TS1, SM1, CO2_1, PP1, T2, H2, TS2, SM2, PP2, T3, H3, TS3, SM3, PP3, T4, H4, SM4, PP4, T5, SM5, T6, H6, T7, H7, T8, H8
add live data: D: 11.3
add live data: DTime: 1693476158
add live data: A: 17.2
add live data: ATime: 1693476158
calculated D: 11.3
calculated A: 16.9
Save meteotemplateLive.txt: {"U":1693473987,"T":16.8,"TMX":16.8,"TMN":16.7,"H":70,"P":1014.5,"W":1.8,"G":2.9,"B":87,"R":0,"RR":0,"S":674,"UV":3,"TIN":24.2,"HIN":51,"T1":17.7,"H1":68,"T2":18.9,"H2":69,"T3":16.6,"H3":72,"T4":15.9,"H4":80,"SM1":76,"SM2":87,"SM3":72,"SM4":59,"SM5":24,"L":0,"LD":20,"LT":1692940487,"PP1":7,"PP2":4,"PP3":1,"PP4":2,"CO2_1":345,"TS1":-22.7,"TS2":24.9,"TS3":7.3,"T5":-22.7,"T6":24.9,"H6":67,"T7":7.3,"H7":44,"T8":16.8,"H8":70,"T9":14.9,"T10":35,"T11":16.3,"Station":"GW1000A","FW":"V1.7.3","UTime":1693476163,"TTime":1693476163,"TMXTime":1693476163,"TMNTime":1693476163,"HTime":1693476163,"PTime":1693476163,"WTime":1693476163,"GTime":1693476163,"BTime":1693476163,"RTime":1693476163,"RRTime":1693476163,"STime":1693476163,"UVTime":1693476163,"TINTime":1693476163,"HINTime":1693476163,"T1Time":1693476163,"H1Time":1693476163,"T2Time":1693476163,"H2Time":1693476163,"T3Time":1693476163,"H3Time":1693476163,"T4Time":1693476163,"H4Time":1693476163,"SM1Time":1693476163,"SM2Time":1693476163,"SM3Time":1693476163,"SM4Time":1693476163,"SM5Time":1693476163,"LTime":1693476163,"LDTime":1693476163,"LTTime":1693476163,"PP1Time":1693476163,"PP2Time":1693476163,"PP3Time":1693476163,"PP4Time":1693476163,"CO2_1Time":1693476163,"TS1Time":1693476163,"TS2Time":1693476163,"TS3Time":1693476163,"T5Time":1693476163,"T6Time":1693476163,"H6Time":1693476163,"T7Time":1693476163,"H7Time":1693476163,"T8Time":1693476163,"H8Time":1693476163,"T9Time":1693476163,"T10Time":1693476163,"T11Time":1693476163,"StationTime":1693476163,"FWTime":1693476163,"D":11.3,"DTime":1693476163,"A":16.9,"ATime":1693476163}
Start data parsing
Parsing date; Server time: 2023-08-31 12:02:43
Validating date: 1693473987 (2023-08-31 11:26:27)
Date is valid; difference with server time is -2176 s
Parsing temperature
Temperature: 16.8 C
Database units: C
Checking temperature is between limits specified in template Main settings.
Minimum temperature limit: -100 C
Maximum temperature limit: 100 C
Temperature is OK and within the allowed limits
Parsing maximum temperature
Max Temperature: 16.8 C
Database units: C
Checking max temperature is between limits specified in template Main settings.
Minimum temperature limit: -100 C
Maximum temperature limit: 100 C
Max Temperature is OK and within the allowed limits
Parsing minimum temperature
Min Temperature: 16.7 C
Database units: C
Checking min temperature is between limits specified in template Main settings.
Minimum temperature limit: -100 C
Maximum temperature limit: 100 C
Min Temperature is OK and within the allowed limits
Parsing humidity
Humidity: 70.0 percent
Checking humidity is between limits specified in template Main settings.
Minimum humidity limit: 0 %
Maximum humidity limit: 100 %
Humidity is OK and within the allowed limits
Parsing wind speed
Wind speed: 1.8 kmh
Database wind speed units: kmh
Checking wind speed is between limits specified in template Main settings.
Minimum wind speed limit: 0 kmh
Maximum wind speed limit: 200 kmh
Wind speed is OK and within the allowed limits
Parsing wind gust
Wind gust: 2.9 kmh
Database wind units: kmh
Checking wind gust is between limits specified in template Main settings.
Minimum wind gust limit: 0 kmh
Maximum wind gust limit: 200 kmh
Wind gust is OK and within the allowed limits
Parsing wind direction
Wind direction: 87.0 degrees
Wind direction is OK and within the allowed limits
Parsing daily cumulative precipitation
Precipitation: 0.0 mm
Database precipitation units: mm
Checking precipitation is between limits specified in template Main settings.
Minimum precipitation limit: 0 mm
Maximum precipitation limit: 200 mm
Precipitation is OK and within the allowed limits
Parsing rain rate
Rain rate: 0.0 mm/h
Database rain units: mm/h
Checking rain rate is between limits specified in template Main settings.
Minimum rain rate limit: 0 mm/h
Maximum rain rate limit: 500 mm/h
Rain rate is OK and within the allowed limits
Parsing solar radiation
Solar radiation: 674.0 w/m2
Checking solar radiation is between limits specified in template Main settings.
Minimum solar radiation limit: 0 W/m2
Maximum solar radiation limit: 2000 W/m2
Solar radiation is OK and within the allowed limits
Now parsing extra sensors.
Sensor indoor temperature raw value: 24.2 deg C
Limits for this sensor: 1 to 50
Sensor data within acceptable limits.
Sensor indoor humidity raw value: 51.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor UV raw value: 3.0
Limits for this sensor: 0 to 20
Sensor data within acceptable limits.
Sensor lightning raw value: 0
Limits for this sensor: 0 to 1000
Sensor data within acceptable limits.
Sensor lightning distance raw value: 20
Limits for this sensor: 0 to 100
Sensor data within acceptable limits.
Sensor lightning time raw value: 1692940487
Limits for this sensor: 0 to 10000000000
Sensor data within acceptable limits.
Sensor extra temperature sensor 1 raw value: 17.7 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 1 raw value: 68.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor soil temperature sensor 1 raw value: -22.7 deg C
Limits for this sensor: -60 to 80
Sensor data within acceptable limits.
Sensor soil moisture sensor 1 raw value: 76
Limits for this sensor: 0 to 200
Sensor data within acceptable limits.
Sensor CO2 sensor 1 raw value: 345.0 ppm
Limits for this sensor: 300 to 600
Sensor data within acceptable limits.
Sensor particulate pollution 1 raw value: 7.0 ug/m3
Limits for this sensor: 0 to 1000
Sensor data within acceptable limits.
Sensor extra temperature sensor 2 raw value: 18.9 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 2 raw value: 69.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor soil temperature sensor 2 raw value: 24.9 deg C
Limits for this sensor: -60 to 80
Sensor data within acceptable limits.
Sensor soil moisture sensor 2 raw value: 87
Limits for this sensor: 0 to 200
Sensor data within acceptable limits.
Sensor particulate pollution 2 raw value: 4.0 ug/m3
Limits for this sensor: 0 to 1000
Sensor data within acceptable limits.
Sensor extra temperature sensor 3 raw value: 16.6 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 3 raw value: 72.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor soil temperature sensor 3 raw value: 7.3 deg C
Limits for this sensor: -60 to 80
Sensor data within acceptable limits.
Sensor soil moisture sensor 3 raw value: 72
Limits for this sensor: 0 to 200
Sensor data within acceptable limits.
Sensor particulate pollution 3 raw value: 1.0 ug/m3
Limits for this sensor: 0 to 1000
Sensor data within acceptable limits.
Sensor extra temperature sensor 4 raw value: 15.9 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 4 raw value: 80.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor soil moisture sensor 4 raw value: 59
Limits for this sensor: 0 to 200
Sensor data within acceptable limits.
Sensor particulate pollution 4 raw value: 2 ug/m3
Limits for this sensor: 0 to 1000
Sensor data within acceptable limits.
Sensor extra temperature sensor 5 raw value: -22.7 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor soil moisture sensor 5 raw value: 24
Limits for this sensor: 0 to 200
Sensor data within acceptable limits.
Sensor extra temperature sensor 6 raw value: 24.9 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 6 raw value: 67.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor extra temperature sensor 7 raw value: 7.3 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 7 raw value: 44.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor extra temperature sensor 8 raw value: 16.8 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra humidity sensor 8 raw value: 70.0 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Cache file is over 30 minutes old, deleting it.
No cache file found, create empty file.
Parsing pressure
Pressure: 1014.5 hpa
Database pressure units: hpa
Checking pressure is between limits specified in template Main settings.
Minimum pressure limit: 950 hpa
Maximum pressure limit: 1100 hpa
Pressure is OK and within the allowed limits
Pressure is valid.
rawDCelsius: 11.3 16.8 70.0
Calculated dew point: 11.3 C
Dew point ok.
Calculated apparent temperature: 16.9 C
Apparent temperature ok. 16.9
End time for database update based on timestamp of current data: 2023-08-31 11:26:27
Rounded end time for database update: 2023-08-31 11:30:00
Not yet time to update the db, saving new data to cache/apiCache.txt
Generating log file cache/apiLog.txt
Title: Re: Meteotemplate - new free website template
Post by: Gyvate on August 31, 2023, 08:36:58 AM
meanwhile I've done a few checks myself.
No storage space issue with the database.
I can add a record manually to the main table - to the extra sensor table still to be verified it works equally well.

All looks like an application error ...
what is strange that both databases stopped recording (or the scripts stopped archiving) at the same time.
They both received there data from the same station - via Meteobridge.
Is it possible that the archiving script or scripts (which is/are ?) got stuck due to having received "incompatible" data before ?
Maybe some cache data to be deleted ? If so, which ones ?

the template says the station is offline, but that's not correct
meteotemplateLive.txt, apiLog.txt, apiCache.txt, apiReqLog.txt get regularly updated and the gauges show the current sensor values
only the database doesn't get updated anymore ... :roll:

I have meanwhile switched on php error logging on my website - waiting to see what that gives (if anything)...
Title: Re: Meteotemplate - new free website template
Post by: Dador on August 31, 2023, 04:20:00 PM
Thx Jáchym, the update was successful  [tup]