Jump to content

Add VATSIM and IVAO into register


avdesigns

Recommended Posts

  • Moderators

Why couldn't you done it by custom profile feilds, you can add thoes feilds from the admin?

You would need to change three files mostly. The Registration.php file, registration_mainform.tpl and the RegistrationData.class.php. It looks alot of work, and what if you updated your phpVMS and it will stop working because you edited the core files and it gets overwritten in updates.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 6 months later...

Guys, I need your help. I'd like to make the ID clickable, to send me to the pilot profile, but I donno what to insert after the DOT to replace XXX.

<a href="<?php echo('http://www.vataware.com/pilot.cfm?cid='.XXX);?>">
<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?></a>

Now the VATSIM ID is showed, but the URL is not working completly.

Any help is appreciated.

Link to comment
Share on other sites

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