Jump to content

latest skin


RogerB

Recommended Posts

  • 3 weeks later...
  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 1 month later...

actually, go into any .tpl file you wish to edit and find

//CONFIGURE MESSAGES AND VARIABLES

Look at the few lines below that and you will see the 3 or 4 lines that scroll. Simply edit those message lines and save and upload. You will be good to go.

Link to comment
Share on other sites

oops my bad. Mark1million is correct. I was thinking about the look at me box. ;-)

Its in the header.tpl

Ahh found it thanks guys! :)

Sorry to keep bugging you all but 1 last question i like the backround colours but i want to change the blue for the boxes on the left like New hires and also want to change the colour for when you move your mouse over the nav bar its blue

Link to comment
Share on other sites

If your using Firefox, simply get the web Developer addon and Firebug. They are great tools. With Web Developer, you can choose CSS and mouse over and area and it will give you the exact location in the css file so you can change the colors.

If you do not want to get them addons, you will need to find the class in the tpl files and then find that exact class in the css file and play around with color codes until you find one that fits your websites needs the best.

And if anyone can find a reasonable fix for the multiple hubs problem in Pilots List, please do share. I have scoured the code and added divs and removed them and switched this and that and so far nothing has worked.

Link to comment
Share on other sites

  • Moderators

OK so at the top of the pilots.tpl you have this,

<div class="mcright">

<h3><?php echo $title?></h3>

<?php

  if(!$allpilots)

  {

     echo 'There are no pilots!</div>';

     return;

  }

?>

That will sort our your footer when you dont have a pilot listed at a hub

Link to comment
Share on other sites

OK so at the top of the pilots.tpl you have this,

<div class="mcright">

<h3><?php echo $title?></h3>

<?php

  if(!$allpilots)

  {

     echo 'There are no pilots!</div>';

     return;

  }

?>

That will sort our your footer when you dont have a pilot listed at a hub

Ok thanks. I'll give that a quick try and see how it goes.

Link to comment
Share on other sites

OK so at the top of the pilots.tpl you have this,

That will sort our your footer when you dont have a pilot listed at a hub

Me again! :) Did that but still not working is this right?

<div class="mcright">

<h3><?php echo $title?></h3>

<?php

  if(!$allpilots)

  {

     echo 'There are no pilots!</div>';

     return;

  }

?>
<table id="tabledlist" class="tablesorter">
<thead>
<tr>
<th>Pilot ID</th>
<th>Name</th>
<th>Rank</th>
<th>Flights</th>
<th>Hours</th>
</tr>
</thead>
<tbody>
<?php
foreach($allpilots as $pilot)
{
/* 
	To include a custom field, use the following example:

	<td>
		<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?>
	</td>

	For instance, if you added a field called "IVAO Callsign":

		echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign');		
 */

 // To skip a retired pilot, uncomment the next line:
 //if($pilot->retired == 1) { continue; }
?>
<tr>
<td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>">
		<?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a>
</td>
<td>
	<img src="<?php echo Countries::getCountryImage($pilot->location);?>" 
		alt="<?php echo Countries::getCountryName($pilot->location);?>" />

	<?php echo $pilot->firstname.' '.$pilot->lastname?>
</td>
<td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td>
<td><?php echo $pilot->totalflights?></td>
<td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td>
<?php
}
?>
</tbody>
</table>

Sorry again keep nagginn u all

Link to comment
Share on other sites

Ahh i give up it didnt work

did you alter the default tpl file at all as in customizing it to fit your site? Mine works fine and it is deafult except the code I added to make it work. If yours is default, I will gladly send you a copy of mine.

Link to comment
Share on other sites

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...