boeing974 Posted September 23, 2015 Report Posted September 23, 2015 Hi! My question is: It's possible to remove the code airline on the Pilot ID ? Ex: "AFR0001" to "123456" Thank you! Quote
Members Vangelis Posted September 24, 2015 Members Report Posted September 24, 2015 from where ? Quote
boeing974 Posted September 24, 2015 Author Report Posted September 24, 2015 ?? What ? Sorry i'm french I want to just delete the ICAO code of the pilot ID. Quote
Members Vangelis Posted September 24, 2015 Members Report Posted September 24, 2015 From what page Pilot Roster ? Pilot Profile or somewhere else Screenshot would help Quote
boeing974 Posted September 26, 2015 Author Report Posted September 26, 2015 Its identifier to connect. Quote
Moderators servetas Posted September 26, 2015 Moderators Report Posted September 26, 2015 I think that on phpVMS you can just login with your number on the login forum in order to login. For example, I am GRW001 but I am logging in with just "1" (without ""). Have you tried it? Quote
boeing974 Posted September 26, 2015 Author Report Posted September 26, 2015 Thank you But how to stop displaying the code on the profile page? Just display the number. Quote
Moderators servetas Posted September 26, 2015 Moderators Report Posted September 26, 2015 Open your core/templates/pilot_center.tpl (or .php) find this: <?php echo $pilotcode; ?> and replace with this: <?php echo $userinfo->pilotid; ?> This is only if you are using the default phpVMS template. Otherwise you will have to edit your template instead. Quote
boeing974 Posted September 26, 2015 Author Report Posted September 26, 2015 Ok thank you but my id has 6 number. I already set Config::Set('PILOTID_OFFSET' 974000); it displays 1. On the front main page it display 974001. Quote
Moderators servetas Posted September 26, 2015 Moderators Report Posted September 26, 2015 What number do you want to display? 1 or 974001? Quote
Moderators servetas Posted September 26, 2015 Moderators Report Posted September 26, 2015 Use this instead: <?php echo $userinfo->pilotid+PILOTID_OFFSET; ?> Although, i do not know if it will be working with your login form. Just test it yourself and let us know. 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.