Author Topic: Meteotemplate - new free website template  (Read 627476 times)

0 Members and 1 Guest are viewing this topic.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6625 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

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #6626 on: April 27, 2017, 07:04:34 PM »
OK, I'll give it a try.  I'll let you know.

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline vreihen

  • El Nińo chaser
  • Forecaster
  • *****
  • Posts: 1216
  • K2BIG
Re: Meteotemplate - new free website template
« Reply #6627 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."
WU Gold Stars for everyone! :lol:

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6628 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 :-)

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #6629 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
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6630 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)

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - Cumulus
« Reply #6631 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

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #6632 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
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: Meteotemplate - new free website template
« Reply #6633 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

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6634 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

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6635 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.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - New Block – Forecast – Graphical
« Reply #6636 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

Offline nineback

  • Contributor
  • ***
  • Posts: 136
    • Albertville, AL Weather
Re: Meteotemplate - new free website template
« Reply #6637 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

Davis VP+
Weather Display/WeeWX
http://www.kq5s.com/

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6638 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

Offline nineback

  • Contributor
  • ***
  • Posts: 136
    • Albertville, AL Weather
Re: Meteotemplate - new free website template
« Reply #6639 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
Davis VP+
Weather Display/WeeWX
http://www.kq5s.com/

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6640 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

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6641 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

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - Plugin Update - CoCoRaHS 1.1
« Reply #6642 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

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: Meteotemplate - new free website template
« Reply #6643 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

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6644 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 :-)

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #6645 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
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6646 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.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6647 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?

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Meteotemplate - new free website template
« Reply #6648 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
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #6649 on: April 28, 2017, 12:55:47 PM »
Or a list of stations specified by you?