Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Banner.php

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

Banner.php

Postby LeShark1205 » Sun Jun 17, 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: 26546
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Banner.php

Postby steve » Sun Jun 17, 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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
TNETWeather
Posts: 663
Joined: Wed Sep 17, 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

Postby TNETWeather » Sun Jun 17, 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...


Return to “3rd Party Tools”

Who is online

Users browsing this forum: No registered users and 2 guests