Moderators servetas Posted May 18, 2010 Moderators Report Posted May 18, 2010 Hello all, at my rules of my VA we request from our pilots to make 1 flight per month!But i want when a pilot doesn't do any flight this month then goes automaticaly inactive from my system! Sorry for my bad english but if you understand anything please answer me! Thank you very much Quote
CN@ndo Posted May 18, 2010 Report Posted May 18, 2010 Hello friend, the new version already has this system, you can check your VA to be active through the script. local.config 39 After how long to mark a pilot inactive, in days 40 Config::Set('PILOT_AUTO_RETIRE', false); 41 Config::Set('PILOT_INACTIVE_TIME', 90); Change to: # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 30); PILOT_INACTIVE_TIME', 30 = the days for INACTIVE 1 Quote
Moderators servetas Posted May 18, 2010 Author Moderators Report Posted May 18, 2010 Thank you very much sir! Quote
CN@ndo Posted May 18, 2010 Report Posted May 18, 2010 Hello Servetas, Your welcome sir. good luck Quote
Connor1994 Posted June 29, 2010 Report Posted June 29, 2010 hi, i followed these steps and now my VA is just a white page, everypage is plain white, nothing, it was working fine before, and this was the only think i edited. any ideas? i have replaced the local config with the backup and still nothing Quote
Administrators simpilot Posted June 29, 2010 Administrators Report Posted June 29, 2010 When you replaced the local config file did you change the site path? Quote
Connor1994 Posted June 29, 2010 Report Posted June 29, 2010 im sorry what? could you give a bit more detail please, im a bit slow :L Quote
Administrators simpilot Posted June 29, 2010 Administrators Report Posted June 29, 2010 Did anything else change in the local config file - there is a setting in the beginning "SITE_URL" that needs to be the correct path to your site. It kinda looks like that may be the issue when looking at your site. Quote
Thomas Posted June 29, 2010 Report Posted June 29, 2010 Hmmmmmmmmmm dats weird, I checked the SITE_URL & the config, even setup a new config with only the default phpvms settings, still doesnt work, re-uploaded phpvms seeing if it was anything, but didnt work Sorry Guys, Im brain dead now -Thomas. Quote
Administrators Nabeel Posted July 1, 2010 Administrators Report Posted July 1, 2010 I'd suspect a typo in that config file Quote
Thomas Posted July 1, 2010 Report Posted July 1, 2010 Nope, Actually it wasnt nabeel, For some reason his database went all messy, but luckily for him I had a backup Cheers, Thomas. Quote
Connor1994 Posted July 2, 2010 Report Posted July 2, 2010 hmmm lucky me ! :L, ive got a backup of a backup now 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.