Jump to content

Nabeel

Administrators
  • Posts

    8142
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Nabeel


  1. Doesn't seem like there's any data being entered in FSACARS:

    PIREP FILE
    Array
    (
        [pilot] => AEAAEA0002
        [date] => 
        [time] => 
        [callsign] => 
        [reg] => 
        [origin] => 
        [dest] => 
        [alt] => 
        [equipment] => 
        [fuel] => 
        [duration] => 
        [distance] => 
        [version] => 4015
        [more] => 0
        [log] => 
        [module] => ACARS
        

     => fsacars
        [redir] => pirep
        [id] => pirep
        [icao] => 
        [pilotid] => pirep
        [action] => pirep
        [request] => fsacars
    )

    Fuel, duration, etc, all those are blank.

    Reinstall FSACARS. Use the default config given in the pilot center.

    Maybe you customized some of the options? And it's not reporting all those values.

    But there is no arrival airport, or departure entered. And not even a pilot ID.

  2. Nice idea.

    What you can do is:

    $lastreport = PIREPData::GetLastReports($pilotid, 1);
    $lastreport->arricao; // This is the airport they arrived at
    

    $pilotid is their pilot number, without the code (so 001, etc)

    If you're doing it in the profile_main.tpl, you can do:

    echo 'Your arrival apt was '.$report->arricao;
    

    Since I pull the last report to show the latest PIREP. Any other template/page you can do the above code (before this one)

  3. I would recommend against using iframes...

    For forums, they have their own skinning usually, similar to the way phpVMS is done. Might be worth looking into (usually its just adding your divs in).

    I haven't designed it for wrapping etc, so you might run into probs..

×
×
  • Create New...