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

0 Members and 1 Guest are viewing this topic.

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #75 on: March 06, 2011, 01:13:27 PM »
Thanks!  My next project is to add shared info from adjacent sites to the dashboard!  Sorta a mini-dashboard for sites near your location by authorized sharing of data.

Sounds interesting. Definitely looking forward to that.
John
W7JKG

Offline Silversword

  • --Stan Y.
  • Forecaster
  • *****
  • Posts: 560
    • Up Country Maui Weather
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #76 on: March 06, 2011, 01:40:14 PM »
Hi Stan,

Thanks. Have you changed your scripts with the code below or are you waiting on confirmation from Scott?

Thanks Bob

Hi Bob,

Answer is yes and no.  Yes for a response from Scott and No to my change to this script yet.  If if do a manual invoking the AtomArray.php, the Warnings and Advisories shows on the top of the page. I did add that "_once" in the script but that did not work so I changed it back to where it was. I don't know why that portion of the script does not seem to work yet.

Hi Jerry,

I have been playing around with this also.  Interesting projects being done by Scott that piggy backs the Dashboard for mobile phones.

--Stan Y.
   Maui, Hawaii
Stan Y. - KH6HHG - Maui, Hawaii
 --- Blitzortung ID: 993
 --- FlightRadar24 ID: F-PHOG1

WDL 6.05
MS Windows 7 Pro
Dell Optiplex GX280-Intel Pentium 4 CPU 3.00GHz, 4 GB RAM
Davis Vantage Pro 2+ Wireless
Webcam: Axis 211

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #77 on: March 06, 2011, 03:40:51 PM »
We are under a flash flood watch and it does not show at the top of the mobile page. In you example you show a situation where it does display. What do I need to have set to make this work. Thanks.

Bob


Bob,

I specifically used the same code as in the Ajax-Dashboard6.php so that there would be no extra configuration.  If you get it working on the main dashboard page it will function the same on the mobile page.  If you choose to use a different version of alerts, you will have to replace the code on the mobile dashboard as Stan indicated and again, if you get it working first in Version 6.xx dashboard, it will work exactly the same on Mobile.  Thats the advantage of the script.

Scott

PS: Sorry, I missed your message when I first checked today!
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: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #78 on: March 06, 2011, 04:47:57 PM »
Hi Scott,

No Problem.

It works on the main but not in the mobile. On the main it showed the FFW / FFA however nothing showed in the mobile.
My main page is http://lebanontnwx.org/

The mobile page is http://lebanontnwx.org/WWL-mobile.php

Today there is no advisories etc.

Let me know what I am doing wrong. I appreciate your help and the great scripts you have provided. =D>

Bob
Bob
KK4QXH

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #79 on: March 06, 2011, 06:10:35 PM »
Hi Scott,

No Problem.

It works on the main but not in the mobile. On the main it showed the FFW / FFA however nothing showed in the mobile.
My main page is http://lebanontnwx.org/

The mobile page is http://lebanontnwx.org/WWL-mobile.php

Today there is no advisories etc.

Let me know what I am doing wrong. I appreciate your help and the great scripts you have provided. =D>

Bob

You are using a different Atoms alert then what I have in the Mobile.  You will need to replace the code in Mobile with the code you have in your dashboard.  The version I am using can be found here:

http://www.weather-watch.com/smf/index.php/topic,40953.255.html

The first message in the thread contains a link to the download.

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: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #80 on: March 06, 2011, 07:38:12 PM »
Hi Scott,

Got it. How do I replace the current warning section towards the top of the dashboard with this new one? Excuse if my terminology is not correct but where the current warnings etc. would be replaced with this program. Please advise.
Bob
KK4QXH

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #81 on: March 06, 2011, 10:33:02 PM »
Hi Scott,

Got it. How do I replace the current warning section towards the top of the dashboard with this new one? Excuse if my terminology is not correct but where the current warnings etc. would be replaced with this program. Please advise.

I updated the instructions to include some help with that but you can find the code to replace starting at line #288 to 293. Replace that with whatever you choose to use.  That will take care of the problem!

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 Silversword

  • --Stan Y.
  • Forecaster
  • *****
  • Posts: 560
    • Up Country Maui Weather
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #82 on: March 07, 2011, 12:31:52 AM »
Hi Bob,

