Jump to content

Kyle

Moderators
  • Posts

    2282
  • Joined

  • Last visited

Posts posted by Kyle

  1. I wouldn't change the kACARS_Free.php file. Leave it the way it is like, somehow, you may have a whitespace in the very beginning of your kACARS_Free.php file. Try seeing if you have a white space at the very start of your file between to the <?php tags and remove the whitespace, as well for the Auth.class.php file.

  2. I don't have the simpilot staff module though, but this can be little bit easier for everyone....

    This code will only show staff online. ;)

    <?php
    $staff = StatsData::UsersOnline();
    foreach($staff as $pilot)
    {
    if(PilotGroups::group_has_perm(PilotGroups::getUserGroups($pilot->pilotid), ACCESS_ADMIN))
    {
    ?>
    <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a><br />
    <?php
    }
    }
    ?>
    

  3. I am getting a 500 Internal Server Error in the Admin Panel only, everything else works fine. I contacted my website host (Arvixe) and they said it would have to do with phpvms. Does anyone know how to fix this?

    Error:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@webmaster.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    

    Your hosting needs to recompile PHP. ;)

  4. You can edit the information in the signatures, go to /core/common/PilotData.class.php

    Go to around line 963 to 980, or find this at the last function of the file...

    # Configure what we want to show on each line
     $output = array();
     $output[] = $pilotcode.' '. $pilot->firstname.' '.$pilot->lastname;
     $output[] = $pilot->rank.', '.$pilot->hub;
     $output[] = 'Total Flights: ' . $pilot->totalflights;
     $output[] = 'Total Hours: ' . $totalhours;
    
     if(Config::Get('SIGNATURE_SHOW_EARNINGS') == true)
     {
      $output[] = 'Total Earnings: ' . $pilot->totalpay;
     }
    

    Change the variables to your likings.

  5. hello guys i installed everything working this year so that aparese top rider on the page that this is starting 1969 as I change??

    Number of reasons.

    1) Clear your phpVMS Cache in your Admin Settings, Maintenance and Clear Cache

    2) It usually happens when you don't have a PIREP Filed yet

    3) It shows up on the first day of the month, but it goes away soon.

    Cheers! ;)

×
×
  • Create New...