Thanks! Ill include it in an update for the non WU users…
Moon and Air Quality images can be downloaded from the following locations:
Moon phases
http://www.bashewa.com/downloads/bws-icons-moonphase.zip
Air Quality - There’s 2 different sets
http://www.websterweatherlive.com/wxScripts.php
http://www.relayweather.com/downloads.php (air quality script)
The UV forecast icons are included in the download from the first post on this topic
The Wunderground almanac settings control the highs and lows yes…
The UV forecast is not pulling any data make sure $UVscript = ‘get-UV-forecast-inc.php’; // worldwide forecast script for UV Index is not commented out… Thats where it pulls the forecast.
AQ icons – lemme upload them or post a link…
And Ill upload the other moon icons – not sure where i got them lol…
thanks for the links – yes those are where I got my AQ from…
Extra Moon icons here:
I cant attach to the first post due to the 192KB restriction…
Ill link to this post on post #1
extramoongifs.zip (12.6 KB)
OK, I am getting real close.
I fixed the Weather Underground Almanac tags so I have normals and records.
I downloaded the moon phase icons, so that works.
I downloaded the Air Quality icons so that works.
But I still am having problems with the UV, Solar and Fire Risk items. I have no icons. It looks to me like the get-UV script is firing (I now have a uv-forecast.txt file in my directory. I don’t have the icons for any of these three items. I have gone back to my downloads and don’t have the uv icons. If they were uploaded recently, I will get them again (can’t check the first message and finish this).
UPDATE: I downloaded the uv icons from the first post, but still no joy.
My site is at:
I am unsure about the settings for $haveUV, $haveSolar, $SITE[‘UV’]. I do not have a uv or solar sensor and have set them all to false.
Thanks.
Bill
Thanks.
Bill
updated dashboard with more multi-lingual support and the ability to use WU for records/avgs or station data.
$useWUrecords true / false
thanks to Thanos!
note if you dont have any past data on this day, the results will look strange.
Upcoming changes – advisories page that links to your current cell advisories instead of the main site advisories. This is coded, but having a few users test it to make sure it looks right… This is kinda for US only tho, not sure how to do it for non -US.
cell-ajax-dashboard.php.txt (79.8 KB)
did you put them in /ajax-images? they appear to be missing
also add
$solarnoon = ‘%solarnoon%’; // Solar noon
to your test tags…
I’ll add solarnoon to texttags.
My ajax-images directory is a level above my cell directory, so look in Index of /wd/ajax-images and the solar gifs are in it.
I have modified the .php files to point to …/ajax-images --OOPS JUST CHECKED AND HAD MISSED A COUPLE OF REFERENCES TO ajax-images.
Fixed and now the solar image icons work! Thanks.
Any pointer to the fire risk icons?
Thanks for all the support.
You are quick! While I was posting you posted. UV2.gif is in ajax-iamges and working, but I just do not have the fire icons.
Bill
just added a message to the first on for fire images…
Fire icons from
http://www.websterweatherlive.com/wxScripts.php
or
http://www.bashewa.com/downloads/bws-icons-fire.zip
Just remember they need to renamed to CBI-xx.gif as explained in the first post…
Bill – I would set fire=true… you have the chandler icons with the fire weather text, so its mix and match currently…
take a look at your footer and change the location and cell-radar the 2nd image has lat and long and name that need to be changed.
you also need
$firewi = ‘%FWIfwi%’; // Fire Weather Index
$chandler = ‘%chandler%’;
in your test tags.
i did post a testtags.txt in the second zip i thought… maybe you missed it?
can someone in the US with active weather warning or advisory test these scripts also please? Forever was huge in getting them to work. I want to see then on more pages and make sure the formating works and they are still valid xhtml.
make sure u change out all the city and zone ref to your locations…
looks like John is running it… good no errors…
http://www.harpersferry-weather.com/cell-advisories.php
cell-advis.zip (14 KB)
one more thing bill – it appears you dont have ajax running or the location in top to your ajax file needs to be updated… Also make sure you edit or replace the ajax or the “feelslike” on the cell page will not work.
Your moon info is kinda weird looking also… you have new moon, but its not new moon yet
I got the ajax working now thanks. Not sure what the problem is and I just used brute force. I don’t test, just call the ajaxWDwx.js file.
Not sure what you mean about feelslike. Please explain.
Any suggestion about the moon?
Bill
feelslike would refer to the equivalent for THSW or Humidex
this issue as explained to me by nordic dan i think? is that “feelslike” is a computed js variable so you cant call it out twice. on your homepage the js variable “feelslike” is used.
I cant call it out again in the cell-ajax-dashboard without calling it “feelslike1” or something different… which I did… So you will either get a blank line if u dont modify the js file or u will get a false answer if u rename it to “feelslike” in the cell-ajax-dashboard.
as far as the moon, i’m not sure since there were so many versions of the moon data scripts around…
what version of common.php do you have?? # Version 1.04 - 29-Nov-2011 - improved language translations for conditions
thats what i have… there are moon compuations in that file also.
Half time!
I am using the common.php in your zip file. It is 1.04 29-Nov-2011. On my main page I am running an older version.
Earlier I changed your $feelslike1 to $feelslike and both the mobile page and the main page are showing a result. I will watch to see if I have a problem.
Both the mobile and main pages say that there is a new moon. The main page says it is 29 days in the cycle and the mobile says 28 days???
Bill
$useWUrecords true / false
I cannot find this in latest cell dashboard. I am just about there
Cheers
yeah the whole moon thing is confusing… there is moon stuff in common, ajax-dashboard and cell-ajax-dashboard… no clue why there is diff results. i havent hit new moon yet so i dunno… my cell and main page are the same… 28 days…
and u are still using feelslike1 on your cell page, which is good imo.