I replaced my top Advisory/Watch with the one that I am using on the main dashboard and it seems to be working.  Check it out at http://www.dwayneyamato.com/wx/WWL-mobile.php The replacement that I am currently using is the same as the one that I previously posted listed below


Hi Bob,

I am having the same issue.

The weather warning and advisory page for the Mobile Page is located at about lines 288 --> 293 for version 1.02.

I have to still figure it all out since it is not updating my AtomArray.php file either, for some reason.  May just have to invoke it and see what happens.

I wonder if the scrip below would work in replacing those line above.  Any thoughts, Scott??

//
$useTopWarning = false;  // set to true to use only the rss-top-warning script
//                         set to false to use the rss-advisory script instead

<?php // insert desired warning box at top of page
  if ($useTopWarning) {
   @include_once("rss-top-warning.php");
  } else {
   print "      <div class=\"advisoryBox\">\n";
   $_REQUEST['inc'] = 'y';
   $_REQUEST['summary'] = 'Y';
   @include_once("rss-advisory.php");
   print "      </div>\n";
  }
?>

Hope it works for you also.

--Stan Y.
   Maui, Hawaii
Stan Y. - KH6HHG - Maui, Hawaii
 --- Blitzortung ID: 993
 --- FlightRadar24 ID: F-PHOG1

WDL 6.05
MS Windows 7 Pro
Dell Optiplex GX280-Intel Pentium 4 CPU 3.00GHz, 4 GB RAM
Davis Vantage Pro 2+ Wireless
Webcam: Axis 211

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #83 on: March 07, 2011, 02:44:59 PM »
Scott,

Finally got ATOM installed and working. There are some active alerts here now, and, without making any changes to the mobile script, they are showing there. Hopefully it's what is supposed to show (I think it is).

Please let me know.

Thanks!
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #84 on: March 07, 2011, 06:24:12 PM »
Scott,

Finally got ATOM installed and working. There are some active alerts here now, and, without making any changes to the mobile script, they are showing there. Hopefully it's what is supposed to show (I think it is).

Please let me know.

Thanks!

Yup, thats how it's "supposed" to work! :)

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 i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #85 on: March 10, 2011, 04:21:37 PM »
Hi Scott,
i've installed the 1.03 1.02 version but i still having the preg_match issue.
Probably the script isn't compatible with the 5.2.xx version of php.
What do you think about?
Here is the link: http://www.meteocarmignano.it/WWL-mobile.php

Once again thanks,

Alessandro
« Last Edit: March 10, 2011, 04:59:17 PM by i_fiorentino »

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #86 on: March 10, 2011, 06:27:14 PM »
Hi Scott,

Put up 1.03 - no problems.

However, I did discover one thing. Not sure if this might be causing problems for anybody, but...

<link rel="stylesheet" href="mobile3.css" type="text/css" media="only screen and (min-device-width:768px) and (min-divice-height:768px)" />

Shouldn't that last item be device-height?

Just FYI...
John
W7JKG

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #87 on: March 10, 2011, 08:45:19 PM »
However, I did discover one thing. Not sure if this might be causing problems for anybody, but...

<link rel="stylesheet" href="mobile3.css" type="text/css" media="only screen and (min-device-width:768px) and (min-divice-height:768px)" />

Shouldn't that last item be device-height?

You are correct, it should be!  Thanks for catching that one!

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 Stetson1

  • Cordera Weather
  • Forecaster
  • *****
  • Posts: 364
    • Cordera Weather
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #88 on: March 10, 2011, 08:46:46 PM »
Downloaded and installed the 1.03 version with no issues. Also added a QR Code to my site. Looks great, thanks for all your work.

Todd

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #89 on: March 10, 2011, 08:58:39 PM »
Hello,

I now need to write a cron but I do not know how to do so. Can anyone assist me with writing a cron. My host is 1&1 and it is Unix.

I appreciate the help.


Thanks,

