Jump to content

ObsessBlue 2.0 Pilot Center info error (assistance please)


Curshad

Recommended Posts

Alright I've had it, I've searched all over google and this forum and have yet to find a solution to this problem. i understand the guy who made this doesn't support this template anymore, but if any1 else who think they can help me pleaseeeeeeeeeeee help me.

I don't soo Nothing wrong with the coding but the info isn't showing

(see picture below)

386825_4090277888797_1600803583_n.jpg

here's the coding:

<script src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/jquery-ui-personalized-1.5.3.packed.js" type="text/javascript"></script>
<div id="mainbox">
<h2>Welcome back <?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?>!</h2>
  <table>
<tr>
<td valign="top" align="center">
 <img src="<?php echo PilotData::getPilotAvatar($pilotcode); ?>" />
 <br /><br />
 <img src="<?php echo $userinfo->rankimage ?>" />
</td></tr>
 </table>
<h3><?php
  if($nextrank)
  {
  ?>
   <p>You have <?php echo ($nextrank->minhours - $pilot_hours)?> hours
 left until your promotion to <?php echo $nextrank->rank?></p>
  <?php
  }
  ?></h3>
<style type="text/css">
/* Rotator Styles  EDIT THE WIDTH OF THE CONTENT HERE*/
#wrapper {
width:700px;
border-top:3px solid #92a5bc;
border-bottom:1px solid #92a5bc;
margin:0 auto;
}
#rotator {
background:#FFF;
color:#000;
position:relative;
padding-bottom:2.6em;
margin:0;
font-size:16px;
}
/* Tabs */
ul.ui-tabs-nav, li.ui-tabs-nav-item, li.ui-tabs-nav-item a:link, li.ui-tabs-nav-item a:visited {
margin:0;
padding:0;
border:0;
outline:0;
line-height:1.3;
text-decoration:none;
font-size:100%;
list-style:none;
float:left;
font-family:Arial, Helvetica, sans-serif;
}
ul.ui-tabs-nav {
position:absolute;
bottom:0px;
left:0;
z-index:1;
width:100%;
background:#FFF url(/lib/skins/ObsessBlue/image/tabBG.png) repeat-x bottom right;
border-top:1px solid #FFF;
}
/* Non-Selected Tabs */
li.ui-tabs-nav-item a:link,
li.ui-tabs-nav-item a:visited {
font-size:.8em;
font-weight:normal;
color:#999;
background:#FFF url(/lib/skins/ObsessBlue/image/tabBG.png) repeat-x bottom left;
border-left:1px solid #FFF;
border-right:1px solid #c5ced9;
}
/* Hovered Tab */
#rotator .ui-tabs-nav-item a:hover,
#rotator .ui-tabs-nav-item a:active {
background:#FFF url(/lib/skins/ObsessBlue/image/uiactivetabbg.gif) repeat-x bottom left;
color:#333;
}
#rotator .ui-tabs-nav-item a span {
float:left;
padding:1em;
cursor:pointer;
}
/* Active Tab */
#rotator .ui-tabs-selected a:link,
#rotator .ui-tabs-selected a:visited,
#rotator .ui-tabs-selected a:hover,
#rotator .ui-tabs-selected a:active {
background:#fff url(/lib/skins/ObsessBlue/image/uiactivetabbg.gif) repeat-x bottom left;
color:#333;
}
/* Content Panels */
#rotator .ui-tabs-panel {
font-family:Arial, Helvetica, sans-serif;
clear:left;
color:#080808;
padding:40px 500px 15px 15px;
height:300px;
}
#rotator .ui-tabs-hide {
display:none;
}
#rotator h2 {
color:#E75D00;
font-weight:normal;
margin:0;
font-size:1.8em;
line-height:1.2em;
}
#rotator p {
font-size:1.1em;
margin:.5em 0;
color:#333;
}
#rotator .btn_get_started {
float:left;
height:30px;
width:99px;
text-indent:-9999em;
margin-right:7px;
overflow:hidden;
background:transparent url(/lib/skins/ObsessBlue/image/getstarted.gif) no-repeat
}
#rotator .btn_learn_more {
float:left;
height:26px;
font-size:.9em;
}
/* Background Images */
#rotator #fragment-1 {
background:transparent url(/lib/skins/ObsessBlue/images/pilot.png) no-repeat top right;
}
#rotator #fragment-2 {
background:transparent url(/lib/skins/ObsessBlue/image/bags.png) no-repeat top right;
}
#rotator #fragment-3 {
background:transparent url(/lib/skins/ObsessBlue/images/FMS.png) no-repeat top left;
padding:40px 15px 15px 540px;
}
#rotator #fragment-4 {
background:transparent url(/lib/skins/ObsessBlue/images/metal.png) no-repeat top left;
padding:40px 15px 15px 540px;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
 $("#rotator > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 0);
});
</script> 
<div id="wrapper">
<div id="rotator">
 <!-- Tabs -->
 <ul class="ui-tabs-nav">
	 <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1"><span>Personal Info</span></a></li>
	 <li class="ui-tabs-nav-item" id="#fragment-2"><a href="#fragment-2"><span>Profile Options</span></a></li>
	 <li class="ui-tabs-nav-item" id="nav-fragment-3"><a href="#fragment-3"><span>Acars Options</span></a></li>
	 <li class="ui-tabs-nav-item" id="nav-fragment-4"><a href="#fragment-4"><span>Awards</span></a></li>
 </ul>

 <!-- First Content -->
 <div id="fragment-1" class="ui-tabs-panel" style="">
	 <strong>Your Pilot ID: </strong> <?php echo $pilotcode; ?>
  <p><strong>Your Rank: </strong><?php echo $userinfo->rank;?></p>
  <?php
  if($report)
  { ?>
   <p><strong>Latest Flight: </strong><a
  href="<?php echo url('pireps/view/'.$report->pirepid); ?>">
  <?php echo $report->code . $report->flightnum; ?></a></p>
  <?php
  }
  ?>
	    <p><strong>Total Flights: </strong><?php echo $userinfo->totalflights?></p>
  <p><strong>Total Hours: </strong><?php echo $userinfo->totalhours; ?></p>
  <p><strong>Total Transfer Hours: </strong><?php echo $userinfo->transferhours?></p>
  <p><strong>Total Earnings: </strong><?php echo FinanceData::FormatMoney((floatval($userinfo->totalpay) + floatval($userinfo->payadjust))) ?></p>
 </div>
 <!-- Second Content -->
 <div id="fragment-2" class="ui-tabs-panel ui-tabs-hide" style="">

