Moderators Parkho Posted July 20, 2016 Moderators Report Share Posted July 20, 2016 Aviation Weather V1.0 ---------------------------------------- A module to retrieve weather information for a specific station using airfield ICAO ---------------------------------------- Source: https://www.aviationweather.gov API Install: 1. Download the repository from Git-hub 2. Unzip and upload in folders order 3. Access it by <?php echo url('/wthr') ;?> 4. Enjoy!!!! ----------------------------------------- Demo & Support: Visit www.parkho.ir and use contact me form for support and pilots-modules for demo. ------------------------------------------------------------------- Screen shots: 1 Quote Link to comment Share on other sites More sharing options...
gio1961 Posted July 20, 2016 Report Share Posted July 20, 2016 Hello i have a problem with the module: Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=lirf&hoursBeforeNow=1) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /membri/italianichevolano/core/modules/WTHR/WTHR.php on line 13 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=lirf&hoursBeforeNow=1" in /membri/italianichevolano/core/modules/WTHR/WTHR.php on line 13 Thanks for a possible answer ... Yours sincerely Quote Link to comment Share on other sites More sharing options...
gio1961 Posted July 21, 2016 Report Share Posted July 21, 2016 Thank you for responding .. same problem Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted July 21, 2016 Author Moderators Report Share Posted July 21, 2016 I always wonder why some of Airline mangers avoid upgrading their phpVMS and insist of using the old versions!!!!!!!! Everyone, I am creating these new modules with the latest version of phpVMS which is 5.5x by Simpilot. Since I'm creating these modules as my hobby and never get paid for them and still am willing to give support for my creation, I will not be able to make them for the old versions and support them too. So, I will much appreciate it if you guys upgrade your software to avoid further issues with my modules. Thanks 1 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted July 21, 2016 Author Moderators Report Share Posted July 21, 2016 (edited) There is an update. Please download and replace modules/wthr/wthr.php and templates/weather/weather.php from github. Change log: -The use of phpVMS built-in functions has been avoided. Reason Some airfields are not yet added to phpVMS DB and that makes the module to not showing the results for all ICAOs. Edited July 21, 2016 by parkho Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted July 23, 2016 Report Share Posted July 23, 2016 (edited) should it look that way? it seems the that the updated version on github lost all formating Edited July 23, 2016 by Txmmy83 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted July 23, 2016 Author Moderators Report Share Posted July 23, 2016 I removed all the styles because of the use of different skins by VAs, so yes that's the way it looks. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2016 Report Share Posted July 26, 2016 I have just installed it and there seems to be a few missing images. I uploaded everything the way it should. http://malaysiava.org/index.php/WTHR/metar You can see there if you do a look up for any airport. Thanks for the module, looks great Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted July 27, 2016 Author Moderators Report Share Posted July 27, 2016 I have just installed it and there seems to be a few missing images. I uploaded everything the way it should. http://malaysiava.or....php/WTHR/metar You can see there if you do a look up for any airport. Thanks for the module, looks great Noted and images added. Please download and replace "lib" folder at github Quote Link to comment Share on other sites More sharing options...
ShredMountains Posted July 27, 2016 Report Share Posted July 27, 2016 Is there a new version of PHPVMS that I am missing? I got it from the github from like 2014 it looks like? From the phpvms github that is? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted July 27, 2016 Author Moderators Report Share Posted July 27, 2016 Latest version is 5.5x by Simpilot Quote Link to comment Share on other sites More sharing options...
web541 Posted July 27, 2016 Report Share Posted July 27, 2016 Is there a new version of PHPVMS that I am missing? I got it from the github from like 2014 it looks like? From the phpvms github that is? You can find this version here http://forum.phpvms.net/topic/23808-simpilot-phpvms/#entry125112 It appears David is cleaning out his Github at the moment. Quote Link to comment Share on other sites More sharing options...
ShrikarG Posted October 17, 2016 Report Share Posted October 17, 2016 (edited) Hello.. I am getting such errors : Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=VABB&hoursBeforeNow=1): failed to open stream: Connection timed out in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 14 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=VABB&hoursBeforeNow=1" in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 14 Warning: simplexml_load_file(https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=VABB): failed to open stream: Connection timed out in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 32 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&stationString=VABB" in /home/litejoro/public_html/crew/core/modules/WTHR/WTHR.php on line 32 Website : http://crew.litejetv...index.php/WTHR/ php.ini :allow_url_fopen = On allow_url_include = On Edited October 17, 2016 by shrikar Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 17, 2016 Author Moderators Report Share Posted October 17, 2016 What's the version of your phpVMS and server PHP? Quote Link to comment Share on other sites More sharing options...
ShrikarG Posted October 18, 2016 Report Share Posted October 18, 2016 What's the version of your phpVMS and server PHP? Using phpVMS - Simpilot version 5.5.x Using PHP - v5.5 ( Tried changing it to 5.3 , 5.4 ,5.6) but still the problem persists. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 18, 2016 Author Moderators Report Share Posted October 18, 2016 The module is working just fine with 5.5x version, so unless you're on a free host service, the module should work for you as well. Quote Link to comment Share on other sites More sharing options...
ShrikarG Posted October 19, 2016 Report Share Posted October 19, 2016 (edited) The module is working just fine with 5.5x version, so unless you're on a free host service, the module should work for you as well. [sOLVED] A infected file had blocked my Port 80/446. Deleted that file and requested my host to open up the Port. Now everything works well . Edited October 19, 2016 by shrikar Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 19, 2016 Author Moderators Report Share Posted October 19, 2016 Roger that! Quote Link to comment Share on other sites More sharing options...
MrDalle Posted November 3, 2016 Report Share Posted November 3, 2016 hey guys, i installed this great add-on but getting this error... any ideas? Notice: The template file "/var/www/......../core/templates/weather/weather.php" doesn't exist in /var/www/vhosts/......................./core/classes/TemplateSet.class.php on line 231 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 7, 2016 Author Moderators Report Share Posted November 7, 2016 hey guys, i installed this great add-on but getting this error... any ideas? Notice: The template file "/var/www/......../core/templates/weather/weather.php" doesn't exist in /var/www/vhosts/......................./core/classes/TemplateSet.class.php on line 231 That means you haven't added "weather" folder to the root. 1 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 7, 2016 Author Moderators Report Share Posted November 7, 2016 A new version is now available. Change Log: -Charts link added for each ICAO in result page. Powered by AirCharts.org Download and replace "modoules" & "templates" folders at Github. Screenshot: Quote Link to comment Share on other sites More sharing options...
MrDalle Posted November 8, 2016 Report Share Posted November 8, 2016 So where are the folders going then? I unziped the file and moved everything to the core folder.. Like the same i did with your finance tool which is working properly.. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 8, 2016 Author Moderators Report Share Posted November 8, 2016 (edited) Okay! In "core" folder you have 3 other folders "common", "modules", and "templates". Inside "common" there is php file which will go to your "root/core/common" folder. Inside "modules" there is another folder called "WTHR" with a php file inside it, copy the whole folder to your "root/core/modules" folder. Finally, inside "templates" there is a folder called "wthr" with 2 php files inside it, copy the folder to your "root/lib/skins/(name of the skin you're using)" folder and you're done. Same procedure goes with all of my modules. Edited November 8, 2016 by parkho Quote Link to comment Share on other sites More sharing options...
ShrikarG Posted November 8, 2016 Report Share Posted November 8, 2016 Working just awesome. Its a great addition to my "Resources" Section of my VA. Thank you parkho! Quote Link to comment Share on other sites More sharing options...
MrDalle Posted November 8, 2016 Report Share Posted November 8, 2016 Thanks Parkho!! Working now and skinned! 1 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 9, 2016 Author Moderators Report Share Posted November 9, 2016 Nice! Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 10, 2016 Report Share Posted November 10, 2016 Hi Parkho. First off, i appreciate your efforts and time you put in for this community and your work on modules. Thank you very much! I installed this module today and showed it to everyone on site and the overall opinion of it is everyone loves it. We found one minor detail that is no biggie. not sure if this is correct spelling in another language but in common North American English, http://prntscr.com/d5coll Aiviation is spelled Aviation. lol I looked at and admired this module all day and it just now only dawned on me what I was reading. This module is great Parkho. I appreciate your sharing it with us to use. Ray 2 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 10, 2016 Author Moderators Report Share Posted November 10, 2016 Hi Parkho. First off, i appreciate your efforts and time you put in for this community and your work on modules. Thank you very much! I installed this module today and showed it to everyone on site and the overall opinion of it is everyone loves it. We found one minor detail that is no biggie. not sure if this is correct spelling in another language but in common North American English, http://prntscr.com/d5coll Aiviation is spelled Aviation. lol I looked at and admired this module all day and it just now only dawned on me what I was reading. This module is great Parkho. I appreciate your sharing it with us to use. Ray lol Ray, thanks for noticing the misspell. Actually, I do know that "Aiviation" is not correctly spelled and since we speak Farsi in Iran and it has nothing to do with English what so ever and as an ESL, I would like to apologize for making these mistakes once in a while and will try to avoid them as much as possible. 1 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 11, 2016 Report Share Posted November 11, 2016 No worries. You should see the typos on my site I fix daily! It happens. I been using this module of yours to help me out on all my flights today. Great addition to a VA. Thanks again. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 30, 2016 Report Share Posted November 30, 2016 For all you bootstrap 2 and 3 users, If you search a airport and scroll down to the airports, you will see a wild child bullet from the list. This is not a problem with Parkho's awesome module. it is a bootstrap thing. But not to worry! Bootstrap a built in un-styled function. For bootstrap 2 on line 80, find : <ul> Change to: <ul class="unstyled"> For bootstrap 3 change that line to : <ul class="list-unstyled"> And say goodbye to the wild child bullet. Awesome module Parkho, great job on it man. I like it more and more as the days go by. 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.