Author Topic: Weather Extremes Script  (Read 734 times)

0 Members and 1 Guest are viewing this topic.

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1674
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Weather Extremes Script
« on: June 04, 2024, 03:12:50 AM »
Is there a script for displaying weather extremes across the US that works with the Saratoga Template Package?
I made a quick search but didn't yield anything promising for the newer sites.

Any suggestions appreciated!



     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline hcorrin

  • Senior Contributor
  • ****
  • Posts: 165
    • Ballaugh Weather
Re: Weather Extremes Script
« Reply #1 on: June 04, 2024, 04:25:23 AM »

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1674
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Weather Extremes Script
« Reply #2 on: June 04, 2024, 05:05:44 AM »
Thanks for the reference link.
I have one up and displaying but for some reason it displays Sunday June 02 and doesn't appear to update.
I have two problems with it actually first is the updating problem and secondly, I had a discussion rendering but it was a little too wide for my template page. I need some way to make the discussion image shorter in width. I tried all the code and tags I know and I either crashed the script totally or made no visible change to the image width. BTW the discussion product has now expired

Any suggestions greatly appreciated

https://www.smythweather.net/wxextremes.php


Wt


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline hcorrin

  • Senior Contributor
  • ****
  • Posts: 165
    • Ballaugh Weather
Re: Weather Extremes Script
« Reply #3 on: June 04, 2024, 06:45:58 AM »
The link is the source code and looks like https://www.hc-iom.co.uk/WD-AJAX1/wxworldextremes.php?extremes=United%2BS#
it may give you some ideas for your page default on my page is UK but set to US to demonstrate what it can show
« Last Edit: June 04, 2024, 06:49:48 AM by hcorrin »

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 871
  • #conligwx
    • conligwx.org
Re: Weather Extremes Script
« Reply #4 on: June 04, 2024, 06:17:48 PM »

Any suggestions greatly appreciated


Wt

copy the entire code here:

https://beaumaris-weather.com/worldextremes_both_units.php?sce=view

then save it to wxextremes.php

then edit the setting within the code for your own country settings etc.  save and put on your website. 
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1674
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Weather Extremes Script
« Reply #5 on: June 05, 2024, 01:12:20 AM »
I will need to set time zone to mine correct??


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1674
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Weather Extremes Script
« Reply #6 on: June 05, 2024, 01:36:35 AM »
Can't get it to load for me. I might have missed something as it's kinda crazy here at the moment.


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1674
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Weather Extremes Script
« Reply #7 on: June 05, 2024, 04:59:35 AM »
I discovered the script didn't like my time zone setting of America/New York so changing it to UTC seems to have cured the problem

Thanks for all the help ! One down and ne to go on my problem list :)


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 871
  • #conligwx
    • conligwx.org
Re: Weather Extremes Script
« Reply #8 on: June 05, 2024, 05:29:07 AM »
Can't get it to load for me. I might have missed something as it's kinda crazy here at the moment.

that's an old version you uploaded

Code: [Select]
$worldextremesverion = "5.04 - 28-Jul-2020";
« Last Edit: June 05, 2024, 05:35:17 AM by ConligWX »
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline ConligWX

  • Forecaster
  • *****
  • Posts: 871
  • #conligwx
    • conligwx.org
Re: Weather Extremes Script
« Reply #9 on: June 05, 2024, 05:34:31 AM »
here is the latest version since you have not copied the source from the link provided in many posts.


edit the setting part of the file.  then save/rename to worldextremes.php
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1674
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: Weather Extremes Script
« Reply #10 on: June 05, 2024, 07:41:46 PM »
Ok Sorry about the confusion. I downloaded a version another post suggested and it is working but since it's older I will update that as soon as possible. Thanks for the update on the version


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

 

anything