Author Topic: Weather Sky template comments  (Read 11974 times)

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #15 on: July 15, 2012, 09:56:03 AM »
Another issue is the Solar radiation   0 W/m⊃2 I saw the sup syntax is used but it doesn't display W/m2, sorry for all the questions  ;)

Offline admin

  • Your Weather master
  • Administrator
  • Full Member
  • *****
  • Posts: 50
Re: Weather Sky template comments
« Reply #16 on: July 15, 2012, 10:19:38 AM »
Hi Ron,
 
1st, don't be sorry! Your comments are more then welcome!!
I've launched it as Beta status, for that reason! In that case, I have no Solar
sensor... then doesn't take enough attention to it!  :-[
 
Only index_txt.php has that bug. To solve it, simply replace these words:
W/m⊃2
by
W/m<sup>2</sup>
 
This will display superscript correctly!
 
Thank you very much for helping me to bring a "perfect" template  ;D
 
Best regards,
Jacques

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #17 on: July 15, 2012, 10:43:57 AM »
That fixed it (I don't have a solar sensor either). Well I inform you if I have other issues.

Good work !

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #18 on: August 02, 2012, 10:48:24 AM »
I've installed the release version 1.0 but get a server error I don't even understand how the update wt_data_inc.php because this file needs to be on my local computer and procesed there  :-X

http://apeldoorn.tk/weather ...

Offline admin

  • Your Weather master
  • Administrator
  • Full Member
  • *****
  • Posts: 50
Re: Weather Sky template comments
« Reply #19 on: August 02, 2012, 11:15:21 AM »
Hi
 
This is true, as indicated, you have to move wt_data_inc.php into C:\Cumulus\web folder
after Cumulus processed it, template will work!
 
Regards,
Jacques

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #20 on: August 02, 2012, 11:17:32 AM »
Were do I find the latest verion of this include it's not in the zip ?

Offline admin

  • Your Weather master
  • Administrator
  • Full Member
  • *****
  • Posts: 50
Re: Weather Sky template comments
« Reply #21 on: August 02, 2012, 11:27:11 AM »
Hi nitrix,
 
In your zip file, you'll see 2 files:
- wt_data_inc.php (the English data inclusion)
- wt_data_intl.php (International version, for accented or foreign date names)
 
Take the one for you, and process it by Cumulus.
 
IMPORTANT - You coul use both, but template search for wt_data_inc.php
(Then, if you use intl version, you have to rename it)
 
Regards,
Jacques

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #22 on: August 02, 2012, 11:34:31 AM »
That doesn't work too strange, the only page I can acces is manage.php ...   :-[

Offline admin

  • Your Weather master
  • Administrator
  • Full Member
  • *****
  • Posts: 50
Re: Weather Sky template comments
« Reply #23 on: August 02, 2012, 11:37:13 AM »
Nitrix
 
Have you put the whole hunch of file and folders in your weather folder??
 
Jacques

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #24 on: August 02, 2012, 11:39:26 AM »
Yes I did Jaques, I've done it twice the second instance I had removed all files, because I thought there might be conflicts with some files from the beta version.

Ron

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #25 on: August 02, 2012, 11:47:34 AM »
Oeps solved it seems there was another unprocessed data file thanks for your patience  8)

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #26 on: August 02, 2012, 11:53:36 AM »
Not solved completely I see the page but no values in it

the remote data are availble ..
<?php
$version = "1.2";
if (isset($_GET['ver'])) {
  echo $version;
  exit;
}
//
// Title    : Webtags converted to PHP Variables
// Plateform: Cumulus v1.9.2
// Autor    : Jacques Desroches (weatherbyyou.com)
// Version  : 1.2 (2012-08-02)
//

// Date formatted
$pre_time ="";
$pre_date = " on ";

// Section MEASURE UNITS
$tempunit = '&deg;C';
$tempunitnodeg = 'C';
$pressunit = 'mb';
$rainunit = 'mm';
$windunit = 'm/s';
$windrununit = 'km';
$cloudbaseunit = 'm';

// Section DATE and TIME
$date = '2-8-2012';
$time = '18:49 on 02 augustus 2012';
$timehhmmss = '18:49:35';
$timeUTC  = '16:49 on 02 augustus 2012';
$day = '02';
$dayname = 'donderdag';
$shortdayname = 'do';
$month = '08';
$monthname = 'augustus';
$shortmonthname = 'aug';
$year = '2012';
$shortyear = '12';
$hour = '18';
$minute = '49';

