Author Topic: MOBILE Dashboard Ver 1.91 RELEASED  (Read 60990 times)

0 Members and 1 Guest are viewing this topic.

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: MOBILE Dashboard Ver 1.90 RELEASED
« Reply #250 on: February 11, 2014, 08:26:34 PM »
You are correct, the button on the radar page should bring you back to the MAIN site (not the mobile site).  The radar page should span a new browser page so you just close it to return to the first mobile page.  However, the "show Full Site" button is just reloading the same page.  I'll get that fixed.

Scott


Hi,

Just updated to 1.90 mobile dashboard along with 6.92 alternate dashboard. All is working well with the exception of the radar page in the mobile dashboard. When I click on the radar picture it goes to the correct radar but when I click on go to the full site button on the bottom of the page it returns me to the same page. The same button on the mobile alternate dashboard page does take me to my full site. Did I miss a setting?

lebanontnwx.org/WWL-mobile.php


Please advise.

Thanks.

Bob
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 n9mfk9

  • Contributor
  • ***
  • Posts: 112
Re: MOBILE Dashboard Ver 1.90 RELEASED
« Reply #251 on: February 11, 2014, 08:31:07 PM »
Hi Scott, if you look at the code you had 9
Beau

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: MOBILE Dashboard Ver 1.90 RELEASED
« Reply #252 on: February 11, 2014, 08:48:08 PM »
Thanks Scott I wait for the update.

Bob
Bob
KK4QXH

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: MOBILE Dashboard Ver 1.90 RELEASED
« Reply #253 on: February 11, 2014, 08:54:46 PM »
Version 1.91 is now released.  This minor update fixes the link in the radar page back to the main site and fixes the Station Starting date display on the main mobile dashboard page.  Remember to change the footnote at the top of each of the two .php files to reflect your wording!

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 tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #254 on: February 12, 2014, 01:59:48 PM »
Hi Scott,

Thanks that solved the issue.

Bob
Bob
KK4QXH

Offline jahuff

  • Member
  • *
  • Posts: 46
    • johnsnhweather
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #255 on: February 13, 2014, 08:27:14 AM »
Hi Scott,

I have 1.91 installed and it seems to be running good. I did notice that "No warnings, watches, or advisories  " alert box it not updating. You Can see it at http://www.johnsnhweather.com/WWL-mobile.php

The alert box is working on my site at http://www.johnsnhweather.com

Thanks,

John

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #256 on: February 15, 2014, 03:05:17 PM »
John

You are likely using a different alert box method then I am.  Copy and paste the alert box code from your index.php file into the mobile code and you'll be good to go!

Scott


Hi Scott,

I have 1.91 installed and it seems to be running good. I did notice that "No warnings, watches, or advisories  " alert box it not updating. You Can see it at http://www.johnsnhweather.com/WWL-mobile.php

The alert box is working on my site at http://www.johnsnhweather.com

Thanks,

John
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: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #257 on: February 15, 2014, 03:06:37 PM »
Bob,

Murphy's Law states that Scott will never post a bug free update on his first attempt no matter how long he tries!  ](*,)

Scott


Hi Scott,

Thanks that solved the issue.

Bob
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 tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #258 on: February 15, 2014, 08:01:59 PM »
Scott,

Do not be too hard on yourself.  :-) I certainly cannot come close to coding and envisioning how the webpage should look. You have a talent that many of us respect. I certainly appreciate you sharing and your assistance when challenges arise!

Thanks again.

Bob
Bob
KK4QXH

Offline jahuff

  • Member
  • *
  • Posts: 46
    • johnsnhweather
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #259 on: February 16, 2014, 08:24:22 AM »
Hi Scott,

Code: [Select]
</style>
<link rel="stylesheet" type="text/css" href="SWSPalerts.css" media="screen" title="screen" />
<meta name="Robots" content="index,nofollow" />
</head>
<body>
<!-- SWSP alert box update -->
<?php include_once("SWSP-config.php"); // for settings
// update SWSP alert box if needed
if($useAlertBox) { // if set to true, do the following
$SWSPtime date("U"); // current time
$SWSPabTime date("U",filemtime($dataFolder.'/SWSPdatacache.php')); // cache file time
if($SWSPtime $SWSPabTime $SWSPcacheTime) { // IF cache time expired, do the following
include("SWSP-core.php"); // update the cache file
echo "<!-- SWSPalertBox: Cache file updated. -->\n";
}
else {
echo 
"<!-- SWSPalertBox: Cache file has not expired. -->\n";
}
?>

<!-- End of SWSP alert box update -->

<?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">

<div align="center">


<div class="column-dark">
<div align="center">
  <div class="column-dark"><center><span style="color:#000000">
<br/>
<font size="4"><strong>Current Weather Conditions in Pittsburg, New Hampshire
<span style="color:#FF0000">(LIVE)</span></font></strong><br/>
<span style="color:#000000"><font size="1">Station Latitude: 45:06:21 N  Longitude: 071:17:25 W  Altitude: 2030 ft.</font></span><br/>
<span style="color:#000000"><font size="2">Over 2,220,000 page visits since being established: October 1, 2005</font></span>
</div>


<?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 align="center">
<img src="<?php echo $SITE['imagesDir']; ?>spacer.gif" alt="spacer"
height="2" width="730" style="padding:0; margin:0; border: none" />
<div align="center">
<?php if(isset($SITE['ajaxDashboard']) and file_exists($SITE['ajaxDashboard']))
 { include_once("ajax-dashboard692.php");
   } 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"; }
}?>


