Jump to content

PaintSplasher

Members
  • Posts

    27
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by PaintSplasher

  1. Award Importer v1.0 for phpvms_v7 If you want to import your awards and granted awards from phpvms_v5 to phpvms_v7, this will help you get everything done quickly as this process is not originally implemented. This script is intended to run after you have imported your data with the phpvms:importer and should not be used if your airline is already in production and running. >>> View on GitHub <<< What is part of the import? All awards including name, description, image URL, model parameter, active/inactive and time of creation All awards that pilots have already received including user ID, award ID and the day granted. Important The v5 and v7 database tables have to be in the same database All previous awards and granted awards will be deleted, to match user IDs You've to check your awards after the import, Award Class and Parameters are not possible to compare to v5 If you are using a different table prefix, you have to change it according to yours How to use Upload the "award_import_full.php" to your /public folder Open your browser and go to www.domain.com/award_import_full.php Do you have any suggestions or need help? Please use the GitHub issue tracker or this topic
  2. Correct, you can, but you shouldn't.
  3. And perhaps to put it a little more clearly: the installer needs an already created database (empty in the best case) and cannot create one, so you need the login credentials here.
  4. Probably not, his domains are all in Quarantine, which is a first stage of deleting. The availability date for new registrations of this domain is dated for February 10th, 2023. You should go through the files and look up for check_license functions and eliminate them.
  5. Don't have a screenshot anymore but I can remember So you just need a basic line chart, like:
  6. Hey, it depends on your knowledge about CSS. At the end, if you just want to change colors, it is just a search and replace workflow. To change your logo just replace the related url.
  7. We also do not separate our staff in specific ranks. Staff are staff and pilots are pilots, just simple. An extra page is also not necessary, every staff member has a flag besides their name.
  8. I just tested the feature on a fresh install and everything works as it should. Your entry looks correct.
  9. And again, a little present for you guys: phpvms_navdata 2013: UPDATED 12 December 2020 | 00:41 Zulu https://virtualcargo.international/temp/phpvms_navdata_2013.zip
  10. You're sure you got the right url? crew.caribbeanwings/simbrief/&p Where is the .tld ? Just my first thougts.
  11. <h5> <?php $usersonline = StatsData::UsersOnline(); $guestsonline = StatsData::GuestsOnline(); $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo "<p>"; echo '<img src="/en/lib/skins/crewcenter/images/pilot.png" class="img-circle" alt="User Image" height="20">&nbsp;<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).' " width="17" height="17" />'; echo '&nbsp;<strong>'.$pilot->firstname.'</strong> '.substr($pilot->lastname, 0, 1).'<br />'; echo '<small></small>'; echo "</p>"; } ?>
  12. Old: #footer{ background:url(../images/footer-bg.jpg) no-repeat; height:80px; overflow:hidden; color:#939393; padding:0 20px; line-height:44px; font-size:10px; } New: #footer{ background:url(../images/footer-bg.jpg) no-repeat 50% 0px; height:80px; overflow:hidden; color:#939393; padding:0 20px; line-height:44px; font-size:10px; }
  13. #footer {background: url(../images/footer-bg.jpg) no-repeat 50% 0px}
  14. It's a SQL file that you can easily import via phpmyadmin.
  15. Hey, I am not sure if this a smartCARS2 issue or a phpvms 5.5 one. But I need a point where I can start to find a solution I have set up everything to "feet", "nm" and "kilogramms". If a pilot sent a pirep via smartCARS2, the fuel used are totally incorrect. Here some facts: local.config.php of phpvms 5.5: As you can see below, we've all set to "kg". Config::Set('MONEY_UNIT', '&#8364;'); Config::Set('WeightUnit', '0'); # 0=Kg 1=lbs Config::Set('DistanceUnit', '2'); # 0=KM 1= Miles 2=NMiles Config::Set('SpeedUnit', '1'); # 0=Km/H 1=Kts Config::Set('AltUnit', '1'); # 0=Meter 1=Feet Config::Set('LiquidUnit', '2'); # 0=liter 1=gal 2=kg 3=lbs Config::Set('WelcomeMessage', 'Virtual Cargo International - ACARS'); # Welcome Message Config::Set('FUEL_DEFAULT_PRICE', 0.63); Our smartCARS2 is also set to "kg": Here an actually flight(PIREP) that was sent by one of our pilots: smartCARS version 2.1.31.0, 2018-10-2 UTC [08:37:23] Preflight started, flying offline [08:37:23] Flying PMDG 747-46NERF AirBridgeCargo Airlines VP-BIG [08:59:46] Flaps set to position 3 [08:59:55] Pushing back with 65905 kg of fuel [08:59:58] Engine 3 is on [08:59:58] Engine 4 is on [09:01:20] Engine 1 is on [09:01:20] Engine 2 is on [09:03:11] Taxiing to runway [09:08:00] Taking off [09:08:25] Climbing, pitch: 11, roll: level, 165 kts [09:08:33] Gear lever raised at 273 ft at 183 kts [09:08:53] Flaps set to position 2 at 1329 ft at 189 kts [09:09:07] Flaps set to position 1 at 2002 ft at 198 kts [09:09:22] Flaps set to position 0 at 2522 ft at 218 kts [09:19:51] Sim paused [09:20:30] Sim unpaused [09:21:59] Cruising at 33000ft, pitch: 2, 513 kts [09:52:18] Simulator connection reestablished, 3 from before [09:52:45] Sim paused [09:52:46] Sim unpaused [12:48:41] Descending [13:10:37] Approaching [13:14:14] Flaps set to position 1 at 3449 ft at 231 kts [13:16:19] Flaps set to position 2 at 2521 ft at 207 kts [13:16:32] Flaps set to position 3 at 2422 ft at 191 kts [13:17:58] Flaps set to position 4 at 2161 ft at 178 kts [13:17:59] Gear lever lowered at 2158 ft at 177 kts [13:19:14] Flaps set to position 5 at 1926 ft at 163 kts [13:19:21] Final approach, 157 kts [13:20:18] Flaps set to position 6 at 1763 ft at 158 kts [13:23:04] Touched down at -89 fpm, gear lever: down, pitch: 2, roll: 2 degrees left, 136 kts [13:23:38] Landed in 4344 ft, fuel: 17324 kg, weight: 256913 kg [13:23:38] Taxiing to gate [13:23:53] The flight may now be ended [13:23:53] Taxi time was less than 15 seconds [13:23:53] Arrived, flight duration: 04:07 And now how the PIREP come into our system: As you can notice, from pushback to the landing phase he burned 48581kg of fuel. At the admin center fuel used shows us 107122kg. And with a little bit of math, the 107122 are lbs not kg. (107122 * 0,453592 = 48589) Why the fuel used comes still in lbs, although anything is setup to kg? Thank you in advance
  16. Do not be uncertain. He is a trustful person but as flyalaska said, he has not a lot of spare time and mostly active on the weekends.
  17. So a little present for you guys: phpvms_navdata 1808: UPDATED 19 July 2018 | 01:31 Zulu https://virtualcargo.international/temp/phpvms_navdata_1808.zip
  18. Create a file named "info.php", add the following lines, and save it: <?php phpinfo(); ?> Upload the file to your server and open the file in your browser, like http://www.example.com/info.php You should now get all information about your apache server. The update process about php can be tricky, depends on your knowledge about linux or server environment.
  19. All your css stylefiles must be loaded over ssl. Just look on your console or sourcecode and make sure all files are loaded over https Example: http://pilotlounge.vairleasing.net/lib/css/phpvms.css http://pilotlounge.vairleasing.net/lib/skins/elmer/vendors/bower_components/datatables/media/css/jquery.dataTables.min.css http://pilotlounge.vairleasing.net/lib/skins/elmer/vendors/bower_components/jquery-toast-plugin/dist/jquery.toast.min.css
  20. Hm, there must be an other issue, no script or class needs one gigabyte of memory. And you try to do a clean install of phpvms 5.5? (https://github.com/DavidJClark/phpvms_5.5.x)
  21. 256M should be enough. Have you reboot your apache after you have changed the limit? And check the file again, to make sure the new memory limit is active.
  22. It is not the disk space, it is the memory_limit what php can use. 1. Create a file with the follow content: <?php phpinfo(); ?> 2. Save this file on your webspace an open it in your browser 3. Search for "memory_limit".
  23. Hey, just to get it right. This script pull only data from one specific airport?
  24. Hey, I did three test flights and logged their with smartCARS 2. I unserialize the array and on every flight the time shows for every step on every flight the same. 01:33. I attached an image to show you what i mean. "[time] => [01:33]" This cannot be right, but i have no idea where to start to find a solution. Wrote a ticket at tfdidesign but even they don't now why this happend. They said: "We don't actually populate this system ourselves, it's done by the FilePIREP function in phpVMS (though, apparently not correctly in this case)." Any ideas? phpvms 5.5.2 php5.6
  25. search in your header <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> and replace it with <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=YOURAPIKEY"></script>
×
×
  • Create New...