Jump to content

Karamellwuerfel

Members
  • Posts

    91
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Karamellwuerfel

  1. This value is set to "2" on our VA. I changed it to 1 but this dont affect the acars sync. Thank you anyway
  2. Thanks, but this refreshes the map - not the data. The data is send every 30 secons and the map just reads the send data every 10 seconds. This means the actual data just changes after 30 seconds. Am I right?
  3. Hello Folks, I wonder if it's possible to set the intervall of the data send to the website or is this set by the acars program? Currently there are updates every 30 seconds. I want to update maybe every 15 seconds - is this possible? Thanks!
  4. Welcome to the official pandaair virtual airline. We recreated after three years of pause our website and virtual airline structures. What do we offer? fly "real" with fuel costs and taxes a really friendly community of real pilots and hobby (computer)-pilots an extraordinary designed website (including dark theme for the night pilots 😉 and https for web-security) pandaair acars (smartCARs) pandaair liveries for different simulators and aircrafts custom website modules pandaair teamspeak 3 and discord server and much more We look forward to receiving your application. ☺️ Sincerely - PandaAir. About us: https://crew.pandaair.de/index.php/geschichte Website: https://www.crew.pandaair.de preferred language: german Information: You can change the language of the site in the upper right corner ✈️
  5. Hey, I found a solution: The problem is, the function "removebid" in the core/modules/Schedules/Schedules.php is waiting for a POST request but no post request is send by the page of my bids. I simply wrote a jquery script to send an ajax post request to the function and it works. I pasted script into the schedule_bids.php. Just adding a fadout to the removed bid and that's it The javascript/jquery script: <!-- REMOVE BIDS HELPER - START --> <script> $(document).ready(function() { $(".deleteitem").dblclick(function() { var bid_id = $(this).attr("id"); console.log(bid_id); $.ajax({ type: "POST", url: "<?= url('/schedules/removebid') ?>", data:{ id: bid_id }, success:function(response) { $('#bid'+bid_id).fadeOut( "slow" ); $('#message').html('<div class="alert alert-success" role="alert">Flugbuchung wurde gelöscht.</div>'); }, error:function(){ $('#message').html('<div class="alert alert-danger" role="alert">Flugbuchung konnte nicht gelöscht werden.</div>'); } }); }); }); </script> <!-- REMOVE BIDS HELPER - END --> Kind regards
  6. Hey there, I've the same issue and implemented jquery on the page. @ProSkyDesign @DLH001 What was the solution? My browser (chrome) doesn't show anything in the console. Thanks!
  7. You need to edit the MainController.class.php. You'll find it here: \core\classes\MainController.class.php In line 96 there's a function called loadModules(). Edit this function to the following: public static function loadModules() { global $NAVBAR; global $HTMLHead; self::$ModuleList = self::getModulesFromPath(CODON_MODULES_PATH); if(empty(self::$ModuleList)) { Debug::showCritical('No modules were found in module path! ('.CODON_MODULES_PATH.')'); return; } self::$listSize = sizeof(self::$ModuleList); self::$keys = array_keys(self::$ModuleList); ksort(self::$ModuleList); foreach (self::$ModuleList as $module_name => $module_controller) { $ModuleName = $module_name; $ModuleController = $module_controller; if(file_exists($ModuleController)) { include_once $ModuleController; if(class_exists($ModuleName)) { $ModuleName = strtoupper($ModuleName); global $$ModuleName; $$ModuleName = new $ModuleName(); $$ModuleName->init($ModuleName); // Call the parent constructor if(self::$activeModule == $ModuleName) { # Skip it for now, run it last since it's the active # one, and may overwrite some other parameters continue; } else { ob_start(); self::Run($ModuleName, 'NavBar'); $NAVBAR .= ob_get_clean(); self::Run($ModuleName, 'HTMLHead'); $HTMLHead .= ob_get_clean(); @ob_end_clean(); } } } } # Run the init tasks ob_start(); self::Run(self::$activeModule, 'NavBar'); $NAVBAR .= ob_get_clean(); self::Run(self::$activeModule, 'HTMLHead'); $HTMLHead .= ob_get_clean(); @ob_end_clean(); } Voilà. You now have a alphabetic sorted Module list in your admin area.
  8. Looks good! Maybe you can fix the copyright footer on the bottom of the page.
  9. Updated module to v1.9 ☺️✔️ How to update? Just download the module new and upload & replace it on your server. Please backup your files before updating.
  10. Does it work with this? <?php MainController::Run('InstantWeather', 'get_metar', ''); ?>
  11. Hi Rick! The module looks for the pilots last accepted pirep arrival airport. Thats the "current position airport". It took this and show it's weather. I've implemented a PHP get method that you can set the airports icao. To do this you have the url and you just add ?icao=ICAO_HERE - in my case: http://phpvms.philippdalheimer.de/index.php/instantweather?icao=eddf To do this, please update the module. There should be a update link in the module. Or just check out the news on github. Hope it solves your problem, Rick! 🙂
  12. Hey Rick, do you mean to show ONLY the complete metar info for the airport?
  13. You're welcome Can you tell me which airline you have?
  14. Hey LeeCley2017! I tested it on my computer with the phpvms 5.5.2 and get the warnings at the top of the page: Warning: Cannot modify header information - headers already sent by [...] To solve this, you just have to cut out line 1-6 in core > modules > InstantWeather > InstantWeather.php <!--/////////////////////////////////////////////////////////////// /////InstantWeather Module v1.3 for phpvms by Philipp Dalheimer//// //////////////////////www.philippdalheimer.de////////////////////// ///+ DO NOT EDIT + FOR FREE USE + PHPVMS FORUM: MrDonutButter +//// ///////////////////////////////////////////////////////////////--> <?php class InstantWeather extends CodonModule { [...] } ?> To make it simple I've uploaded a new version of the module. So you just have to download the version 1.4 and try it again. It could be, that this causes your error with the DOV. If you've tested it out, please contact me again if it works. Thanks.
  15. Hi, I'll Look at your issue at monday when I'm at home
  16. Hi LeeCley2017, I tested it on PHPVMS Version 2.1.936 - Not in the 5.5. What do you mein with DOV? Do you cam explain your issue more precise? Regards
  17. Hey, I was in Spain and now I'm back at home today afternoon.
  18. Do you guys still need the paints?
  19. Hey, can you tell which aircraft(s)?
  20. ++ UPDATED TO VERSION 1.3 ++ You can now change the displayed temperature between fahrenheit and celsius. Download / Update: https://goo.gl/W7FW32
  21. Just additional to the website: I would change the link hover in the menu section to none. So just a color by hovering but not the underline font Site looks good. The concept too! Regards
×
×
  • Create New...