:oops: Again left in test-code “if (1 == 1)” and that is true
updated script attached
Wim
bio_popup.php.zip (3.58 KB)
:oops: Again left in test-code “if (1 == 1)” and that is true
updated script attached
Wim
bio_popup.php.zip (3.58 KB)
Thanks, Wim
No UVI in “This hour:” forecast in DS Current Conditions block?
No way to use extra_tmp_c_small.php?
Uploaded the July Version and cannot see where to add my webcam address in “webcam_c_block.php”. I see where it says it goes, but not sure where to put it. It says as set with “easywaether”. There was no place in “easyweather” to set the location. Thanks for any assistance. www.scannorthcounty.net/pwsWD/
John
Can you test this update?
No way to use extra_tmp_c_small.php?Not for all as I have to find a simple solution for the extra upload data, that is why I did not include it in this version. Only WD-api (3 TH but no soil) and WL.com (all) have the extra sensors
But one can add a block to w34_blocks.php and manually change the settings1.
When the next beta is available (August) a standard solution will become available also as an update for the normal releases.
It should include correct versions of extra_tmp_c_small.php and soil_c_block plus a soil pop-up. Also all “extra”-scripts should be in easyweather.
Wim
w34_util_ccn.php.zip (3.03 KB)
Looks OK, but colours are not working?. . . Try putting “This hour: Temperature. . .” on the same line if you want to save a line and show Rain and UVI on separate lines. (URL as left but /pwsnew/: I’ve modified my original w34_util_ccn.php to get UV and colours.)
Not for all as I have to find a simple solution for the extra upload data, that is why I did not include it in this version. Only WD-api (3 TH but no soil) and WL.com (all) have the extra sensors
WD-clientraw has 8 extratemp/hum fields. . . I’m also using a WD customtextout.txt file to get extra upload data.
But one can add a block to w34_blocks.php and manually change the settings1.
I know. . .
When the next beta is available (August) a standard solution will become available also as an update for the normal releases. It should include correct versions of extra_tmp_c_small.php and soil_c_block plus a soil pop-up. Also all "extra"-scripts should be in easyweather.
OK.
Meteoalarm.eu alerts display correctly but if there is no alert, the forecast for tomorrow now appears in the alerts box instead. Is this intentional? http://www.collapit.org.uk/pwsWD/
Yes it is.
Explanation: When there is no outside “official” alert and no internally calculated warning, what should we display there?
Earlier versions used a “no alerts” message. But users thought that was a waste of space.
So if there is some meaningful information, like a forecast, that is displayed.
Some users changed the translation from “Weather alert” to “Weather message”, but that is nitpicking.
Wim
Thanks for the explanation. I’d suggest prefacing the forecast in the alert box with,“Forecast for tomorrow:”. It was only clear to me that it was tomorrow’s forecast when I looked at the forecasts in the "forecast ahead"pop up but perhaps I’m nitpicking too!!
Is there a way to change the text color on Weather Alerts? Mine looks like silver text on an orange background and is hard to read:
https://www.m82a1.us/pwsWD/index.php
Not in a setting, but I set the font color to black in the curly warnings script
Can you please test this version. Thanks,
Wim
wrnWarningCURLY.php.zip (1.85 KB)
The weather alerts/warnings are not displaying the text when I click on them in the iframe.
Can you post the URL to the page with the iframe, then I can check.
Wim
Sorry, Wim. I copied the wrong link:
https://www.m82a1.us/pwsWD/index.php?frame=weatheralarms
Then click on the warning.
Thanks Tom, I see it now, must have skipped over it the first few times.
John
Your site:
https://www.m82a1.us/pwsWD/nws-alerts-142/nws-summary.php
Click on the alert or the “no alerts” link for York => HTTP ERROR 500 which means a PHP parsing error of some sort
My test-site (or try other users site):
http://wd34.weather-template.com/pws07/nws-alerts-142/nws-summary.php
Click on a alert or a “no alerts” link for NewHaven
=> http://release230/pwsWD/nws-alerts-142/nws-details.php?a=CTZ006#WA1 no error, normal output
===
I did not change anything in the “Curly” download from KenTrue’s website.
Not even the folder name. So it must be a change somewhere in the settings,
===
When I click for the details on an unchanged version the link reads
<a href="nws-details.php?a=CTZ006#WA1" title=" Details for New Haven" style="color: #000;">No alerts</a>
but your link reads
<a href="wxnws-details.php?a=PAZ065#WA1" title=" Details for York" style="color: #000;">No alerts</a>
So there must have been a change to use another details page. This “wx” page is for a Saratoga site, not for a stand-alone version.
This is how the “nws-alerts-config.php” about line 40 should look:
// file names
$cacheFileName = 'nws-alertsMainData.php'; // main data cache file name
$aboxFileName = 'nws-alertsBoxData.php'; // alert box cache file name
$iconFileName = 'nws-alertsIconData.php'; // big icons cache file
$alertURL = 'wxnws-details.php'; // web page file name for complete details - Used with Saratoga Base USA template
$summaryURL = 'wxadvisory.php'; // web page for the alert summary - Used with Saratoga Base USA template
$alertURL = 'nws-details.php'; // web page file name for complete details - Used for standard web pages
$summaryURL = 'nws-summary.php'; // web page for the alert summary - Used for standard web pages
This is yours config, the two lines which are commented are the cause of the error
// file names
$cacheFileName = 'nws-alertsMainData.php'; // main data cache file name
$aboxFileName = 'nws-alertsBoxData.php'; // alert box cache file name
$iconFileName = 'nws-alertsIconData.php'; // big icons cache file
$alertURL = 'wxnws-details.php'; // web page file name for complete details - Used with Saratoga Base USA template
$summaryURL = 'wxadvisory.php'; // web page for the alert summary - Used with Saratoga Base USA template
//$alertURL = 'nws-details.php'; // web page file name for complete details - Used for standard web pages
//$summaryURL = 'nws-summary.php'; // web page for the alert summary - Used for standard web pages
The “meant for Saratoga” scripts need other supporting data which is not there as we are running the stand-alone version.
Wim
Wim, if the user has entered a WeatherFlow station ID, could add in the ‘Extra links’ in the menu, in addition to the link to the WeatherFlow map page, a new link to the WeatherFlow weather station data/info page - the link should have this format:
https://smartweather.weatherflow.com/station/'.$weatherflowID.'/grid
In case you need/want to check my site, it can be reached at '[url=http://tzwd34.ddns.net/]Tzouhalem-Maple Bay Weather
Sorry, Wim. I missed that in the customization of the NWS configuration page. Now to wait for an alert. It looks like it may be a few days.
Much appreciated,
Mort