Author Topic: Wunderground widgets not displaying on website with ssl  (Read 5860 times)

0 Members and 1 Guest are viewing this topic.

Offline RHYC-web

  • Member
  • *
  • Posts: 7
    • Rock Hall Yacht Club
Wunderground widgets not displaying on website with ssl
« on: December 11, 2018, 10:54:46 PM »
Our site, rockhallyachtclub.org, started using ssl cert this year. Since we transitioned to https: our wunderground widgets have not worked and are shown as broken links, see right column: https://rockhallyachtclub.org/weather/. I suspect this has something to do with our site's use of ssl. I have tried modifying the widget code, but https: does not seem to work with the wunderground widgets.

Here's the widget code from the site
<a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KMDROCKH11"><img src="http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=wxstnsticker&weatherstationcount=KMDROCKH11" height="160" width="160" border="0" alt="Weather Underground PWS KMDROCKH11" /></a>

I've tried many options with no success, hoping for some direction from those more experienced! Many thanks ahead of time!

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Wunderground widgets not displaying on website with ssl
« Reply #1 on: December 12, 2018, 11:18:56 AM »
The source attribute shown if you do a "view-source" is missing the "http://":

Code: [Select]
<img src="banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=wxstnsticker&weatherstationcount=KMDROCKH11" height="160" width="160" border="0" alt="Click for conditions KMDROCKH11" />
If I go in under "Inspect Element" with Firefox and add the "http://", it appears. So something is stripping that off.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline RHYC-web

  • Member
  • *
  • Posts: 7
    • Rock Hall Yacht Club
Re: Wunderground widgets not displaying on website with ssl
« Reply #2 on: December 12, 2018, 11:26:29 AM »
Yes, I've tried putting nothing (as you see in view source), http://, and https://
None of them work.
Thank you for looking into it, though!

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Wunderground widgets not displaying on website with ssl
« Reply #3 on: December 12, 2018, 11:52:41 AM »
Pop http:// back in and let me take a look.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline RHYC-web

  • Member
  • *
  • Posts: 7
    • Rock Hall Yacht Club
Re: Wunderground widgets not displaying on website with ssl
« Reply #4 on: December 12, 2018, 12:11:16 PM »
ok, done. thanks!

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Wunderground widgets not displaying on website with ssl
« Reply #5 on: December 12, 2018, 12:28:59 PM »
It's https now. Just use http. WU doesn't support https for the stickers.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline RHYC-web

  • Member
  • *
  • Posts: 7
    • Rock Hall Yacht Club
Re: Wunderground widgets not displaying on website with ssl
« Reply #6 on: December 12, 2018, 12:36:30 PM »
I think what's happening is the WordPress plugin Really Simple SSL is changing the URL so that our site is "secure".

Are there any workarounds for this?

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Wunderground widgets not displaying on website with ssl
« Reply #7 on: December 12, 2018, 12:40:24 PM »
I'd contact the plugin authors. They've had to run into this before.

https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline RHYC-web

  • Member
  • *
  • Posts: 7
    • Rock Hall Yacht Club
Re: Wunderground widgets not displaying on website with ssl
« Reply #8 on: December 12, 2018, 03:24:55 PM »
Well, it was the "Really Simple SSL" plugin that was converting Wunderground's weather widget links. Put code in functions.php to filter wunderground URLs and it now works. Thank you to Jasiu for assistance!

Offline emoyer70

  • Member
  • *
  • Posts: 7
Re: Wunderground widgets not displaying on website with ssl
« Reply #9 on: January 17, 2020, 12:36:57 PM »
Can you elaborate on how you accomplished this as I am having the same problem?  ](*,)

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2432
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Wunderground widgets not displaying on website with ssl
« Reply #10 on: January 26, 2020, 03:15:58 AM »
All my wu stickers no longer work.  I bet wu has finally dumped them.

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline emoyer70

  • Member
  • *
  • Posts: 7
Re: Wunderground widgets not displaying on website with ssl
« Reply #11 on: January 26, 2020, 05:43:53 AM »
Stickers are no longer on their website now.

Offline jimi

  • Contributor
  • ***
  • Posts: 122
    • Well Road Weather
Re: Wunderground widgets not displaying on website with ssl
« Reply #12 on: January 26, 2020, 07:21:13 AM »
These?
« Last Edit: June 03, 2020, 01:11:30 PM by jimi »
Black is not a colour ! .... Its the absence of colour

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2432
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Wunderground widgets not displaying on website with ssl
« Reply #13 on: January 27, 2020, 04:08:05 AM »
At least this kind of animated radar image is still working at wunderground, while the small temp sticker on the upper part of page is an example of what no longer works:
https://stillwaterweather.com/radarstw

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline emoyer70

  • Member
  • *
  • Posts: 7
Re: Wunderground widgets not displaying on website with ssl
« Reply #14 on: January 27, 2020, 09:53:46 AM »
These?


