Alex Posted April 30, 2010 Report Posted April 30, 2010 I have viewed as many posts containing the word RANK as possible and none of the search facilities have shown a full answer. As with most VA's now we have the rank structure.At the moment this rank structure is automatic by hours flown. Now that i have Simpilots excellent EXAMcenter add on i would like to still have auto ranks to a certain level, then the pilot must pass an exam before moving any further up the rank structure. Is this possible? Thanks for your patience. Quote
Administrators Nabeel Posted April 30, 2010 Administrators Report Posted April 30, 2010 I have viewed as many posts containing the word RANK as possible and none of the search facilities have shown a full answer. As with most VA's now we have the rank structure.At the moment this rank structure is automatic by hours flown. Now that i have Simpilots excellent EXAMcenter add on i would like to still have auto ranks to a certain level, then the pilot must pass an exam before moving any further up the rank structure. Is this possible? Thanks for your patience. You have to set the ranks to be manual (there's a setting in app.config). Then you can either manually change the rank, or have it done programatically Quote
Alex Posted April 30, 2010 Author Report Posted April 30, 2010 i have it set to manual now. Is there a quick code snippet to set it to auto up to a specific rank? Quote
Administrators Nabeel Posted April 30, 2010 Administrators Report Posted April 30, 2010 i have it set to manual now. Is there a quick code snippet to set it to auto up to a specific rank? Something like: PilotData::changePilotRank($pilotid, $rankid); Will change their rank Quote
hoktay-istanbul Posted May 23, 2010 Report Posted May 23, 2010 How the remove automatic calculate the pay rate. Only calculate hours? thanks Quote
Administrators Nabeel Posted May 23, 2010 Administrators Report Posted May 23, 2010 How the remove automatic calculate the pay rate. Only calculate hours? thanks What do you mean? Quote
hoktay-istanbul Posted May 23, 2010 Report Posted May 23, 2010 sorry sir. I solved. I use wrong setting Quote
airliftpilot Posted July 29, 2010 Report Posted July 29, 2010 Hello, I think I have a small problem... I tried to change in the app.config.php Config::Set('RANKS_AUTOCALCULATE', true); to false and it kind of messed up the "View all pilots" page in the admin center. Now all that it shows is the table with no data in it. Do you have any idea what happened or at least what I have to do to make it right? Marius Quote
Administrators simpilot Posted July 29, 2010 Administrators Report Posted July 29, 2010 The two have nothing to do with each other, my guess is you erased, or added, somthing to the config file that is causing the issue. Quote
airliftpilot Posted July 30, 2010 Report Posted July 30, 2010 I tried to edit it with Dreamwaver and it works. I think there were some characters Notepad didn't accepted or something... Now the "View All Pilots" page works fine, but I cannot change the ranks although app.config.php has this Config::Set('RANKS_AUTOCALCULATE', true); set to false. Quote
Administrators Nabeel Posted July 30, 2010 Administrators Report Posted July 30, 2010 It has to be set in local.config.php - the values in there overwrite the ones in app.config. The reason being, local.config is not updated, so your changes are not overwritten Quote
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.