Jump to content

tim260

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by tim260

  1. Hi, have you changed your local.config.php so that your subdomain is also in the url there? example: define('SITE_URL', 'http://crew.ossenblok.media');
  2. https://themeforest.net/item/apricot- navigation-admin-dashboard-template/7664475 It's this theme. I can also implement it into phpVMS if needed.
  3. Hi, That could have numerous reasons but not for this topic since this is the CrewCenter topic. you could private message me on here
  4. No problem If you need anything else done like a addon made or converted to crewcenter email me at info@ossenblok.media ! good luck with your VA!
  5. Hi. Im glad that fixed it and to center it on europe you need to change MAP_CENTER_LAT/LNG in your local.config.php I am using the ones below for europe Config::Set('MAP_CENTER_LAT', '52.3105386'); Config::Set('MAP_CENTER_LNG', '4.7682744');
  6. Hi there <script async defer src="https://maps.googleapis.com/maps/api/js?key=my key goes here &callback=initMap" type="text/javascript"></script> you can remove &callback=initMap if you're not using a callback. Can you tell me the output to your console? Or send me the link of your site? EDIT: also are you using htaccess rewrite?
  7. @Ademar Andrade Below a example of the data I display. This is what you're looking for right?
  8. For other users: Lanoush did it a different way himself but if you want to implement it into your ACARSData class you can use this. if you want to implement it into your ACARSData you can add this to your ACARSData.class.php public static function getLiveFlightCount($cot = '') { // make sure its not using flights that havent been updated by using cutoff time $cutofftime = (empty($cutofftime)) ? Config::Get('ACARS_LIVE_TIME') : $cot; //ternary operator instead of if argument to reduce lines $sql = 'SELECT COUNT(*) as total FROM ' . TABLE_PREFIX . 'acarsdata'; $sql .= ($cutofftime !== 0) ? ' WHERE DATE_SUB(NOW(), INTERVAL ' .$cutofftime .' MINUTE) <= `lastupdate`': ''; $result = DB::get_row($sql); return $result->total; } then on any page you could use echo ACARSData::getLiveFlightCount(); or you could of course add it to any of your pages as a variable in the module itself: $this->set('liveFlightCount',ACARSData::getLiveFlightCount()); // on the page then you could do: echo $liveFlightCount;
  9. Hi, Are you using smartCARS? I am currently working on this! It wont be 40$ like the others available It will display the flown route, this is what your looking for right?
  10. Hi, If you send me a pm on here I could send you the code or even program your own customised page (for free of course). Just send me the details Yours, Tim
  11. Check your console, on chrome it's right click > inspect > go to the console tab. If it says that the google maps key is incorrect you need to edit it in /lib/skins/crewcenter/app_top.php Ignore this, it was a modification I made myself sorry for any inconvenience caused
  12. Hi, I have been making modifications on the CrewCenter skin (which alot of you seem to be using) and I would like to show them off. I am a PHP developer myself so it was fairly simple :), if anyone needs help with their phpvms i'd be happy to help! (p.s. I hope its allowed to just show it in this forum category) I have also converted AirMail into the CrewCenter skin
×
×
  • Create New...