Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Weather: Current Conditions Details »
Weather: Current Conditions
Mod Version: 1.0.0, by calorie (Coder) calorie is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (1 vote - 5.00 average) Installs: 16
Released: 06 Oct 2007 Last Update: Never Downloads: 305
Not Supported Uses Plugins Additional Files  

Display current weather conditions, updated hourly. See the attached screenshot.

Requirements:
  • file_get_contents, fopen, fwrite, fclose
  • rss feed from the weather.gov website
This means that you need PHP configured to allow you to use the listed functions.

Plus the only feed tested with this mod is from weather.gov which is not worldwide.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot.jpg
Views:	1368
Size:	41.5 KB
ID:	70699  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Current Weather [VBIndex and Standalone] - 1.0 Reeve of shinra vBulletin 3.0 Full Releases 3 30 May 2004 00:10
vB Weather: Give your members current weather and forecasts! JJR512 vBulletin 2.x Full Releases 143 15 Aug 2002 21:12

Comments
  #2  
Old 06 Oct 2007, 22:53
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Man you are on the roll. It's nice to see you back in force.
Reply With Quote
  #3  
Old 06 Oct 2007, 23:54
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
You're on Fire!
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #4  
Old 06 Oct 2007, 23:54
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
This is a nice mod, but I would much rather it access for EACH user their zip code (user defined field) and tell what their weather is/will be on a separate template.

Problem is, with users scattered all over the US, they dont care about weather here.

Would this be hard to do?

Thanks much
Reply With Quote
  #5  
Old 07 Oct 2007, 01:29
calorie calorie is offline
 
Join Date: May 2003
Thanks for the thanks.

@Doctor Death: haven't thought about it, current weather is probably best for a community site, though you might try checking the "Similar Mod" box in this thread for ideas.
Reply With Quote
  #6  
Old 07 Oct 2007, 01:37
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Would like to see how accurate it is
Reply With Quote
  #7  
Old 07 Oct 2007, 02:00
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
There is nothing that does what I suggested... I would think that having a user defined field of zip code and if there is something in it, use that as the index lookup, and if not, use the server zip code.

Oh well. Thanks anyway.
Reply With Quote
  #8  
Old 07 Oct 2007, 05:09
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Real name: Nick
Here is code to add a link. Maybe someone else can figure out how to get it to actually display. This link is for your navbar.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replacing XX with the field that you set in the ACP.

Last edited by ChU v2; 07 Oct 2007 at 05:29.
Reply With Quote
  #9  
Old 07 Oct 2007, 06:17
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Dude, that's great. I'm gonna use it right now.
__________________

Reply With Quote
  #10  
Old 07 Oct 2007, 07:23
Dragons76 Dragons76 is offline
 
Join Date: Apr 2007
It's only for USA ?

Not for France !!
Reply With Quote
  #11  
Old 07 Oct 2007, 19:19
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
Originally Posted by ChU v2 View Post
Here is code to add a link. Maybe someone else can figure out how to get it to actually display. This link is for your navbar.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replacing XX with the field that you set in the ACP.
Anyone who gets this functionality working please let me know as I would like their advice/assist in implementing it in mine.

Thanks much, very exciting!
Reply With Quote
  #12  
Old 08 Oct 2007, 00:29
Scooterpig Scooterpig is offline
 
Join Date: Feb 2005
Looks great and thanks but yea for my site we are scattered all over Australia and no point in having just the 1 location weather showing, so need the option of looking elsewhere, but great idea though thank you.
Reply With Quote
  #13  
Old 08 Oct 2007, 00:35
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
I keep getting an error that reads.
Warning: fopen(/home/public_html/includes/cron/extras/weather.txt) [function.fopen]: failed to open stream: No such file or directory in /includes/cron/extras/weather.php on line 75

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/cron/extras/weather.php on line 76

Warning: fclose(): supplied argument is not a valid stream resource in /includes/cron/extras/weather.php on line 77
Reply With Quote
  #14  
Old 08 Oct 2007, 01:03
meissenation meissenation is offline
 
Join Date: Apr 2005
Installed and works great! I wonder, though, is it at all possible to have multiple location capability, or even like Doctor Death was asking, be able to use a field? We already have a zip code field on my website, would be awesome to be able to use that with this product.
Reply With Quote
  #15  
Old 08 Oct 2007, 01:08
meissenation meissenation is offline
 
Join Date: Apr 2005
Originally Posted by stone0075 View Post
I keep getting an error that reads.
Warning: fopen(/home/public_html/includes/cron/extras/weather.txt) [function.fopen]: failed to open stream: No such file or directory in /includes/cron/extras/weather.php on line 75

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/cron/extras/weather.php on line 76

Warning: fclose(): supplied argument is not a valid stream resource in /includes/cron/extras/weather.php on line 77
The description for Weather File is a little misleading... it should read:

Enter into this box the full server path to the weather.txt file and make sure you change the weather.txt file to have 777 permissions. Note that a server path is not an HTTP link. Example: /home/username/public_html/domain/forum/includes/cron/extras/weather.txt

Where "username" is the username you use to login to your backend control panel for your web server, cpanel, for example. I kept getting the same error, so I did a search of all of my settings that had "public_html" in it, and found a little better explanation under the Error Handling and Logging section.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:16.

Layout Options | Width: Wide Color: