hjhjhgjgjh Posted December 8, 2009 Report Share Posted December 8, 2009 Okay this is what you have at the moment: a couple of weather maps but only for U.S. And this is what my script does: It recognizes, from what country you are flying and will output a weather map for the departure area and same for arrival area so if you fly from EDDF to KJFK, it will show a map of europe and its winds and same for U.S. (And in this case also a NAT map for westbound flights/on return flight, it will show NAT map for eastbound flights). With a bit php knowledge, it should be easy to customize this script to add other maps or whatever is required. I by myself work for a german airline and i try to improve it later so it looks like what we have. Instructions: 1. remove all the lines related to the original maps in schedules_briefing.tpl (/core/templates/) 2. put this line instead of the old ones: <?php include('weather.tpl'); ?> 3. place the weather.tpl into your /core/templates/ directory 4. thats it, check out your pilot briefing A screenshot is available here http://tebinulrich.de/files/preview.png weatherscript.zip 1 Quote Link to comment Share on other sites More sharing options...
vicente Posted December 8, 2009 Report Share Posted December 8, 2009 Nico Code.I have a doubt how do you fix to show the Charts of the Jappensen ? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 8, 2009 Administrators Report Share Posted December 8, 2009 Looks great! Quote Link to comment Share on other sites More sharing options...
flyalaska Posted December 8, 2009 Report Share Posted December 8, 2009 Looks great! However id doesn't show the correct departure/arrival. It shows US map only. We fly in Alaska and id should map of Alaska if i'm correct. Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted December 9, 2009 Author Report Share Posted December 9, 2009 jea sometimes i didnt find a good map so i added the next possible map. you can change those or if you find a good map i can change it for you Quote Link to comment Share on other sites More sharing options...
flyalaska Posted December 9, 2009 Report Share Posted December 9, 2009 Would this work? http://www.flyaka.com/downloads/alaska_map.png Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted December 10, 2009 Author Report Share Posted December 10, 2009 yes it would but you dont have any weather there :- Quote Link to comment Share on other sites More sharing options...
bunoire14 Posted December 20, 2009 Report Share Posted December 20, 2009 Awesome addition mate! thanks very much! Quote Link to comment Share on other sites More sharing options...
vicente Posted December 29, 2009 Report Share Posted December 29, 2009 I need to remove this lines ? <h3>Tempo</h3> <div align="center"> <p><img src="http://flightaware.com/resources/wx/us_depiction.gif" /></p> <p><img src="http://flightaware.com/resources/wx/surface_analysis.gif" /></p> <p><img src="http://flightaware.com/resources/wx/national_radar.gif" /></p> <p><img src="http://flightaware.com/resources/wx/us_high_level_weather_12z.gif" /></p> <p><img src="http://flightaware.com/resources/wx/severe_outlook_day_1.gif" /></p> <a href="http://flightaware.com/resources/weather_maps/" target="_blank">Ver mais gráficos de tempo</a> And substitue for <?php include('weather.tpl'); ?> Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted December 30, 2009 Author Report Share Posted December 30, 2009 yes and there is a </div> at the end too of this code Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted December 31, 2009 Author Report Share Posted December 31, 2009 maybe this helps: Quote Link to comment Share on other sites More sharing options...
vicente Posted January 4, 2010 Report Share Posted January 4, 2010 Hey Thanks!! ;D ;D ;D ;D Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 13, 2010 Moderators Report Share Posted February 13, 2010 Is there any way to make the maps smaller, ie 700px wide? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 18, 2010 Moderators Report Share Posted February 18, 2010 Anyone? 1 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 18, 2010 Administrators Report Share Posted February 18, 2010 It's an <img> tag, so just add the width="" property to it Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 18, 2010 Moderators Report Share Posted February 18, 2010 OMG that easy!!! i feel a right idiot now lol.... Thanks Nabeel. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 18, 2010 Administrators Report Share Posted February 18, 2010 Quote Link to comment Share on other sites More sharing options...
Malchor Posted August 10, 2010 Report Share Posted August 10, 2010 Hi Everybody, i Have a problem with the automatic Weather change! Show this pic. Can some one help pls? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted August 10, 2010 Moderators Report Share Posted August 10, 2010 Its OK on my server, are you on a free host? Quote Link to comment Share on other sites More sharing options...
Malchor Posted August 11, 2010 Report Share Posted August 11, 2010 No i am on a pay hoster Quote Link to comment Share on other sites More sharing options...
hjhjhgjgjh Posted August 12, 2010 Author Report Share Posted August 12, 2010 its easy, the error tells you that it cannot find the file at that place. In this case weather.tpl. Check if its realy weather.tpl because i can remember, that in later versions, i renamed it to weather.php but i am not sure. If so, you can just rename that file or the link in your template Quote Link to comment Share on other sites More sharing options...
Sascha (DCS299) Posted March 2, 2011 Report Share Posted March 2, 2011 It's so cool and works great! Thanks! Quote Link to comment Share on other sites More sharing options...
Rickisani Posted April 14, 2011 Report Share Posted April 14, 2011 wonderful works, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.