<p><a href="<?php echo url('/profile/editprofile'); ?>">Edit My Profile, Email and Avatar</a></p>
   <p><a href="<?php echo url('/profile/changepassword'); ?>">Change my Password</a></p>
   <p><a href="<?php echo url('/pireps/routesmap');?>">View a map of all my flights</a></p>
   <p><a href="<?php echo url('/schedules/view');?>">View Flight Schedules</a></p>
   <p><a href="<?php echo url('/downloads'); ?>">View Downloads</a></p>
						    <p><a href="<?php echo url('/pireps/mine');?>">View my PIREPs</a></p>
   <p><a href="<?php echo url('/profile/badge'); ?>">View my Badge</a></p>
   <p><a href="<?php echo url('/pireps/filepirep');?>">File a Pilot Report</a></p>
   <p><a href="<?php echo url('/profile/stats'); ?>">My Stats</a></p>
   <p><a href="<?php echo url('/schedules/bids');?>">View my flight bids</a></p> 
   <p><a href="<?php echo url('/finances');?>">View VA Finances</a></p>
 </div>

 <!-- Third Content -->
 <div id="#fragment-3" class="ui-tabs-panel ui-tabs-hide" style="">
   <p><a href="<?php echo actionurl('/acars/fsacarsconfig');?>">Download FSACARS Config</a></p>
   <p><a href="<?php echo actionurl('/acars/fspaxconfig');?>">Download FSPax Config</a></p>
   <p><a href="<?php echo actionurl('/acars/xacarsconfig');?>">Download XAcars Config</a></p>
   <p><a href="<?php echo actionurl('/fsfk/vaconfig_template');?>">Fs Flight Keeper</a></p>
 </div>

 <!-- Fourth Content -->
 <div id="fragment-4" class="ui-tabs-panel ui-tabs-hide" style="">
	 <p>

  <?php
  if(!$allawards)
  {
   echo '<h2>No awards yet</h2>';
  }
  else
  {

   /* To show the image:
 <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" />
   */

  ?>
  <ul>
   <?php foreach($allawards as $award){ ?>
   <?php echo $award->name ?>
   <?php } ?>


  </ul>
  <?php
  }
  ?>
 </p>
 </div>
</div><!-- end rotator -->
</div><!-- end wrapper -->
<br />
<center><img src="<?php echo SITE_URL.SIGNATURE_PATH.'/'.$pilotcode.'.png' ?>" /></center>
</div>
<br />

Link to comment
Share on other sites

Hello, my recomendation if you want fix this is go to phpvms default /core/templates/profile_main.tpl "not the obsessblue skin" and replace the file located in the obsessblue skin, next open the same and start to edit in dreamweaver or any other php/html editor, is too easy to customize.

Sorry for my english.!! :unsure:

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...