Jump to content

Jacques

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Jacques's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Hi, great module +5! but when i upload more than 8 screenshots you will get more pages... when i press page 2 ill get this message: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Screenshots' does not have a method 'screenshots' in /volume1/web/phpvms/core/classes/MainController.class.php on line 218 i've tryed reinstalling the module but without any help.. thanx, Jacques Edit: Strange when i rebooted my pc the bugg was gone :-) great app!!
  2. So the site can make a config file for kAcars, just like for fspax, fs acars, only that programs don't need passwords i guess..
  3. ah okay, thank you for the response.
  4. Hello, Could Some one provide me the code to echo the password for the signed in pilot, for creation of kAcars config file. pilot id was: <?php echo $pilotcode?> is there some same code but, for the password? greetz, Jacques
  5. Hi Jakes, I think the landing rate needs to come from the pirep sending. and than change the cond. line in the aircraft sql. i think thats the way but i dont know the code for it.... so after receiving a pirep (and accept it?) than it should alter the cond line witch come with this pakkage.. Greets
  6. Hello, also works fine for me verry nice app! but i dont see any aircraft typs in the pull down menu.. any id? thanks edit: never mind found the problem in FuelCalculatorData.class.php, the link was not correct for my sql database..
  7. Hello, I'm trying to create a code that alter the condition of the aircraft when a pirep is been submitted. it looks to the landing rate, so when the landing rate is below 200 than 0.5% off the condition. when a landing rate is higher than 200 than 2% of condition. when a landing rate is higher than 500 than 50% off condition. so far i have: $pos = find_in_fsacars_log('TouchDown:Rate', $log); $landingrate = str_replace('TouchDown:Rate', '', $log[$pos]); $count = preg_match('/([0-9]*:[0-9]*).*([-+]\d*).*/i', $landingrate, $matches); if($count > 0) { PIREPData::editPIREPFields($report->pirepid, array('landingrate' => $matches[2])); } PIREPData::AppendToLog($report->pirepid, $_GET['log']); if ($count < -200) { aircraftdata::editaircraftfields($report->pirepid, array('cond' => $matches[100-0,5])) } if ($count > -200) { aircraftdata::editaircraftfields($report->pirepid, array('cond' => $matches[100-2])) } if ($count > -500) { aircraftdata::editaircraftfields($report->pirepid, array('cond' => $matches[100-50])) } the most is from the fsacars config file could anyone help me with this? thanx! grtz, Jacques
  8. Hi Nighthawk, i like the module! i installed the buy module its working fine! but how's the condition module working? i tryed to write it myself but dont get any futher. i hope its going the right way if i can help with somting please say it! grtz.
×
×
  • Create New...