Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

Banner.php

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
LeShark1205
Posts: 3
Joined: Thu 03 May 2012 4:08 pm
Weather Station: WH3080
Operating System: Windows 7
Location: Germany

Banner.php

Post by LeShark1205 » Sun 17 Jun 2012 10:28 am

Hello, municipality, I has a problem with the file "Banner.php" namely no values are indicated, it hopes somebody can help me....

banner.php:

# CONFIGURATION INFORMATION
############################################################################
$SITE['version'] = "3.0";
$SITE['hloc'] = "./";
$SITE['wdclient'] = 'realtime.txt';
$SITE['image_width'] = 610;
$SITE['image_height'] = 75;


http://wetter.2-way.de/banner.php

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Banner.php

Post by steve » Sun 17 Jun 2012 10:40 am

LeShark1205 wrote:$SITE['wdclient'] = 'realtime.txt';
The banner code normally has this:

$SITE['datafile'] = "realtime.txt";

Perhaps you are trying to use a banner intended for some other software? ;)
Steve

User avatar
TNETWeather
Posts: 663
Joined: Wed 17 Sep 2008 1:34 pm
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
Location: Mesa, AZ USA
Contact:

Re: Banner.php

Post by TNETWeather » Sun 17 Jun 2012 11:19 am

Code: Select all

$SITE['wdclient']
is from the WD Version of the script.

Example:

Code: Select all

############################################################################
# Sample code from TNETWeather - http://www.tnetweather.com
############################################################################
// Obtain the Clientraw info from the server
$SITE = array();
$SITE['hloc'] = "./";
$SITE['wdclient'] = get_raw($SITE['hloc'] . 'clientraw.txt',' ');
$tb = chr(9);  // tab character
Project page for the Cumulus version of the banner:
http://cumulus.tnetweather.com/projects/phpggbanner
PDF instructions: http://tnetweather.com/.click/click.php?id=18
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...

Post Reply