News:

Wondering if this will always be free?  See why free is better.

Main Menu

Weather Sticker

Started by howlerckc, December 03, 2006, 02:19:08 AM

Previous topic - Next topic

howlerckc

Link to Mod
Rate this Mod

This Mod Places a Weather Sticker below user Rank on Posts, based upon Users Zipcode or
ICAO(International Civil Aviation Organization)on profile Location. To find out the Closest ICAO go to http://www.citywx.com to pull up location and find ICAO on Page.  If user does not fill in the Location area, no Weather Sticker Will be shown.  We use CityWx.com Weather for the
Weather Avatar Stickers.

I am not sure If it is compatible with other versions, as I could only test with 1.1, 1.1 RC3 and 1.0.8

Demo http://www.citywx.com/forum

howlerckc

This MOD is for the Default Template, but I can make it for Custom Templates and themes as well. I just need a copy of your theme.

howlerckc

Updated MOD to Modify the Register.template.php to prompt for zip code / icao.  Also updated profile.template.php for user ease of use

Xarcell

I like the weather mod on your site. Do you plan to release it?


howlerckc

I have added both Celcius and Fahrenheit to the Weather Sticker for our Friends that do not live in the U.S. Hope this helps!


Vanterax

Doesn't seem to want to work with Canadian codes, though.  I entered "CYYZ" for the Toronto Pearson Airport, but nothing shows up.  Works fine with an American ZIP code, though...

DASBEAN

SMF 1.1

1.     Execute Modification     ./Themes/igoh11final/Display.template.php     File not found

Downloaded wxstickerigoh11final.zip (2KB)

Please advise.

Thanks!

howlerckc

Quote from: mrbean17 on December 11, 2006, 06:43:42 PM
SMF 1.1

1.     Execute Modification     ./Themes/igoh11final/Display.template.php     File not found

Downloaded wxstickerigoh11final.zip (2KB)

Please advise.

Thanks!

You are using the Igoh Theme, if not what Theme are you using.

howlerckc

Quote from: Vanterax on December 11, 2006, 01:01:05 PM
Doesn't seem to want to work with Canadian codes, though.  I entered "CYYZ" for the Toronto Pearson Airport, but nothing shows up.  Works fine with an American ZIP code, though...

Try CYTZ

howlerckc

#11
I have added Support for more Themes Including Dilbermc, Orange LT, Ancient and Rusted, and many more:

http://mods.simplemachines.org/index.php?mod=554

LostProphecy

i really like this mod :)

however i have two suggested improvements...

why does it replace the location section in the profile?

now for me instead of saying "location: sydney, australia" i have "location: WXYZ"

can't we instead have a location section as well as a postcode/IACO code section?

and secondly....

is it possibly at all to put in a section in your look and layout options to hide the weather like a person can hide avatars and sigs if they don't wish to see them :)
Angelus Ex Quo Nox

Vanterax

Quote from: howlerckc on December 12, 2006, 04:05:11 PM
Try CYTZ

That's the Toronto Island Airport (different one).  This one seems to work, but not CYYZ.  Very strange...   ::)

howlerckc

Quote from: Vanterax on December 13, 2006, 04:48:03 AM
Quote from: howlerckc on December 12, 2006, 04:05:11 PM
Try CYTZ

That's the Toronto Island Airport (different one).  This one seems to work, but not CYYZ.  Very strange...   ::)

If that weather station is down or has not updated thier info...it will not show up

howlerckc

Quote from: LostProphecy on December 12, 2006, 10:24:19 PM
i really like this mod :)

however i have two suggested improvements...

why does it replace the location section in the profile?

now for me instead of saying "location: sydney, australia" i have "location: WXYZ"

can't we instead have a location section as well as a postcode/IACO code section?

and secondly....

is it possibly at all to put in a section in your look and layout options to hide the weather like a person can hide avatars and sigs if they don't wish to see them :)

I am just learning all about SMF, so messing with the database to add a field would have been a nightmare.

The hiding of the avatar can be done.....will be out for version 3.0

Vanterax

Quote from: howlerckc on December 13, 2006, 10:04:15 AM
If that weather station is down or has not updated thier info...it will not show up

Both CYTZ and CYYZ are valid codes that are updated on the site provided.

CYYZ: http://www.citywx.com/hw3.php?forecast=zandh&byoaol=pub-9840577626090880%22&pands=CYYZ&submit=Go+WX [nofollow]

CYTZ: http://www.citywx.com/hw3.php?forecast=zandh&byoaol=pub-9840577626090880&pands=CYTZ&submit=Go+WX [nofollow]

But only CYTZ works with your plugin.  I'm curious to know what's really different between the two that makes one of them not work.

NayNay

Could you add the SlickPro Graphite theme to the list?

http://themes.simplemachines.org/index.php?lemma=116

Thanks!

howlerckc

Quote from: Vanterax on December 13, 2006, 01:58:07 PM
Quote from: howlerckc on December 13, 2006, 10:04:15 AM
If that weather station is down or has not updated thier info...it will not show up

Both CYTZ and CYYZ are valid codes that are updated on the site provided.

CYYZ: http://www.citywx.com/hw3.php?forecast=zandh&byoaol=pub-9840577626090880%22&pands=CYYZ&submit=Go+WX

CYTZ: http://www.citywx.com/hw3.php?forecast=zandh&byoaol=pub-9840577626090880&pands=CYTZ&submit=Go+WX

But only CYTZ works with your plugin.  I'm curious to know what's really different between the two that makes one of them not work.

I have to check into the Coding for the Weather website Side on this

howlerckc

Quote from: NayNay on December 13, 2006, 02:25:22 PM
Could you add the SlickPro Graphite theme to the list?

http://themes.simplemachines.org/index.php?lemma=116

Thanks!

Working on it now.

If anyone else has a theme they want me to customize the mod for let me know.

Advertisement: