[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!
Suggested Hosts
gt500
Registered User
Posts: 143
Joined: Thu Jun 12, 2008 11:35 am

Re: [BETA] Simple Weather Mod

Post by gt500 » Sat Nov 19, 2011 11:54 pm

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
Contact:

Re: [BETA] Simple Weather Mod

Post by keith10456 » Sun Nov 20, 2011 4:13 am

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: 342
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck Thiriot
Contact:

Re: [BETA] Simple Weather Mod

Post by FranckTH » Sun Nov 20, 2011 8:40 am

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/

;)


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 » Mon Nov 21, 2011 11:49 pm

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
Contact:

Re: [BETA] Simple Weather Mod

Post by keith10456 » Tue Nov 22, 2011 12:25 am

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 » Tue Nov 22, 2011 12:33 am

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
Contact:

Re: [BETA] Simple Weather Mod

Post by keith10456 » Tue Nov 22, 2011 3:26 am

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: 342
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck Thiriot
Contact:

Re: [BETA] Simple Weather Mod

Post by FranckTH » Tue Nov 22, 2011 9:58 pm

i like this API :D

i wait this mod and thanks keith and 4seven ;)

Siamquer
Registered User
Posts: 1
Joined: Thu Dec 01, 2011 7:34 pm

Re: [BETA] Simple Weather Mod

Post by Siamquer » Thu Dec 01, 2011 7:37 pm

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
Contact:

Re: [BETA] Simple Weather Mod

Post by keith10456 » Fri Dec 02, 2011 4:09 am

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: 254
Joined: Tue Jul 03, 2012 4:31 am
Location: Lancashire, UK
Name: Dave B
Contact:

Re: [BETA] Simple Weather Mod

Post by daveb86 » Sat Jul 14, 2012 4:27 pm

This mod doesnt support Automod

The MOD is missing a find matching the action ‘, .rtl .icon-swm’
Currently working on Excel Masters

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

Re: [BETA] Simple Weather Mod

Post by keith10456 » Sat Jul 14, 2012 6:10 pm

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: 254
Joined: Tue Jul 03, 2012 4:31 am
Location: Lancashire, UK
Name: Dave B
Contact:

Re: [BETA] Simple Weather Mod

Post by daveb86 » Sat Jul 14, 2012 6:25 pm

Whilst on the subject ... I downloaded the mod but didnt find the manual installation instructions in the download
Currently working on Excel Masters

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

Re: [BETA] Simple Weather Mod

Post by keith10456 » Sun Jul 15, 2012 4:12 am

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 ;)

Locked

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

Who is online

Users browsing this forum: Google [Bot], mark5228 and 14 guests

cron