| |  | | vBulletin Setup > General Forums > General Discussion | General Discussion Discuss vBWeather Coming Soon in the General Forums forums; 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 ... | |  | |
06-06-2006, 06:33 AM
|
#1 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| 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. |
| |
06-06-2006, 06:01 PM
|
#2 | | entrepreneur
Join Date: Jun 2006
Posts: 3
| 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, 09:22 PM
|
#3 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| Same here, I don't go so often in usercp ... once all is set I rarely go in there. |
| |
06-06-2006, 09:27 PM
|
#4 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| *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, 01:56 PM
|
#5 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| Well, I need to work on something familiar to get my head back into coding vb 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, 03:07 PM
|
#6 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| 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, 07:09 AM
|
#7 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| Hmm, no comments? Does that mean it sucks? |
| |
07-02-2006, 11:44 AM
|
#8 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| 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, 11:46 AM
|
#9 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| 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, 11:48 AM
|
#10 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| You should see your weather data now. Though it's not metric yet. |
| |
07-02-2006, 11:49 AM
|
#11 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| 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 vb. I wrote this several years ago for a blogging software module. Now I need to update it and vb it. |
| |
07-02-2006, 11:53 AM
|
#12 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| 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, 11:55 AM
|
#13 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| forget the last part  read first and then say something lol .... |
| |
07-02-2006, 11:58 AM
|
#14 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| 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, 11:59 AM
|
#15 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| I see already the C°, quick coding |
| |
07-02-2006, 12:02 PM
|
#16 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| I just changed it again. Do you see the first temp in C now? |
| |
07-02-2006, 12:03 PM
|
#17 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| yep but feels like F° |
| |
07-02-2006, 12:12 PM
|
#18 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| 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, 01:04 PM
|
#19 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| 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, 03:50 PM
|
#20 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| 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, 10:18 PM
|
#21 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| 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, 10:25 PM
|
#22 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| 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, 10:48 PM
|
#23 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| You did yesterday Jump  I do see my location on hiomepage from forum (Toulouse remember)
Time to get some sleep ??? |
| |
07-02-2006, 10:54 PM
|
#24 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| LOL, yeah, you did.
And yeah, it is time for bed. Sucks having to get up for one day of work and then the July 4th holdiday. A four day weekend would have been better. |
| |
07-02-2006, 10:57 PM
|
#25 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| I'd even go for a 2 day week end work and then a full week week end |
| |
07-04-2006, 12:20 PM
|
#26 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| One issue I am pondering is guests. There is no userdata call for quests so what do I present them. I could just leave it at nothing but then there is no added lure to register. I can just display the default data but that would add a query.
Any suggestions? |
| |
07-04-2006, 07:02 PM
|
#27 | | entrepreneur
Join Date: Jul 2006
Posts: 14
| Quote: |
Originally Posted by Code Monkey 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. | Neat idea. My zip is 27455. I was thinking about incorporating this into my RSS Feed reader mod. Are you basically getting weather.com's xml feed for that location code then parsing out the info?
As far as guests, I'd post a message in that area of forumhome. Something like - "See your local weather here! Register Today!" |
| |
07-04-2006, 09:52 PM
|
#28 | | Supporters vBulletin Owner
Join Date: Aug 2006
Posts: 1,292
| What you guys see now is the slim version that will be default. But there will be a expanded view link to reveal what is in the image below plus I will be adding a 3 day forcast to that expanded view. |
| |
07-04-2006, 10:31 PM
|
#29 | | entrepreneur
Join Date: Jul 2006
Posts: 14
| Quote: |
Originally Posted by Code Monkey What you guys see now is the slim version that will be default. But there will be a expanded view link to reveal what is in the image below plus I will be adding a 3 day forcast to that expanded view. | darn ... I'm not allowed to see it. |
| |
07-04-2006, 10:35 PM
|
#30 | | vBulletin Owner
Join Date: Oct 2006 Location: France
Posts: 1,153
| looks nice though it starts to become a large block down there.... and for guest maybe give the weather of admin with number 1 and as said westpointer again a link for, if you want your weather here register..... |
| | vBulletin Setup > General Forums > General Discussion | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -8. The time now is 05:35 AM. |