Author Topic: Alternative Dashboard version 6.95 Released  (Read 85849 times)

0 Members and 1 Guest are viewing this topic.

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2295
    • CNYWeather
Re: Alternative Dashboard version 6.94 Released
« Reply #525 on: November 13, 2015, 04:46:17 PM »
You do have ajax-dashboard694.php installed. If I go to alt-ajax-dashboard6.php I see the new dashboard.

In your index.php do you have <?php include ("ajax-dashboard6.php"); ?> or is it <?php include ("ajax-dashboard.php"); ?>
Tony




Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Alternative Dashboard version 6.94 Released
« Reply #526 on: November 13, 2015, 04:54:38 PM »
You do have ajax-dashboard694.php installed. If I go to alt-ajax-dashboard6.php I see the new dashboard.

In your index.php do you have <?php include ("ajax-dashboard6.php"); ?> or is it <?php include ("ajax-dashboard.php"); ?>

Thanks for your replay. To make it simple here is my index.php

$TITLE= $SITE['organ'] . " - Home";
$showGizmo = true;  // set to false to exclude the gizmo
include("top.php");
############################################################################
?>
</head>
<body>
<?php
############################################################################
include("header.php");
############################################################################
include("menubar.php");
############################################################################
//
$useTopWarning = true;  // set to true to use only the rss-top-warning script
//                         set to false to use the rss-advisory script instead
?>

<div id="main-copy">
   
<?php // insert desired warning box at top of page

  if(isset($SITE['NWSalertsCodes']) and count($SITE['NWSalertsCodes']) > 0) {
   // Add nws-alerts alert box cache file
   include_once("nws-alerts-config.php");
   include($cacheFileDir.$aboxFileName);
   // Insert nws-alerts alert box
   echo $alertBox;
   ?>
<script type="text/javascript" src="nws-alertmap.js"></script>
<?php
    
  } else { // use atom scripts of choice
   if ($useTopWarning) {
     include_once("atom-top-warning.php");
   } else {
    print "      <div class=\"advisoryBox\">\n";
    $_REQUEST['inc'] = 'y';
    $_REQUEST['summary'] = 'Y';
    include_once("atom-advisory.php");
    print "      </div>\n";
   }
  }
?>
<div class="column-dark">
<div align="center">
  <br/>
  <table width="99%" style="border: none">
  <tr><td align="center">
    <img src="http://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_rd_anim.gif" alt="Regional Radar" width="320" height="240" style="margin: 0px; padding: 0px; border: none" />
  </td>
  <td align="center">
    <img src="http://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_ir_anim.gif" alt="Regional Infrared Satellite" 
      width="320" height="240" style="margin: 0px; padding: 0px; border: none" />
  </td>
  </tr>
  <tr><td colspan="2" align="center"><small>Radar/Satellite images courtesy of <a href="http://www.weatherunderground.com">Weather Underground</a>.</small></td></tr>
  </table>
   <img src="<?php echo $SITE['imagesDir']; ?>spacer.gif" alt="spacer"
   height="2" width="620" style="padding:0; margin:0; border: none" />
   <div align="center">
   <?php if(isset($SITE['ajaxDashboard']) and file_exists($SITE['ajaxDashboard']))
    { include_once($SITE['ajaxDashboard']);
      } else {
      print "<p>&nbsp;</p>\n";
      print "<p>&nbsp;</p>\n";
      print "<p>Note: ajax-dashboard not included since weather station not yet specified.</p>\n";
        for ($i=0;$i<5;$i++) { print "<p>&nbsp;</p>\n"; }
   }?>
    </div>
</div><!-- end center -->

</div><!-- end column-dark -->

</div><!-- end main-copy -->

<?php
############################################################################
include("footer.php");
############################################################################
# End of Page
######################################

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #527 on: November 14, 2015, 12:30:30 AM »
Look in 'Settings-weather.php' for '$SITE['ajaxDashboard']' and change accordingly.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Alternative Dashboard version 6.94 Released
« Reply #528 on: November 14, 2015, 11:03:58 AM »
Look in 'Settings-weather.php' for '$SITE['ajaxDashboard']' and change accordingly.

