partnerStation block

Post Reply
User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

partnerStation block

Post by meteoesine » Wed Dec 28, 2022 7:52 am

Hi and season greetings
is there anyone who could fix this block for php 8.1?
many thanks in advance
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: partnerStation block

Post by davidefa » Sun Jan 29, 2023 12:15 am

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
Image

User avatar
meteoesine
Forecaster
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

Post by meteoesine » Sun Jan 29, 2023 8:59 am

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"
);
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: partnerStation block

Post by davidefa » Sun Jan 29, 2023 9:13 am

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
Image

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: partnerStation block

Post by Jolumarali » Sun Jan 29, 2023 11:05 am

You have to clear the cache after each modification.

Glad to see you again Davide :)

José Luis
Image
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

Post Reply