davehardy Posted February 26, 2010 Report 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
Moderators joeri Posted February 26, 2010 Moderators Report Posted February 26, 2010 On 2/26/2010 at 8:57 AM, davehardy said: 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
Moderators mark1million Posted February 26, 2010 Moderators Report 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
TennShadow Posted February 26, 2010 Report Posted February 26, 2010 On 2/26/2010 at 9:40 PM, mark1million said: 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
Moderators mark1million Posted February 26, 2010 Moderators Report Posted February 26, 2010 Ok ill have a trawl, Thanks. Quote
Moderators joeri Posted February 26, 2010 Moderators Report Posted February 26, 2010 On 2/26/2010 at 9:13 PM, davehardy said: 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
Administrators Nabeel Posted February 27, 2010 Administrators Report Posted February 27, 2010 On 2/26/2010 at 8:57 AM, davehardy said: 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
Administrators simpilot Posted February 27, 2010 Administrators Report Posted February 27, 2010 Quote 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
Moderators mark1million Posted February 27, 2010 Moderators Report Posted February 27, 2010 Your a star! Cheers.... Quote
TennShadow Posted February 27, 2010 Report Posted February 27, 2010 On 2/27/2010 at 12:26 AM, mark1million said: 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
Strider Posted February 27, 2010 Report Posted February 27, 2010 On 2/27/2010 at 12:21 AM, simpilot said: 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
Administrators Nabeel Posted February 27, 2010 Administrators Report Posted February 27, 2010 On 2/27/2010 at 3:40 PM, nightfox said: 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
TAV1702 Posted February 28, 2010 Report Posted February 28, 2010 On 2/27/2010 at 3:44 PM, Nabeel said: 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
Administrators Nabeel Posted February 28, 2010 Administrators Report 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
davehardy Posted February 28, 2010 Author Report Posted February 28, 2010 OK so i think the answer to my original question is................get the beta? Cant find the beta anywhere. Quote
Moderators joeri Posted February 28, 2010 Moderators Report Posted February 28, 2010 On 2/28/2010 at 11:25 AM, davehardy said: 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
Administrators simpilot Posted February 28, 2010 Administrators Report 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
Moderators mark1million Posted February 28, 2010 Moderators Report Posted February 28, 2010 On 2/28/2010 at 9:26 PM, simpilot said: 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
TennShadow Posted February 28, 2010 Report Posted February 28, 2010 On 2/28/2010 at 9:26 PM, simpilot said: 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
Administrators Nabeel Posted March 1, 2010 Administrators Report Posted March 1, 2010 Well, the option is there 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.