Administrators Nabeel Posted November 20, 2009 Administrators Report Posted November 20, 2009 Implemented into build 796, test it out Quote
TAV1702 Posted November 20, 2009 Report Posted November 20, 2009 I have the new beta. Is the code supplied on the first page here still needed to call up the info on ones site? Or is it default now. Just curious as I am not seeing it anywhere other than where I added it allready. Now just to get it to update on recalcs and all will be good to go. ;-) Quote
Administrators Nabeel Posted November 20, 2009 Administrators Report Posted November 20, 2009 I did not include the front-page code, just the admin panel. Quote
vicente Posted December 4, 2009 Report Posted December 4, 2009 Hey i'm a braziliam i have the Voe Tam Virtual the biggest airlines hear in Brazil [www.voetamvirtual.net] Where I can find the download of this script? Thanks. Quote
Administrators simpilot Posted December 4, 2009 Author Administrators Report Posted December 4, 2009 At the beginning of the thread.... And I beleieve it has not been implemented into the beta. Quote
vicente Posted December 5, 2009 Report Posted December 5, 2009 So i have to buy the system to have all the modules ? Quote
flyalaska Posted December 5, 2009 Report Posted December 5, 2009 So i have to buy the system to have all the modules ? Its free Quote
vicente Posted December 5, 2009 Report Posted December 5, 2009 but where i can find the Landing module ? Quote
vicente Posted December 5, 2009 Report Posted December 5, 2009 Hey sorry i already find and i already use the module. It's perfect congratulations!!! http://voetamvirtual.net/virtualairline/ Quote
vicente Posted December 7, 2009 Report Posted December 7, 2009 People have times when the system get the touch down and have some flight when he doesn't get the touch down someone can help me please ? Quote
Administrators Nabeel Posted December 8, 2009 Administrators Report Posted December 8, 2009 Only FSACARS will have the touchdown rate Quote
vicente Posted December 8, 2009 Report Posted December 8, 2009 Yes i know i'm using the FSACARS in my virtual airline. Quote
Administrators simpilot Posted December 8, 2009 Author Administrators Report Posted December 8, 2009 People have times when the system get the touch down and have some flight when he doesn't get the touch down someone can help me please ? If it producing any errors? what version phpVMS? Quote
gosox116 Posted January 10, 2010 Report Posted January 10, 2010 I have the new 2.85. From step one, how can I get a greased landings box on my homepage? Thanks!! Quote
gosox116 Posted January 11, 2010 Report Posted January 11, 2010 Never mind! I got it working perfectly on my homepage. Thanks a ton, Dave! Quote
Moderators mark1million Posted January 12, 2010 Moderators Report Posted January 12, 2010 Nabeel, Currently this only populates when using fsacars, can data from fspax be used as well as the other acars programs? Quote
hjhjhgjgjh Posted January 13, 2010 Report Posted January 13, 2010 i think the answer was no (on some page) Quote
Moderators mark1million Posted January 13, 2010 Moderators Report Posted January 13, 2010 The data is there it just needs coding to insert in in to the db, even manual entries work if you put a figure in to that table in the db, but my limited knowledge of coding its way above my head Quote
Administrators Nabeel Posted January 13, 2010 Administrators Report Posted January 13, 2010 It does pull the data from fspax and fsfk, yes. Quote
Moderators mark1million Posted January 13, 2010 Moderators Report Posted January 13, 2010 Hi Nabeel, it doesn't seem to populate the new table when files through fspax, ill try again later may well be me. its listed in the admin page but no data is in the table. Quote
Moderators mark1million Posted January 13, 2010 Moderators Report Posted January 13, 2010 I see whats its doing this add on is taking the data from a new row named landing_stat as you said you already have this information for all pireps in the landingrate row, so i suppose its just a case of pulling that data from that row instead of the newly created one. Im not to cleaver with code but ill try and have a bash with this one Quote
Administrators Nabeel Posted January 14, 2010 Administrators Report Posted January 14, 2010 It should be populating in the landingrate column. I think this addon needs to be updated. Just change instances of 'landing_stat' to 'landingrate' Quote
Moderators mark1million Posted January 14, 2010 Moderators Report Posted January 14, 2010 Thanks that worked. Quote
TennShadow Posted January 24, 2010 Report Posted January 24, 2010 Hi, I installed this and have it working but for some reason the aircraft column is blank. I have this code in my lstats.tpl <center> <table> <tr> <td>Pilot</td> <td>Arrival Field</td> <td>Aircraft</td> <td>Touchdown Rate</td> </tr> <?php foreach ($lstats as $row) { echo '<tr><td><b>'; $pilot = PilotData::GetPilotData($row->pilotid); echo $pilot->firstname.' '.$pilot->lastname; echo '</b></td>'; echo '<td><b>'; echo $row->arricao; echo '</b></td><td>'; echo '<b>'; $aircraft2 = OperationsData::GetAircraftInfo($row->aircraft); echo $aircraft2->name; echo '</b></td><td>'; echo '<b>'; echo $row->landing_stat; echo ' ft/min'; echo '</b></td></tr>'; } ?> </table> </center> Any ideas on how to fix this? Quote
Administrators simpilot Posted January 24, 2010 Author Administrators Report Posted January 24, 2010 Just tried it on my test site and seems to work. Try putting a print_r($row); after the first bracket in the foreach and see if there is any value set for the [aircraft] section. Quote
TennShadow Posted January 24, 2010 Report Posted January 24, 2010 This is the output I got. I don't see anything for aircraft. stdClass Object ( [pirepid] => 15 [pilotid] => 1 [code] => PVA [arricao] => KPHL [landingrate] => -112.61 ) stdClass Object ( [pirepid] => 13 [pilotid] => 1 [code] => PVA [arricao] => KPHL [landingrate] => -121 ) stdClass Object ( [pirepid] => 14 [pilotid] => 4 [code] => PVA [arricao] => KIND [landingrate] => -143 ) stdClass Object ( [pirepid] => 17 [pilotid] => 4 [code] => PVA [arricao] => KPHL [landingrate] => -383.85 ) Quote
Administrators simpilot Posted January 24, 2010 Author Administrators Report Posted January 24, 2010 Looks like you are using the original LandingStatsData.php file. Open it up and find line 8 $query = "SELECT pirepid, pilotid, code, arricao, landing_stat and change it to $query = "SELECT * That will bring all the fields back and the aircraft variable should be there. 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.