Jump to content

SkilledPilotA320

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by SkilledPilotA320

  1. It should be in public_html but could also be in core/. If it's not there, then you may not have a PHP error.

    Did you only upload action.php and nothing else? Make sure the permissions on that file are set.

    I could finally find out the problem,

    i just replaced the module/ACARS/acars.php file, it seems working fine now,

    thanks a lot for your efforts in helping me.

    best regards

  2. Hello Web541,

    firstly thanks for the response,

    the local.config was correct url, there was't a /.

    Yes, the action file was missing, i re uploaded,

    i had checked the whole directory if any more files missing.

    now still the problem is't solved

  3. Hello There :)

    I now wana change my STATUS column to animated gif images, how can i do that?

    I am not getting any idea where to change the code :(

    <META HTTP-EQUIV="refresh" CONTENT="30">
    <div style="position:relative"><h1>Flight Stats</h1>
    <p style="text-align: right; position:absolute; right:5px;top:0;"><strong>Share</strong><span class='st_blogger' ></span><span class='st_twitter' ></span><span class='st_facebook' ></span><span class='st_yahoo' ></span><span class='st_email' ></span></p>
    </div>
    <img alt="" border="1" height="136" src="http://www.airindiavirtual.com/images/flightstats_pg.jpg" width="950" /></p>
    <h3>
    Live Flight Departure/Arrival Board</h3>
    <table width="100%" cellspacing="0" cellpadding="4">
    <tr class="title-row">
    <th width="105">Airline</th>
    <th width="77">
    Flight #</th>
    <!--<th width="50" " height="22" background="" class="style1"><span class="tablesorterBIS">
    <div align="center">
    Aircraft</span></th>-->
    <th width="200">Depart</th>
    <th width="200">Arrival</th>
    <th width="80">Status</th>
    </tr>
    <?php $rowCounter = 1; ?>
    <?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='#2ba600'>"; //This should set the font color to red when Taxiing.
    if($row->phasedetail == 'Landed') $font = "<font color='#FFBF00'>"; //This should set the font color to red when Taxiing.
    if($row->phasedetail == 'En Route') $font = "<font color='#2A7F00'>"; //This should set the font color to green when Cruise.
    if($row->phasedetail == 'Departed') $font = "<font color='#FF0000'>"; //This should set the font color to red when Taxiing.
    if($row->phasedetail == 'Approach') $font = "<font color='#690d0d'>"; //This should set the font color to green when Cruise.
    if($row->phasedetail == 'Arrived') $font = "<font color='#e13838'>"; //This should set the font color to red when Taxiing.
    // You can add more checks here for whatever you wish
    ?>
    <tr class="listingTable <?php if( ($rowCounter % 2) == 0 ){ echo ' evenCol'; } $rowCounter++; ?>">
    <td align="center">
    <?php
    $code = substr($row->flightnum, 0,3);
    ?>
    <img src="<?php echo fileurl('/lib/images/airlines/'.$code.'.png'); ?>" alt="<?php echo $airline->name;?>" />
    </td>
    <td align="center"><?php echo $row->flightnum;?></td>
    <!--<td align="center"><?php echo $row->aircraftname;?></td>-->
    <td align="center"><?php echo $row->depname;?></td>
    <td align="center"><?php echo $row->arrname;?></td>
    <td align="center"><?php echo $font.$row->phasedetail;?></td>
    </tr>
    <?php
    }
    }
    ?>
    </table>
    <?php
    if(!$results)
    {
    echo '<p align="center">No Online Flights Scheduled!</p>';
    return;
    }
    ?>
    
    

    New ARRIVED STATUS -

    thanks ^_^

  4. Bro, its still not working :(

    Check whether my code is correct :)

    <META HTTP-EQUIV="refresh" CONTENT="30">
    <div style="position:relative"><h1>Flight Stats</h1>
    <p style="text-align: right; position:absolute; right:5px;top:0;"><strong>Share</strong><span  class='st_blogger' ></span><span  class='st_twitter' ></span><span  class='st_facebook' ></span><span  class='st_yahoo' ></span><span  class='st_email' ></span></p>
    </div>
    <img alt="" border="1" height="136" src="http://www.airindiavirtual.com/images/flightstats_pg.jpg" width="950" /></p>
    
    <h3>
    Live Flight Departure/Arrival Board</h3>
    <table width="100%" cellspacing="0" cellpadding="4">
    <tr class="title-row">
       <th width="105">Airline</th>
       <th width="77">
      Flight #</th>
       <!--<img src="http://airindiavirtual.com/lib/skins/aivirtual/images/logo.png"><th width="50" " height="22" background="" class="style1"><span class="tablesorterBIS">
      <div align="center">
      Aircraft</span></th>-->
       <th width="200">Depart</th>
       <th width="200">Arrival</th>
       <th width="80">Status</th>
     </tr>
    <?php $rowCounter = 1; ?>
    <?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='#2ba600'>";  //This should set the font color to red when Taxiing.
    	 if($row->phasedetail == 'Landed') $font = "<font color='#FFBF00'>";  //This should set the font color to red when Taxiing.
    	 if($row->phasedetail == 'En Route')  $font = "<font color='#2A7F00'>";  //This should set the font color to green when Cruise.
    	 if($row->phasedetail == 'Departed') $font = "<font color='#FF0000'>";  //This should set the font color to red when Taxiing.
    	 if($row->phasedetail == 'Approach')  $font = "<font color='#690d0d'>";  //This should set the font color to green when Cruise.
    	 if($row->phasedetail == 'Arrived') $font = "<font color='#e13838'>";  //This should set the font color to red when Taxiing.
    																		   // You can add more checks here for whatever you wish
    	 ?>
      <tr class="listingTable <?php if( ($rowCounter % 2) == 0 ){ echo ' evenCol'; } $rowCounter++; ?>">
    	  <td align="center"><img src="<?php echo fileurl('/lib/images/airlines/'.$airline->icao.'.gif'); ?>" alt="<?php echo $airline->name;?>" /></td>
    	  <td align="center"><?php echo $row->flightnum;?></td>
    	  <!--<td align="center"><?php echo $row->aircraftname;?></td>-->
    	  <td align="center"><?php echo $row->depname;?></td>
    	  <td align="center"><?php echo $row->arrname;?></td>
    	  <td align="center"><?php echo $font.$row->phasedetail;?></td>
      </tr>
      <?php
      }
      }
    ?>
     </table>
     <?php
    if(!$results)
    {
    echo '<p align="center">No Online Flights Scheduled!</p>';
    return;
    }
    ?>
    

  5. Uhm, how about you RTFQ before jumping on something my friend. I'm not talking about the phpVMS build, the OP asked about CKeditor, which in the latest phpVMS build is running 3.0.1. So in phpVMS 2.1.934, CKeditor 3.0.1 is used.

    How can i upgrade to 3.0.1? i dont know how to,

    it will be great if u can help me ;)

  6. Hello everybody,

    I suspect couple of my VA pilots are using some tricks to edit their flight log recorded by kACARS before filing PIREPs to servers. There is a guy who used to have super bad landing rates & too many over-speeds in his flight log. He was very desperate to get in Top 10 Landing List. All of the sudden he began reporting absolutely perfect PIREP with no over-speed, no sim-paused & landing rates always below -100fpm. Now he tops in landing list with -14fpm & 4th spot with -20fpm. Me & many of my VA members suspect if he is using some tricks to edit his flight log before filing PIREPs. We decided to perform research on internet & one of our loyal member found similar tricks can be done.

    I hate cheaters & hence deactivated manual PIREP option. Since I dont have strong proof against him, I cannot take any action. If I kick him out without any genuine reason (without proving his guilt), it'll be unfair from general public point of view.

    My question, is there any method to identify fake/edited kACARS PIREP? I know its not possible to do so yet, but there must be some provisions to bust such cheating acts. I'm not an software expert, but wonder maybe the upcoming versions of kACARS or any other software could be equipped to be able to identify & automatically refuse fake/edited PIREPs to be sent to servers. I've discussed this to one of my software developer friend & he confirmed that its possible to make such provision, but then the working system will be highly modified & different than how it is now.

    Kind Regards,

    Afsal Zain.

×
×
  • Create New...