cloudy cloudy

Author Topic: wxraindetail.php add-on page for WD-AJAX-PHP-USA  (Read 56350 times)

0 Members and 1 Guest are viewing this topic.

Offline Jose1701

  • Posts: 464
  • Germany
    • Wetter in Mülheim
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #30 on: March 19, 2009, 02:31:24 PM »
I like it, great job Kevin, easy to integrate with the template, and even with the style switcher

Raindetail in mm


May you please let me know how to modify it to get the raindetail in mm.

Perhaps I'm blind, but I can't find this. Furthermore I'm not an expert in programming.

Regards

Jose
WX Station Type OS WMR200 + UV + modified Solarunit

http://www.wetternet.org


Offline gateway2capecod

  • Posts: 1,944
  • West Wareham, Ma. USA
    • West Wareham,Ma Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #31 on: March 19, 2009, 03:01:18 PM »
Hello jose...


Try this....

Open your wxraindetail.php file and edit the 2 lines I circled in RED in the image.

just simply change the "in"...TO  "mm"

 like this:

'&nbsp;in</td>';  edited for mm to this>  '&nbsp;mm</td>';



Offline Jose1701

  • Posts: 464
  • Germany
    • Wetter in Mülheim
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #32 on: March 19, 2009, 03:10:15 PM »
That worked. Thanks a lot. I realy was blind.   #-o

Regards

Jose
WX Station Type OS WMR200 + UV + modified Solarunit

http://www.wetternet.org


Offline gateway2capecod

  • Posts: 1,944
  • West Wareham, Ma. USA
    • West Wareham,Ma Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #33 on: March 19, 2009, 03:13:47 PM »
Hello Jose...

where is your wxraindetail.php page located?


I would like to view it please.


Your Welcome...Chris

Offline Jose1701

  • Posts: 464
  • Germany
    • Wetter in Mülheim
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #34 on: March 19, 2009, 03:33:30 PM »
I had to move from the test site.

You find it here now: http://www.skytower.org/wetter/wxraindetail.php

Regards

Jose
WX Station Type OS WMR200 + UV + modified Solarunit

http://www.wetternet.org


Offline gateway2capecod

  • Posts: 1,944
  • West Wareham, Ma. USA
    • West Wareham,Ma Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #35 on: March 19, 2009, 03:59:23 PM »
Hello ....

If anyone is wondering what I did to make my "Other Years Box" of the wxraindetail.php, to display where it is displaying on my own raindetail page here:

http://www.gateway2capecod.com/raindetail.php

It was just a matter of simply moving the line within the wxraindetail.php file that reads:

<h1>Weather Detail Rain Reports</h1>

TO where it is in my image below.

The image below also shows on top...how the "other years box" Normally looks, and then the second image below that shows how it will look afterwards by moving the "<h1>Weather Detail Rain Reports</h1>
" line. The bottom part of the image shows where the line gets moved to.


I personally think it looks better like this, but the choice is up to you to decide if you want to move your's.


...Chris

Offline Jose1701

  • Posts: 464
  • Germany
    • Wetter in Mülheim
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #36 on: March 19, 2009, 04:49:15 PM »
As I said, I'm a newbie  in coding.

First: How may I resize the table a bit?

Second: Is it possible to only show the date and not year 2009? (see attachment)
(Found that here:)
Code: [Select]
// Display options for each available year from array
foreach($years_available as $value) {
    echo "\t\t\t\t\t\t" .
        '<option value="' . $value . '">  ' . $value .
        ' </option>' . "\n";                       
} ?>

Future Suggestion: We have Totals, perhaps it is possible to implement a Total for rain days?

Quote
I personally think it looks better like this, but the choice is up to you to decide if you want to move your's.

I changed that, think it looks a bit better for me. Thank you.

Regards

Jose
« Last Edit: March 19, 2009, 05:24:29 PM by Jose1701 »
WX Station Type OS WMR200 + UV + modified Solarunit

http://www.wetternet.org


Offline Silversword

  • --Stan Y.
  • Posts: 964
  • Maui, Hawaii
    • Up Country Maui Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #37 on: March 19, 2009, 09:50:13 PM »
