Author Topic: Alternative-Dashboard Version 6.21  (Read 150566 times)

0 Members and 3 Guests are viewing this topic.

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #75 on: January 06, 2011, 07:43:25 AM »
Hey!

Did not change anything. Updated just plain text parser and plain text data.txt.
Got a new line that shows the 'cold'
It is possible this must be fixed in plain text.  It looked a bit messed up in wxsimforecast too.
Perhaps Ken working on it?

That's what I was asking, where did the new parser come from, I haven't seen a new version yet!  Looks like version 1.19 from August 2010 is the latest version I've got, is yours later then that or was it just a patch?

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Alternative-Dashboard Version 6.02
« Reply #76 on: January 06, 2011, 08:50:20 AM »
plaintext parser.php versjon 1,21 and plaintext parser data.txt versjon 1.07

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #77 on: January 06, 2011, 09:21:32 PM »
plaintext parser.php versjon 1,21 and plaintext parser data.txt versjon 1.07

Ok, I've download version 1.22 and version 1.07 and so far no bad reactions.  I'll keep checking for a day or two and see if I can get mine to do the same.  I just dropped the two files in over my old versions as they were. 

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline mava

  • Member
  • *
  • Posts: 22
    • mavahome
Re: Alternative-Dashboard Version 6.02
« Reply #78 on: January 07, 2011, 03:14:35 AM »
Hi,
I am thinking about changing to ver.6.02 from ver.5
It looks like I have a problem with time/date in some areas of the dasboard and have not been able to figure out where the problem is.

Link to the dashboard : http://www.mavahome.com/ajax-dashboard6.php

Any suggestions of what migth cause this?

rgs

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #79 on: January 07, 2011, 07:43:43 AM »
Hi,
I am thinking about changing to ver.6.02 from ver.5
It looks like I have a problem with time/date in some areas of the dasboard and have not been able to figure out where the problem is.

Link to the dashboard : http://www.mavahome.com/ajax-dashboard6.php

Any suggestions of what migth cause this?

rgs

You need to surpress the PHP error messages. 

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline mayo9999

  • Senior Member
  • **
  • Posts: 67
    • Lake Mary Weather
Re: Alternative-Dashboard Version 6.02
« Reply #80 on: January 07, 2011, 08:09:38 AM »
It looks like I have a problem with time/date in some areas of the dasboard and have not been able to figure out where the problem is.

Scott,

I'm seeing the same issues with date formats.
     http://www.lakemaryweather.com/wdl/wxindex6.php (work in progress)
I perfer them to be MM/DD/YYYY
(Wind Chill, Almanac, and Station All Time Records)
Jerry-
http://www.lakemaryweather.com
CWOP = DW3228
WU    = KFLLAKEM7

Davis 6153 Wireless Vantage Pro2 / 6316 Wireless Weather Envoy
Weatherlink * VirtualIP * StartWatch * Windows Display * Windows Display Live

I also host my own CentOS (Linux) Apache WEB Server

Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Alternative-Dashboard Version 6.02
« Reply #81 on: January 07, 2011, 10:05:23 AM »
updated to plaintext 1.22 and it looks a bit strange.

http://regnskvett.com/index.php

it looks funny in forcast too.

http://regnskvett.com/wxsimforecast.php

Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Alternative-Dashboard Version 6.02
« Reply #82 on: January 07, 2011, 12:31:07 PM »
I think I've gotten it better.
In plain text I changed $maxWidth = 640 to 100%
and $showFrost = true;to false.

Thanks for your help

Torjan.


Offline paulIOG

  • Member
  • *
  • Posts: 12
Re: Alternative-Dashboard Version 6.02
« Reply #83 on: January 07, 2011, 12:47:05 PM »
Hi all been trying to change over to this version with not much joy i get this error

<b>Fatal error</b>:  Call to undefined function: idate() in <b>/homepages/3/d246270979/htdocs/ajax-dashboard.php</b> on line <b>2263</b><br />

any ideas on how i can fix this

Cheers
Paul

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #84 on: January 07, 2011, 10:25:48 PM »
Hi all been trying to change over to this version with not much joy i get this error

<b>Fatal error</b>:  Call to undefined function: idate() in <b>/homepages/3/d246270979/htdocs/ajax-dashboard.php</b> on line <b>2263</b><br />

Paul,

What version of PHP are you using?  Is there a link to the page I can look at?

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #85 on: January 07, 2011, 10:29:16 PM »
It looks like I have a problem with time/date in some areas of the dasboard and have not been able to figure out where the problem is.

Scott,

I'm seeing the same issues with date formats.
     http://www.lakemaryweather.com/wdl/wxindex6.php (work in progress)
I perfer them to be MM/DD/YYYY
(Wind Chill, Almanac, and Station All Time Records)