//-- Section CURRENT CONDITIONS --
$apptemp = '18,4';
$avgtemp = '19,1';
$temp = '20,6';
$wetbulb  = '15,9';
$intemp = '23,3';
$temptrend = '-0,1';
$temptrendtext = 'Dalend';
$temptrendenglish = 'Falling';
$heatindex = '20,6';
$humidex = '23,0';
$hum = '59';
$inhum = '99';
$dew = '12,3';
$wchill = '20,6';
$rfall = '12,0';
$rrate = '0,0';
$rhour = '0,0';
$r24hour = '12,0';
$rmidnight = '12,0';
$LastRainTipISO = '2012-08-02 14:07';
$press = '1012,8';
$presstrend = 'Langzaam stijgend';
$presstrendval = '+0,3';
$presstrendenglish = 'Rising';
$altimeterpressure = '1012,8';
$wspeed = '4,2';
$wgust = '5,4';
$wlatest = '5,4';
$bearing = '235';
$avgbearing = '257';
$wdir = 'WZW';
$currentwdir = 'ZW';
$wdirdata = '280,235';
$wspddata = '280,235';
$nextwindindex = '2';
$windrun = '0';
$beaufort = 'F3';
$beaufortnumber = '3';
$beaudesc = 'matige wind';

//-- Section TODAY CONDITIONS --
$tempTH = '22,2';
$TtempTH = '15:16';
$tempTL = '16,7';
$TtempTL = '04:37';
$temprange = '5,5';
$apptempTH = '24,6';
$TapptempTH = '15:16';
$apptempTL = '17,3';
$TapptempTL = '16:35';
$heatindexTH = '23,9';
$TheatindexTH = '15:16';
$wchillTL = '16,7';
$TwchillTL = '04:37';
$dewpointTH = '19,5';
$TdewpointTH = '09:18';
$dewpointTL = '11,3';
$TdewpointTL = '16:26';
$humTH = '99';
$ThumTH = '05:19';
$humTL = '57';
$ThumTL = '16:07';
$rrateTM = '57,6';
$TrrateTM = '01:30';
$hourlyrainTH = '9,6';
$ThourlyrainTH = '01:41';
$pressTH = '1013,1';
$TpressTH = '18:34';
$pressTL = '1006,1';
$TpressTL = '00:24';
$windTM = '4,7';
$TwindTM = '12:16';
$wgustTM = '7,7';
$TwgustTM = '12:44';
$bearingTM = '10';
$Tbeaufort = 'F3';
$Tbeaufortnumber = '3';
$TwindTM = '12:16';
$domwindbearing = '266';
$domwinddir = 'W';

//-- Section YESTERDAY CONDITIONS --
$tempYH = '27,4';
$TtempYH = '17:39';
$tempYL = '12,4';
$TtempYL = '06:13';
$temprangeY = '15,0';
$apptempYH = '27,2';
$TapptempYH = '19:44';
$apptempYL = '12,8';
$TapptempYL = '06:36';
$heatindexYH = '27,3';
$TheatindexYH = '17:39';
$wchillYL = '12,4';
$TwchillYL = '06:13';
$heatdegdaysY = '1,7';
$cooldegdaysY = '3,8';
$dewpointYH = '18,3';
$TdewpointYH = '09:58';
$dewpointYL = '10,6';
$TdewpointYL = '16:21';
$humYH = '99';
$ThumYH = '06:48';
$humYL = '38';
$ThumYL = '16:07';
$rfallY = '0,0';
$rrateYM = '0,0';
$TrrateYM = '00:

andso-on confused, I try later it's dinner time too late almost  :)

Offline admin

  • Your Weather master
  • Administrator
  • Full Member
  • *****
  • Posts: 50
Re: Weather Sky template comments
« Reply #27 on: August 02, 2012, 11:57:24 AM »
Hi Ron,
 
All data is there, we see dates and others. That file is supposed to be send on your website.
In Cumulus\web there supposed to be there a version to process, like this
 
// Date formatted
$to = utf8_encode("to ");  // Ex: to 20 may
$pre_time = utf8_encode("at ");  // Ex: at 10:45
$pre_date = utf8_encode(" on ");  // Ex:  on 25 may
$only_date = utf8_encode("On ");  // Ex: On 25 may
// Section  MEASURE UNITS
$tempunit = '<#tempunit>';
$tempunitnodeg = '<#tempunitnodeg>';
$pressunit = '<#pressunit>';
$rainunit = '<#rainunit>';
$windunit = '<#windunit>';
$windrununit = '<#windrununit>';
$cloudbaseunit = '<#cloudbaseunit>';

Take the original file in your zip file!
 
Jacques

Offline nitrx

  • Jr. Member
  • **
  • Posts: 20
    • Apeldoorn Weer NL
Re: Weather Sky template comments
« Reply #28 on: August 02, 2012, 11:59:36 AM »
Thats a copy of my remote site Jacques

Offline admin

  • Your Weather master
  • Administrator
  • Full Member
  • *****
  • Posts: 50
Re: Weather Sky template comments
« Reply #29 on: August 02, 2012, 12:04:25 PM »
Ron,
 
There is no error displayed?
 
File is exactly that name: wt_data_inc.php ?
 
Jacques
EDIT: When i sniff your site, I see it inclomplete, no include folder or lang folder!!!
« Last Edit: August 02, 2012, 12:07:57 PM by admin »