TAV1702 Posted February 25, 2011 Report Share Posted February 25, 2011 I have searched for the answer I seek and am coming up empty handed. I am curious if it is possible for the pilot center to recognize a pilots Airline of choice and output that info to their pilot center. Say for example, I open up Wild Animals Airline and their callsign is Wild then I go and add another airline and Call it Wild Express and their callsign is Casper (for lack of anything better). Now If Pilot A registers for the airline Wild Express, then when he or she views the pilot center it would give them their airline name and call sign with all their profile info up to by rank hours flown etc etc. Possible to do? Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted February 28, 2011 Author Report Share Posted February 28, 2011 No one? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 28, 2011 Moderators Report Share Posted February 28, 2011 I believe this has been brushed upon before based on the login and an if statement. So if they login with abc you use abc.css if xyz then xyz.css. I have not tried it but im sure it would work. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted February 28, 2011 Author Report Share Posted February 28, 2011 Ohh you are on track with my thoughts. lol Close but no cigar though..... This time. What I am referring to is not the template that the site uses, but more like when you view the Pilot Center, on the right side of your avatar and what nots of the such, is a list with items such as total money, hours to next rank, current location, etc etc. All I want to do there in that list is add another list item that says Airline: What ever they chose That airline name is contingent onwhat they used when they registered IF a VA has multiple airlines in operation. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 28, 2011 Moderators Report Share Posted February 28, 2011 lol and there is me complicating the issue.... You could try something like, <?php echo PilotData::GetPilotCode($pilot->code)?> Or something along those lines, I dont know if you can get the airline name, but you must be able to. Ill have a dig in the docs 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.