Jump to content

flyalaska

Members
  • Posts

    1941
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by flyalaska

  1. I think he means when he files a manual PIREP.
  2. flyalaska

    blueIce

    No idea thats a pre set for phpVMS You referring to the headings?
  3. flyalaska

    blueIce

    Open your core/common/StatsData.class.php file and before the last closing bracket (}) add this: public static function TotalPilotMiles($pilotid) { $key = 'total_miles'; $key .= '_'.$pilotid; $total = CodonCache::read($key); if($total === false) { $total = 0; $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1"; $results = DB::get_results($sql); if($results) { foreach($results as $result) { $total += $result->distance; } } CodonCache::write($key, $total, '15minute'); } return $total; }
  4. flyalaska

    blueIce

    You didn't post the error?
  5. I believe its free. Its being tested and he said beta release sometime this month. That was the other one I mentioned to you in PM.
  6. Phpvms is at the end of its life, unless there is a major update. Don't see that happening. Can you pm me the link?
  7. I wouldn't erase it. Just comment it out. If you ever want to put it back in, just un comment it. Otherwise you may forget what you did.
  8. flyalaska

    blueIce

    I see the default header has changed on my end, Clear your browsers cache.
  9. You have several errors. One of them may be causing it. InvalidValueError: initMap is not a function(unknown) TypeError: $.fn.vectorMap is not a function [Learn More]jquery-jvectormap-world-mill-en.js:1:1 TypeError: $(...).ajaxForm is not a function [Learn More]phpvms.js:27:2 TypeError: $(...).vectorMap is not a function [Learn More]dashboard.js:66:3
  10. Try removing this line <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script> under the <!-- jvectormap --> tag in layout,php
  11. Just fix the problem. You most likley have more than one frefrence to the jQiery library. Check layout.php and core_htmlhead.php/ Remove one!
  12. flyalaska

    blueIce

    Im at work right now. I will chat with you on skype tonight.
  13. flyalaska

    blueIce

    You need google map API to show the map. The error should fix itself when a flight is completed with an landing rate You will also need the data class for it to work. Didn't have it in your skins version. To change the image, change the url of the header image in the css file. You need this in your core/common/TouchdownStatsData.clas 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); }
  14. do you have your VACentral api in local config correct? # VA Central Config::Set('VACENTRAL_ENABLED', true); Config::Set('VACENTRAL_API_SERVER', 'http://api.vacentral.net'); Config::Set('VACENTRAL_API_KEY', 'YOUR API KEY'); Config::Set('VACENTRAL_DATA_FORMAT', 'xml');
  15. flyalaska

    help

    Did you get it working?
  16. Works for me. May have been a glitch. Do you see your flights now?
  17. Let us know how you solved it. So others with the same issue can see your fix.
  18. If you are referring the api, than you need to get a google map api(javascript) than add this yo your core_htmlhead.php file. <script async defer src="https://maps.googleapis.com/maps/api/js?key=Y O U R A P I K E Y&callback=initMap"></script> replace "YOURAPIKEY with your actual key
  19. Would changing the ID length do the trick?I have set to 4 now. Config::Set('PILOTID_LENGTH', 3); // The length of PID, including 0's
×
×
  • Create New...