savagegrave Posted June 7, 2010 Report Share Posted June 7, 2010 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! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 7, 2010 Administrators Report Share Posted June 7, 2010 Yup I was just going to say, did you use the right variable in there? Quote Link to comment Share on other sites More sharing options...
savagegrave Posted June 7, 2010 Author Report Share Posted June 7, 2010 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 =) Quote Link to comment Share on other sites More sharing options...
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.