Ademar Andrade Posted February 16, 2015 Report Share Posted February 16, 2015 Hi guys, I'm trying to populate the the route_detais in phpvms_acarsdata table. Now im using a custom KACARS by Jeff. But, at this moment, he can't get any new order. Thanks for any help, Quote Link to comment Share on other sites More sharing options...
StartVM Posted February 16, 2015 Report Share Posted February 16, 2015 This should be in the support forum or development forum Quote Link to comment Share on other sites More sharing options...
Ademar Andrade Posted February 16, 2015 Author Report Share Posted February 16, 2015 This should be in the support forum or development forum I don't suppose so... "Support Forum Any questions or bug reports go here. Development Help For help and support for the development of addons I'm not with bug or developing an addon... I need a pice of code to populate a table... Please, If you can't help don't aswer...let the admn do this kind of observantion, because they can move this topic if necessary. Quote Link to comment Share on other sites More sharing options...
StartVM Posted February 16, 2015 Report Share Posted February 16, 2015 I don't suppose so... "Support Forum Any questions or bug reports go here. Development Help For help and support for the development of addons I'm not with bug or developing an addon... I need a pice of code to populate a table... Please, If you can't help don't aswer...let the admn do this kind of observantion, because they can move this topic if necessary. Look through the Code Snipets forum. And see how many requests there are. And how many developers with pre-developed code... Quote Link to comment Share on other sites More sharing options...
Ademar Andrade Posted February 16, 2015 Author Report Share Posted February 16, 2015 Look through the Code Snipets forum. And see how many requests there are. And how many developers with pre-developed code... Nothing about how to populate the table... Quote Link to comment Share on other sites More sharing options...
StartVM Posted February 17, 2015 Report Share Posted February 17, 2015 Nothing about how to populate the table... Nothing about which forums to post in... Quote Link to comment Share on other sites More sharing options...
Fernando Posted February 17, 2015 Report Share Posted February 17, 2015 Ademar, I can sincerely help you, what exactly you want, I'm doing a module purchase passage through PilotShop else can I try to help him, send me a private message (PM) Quote Link to comment Share on other sites More sharing options...
FSX30HD Posted February 21, 2015 Report Share Posted February 21, 2015 Ademar Have you this in ACARS.php module public function data() { $flights = ACARSData::GetACARSData(); if(!$flights) $flights = array(); $this->acarsflights = array(); foreach($flights as $flight) { if($flight->route == '') { $flight->route_details = array(); } else { # Jeff's fix for ACARS $params->deplat = $flight->deplat; $params->deplng = $flight->deplng; $params->route = $flight->route; $flight->route_details = NavData::parseRoute($params); //$flight->route_details = NavData::parseRouteACARS($params); } Quote Link to comment Share on other sites More sharing options...
Ademar Andrade Posted February 24, 2015 Author Report Share Posted February 24, 2015 Ademar Have you this in ACARS.php module public function data() { $flights = ACARSData::GetACARSData(); if(!$flights) $flights = array(); $this->acarsflights = array(); foreach($flights as $flight) { if($flight->route == '') { $flight->route_details = array(); } else { # Jeff's fix for ACARS $params->deplat = $flight->deplat; $params->deplng = $flight->deplng; $params->route = $flight->route; $flight->route_details = NavData::parseRoute($params); //$flight->route_details = NavData::parseRouteACARS($params); } Hi FX30HD, Thanks for your attention, i changed ACARMAP.PHP teh code you said. But still not working... Any another idea? Thanks, Quote Link to comment Share on other sites More sharing options...
FSX30HD Posted February 25, 2015 Report Share Posted February 25, 2015 Have you make an reset ACARS & CACHE in Admin part ? Quote Link to comment Share on other sites More sharing options...
Ademar Andrade Posted February 26, 2015 Author Report Share Posted February 26, 2015 ye Have you make an reset ACARS & CACHE in Admin part ? yes i did! Quote Link to comment Share on other sites More sharing options...
OA01 Posted February 26, 2015 Report Share Posted February 26, 2015 In what file does this code live??? FSX30HD says: Have you this in ACARS.php module And Ademar says: i changed ACARMAP.PHP teh code you said. But still not working.. Was this a typo or has Ademar changed the wrong file? Quote Link to comment Share on other sites More sharing options...
Ademar Andrade Posted February 26, 2015 Author Report Share Posted February 26, 2015 In what file does this code live??? FSX30HD says: And Ademar says: Was this a typo or has Ademar changed the wrong file? the file is acars.php located at core/modules/ACARS/ 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.