PDA

View Full Version : Weather block added


linp
Mon 6/9/03, 12:54AM
A little block showing current weather of various spots in socal, and link to a 9-day forecast is added to http://www.socalsvriders.com bottom left corner.

Personalize it by entering your zip code if there's a box (you need to log in). Change the zip code in your Profile (http://www.socalsvriders.com/forums/member.php?s=&action=editprofile) if you like to change the displayed weather location.

I hacked this together this evening, so let me know if there are any problems. The page loading speed might be affected, so I'm not sure if this Weather Block will stay or not.

GetnJgyWitit
Mon 6/9/03, 12:57AM
nice paul, I was tired of going over to the hypercycles page to check the palomar weather all the time! (nothing against the hypercycles guys! :D )

BluBallz
Mon 6/9/03, 1:20AM
nice work mein, now what do you have to "hack" at in order to clear up so cal a bit ? :)

TIFOSO
Mon 6/9/03, 8:13AM
very cool Paul! What will you think of next.

ward
Mon 6/9/03, 8:15AM
Paul,

you're a friggin porn star,
next I'd like a block that gave out my phone number to professional cheerleaders, see what you can do on that!

Sentinel
Mon 6/9/03, 10:03AM
Awesome Paul! Did the subtle hint during the KS lunch sealed the deal?! ;)

This should cut down my visits to SocalSportBikes (they're pretty cool too!) :cool:

blk650
Mon 6/9/03, 10:07AM
Paul that works great. I'm in nor-cal but was able to put my zip in too. excellent job.

Kurt'sSV
Mon 6/9/03, 10:18AM
Dude, that kicks ass. Good thinking Paul.

rb643
Mon 6/9/03, 10:22AM
Cool Paul. Now I don't have to go to the weather underground webpage anymore. You da man!

crashgirl
Mon 6/9/03, 10:59AM
It lies...It is drizzing in Santa Ana and Oxnard right now!:(

airman9
Mon 6/9/03, 2:32PM
That is a cool block and it needs to stay.... I like it...

Burst
Mon 6/9/03, 6:58PM
all hail paul the web god..... :D

smolvar
Mon 6/9/03, 7:09PM
Great addition Paul!!

Us Santa monica mountains/Malibu folks dont get a forecast, I see how it is
:D

Punkbrad
Mon 6/9/03, 9:51PM
.

linp
Mon 6/9/03, 10:35PM
Har har Brad :D Funny I'm using Windows.

Originally posted by smolvar
Great addition Paul!!

Us Santa monica mountains/Malibu folks dont get a forecast, I see how it is
:D

Santa Monica/Malibu == Angeles Crest?

Anyway, you can add your own zip code if you are registered/logged in and get a cute little weather icon too.

GMAN
Mon 6/9/03, 11:23PM
Awesome. We have weather, we have the chatter box, we have the forums, and we have funky peeps.

All we need now is streaming porn videos and a direct link to Domino's Pizza online ordering and I have no reason to browse any other site. :D

Guzzigirl2000
Mon 6/9/03, 11:24PM
totally awesome paul
always making enhancements and improvements - you rock

Sentinel
Tue 6/10/03, 8:16AM
Originally posted by GMAN
All we need now is streaming porn videos ... :D

I think Paul already have those stashed somewhere in the download area. (PM me the location and/or password, if any) ;)

linp
Thu 6/12/03, 12:10PM
I had to temporarily deactivate the weather block because of "Unexpected format. Our Data Provider's data format has unexpectantly changed."

I switched to another data provider (unisys), but the time to retrieve data is too long/slow.

[edit] seems like the original data provider is working again. -2PM
oh, and for streaming pr0n video, ask chuckiechz about it!

Sentinel
Thu 6/12/03, 4:23PM
Which reminds me, whatever happened to that naked news broadcast? Is that thing still up and running?

They have a weather segment, don't they:confused:

Golden_Eternity
Thu 6/12/03, 9:52PM
I think they started charging.

Jarasco
Fri 6/13/03, 12:33AM
....bastards.....

Jarasco
Fri 6/13/03, 12:37PM
Aaah! My one stop shopping home page is DEAD!

Fatal error: Cannot redeclare blocks_weather_block() (previously declared in /usr/home/socalsv/public_html/includes/blocks/weather.php:21) in /usr/home/socalsv/public_html/includes/blocks/weatheruni.php on line 21

:sad: :sad: :sad:

It makes you really appreciate the work Paul has done to make the opening page SOOO useful. Thanks.

linp
Fri 6/13/03, 3:10PM
Ya that was a weird thing that happened. Sorry.

blk650
Thu 6/26/03, 1:50PM
I see the weather advisor is there but I used to be able to get my weather in nor-cal on it too. Now I don't have the option of putting in my zip code. Paul????

linp
Thu 6/26/03, 2:16PM
Make sure you are logged in (the bottom right corner block should say, Welcome blk650... instead of giving you a login box. Or, at the very top, you'll see "Logout" and "Profile" instead of "Login" and "Register" as menu selection items).

If you are not logged in, it won't show the extra personalized weather. If you are logged in, it'll show either:
- a box to enter your zipcode if you haven't done so, or
- current weather in that zipcode, or
- note saying there is no data for that zipcode
plus the same stuff that was shown when you aren't logged in.

Try logging out, clear cookies and back in, see if it helps.

Guzzigirl2000
Thu 6/26/03, 10:57PM
Instead of my home address I put in
Campo's zip 91906 so I'd have a better idea of the weather in that area