davehardy Posted February 26, 2010 Report Share Posted February 26, 2010 I have this in my local config # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 30); But when i check the pilots list out it doesn't add up! One pilot who last flew in 2009 is active and another who flew 7days ago is inactive, so something needs resetting? Cheers, Dave. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted February 26, 2010 Moderators Report Share Posted February 26, 2010 I have this in my local config # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 30); But when i check the pilots list out it doesn't add up! One pilot who last flew in 2009 is active and another who flew 7days ago is inactive, so something needs resetting? Cheers, Dave. what version are you on i may be incorrect but i thout there where some issius with this on the release version. gr joeri i am on the latest beta and all works fine Quote Link to comment Share on other sites More sharing options...
davehardy Posted February 26, 2010 Author Report Share Posted February 26, 2010 Version 2.0.854 Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 26, 2010 Moderators Report Share Posted February 26, 2010 Sorry to jump on this one but is there any way to prevent a pilot from logging in that is inactive or retired? Quote Link to comment Share on other sites More sharing options...
TennShadow Posted February 26, 2010 Report Share Posted February 26, 2010 Sorry to jump on this one but is there any way to prevent a pilot from logging in that is inactive or retired? Yes, there is. Simpilot posted the code but I can't find the post since we switched forum software. I had a directly link to it. Perhaps someone else can find it. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 26, 2010 Moderators Report Share Posted February 26, 2010 Ok ill have a trawl, Thanks. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted February 26, 2010 Moderators Report Share Posted February 26, 2010 Version 2.0.854 thats wy you probably are hevving issius set it to false and dont use it or yopu will need to update to the beta Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 27, 2010 Administrators Report Share Posted February 27, 2010 I have this in my local config # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 30); But when i check the pilots list out it doesn't add up! One pilot who last flew in 2009 is active and another who flew 7days ago is inactive, so something needs resetting? Cheers, Dave. It checks last login time and the last pirep. if its 30 days from the last pirep, it till check the pirep. if there's no pirep, it will check the login date. IIRC, that's how it goes Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 27, 2010 Administrators Report Share Posted February 27, 2010 Sorry to jump on this one but is there any way to prevent a pilot from logging in that is inactive or retired? Uncomment lines 267 thru 271 in your Auth.class.php file and it will disable logins for retired pilots. 1 Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 27, 2010 Moderators Report Share Posted February 27, 2010 Your a star! Cheers.... Quote Link to comment Share on other sites More sharing options...
TennShadow Posted February 27, 2010 Report Share Posted February 27, 2010 Your a star! Cheers.... Thanks Simpilot! I found the post I was referring to http://forum.phpvms.net/topic/1941-removing-pilots/page__p__12798__fromsearch__1entry12798 Quote Link to comment Share on other sites More sharing options...
Strider Posted February 27, 2010 Report Share Posted February 27, 2010 Uncomment lines 267 thru 271 in your Auth.class.php file and it will disable logins for retired pilots. Only problem with that is that when they want to re fly they wont be allowed login, thus they will not return as they will have to email the CEO or other staff member and get them to change their status, and it is not a quick way, so they will leave the VA and move on. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 27, 2010 Administrators Report Share Posted February 27, 2010 Only problem with that is that when they want to re fly they wont be allowed login, thus they will not return as they will have to email the CEO or other staff member and get them to change their status, and it is not a quick way, so they will leave the VA and move on. Cheers Dan C Unless they use ACARS, then they can still file that way, and then be marked unretired automatically Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted February 28, 2010 Report Share Posted February 28, 2010 Unless they use ACARS, then they can still file that way, and then be marked unretired automatically That is an option, but what if they can only gain access to the forums if logged in or something like that? Sometimes in life, people just can't fly and need to take a break or something might have gone REALLY wrong and they just want to login once in a while to say hello and keep track of what is going on. I really like the auto retire thing beings how I brought it up way back when and presto it was added, but to lock them out of site all together, well that definitely wasn't part of the equation when I cooked up that idea. My idea was if they did not file a pirep in an amount of time they go inactive (retired), and in the future when life permits, they could log back in, book a flight, and off they go. Now sure they can file a pirep using ACARS or FSFK or something, but how can they book a flight or get the correct flight info if they can't login to the website? That may be a small issue beings how acars needs correct aircraft reg and all that to send a pirep or it errors out. DanC has a very good point. Now days so many VA's are out there so why jump through hoops when all you have to do is type in a search in browser and off they go to another VA. Just a couple quick thoughts. I'll jump back on the side now and take a shut up break for a while. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 28, 2010 Administrators Report Share Posted February 28, 2010 My thoughts exactly, I'd be a bit peeved as well, I just want to fly, not go through all that stuff there. But that's why I left that code in there, but commented to. To each their own, I guess. Quote Link to comment Share on other sites More sharing options...
davehardy Posted February 28, 2010 Author Report Share Posted February 28, 2010 OK so i think the answer to my original question is................get the beta? Cant find the beta anywhere. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted February 28, 2010 Moderators Report Share Posted February 28, 2010 OK so i think the answer to my original question is................get the beta? Cant find the beta anywhere. look here http://downloads.phpvms.net/phpvms.beta.zip gr joeri Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 28, 2010 Administrators Report Share Posted February 28, 2010 I guess I dont get it. Isn't the point of inactivating a pilot that has not flown is the simple fact that they are not participating? I think if they want to get back into the va they should have to work a little, ie - emailing the ceo or hr director with a reason why they want to come back. If you dont want any requirement to come back or to be a member, why inactivate them in the first place? Just my 2cents.... Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 28, 2010 Moderators Report Share Posted February 28, 2010 I guess I dont get it. Isn't the point of inactivating a pilot that has not flown is the simple fact that they are not participating? I think if they want to get back into the va they should have to work a little, ie - emailing the ceo or hr director with a reason why they want to come back. If you dont want any requirement to come back or to be a member, why inactivate them in the first place? Just my 2cents.... Spot on! The thing is i have worked for a va that enforce an active roster of inactivity, it keeps the va fresh and lets face it if a pilot cant fly one every 2 months then maybe they shouldn't be a member. If they want to come back then its reasonable to email, Thats my 2 p's worth Quote Link to comment Share on other sites More sharing options...
TennShadow Posted February 28, 2010 Report Share Posted February 28, 2010 I guess I dont get it. Isn't the point of inactivating a pilot that has not flown is the simple fact that they are not participating? I think if they want to get back into the va they should have to work a little, ie - emailing the ceo or hr director with a reason why they want to come back. If you dont want any requirement to come back or to be a member, why inactivate them in the first place? Just my 2cents.... I agree 100% with you on this. I don't think it is too much to ask for a quick e-mail. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 1, 2010 Administrators Report Share Posted March 1, 2010 Well, the option is there 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.