Auto Inactive Pilot

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

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 Like

Thank you very much sir!

Hello Servetas,

Your welcome sir.

good luck

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

When you replaced the local config file did you change the site path?

im sorry what? could you give a bit more detail please, im a bit slow :L

I’ll Help Connor Dave, He’s a Slow Guy

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.

Talking to him on Skype now

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.

I’d suspect a typo in that config file

Nope, Actually it wasnt nabeel, For some reason his database went all messy, but luckily for him I had a backup

Cheers,

Thomas.

hmmm lucky me ! :L, ive got a backup of a backup now