ACVA_CEO Posted November 30, 2010 Report Share Posted November 30, 2010 Hey everyone, I was wondering if there was any way to add to the active/inactive in the pilot admin? I would like to add a couple more status' than that. Then show the different status on the pilot roster. Chris Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted November 30, 2010 Moderators Report Share Posted November 30, 2010 Indeed, Holiday would be a good one. Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted November 30, 2010 Report Share Posted November 30, 2010 I have a few status' IE - Banned / LOA / etc... It takes a bit of coding to get it to work correctly but it can be done. Quote Link to comment Share on other sites More sharing options...
ACVA_CEO Posted November 30, 2010 Author Report Share Posted November 30, 2010 @mark -- I hear ya....this is killer @lorathon -- would you be willing to share? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted November 30, 2010 Report Share Posted November 30, 2010 I cant really share since there are so many modifications to so many files that need to be done. I can point you in the right direction and give you some pointers. ( Plus I don't remember exactly what I did ) 1. Come up with a numerical listing of what you want. ( 0=active / 1=retired / 2=banned / etc....) 2. You then need to change the pilotadmin stuff to accommodate the different settings ( and templates) 3. One thing not to forget is the front end checks. You will need to check for which of the status numbers for different things. Example - If pilot attempts to log in and that pilots account is a 2 than show that pilot a banned page. The check needs to be made in all of the pages that the pilot might be able to change something. It was time consuming to find all of the loopholes that could be found but it can be done. Quote Link to comment Share on other sites More sharing options...
ACVA_CEO Posted November 30, 2010 Author Report Share Posted November 30, 2010 Thanks for the help...I'll see what I can do 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.