Jump to content

Active/inactive pilot


ACVA_CEO

Recommended Posts

Guest lorathon

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.

Link to comment
Share on other sites

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