View Full Version : Weather Module Broken
http://www.wauseon.tv/ It seems the weather module is a broken image all day. Is it the same for everyone? Otherwise if not I know to look in the code.
same here
http://www.b3playground.com
have any idea how to fix it?
memobug
12-15-2004, 09:50 PM
Is that weather app running on your server or is it weatherunderground or something? I reported a problem with the weather module to hamweather the day before yesterday. We went round and round on it and finally came up with what looks like an error in one of the templates in the hamweather installation. These are not the vbulletin templates, they are the templates used on the provider's weather service to generate the images.
That said, it won't do you any good unless you are running on your own server or the people who're hosting your image patch the program.
The weird part is, about a day later it started working again on its own, before I even implemented the fix.
Regards,
Matt
MotoUp
12-15-2004, 10:03 PM
I've noticed that it comes and goes quite frequently. When I first installed it a couple months ago, it worked all the time, but for about the last month, it's up and down. If it keeps up for too much longer, I'll probably ditch it.
SVTOA
12-15-2004, 11:56 PM
This has happened to me too, but I found a fix- use wx.com's weather instead! You only have to do a slight modification to the conditional statement and a new image will display that shows the weather based on the zipcode inputted by the member.
You will have to edit this to match the zip code field for your forum, but try this:
Find this in your weatherblock: (where field66=your zipcode field)
<if condition="$bbuserinfo[field66] !=''">
directly under it look for this:
<a href="http://www.weatherroom.com/forecast/$bbuserinfo[field66].html"><img src="http://www.weatherroom.com/weather?forecast=zone&hwvtc=black&hwvbg=E1E4F2&pands=$bbuserinfo[field66]&config=png&alt=hwivzone&daysonly=1" alt="Weather for $bbuserinfo[field66]" border="0"></a>
Replace the above with this:
<a href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field66]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field66]" alt="Weather for $bbuserinfo[field66] provided by wx.com." border="0"></a>
This has happened to me too, but I found a fix- use wx.com's weather instead! You only have to do a slight modification to the conditional statement and a new image will display that shows the weather based on the zipcode inputted by the member.
You will have to edit this to match the zip code field for your forum, but try this:
Find this in your weatherblock: (where field66=your zipcode field)
<if condition="$bbuserinfo[field66] !=''">
directly under it look for this:
<a href="http://www.weatherroom.com/forecast/$bbuserinfo[field66].html"><img src="http://www.weatherroom.com/weather?forecast=zone&hwvtc=black&hwvbg=E1E4F2&pands=$bbuserinfo[field66]&config=png&alt=hwivzone&daysonly=1" alt="Weather for $bbuserinfo[field66]" border="0"></a>
Replace the above with this:
<a href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field66]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field66]" alt="Weather for $bbuserinfo[field66] provided by wx.com." border="0"></a>
it fixed my problem but i would like the weekly forcast insted of todays forcast... :(
nyifan
12-16-2004, 03:16 PM
Thanks - actually my users were asking for a condensed version so this works out perfectly!!
SVTOA
12-16-2004, 05:07 PM
it fixed my problem but i would like the weekly forcast insted of todays forcast... :(
Understood, but it's better than dropping the function entirely. ;)
MotoUp
12-16-2004, 05:59 PM
I went to weatherroom.com, and they say they're server and software has been upgraded.
Go here..... (http://www.weatherroom.com/add.html)
But I'm not sure what needs to make the change in the template....any help there?
ConqSoft
12-18-2004, 07:15 AM
I went to weatherroom.com, and they say they're server and software has been upgraded.
Go here..... (http://www.weatherroom.com/add.html)
But I'm not sure what needs to make the change in the template....any help there?
The generated code is still the same as before, so it should work.
I think they are just having issues... :(
MotoUp
12-18-2004, 11:36 AM
That's what I was wondering. Thanks for looking at it.
SVTOA
12-18-2004, 12:50 PM
As for the 5-day, if you use the code I provided for WX, when your members click the current conditions image, they get a comprehensive local report including the next 5 days...
Travis Staut
12-18-2004, 03:02 PM
Thanks for the fix, looks great!
so what should i do to get the 5 day forcast?
Nautiqeman
12-20-2004, 09:39 AM
I tried to change my module to fit this, but I'm still getting the broken image. Any ideas??
SVTOA
12-20-2004, 09:55 AM
Post the code you have inserted in the content block and we'll see. :D
Nautiqeman
12-20-2004, 10:17 AM
<if condition="$bbuserinfo[field6] !=''">
<a href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field6]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field66]" alt="Weather for $bbuserinfo[field66] provided by wx.com." border="0"></a>
That's what I have in there for it.
Nautiqeman
12-20-2004, 10:28 AM
nm -- answered my own question -- sorry about that -- I'm an idiot :)
SVTOA
12-20-2004, 11:07 AM
yes, we can see the problem there. ;)
Glad you go it working. WX has a better server. Weatherroom was slowing down the page anyway.
nm -- answered my own question -- sorry about that -- I'm an idiot :)
rotflol!!
bloodydecks
01-02-2005, 03:34 AM
Thanks for the wx info. Works great!
RichieBoy67
03-29-2005, 06:59 PM
Thanks!!! This is great!!!
Funny..... I just posted in the other weather module thread about finding a more reliable feed.....lol
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.