Jump to content

loplo

Members
  • Posts

    110
  • Joined

  • Last visited

Posts posted by loplo

  1. Hey guys,

    I'm getting the following error after booking a flight.

    Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically in /home/taromvir/public_html/core/common/SchedulesData.class.php on line 853

    Anyone with a solution?

  2. Great addon.

    It would be great to be able to change the FPL. Sometimes there are last minute changes, due to NOTAMs, etc, and having the option to file a new FPL would me more than helpful.

    LE

    Some issues:

    1. "You Landed @ 57 Knots and with 0 Vertival Speed". Actually I've landed with 117kt at a vertical speed of -158 ft/min. I really don't know where that 57 and 0 came from.

    2. typo "Vertival" -> "Vertical"

    3. "Below Fl100 you need to turn on the landing lights" it is not completely correct. It is encouraged to have the landing lights on, but it is not mandatory. Lots of pilots turn on the landing lights at "gear down" or after receiving landing celarance

    4. some posiotion reports would also be nice, let's say every 30 or 15 minutes. Coordintates, altitude and speed.

    5. reaching and leaving cruising altitude would be also nice to have, in the log.

  3. Before

    <?php
    foreach($allroutes as $route)
    {
    if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
    {
    continue;
    }
    if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
    {
    if($route->aircraftlevel > Auth::$userinfo->ranklevel)
    {
    continue;
    }
    }
    
    ?>
    

    after

    <?php
    foreach($allroutes as $route)
    {
    if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
    {
    continue;
    }
    if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
    {
    if($route->aircraftlevel > Auth::$userinfo->ranklevel)
    {
    continue;
    }
    }
    if($route->disabled == "1") //The $route variable might be something different in your schedule_results.tpl, so make sure of that.
    {
    continue;
    }
    
    ?>
    

    No impact.

  4. Sorry for the misunderstanding.

    So, my VA is set to retire pilots after 30 days of inactivity.

    The pilots receive an email to let them know that their status has been changed.

    The subject of the received email is "SITE_NAME: You've been marked as retired" instead of "xxxxxx : You've been marked as retired". xxxxxx being the VA name.

  5. I'm talking about the automated email, the one is sent out to the member to notify him that his status changed to retired.

    The subject of the received emails, now, looks like this: "SITE_NAME: You've been marked as retired"

    The site name, in any other emails is OK, but the one that is announcing the retirement.

  6. I'm getting

    Parse error: syntax error, unexpected T_PUBLIC in /home/taromvir/public_html/core/common/SchedulesData.class.php on line 886

    line 886 is

    public static function removeBid($bidid)

    - the next function.

    Any solution!?

    LE

    there was a missing closing bracket }

    LE2

    It's not working.

    I've also created a cronjob to run "maintenance" every hour and still no joy. Anyone?!

  7. In pilot public profile I'm getting "Pilot is currently Offline" even if the pilot is on and flying.

    Anyone knows what could be wrong?

    <?php
    $usersOnline = StatsData::UsersOnline();
    $check = false;
    if($usersOnline != null || !empty($usersOnline)){
    foreach($usersOnline as $user){
    if($user->pilotid == $pilot->pilotid){
    $check = true;
    }else{
    $check = false;
    }
    if($check){
    break;
    }
    }
    if($check){
    echo 'Pilot is currently Online';
    }else{
    echo 'Pilot is currently Offline';
    }
    }else{
    echo 'Pilot is currently Offline';
    }
    ?>
    

×
×
  • Create New...