Thanks. It says do not change these settings? When you say change according what are you referring to?

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #529 on: November 14, 2015, 11:12:48 AM »
You're modifying the template, therefore you MUST change this setting from 'ajax-dashboard.php' to 'ajax-dashboard6.php'.  After all, the dashboard you want to use is 'ajax-dashboard6.php', is it not?
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Alternative Dashboard version 6.94 Released
« Reply #530 on: November 14, 2015, 11:28:56 AM »
Yes. And I finally got it changed just prior to your last reply. Thanks!

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #531 on: November 14, 2015, 11:44:32 AM »
Yes. And I finally got it changed just prior to your last reply. Thanks!
I see you're up and running with 'ajax-dashboard6'.  Excellent!
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Alternative Dashboard version 6.94 Released
« Reply #532 on: November 19, 2015, 04:42:58 PM »
I managed to uninstall and the reinstall the dashboard and got much better results after doing a lot of reading on this forum. However, I still have 3 issues.

1) The fire danger I con will not load. Well I say that, but i does very briefly appear when I refresh the webpage/ After that is stays as seen in the image.

2) I have no clue how I ended up with 2 Donate Buttons. Oddly, the top button is for our hero, Burnsville Weather LIVE. The bottom is set up for me as it should be. Where do I find the code for the top one and how to get rid of it?

3) The Clod Base graphic. as you can see it does show cloud height but I have read up and still can't figure why it will not show the graphic for me?

http://dfweathergeek.com/index.php
Thanks
TXWEathergeek
« Last Edit: November 19, 2015, 04:56:47 PM by txweathergeek »

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #533 on: November 19, 2015, 07:44:21 PM »
Hi,

1.  Check your AltAjaxDashboardConfig6.php file for the following:

$FireImage   = 'jpg';          // Set to match the images you have for the Fire Index (jpg, gif, png)

Make sure this is set to jpg. This could explain the disappearance of the icon.

3.  The cloud-base.php file is missing.

Hope this helps,

John
GR2AE, GR3, Cumulus

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Alternative Dashboard version 6.94 Released
« Reply #534 on: November 20, 2015, 09:50:29 AM »
Hi,

1.  Check your AltAjaxDashboardConfig6.php file for the following:

$FireImage   = 'jpg';          // Set to match the images you have for the Fire Index (jpg, gif, png)

Make sure this is set to jpg. This could explain the disappearance of the icon.

3.  The cloud-base.php file is missing.

Hope this helps,

John


Thanks for your input. I already had it set at JPG.

I added the loud-base.php file but no changes.

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #535 on: November 20, 2015, 01:02:26 PM »
...
I added the loud-base.php file but no changes.
This is from the initial comments in 'ajaxWDwx3.js':
Code: [Select]
SCRIPT DOWNLOADS:                                                            |
|       Cloud base graphic:  http://www.bashewa.com/download-cloud-base.php    |
Was this your source?  Did you upload the backgrounds and refer to their location in 'cloud-base.php'?

When 'cloud-base.php' is properly set up and working, you can enter 'http://(your web site)/cloud-base.php' and see the current graphic.  I can see your 'cloud-base.php?sce=view', but no graphic.
« Last Edit: November 20, 2015, 01:11:38 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Alternative Dashboard version 6.94 Released
« Reply #536 on: November 20, 2015, 02:05:29 PM »
...
I added the loud-base.php file but no changes.
This is from the initial comments in 'ajaxWDwx3.js':
Code: [Select]
SCRIPT DOWNLOADS:                                                            |
|       Cloud base graphic:  http://www.bashewa.com/download-cloud-base.php    |
Was this your source?  Did you upload the backgrounds and refer to their location in 'cloud-base.php'?

