on the default template when you login at the top right you have that badge thing. Avatar, flights etc. How could i possibly add that to my skin.
thanks
Daniel
on the default template when you login at the top right you have that badge thing. Avatar, flights etc. How could i possibly add that to my skin.
thanks
Daniel
Use the same code from the section you are referring to.
i have been looking but cant find it.
You mean that… confirm?
If yes you can go to lid->skins-> you skin name->layout.tpl and add this
<?php
}
/* End the Auth::LoggedIn() if */
else /* else - they're logged in, so show some info about the pilot, and a few links */
{
/* Auth::$userinfo has the information about the user currently logged in
We will use this next line - this gets their full pilot id, formatted properly */
$pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
?>
<img align="left" height="50px" width="50px" style="margin-right: 10px;"
src="<?php echo PilotData::getPilotAvatar($pilotid);?>" />
<strong>Pilot ID: </strong> <?php echo $pilotid ; ?>
<strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br />
<strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?>
<br />
<a href="<?php echo url('/pireps/new');?>">File a New PIREP</a> |
<a href="<?php echo url('/schedules/bids');?>">View My Bids</a> |
<a href="<?php echo url('/logout/');?>">Log Out</a>
<?php
} /* End the else */
?>
</div>
</div>
Under the:
<input type="hidden" name="action" value="login" />
<input type="submit" name="submit" value="Log In" />
</form>
If you do not, try to explain us again what do you mea
yes thats it!
thanks