Alex Posted April 30, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 30, 2010 Administrators Report Share 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 Link to comment Share on other sites More sharing options...
Alex Posted April 30, 2010 Author Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 30, 2010 Administrators Report Share 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 Link to comment Share on other sites More sharing options...
hoktay-istanbul Posted May 23, 2010 Report Share Posted May 23, 2010 How the remove automatic calculate the pay rate. Only calculate hours? thanks Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 23, 2010 Administrators Report Share Posted May 23, 2010 How the remove automatic calculate the pay rate. Only calculate hours? thanks What do you mean? Quote Link to comment Share on other sites More sharing options...
hoktay-istanbul Posted May 23, 2010 Report Share Posted May 23, 2010 sorry sir. I solved. I use wrong setting Quote Link to comment Share on other sites More sharing options...
airliftpilot Posted July 29, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators simpilot Posted July 29, 2010 Administrators Report Share 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 Link to comment Share on other sites More sharing options...
airliftpilot Posted July 30, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 30, 2010 Administrators Report Share 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 Link to comment Share on other sites More sharing options...
airliftpilot Posted July 30, 2010 Report Share Posted July 30, 2010 Thank you! It's finally working! 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.