When 'cloud-base.php' is properly set up and working, you can enter 'http://(your web site)/cloud-base.php' and see the current graphic.  I can see your 'cloud-base.php?sce=view', but no graphic.

Thanks for your help but you lost me? "upload the back grounds"? Nothing in the Alt Dashboard instructions says anything about that? Or maybe I'm just missing it (could be). I just need a step by step (basic) walk thru to get this to work. Thanks a bunch!

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #537 on: November 20, 2015, 05:29:30 PM »
...
I added the loud-base.php file but no changes.
This is from the initial comments in 'ajaxWDwx3.js':
Code: [Select]
SCRIPT DOWNLOADS:                                                            |
|       Cloud base graphic:  http://www.bashewa.com/download-cloud-base.php    |
Was this your source?  Did you upload the backgrounds and refer to their location in 'cloud-base.php'?

When 'cloud-base.php' is properly set up and working, you can enter 'http://(your web site)/cloud-base.php' and see the current graphic.  I can see your 'cloud-base.php?sce=view', but no graphic.

Thanks for your help but you lost me? "upload the back grounds"? Nothing in the Alt Dashboard instructions says anything about that? Or maybe I'm just missing it (could be). I just need a step by step (basic) walk thru to get this to work. Thanks a bunch!
The help is here along with the necessary files: http://www.bashewa.com/download-cloud-base.php  Please note that this is the url I gave you above.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline RickNY

  • Contributor
  • ***
  • Posts: 116
    • College Hills Weather - Farmingville, NY
Re: Alternative Dashboard version 6.94 Released
« Reply #538 on: November 26, 2015, 10:40:30 AM »
I apologize if this was covered earlier in this thread.. But there are apparently some formatting issues in WD between b81 and the versions that have been released since then.. I bit the bullet and updated to b302 since the WU almanac code in b81 no longer works..

Anyway -- is there an easy way to correct the formatting issue in the dates for the Full Moon and New Moon with Alt Dashboard 6.94?

The full site is at http://www.indigopc.com


« Last Edit: November 26, 2015, 10:43:29 AM by RickNY »

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #539 on: November 26, 2015, 10:54:40 AM »
I apologize if this was covered earlier in this thread.. But there are apparently some formatting issues in WD between b81 and the versions that have been released since then.. I bit the bullet and updated to b302 since the WU almanac code in b81 no longer works..

Anyway -- is there an easy way to correct the formatting issue in the dates for the Full Moon and New Moon with Alt Dashboard 6.94?

The full site is at http://www.indigopc.com
The 'rdate()' function call for those entries needs to be modified since the formatting changed in versions after b81.  See the 'rdate()' changes here.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline RickNY

  • Contributor
  • ***
  • Posts: 116
    • College Hills Weather - Farmingville, NY
Re: Alternative Dashboard version 6.94 Released
« Reply #540 on: November 26, 2015, 11:06:32 AM »
The 'rdate()' function call for those entries needs to be modified since the formatting changed in versions after b81.  See the 'rdate()' changes here.

Excellent... Fixed it now.. Thank you!

Offline Kylo

  • Member
  • *
  • Posts: 32
    • Private Wetterstation Braunschweig
Re: Alternative Dashboard version 6.94 Released
« Reply #541 on: December 11, 2015, 05:12:24 AM »
Hello,
Here is my solution for that.
Code: [Select]
<tr>
                <td class="data1"><?php langtrans('Full Moon'); ?>:</td>
                <td class="data1" nowrap="nowrap" style="text-align: right;">
                    <?php echo $fullmoondate?>
                </td>
            </tr>
            <tr>
                <td class="data2"><?php langtrans('New Moon'); ?>:</td>
                <td class="data2" nowrap="nowrap" style="text-align: right;">
                    <?php $nnmlen =  strlen($nextnewmoon) - 9?>
                    <?php echo substr($nextnewmoon,20); ?><br />
                   
                </td>
            </tr>
