Author Topic: Scott's Pus Ken's ajax-dashboard6.95b package  (Read 490 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 313
    • Penn Lake Weather
Scott's Pus Ken's ajax-dashboard6.95b package
« on: April 04, 2019, 01:30:28 PM »
Ken, I see on the Legacy page the 6.95b package says, " complete support scripts and image files needed,use this for NEW installs. (PHP 5.6+,PHP 7+"

That doesn't mean just new installs does it - can I use it to update my 6.95 version??? Just checking before I ruin everything???

yamiacaveman

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7517
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Scott's Pus Ken's ajax-dashboard6.95b package
« Reply #1 on: April 04, 2019, 01:56:20 PM »
It may be a bit more complicated for old installs looking to upgrade using the 6.95b package.

Several of the files need a bit of customization so just blindly replacing them without that customization will likely impact your site.

For ajax-dashboard6.php, any settings NOT overridden by things in Settings.php $SITE[], you should check old v.s. new and copy your old settings there to the new script.
Same applies to the AltAjaxDashboardConfig.php file (some new settings were added for the sunpie).
get-aqi-rss.php  - get/parse AQI value (USA ONLY)
   note: customize get-aqi-rss.php for your location
raintodate.php - parse dailynoaaclimatereports for data
   note: may require additional customization for your location
cloud-base.php - WD-configured Bashewa cloud base display script
   note: may require additional customization for your location

So a bit of compare/update in new is recommended.
For the ajax-images/ directory, it may have some icons you need, so it's safe to upload the directory as-is to your site.
Same with the ./cache/heavenpie.png image -- it will be replaced with up-to-date image when the new ajax-dashboard6.php runs on your site.

Do let us know if you found something else that needed doing for an update and I'll add it to the docs.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 313
    • Penn Lake Weather
Re: Scott's Pus Ken's ajax-dashboard6.95b package
« Reply #2 on: April 08, 2019, 08:33:33 AM »
Hi Ken,

Updating went smooth.

Only one little glitch -- I believe it was the heavensLegends.png either wasn't uploaded or uploaded to the right place and I'm not sure if it was my settings but it was looking for it in /ajax-images/heavensLegend.png so I just added it there.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7517
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Scott's Pus Ken's ajax-dashboard6.95b package
« Reply #3 on: April 08, 2019, 10:33:06 AM »
I just checked the .zip -- ./ajax-images/heavensLegend.png is in the distribution.  I'd relocated several images from the document root to ./ajax-images/ directory with this distribution.. just seemed to be a bit neater in organization.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2228
    • SouthEast Lincoln, NE Weather
Re: Scott's Pus Ken's ajax-dashboard6.95b package
« Reply #4 on: April 08, 2019, 10:41:04 AM »
I just checked the .zip -- ./ajax-images/heavensLegend.png is in the distribution.  I'd relocated several images from the document root to ./ajax-images/ directory with this distribution.. just seemed to be a bit neater in organization.
Thanks, Ken, for the reorganization.  [tup] As is my wont when trying to create something that works for me, I tend to forget about such things.  :oops:
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 595
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Scott's Pus Ken's ajax-dashboard6.95b package
« Reply #5 on: April 09, 2019, 11:02:39 PM »
Thanks Ken working w/out issue.
 :-)
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 313
    • Penn Lake Weather
Re: Scott's Pus Ken's ajax-dashboard6.95b package
« Reply #6 on: April 10, 2019, 04:58:17 AM »
Thanks Ken,

After a few days all seems to be working fine.