lightning block not showing map

Post Reply
kratochh
Newbie
Newbie
Posts: 6
Joined: Mon Sep 24, 2018 12:28 pm
Location: Gablitz
Station model: Davis Vantage Pro 2
Software: wl 2.0
Contact:

lightning block not showing map

Post by kratochh » Tue Nov 10, 2020 7:59 pm

Since some days the lightning block is not showing maps any more - is this a problem of my configuration or does anyone encouter the same issue?
Image

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: lightning block not showing map

Post by John B » Wed Nov 11, 2020 10:48 pm

No, kratochh, it is not your set up. It seems that Blitzortung has changed its file references/locations.

kratochh
Newbie
Newbie
Posts: 6
Joined: Mon Sep 24, 2018 12:28 pm
Location: Gablitz
Station model: Davis Vantage Pro 2
Software: wl 2.0
Contact:

Re: lightning block not showing map

Post by kratochh » Sat Jan 23, 2021 2:14 pm

I just figured out what changes need to be done to work properly:

Just replace "images" with "www" in the link to the maps in the file "lightning_block.php"

https://www.blitzortung.org/Images/...... ;)
Image

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: lightning block not showing map

Post by John B » Mon Jan 25, 2021 10:14 pm

That is fantastic, kratochh, thank you ever so much. :D

For those who might have got confused trying to amend the lightningBlock.php file you can do the changes on the following lines:
106
147
154
160
166
172
178
184
190
196
203

On each of those lines you will find "http://images.blitzortung.org/Images ...". Simply change the word images to www thus:
http://www.blitzortung.org/Images...

Thanks again, kratochh, I am ever so pleased to have the block working again. 8-)
Attachments
lightningBlock.zip
(1.97 KiB) Downloaded 407 times

Post Reply