[BETA] Simple Weather Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
gt500
Registered User
Posts: 143
Joined: Thu Jun 12, 2008 11:35 am

Re: [BETA] Simple Weather Mod

Post by gt500 »

Can u use other countries to get the weather from, if so how is this done

Cheers
gt
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

gt500 wrote:Can u use other countries to get the weather from, if so how is this done

Cheers
gt
Other countries aren't available at this time. Sorry...
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [BETA] Simple Weather Mod

Post by FranckTH »

nice mod ;)

see at the bottom on my board
http://graphogames.fr/skiniser/

i change a little your weather code with an other script (available in world)

For change the location :

Find :
true&locationId=FRXX0076&tempUnits={L_DEGREE}&country=FR"

Just replace the location ID (number between &) and country code "FR"

Example for chicago :
true&locationId=USIL0225&tempUnits={L_DEGREE}&country=US"

the language key {L_DEGREE} is celcius or farenheit included in common.php from your language

language/en/common.php

Code: Select all

'DEGREE'					=> 'f',
language/fr/common.php

Code: Select all

'DEGREE'					=> 'c',
http://www.weather.com/

;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

Thanks for sharing ;)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Simple Weather Mod

Post by 4_seven »

4_seven wrote:First, awesome nice mod. Congrats to keith10456 :D
darkonia wrote:can you make a ucp option where members can define there city or zip for the weather display?
should be possibly.
keith10456 wrote:Thanks...

If you can do it I'll definitely add it to the mod :)
I add this testwise to ucp (using cpf), so each user can fill out his zip, town, state or country to show a four day weather-forecast in it's own profile.

http://www.4seven.de/forum/1/memberlist ... ofile&u=53
this time for user tester only bcs. of testing purpose
un: tester / pw: tester (just go to ucp > profile, setup and watch profiler after that)
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

Excellent!

What were the edits?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Simple Weather Mod

Post by 4_seven »

It uses a complete other api, so it seems, that it be another mod. It's a very beta and uses google weather api. it's not official documented, but it shows currently all global , available weather status and the main engine works > 90% . Results are cached, also it have language detection and auto switch from F to degree celsius (both based on location you have). This time i force degree celsius bcs. of testing possibilitys. Less time these days, so it's more a hobby. I report back, when all is stable.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

4_seven wrote:It uses a complete other api, so it seems, that it be another mod. It's a very beta and uses google weather api. it's not official documented, but it shows currently all global , available weather status and the main engine works > 90% . Results are cached, also it have language detection and auto switch from F to degree celsius (both based on location you have). This time i force degree celsius bcs. of testing possibilitys. Less time these days, so it's more a hobby. I report back, when all is stable.
You're right... Seems like is should be another mod. It sounds great and I can't wait to test it.
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [BETA] Simple Weather Mod

Post by FranckTH »

i like this API :D

i wait this mod and thanks keith and 4seven ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
Siamquer
Registered User
Posts: 1
Joined: Thu Dec 01, 2011 7:34 pm

Re: [BETA] Simple Weather Mod

Post by Siamquer »

keith10456 wrote: Other countries aren't available at this time. Sorry...
Will they be available later and when (if yes)?
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

Siamquer wrote:
keith10456 wrote: Other countries aren't available at this time. Sorry...
Will they be available later and when (if yes)?
No time soon... That I'm aware of.

Another option is to use the code from Weather.com (supports other countries).

Follow the same install instructions... Except in the Do It Yourself part (at the very bottom of the install instructions), use the code from Weather.com in the weather.html file.
User avatar
daveb86
Registered User
Posts: 264
Joined: Tue Jul 03, 2012 4:31 am
Location: Manchester, UK
Name: Dave B

Re: [BETA] Simple Weather Mod

Post by daveb86 »

This mod doesnt support Automod

The MOD is missing a find matching the action ‘, .rtl .icon-swm’
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

daveb86 wrote:This mod doesnt support Automod

The MOD is missing a find matching the action ‘, .rtl .icon-swm’
I'll look at it a little later. Thanks!
User avatar
daveb86
Registered User
Posts: 264
Joined: Tue Jul 03, 2012 4:31 am
Location: Manchester, UK
Name: Dave B

Re: [BETA] Simple Weather Mod

Post by daveb86 »

Whilst on the subject ... I downloaded the mod but didnt find the manual installation instructions in the download
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Weather Mod

Post by keith10456 »

daveb86 wrote:Whilst on the subject ... I downloaded the mod but didnt find the manual installation instructions in the download
When you download the mod, the manual installation instructions are in the file titled "install.xml". I just downloaded it for verification and it's there.

Open the file in FireFox ;)

Return to “[3.0.x] MODs in Development”