cloudy

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

0 Members and 3 Guests are viewing this topic.

Offline Murry Conarroe

  • Posts: 478
  • Decatur, Texas
    • Wildwood Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #240 on: January 30, 2010, 11:11:41 PM »
Line 67 should be the line where you set what years you have available.
Make sure it is in this format: $years_available = array("2010","2009","2008","2007");
Murry

dwesley226

  • Guest
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #241 on: January 30, 2010, 11:24:57 PM »
Thanks neighbor, my bad! Removed the comma that produced the error. Now more errors!
http://www.ardmoreweatherlive.com/wxraindetail.php
« Last Edit: January 30, 2010, 11:29:54 PM by dwesley226 »

Offline Murry Conarroe

  • Posts: 478
  • Decatur, Texas
    • Wildwood Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #242 on: January 30, 2010, 11:48:42 PM »
It can't find the settings.php file. I also could not find the header or footer php files. From looking at your website, it looks like you are using the html templates, not the php templates.
Murry

Online TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,868
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #243 on: January 31, 2010, 03:26:03 AM »
Thanks neighbor, my bad! Removed the comma that produced the error. Now more errors!
http://www.ardmoreweatherlive.com/wxraindetail.php

It is assumed that you are using the WD-AJAX-PHP-USA template files... right?

You don't appear to be using that template.

If you were and have a typical setup, just placing the 2 files contained in the zip file without ANY changes will result in output when you run the script without errors.

If your station is new, it won't show any data since the default values are for 2009 "still", but it won't give you any errors.

After you have that working without errors, you can then change the setting values from the defaults to get the data you want.

But if you are not using WD-AJAX-PHP-USA template, this "addon" script won't work for you.

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

dwesley226

  • Guest
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #244 on: January 31, 2010, 04:17:18 PM »
Sorry for the waste of everyones time. Just switched over to a server that supports php and downloaded the file ajaxWD-carterlake-V2-13 and got my page running. So you are right, I am not running WD-AJAX-PHP-USA.

Offline rrrick8

  • Posts: 325
  • Danville, Illinois
    • Vermilion County Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #245 on: February 01, 2010, 03:02:00 AM »
Kevin, I'm a little late here but wanted to thank you for the wonderful script.
Have it running here, of course with my own little changes to blend in with my site.

I also added the temperature and wind detail pages. They are viewable under the Almanac label in the menu.

Thanks to all of you.
Rick
« Last Edit: February 09, 2010, 03:57:40 AM by rrrick8 »
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline rrrick8

  • Posts: 325
  • Danville, Illinois
    • Vermilion County Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #246 on: February 01, 2010, 12:02:20 PM »
I also added a couple of quick link buttons for the other detail pages for easier navigation between them.
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline edje1205

  • edje
  • Posts: 1,838
  • Zaandam Holland, the Netherlands
    • http://www.weersverwachtingen.eu
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #247 on: February 01, 2010, 01:09:35 PM »
I also added a couple of quick link buttons for the other detail pages for easier navigation between them.

Handy !
Ed
Woodenshoes,mills,hightech;but random weather
www.weersverwachtingen.eu
P4 2,2Ghz-2GB RAM-Win2K-Broadb.connect


Offline Axelvold

  • Posts: 980
  • Axelvold / Sweden
  • Axelvold, Sverige
    • Axelvold's weather and photo
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #248 on: February 01, 2010, 01:10:34 PM »
I'm not using the WD-AJAX-PHP-USA template, and this add-on works just fine.

All you have to do is remove the lines that want to include the header.php and footer.php



Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #249 on: February 01, 2010, 05:46:37 PM »
Kevin, I'm a little late here but wanted to thank you for the wonderful script.
Have it running here, of course with my own little changes to blend in with my site.

I also added the temperature and wind detail pages. They are viewable under the Almanac label in the menu.

Thanks to all of you.
Rick

Would you be willing to share your source for the winddetail.php page?  I like that a lot!


73's de K3JAE

John
K3JAE Weather Station

Offline rrrick8

  • Posts: 325
  • Danville, Illinois
    • Vermilion County Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #250 on: February 01, 2010, 07:18:45 PM »
Are you wanting the edited css or the winddetail.php file or both?
« Last Edit: February 01, 2010, 07:23:26 PM by rrrick8 »
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline FrankP999

  • Posts: 1,131
  • Macon, Georgia USA
    • My Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #251 on: February 01, 2010, 07:32:45 PM »
I would like to see the code for these also.

thanks

Frank

Offline rrrick8

  • Posts: 325
  • Danville, Illinois
    • Vermilion County Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #252 on: February 01, 2010, 07:50:29 PM »
With the understanding that the "includes and requires" needed for the WD-AJAX-PHP-USA type pages have been removed.

Here is the zip that includes all 3 detail pages and their css pages.

Edit: My website is all black backgrounds on the pages. If yours is not, I suggest calling the scripts in a table as so...
Code: [Select]
<center>
<table width="99%" bgcolor="black">
<tr>
<td><?php include("wxwinddetail.php"); ?></td>
</tr>
</table>
</center>
« Last Edit: February 01, 2010, 08:05:06 PM by rrrick8 »
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline rrrick8

  • Posts: 325
  • Danville, Illinois
    • Vermilion County Weather
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #253 on: February 09, 2010, 04:02:04 AM »
I also added a couple of quick link buttons for the other detail pages for easier navigation between them.


I modified my "wxdetail" product selection menu to a color matching, drop down menu for all my "detail" pages.
I like it a lot better. http://vermilionweather.com/raindetail.php
« Last Edit: February 09, 2010, 09:49:59 AM by rrrick8 »
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Blackjack52

  • Guest
Re: wxraindetail.php add-on page for WD-AJAX-PHP-USA
« Reply #254 on: February 09, 2010, 02:29:22 PM »
Very nice.

 

cumulus