Jump to content

Strider

Members
  • Posts

    1824
  • Joined

  • Last visited

  • Days Won

    53

Posts posted by Strider

  1. Hello all, Global Air Cargo Virtual is looking for pilots, GACV is based in Hong Kong, Guangzhou and Los Angeles, we operate the 757-200F, 767-300F, 747-400F and the 777-200LRF(from KLAX only) We have plans on putting some 777F's at VHHH. We have an extensive route network and have a friendly environment for you to fly. We do not require you to fly online, but would like all to use either FSACARS, XACARS or FSFK. We will soon have the MD-11F for routes from KLAX only.

    To get to the site please click here

    Regards

    Daniel Counahan

    CEO of

    Global Air Cargo Virtual

  2. You would possibly have to edit fsacars or another acars program to be able to set the parameters, but fsacars, seeing that it is not being made anymore will be hard to edit as I don't think it has the source coee, unless there is an SDK available for it. But on the code side not too hard, an if else statement in the pirep code should do the trick.

    Cheers

    Dan C

  3. if($pilot->retired == 1)
    {
    // theyre inactive
    }
    else
    {
    // theyre active
    }

    for some reason I found that nabeel's code got it wrong, and my active pilots were shown to be inactive when they were active. I have put the fix up. But you can try both ways and see what works for you.

    Cheers

    Dan C

  4. <?php
     if($pilot == inactive)
    {
    	echo '<img src="'.SITE_URL.'/lib/skins/cargo/images/inactive.png" width="150" height="58" alt="inactive">';
    }
    
    
     else
    {
    	echo '<img src="'.SITE_URL.'/lib/skins/cargo/images/active.png" width="150" height="58" alt="active">';
    }
    ?>

    That is the code i used, should be fine, as it shows the active, but only at the bottom of each hubs roster.

    Cheers

    Dan C

  5. if($pilot == inactive)

    {

    //Show this badge

    }

    else

    {

    //Show this badge

    }

    }

    if($pilot == inactive)
    {
    //Show this badge
    }
    else
    {
    //Show this badge
    }
    

    took out the extra }

    i have it in my site, it works, but only for the bottom pilot of each table. How could i fix this?

    Cheers

    Dan C

  6. Uncomment lines 267 thru 271 in your Auth.class.php file and it will disable logins for retired pilots.

    Only problem with that is that when they want to re fly they wont be allowed login, thus they will not return as they will have to email the CEO or other staff member and get them to change their status, and it is not a quick way, so they will leave the VA and move on.

    Cheers

    Dan C

  7. No, as it is set up so that you have final say if the pirep should be approved or not, as auto approving pireps has its flaws, main flaw is that people can fake the pireps and go on an hour climbing rampage.

    Cheers

    Dan C

×
×
  • Create New...