Daniel Posted December 8, 2010 Report Posted December 8, 2010 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 Quote
Administrators simpilot Posted December 8, 2010 Administrators Report Posted December 8, 2010 Use the same code from the section you are referring to. Quote
Daniel Posted December 9, 2010 Author Report Posted December 9, 2010 i have been looking but cant find it. Quote
Moderators servetas Posted December 9, 2010 Moderators Report Posted December 9, 2010 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 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.