CEO North Air Posted May 23, 2010 Report Share Posted May 23, 2010 Good eve, this will be my last request today! As I read on the description, since the last update it will be possible to add a minimum rank to fly a aircraft (limitation). Well I (admin) can add a bid even for those one I´m not allowed to fly. How to correct this feature? Are there any chances to show just those routes pilots are allowed to fly? Thanks for your help and best regards from Germany Quote Link to comment Share on other sites More sharing options...
dale0404 Posted May 23, 2010 Report Share Posted May 23, 2010 As I understand it, when you create an aircraft in your fleet, near the bottom there is a drop down box asking which rank is eligible to fly given aircraft. In your ranking system, add ranks as you see fit dependant on hours flown. When you goto your schedule it should only show the flights you are able to fly as long as you have set it up correctly in the schedules pages. Hope that helps. Quote Link to comment Share on other sites More sharing options...
CrashGordon Posted May 23, 2010 Report Share Posted May 23, 2010 This, also has to be in your local.config.php. # Pilot pilots to only fly aircraft they're ranked to Config::Set('RESTRICT_AIRCRAFT_RANKS', true); Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted May 24, 2010 Author Report Share Posted May 24, 2010 Thanks a lot for your help! I added the code to the local.config.php - ad the bottom of the codes - but I can still see all the flights even for those aircrafts I´m not allowed to fly. Any other changes to do? Or will be the admin allowed to fly all aircrafts? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 25, 2010 Administrators Report Share Posted May 25, 2010 Did you set the aircraft to a minimum rank, and are all the ranks in order? Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted May 25, 2010 Author Report Share Posted May 25, 2010 Yes, ranks are in order and I set the minimum rank to each aircraft. So maybe the position of code is not correct. I placed the quote to the end of the local.config.php and then transfered the modified version to the folder called "core". Maybe admins are allowed to fly all types even they are restricted by ranks? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 25, 2010 Administrators Report Share Posted May 25, 2010 So what exactly is happening? The schedules do show up? There was also an update to the schedules_results.tpl file to not show aircraft whos rank levels don't match, perhaps that's missing? Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted May 25, 2010 Author Report Share Posted May 25, 2010 Well, ranks set but all flights shown up even those I´m not allowed to fly. I guess that´s the point. How to update the code for schedules_results.tpl? What to edit to the code? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 25, 2010 Administrators Report Share Posted May 25, 2010 Compare it to the core/templates/ version, you can use a program like WinMerge or something to see the differences Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted May 26, 2010 Author Report Share Posted May 26, 2010 Thanks a lot NAbeel! I´ve updated the folder again, now it works perfect! I´m just able to see those flights I´m allowed to fly! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 27, 2010 Administrators Report Share Posted May 27, 2010 Excellent! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.