Jump to content

Recommended Posts

Posted

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.

  • Moderators
Posted

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!

  • Like 1
  • 2 months later...

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