Hi and season greetings
is there anyone who could fix this block for php 8.1?
many thanks in advance
partnerStation block
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: partnerStation block
Ver 3.1 is php 8.1 compatible and contains wu api v2 mods ( this should be the version by MonyMony )
- Attachments
-
- partnerStations_3.1.zip
- (240.38 KiB) Downloaded 22 times
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: partnerStation block
thanks a lot
but if i need to add more stations, what is the correct syntax?
so it doesn't work...
$wuStations[] = array(
"IJIHOMOR14",
"Jachym, Meteotemplate",
"WH1080",
"Brno <br>(Moravie du Sud)","esine <br>(Sud)",
"cz","cz",
"http://www.meteotemplate.com/template/indexDesktop.php"
);
$wuStations[] = array(
"IESINE4",
"john, test",
"WH1080",
"esine <br>(Sud)",
"cz",
"http://www.meteotemplate.com/template/indexDesktop.php"
);
but if i need to add more stations, what is the correct syntax?
so it doesn't work...
$wuStations[] = array(
"IJIHOMOR14",
"Jachym, Meteotemplate",
"WH1080",
"Brno <br>(Moravie du Sud)","esine <br>(Sud)",
"cz","cz",
"http://www.meteotemplate.com/template/indexDesktop.php"
);
$wuStations[] = array(
"IESINE4",
"john, test",
"WH1080",
"esine <br>(Sud)",
"cz",
"http://www.meteotemplate.com/template/indexDesktop.php"
);
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: partnerStation block
I have the following in settings2.php:
Code: Select all
$wuStations[] = array(
"IFANO20",
"Davidefa, Meteotemplate",
"WH1080",
"Fano",
"it",
"http://www.fanometeo.it/template"
);
$wuStations[] = array(
"IJIHOMOR14",
"Jachym, Meteotemplate",
"WH1080",
"Brno",
"cz",
"http://www.meteotemplate.com"
);
$wuStations[] = array(
"IPRAGUE580",
"Petr",
"netAtmo",
"Prague",
"cz",
"http://www.meteopage.com/prague"
);
- Attachments
-
- settings2.zip
- (680 Bytes) Downloaded 19 times
- Jolumarali
- Forecaster
- Posts: 240
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: partnerStation block
You have to clear the cache after each modification.
Glad to see you again Davide
José Luis
Glad to see you again Davide
José Luis
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis