Weather Banner - simple detailed help required please

I have a weather website for a while now and subscribe to a few forums where I have come across these great banners at the bottom of each persons message. I particularily like the banner featuring “Broadstairs” but how do you have one for yourself. I have looked through these pages on here but its to technical for me. Is there a simple but detailed guide on how to get one these banners, install it and if featuring my weather data. I would describe my computer knowledge as 4/10, PHP 1/10.

I have a VP2 using Weather Display, Weatherlink and Cumulus software

many thanks in anticipation.

Have you had a look through this FAQ about creating Custom Screens? http://discourse.weather-watch.com/t/8886

Broadstairs banner uses the weather graphic php script. Do you have a website? Can you use php?

YES I do have a website. I assume I will be able to use PHP, knowledge of it is limited though

You have two basic choices. The custom screen proposed by Budgie is a graphic file (.gif) created by weather display and uploaded to your website with your other uploads. The php graphic used by broadstairs (and me) is a script that runs on your webserver and gets data from the small clientraw.txt datafile uploaded by the WD realtime FTP. The custom screen uses more WD/PC resources but may be easier to get working than the php graphic which uses very little WD/PC resource since it’s created by the webserver each time someone views it.

There is enough expertise on this forum to get either one working for you.

Tks, I think I would prefer the php graphic, if someone can help me ( hand hold ) me through the procedure.

I see a clientraw.txt file on your website but it’s not current. Do you have realtime FTP setup? If not follow this FAQ to do that.

Ok done that now, as requested, whats the next stage please
tks

I still need some help please if possible.

I have got my client raw file uploading on a regular basis. I have downloaded the wxgraphic files and uploaded these to my website. I at the stage where I think I need to change something in the config txt file but I dont understand this bit ?

http://www.bramptonweather.co.uk/wd/wxgraphic/

This is where I have the files/icons etc ready to go but nothing happens apart from blank boxes

Can anyone guide me through the next stages - tks :smiley:

Try changing the following in your config.txt from:

// if using WD clientraw.txt supply the path to it.
$data_file_path  = 'bramptonweather.co.uk/wd/wxgraphic/';

To

// if using WD clientraw.txt supply the path to it.
$data_file_path  = './';

You do not need the full URL, it is simply a file path and in your case, the current directory “./”

Chris

Chris - tks done that but still nothing, jut blank boxes with no text

oops
Try “./clientraw.txt”
I forgot to include the data file. :oops:

Chris

Tried that but still blank boxes, one thing of note is that you have " speech marks where I have just ’

Paul,
the “” were just to illustrate the text. You are right, they should be ’ '. I do see that you now have the graphic working.

Chris

I cant see anything ! - what link are you seeing the image

Paul,
I was viewing it at:
http://www.bramptonweather.co.uk/wd/wxgraphic/wxgraphic.php
It is not working at the moment. Looking at your current config.txt, you have omitted the full stop before the slash. It should be :

$data_file_path  = './clientraw.txt';

As it stands, the program is looking for clientraw.txt in your root directory rather than your current directory. You might have omitted it when you changed the quotation marks.

Chris

Chris, many thanks, YES I can finally see something at last :lol:

Can I ask something else if possible, how do I see the other images, the thin long banner etc.

tks

Try the following:
For a banner
http://www.bramptonweather.co.uk/wd/wxgraphic/wxgraphic.php?type=banner
For a large banner
http://www.bramptonweather.co.uk/wd/wxgraphic/wxgraphic.php?type=banner_big
For an avatar
http://www.bramptonweather.co.uk/wd/wxgraphic/wxgraphic.php?type=avatar

Chris

Chris, many thanks, I can see them now, I wasnt sure what the links would be !

I have even managed to change some of the units and add a title. But I did run into a problem when I tried to add a link back to my website in “Click for More” section - what should be typed in here as the href html code I inserted brought back a strange error message and no banner displayed.

Paul,

If it is for your forum signature, then use this:

[url=http://www.bramptonweather.co.uk]
[img]http://www.bramptonweather.co.uk/wd/wxgraphic/wxgraphic.php?type=banner[/img]
[/url]

If it is for a webpage then use this:

<a href="http://www.bramptonweather.co.uk"><img src="http://www.bramptonweather.co.uk/wd/wxgraphic/wxgraphic.php?type=banner"></a>

Chris