Jump to content

Auto Inactive Pilot


servetas

Recommended Posts

  • Moderators

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

Link to comment
Share on other sites

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

AVA0001.png

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • Administrators

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...