Hi All,

Getting my Rain Detail chart up and working, somewhat.  Got the January and February 2009 data working but I cannot get the data for March working for some reason.  URL www.dwayneyamato.com/wx/raindetail.php.

Hope that someone will be able see what I could do to solve my issue for this month.

Chris of gateway2capecod was able to solve most of my issues with this chart and he may find a solution also.

Thanks for any assistance.

--Stan Y.
   Maui, Hawaii
WD 10.37s Bld 72
WDL 6.05

Dell Optiplex GX280-Intel Pentium 4 CPU 3.00GHz, 4 GB RAM
Webcam: Axis 211
Wx Sta: Davis Vantage Pro 2+

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Posts: 5,145
  • North Bend, WA
    • North Bend Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #38 on: March 19, 2009, 09:55:42 PM »
Are you having dailynoaareport.htm uploaded? That does the current month readings.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam

Bashy

  • Guest
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #39 on: March 19, 2009, 10:42:36 PM »
Hi folks

Thanks a lot Kevin, great job, well done, i got mine working here
http://www.northantsweather.com/wxraindetail.php

I aint feeling 100% tonight so i will have a look at the colour scheme tomoz
but i aint 100% sure why it didnt follow my template scheme thought, but i am
going to go bed and hopefully someone will spoon feed me the info by the time
wake up, hopefully feeling a tad better, i dare say its just a class or 2 i need to
change? Anyway, thanks again Kevin, bedtime now :(

Offline gateway2capecod

  • Posts: 1,944
  • West Wareham, Ma. USA
    • West Wareham,Ma Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #40 on: March 20, 2009, 12:01:15 AM »
Hello Bashy...

To get the chart, to match the colors on your site....you need to edit your wxraindetail.css file in a few places.


Get Well Soon!!....Chris

Offline wslangerak

  • Kees
  • Posts: 549
  • Langerak (ZH) - The Netherlands
    • Weerstation Langerak
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #41 on: March 20, 2009, 12:33:20 AM »
Thanks Kevin for another great script! Got it working here:

http://www.weerstationlangerak.nl/wdajax/wxraindetail.php

 :D/
the delicate sound of thunder.....


Offline gateway2capecod

  • Posts: 1,944
  • West Wareham, Ma. USA
    • West Wareham,Ma Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #42 on: March 20, 2009, 12:37:24 AM »
Hi All,

Getting my Rain Detail chart up and working, somewhat.  Got the January and February 2009 data working but I cannot get the data for March working for some reason.  URL www.dwayneyamato.com/wx/raindetail.php.

Hope that someone will be able see what I could do to solve my issue for this month.

Chris of gateway2capecod was able to solve most of my issues with this chart and he may find a solution also.

Thanks for any assistance.

--Stan Y.
   Maui, Hawaii



Hello Stan...

I checked your server and you had a "dailyreport.htm" file there, but not a "dailynoaareport.htm" .....Recheck your setting for the daily upload of that file, and then maybe recreat a new March2009 file and then upload that.


Offline TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Posts: 5,939
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #43 on: March 20, 2009, 03:23:57 AM »
First: How may I resize the table a bit?

In the wxraindetail.css file look for the snippet:

#rain table {
   width: 100%;
   border-collapse: collapse;
}


change the width to whatever you want.  You can use a percentage or a fixed amount like 600px;

All you need is Time, Aptitude and Desire ... and you can build just about anything...

Offline Silversword

  • --Stan Y.
  • Posts: 964
  • Maui, Hawaii
    • Up Country Maui Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #44 on: March 20, 2009, 05:26:16 AM »
Hi All,

Got the Chart working for March.  I had turned the "dailynoaareport.htm" upload off because I was doing the other months manually.  Turned it back on and March started to show data. Now I will have to do the manual "stuff" for the last two years.

Thanks again for the assistance.

--Stan Y.
   Maui, Hawaii
WD 10.37s Bld 72
WDL 6.05

Dell Optiplex GX280-Intel Pentium 4 CPU 3.00GHz, 4 GB RAM
Webcam: Axis 211
Wx Sta: Davis Vantage Pro 2+