Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

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 »

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: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Banner.php

Post by steve »

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
TNETWeather

Re: Banner.php

Post by TNETWeather »

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
Post Reply