Tylor Eddy Posted December 29, 2011 Report Share Posted December 29, 2011 G'day Guys, Ive spent the last few hours updating my registration emails to incorporate more information, making it easier for new pilots to orientate themselves with the VA. I am having trouble just displaying the 3 digits of the Pilot ID, so i want just 001 not QFA001 to display. Also is there a way to display their password in these emails, it would look more professional than using 'the password you registered with' i've tried the following and neither have worked <?php echo PilotData::getPilotCode($eventinfo[2][code], $id->pilotid);?> <?php echo PilotData::getPilotCode($id->pilotid);?> As for displaying the password im not sure where to start for that, as there is nothing within the pilotdata class file Any help would be greatly appreciated Tylor Quote Link to comment Share on other sites More sharing options...
flyalaska Posted December 29, 2011 Report Share Posted December 29, 2011 I was unable to get the password either. Here are the variables I use. I have a offset of 99, so our IDs started at 100. Pilot ID: AKA<?php echo $pilot->pilotid +99; ?><br> Rank: <?php echo $pilot->rank; ?><br> Hub: <?php echo $pilot->hub; ?><br> Username: AKA<?php echo $pilot->pilotid +99; ?> or <?php echo $pilot->email; ?><br> Quote Link to comment Share on other sites More sharing options...
Tylor Eddy Posted December 29, 2011 Author Report Share Posted December 29, 2011 I was unable to get the password either. Here are the variables I use. I have a offset of 99, so our IDs started at 100. Pilot ID: AKA<?php echo $pilot->pilotid +99; ?><br> Rank: <?php echo $pilot->rank; ?><br> Hub: <?php echo $pilot->hub; ?><br> Username: AKA<?php echo $pilot->pilotid +99; ?> or <?php echo $pilot->email; ?><br> Thanks for your help, that takes care of one number lol, mine are 3 digits, the first being my ID of 001, currently all i get is the 1, any little trick to get it to display the 3 digits, i need all 3 as it is the username for the new user forums account. I'm closer than i was before haha, thanks Tylor Quote Link to comment Share on other sites More sharing options...
Hash Posted June 16, 2013 Report Share Posted June 16, 2013 Hi, I am trying to change the PILOT ID's to have just 3 digits instead of 4. How do I do that? Thanks Hash Quote Link to comment Share on other sites More sharing options...
freshJet Posted June 16, 2013 Report Share Posted June 16, 2013 It's in your local.config.php. If not, copy and paste the appropriate entry from your app.config.php. Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 16, 2013 Members Report Share Posted June 16, 2013 Do you modify a template for the email or you made a new module ? Quote Link to comment Share on other sites More sharing options...
Hash Posted June 16, 2013 Report Share Posted June 16, 2013 It's in your local.config.php. If not, copy and paste the appropriate entry from your app.config.php. As I am don't have any experience in this stuff please tell me where can I find those mentioned above? Is it in the ftp of the VA? Thanks Quote Link to comment Share on other sites More sharing options...
Hash Posted June 17, 2013 Report Share Posted June 17, 2013 Ok, I am able to change the ID to 3 digits. the problem is each time a new member apply he get still a 4 digit number. Any advise how to resolve that problem. Thanks 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.