Jump to content

Taran

Members
  • Posts

    204
  • Joined

  • Last visited

Posts posted by Taran

  1. Along with the new year, the new President Trump, and the new 2017! We bring to you Seattle Virtual Airlines, ZSEVA! Our launch date is January 1st, 2017!

    At ZSEVA we strive to bring the best environment to all! With a friendly staff team and great community. We fly anything, anywhere, anytime. Our ACARS system doesn't hold you to just the routes in our system, in fact, we don't have any... why? Because the pilots create the routes! That's right we use our charter flight system which allows you to fly to and from ANY airport, just input yourself in the ACARS and it tracks and logs it for you!

    Our fleet consists of any plane you can think of because after every 10 flight hours, a pilot may request a new aircraft to be added to the system!

    This VA is ran by its pilots because without them, there would be no Seattle Virtual Airlines!

    We will become a VATSIM Certified ATO, and are partners with VATUSA's vZSE ARTCC!

    Along with all this comes A LOT of work on our staff so to thank the staff for all their hard work we repay them with a payware product of their choice (within a set budget) every 6 months! This is paid for in full by me, Taran Salyers, the CEO!

     

    To join simply click here

     

  2. I'm back again, but still having the issue. I've double checked and everything looks like it is installed in the correct location. There is one folder called charter in core/, a folder called Charter in core/modules/, a folder called charter in core/templates/, and the last is charter in lib/images/. The only other thing I can think of is that I don't have any flights yet. Could that be causing this?

    I've also attached a screenshot of the webpage.

    post-45765-0-37952900-1421021231_thumb.jpg

    I'm saving this same issue...

  3. How can I set it up to where pilots can create their own routes? Like Canadian Xpress, you put in the departure and arrival and select the aircraft from their fleet you want to fly. You don't have to book a flight and the airline doesn't have to have it set as a particular flight..... Can someone tell me how?

  4. slider1_in.jpg

    Legacy Airlines is proud to announce that we will be launching this Friday, 10-17-15!

    We pride ourselves on giving our pilots the freedom of flying wherever they wish. We also allow pilots to fly aircraft in our fleet on any route! We let pilots request aircraft for us to add to our fleet.

    We have an active teamspeak server that allows our pilots to interact with other pilots and our amazing staff team!

    Legacy Airlines will also soon become a partner and ATO with VATSIM!

    Come on and check us out at: http://legacyairlines.org

    Thank You,

    Taran Salyers,

    Legacy Airlines-CEO

    ceo@legacyairlines.org

  5. Hi

    I have installed this module and it pulls the figures great but its just in plain text format? the table does not show like in your pictures? any way to fix this?

    Capture_zps096ste67.png

    Thanks

    Martin

    Kyle,

    Thanks for making this module and distributing it. For those that are not getting a table to enclose their data, use <table width="100%" border="1px" align="center"> in your index.tpl where <table align="center" is.

    There's 6 of these to change

    • Like 1
  6. From the schedules_results.tpl in your skin I took the code below and added it to the one from the main core/templates folder and it works. Just change the code in the one in skin or follow the instructions.

    <style>
       .bg{
        background-color: #ffffff;
        margin-left: 200px;
        margin-right: 200px; 
        border-bottom-color: aqua;
       }
       a{
       color:#212121;
       }
    </style>
    <div class="bg">
    

    New schedules_results.tpl code:

    <style>
       .bg{
        background-color: #ffffff;
        margin-left: 200px;
        margin-right: 200px; 
        border-bottom-color: aqua;
       }
       a{
       color:#212121;
       }
    </style>
    <div class="bg">
    <?php
    if(!$allroutes)
    {
    echo '<p align="center">No routes have been found!</p>';
    return;
    }
    ?>
    <table id="tabledlist" class="tablesorter">
    <thead>
    <tr>
    <th>Flight Info</th>
    <th>Options</th>
    </tr>
    </thead>
    <tbody>
    <?php
    foreach($allroutes as $route)
    {
    
    /* Uncomment this code if you want only schedules which are from the last PIREP that
     pilot filed */
    /*if(Auth::LoggedIn())
    {
     $search = array(
      'p.pilotid' => Auth::$userinfo->pilotid,
      'p.accepted' => PIREP_ACCEPTED
     );
    
     $reports = PIREPData::findPIREPS($search, 1); // return only one
    
     if(is_object($reports))
     {
      # IF the arrival airport doesn't match the departure airport
      if($reports->arricao != $route->depicao)
      {
       continue;
      }
     }
    }*/
    
    /*
    Skip over a route if it's not for this day of week
    Left this here, so it can be omitted if your VA
     doesn't use this.
    
    Comment out these two lines if you don't want to.
    */
    
    /* Check if a 7 is being used for Sunday, since PHP
     thinks 0 is Sunday */
    $route->daysofweek = str_replace('7', '0', $route->daysofweek);
    
    if(strpos($route->daysofweek, date('w')) === false)
     continue;
    
    /* END DAY OF WEEK CHECK */
    
    
    
    /*
    This will skip over a schedule if it's been bid on
    This only runs if the below setting is enabled
    
    If you don't want it to skip, then comment out
    this code below by adding // in front of each
    line until the END DISABLE SCHEDULE comment below
    
    If you do that, and want to show some text when
    it's been bid on, see the comment below
    */
    if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
    {
     continue;
    }
    /* END DISABLE SCHEDULE ON BID */
    
    
    /* Skip any schedules which have aircraft that the pilot
     is not rated to fly (according to RANK), only skip them if
     they are logged in. */
    if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
    {
     /* This means the aircraft rank level is higher than
      what the pilot's ranklevel, so just do "continue"
      and move onto the next route in the list
      */
     if($route->aircraftlevel > Auth::$userinfo->ranklevel)
     {
      continue;
     }
    }
    
    /* THIS BEGINS ONE TABLE ROW */
    ?>
    <tr>
    <td>
     <a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?>
      <?php echo '('.$route->depicao.' - '.$route->arricao.')'?>
     </a>
     <br />
    
     <strong>Departure: </strong><?php echo $route->deptime;?>         <strong>Arrival: </strong><?php echo $route->arrtime;?><br />
     <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>)  <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?>
     <br />
     <strong>Days Flown: </strong><?php echo Util::GetDaysCompact($route->daysofweek); ?><br />
     <?php echo ($route->route=='') ? '' : '<strong>Route: </strong>'.$route->route.'<br />' ?>
     <?php echo ($route->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($route->notes).'<br />' ?>
     <?php
     # Note: this will only show if the above code to
     # skip the schedule is commented out
     if($route->bidid != 0)
     {
      echo 'This route has been bid on';
     }
     ?>
    </td>
    <td nowrap>
     <a href="<?php echo url('/schedules/details/'.$route->id);?>">View Details</a><br />
     <a href="<?php echo url('/schedules/brief/'.$route->id);?>">Pilot Brief</a><br />
    
     <?php
     # Don't allow overlapping bids and a bid exists
     if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
     {
     ?>
      <a id="<?php echo $route->id; ?>" class="addbid"
       href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a>
     <?php
     }
     else
     {
      if(Auth::LoggedIn())
      {
       ?>
       <a id="<?php echo $route->id; ?>" class="addbid"
     href="<?php echo url('/schedules/addbid');?>">Add to Bid</a>
      <?php   
      }
     } 
     ?>
    </td>
    </tr>
    <?php
    /* END OF ONE TABLE ROW */
    }
    ?>
    </tbody>
    </table>
    <hr>
    

  7. Something is wrong with your schedule_results.tpl

    I could see the schedules in the admin but continued to say no schedules found on pilot center search. I then replaced your tpl file with the one from the core templates and it worked just fine.... I can't say what's wrong, I can just say something is wrong.

  8. Still searching, Have a guy "working" on it, but seems to be taking a while as he only had to add a logo to the tail and he was done with the first paint.... Let me know if you are interested, I will hire the person who does the best work but in a timely manner.

×
×
  • Create New...