TennShadow Posted April 18, 2010 Report 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
Administrators simpilot Posted April 18, 2010 Administrators Report Posted April 18, 2010 If you are in the pilot center you can use - Hub: <?php echo $userinfo->hub ?> Quote
TennShadow Posted April 18, 2010 Author Report Posted April 18, 2010 If you are in the pilot center you can use - Hub: <?php echo $userinfo->hub ?> Thanks, that did it. Quote
Guest Posted June 22, 2011 Report 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
Moderators Kyle Posted June 22, 2011 Moderators Report Posted June 22, 2011 Great Share! thanks! Quote
JustinRomaine Posted July 23, 2011 Report 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
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.