So how did get the sticker? The stickers have disappeared of the WU website.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Wunderground widgets not displaying on website with ssl
« Reply #15 on: January 27, 2020, 10:51:30 AM »
I fetch them at the URL:

http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_both&weatherstationcount=

adding the station name at the end of the string.

The one above is at:

http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_metric&weatherstationcount=IFIFEGLE4

Just do a right click (or on a Mac control click) on the image and you should get the option to copy the URL.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline jimi

  • Contributor
  • ***
  • Posts: 122
    • Well Road Weather
Re: Wunderground widgets not displaying on website with ssl
« Reply #16 on: January 27, 2020, 11:39:16 AM »
I fetch them at the URL:

http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_both&weatherstationcount=

adding the station name at the end of the string.

The one above is at:

http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_metric&weatherstationcount=IFIFEGLE4

Just do a right click (or on a Mac control click) on the image and you should get the option to copy the URL.
As above, the actual bb code  is
[url=http://www.wunderground.com/personal-weather-station/dashboard?ID=IGLENROT6 #current*[img*http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_metric&weatherstationcount=IGLENROT6 [/img*[/url*

Replace the station ID with your own and replace the *'s with square brackets
« Last Edit: January 28, 2020, 07:51:26 AM by jimi »
Black is not a colour ! .... Its the absence of colour

Offline WSWeather

  • Forecaster
  • *****
  • Posts: 483
Re: Wunderground widgets not displaying on website with ssl
« Reply #17 on: January 27, 2020, 01:18:13 PM »
Apparently the banners are still there, just moved to another URL.  I haven't worked out all the parameters yet but I am able to display this now where it was just "data unavailable" before:

 [ You are not allowed to view attachments ]

Code: [Select]
http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=big2_cond&weatherstationcount=KILWESTE2

Offline emoyer70

  • Member
  • *
  • Posts: 7
Re: Wunderground widgets not displaying on website with ssl
« Reply #18 on: January 27, 2020, 04:18:42 PM »
Apparently the banners are still there, just moved to another URL.  I haven't worked out all the parameters yet but I am able to display this now where it was just "data unavailable" before:

 [ You are not allowed to view attachments ]

Code: [Select]
http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=big2_cond&weatherstationcount=KILWESTE2

I guess things are about to change. I emailed WU and this is the response I got back.

JAN 27, 2020  |  04:10PM EST
Victoria replied:
Hi, Edward!

Moved off to a different location: https://doc.media.weather.com/products/v3.1/home.php

Thank you for using Weather Underground!

—Victoria

How satisfied were you with the resolution we provided today?
Poor | Fair | Good | Great
JAN 27, 2020  |  04:03PM EST
Original message
Edward wrote:

Just a quick question. Where did the weather website widgets / banners go? I dont see the option to get them anymore on my dashboard.

Thanks for any help.
KPAWEATH4

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2432
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Wunderground widgets not displaying on website with ssl
« Reply #19 on: January 27, 2020, 05:01:37 PM »
Looks like a complex way to do them.  May take longer to load.

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline Mabcmb

  • My WU page
  • Forecaster
  • *****
  • Posts: 328
Re: Wunderground widgets not displaying on website with ssl
« Reply #20 on: January 27, 2020, 05:22:21 PM »
So much of the Weather channels / WU  old systems seem to have been taken down .  I use Rainmeter desktop for years and the VClouds Weather 2 display has always worked . Well now it's down  and will not update . It uses Weather dot com city codes for its temp and forecast and they seem to no longer work . I guess everything good has to end sometime .

Offline WSWeather

  • Forecaster
  • *****
  • Posts: 483
Re: Wunderground widgets not displaying on website with ssl
« Reply #21 on: January 28, 2020, 05:33:48 PM »
Moved off to a different location: https://doc.media.weather.com/products/v3.1/home.php

Man, those are...sad.  I wonder how easy it is to scrape out the data and dress it up.

Offline am_dew

  • Member
  • *
  • Posts: 5
Re: Wunderground widgets not displaying on website with ssl
« Reply #22 on: January 30, 2020, 10:39:40 AM »
My widget is also no longer working.  The alternative mentioned in post 18 above seems to require licensing, which I presume would not be free.  Anyone know for sure?

Offline emoyer70

  • Member
  • *
  • Posts: 7
Re: Wunderground widgets not displaying on website with ssl
« Reply #23 on: February 03, 2020, 02:36:03 PM »
These?


Seems like your has been cut off as well.

Offline emoyer70

  • Member
  • *
  • Posts: 7
Re: Wunderground widgets not displaying on website with ssl
« Reply #24 on: February 03, 2020, 02:39:48 PM »
My widget is also no longer working.  The alternative mentioned in post 18 above seems to require licensing, which I presume would not be free.  Anyone know for sure?

Try emailing them. I wont be using them. I liked the original ones better.