Page 5 of 32

Re: Cumulus PHP-GD Banner

Posted: Sun 14 Dec 2008 4:11 pm
by Paul C
Knaven added to the list :D

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 9:09 am
by Paul C
Has anyone noticed any slight problem with the wind speed and gust elements of the banner ?

Today I have my wind speed at 14knots, yet the Gust is showing alot lower. Surely the Gust should always be higher than the actual wind speed unless it happens at the same time. Is this a Cumulus problem or a banner problem ?

[img<a href="http://smg.photobucket.com/albums/v519/ ... banner.jpg" target="_blank"><img src="http://img.photobucket.com/albums/v519/ ... banner.jpg" border="0" alt="Photobucket"></a>][/img]

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 9:13 am
by steve
Paul C wrote:Has anyone noticed any slight problem with the wind speed and gust elements of the banner ?

Today I have my wind speed at 14knots, yet the Gust is showing alot lower. Surely the Gust should always be higher than the actual wind speed unless it happens at the same time. Is this a Cumulus problem or a banner problem ?
https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=286

Steve

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 9:51 am
by Paul C
steve wrote:
Paul C wrote:Has anyone noticed any slight problem with the wind speed and gust elements of the banner ?

Today I have my wind speed at 14knots, yet the Gust is showing alot lower. Surely the Gust should always be higher than the actual wind speed unless it happens at the same time. Is this a Cumulus problem or a banner problem ?
https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=286

Steve
Noted - I have changed the php banner to show those suggestions, but doesnt appear to have changed it on the screen. Its been running for over 10mins now - Just to confirm its the banner.php to alter ?

tks

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 10:03 am
by steve
Paul C wrote:Noted - I have changed the php banner to show those suggestions, but doesnt appear to have changed it on the screen. Its been running for over 10mins now - Just to confirm its the banner.php to alter ?tks
I just looked at the output from your banner.php and your realtime.txt at the same time, and your banner was still using item 7, not item 41. So I think either you didn't change the file correctly or you forgot to upload the new version. Or, um, something else :)

Steve

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 10:14 am
by Paul C
Mine says:

Version: 3.0 - October 19th, 2008

But as I said, I've modified mine so it uses the 10-minute high gust (which clearly wasn't available at the time the script was written).

Change line 95 to:

Code:
"cversion","cbuild","recentmaxgust");

Change line 269 to:

Code:
$text = "Gust: " . ret_value("recentmaxgust") . ret_value("windunit");

"This is what I have changed on the banner.php - nothing else" - do I have alter something else?

Please feel free to move this to the other thread if required.

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 10:26 am
by steve
If you've changed those two lines and uploaded the new banner.php to the correct place on the server, then I don't know why it isn't working :(

Steve

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 10:40 am
by Paul C
steve wrote:If you've changed those two lines and uploaded the new banner.php to the correct place on the server, then I don't know why it isn't working :(

Steve
I know now - its called being thick and not following instructions. I had succesfully changed it,but then upload the old version every time, so I coulndt understand why it wasnt changing, hopefully sorted. You may see a few different words appearing, its just me making sure I can get it correct.

Now if I was to ADD Max gust of the day - is this a possibility ? - I see a few others have got Max/Min Temps in aswell

Re: Cumulus PHP-GD Banner

Posted: Wed 17 Dec 2008 10:44 am
by steve
Paul C wrote:Now if I was to ADD Max gust of the day - is this a possibility ? - I see a few others have got Max/Min Temps in aswell
I assume it's possible to add anything that is in the realtime.txt file, but I haven't actually tried myself.

Steve

Re: Cumulus PHP-GD Banner

Posted: Sun 28 Dec 2008 3:39 pm
by Shawn
Because i getting HTTP 500 error my site not got what i need for the banner?

http://uk.geocities.com/shawn.townsend@ ... server.php

Re: Cumulus PHP-GD Banner

Posted: Sun 28 Dec 2008 4:15 pm
by steve
Is it the free geocities service you're using? I don't think that allows PHP :(

Steve

Re: Cumulus PHP-GD Banner

Posted: Sun 28 Dec 2008 5:06 pm
by Shawn
Think so it's free with my boardband

Re: Cumulus PHP-GD Banner

Posted: Sun 28 Dec 2008 5:10 pm
by Shawn
OK so any good places for hosting?

Re: Cumulus PHP-GD Banner

Posted: Sun 28 Dec 2008 5:27 pm
by philcdav
some help for a php newbie please?

trying to add the banner to my web page without success.

i tried to add the banner but failed
i tried the server check which failed, returning only text
i also tried to run the blueyonder php server check but that also failed returning only text

BUT i can put Steve/Anybodys URL on my webpage and it works fine.

Help please cos theres not much hair to pul left !

Regards - Phil

http://www.maghull-scene.pwp.blueyonder ... server.php

http://www.maghull-scene.pwp.blueyonder.co.uk/gg_wx.htm

Re: Cumulus PHP-GD Banner

Posted: Sun 28 Dec 2008 6:24 pm
by steve
I think you have the same problem - I could be wrong, but the Blueyonder personal web space doesn't seem to support PHP.

Steve