cloudy

Author Topic: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)  (Read 116373 times)

0 Members and 1 Guest are viewing this topic.

Offline Burnsville Weather Live

  • Scott
  • Posts: 1,282
  • Formally Webster Weather LIVE
  • Burnsville, MN, USA
    • Burnsville Weather LIVE
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #810 on: April 09, 2010, 11:26:38 PM »
Minor update Version 5.03 is available.

I've added a couple minor things by request.  They are a path statement in the config for websearchout.txt when used with the AQI section and I have moved the footnotes to the config so if there are any updates you don't have to re-edit them anymore.  (Should have seen that one long ago!).  This minor update is now available on my site as usual.  

http://www.websterweatherlive.com/wxScripts.php

If you are upgrading from 5.02 just replace the ajax-dashboard.php and altdashboardconfig.php and re-edit the config
If you are upgrading from 5.01 in addition to the above, add in the new test tag for %dayornight%
If you are upgrading from 5.00 in addition to above, add in the unknown icon for AQI

Remember, version 5.00 and above REQUIRES the new version of ajaxWDwx.js (Currently version 9.11).  If you aren't using that, you should stick with my dashboard version 4.2x which still uses the old version.

Scott
Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather Live)

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp.

Offline jjmcnelly

  • Posts: 265
  • Napavine, WA
    • Cedar Ridge Weather Station, Napavine WA 98565
Re: Alternative Dashboard Script Released (Ver 5.02 FINAL RELEASE)
« Reply #811 on: April 10, 2010, 02:21:59 PM »
Hi Scott,

Thanks for the continual updates to your script.

I believe you mentioned a while ago that you placed...
Code: [Select]
function langtransstr($word) {
   return $word;
}

function langtrans($word) {
   echo $word;
}
in you footer.php. Would you please tell us how you added it?
Thanks,
Dennis

PS; I have AQI working on my site also.


I have it added to the bottom of my ajax-dashboard.php file. 
Code: [Select]
function getMoonAge() {
   $mooninfo = getMoonInfo();
   return $mooninfo->age;
}
function getMoonPic() {
   $mooninfo = getMoonInfo();
   return $mooninfo->pic;
}
function getMoonIll() {
   $mooninfo = getMoonInfo();
   return $mooninfo->ill;
}
function getMoonPhase() {
   $mooninfo = getMoonInfo();
   return $mooninfo->phase;
}
function langtransstr($word) {
   return $word;
}
function langtrans($word) {
   echo $word;
}
// end of functions
//=========================================================================

James

Offline Dennis48755

  • Posts: 73
  • Sand Point, Michigan
    • Sand Point Michigan Weather
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #812 on: April 10, 2010, 02:35:58 PM »
Scott,

Thank You soooo much.

-------------------
James,

Thanks, that's how I have been doing it also. But I would prefer a solution other than editing the ajax-dashboard.php  each time Scott creates an update. Now that Scott has added the config file, there shod be no reason to ever edit ajax-dashboard.php.

Dennis

Offline Jeep

  • Richard
  • Posts: 617
  • Whittier, Ca USA
    • Whittier Weather
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #813 on: April 10, 2010, 03:00:04 PM »
Hi guys.

I need some help. I have version 4.x running, and except for the uv icon never changing from '0 Low' it works great. I can't get 5 to run at all. I have everything in the proper place, updated correctly, but when my page  loads all I get is the header and menu, the body is totally blank. Any ideas on where I screwed up?

I have a test version here: http://www.whittier-weather.com/test/wxindex.php
--------------------------
Jeep


Offline Burnsville Weather Live

  • Scott
  • Posts: 1,282
  • Formally Webster Weather LIVE
  • Burnsville, MN, USA
    • Burnsville Weather LIVE
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #814 on: April 10, 2010, 04:48:06 PM »
Hi guys.

I need some help. I have version 4.x running, and except for the uv icon never changing from '0 Low' it works great. I can't get 5 to run at all. I have everything in the proper place, updated correctly, but when my page  loads all I get is the header and menu, the body is totally blank. Any ideas on where I screwed up?

I have a test version here: http://www.whittier-weather.com/test/wxindex.php

I might be missing something but I don't see you ever call the ajax-dashboard.php script in the code!

Scott
Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather Live)

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp.

Offline Burnsville Weather Live

  • Scott
  • Posts: 1,282
  • Formally Webster Weather LIVE
  • Burnsville, MN, USA
    • Burnsville Weather LIVE
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #815 on: April 10, 2010, 04:49:08 PM »
Scott,

Thank You soooo much.

Welcome, glad I could help.  Hopefully though the bugs are worked out now and there will be no need for updates. 

Scott
Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather Live)

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp.

