Wayne Posted January 28, 2009 Report Share Posted January 28, 2009 Hey im working on this new look for the site and when i look under the public profile for a pilot, none of the information shows up..? Same thing when logged in and looking in the pilot profile. Why would it be doing this when i haven really changed any styles...? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 28, 2009 Administrators Report Share Posted January 28, 2009 Did you change any code? Got an example? Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 28, 2009 Author Report Share Posted January 28, 2009 Thats from the pilot_public_profile.tpl i added one table around everything but that didnt do anything the test from the codes like <?php echo $pilotcode ?>, <?php echo $userinfo->rank;?> and so on are the things not showing....kinda weird.. <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <?php if(!$userinfo) { echo '<h3>This pilot does not exist!</h3>'; return; } ?> <h3>Profile For <?php echo $userinfo->firstname . ' ' . $userinfo->lastname?></h3> <table> <tr> <td align="center"> <img src="<?php echo SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png';?>" alt="No Avatar" /> <br /><br /> <img src="<?php echo $userinfo->rankimage?>" alt="" /> </td> <td valign="top"> <ul class="style1"> <li><strong>Pilot ID: </strong><?php echo $pilotcode ?></li> <li><strong>Rank: </strong><?php echo $userinfo->rank;?></li> <li><strong>Total Flights: </strong><?php echo $userinfo->totalflights?></li> <li><strong>Total Hours: </strong><?php echo $userinfo->totalhours?></li> <li><strong>Location: </strong> <img src="<?php echo Countries::getCountryImage($userinfo->location);?>" alt="<?php echo Countries::getCountryName($userinfo->location);?>" /> <?php echo Countries::getCountryName($userinfo->location);?> </li> <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "<li><strong>$field->title: </strong>$field->value</li>"; } } ?> </ul> </td> </tr> </table> </td> </tr> </table> Below is a pic of the pilot center.. pilotcenter.gif Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 28, 2009 Administrators Report Share Posted January 28, 2009 Seems like a CSS issue to me, the text is missing so it's either hidden by another element or under something. Check the HTML source and see if it's there; if it is then check your CSS styles 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.