Custom data fields

Ok,

So I think I’m getting somewhere with 2 big books on sql and php, utill ive spent the entire night trying to place the IVAO and VATSIM callsigns into the private profile page of the website.

THe code I’m using is the one laid out within the public profile tables, so i know there is a logical way to display it.

The code I’m using is:

<?php echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign')

However,

It doesnt work in the profile_main.tpl files and maybe this is a reason it wasnt there to start with?

Please could someone steer me in the correct direction?

Not to worry I fixed it by changing $pilot to $userinfo… Must be tired lol!

Yup I was just going to say, did you use the right variable in there?

Lol

I copied the code from the public profile page, took me ages of reading through all the sql you coded.. (Learnt alot in doing so tho).

Eventually the eurka moment happend and changed the variable.

Thanks for providing such an indepth and advanced system!

I think you dont realise how much code goes into it untill you start looking at it

Cheers

Steve =)