Pilot Status not changing after being auto retired

Ok, first I did what sim pilot suggested on the below forum post. I made it where retired pilots don’t show on the public pilot roster but do show on the backend pilot list and I set that no pilots can login if they are retired.

Anyways,  When I go look at an account that was auto retired their status doesn’t change.  It still says “Active”.  Is there a way that when a pilot auto retires their status changes on the backend so I won’t have any issues seeing which pilots are in “Inactive” status?

Also, perhaps a sort function could be included to sort by active and inactive on the backend.  I’m running beta 868. 

Thanks,

Keith

Thanks

Might just be that the code is wrong there with the if/else, do you have that code there?

Might just be that the code is wrong there with the if/else, do you have that code there?

No, I’m not sure where the auto retire code is.  I forgot to mention this was happening before I made the changes.

Sorry…

Do you mean they are actually being set as auto-retired? Or it’s just showing that they are, but in reality in the DB they’re not?

I wasn’t really sure how auto retire worked so I set my dev site to retire after 1 day.  In the database the pilots were retired but if you looked at the pilot on the admin site it still said “Active” instead of “Inactive”.

The reason I went with SimPilots mod was because even though they were “retired” in the DB they still were showing up on the pilot roster.  I wanted retired/inactive pilots not to show up.

So, they are being retired in the DB but there status in not changing.  I choose to mod on the public pilot_list.tpl because I wanted to see all the pilots on the backend.  That is why I was suggesting a filter based on active / inactive.

Ah this is on the admin side, sorry. I must have overlooked changing that. Sorry!

Ah this is on the admin side, sorry. I must have overlooked changing that. Sorry!

Not a problem at all.  Thanks for looking into this.  I sometimes have a hard time explaining myself in words.  :slight_smile:

I added a column decribing their status. I’ll see if I can fit in a filter