hjhjhgjgjh Posted December 8, 2009 Report 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
vicente Posted December 8, 2009 Report Posted December 8, 2009 Nico Code.I have a doubt how do you fix to show the Charts of the Jappensen ? Quote
Administrators Nabeel Posted December 8, 2009 Administrators Report Posted December 8, 2009 Looks great! Quote
flyalaska Posted December 8, 2009 Report 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
hjhjhgjgjh Posted December 9, 2009 Author Report 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
flyalaska Posted December 9, 2009 Report Posted December 9, 2009 Would this work? http://www.flyaka.com/downloads/alaska_map.png Quote
hjhjhgjgjh Posted December 10, 2009 Author Report Posted December 10, 2009 yes it would but you dont have any weather there :- Quote
bunoire14 Posted December 20, 2009 Report Posted December 20, 2009 Awesome addition mate! thanks very much! Quote
vicente Posted December 29, 2009 Report 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
hjhjhgjgjh Posted December 30, 2009 Author Report Posted December 30, 2009 yes and there is a </div> at the end too of this code Quote
Moderators mark1million Posted February 13, 2010 Moderators Report Posted February 13, 2010 Is there any way to make the maps smaller, ie 700px wide? Quote
Moderators mark1million Posted February 18, 2010 Moderators Report Posted February 18, 2010 Anyone? 1 Quote
Administrators Nabeel Posted February 18, 2010 Administrators Report Posted February 18, 2010 It's an <img> tag, so just add the width="" property to it Quote
Moderators mark1million Posted February 18, 2010 Moderators Report Posted February 18, 2010 OMG that easy!!! i feel a right idiot now lol.... Thanks Nabeel. Quote
Malchor Posted August 10, 2010 Report Posted August 10, 2010 Hi Everybody, i Have a problem with the automatic Weather change! Show this pic. Can some one help pls? Quote
Moderators mark1million Posted August 10, 2010 Moderators Report Posted August 10, 2010 Its OK on my server, are you on a free host? Quote
hjhjhgjgjh Posted August 12, 2010 Author Report 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
Sascha (DCS299) Posted March 2, 2011 Report Posted March 2, 2011 It's so cool and works great! Thanks! Quote
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.