Offline Jeep

  • Richard
  • Posts: 617
  • Whittier, Ca USA
    • Whittier Weather
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #816 on: April 10, 2010, 05:24:22 PM »
I might be missing something but I don't see you ever call the ajax-dashboard.php script in the code!

Scott

That's the same file I use on my real weather page, just not renamed to index.php! If I copy 4.0 into the test directory, it works, put 5.x in there, and it does not.

« Last Edit: April 10, 2010, 05:27:15 PM by Jeep »
--------------------------
Jeep


Offline Burnsville Weather Live

  • Scott
  • Posts: 1,282
  • Formally Webster Weather LIVE
  • Burnsville, MN, USA
    • Burnsville Weather LIVE
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #817 on: April 10, 2010, 10:45:02 PM »
That's the same file I use on my real weather page, just not renamed to index.php! If I copy 4.0 into the test directory, it works, put 5.x in there, and it does not.



Do you have the config file in the same directory?

Scott
Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather Live)

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp.

Offline Jeep

  • Richard
  • Posts: 617
  • Whittier, Ca USA
    • Whittier Weather
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #818 on: April 10, 2010, 11:49:58 PM »
Yes, as is ajaxwdwx,js, ajaxwdwx-settings.js. if fact, it's a whole 2nd installation in the test directory. I copied everything there when i could not get it to work in the root.
--------------------------
Jeep


Offline Burnsville Weather Live

  • Scott
  • Posts: 1,282
  • Formally Webster Weather LIVE
  • Burnsville, MN, USA
    • Burnsville Weather LIVE
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #819 on: April 11, 2010, 12:21:09 AM »
Yes, as is ajaxwdwx,js, ajaxwdwx-settings.js. if fact, it's a whole 2nd installation in the test directory. I copied everything there when i could not get it to work in the root.

What about AltAjaxDashboardConfig.php?
Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather Live)

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp.

Offline K3JAE

  • Posts: 757
  • CoCoRaHS: TN-CR-7; WxUngrd: KTNBRUCE2; CWOP: AT066
  • Carroll County, TN, USA
    • K3JAE's Weather Station
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #820 on: April 11, 2010, 01:09:40 AM »
Maybe it is me but I cannot get the AQI to work. I am having no luck finding an easy page where the AQI is shown as in the instruction.

Is anyone able to assist me here?

My zipcode is 15401 if that helps any. I prefer NOT to have Pittsburgh's AQI since it is considerably further north and would never be accurate for me.


73's de K3JAE

John
K3JAE Weather Station

Offline Jeep

  • Richard
  • Posts: 617
  • Whittier, Ca USA
    • Whittier Weather
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #821 on: April 11, 2010, 01:30:01 AM »
What about AltAjaxDashboardConfig.php?


Yes, it's there too.
--------------------------
Jeep


Offline tstorm

  • Posts: 375
  • Harpers Ferry, WV
    • Meadowbrook Farm Weather
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #822 on: April 11, 2010, 10:20:09 AM »
Yes, it's there too.

When you do a validation of wxindex.php there are 12 errors.  If you clean up these errors maybe you will have better luck.

John


Offline Burnsville Weather Live

  • Scott
  • Posts: 1,282
  • Formally Webster Weather LIVE
  • Burnsville, MN, USA
    • Burnsville Weather LIVE
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #823 on: April 11, 2010, 12:54:59 PM »
Maybe it is me but I cannot get the AQI to work. I am having no luck finding an easy page where the AQI is shown as in the instruction.

Is anyone able to assist me here?

My zipcode is 15401 if that helps any. I prefer NOT to have Pittsburgh's AQI since it is considerably further north and would never be accurate for me.

That is part of the problem with AQI, it is mainly the government that measures it and they don't do it in a lot of places.  That may be the only place in your area that it's measured.  I did a quick search and didn't see any closer options for you either.

Scott
Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather Live)

Windows XP Pro(SP3), 4G Ram, QuickCam Pro 9000, Davis Vantage Pro II w/Solar/UV & Heated Rain Catcher, WXSim, 1-Wire: Lightning, Leaf, soil moist/tmp.

Offline K3JAE

  • Posts: 757
  • CoCoRaHS: TN-CR-7; WxUngrd: KTNBRUCE2; CWOP: AT066
  • Carroll County, TN, USA
    • K3JAE's Weather Station
Re: Alternative Dashboard Script Released (Ver 5.03 FINAL RELEASE)
« Reply #824 on: April 11, 2010, 02:44:28 PM »
OK, if that be the case then can you or someone assist me in setting this up?  I cannot get the WD set up correct evidently.


73's de K3JAE

John
K3JAE Weather Station