Omerr01 Posted April 26, 2013 Report Posted April 26, 2013 Hello every one. I want to set a vatsim id to every pilots are registered and will register. I saw in a pilot list template to set a vastim id. But I also want to set on the register. If you can to tell me what lines I need to add and where it will be great Thank you. Quote
Moderators Kyle Posted April 27, 2013 Moderators Report Posted April 27, 2013 You can add the VATSIM ID Field in your phpVMS Admin. 1) Access your phpVMS Admin 2) On the left side of the list of links, select "Site & Settings" and select "Profile Field" 3) On the left side, top. Click on "Add a Custom Field" 4) Fill out the form, type in the title "VATSIM ID", make sure the field type is "Text", and select your settings on the form. 5) To echo out the pilot's VATSIM ID, you can add this to the pilot_list.tpl. <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID');?> Cheers! 1 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.