WordPress.org

Ready to get started?Download WordPress

Forums

GetWeather Plugin Available (33 posts)

  1. carthik
    Member
    Posted 9 years ago #

    Thank you for sharing this with us all.
    You could add the plugin to the list at
    http://wiki.wordpress.org/Plugin for maximum visibility.

  2. chuyskywalker
    Member
    Posted 9 years ago #

    Thanks for the advice. It's on there now! :D

  3. hanni
    Volunteer Moderator
    Posted 9 years ago #

    This looks pretty cool! Cheers!

  4. 404studios
    Member
    Posted 9 years ago #

    How do you get rid of the bullet points?
    thanks

  5. 404studios
    Member
    Posted 9 years ago #

    Validation has been defeated on my site! There is probably no way it will ever validate ;)
    I figure that as long as it looks the way I want it to on Firefox AND Internet Explorer - I'm good enough
    Thanks for the real solution though, I will actually use that intstead (one day)
    Again - great, simple and useful plugin, chuyskywalker!!

  6. basketball
    Member
    Posted 9 years ago #

    Hey 404studios howd you get the international code to work again? Say if I want to do it for Calgary, Canada do I just put
    <?php get_weather('CAAB0049') ?>

  7. Beel
    Member
    Posted 9 years ago #

    404studios: Actually, your site would be very very easy to fix for proper validation. The majority of the errors are for things like no closing "/" in meta tags and br's and not using alt="whatever":
    <meta .... />


    <img src="...." alt="whatever" />
    Once all those are fixed the few minor issues in the menu can then be tackled easily (ul followed by text without an li, etc.)

  8. zoblue
    Member
    Posted 9 years ago #

    I'm using this plugin, but the images don't show up. On my home page on the right hand side halfway down (you can see the alt tag "weather icon"): http://zoblue.com/wordpress
    My code in the index template is: <?php get_weather('60629','Chicago,IL', 'icon,temp,high,low,forecast') ?>
    The line I edited in getweather.php is: $iconDirURL = "http://zoblue.com/wordpress/wp-images/weather-icons";
    which is where the folder with the weather icons is. The source code for the icon line shows up as: <img src="http://zoblue.com/wordpress/wp-images/weather-icons/.png" alt="weather icon" />
    I think I did everything ok. Any ideas?
    thanks in advance,
    Z

  9. HercuLean
    Member
    Posted 9 years ago #

    I just tried using this plugin and have yet to have any success. I have it hosted on an internal LAN so I can't show the problem, but this is the error I'm getting displayed in place of the desired weather info:
    Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/www/html/ttrpteststatus/wp-content/plugins/getweather.php on line 71
    Warning: fopen("http://xoap.weather.com/weather/local/94115?cc=*&dayf=1&unit=m", "r") - Bad file descriptor in /home/www/html/ttrpteststatus/wp-content/plugins/getweather.php on line 71
    Weather Not Available (Read Error)
    I followed the very simple instructions to the letter and rechecked several times. Any help would be much appreciated.
    --Brandon

  10. HercuLean
    Member
    Posted 9 years ago #

    Anybody? C'mon, I know some of you are using this plugin.

  11. sdollen
    Member
    Posted 9 years ago #

    bump

  12. marky
    Member
    Posted 9 years ago #

    Does anyone have a zip file of this plugin available? I'm sick of this rar nonsense. ;-)

  13. marky
    Member
    Posted 9 years ago #

    Awesome; thanks, sdollen. :-)
    If you're planning to keep the file up, you should add it to the Wiki.

  14. mluria
    Member
    Posted 9 years ago #

    I'm getting this error message and I can't find where its going goofy, I think its the weather.gov site, not sure.
    # Warning: fopen(http://mattluria.com/test/wp-content/plugins/weather_cache/metar_cache_KOUN.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /home/user/public_html/test/wp-content/plugins/weather.php on line 313
    # Conditions Debug
    And yes I changed the user directory in the file to my correct one, i just didn't want to publish my username on my site.
    I checked over the code and it looks like line 313 involves the grabbing of the info at the weather.gov site. any ideas on how to fix this lovely program?

  15. Anonymous
    Unregistered
    Posted 9 years ago #

    I pasted the php but how do I get it to display the info, that's not really in the instructions and I don't know enough to do anything more than follow step by step. what's the html that I should put it to get a list? more specifically I mean what goes between the opening li and closing li that delivers the info pulled from the weather site?

  16. SlowTalker
    Member
    Posted 9 years ago #

    My apologies. The instructions really were as simple as indicated in the file. Thanks

  17. Sorin
    Member
    Posted 9 years ago #

    Cool man,
    Can you drop the RAR and go to zip, tar.gz, tar.bz2 ?
    I think you are the only one here to use this "comercial" product.
    I'm using linux, and if you can make a static link to latest release version so we could use wget :)

  18. Anonymous
    Unregistered
    Posted 9 years ago #

    how to run chinese city?
    zip code?

  19. Anonymous
    Unregistered
    Posted 9 years ago #

    I modified that script so it passes variables into flash.
    and flash displays it with dynamic content
    check it out
    http://www.flasurfers.com

  20. basketball
    Member
    Posted 9 years ago #

    Hehe I started redoing my site like a few months ago and never got around to redoing this plugin, the second time around it took a minute to setup, works like a charm :)

  21. Daisyhead
    Member
    Posted 9 years ago #

    I'm trying to implement this plug-in on a portal page and am encountering an error. I've uploaded the plug-in to my plug-in folder and activated it in my WP. I tried putting the "<?php get_weather('94115') ?>" code in my page but I'm getting an error:

    Fatal error: Call to undefined function: get_weather() in /xxx/xxx/public_html/portal/index.php on line 61

    Any ideas why?

    Thanks,
    Daisyhead

  22. rhealz
    Member
    Posted 9 years ago #

    Daisy- The plugin was working great for me for about 4 months and then one day a couple weeks ago it went belly up on me giving me very similar error messages to the one you received. I couldn't fix it so I just scrapped it.

  23. Daisyhead
    Member
    Posted 9 years ago #

    Thanks. I FINALLY got it to work, so hopefully this will be the end of my troubles with it. *crosses fingers*

    I'm still having problems calling in my blog comments to another page though...

    -Daisyhead

  24. Avian
    Member
    Posted 9 years ago #

    The plugin works OK for me, and I have the cache program installed and enabled. But it still takes forever sometimes to load the page. I also sometimes get a "permissoin denied" message from the server it tries to get the data from.

    I'm using 1.5 gamma 2-07

  25. mikey2000
    Member
    Posted 9 years ago #

    Got GetWeather working great in WordPress - is it possible to get GetWeather to work outside of wordpress - if so how?
    Thanks in advance

  26. tavarish
    Member
    Posted 9 years ago #

    Has anyone got this plugin to validate? It doesn't validate on my site, and since it's the only one that doesn't validate it would be nice to try to get it to validate :-).

  27. bethchelle
    Member
    Posted 9 years ago #

    I just implemented the plugin and it works great. My only question, and it's probably a silly one, how do I use another set of icons? I d/led another set, changed the path to where the icons were located, and nothing shows. What do I change in the coding to direct it to a different iconset?

  28. anujkp
    Member
    Posted 9 years ago #

    I installed the getweather plugin on my "trial" site.
    has to mess about a bit but got it working.
    However, when I activate the plugin from the WP admin, the following message shows up :


    Warning: Cannot modify header information - headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 6

    Warning: Cannot modify header information - headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 7

    Warning: Cannot modify header information - headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 8

    Warning: Cannot modify header information - headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 9

    The plugin gets activated but that message remains on the top of my admin pages..

    help!!

    btw, i'm a total newbie.. very limited php and css.. been working with blogger and am trying to switch to WP1.5...

    thanks.

  29. anujkp
    Member
    Posted 9 years ago #

    oops.. regarding the previous post, I realised that i had whitespaces before the <?php in my getweather.php file. ....

    Solved now!

    :).. Thanks

  30. chuyskywalker
    Member
    Posted 9 years ago #

    If any one is having troubles with this plugin, please submit a support ticket so I can help you.

    Your username and password from these forums will work over there when it asks you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.