Rafael Marquez Posted May 23, 2010 Report Share Posted May 23, 2010 Hi I'm Rafael Marquez, president of an airline venezuelana. I have a question: how I can do to make the numbers of pilots from 101 and not start from 0001? I really want is that body which pilots are assigned automatically register your id from 101, 102.104, 105. Not since 0001, 0002 I hope to help me solve it _________________________________________________________________________________________________________________ Hola soy Rafael Márquez, presidente de una aerolinea venezuelana. Tengo una duda: ¿como puedo hacer para que los numeros de pilotos empiecen desde 101 y no desde 0001? Realmente lo que quiero es que cadaves que los pilotos de registren se asigne automaticamente sus id desde 101 ,102,104 ,105. No desde 0001, 0002 Espero que me ayuden a resolverlo Quote Link to comment Share on other sites More sharing options...
CPC900 Posted May 23, 2010 Report Share Posted May 23, 2010 http://forum.phpvms.net/topic/2635-change-pilotss-id/page__p__17419__hl__%2BChange+%2Bpilot+%2Bid__fromsearch__1#entry17419 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted May 23, 2010 Administrators Report Share Posted May 23, 2010 Moved to support Quote Link to comment Share on other sites More sharing options...
skymx Posted June 3, 2010 Report Share Posted June 3, 2010 Hi I'm Rafael Marquez, president of an airline venezuelana. I have a question: how I can do to make the numbers of pilots from 101 and not start from 0001? I really want is that body which pilots are assigned automatically register your id from 101, 102.104, 105. Not since 0001, 0002 I hope to help me solve it _________________________________________________________________________________________________________________ Hola soy Rafael Márquez, presidente de una aerolinea venezuelana. Tengo una duda: ¿como puedo hacer para que los numeros de pilotos empiecen desde 101 y no desde 0001? Realmente lo que quiero es que cadaves que los pilotos de registren se asigne automaticamente sus id desde 101 ,102,104 ,105. No desde 0001, 0002 Espero que me ayuden a resolverlo Aqui tienes la respuesta a tu solicitud de ayuda. Ten cuidado cuando lo cambies porque todos tus ID cambiaran y se iniciaran desde el ID que le asignes, un saludo... ojala te ayude. Sergio Korlowsky. Globa Virtual Airlines Quote Link to comment Share on other sites More sharing options...
Jeff Posted June 23, 2010 Report Share Posted June 23, 2010 First off, sorry for the late response. Secondly, it's all in your /public_html/core/local.config.php file Look for this: Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID and change it to: Config::Set('PILOTID_LENGTH', 3); # Length of the Pilot ID Now, just above that you see: Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from change that to: Config::Set('PILOTID_OFFSET', 101); # What # to start pilot ID's from 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.