Like I mentioned in the previous note about that, the problem is in the conversion of dates and the java script.  I have not been able to figure out the problem.  I'm not a java person and there are so many formats for the dates.  Perhaps Ken would be willing to look at the code and see if he can see why only certain dates will not convert correctly.

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #86 on: January 07, 2011, 10:32:40 PM »
I think I've gotten it better.
In plain text I changed $maxWidth = 640 to 100%
and $showFrost = true;to false.

It must have something to do with the non-english translation too, I'm using the same settings and not seeing any issues.  I'm glad to see that you found a solution though!  Site looks great!

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline mava

  • Member
  • *
  • Posts: 22
    • mavahome
Re: Alternative-Dashboard Version 6.02
« Reply #87 on: January 08, 2011, 01:52:16 AM »
Hi,
I am thinking about changing to ver.6.02 from ver.5
It looks like I have a problem with time/date in some areas of the dasboard and have not been able to figure out where the problem is.

Link to the dashboard : http://www.mavahome.com/ajax-dashboard6.php

Any suggestions of what migth cause this?

rgs

You need to surpress the PHP error messages. 

Scott


Thanks Scott.
Looking better now. :-)

Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Alternative-Dashboard Version 6.02
« Reply #88 on: January 08, 2011, 05:37:57 AM »
Hey!

Only a small update about new plaintext and version 12.8 WXSIM.
Must set 'never' in include frost in plain text output ...

There is too much text if this is on. it mess up icons in  WXSIM Short Term Weather Forecast.

Offline ed2kayak

  • Ed
  • Forecaster
  • *****
  • Posts: 613
  • Davis Vantage Pro2 w/12 hr FARS, solar/uv
    • Cumberland Valley Weather
Re: Alternative-Dashboard Version 6.02
« Reply #89 on: January 08, 2011, 07:34:27 AM »
snow questions.
I just added .1 inch snow today in WD. The current conditions dashboard http://cvweather.org/index.php initially shows 0.10 in snow (correct amt.) , then flashes green (update?) and displays 0.12 inches?
It is correct in my snow detail page here:  http://cvweather.org/wxsnowdetail.php
#2, do you empty the snow out of rain collector if measuring snow manually?
Thanks
Ed
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline paulIOG

  • Member
  • *
  • Posts: 12
Re: Alternative-Dashboard Version 6.02
« Reply #90 on: January 08, 2011, 09:02:11 AM »
Hi all been trying to change over to this version with not much joy i get this error

<b>Fatal error</b>:  Call to undefined function: idate() in <b>/homepages/3/d246270979/htdocs/ajax-dashboard.php</b> on line <b>2263</b><br />

Paul,

What version of PHP are you using?  Is there a link to the page I can look at?

Scott
Hi scott looked into the PHP version looks like i was still running v4.4.9 now updated to PHP5 and seems to have cured most of my problems i just need to fix a few image issues and fiddle with the config file a little its nearly there though can be seen here www.iogweather.co.uk

cheers

Paul

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #91 on: January 08, 2011, 09:43:59 AM »
Hi scott looked into the PHP version looks like i was still running v4.4.9 now updated to PHP5 and seems to have cured most of my problems i just need to fix a few image issues and fiddle with the config file a little its nearly there though can be seen here www.iogweather.co.uk

cheers

Paul
The first thing I saw, when the page first loads.  The main images are looking for the files to be:  http://www.iogweather.co.uk/ajax-images/sct.gif

but when the java script kicks in the images load and are looking for:
http://www.iogweather.co.uk/ajax-images/sct.jpg

You need to configure the dashboard to use .jpg images and configure the size (it uses smaller ones in version 6 then version 4).  Go through the settings file and the top of the main script and make sure all your settings match.  Then I think you'll have the last of it worked out!

Scott

PS:  You seem to also be missing the images from the archive and you need to setup the cloadbase image that is downloaded separately.  All the information on where to get/put these are in the instructions included with the archive if you downloaded it from my site.
« Last Edit: January 08, 2011, 09:51:29 AM by WebsterWeather »
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #92 on: January 08, 2011, 09:46:04 AM »
snow questions.
I just added .1 inch snow today in WD. The current conditions dashboard http://cvweather.org/index.php initially shows 0.10 in snow (correct amt.) , then flashes green (update?) and displays 0.12 inches?
It is correct in my snow detail page here:  http://cvweather.org/wxsnowdetail.php
#2, do you empty the snow out of rain collector if measuring snow manually?
Thanks
Ed

Ed,  I have the problem too.  The java is converting the snow reading from cm to inches and there is a rounding issue there.  It only seems to effect the java updates.  I wish I knew java programming better and could make that round better but I'm not a java guy.  Sorry

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline Torjan

  • Member
  • *
  • Posts: 30
    • regnskvett
