1 blazzinmatt Jan 05, 2005 23:59
3 blazzinmatt Jan 19, 2005 05:29
I stopped working on the WP Hack and used a b2 weather hack from the weather.com XML.
The Wordpress hack is here though: http://www.sonicpling.net/archives/2004/02/20/weather-hack/
4 joachim Oct 01, 2005 14:08
just tried to install this hack on b2
http://www.viper007bond.com/wordpress-plugins/weathericon/
anyone who tried this too?
5 village_idiot Oct 01, 2005 21:00
wp hacks will not natively work on wordpress. they use different hooks
6 the_engineer Oct 03, 2005 01:39
whoo wrote:
wp hacks will not natively work on wordpress. they use different hooks
This must be part of the Micro$oft conspiracy :lol:
7 the_engineer Oct 03, 2005 01:52
I grabed the files from http://www.sonicpling.net/weather/weather-plugin.zip
and gave it a look.
Yeah I know it says it is for wordpress however all you have to do
is adjust a couple of path statments , upload the files and create
a dir for the cache and chmod to make it writable.
I had this up on a static test page within a couple of min.
When I was happy with the layout for it I moved to over to my skin.
I used this in my skin:
<?php require '/home/path/to/weather.php'; ?>
<div class="bSideItem">
<h3><?php echo T_('Current Weather') ?></h3><br/>
<div align="center">
<?php WeatherIcon('KFTW','Ft. Worth, Texas') ?>
</div>
</div>
Change the station id and city to suit
You can play around with the outputs and change the markup to suit
your needs.
Out of the box, I mean Zip it is not valid.
Have fun,
Jon
I would have used the (PHP) hilighter but it looks broken
8 village_idiot Oct 03, 2005 11:19
Nice job :)
In my defense, thats not really what I had in mind when I say "Wordpress plugin". That could be used on nearly any site with little tinkering. No matter though, its still a nice addition for folks that like weather addons :)
I wrote a simple hack for my old clan's phpBB forum that worked with weatherpixie @ http://weatherpixie.com/ .. That IS by far the funnest weather addon a person could have, and I made it so members could customize their weather. Unfortunately, I deleted all those files last week after selling the domain.
You could always use that out of the box to display your own weather (she will let you) OR if anyone is interested I might try to reconstruct my old hack to allow blog members to customize. It was quite the shiznit once I had it working :)
Can you zip up what you've done so far? I looked at the WP plugin and thought it would be neat but didn't quite know where to start to make it a b2evo thing.