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…?
Did you change any code? Got an example?
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..

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