Go Back   vBulletin Modification Discussions > Community Center > General Chat
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

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


Reply
 
LinkBack Thread Tools
Old 06-06-2006, 07:33 AM   #1 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 06-06-2006, 07:01 PM   #2 (permalink)
Junior Member
 
Join Date: Jun 2006
Posts: 12
dilbert is on a distinguished road
iTrader: (0)
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.
dilbert is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2006, 10:22 PM   #3 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
Same here, I don't go so often in usercp ... once all is set I rarely go in there.
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2006, 10:27 PM   #4 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
*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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2006, 02:56 PM   #5 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2006, 04:07 PM   #6 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 08:09 AM   #7 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
Hmm, no comments? Does that mean it sucks?
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:44 PM   #8 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:46 PM   #9 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to 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°
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:48 PM   #10 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
You should see your weather data now. Though it's not metric yet.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:49 PM   #11 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:53 PM   #12 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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....
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:55 PM   #13 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
forget the last part read first and then say something lol ....
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:58 PM   #14 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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....
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 12:59 PM   #15 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
I see already the C°, quick coding
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 01:02 PM   #16 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
I just changed it again. Do you see the first temp in C now?
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 01:03 PM   #17 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
yep but feels like F°
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 01:12 PM   #18 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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...
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 02:04 PM   #19 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 04:50 PM   #20 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 11:18 PM   #21 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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.....
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 11:25 PM   #22 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2006, 11:48 PM   #23 (