<?php // End Almanac  ?>
Looks like:
VP2 Pro Plus Aktiv, TOA Blitzortung System RED, NOAA WX-Sat, Weather Display


Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #542 on: January 04, 2016, 08:11:25 PM »
In the older config files for the alt dashboards, it had a spot to put in start and stop months to show the snow area on your dashboard like this..

Code: [Select]
$snowstart = '10';             // Starting month to display snow information (1-12) Default is 11 (0=No Snow)
$snowend   = '3';             // Ending month to stop displaying snow information (1-12) Default is 5 (0=No Snow)


But in version 6.94 config file, it seems its not there anymore. Did this feature turn into manual? If so that's fine.
"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 gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #543 on: January 05, 2016, 12:10:44 AM »
In the older config files for the alt dashboards, it had a spot to put in start and stop months to show the snow area on your dashboard like this..

Code: [Select]
$snowstart = '10';             // Starting month to display snow information (1-12) Default is 11 (0=No Snow)
$snowend   = '3';             // Ending month to stop displaying snow information (1-12) Default is 5 (0=No Snow)


But in version 6.94 config file, it seems its not there anymore. Did this feature turn into manual? If so that's fine.
The Snow display in version 6.94 is controlled by the AltAjaxDashboardConfig6.php variable '$S3C2', which also controls the display of Tides and Lightning.  The $snowstart and $snowend variables aren't needed.  I think Scott felt that lightning and snow were mutually exclusive, which oddly hasn't been the case so far this Winter.

I don't measure snow because I have no place where the measurements would be reliable due to prevailing winds and terrain.  Because I use a heated rain gauge I have a function that substitutes 'Precip.' for 'Rain' in much of my ajax-dashboard 6.94 during what I have defined as appropriate months.  The dashboard code I've added:
Code: [Select]
//Determine use 'Rain' or 'Precip' based on $heatedRainGauge
$precipSTR = 'Rain';
if ( $heatedRainGauge ) {
for ($i=0; $i<count($winterMonths); $i++) {
if ( $winterMonths[$i] == substr($monthname, 0, 3) ) {
$precipSTR = 'Precip';
break;
}
}
}
and in 'AltAjaxDashboardConfig6.php':
Code: [Select]
$heatedRainGauge = true; // Use Precip instead of Rain during Winter Months - Useful for heated rain gauges.
$winterMonths = array('Nov','Dec','Jan','Feb','Mar'); // Define Winter Months in preferred language
I've also added logic to use 'Snowmelt' where appropriate instead of current or Today's 'Rain' when conditions are '$freezing'.  I can share this if anyone is interested.

When you use '$S3C2' to control the snow display Scott has included appropriate logic to do so:
Code: [Select]
if (($useSNOW) and ($snownow > 0))
    $S3C2 = $S3C2 + 5;  //Snow is on the ground