Re: Alternative-Dashboard Version 6.02
« Reply #93 on: January 08, 2011, 04:18:22 PM »
dashboard will not update the lunar phase. stopped when it was Evening Crescent.
it's okay in my almanac.

Any idea what might be wrong.

Torjan

see that all have the same problem.
edit! I think it's an ajax stuff
« Last Edit: January 08, 2011, 06:49:30 PM by Torjan »

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: Alternative-Dashboard Version 6.02
« Reply #94 on: January 08, 2011, 06:57:45 PM »
Same issue here, the dashboard is stuck at 1% for me, and should be at 19%. Here's what my test tag is showing, which is correct.

$moonage =  'Moon age: 4 days,6 hours,29 minutes,19%';

Im running the 5.03 dashboard.
"Nature can do without man, but man cannot do without nature."


Software: WeatherDisplay
Hardware: Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam + Soil temp + Soil Moisture

Offline mayo9999

  • Senior Member
  • **
  • Posts: 67
    • Lake Mary Weather
Re: Alternative-Dashboard Version 6.02
« Reply #95 on: January 08, 2011, 08:38:02 PM »
It looks like I have a problem with time/date in some areas of the dasboard and have not been able to figure out where the problem is.
Scott,

I'm seeing the same issues with date formats.
     http://www.lakemaryweather.com/wdl/wxindex6.php (work in progress)
I perfer them to be MM/DD/YYYY
(Wind Chill, Almanac, and Station All Time Records)


Like I mentioned in the previous note about that, the problem is in the conversion of dates and the java script.  I have not been able to figure out the problem.  I'm not a java person and there are so many formats for the dates.  Perhaps Ken would be willing to look at the code and see if he can see why only certain dates will not convert correctly.

Scott

Scott,

1> I was asking about "Wind Chill", "Almanac", and "Station All Time Records".  You have "Wind Chill" and "Station All Time Records" on your Webster Weather home page as "Jan-15-2009".  My issue was they displayed as "13-Nov-2009" and I wanted them to display like yours, or better yet as "11/13/2009".   This is definitely different with what you said in an early note about date conversions and java script.

I have fixed this on my own by changing my setting.php variable:
Code: [Select]
$SITE['dateOnlyFormat'] = 'm/d/Y';
2> I do agree "Almanac" data is a definitely a JS issue.  I see in my testtags.php file:
Code: [Select]
$nextnewmoon =  '02:31 UTC 3 February 2011'; // Date/time of the next new moon for next month
$fullmoon =  '21:22 UTC 19 January 2011'; // Date/time of the next/last full moon
$fullmoondate =  ' 19 January 2011'; // Date of the next/last full moon (date only)
etc.

I also saw in my WD "Control Panel > Solar/Lunar & Coordinates" my "SUN/MOON Set and Rise Times" had:
           First Quarter  12 January 2011
           Full moon  19 January 2011
           Last Quarter26 January 2011
           New moon 3 February 2011
           Moon age: 3 days,13 hours,34 minutes,17%
           Hours of possible daylight today was 10:25

I noticed the date/time on my wxastronomy.php page was formatted exactly like I wanted it.  Digging into the code on that PHP page I borrowed Kevin's or Ken's "$indate" java script function:
Code: [Select]
function get_localdate ( $indate) {
  global $SITE;
  $EnglishMonths = array(
   'January','February','March','April','May','June',
   'July','August','September','October','November','December');

// Change '02:33 UTC 4 September 2007' to
//        specified date by
  $timeFormat = 'D, d-M-Y h:ia T';  // Fri, 31-Mar-2006 14:03 TZone
//  $timeFormat = 'h:ia T D, d-M-Y ';  // Fri, 31-Mar-2006 14:03 TZone
  if(isset($SITE['timeFormat'])) { $timeFormat = $SITE['timeFormat']; }

  $utcstr = substr($indate,10) . " " . substr($indate,0,9); // move formats

  if (isset($SITE['monthNames'])) {
    // convert TO English for strtotime()
    echo "<!-- before utcstr='$utcstr' -->\n";
foreach ($EnglishMonths as $i => $monthEN) {
   $utcstr = preg_replace('|'.$SITE['monthNames'][$i].'|i',$monthEN,$utcstr);
}
    echo "<!-- after utcstr='$utcstr' -->\n";
  }
  $utc = strtotime($utcstr);
  $lclstr = date($timeFormat,$utc);
  if (isset($SITE['monthNames'])) {
    // convert From English for return (will only work if long-format month names in $timeFormat)
    echo "<!-- before lclstr='$lclstr' -->\n";
foreach ($EnglishMonths as $i => $monthEN) {
   $lclstr = preg_replace('|'.$monthEN.'|i',$SITE['monthNames'][$i],$lclstr);
}
    echo "<!-- after lclstr='$lclstr' -->\n";
  }
  return ($lclstr);
}
By adding it to the end of my ajax-dashboard6.php file, and updating your two lines in "Almanac" section with:
Code: [Select]
From:
<?php echo $fullmoondate?>
To:
<?php echo get_localdate($fullmoondate); ?>
From:
<?php echo $nextnewmoon?>
To:
<?php echo get_localdate($nextnewmoon); ?>
Plus modifiying setting.php
Code: [Select]
$SITE['timeFormat'] = 'm/d/Y g:ia';
it's now perfect (for my tastes).  "Full Moon:" now shows "01/20/2011 3:11am" and New Moon:" shows "02/02/2011 9:31pm".
   http://www.lakemaryweather.com/wdl/wxindex6.php

