jeremiah
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: my-hacks.php?Sorry, that last was me..
–JeremiahForum: Everything else WordPress
In reply to: To the WordPress team and the community on these fHere’s another big Thank You!
THANKS GUYS & GALS!
–JeremiahForum: Plugins
In reply to: Weather HackDavid,
I’m far too lazy to do all that! ;-P
if you’ll send me a modified version I’ll update the zip file.
I don’t think I’ll make it a div instead of the LI because I was emulating the wordpress defaults there, but the other changes sound good. (if you want to do that)
How do you insert a linefeed in PHP?
crlf? I’ll look it up later I guess.
–JeremiahForum: Plugins
In reply to: Weather HackOh, you will also want to be aware, that the heat index will only display if the temp is above 79F and the wind chill will only display if the temp is below 51F
–JeremiahForum: Plugins
In reply to: Amazon Books, Music and DVD display WP Hack/ModuleSounds nifty!
Great website BTW, nice pictures too!Forum: Plugins
In reply to: Weather HackTG,
Ah! Glad we’re on the same page then. I was begining to think I was losing my marbles.. lol
–JeremiahForum: Plugins
In reply to: Weather HackTG, I’m not sure what you mean?
check this out: Sonicpling Validation
I thought about giving the weather icon a “class” so that you could add the border back if you want it, but I don’t understand how removing the border=”0″ will keep it from validating..Forum: Plugins
In reply to: Weather Hackok. I think I got everything right this time.
I removed the border attribute from the icon.
Integrated TG’s modifications (except removing the icon from the LI. You’re going to have to do that yourself if you want it that way.)
Put the missing “language.php” file back into the zip.
Added instructions at the top of the “weather.php” file.
See it here:
https://www.sonicpling.net
With all options enabled:
https://www.sonicpling.net/weather/weather-full.php
And I replaced the weather-new.zip with the latests and greatest.
get it here:
https://www.sonicpling.net/weather/weather-new.zip
Let me know if you have any problems or questions.
And if you’re feeling generous, you could let me know if you’re using it as well. I’m interested in how many people want this function..
Thanks!
–JeremiahForum: Plugins
In reply to: Weather HackOops, forgot to login.. That last one was me.
–JeremiahForum: Plugins
In reply to: Weather HackI wasn’t getting a validation error on the border attribute, but I agree that it should be removed. I’ll do that this evening as well. Thanks for pointing that out Flakkito!
–JeremiahForum: Plugins
In reply to: Weather Hackoops.. I’ll fix that, and update the zip to include TG’s modifications when I get home this evening..
–JeremiahForum: Requests and Feedback
In reply to: Nice little timzone touch in the latest buildI agree with Karl. I too noticed the server time offset option and thought it was a nice touch. Kudos!
Forum: Plugins
In reply to: Weather HackThat sounds pretty nifty TG..
I had originally wanted to use the my-hacks.php and just output the $weather bit in the page, but hadn’t gotten that far. Your solution sounds nicer.
do you want to put that up in the wiki? I tried the other day to log in, and couldn’t.
Doesn’t taking the image out of the LI break the logical flow of the code? for screen readers and such?
I didn’t like the bullet either, but I thought it should stay inside the UL, so I just styled it out.
Thanks,
JeremiahForum: Plugins
In reply to: Weather HackTG, Glad you like it!
this is how I am calling it in my index.php:
<?php include(ABSPATH . ‘weather/weather.php’); ?>
is there a better way?
–JeremiahForum: Plugins
In reply to: Weather Hackok, I cleaned it up a little more and made it respect the wordpress stylesheet.
Tables are gone. Also seems to validate now.
new file is available here:
https://www.sonicpling.net/weather/weather-new.zip
Example:
https://www.sonicpling.net
Example with all options:
https://www.sonicpling.net/weather/weather-full.php
I used SPAN’s to seperate the title and the info, e.g. “Temp” and “69f”
you can access them in your stylesheet thus:
.weather_title { font-weight: bold; }
#weather { text-align: center; }
#weather ul li { text-align: center; }
(obviously, I have this flowing in as a LI in the menu UL)
Comments?