About This Page: This is a discussion on vBWeather Coming Soon within the General Chat forums, part of the Community Center category, at vBulletin Modification Discussions. Anyone want a weather mod? Something like a users local weather in their usercp. I have written several weather mods for other apps like PN and this blog code I once worked on. My old class files would probably still |
06-06-2006, 07:33 AM
|
#1 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
vBWeather Coming Soon
Anyone want a weather mod? Something like a users local weather in their usercp. I have written several weather mods for other apps like PN and this blog code I once worked on. My old class files would probably still work.
I just wonder how many members would want to put their zip in.
EDIT:
If you want to see how it works for you and your zip then PM me your zip code or use this script to find a location id if you don't have a U.S. zip code.
Last edited by Code Monkey : 07-02-2006 at 02:05 PM.
|
|
|
06-06-2006, 07:01 PM
|
#2 (permalink)
|
|
Junior Member
Join Date: Jun 2006
Posts: 12
|
I don't think I'd use it. Maybe a CMPS module that remembered my zip code and displayed my local weather though.
If it's in the UserCP I'll never look at it.
|
|
|
06-06-2006, 10:22 PM
|
#3 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
Same here, I don't go so often in usercp ... once all is set I rarely go in there.
|
|
|
06-06-2006, 10:27 PM
|
#4 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
*installs a counter hack to see how often they look in the mirror*
That was just an example. People don't go there to see what time it is or where they live but many still have those little map clock thingy's.
There are lot's of places to put such data. I only asked because I was digging through old files and saw some old projects from other things I worked on years ago. I got kind of nostalgic. 
|
|
|
07-01-2006, 02:56 PM
|
#5 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
Well, I need to work on something familiar to get my head back into coding vBulletin hacks. So, I will be messing with the weather. You can see the progress (or lack of) in the WGO box at the bottom of forumhome.
Feel free to critique.
|
|
|
07-01-2006, 04:07 PM
|
#6 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
If you want to see how it works for you and your zip then PM me your zip code or use this script to find a location id if you don't have a U.S. zip code.
|
|
|
07-02-2006, 08:09 AM
|
#7 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
Hmm, no comments? Does that mean it sucks? 
|
|
|
07-02-2006, 12:44 PM
|
#8 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
let's say maybe world football cup ? Start of the summer... or winter depending on what part of the globe you hop around....
my city code
Toulouse, France: FRXX0099
and now I'll have a closer look in that section
|
|
|
07-02-2006, 12:46 PM
|
#9 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
btw this side of the ocean we use degrees Celcius and not F°, so if you set it for people, guess you'll have to allow C° or F°
|
|
|
07-02-2006, 12:48 PM
|
#10 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
You should see your weather data now. Though it's not metric yet.
|
|
|
07-02-2006, 12:49 PM
|
#11 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
Quote:
|
Originally Posted by Eric
btw this side of the ocean we use degrees Celcius and not F°, so if you set it for people, guess you'll have to allow C° or F°
|
Yes eventually. I already have all the code for that. But I need to integrate it to vBulletin. I wrote this several years ago for a blogging software module. Now I need to update it and vBulletin it.
|
|
|
07-02-2006, 12:53 PM
|
#12 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
yep it shows indeed 91°F (10 pm here almost)
though humidity???? seems pretty low to me, my weather thingy shows 60%, but well that's not your script but weather data
they are perfect to tell you what was, but predictions
does the stream include when last update was done? I had in the past some widgets but you had to guess when the data was taken... and sometimes you got output from data 3 days old, might give an indication of accurancy... if it is in the stream....
|
|
|
07-02-2006, 12:55 PM
|
#13 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
forget the last part  read first and then say something lol ....
|
|
|
07-02-2006, 12:58 PM
|
#14 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
maybe change "weather.com ®" to open new window
at least you can quickly come back to your site.... my opinion, others hate new windows with link....
|
|
|
07-02-2006, 12:59 PM
|
#15 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
I see already the C°, quick coding 
|
|
|
07-02-2006, 01:02 PM
|
#16 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
I just changed it again. Do you see the first temp in C now?
|
|
|
07-02-2006, 01:03 PM
|
#17 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
yep but feels like F° 
|
|
|
07-02-2006, 01:12 PM
|
#18 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
all seems ok now, all in C° for me
Going to leave now, another working week that starts tomorrow, if you want us to test something, I'll hop in tomorrow, let us know and we'll have a pleasure testing...
|
|
|
07-02-2006, 02:04 PM
|
#19 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
Thanks for the quick help while passing by.
The old code I made grabbed different data for each measure of unit. This time I think I will only grab standard units and convert it in real time for those that choose a metric option.
|
|
|
07-02-2006, 04:50 PM
|
#20 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
This will be an easy install mod. No template edits.
The only issues will be updating the weather data. When I release it initially, only server crons will be supported.
|
|
|
07-02-2006, 11:18 PM
|
#21 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
In my opinion, crons at server or account level are best. Not sure why but in my few years of user experience with many scripts, most that are generated within a script.... seem to have often issues.... never understood but...
Once you have a package ready, let me know and I'l test it on my board if you want as beta test.....
|
|
|
07-02-2006, 11:25 PM
|
#22 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,203
|
So send me your zip/location code so I can update you here and you can see how it works for your location. The user option input will be the last thing I work on.
|
|
|
07-02-2006, 11:48 PM
|
#23 ( | |