PDA

View Full Version : Weather Module


ibaker
12-18-2010, 08:29 PM
I was looking at this weather module:
http://www.vbadvanced.com/forum/showthread.php?t=19786&highlight=weather

I want to use the International version of having "place" instead of zip code but I can't seem to get it to work even after I have adapted the "IF's" to vb4 standards.

To have a single location like Melbourne, Australia the code is:
<div style='width: 160px; height: 600px; background-image: url(images/weather_bg.jpg); background-repeat: no-repeat; background-color: #346797;' >
<div id='NetweatherContainer' style='height: 585px;' >
<script src='http://netweather.accuweather.com/adcbin/netweather_v2/netweatherV2ex.asp?partner=netweather&tStyle=whteYell&logo=1&zipcode=OCN|AU|VIC|Melbourne City|&lang=eng&size=15&theme=blue&metric=1&target=_self'></script>
</div>
</div>
For the zip code Accuweather seems to use "zipcode=OCN|AU|VIC|Melbourne City|" but just substituting $bbuserinfo['field2'] for it doesn't work.

this mod is a great help to a lot of VBA users so any help is greatly appreciated