Hope this helps you and others with this issue.

Next to fix:
   "UV Summary/Forecast" date format
   "Moon" at 1% and it should read 20%, as my current Webster Alternative-Dashboard Version 4.20 does.
Jerry-
http://www.lakemaryweather.com
CWOP = DW3228
WU    = KFLLAKEM7

Davis 6153 Wireless Vantage Pro2 / 6316 Wireless Weather Envoy
Weatherlink * VirtualIP * StartWatch * Windows Display * Windows Display Live

I also host my own CentOS (Linux) Apache WEB Server

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative-Dashboard Version 6.02
« Reply #96 on: January 08, 2011, 10:29:13 PM »
The moon phase issue appears to only effect those using the ajaxWDwx.js version 9.xx code (or the modified 9.xx code included with version 6 of the alt-dashboard.)  Rainer changed the Moon Phase to a new calculation method of displaying the phase that seems to have gone wrong starting in 2011.  Since I have no idea what that code is, I''ll give it a bit of time and see if he comes out with a patch otherwise I'll re-write the old version back into the code to fix it.  Sorry.

Scott
www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.

Offline BfdWx

  • WxElement panel
  • Senior Contributor
  • *****
  • Posts: 255
    • Branford Weather
Re: Alternative-Dashboard Version 6.02
« Reply #97 on: January 08, 2011, 10:37:59 PM »
Quote
I''ll give it a bit of time and see if he comes out with a patch

As of now his site is not working properly either (as well as the moonphase).....http://www.bashewa.com/

Offline mayo9999

  • Senior Member
  • **
  • Posts: 67
    • Lake Mary Weather
Re: Alternative-Dashboard Version 6.02
« Reply #98 on: January 08, 2011, 10:44:08 PM »
The moon phase issue appears to only effect those using the ajaxWDwx.js version 9.xx code (or the modified 9.xx code included with version 6 of the alt-dashboard.)  Rainer changed the Moon Phase to a new calculation method of displaying the phase that seems to have gone wrong starting in 2011.  Since I have no idea what that code is, I''ll give it a bit of time and see if he comes out with a patch otherwise I'll re-write the old version back into the code to fix it.  Sorry.

Scott
Scott,

Not convinced on the issue being an ajaxWDWX.js 9.xx issue....  I posted this on a weather-watch.com topic earlier this evening:

My Webster Version 5.03 & Version 6.02 Alternate Dashboard pages show 1%; however my Version 4.20 shows 19%.  I'm using Webster's 3.0 ajaxWDwx.js, a revised version of 2.19, so it most likely in the ajax-dashboard.php not ajaxWDwx.js.  I've been having some date format and other issues in 6.02 and it's till work in progress before it becomes my default page.
           Full v.4.20 = http://www.lakemaryweather.com/wdl/wxindex4.php
           Base Version 5.03 = http://www.lakemaryweather.com/wdl/wxindex5.php
           Work in progress v6.0.2 = http://www.lakemaryweather.com/wdl/wxindex4.php
You might want to ask Scott on http://www.wxforum.net as he no longer uses this forum weather-watch.com :(

I'm still running a modified version of your 4.20 Alternative Dashboard as my sites home page, and have no issue with "Moon" setting.  Currently it shows "Waxing Crescent 21% Illuminated".  I might be able to find some time digging into it tomorrow, I really want to but v6.02 as "Home" page as soon as I can can.
Jerry-
http://www.lakemaryweather.com
CWOP = DW3228
WU    = KFLLAKEM7

Davis 6153 Wireless Vantage Pro2 / 6316 Wireless Weather Envoy
Weatherlink * VirtualIP * StartWatch * Windows Display * Windows Display Live

I also host my own CentOS (Linux) Apache WEB Server

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: Alternative-Dashboard Version 6.02
« Reply #99 on: January 08, 2011, 10:51:13 PM »
Thanks Scott.. No hurry here.
"Nature can do without man, but man cannot do without nature."


Software: WeatherDisplay
Hardware: Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam + Soil temp + Soil Moisture

 

anything