TennShadow Posted April 18, 2010 Report Share Posted April 18, 2010 I want to display the pilots Hub in the pilot center but I can't figure it out. I don't even have a clue as to what code to be using. If anyone has done this would you mind to post the code? Thanks in advance. Keith Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 18, 2010 Administrators Report Share Posted April 18, 2010 If you are in the pilot center you can use - Hub: <?php echo $userinfo->hub ?> Quote Link to comment Share on other sites More sharing options...
TennShadow Posted April 18, 2010 Author Report Share Posted April 18, 2010 If you are in the pilot center you can use - Hub: <?php echo $userinfo->hub ?> Thanks, that did it. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2011 Report Share Posted June 22, 2011 you can also use this code for your profile main ONLY if you use the airport information module (see addons) <li>Hub: <a href="<?php echo url('/airports/get_airport?icao='.$userinfo->hub); ?>"><?php echo $userinfo->hub; ?></a></li> Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted June 22, 2011 Moderators Report Share Posted June 22, 2011 Great Share! thanks! Quote Link to comment Share on other sites More sharing options...
JustinRomaine Posted July 23, 2011 Report Share Posted July 23, 2011 What if you wanted to have it were you have a link for one hub and not for all lik lets say I had on my menu listed has Hub-KMYR and When you clicked on KMYR it shows the status of the KMYR hub and Not all the hubs. Thanks 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.