Jump to content

Recommended Posts

Posted

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

Guest lorathon
Posted

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.

Guest lorathon
Posted

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 :D )

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.

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...