I am very confused about which code I should use. I think over the years I may included two sets of code in my index page. I have included  part of my index page. Could you please advise me which code I should use. I can't get the message "No alerts" to change either. It use to say "No alerts for Eastern Vermont, New Hampshire, and Western Maine" that makes me think I'm using the wrong code.

Thanks very much.

John

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #260 on: February 16, 2014, 05:27:24 PM »
John,

Yes looks like you do have two different ones there!  You may be better of removing both and then downloading the one you like best and installing from scratch again. 

Scott


Hi Scott,

Code: [Select]
</style>
<link rel="stylesheet" type="text/css" href="SWSPalerts.css" media="screen" title="screen" />
<meta name="Robots" content="index,nofollow" />
</head>
<body>
<!-- SWSP alert box update -->
<?php include_once("SWSP-config.php"); // for settings
// update SWSP alert box if needed
if($useAlertBox) { // if set to true, do the following
$SWSPtime date("U"); // current time
$SWSPabTime date("U",filemtime($dataFolder.'/SWSPdatacache.php')); // cache file time
if($SWSPtime $SWSPabTime $SWSPcacheTime) { // IF cache time expired, do the following
include("SWSP-core.php"); // update the cache file
echo "<!-- SWSPalertBox: Cache file updated. -->\n";
}
else {
echo 
"<!-- SWSPalertBox: Cache file has not expired. -->\n";
}
?>

<!-- End of SWSP alert box update -->

<?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">

<div align="center">


<div class="column-dark">
<div align="center">
  <div class="column-dark"><center><span style="color:#000000">
<br/>
<font size="4"><strong>Current Weather Conditions in Pittsburg, New Hampshire
<span style="color:#FF0000">(LIVE)</span></font></strong><br/>
<span style="color:#000000"><font size="1">Station Latitude: 45:06:21 N  Longitude: 071:17:25 W  Altitude: 2030 ft.</font></span><br/>
<span style="color:#000000"><font size="2">Over 2,220,000 page visits since being established: October 1, 2005</font></span>
</div>


<?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 align="center">
<img src="<?php echo $SITE['imagesDir']; ?>spacer.gif" alt="spacer"
height="2" width="730" style="padding:0; margin:0; border: none" />
<div align="center">
<?php if(isset($SITE['ajaxDashboard']) and file_exists($SITE['ajaxDashboard']))
 { include_once("ajax-dashboard692.php");
   } 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"; }
}?>


I am very confused about which code I should use. I think over the years I may included two sets of code in my index page. I have included  part of my index page. Could you please advise me which code I should use. I can't get the message "No alerts" to change either. It use to say "No alerts for Eastern Vermont, New Hampshire, and Western Maine" that makes me think I'm using the wrong code.

Thanks very much.

John
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: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #261 on: February 16, 2014, 05:29:36 PM »
Thanks Bob!

Wish I felt that way today, just screwed up my code somehow and can't figure out what I did!  Damn!

Scott


Scott,

Do not be too hard on yourself.  :-) I certainly cannot come close to coding and envisioning how the webpage should look. You have a talent that many of us respect. I certainly appreciate you sharing and your assistance when challenges arise!

Thanks again.

Bob
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 jahuff

  • Member
  • *
  • Posts: 46
    • johnsnhweather
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #262 on: February 16, 2014, 09:23:54 PM »
Thanks Scott,

I'm in the process of doing that.

John

Offline jahuff

  • Member
  • *
  • Posts: 46
    • johnsnhweather
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #263 on: February 17, 2014, 08:33:50 AM »
Hi Scott,

I have that all straightened out and the Mobil app is working fine.

I'm all set.  :lol:

Thanks so much.

John

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #264 on: February 17, 2014, 11:15:04 PM »
Hi Scott,

Have read the other posts but 'think' this might be different.

Am currently showing 5 Fire Weather Watch warnings on the main page, listed by county name. On the mobile main page it shows only one 'Fire Weather Watch', but no county names. Tapping that brings up a page with 5 warnings, but they are listed by county code rather than name; e.g., AZC003 rather than Cochise County. Tapping that goes to the actual alert page where the alert extends completely off the right side of the screen.

Thoughts appreciated.
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: MOBILE Dashboard Ver 1.91 RELEASED
« Reply #265 on: March 08, 2014, 12:36:30 PM »
Hi Scott,

Have read the other posts but 'think' this might be different.

Am currently showing 5 Fire Weather Watch warnings on the main page, listed by county name. On the mobile main page it shows only one 'Fire Weather Watch', but no county names. Tapping that brings up a page with 5 warnings, but they are listed by county code rather than name; e.g., AZC003 rather than Cochise County. Tapping that goes to the actual alert page where the alert extends completely off the right side of the screen.

Thoughts appreciated.

Not sure but I think this would be because your main code is different then the one I'm using to show the warnings in mine.  I suggest removing the code for the warnings out of mine and adding in your code. 

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.

 

anything