Interactive banner
-
- Observer
- Posts: 30
- Joined: Thu Nov 04, 2021 4:44 pm
- Location: Galargues 34
- Station model: Davis pro 2
- Software: Weatherlink
- Contact:
Interactive banner
Goodnight all,
As for the interactive banner, it only works partially. It partly reacts to the METAR of Montpellier (France), it perfectly follows the day/night phases but it forgets to indicate the changes of image backgrounds or even the weather observed live (raindrops and wind direction, snow , etc). Have any of you seen this issue and how was it resolved, if possible?
Maybe Davide has an idea?
As for the interactive banner, it only works partially. It partly reacts to the METAR of Montpellier (France), it perfectly follows the day/night phases but it forgets to indicate the changes of image backgrounds or even the weather observed live (raindrops and wind direction, snow , etc). Have any of you seen this issue and how was it resolved, if possible?
Maybe Davide has an idea?
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Which header.php are you using?
Found an issue when I modified the file for PHP 8.x, the image names changed, so best solution is to have the original images and the images from Davids PHP8 modification in the directory. In that case, the interactive banner should work as expected.
Regards
Found an issue when I modified the file for PHP 8.x, the image names changed, so best solution is to have the original images and the images from Davids PHP8 modification in the directory. In that case, the interactive banner should work as expected.
Regards
Last edited by FSC830 on Thu Feb 16, 2023 7:25 pm, edited 1 time in total.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Interactive banner
As FSC830 said, I forgot to add this img folder to the php8 mod.
Simply uncompress it in your meteotemplate root directory
Simply uncompress it in your meteotemplate root directory
-
- Observer
- Posts: 30
- Joined: Thu Nov 04, 2021 4:44 pm
- Location: Galargues 34
- Station model: Davis pro 2
- Software: Weatherlink
- Contact:
Re: Interactive banner
Goodnight all,
Thanks to FSC830 and Davide for your quick response.
I actually changed header.php and it works except the day/night switch which remains stuck on day 24/24. Also the moon appears during the day but this may be normal in the new configuration.
Please let me know how to solve this little problem.
Excellent weekend to both of you but also to the whole community.
Thanks to FSC830 and Davide for your quick response.
I actually changed header.php and it works except the day/night switch which remains stuck on day 24/24. Also the moon appears during the day but this may be normal in the new configuration.
Please let me know how to solve this little problem.
Excellent weekend to both of you but also to the whole community.
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Hi,
attached is a header.php without moonview at day.
Day/night and interactiveBanner works fine with that at my test environment.
Be sure, that you have added the images from David.
Edit: Correct header file uploaded, previous file was from my test environment with little modifications, I apologize.
Regards
attached is a header.php without moonview at day.
Day/night and interactiveBanner works fine with that at my test environment.
Be sure, that you have added the images from David.
Edit: Correct header file uploaded, previous file was from my test environment with little modifications, I apologize.
Regards
Last edited by FSC830 on Sat Feb 18, 2023 2:38 pm, edited 2 times in total.
-
- Newbie
- Posts: 7
- Joined: Sun Jul 22, 2018 8:18 pm
- Location: Bolsward
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Interactive banner
Hi all,
I had the same issues with the interactive banner, and now it all works again!
Thank you very much.
One question, in the interactive banner it is also giving the weatherconditions in text, like: conditions: overcast.
Is there a way to set these weatherconditions in another language than englisch?
Regards,
Charlie
I had the same issues with the interactive banner, and now it all works again!
Thank you very much.
One question, in the interactive banner it is also giving the weatherconditions in text, like: conditions: overcast.
Is there a way to set these weatherconditions in another language than englisch?
Regards,
Charlie
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Ooops, than I did upload the wrong header file .
Thats only for my test environment with the conditions.
Its directly taken from the Metar information, so a translation is not done.
But in URL for the Metar information you can specify a language.
Edit: Wrong, I was mistaken again: the language can be specified in URL for openweathermap. Metar information is always in English.
Will upload the correct header shortly. -> done.
Regards
Thats only for my test environment with the conditions.
Its directly taken from the Metar information, so a translation is not done.
But in URL for the Metar information you can specify a language.
Edit: Wrong, I was mistaken again: the language can be specified in URL for openweathermap. Metar information is always in English.
Will upload the correct header shortly. -> done.
Regards
-
- Newbie
- Posts: 7
- Joined: Sun Jul 22, 2018 8:18 pm
- Location: Bolsward
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Interactive banner
Thanks for quick response, downloaded new header, and now it’s ok. No conditions in text anymore.
Regards Charlie
Regards Charlie
-
- Observer
- Posts: 30
- Joined: Thu Nov 04, 2021 4:44 pm
- Location: Galargues 34
- Station model: Davis pro 2
- Software: Weatherlink
- Contact:
Re: Interactive banner
Goodnight all,
Thank you all for your answers but however the problem remains with me.
The banner does not work.
There was better with Davide's header but there is a day/night problem.
With that of FSC830 the banner remains completely black with appearance of the moon.
I installed the correct images in the folder.
My site works in php 7.4 and some of our colleagues are still in this form and their banners work normally.
Is there a relation a correlation between the php versions and the functioning of the banner?
Do you have any idea what I should do?
Please and thank you again for your support.
Didier
Thank you all for your answers but however the problem remains with me.
The banner does not work.
There was better with Davide's header but there is a day/night problem.
With that of FSC830 the banner remains completely black with appearance of the moon.
I installed the correct images in the folder.
My site works in php 7.4 and some of our colleagues are still in this form and their banners work normally.
Is there a relation a correlation between the php versions and the functioning of the banner?
Do you have any idea what I should do?
Please and thank you again for your support.
Didier
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Yes, it sounds strange, but there is a relation between PHP and the interactive banner.
In PHP8.x the functions to evolve sunrise/sunset have been changed.
I did not check the modified banner backwards with PHP 7.4, I will do that later.
But please allow me to ask: if you are still at PHP7.4, why did you installed the header for PHP8.x?
Regards
In PHP8.x the functions to evolve sunrise/sunset have been changed.
I did not check the modified banner backwards with PHP 7.4, I will do that later.
But please allow me to ask: if you are still at PHP7.4, why did you installed the header for PHP8.x?
Regards
-
- Observer
- Posts: 30
- Joined: Thu Nov 04, 2021 4:44 pm
- Location: Galargues 34
- Station model: Davis pro 2
- Software: Weatherlink
- Contact:
Re: Interactive banner
Good morning,
Because it didn't work in PHP7.4.
I had the night/day change but not the transformation of the images according to the weather.
Because it didn't work in PHP7.4.
I had the night/day change but not the transformation of the images according to the weather.
Last edited by Laglene on Tue Feb 21, 2023 8:04 am, edited 1 time in total.
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Strange...
Do you have both images (the origin ones and the ones from David) in the weatherBG directory?
Which Metar station (Code) are you using?
I saw, that my Metar station often reports "CAVOK" instead of a cloud information. CAVOK is Clouds And Visibility OK, but in origin code this ends in a "NA" (not availlable) for the conditions.
And NA again results in not displaying weather background images but the default day/night background.
So its may be an good idea to look up the Metar string which is send from your station.
I am too still running a 7.4 environment at my VM environment and header works as designed (using the original MT files, not any modified files for newer PHP version).
Regards
Edit: I see, you have an individual banner. What is preferred, the individual banner or the weather backgrounds? And Metar station is Montpellier?
Edit II: As far as I see, your interactiveBanner changes referring to the weather conditions? Today is a different banner than yesterday?
Do you have both images (the origin ones and the ones from David) in the weatherBG directory?
Which Metar station (Code) are you using?
I saw, that my Metar station often reports "CAVOK" instead of a cloud information. CAVOK is Clouds And Visibility OK, but in origin code this ends in a "NA" (not availlable) for the conditions.
And NA again results in not displaying weather background images but the default day/night background.
So its may be an good idea to look up the Metar string which is send from your station.
I am too still running a 7.4 environment at my VM environment and header works as designed (using the original MT files, not any modified files for newer PHP version).
Regards
Edit: I see, you have an individual banner. What is preferred, the individual banner or the weather backgrounds? And Metar station is Montpellier?
Edit II: As far as I see, your interactiveBanner changes referring to the weather conditions? Today is a different banner than yesterday?
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Got it:
As written above, a look to the Metar data is always an good idea.
Just noticed, that your header is not displaying a weather background and here is current Metar string:
Regards
Edit: I modified the file in that way, that CAVOK is handled in same way as "partly cloudy". So a weatherBG image other than the blank default is displayed.
As written above, a look to the Metar data is always an good idea.
Just noticed, that your header is not displaying a weather background and here is current Metar string:
Code: Select all
2023/02/22 13:00
LFMT 221300Z AUTO 10004KT CAVOK 14/10 Q1017 NOSIG
Edit: I modified the file in that way, that CAVOK is handled in same way as "partly cloudy". So a weatherBG image other than the blank default is displayed.
-
- Forecaster
- Posts: 182
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Interactive banner
....interesting....
i'm still using php 7.4 , i tried to modify to 8.0 without succes , need more time
are there any settings to configure in the old header.php because now i noticed i never get night time, sunrise , sunset pics.
can you give me your settings for signature sticker?
it's not really interactive now i noticed.
grtz
A
i'm still using php 7.4 , i tried to modify to 8.0 without succes , need more time
are there any settings to configure in the old header.php because now i noticed i never get night time, sunrise , sunset pics.
can you give me your settings for signature sticker?
it's not really interactive now i noticed.
grtz
A
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
What settings for a signature sticker you mean?
Regards
Edit: Your header looks like "fog" is the actual condition.
If you did not change code in the old header, the weather background should change depending to time and conditions.
The "interactive" refers to this (and some more, like rain&snow).
Which header are you currently using?
I see, that the Moon is shown, which was not default during daytime in old header.
Regards
Edit: Your header looks like "fog" is the actual condition.
If you did not change code in the old header, the weather background should change depending to time and conditions.
The "interactive" refers to this (and some more, like rain&snow).
Which header are you currently using?
I see, that the Moon is shown, which was not default during daytime in old header.
-
- Forecaster
- Posts: 182
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Interactive banner
I use the v17.2 Nectarine 2019-06-27
In other stickers i can see month, year, today changing.
my type in the sticker is set to interactive.
grtz
A
In other stickers i can see month, year, today changing.
my type in the sticker is set to interactive.
grtz
A
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
I see, you mean the signature here in forum.
Never took a look into this , will do that in next time, so currently I cant give an answer, someone else needs to jump in.
Regards
Never took a look into this , will do that in next time, so currently I cant give an answer, someone else needs to jump in.
Regards
-
- Observer
- Posts: 30
- Joined: Thu Nov 04, 2021 4:44 pm
- Location: Galargues 34
- Station model: Davis pro 2
- Software: Weatherlink
- Contact:
Re: Interactive banner
Good evening,
Thank you for your help, thanks to you my banner works perfectly.
It's really super!
If I may, what nationality are you?
Is it possible to send me the address of your site either in response to this message or in private.
thanks again
Didier
Thank you for your help, thanks to you my banner works perfectly.
It's really super!
If I may, what nationality are you?
Is it possible to send me the address of your site either in response to this message or in private.
thanks again
Didier
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Just added the information some hours ago to my signature .
The animated sticker seems not running in PHP8.x, if I find some time, I will look at that.
Regards
The animated sticker seems not running in PHP8.x, if I find some time, I will look at that.
Regards
- lemimi
- Advisor
- Posts: 86
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: Interactive banner
Hello,
Maybe a clue..
Your banner is currently running with the stickerInteractive.php file.
Ours run with stickerInteractiveAnim.php.
If I replace stickerInteractive.php with stickerInteractiveAnim.php in your URL it gives me a blank page.
If I insert my own address instead of yours it works.
https://lemimi.fr/template/plugins/stic ... ive&random
Maybe update or reload this file
Regards... Michel
Maybe a clue..
Your banner is currently running with the stickerInteractive.php file.
Ours run with stickerInteractiveAnim.php.
If I replace stickerInteractive.php with stickerInteractiveAnim.php in your URL it gives me a blank page.
If I insert my own address instead of yours it works.
https://lemimi.fr/template/plugins/stic ... ive&random
Maybe update or reload this file
Regards... Michel
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
As said in my last post, the animated version seems to have an issue with PHP8.x
Which PHP version are you running?
Regards
Which PHP version are you running?
Regards
- lemimi
- Advisor
- Posts: 86
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: Interactive banner
Hello,
My version is PHP 8.1.14
Regards
My version is PHP 8.1.14
Regards
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Interactive banner
Hm, same version is running here (test and live).
Will take a look at this, but not with highest priority .
The static signature is sufficient for me.
Regards
Edit: Just checked, the animated PHP runs in my 7.4 lab, so its an 8.X issue.
Edit II: Got it! Found a newer version here.
Will take a look at this, but not with highest priority .
The static signature is sufficient for me.
Regards
Edit: Just checked, the animated PHP runs in my 7.4 lab, so its an 8.X issue.
Edit II: Got it! Found a newer version here.
- lemimi
- Advisor
- Posts: 86
- Joined: Wed Dec 12, 2018 3:31 pm
- Location: France - Normandie
- Station model: Brandson 304557
- Contact:
Re: Interactive banner
Here is my current file modified with Rector PHP
http://www.lemimi.fr/template/plugins/s ... veAnim.zip
http://www.lemimi.fr/template/plugins/s ... veAnim.zip
Last edited by lemimi on Thu Feb 23, 2023 7:41 pm, edited 1 time in total.