Viewing 12 replies - 196 through 207 (of 207 total)
  • Any idea why I keep getting this message?
    Warning: fopen(https://www.freepgs.com/zesty/weather_cache/metar_cache_KIND.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /drive2/fpgshttpd/zesty/wp-content/plugins/weather.php on line 313
    I’ve tried CHMODing the weather_cache folder to 777 in both the root folder and the plugins folder where I first tried to install it, and the weather.php file pointed to right place each time. It’s displaying some of the right information, so it seems like it’s getting the data, but I don’t know why I’m getting that error. Thanks in advance for any help.

    Took a little more tweaking, but I got it. Thanks!

    Thread Starter jeremiah

    (@jeremiah)

    Garret has come to my rescue once again, and fixed a bug in the WeatherIcon code that was causing Metric information to display incorrectly.

    The newest version (1.0.10) is available here: weather.phps

    if you want the whole shebang (icons and all), then check here: weather-hack.

    Hi, I added the new WeatherIcon Plugin to my blog, but the images aren’t seeming to display.

    Anyone?

    Ehm…when I activate all, there’s 2 errors in the sidebar telling that a reference to a .txt cache file on weather.php (I remember it was something like that)…. and when I don`t activate it, there were another error on Sidebar….Better I specificate too much or do you know this type of error?

    P.D-Sorry for my English..

    ` test.

    Testing for length of typed line. Testing for length of typed line. Testing for length of typed line. Testing for length of typed line. Nope; doesn’t work.

    @andresitoh – the plugin needs to be able to write to a cache file which it saves in wp-content/plugins/weathericon/cache – make sure that folder is writeable.

    The error if it’s not activated is probably because your sidebar is calling a function that can’t be found. Make sure you call the function like this:

    <?php if (function_exists('WeatherIcon')) : ?>
    <li><h2>Local weather</h2>
    <ul><?php WeatherIcon('xxxx) ?></ul>
    </li>
    <?php endif; ?>

    Putting your local code in place of the xxxx, of course.

    Couple of more posts and you’ll soon find this thread available on Amazon. Wonder if anybody reads it front to back anymore?

    I’m looking for a way to add historic weather to a post in WordPress. Basically, when I write a blog entry on https://www.BikeBlog.us, I copy/paste the weather data that was current at the time of my bike ride into the post. What I’d like is for a weather plugin to look up the weather from a specific time/date for my ZIP code and display that weather data, instead of current weather. Anyone know of such a plugin?

    Don’t know of a plugin, but I’ve been playing with a weather script called HamWeather (www.hamweather.com), and it has a weather history plugin, as well as a ton of other plugins too. Check out my install at https://myweather.survivalring.org/hw3.php. The link to the history plugin on my site is here… https://myweather.survivalring.org/hw3.php?forecast=wxhistory&icao=kriw. It only goes back 48 hours. Are you looking for something that goes back further than that? NOAA has history that goes back 3 days, such as here… https://www.crh.noaa.gov/data/obhistory/KRIW.html. Using this data, someone should be able to create a plugin to strip out the unneeded stuff and display a few days of weather history.

    I’m also having a problem with getting the images to appear.

    Any suggestions greatly appreciated. Thanks.

Viewing 12 replies - 196 through 207 (of 207 total)
  • The topic ‘Weather Hack’ is closed to new replies.