Jump to content

flyalaska

Members
  • Posts

    1941
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by flyalaska

  1. no, it should have all your setting.
  2. in the skins css!
  3. I just saw a few episodes of "Worst Place to be a Pilot" looks very interesting.
  4. flyalaska

    blueIce

    Did you edit that file?
  5. https://www.crazycreatives.com/downloads/premium-miles/
  6. flyalaska

    blueIce

    Can I have your URL?
  7. https://github.com/DavidJClark/phpVMS-Timetable
  8. Look in your slider css. It is set to 100%. Your images need to be bigger. I am not 100% sure.
  9. Has that pilot been awarded an award yet?
  10. bottom of the list, click on Add your site here.
  11. <?php if(Auth::LoggedIn() == false) { ?> Your LOGIN code goes here <?php } ?>
  12. Register your domain at - https://www.google.com/recaptcha/intro/ Than in local.config.php ad these lines to the bottom. /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', 'Key Goes Here'); Config::Set('RECAPTCHA_PRIVATE_KEY', 'Key Goes Here'); Add your keys to the above code, where it says Key Goes Here
  13. screenshot?
  14. Can I have a link to your site?
  15. change the pilots users group in admin.
  16. I have this on my site with simpilots 5.5.2 Days Since Last Flight <?php if ($userinfo->lastpirep == '0000-00-00 00:00:00') { echo 'There are no flights!'; } else { $datebefore1 = substr($userinfo->lastpirep, 0, 10); $datetoday2 = date("Y-m-d"); $datebefore3 = strtotime($datebefore1); $datetoday4 = strtotime($datetoday2); $newdate = $datetoday4-$datebefore3; $lastpirep = floor($newdate/(60*60*24)); echo ' '; if ($lastpirep == 0) { echo 'Today'; } else if ($lastpirep == 1) { echo 'Yesterday'; } else { echo $lastpirep . ' Days ago'; } } ?> Latest Flight Number <?php if($report) { ?> <a href="<?php echo url('pireps/view/'.$report->pirepid); ?>"><?php echo $report->code . $report->flightnum; ?></a> <?php } else { echo 'No PIREPs filed yet!'; } ?> Last Flight Date <?php echo date('m/d/Y', strtotime($userinfo->lastpirep));?>
  17. Just a link to the filed PIREP. Had a few complaints that pilots who fly more than one flight at a single time,They don't know which flight the email is referring to. Easy enough to click the link IMO.
  18. When a comment is added to a PIREP. Have it display the flight number. So the pilot knows which flight the comment is regarding. Good option if the pilot flies more than one flight in a session.
  19. Yes there was an Weather Module I used several years ago. Removed it and haven't seen the error apear again. Thank you!
  20. User group 2 is active pilots. You have one pilot who is not active.
  21. I get the following error pop up randomly when I go to admin, in the head of the admin section. Warning: SimpleXMLElement::addChild(): unterminated entity reference Winter in /....../core/common/CentralData.class.php on line 198 any ideas?
  22. flyalaska

    blueIce

    Yes, 0 flights. Just do a flight, that should fix it.
  23. flyalaska

    blueIce

    Add the following code below to core/common/TouchdownStatsData.class public static function airline_average() { $stats = self::get_all_stats(); $total = 0; $count = 0; foreach ($stats as $stat) { $total = $total + $stat->landingrate; $count++; } $average = $total / $count; return $average; } public static function get_stats_by_cur_month($howmany) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate)=MONTH(now()) AND YEAR(submitdate)=YEAR(now()) ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); }
  24. flyalaska

    blueIce

    Whats your URL?
  25. Paginating the tables. Pilots, schedules, etc
×
×
  • Create New...