Bob
Bob
KK4QXH

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #90 on: March 10, 2011, 09:54:16 PM »
Hi Scott,
i've installed the 1.03 1.02 version but i still having the preg_match issue.
Probably the script isn't compatible with the 5.2.xx version of php.
What do you think about?
Here is the link: http://www.meteocarmignano.it/WWL-mobile.php

Once again thanks,

Alessandro

Try downloading version 1.04 I just put it up.  I changed how the preg-match function was coded, I think this will work better.

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: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #91 on: March 10, 2011, 09:55:40 PM »
Hello,

I now need to write a cron but I do not know how to do so. Can anyone assist me with writing a cron. My host is 1&1 and it is Unix.

Bob,

You might want to start a new thread for this message, you'll probably find a cron expert easier that way since this message thread is about the Mobile Dashboard. 

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: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #92 on: March 10, 2011, 09:56:41 PM »
Downloaded and installed the 1.03 version with no issues. Also added a QR Code to my site. Looks great, thanks for all your work.

Todd

Todd,

Glad it worked well for you!  You won't need the version 1.04 version then, it's just for those with preg-match errors.

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: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #93 on: March 10, 2011, 09:57:54 PM »
UPDATE:

For anyone that was having issues with the preg_match errors, try version 1.04.  It is just for fixing that issue (I hope), it contains nothing else new or modified.  If Version 1.03 or earlier is working for you, no need to upgrade!

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 i_fiorentino

  • Forecaster
  • *****
  • Posts: 562
  • Davis Vantage Vue, Boltek Stormtr., Mobotix M22-IT
    • Meteopistoia.it
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #94 on: March 13, 2011, 01:18:56 PM »
UPDATE:

For anyone that was having issues with the preg_match errors, try version 1.04.  It is just for fixing that issue (I hope), it contains nothing else new or modified.  If Version 1.03 or earlier is working for you, no need to upgrade!

Scott

Fixed!
Thanks for your support!
Kind regards,

Alessandro

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #95 on: March 13, 2011, 01:30:31 PM »
UPDATE:

For anyone that was having issues with the preg_match errors, try version 1.04.  It is just for fixing that issue (I hope), it contains nothing else new or modified.  If Version 1.03 or earlier is working for you, no need to upgrade!

Scott

Fixed!
Thanks for your support!
Kind regards,

Alessandro

GREAT!  That one game me a lot of problems!  Glad it's now in the fixed column!

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 user3162

  • Member
  • *
  • Posts: 40
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #96 on: May 01, 2011, 09:49:05 AM »
I get an error in both IE and Firefox on this page:
http://www.nhpaweather.com/WWL-mobile.php

I don't get it on the pages from others in this thread, so it must be something that I did. Help would be appreciated.

This is the error I get:

missing ; before statement line 154

function androidSS() {
153 if (navigator.userAgent.match(/Android/i)); {
154 val fileref = document.createElement("link");
155 fileref.setAttribute("rel","stylesheet");
156 fileref.setAttribute("type","text/css");
157 fileref.setAttribute("type","mobile3.css");
158 document.getElementByTagName("head")[0].appendChild(fileref);

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #97 on: May 01, 2011, 10:55:03 AM »
Try removing the semi-colon in line 153.

- Jim

Forum Search and Google Can be Your Best Friends

Offline BurnsvilleWeather

  • Burnsville, MN USA
  • Forecaster
  • *****
  • Posts: 863
  • Retired from Weather!
Re: New MOBILE Dashboard Ver 1.10 RELEASED
« Reply #98 on: May 01, 2011, 05:09:39 PM »
UPDATE NOTICE:

By request, I added in the short term forecast Icons at the bottom of the display.  There is no other reason to upgrade then to add that.  Just replace the WWL-mobile.php file if you are upgrading from a 1.0x version.  Download link in first message of this thread!

Scott
Webster Weather Live
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 user3162

  • Member
  • *
  • Posts: 40
Re: New MOBILE Dashboard Ver 1.02 RELEASED
« Reply #99 on: May 01, 2011, 06:56:10 PM »
Try removing the semi-colon in line 153.

- Jim

I removed it, but the error is still there. Thank you for looking!