WordPress.org

Ready to get started?Download WordPress

Forums

[Release] WeatherIcon v2.3.0 (9 posts)

  1. A new version of WeatherIcon is out.

    Additions / Changes / Bug Fixes in v2.3.0:

    • Caching can now be done into the database rather than to a flat file (it's recommended you switch to database caching).
    • East and possibly other wind directions were missing. This has now been fixed.
    • Options page is now XHTML valid.
    • You can now clear the weather cache via the options page.
    • Function parameters allow_debug and print were changed to debug to display respectively (to better link the names to their function).
    • Added option to display sunrise and sunset times in your weather.
  2. vkaryl
    Member
    Posted 8 years ago #

    Thanks kind sir! Been waiting on the sunrise/sunset times.... now, how about moon phases? I REALLY want a moon phase thing. Take a look at mindworkshop.com's pagan daybook.... that's what I'd like to have as regards moon phases....

    [Edit: btw, I'm getting this at the top of your page:

    Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in /home/viperaa/public_html/wordpress/wp-includes/functions.php on line 585 - goes away upon refresh]

  3. Take a look at mindworkshop.com's pagan daybook

    Can I get a direct link?

    Edit: btw, I'm getting this at the top of your page:

    Yeah, I know. A plugin I'm using is causing that and I haven't had a chance to hack it to make it to work.

  4. vkaryl
    Member
    Posted 8 years ago #

  5. Lucky for you, WeatherUnderground already has that data:

    http://mobile.wunderground.com/cgi-bin/findweather/getForecast?brand=mobile&query=KPDX

    And since that's where the plugin grabs the sunrise/sunset times from, it shouldn't be hard to grab what phase the moon is in.

    However, new icons would have to be made for each phase of the moon, including when there's clouds:

    http://www.viper007bond.com/wordpress/wp-content/plugins/WeatherIcon/wicons/n_0cloud.gif
    http://www.viper007bond.com/wordpress/wp-content/plugins/WeatherIcon/wicons/n_1cloud_norain.gif
    http://www.viper007bond.com/wordpress/wp-content/plugins/WeatherIcon/wicons/n_2cloud_norain.gif
    http://www.viper007bond.com/wordpress/wp-content/plugins/WeatherIcon/wicons/n_3cloud_norain.gif

    And that's a lotta icons. :|

  6. jennmiller
    Member
    Posted 8 years ago #

    Thanks for the upgrade, but now my icon is showing a sun instead of a moon. It's nearly 10pm here and it was a moon just before upgrading and none of my options have changed (i.e. sunset hour is still 19). Any ideas what to do? I uploaded the file to the WI folder and deleted the old file in the plugins folder.

  7. vkaryl
    Member
    Posted 8 years ago #

    Hmm. Yeah, the graphics could be a problem.... but y'know, if the moon-phase is displayed separately, it could just BE the phases, without the weather-effect icons. So you have a weather display icon, and if you activate moon-phases, you have a separate moon-phase icon since you'd want to see the moon-phase even at daylight hours....

  8. bk
    Member
    Posted 8 years ago #

    Hmm, I'll upgrade it soon! Thanks. :)

  9. Thanks for the upgrade, but now my icon is showing a sun instead of a moon. It's nearly 10pm here and it was a moon just before upgrading and none of my options have changed (i.e. sunset hour is still 19). Any ideas what to do? I uploaded the file to the WI folder and deleted the old file in the plugins folder.

    The true sunrise/sunset time is now pulled from WeatherUnderground.com starting in v2.2.0, if you have it enabled of course, so the configuration for sunrise/sunset is over-ridden by that.

    What's your station code? Is "Fetch Sunrise/Sunset from Weather Underground?" checked?

Topic Closed

This topic has been closed to new replies.

About this Topic