Page 1 of 1

partnerStation block

Posted: Wed Dec 28, 2022 7:52 am
by meteoesine
Hi and season greetings
is there anyone who could fix this block for php 8.1?
many thanks in advance

Re: partnerStation block

Posted: Sun Jan 29, 2023 12:15 am
by davidefa
Ver 3.1 is php 8.1 compatible and contains wu api v2 mods ( this should be the version by MonyMony )

Re: partnerStation block

Posted: Sun Jan 29, 2023 8:59 am
by meteoesine
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"
);

Re: partnerStation block

Posted: Sun Jan 29, 2023 9:13 am
by davidefa
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"
					);

Re: partnerStation block

Posted: Sun Jan 29, 2023 11:05 am
by Jolumarali
You have to clear the cache after each modification.

Glad to see you again Davide :)

José Luis