Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Ah ok, thanks for confirming. It'll be up shortly
  2. What version of PHP are you running?
  3. Did you upload completely? Try uploading again. Which page did you visit? Need more details
  4. Hey, thanks The first two are known issues, thanks for reminding me: http://bugs.phpvms.net/ticket/54 http://bugs.phpvms.net/ticket/55 Translate? Well, you can edit the front-end templates for a translation. The backend, well, not yet, and probably won't be for a while. I started to do a translation interface, but just haven't had the time to complete it, so it probably won't be done for this release.
  5. What version are you on?
  6. Revision 803: Event/ACARs updates, backend updates22 November 2009, 6:26 pmEvent/ACARs updates, backend updatesSource: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  7. Dave, it will basically be an event listener for "refresh_acars". This will work with the next beta: <?php class test extends CodonModule { public function __construct() { parent::__construct(); CodonEvent::addListener('test'); } public function EventListener($eventinfo) { if($eventinfo[0] == 'refresh_acars') { // This gets the current instance of the ACARS controller so we can // manipulate it $acars = MainController::getInstance('ACARS'); //$acars->acarsflights This has all of the ACARS flights currently // This presumabley would be in a loop //foreach($flight as $flight) //{ // Populate this array below with all of the data we need // Ignore the fields in it right now, I just pulled it from the acars now $acarsflight = array('pilotid'=>$pilotid, 'flightnum'=>$_GET['IATA'], 'pilotname'=>'', 'aircraft'=>$_GET['Regist'], 'lat'=>$_GET['lat'], 'lng'=>$_GET['long'], 'heading'=>'', 'alt'=>$_GET['Alt'], 'gs'=>$_GET['GS'], 'depicao'=>$_GET['depaptICAO'], 'depapt'=>$_GET['depapt'], 'arricao'=>$_GET['destaptICAO'], 'arrapt'=>$_GET['destapt'], 'deptime'=>'', 'arrtime'=>'', 'distremain'=>$_GET['disdestapt'], 'timeremaining'=>$_GET['timedestapt'], 'phasedetail'=>$phase_detail[$_GET['detailph']], 'online'=>$_GET['Online'], 'client'=>'FSACARS'); // Now add the above data structure to our total acars flights $acars->acarsflights[] = $acarsflight; //} // end loop } } }
  8. Ah vaCentral error. Thanks, I'll fix that Did PIREP go through?
  9. Yeah, there's only one template, that gives FSFK the download instructions for the other templates, so it's automatic. It's actually kinda cool, if you edit that one template, it will also automatically update that one Follow these first: http://docs.phpvms.net/using_fsfk FSFK is a little different to setup. See if that works.
  10. Fixed a few bugs, upto 802 now. Problem was basically if the code wasn't entered with the flight number, then it wouldn't return split the number properly. It's all there
  11. Revision 802: fixed #47 FSPAX/FSACARS bug fix22 November 2009, 12:28 pmfixed #47 FSPAX/FSACARS bug fixSource: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  12. The slash won't matter. Check the permissions on the file
  13. Revision 801: fixed #47 FSPAX/FSACARS fixed22 November 2009, 11:14 amfixed #47 FSPAX/FSACARS fixedSource: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  14. There were a few errors which I fixed in 800. Can you try doing a fsacars flight against the dev site? http://dev.phpvms.net Short, just a quick flight. Let me know if that works
  15. 800 still didnt work? Hmm xacars is only in betas. Which files did you replace?
  16. I usually do 775 so only the web user has them writable, and then make the file owners as the web user (in my case, www-data).
  17. Ahh that's a bug, you know what to do
  18. Revision 800: refs #47 removed debugging data, refs #8 added fsacars unittest21 November 2009, 9:09 pmrefs #47 removed debugging data, refs #8 added fsacars unittestSource: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  19. Revision 799: refs #47 fsacars/fspax, acars data bug fix21 November 2009, 9:07 pmrefs #47 fsacars/fspax, acars data bug fixSource: Revisions of /Download from http://downloads.phpvms.net/phpvms.beta.zip
  20. Ok commit going up, hopefully that fixes it?
  21. Looks like there some problem when there's large logs. I'm looking into it. Not sure why this became a problem now :-
×
×
  • Create New...