Jump to content

Recommended Posts

Posted

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

Posted

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>

Posted

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

  • 1 year later...
Posted

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

Posted

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

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