Jump to content

B737Pilot

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by B737Pilot

  1. Hi, and thanks for sharing this great addon, i really appreciate your work. however, I have one question, I want to add RWY lenght and ILS frequencies for each runway, I guess to make it show up in your addon, i have to figure out how to add column to "add a new airport" in Admin panel section, and then just paste the code from there to airport_info.tpl, but as i am total noob in coding i would appreciate if someone could help me in this.

    Thanks.

  2. Hello, in my VA i want to display flightplan in this format bellow:

    (FPL-BTI6G1-IS
    -B733/M-SPRWY/S
    -EVRA1206
    -N0424F360 VALED UM869 LEP UM864 NINTA M864 KOLJA M611 LANGO T502 ALASA UT502 DEGUL UN872 PAM UL980 REFSO UY76 KOPUL
    -EGKK0243 EGLL
    -EET/EYVL0030 ESAA0034 EKDK0111 EDWW0128 EHAA0150 EGTT0226
    REG/YLBBK OPR/AIRBALTIC DOF/110525 RVR/200 ORGN/EVRABTIO)

    cause this is the way they are displayed in real life crew briefings, but when i insert this type of flightplan in route, in briefing it looks like this:

    post-1961-046896600 1306321882_thumb.png

    For some reason it inserts "RN" in places where line break is. So the question is how to remove that and let it to display the flpln in the same format it was entered in the system?

    Thanks a lot!

  3. Hello, i know that there has been topics related to this but i couldn't find any valuable information.

    So basicly what i need for my VA is to determine pilot's location and allow him to book only flights available from his current location, for example pilot flies from EGKK to EVRA, phpvms will show only flights from EVRA. I know that other airlines under phpvms has managed to do that.

    Thanks

  4. In your local.config file, find where it says Config::Set('DISABLE_BIDS_ON_BID', false); and change the false to true, that will disable the flight from being bidded on by other pilots until the flight has been flown.

    He's asking for aircraft locations i think, for example if i have aircraft YL-BBJ (<--Reg number of the a/c) and its last flight was EVRA-EGKK, then it can be only booked and flown from its current location (EGKK) not from other locations.

  5. Ok, i made it

    <style type="text/css">

    <!--

    .style1 {

    color: #001256;

    font-weight: bold;

    }

    .style2 {

    color: #000000;

    font-size: 18px;

    }

    .tablesorter {

    color: #FFF;

    }

    .tablesorterb {

    color: #FFF;

    }

    .tablesorterBIS {

    color: #FFFFFF;

    }

    .tablesorter .style1 .tablesorter {

    color: #000;

    }

    .tablesorter tbody tr .tablesorter {

    color: #000;

    }

    .tablesorter tbody .tablesorter .style2 {

    font-size: 12px;

    }

    .tablesorter tbody .tablesorter .style2 {

    color: #0F0;

    }

    .tablesorter tbody .tablesorter .style2 {

    color: #000;

    }

    .Style3 {

    font-size: 18px;

    }

    -->

    </style>

    <h3 style="text-align: center;">Departures/Arrivals</h3>

    <table width="500" class="tablesorter">

    <tr>

    <th width="105" " height="22" background="" class="style1"><span class="tablesorterBIS">

    <div align="center" class="style1">

    Pilot in Command</span></th>

    <th width="77" " height="22" background="" class="style1"><span class="tablesorterBIS">

    <div align="center" class="style1">

    Callsign</span></th>

    <th width="57" " height="22" background="" class="style1"><span class="tablesorterBIS">

    <div align="center" class="style1">

    Departure</span></th>

    <th width="61" " height="22" background="" class="style1"><span class="tablesorterBIS">

    <div align="center" class="style1">

    Destination</span></th>

    <th width="90" " height="22" background="" class="style1"><span class="tablesorterBIS">

    <div align="center" class="style1">

    Equipment</span></th>

    <th width="176" " height="22" background="" class="style1"><span class="tablesorterBIS">

    <div align="center" class="style1">

    Phase</span></th>

    </tr>

    <?php

    $results = ACARSData::GetACARSData();

    if (count($results) > 0)

    {

    foreach($results as $row)

    {

    $font = "<font color=''>"; // Standard font color if nothing below is TRUE

    if($row->phasedetail == 'Boarding') $font = "<font color='#2A00FF'>"; //This should set the font color to red when Taxiing.

    if($row->phasedetail == 'Taxiing') $font = "<font color='#FFBF00'>"; //This should set the font color to red when Taxiing.

    if($row->phasedetail == 'Cruise') $font = "<font color='#2A7F00'>"; //This should set the font color to green when Cruise.

    if($row->phasedetail == 'Climbing') $font = "<font color='#FF0000'>"; //This should set the font color to red when Taxiing.

    if($row->phasedetail == 'Descending') $font = "<font color='#FF0000'>"; //This should set the font color to green when Cruise.

    if($row->phasedetail == 'Landed') $font = "<font color='#551F00'>"; //This should set the font color to red when Taxiing.

    // You can add more checks here for whatever you wish

    ?>

    <tr class="tablesorter">

    <td align="center" bgcolor="#CDDA32" class="style2" style="color: #000000"><?php echo $row->pilotname;?></td>

    <td align="center" bgcolor="#CDDA32" class="style2" style="color: #000000"><?php echo $row->flightnum;?></td>

    <td align="center" bgcolor="#CDDA32" class="style2" style="color: #000000"><?php echo $row->depicao;?></td>

    <td align="center" bgcolor="#CDDA32" class="style2" style="color: #000000"><?php echo $row->arricao;?></td>

    <td align="center" bgcolor="#CDDA32" class="style2" style="color: #000000"><?php echo $row->aircraftname;?></td>

    <td align="center" bgcolor="#CDDA32" class="style2" style="color: #000000"><?php echo $font.$row->phasedetail;?></td>

    </tr>

    <?php

    }

    }

    ?>

    </table>

    <?php

    if(!$results)

    {

    echo'<p align="center">No Live Flights !!!</p>';

    return;

    }

    ?>

    here is working code for flight board :)

  6. I have checked your code but Still no result BRO i have did little research on this i have noticed when i have gone to phpmyadmin in phpvms_schedules there are some rows and under aircraft row it was just showing text like 1,13,15,12 not showing aircraft names or not either REG number and when i have pasted your given code

    <td align="center"><font color="#010854"><?php echo $flight->aircraftname;?> <?php echo $flight->aircraft;?></td>

    it was just showing Digit 1 under Aircraft Row on my front page flight board here are some reference pics for you?

    2.gif

    1.gif

    AWaiting..........

    looks like you are using other flight board from other post, cause this one looks very different from the your picture..

    • Like 1
×
×
  • Create New...