Jump to content

Angel Air

Members
  • Posts

    252
  • Joined

  • Last visited

Posts posted by Angel Air

  1. What do you mean bid on the flight? Is this for the Free version of kACARS? Please explain exactly what you are doing and what does not happen. I am a bit confused now.

    Sorry I meant "get bid info" and they all worked but now only some of the schedules show in kACARS when you "get flight bid info"

    This is in the free version.

    hope that makes more sense.

    Scott

  2. What are the flight numbers? I remember someone having a problem because they used a strange config for the flight numbers. Cant remember what the problem was though.

    the flight numbers run from 1001 all the way to 1107 I was able to bid on all the flights but not now not sure what is going on.

    Scott

  3. Hi,

    I am running the latest version of kACARS but I am having a problem, it can't seem to find some of my routes.

    I can log in to my website

    The route is added to bid

    I can connect to FS

    But on a alot of the routes when you tell kACARS to "get bid info" it says "No Flight Found"

    any ideas?

    Thanks

    Scott

  4. yes to all of the above.

    I have managed to get it working I just have to make sure all of my pilots are able to do the same.

    Not sure why it did not work the first time but it works now.

    Thanks for your help anyway.

    Scott

  5. No the free should work. It was working on my test site.

    I will check and see if there is something that I missed.

    Ok thanks for your time and trouble, in the mean time I have now reverted back to 1.0.0.9 but I am now getting the same problem with that version aswell.

    Scott

  6. Check the settings. Is the "Search by Flight#" checked?

    Hi Lorathon,

    Sorry for the double post.

    I do not have the "search by flight #" checked and I still can not get it to pass the infomation.

    Any other ideas?

    If I was to have the custom version of kACARS would that make a difference?

    Regards

    Scott

  7. Hi,

    I have upgraded the module and the program.

    I am now getting error "No Flight Found" when I click on "Get Flight Bid Info"

    Not sure what the problem is any help would be appreciated.

    Thanks

    Scott

  8. I have tried 2 different banner rotators and neither have worked. I am sick and tired of looking and testing and ultimately failing. Anyone got a code? I know lots of you have banner rotators at the top of your pages...

    Hi,

    If you mean Flash or a GIF image?

    Then I use this program http://www.aleosoft.com/flash-intro-banner-maker/index.html I have mine set using GIF images I have not sussed out how to use Flash but hope this helps.

    Regards

    Scott

  9. Hi,

    Here is the code I am using to display Recent Reports How do I get the flight number to be clickable to show the filed PIREP.

     <?php
    $count = 5;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
     <table width="625" border="1" cellspacing="2" cellpadding="2">
       <tdead>
         <tr class="recent">
           <td><strong>Flight No</strong></td>
           <td><strong>Departure</strong></td>
           <td><strong>Arrival</strong></td>
           <td><strong>Duration</strong></td>
           <td><strong>Pilot</strong></td>
           <td><strong>Status</strong></td>
           </tr>
         </tdead>
       <tbody>
    
         <?php
    
    if(count($pireps) > 0)
    {
     foreach ($pireps as $pirep)
     {
     {
           $pilotinfo = PilotData::getPilotData($pirep->pilotid);
           $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
    
           if($pirep->accepted == '0') $status = 'REJECTED';
           if($pirep->accepted == '1') $status = 'ACCEPTED';
           else $status = 'PENDING'; 
    } 
    ?>
         <tr>
           <td><?php echo $pirep->code.$pirep->flightnum; ?></td>
           <td><?php echo $pirep->depicao; ?></td>
           <td><?php echo $pirep->arricao; ?></td>
           <td><?php echo $pirep->flighttime; ?></td>
           <td><?php echo $pilotinfo->firstname.' '.$pilotinfo->lastname; ?></td>
           <td><?php
    
                   if($pirep->accepted == PIREP_ACCEPTED)
                           echo '<span style="color:#347C17"><strong>Accepted</strong></span>';
                   elseif($pirep->accepted == PIREP_REJECTED)
                           echo '<span style="color:#FF0000"><strong>Rejected</strong></span>';
                   elseif($pirep->accepted == PIREP_PENDING)
                           echo '<span style="color:#E56717"><strong>Approval Pending</strong></span>';
                   elseif($pirep->accepted == PIREP_INPROGRESS)
                           echo '<span style="color:#whatever">Flight in Progress</span>';
                           ?>
           </td>
         </tr>
         <?php
    }}
    else
    {
           echo '<tr><td>There are no recent flights!</td></tr>';
    }
    ?>
        </tbody>
     </table>
    </div>
    <hr />

    Thanks

    Scott

  10. With link to pirep report on flight number.

    <?php
    $count = 5;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
    
    <table>
      <thead>
        <tr>
          <th>Flight #</th>
          <th>Departure</th>
          <th>Arrival</th>
          <th>Duration</th>
          <th>Pilot</th>
          <th>Status</th>
        </tr>
       </thead>
       <tbody>
    
    <?php
    
    if(count($pireps) > 0)
    {
     foreach ($pireps as $pirep)
     {
       $pilotinfo = PilotData::getPilotData($pirep->pilotid);
       $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
    
       if($pirep->accepted == '0') $status = 'PENDING';
       if($pirep->accepted == '1') $status = 'ACCEPTED';
       else $status = 'REJECTED'; 
    
       echo '<tr>';
       echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td>';
       echo '<td>'.$pirep->depicao.'</td>';
       echo '<td>'.$pirep->arricao.'</td>';
       echo '<td>'.$pirep->flighttime.'</td>';
       echo '<td>'.$pilotid.' '.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</td>';
       echo '<td>'.$status.'</td>';
       echo '</tr>';
     }
    }
    else
    {
       echo '<tr><td>There are no recent flights!</td></tr>';
    }
    ?>
      </tbody>
    </table>
    

    Hi,

    Thanks for the code it works great.

    but I could do with knowing how to change the colour of the:-

    "ACCEPTED" to Green

    "REJECTED" to RED

    "PENDING" to Amber

    Any help would be appreciated.

    Thanks

    Scott

  11. Hi all,

    Keep getting this error all uploaded to correct files not sure what to do any help will be appreciated I am using kACARS so I know the landing rate is there.

    here is the error

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\lib\skins\detachable\frontpage_main.tpl on line 33

    I can link to the landing rates when I use http://www.angelairva.co.uk/index.php/Touchdownstats

    But I just can not get it to show on the Frontpage.

    here is the code I am putting on my Frontpage.TPL

    <?php
    //simpilotgroup addon module for phpVMS virtual airline system
    //
    //simpilotgroup addon modules are licenced under the following license:
    //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
    //To view full license text visit http://creativecommons.org/licenses/by-nc-sa/3.0/
    //
    //@author David Clark (simpilot)
    //@copyright Copyright (c) 2009-2010, David Clark
    //@license http://creativecommons.org/licenses/by-nc-sa/3.0/
    ?>
    <table width="100%" border="1px">
       <tr>
           <td>Pilot</td>
           <td>Aircraft</td>
           <td>Arrival Field</td>
           <td>Landing Rate</td>
           <td>Date Posted</td>
       </tr>
    <?php
       foreach($stats as $stat)
       {
           $pilot = PilotData::getPilotData($stat->pilotid);
           $aircraft = OperationsData::getAircraftInfo($stat->aircraft);
           echo '<tr>';
           echo '<td>'.PilotData::getPilotCode($pilot->code, $pilot->pilotid).' - '.$pilot->firstname.' '.$pilot->lastname.'</td>';
           echo '<td>'.$aircraft->fullname.'</td>';
           echo '<td>'.$stat->arricao.'</td>';
           echo '<td>'.$stat->landingrate.'</td>';
           echo '<td>'.date(DATE_FORMAT, strtotime($stat->submitdate)).'</td>';
           echo '</tr>';
       }
    ?>
    </table></p>

    Thanks in advance

    Scott

  12. Hi all,

    Would you believe it we have managed to make it through to 6 months old with 20 pilots and regular pireps being filed.

    It has taken alot of hard work on my part as I am sure you are all fully aware as you own your own VA's!!!!

    My aim was to have a good quality flying group and I think we have achieved that with some success.

    The website and the VA as a whole will keep on evolving as time passes but we are fast approaching our 100th flight for the VA and this marks a pretty large milestone for me as just a few months ago I was struggling to get pilots.

    I am pleased to see that we have got over that hurdle and things are moving on.

    We have also out sourced our repaints to someone shall we say more capable than myself and I am sure you will agree the results speak for themselves see img.

    New repaint image.jpg

    anyway check out the website and let me know your thoughts (please keep in mind that it is still very much a work in progress)

  13. Hi all,

    I was wondering if it is possible to change the my VA's ICAO code it is currently ANG and I need to change it to NGE.

    Anyone know how to do this?

    The only reason I wish to change the code is because I was doing one of our scheduled flights on Vatsim when a controller sent me a message telling me that for my airline my code should be NGE to be the same as the realworld airline.

    As I was using ANGELAIR01 as my callsign which is not very professional.

    Any help would be great.

    Thanks

    Scott

  14. Even if i didnt want a server i would have been more that happy to help, after i got a server it was working fine. Let me remind you... who got you ServerQuery ? ME !!! Most of your facts are wrong so please correct them

    I never said anything about server admin so therefor my facts are correct but like I said before my server was running fine before I had server admin query the fact that you enabled it is redundant. I could still do everything that I needed to do on the server.

    And again all of my facts are correct if you wish to challenge me then tell me which facts I have got wrong.

    • Like 1
  15. Well you are just rude and unprofessional!!!

    You asked me to host your Teamspeak server which I have done for a month or so (although there have been problems with IP Addresses).

    I know look at your website to dicover you are NOT using me to host it anymore.

    That is fine but the very least you could have done is come and tell me you do not require my services anymore.

    You are young and very imature and very unprofessional I hope that others read this and choose to use Mark's VA instead of yours.

    By doing what you have done just proves that you are NOT Trust worthy.

    If you are willing to do this to someone who was willing to help you free of charge what will you do to your pilots.

    That is all I have to say on the matter.

    Scott

    • Like 4
  16. Hi all,

    Had this running for quite some time now works great!!

    Apart from one small little niggle....

    When a pilot signs up for the event it shows the pilot registered 3 times in the admin section why is this?

    Also shows the same thing in the event details like this....

    event problem.jpg

    Thanks in advance

    Scott

×
×
  • Create New...