Jump to content

flyalaska

Members
  • Posts

    1941
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by flyalaska

  1. I get the same, shows normal on Edge.
  2. I think he means when he files a manual PIREP.
  3. flyalaska

    blueIce

    No idea thats a pre set for phpVMS You referring to the headings?
  4. 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; }
  5. flyalaska

    blueIce

    You didn't post the error?
  6. 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.
  7. 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?
  8. I already told you how to do it.
  9. 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.
  10. flyalaska

    blueIce

    1194x400
  11. flyalaska

    blueIce

    I see the default header has changed on my end, Clear your browsers cache.
  12. flyalaska

    blueIce

    Whats your URL?
  13. 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
  14. 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
  15. 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!
  16. flyalaska

    blueIce

    Im at work right now. I will chat with you on skype tonight.
  17. 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); }
  18. 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');
  19. flyalaska

    help

    Did you get it working?
  20. Works for me. May have been a glitch. Do you see your flights now?
  21. How did you fix it?
  22. Let us know how you solved it. So others with the same issue can see your fix.
  23. 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
  24. 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
  25. flyalaska

    blueIce

    Thats a error you get when you put a php template on a tpl version. Whats your url and what php version are you on )hosting)? What exact phpvms are you on?
×
×
  • Create New...