Forum Replies Created

Viewing 15 replies - 1 through 15 (of 69 total)
  • you can call the function and specify what you want before and after each name value pair.

    it defaults to ‘li’ and ‘/li’ but you can choose anything you like.

    just call the function like this:
    WeatherIcon('KLFK','before','after')

    change ‘before’ and ‘after’ to whatever you want.

    in this case, I guess it would be:
    WeatherIcon('KSFO','*','')

    –Jeremiah

    Forum: Plugins
    In reply to: WeatherIcon 2.0
    Thread Starter jeremiah

    (@jeremiah)

    Rocky:
    it is possible, but you have to edit the php file.
    there is not an “official” option for that.
    it’s not hard to do though, just read through the code and find where it chooses to output one or the other and combine them.

    ===
    Heetmyser:
    the 1800 is seconds.. = 30 min.

    it’s possible that the weather station you’re subscribed to only updates every 12 hours.

    –Jeremiah

    Forum: Plugins
    In reply to: WeatherIcon 2.0
    Thread Starter jeremiah

    (@jeremiah)

    No credit to me..
    Garett did all the work on this release.

    Thanks to “Linda” the German translation is now complete, so if you were needing that, grab the new file.

    Same Location.

    –Jp

    Forum: Plugins
    In reply to: WeatherIcon 2.0
    Thread Starter jeremiah

    (@jeremiah)

    Website is back up!

    and I reuploaded the WeatherIcon2.zip file.
    make sure that you clear your cache before downloading.
    (otherwise your browser will just give you the same file you downloaded already)

    –Jeremiah

    Forum: Plugins
    In reply to: WeatherIcon 2.0
    Thread Starter jeremiah

    (@jeremiah)

    My webhost had a hard disk failure.

    I expect to be back up and running by tomorrow morning.
    I will reupload the newest version then.
    (around 7:30 am CST)

    Sorry about that.
    –Jeremiah

    Forum: Plugins
    In reply to: WeatherIcon 2.0
    Thread Starter jeremiah

    (@jeremiah)

    New version is available.

    Fixes:
    – Fixed Missing Descriptor for visibility. (Jeremiah)
    – Removed border attribute from image (Jeremiah)
    – Fixed fread error on initial creation of cache file. (Jeremiah)

    Same location as before.

    Forum: Plugins
    In reply to: Weather Hack
    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.

    I’ve had good luck with Total Choice Hosting

    –Jeremiah

    Forum: Plugins
    In reply to: Weather Hack
    Thread Starter jeremiah

    (@jeremiah)

    rafleet:
    Are you sure that the plugin is activated?
    do you have the latest version?
    Not sure what else it might be.
    –Jeremiah

    Forum: Plugins
    In reply to: Weather Hack
    Thread Starter jeremiah

    (@jeremiah)

    Beel:
    Thanks for the changes! (Sorry it took me so long.)
    Version 1.1.9 is now available.
    Incorporates the debug formating changes from Beel.
    As Usual:
    get the full package (Including the icons) here:
    https://www.sonicpling.net/weather/weather-plugin.zip
    and for those of you upgrading, you can get just the code here:
    https://www.sonicpling.net/weather/weather.phps
    — Jeremiah

    Forum: Plugins
    In reply to: Weather Hack
    Thread Starter jeremiah

    (@jeremiah)

    Beel:
    Your wish is my command!
    Version 1.1.8 (I’m going to run out of numbers soon.. lol)
    get the full package (Including the icons) here:
    https://www.sonicpling.net/weather/weather-plugin.zip
    and for those of you upgrading, you can get just the code here:
    https://www.sonicpling.net/weather/weather.phps
    — Jeremiah

    Forum: Plugins
    In reply to: Weather Hack
    Thread Starter jeremiah

    (@jeremiah)

    dkay315:
    It fixes the two problems listed in my previous post.
    There are not any new features.
    –Jeremiah

    I’ve had good luck with Total Choice Hosting
    I get unlimited e-mail address, databases etc.
    20 Gig’s transfer, 850 megs storage.
    $5 a month.
    –Jeremiah

    just realized that I reversed the quote marks as well. trading each ‘ for a ” and vis-a-versa
    that may have been what changed it.
    I’m far too lazy to research it further.
    MindlessLemming:
    I like the idea of the definition list, but once again, you’re exposing my laziness.. lol
    one of these days (I was going to join procrastinators anonymous, but I keep putting it off) I will find a way to integrate your definition list and still have it flow into the list items in wordpress the way I wanted it to.
    –Jeremiah

    I noticed that the last debug set that I had offered had listed the title attribute, but not the alt attribute, even though both were calling the exact same variable ($wxInfo[‘CLOUDS’]) and they were both working on my server.
    plus, the image selection code must have been working, or the image name variable would have been null and none of the img tag would have been written out at all.
    so my assumption is that there is something broken in zoblue’s php
    thats causing multiple calls to the a variable on a single line to fail.
    so I just broke the img tag apart so that it was written on seperate lines:
    if ($use_icon_status == 'yes' && $wxInfo['ICON']<>''){
    $weather .= '

    • <img src="';
      $weather .= $icon_location;
      $weather .= $wxInfo['ICON'];
      $weather .= $icon_extension;
      $weather .= '" alt="';
      $weather .= $wxInfo['CLOUDS'];
      $weather .= '" title="';
      $weather .= $wxInfo['CLOUDS'];
      $weather .= '"/>
    • ';
      }
      In other word’s I didn’t fix whatever problem you have with php, I just worked around it.
      –Jeremiah

Viewing 15 replies - 1 through 15 (of 69 total)