Sandaysoft

Support forum for Cumulus weather station software
It is currently Tue May 21, 2013 1:42 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Banner.php
PostPosted: Sun Jun 17, 2012 10:28 am 
Offline

Joined: Thu May 03, 2012 4:08 pm
Posts: 3
Location: Germany
Weather Station: WH3080
Operating System: Windows 7
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


Top
 Profile  
 
 Post subject: Re: Banner.php
PostPosted: Sun Jun 17, 2012 10:40 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17563
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
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
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Banner.php
PostPosted: Sun Jun 17, 2012 11:19 am 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
Code:
$SITE['wdclient']

is from the WD Version of the script.

Example:
Code:
############################################################################
# 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...
Cumulus User Maps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: N0BGS and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group