with
Code: [Select]
<?php if (($S3C2 == 1) or ($S3C2 == 6) or ($S3C2 == 9)) {  //  Show Snow ?>
                <td class="datahead"><?php langtrans('Snow'); ?><sup>3</sup></td>
                            <?php // end $freezing  ---------------------------------------- ?>
and the payoff:
Code: [Select]
<?php if (($S3C2 == 1) or ($S3C2 == 6) or ($S3C2 == 9)) {  //  Show Snow ?>
                        <tr>
                            <td class="data1"><?php langtrans('Today'); ?>: </td>
                    <td class="data1" style="text-align: right;">
                                <span class="ajax" id="ajaxsnowToday2">
                        <?php printf("%8.2f"$snowtoday);
                        echo 
$uomSnow?>
</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="data1"><?php langtrans('Yesterday'); ?>:</td>
                    <td class="data1" style="text-align: right;">
                                <span class="convSnow"><?php printf("%8.2f"$snowyesterday);
                    echo 
$uomSnow?>
</span>
                            </td>
                        </tr>
                        <tr>
                    <td class="data1" nowrap="nowrap"><?php echo substr($monthname,3) . " Snow:" ?> </td>
                    <td class="data1" nowrap="nowrap" style="text-align: right;">
                        <?php echo gen_difference(strip_units($snowmonth), $avgmonthsnow1'''Over %s' $uomSnow ' for the month''Under %s' $uomSnow ' for the month'); ?>
                        <span class="ajax" id="ajaxsnowMonth"><?php printf("%8.2f"$snowmonth); echo $uomSnow?></span>
                            </td>
                        </tr>
                        <tr>
                    <td class="data1" nowrap="nowrap"><?php echo substr($monthname,3) . " Avg:"?></td>
                    <td class="data1" nowrap="nowrap" style="text-align: right;" >
                        <span class="convSnow"><?php printf("%8.2f"$avgmonthsnow1); echo $uomSnow?></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="data1" nowrap="nowrap"><?php langtrans('Diff from Avg'); ?>:</td>
                    <td class="data1" style="text-align: right;">
                        <span class="convSnow"><?php printf("%8.2f"strip_units($sndiff)); echo $uomSnow?></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="data1"><?php langtrans('Season Total'); ?>:<sup>2</sup></td>
                    <td class="data1" style="text-align: right;">
                        <span class="ajax" id="ajaxsnowSeason"><?php printf("%8.2f"$snowseason); echo $uomSnow?></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="data1"><?php langtrans('Snow Depth'); ?>: </td>
                    <td class="data1" style="text-align: right;">
                                <span class="ajax" id="ajaxsnowDepth">
                        <?php printf("%8.2f"$snownow); echo $uomSnow?></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="data1" colspan="2" style="text-align: center;">
                        <?php echo "$snowdaysthismonth snow day";
                        
$t = ($snowdaysthismonth != 1) ? 's' '';
    print 
"$t in " $monthname;
    
?>

                            </td>
                        </tr>
                        <tr>
                            <td class="data1" colspan="2" style="text-align: center;">
                                    <?php
                                    
echo "$snowdaysthisyear snow day";
                        
$t = ($snowdaysthisyear != 1) ? 's' '';
                        print 
"$t this season."?>
<sup>2</sup>
                            </td>
                        </tr>
                        <tr>
                            <td class="data1" colspan="2" style="text-align: center;">
                                    <?php echo "First Snow of Season:"?><br />
                        <?php $_array split_hash_date($firstsnowseason?>
                        <?php echo rdate($RecDateF$_array[1], $_array[0], $_array[2]); ?>
                            </td>
                        </tr>
                        <tr>
                            <td class="data2" colspan="2" style="text-align: center;">
    <?php echo "Average 1st Snow:"?><br />
    <?php echo $firstsnowseasonav?>
                            </td>               
                        </tr>
<?php // end $useSNOW  ----------------------------------------  ?>
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: Alternative Dashboard version 6.94 Released
« Reply #544 on: January 05, 2016, 01:27:37 PM »
Thanks for the info... So I just need to remember to remove the snow section once the snow has stopped falling.
"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 BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: Alternative Dashboard version 6.95 Released
« Reply #545 on: January 10, 2016, 08:07:45 PM »
Ok, I finally upgrade my Weather Display to the latest builds from Weather Display.  Because of the changes in the new versions I had to make some changes to the dashboard (all of which are already laid out in this thread).  If you have already made the changes for the date issue, you do NOT need to update. 

Version 6.94 is for Weather Display 10.37R Build 81 or less.  There will be no more updates for that version.

Thanks everyone.

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 atika01

  • Member
  • *
  • Posts: 10
Re: Alternative Dashboard version 6.95 Released
« Reply #546 on: March 30, 2018, 10:10:14 AM »
Unfortunately I can not download it anymore.  :sad:
Can anyone have a place where I can download version 6.95?
Thanks

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline atika01

  • Member
  • *
  • Posts: 10
Re: Alternative Dashboard version 6.95 Released
« Reply #548 on: March 30, 2018, 10:18:19 AM »
 :lol: =D&gt; =D&gt;
Thank you very much