Jump to content

OceanBlue


flyalaska

Recommended Posts

Sorry for my disturbing, but this is my first time, that I creating a new website for my VA, I need to delete the

ACARS Config on Pilot Dashboard.....how can I do that?

Sorbello Luca

VATSIM Network

Malta vACC Director

Malta ATO CFI (Director)

Remove this from profile_main.tpl

If you don't feel comfortable I will do it for you. You can send me your profile_main.tpl

<!-- Begin ACARS Configuration Box -->

<div class="art-content-layout-wrapper layout-item-4">
<div class="art-content-layout layout-item-5">
<div class="art-content-layout-row">
<div class="art-layout-cell layout-item-6" style="width: 100%" >
<h3>ACARS Configuration</h3><ul>
<table class="ocean_blue"width="100%"cellspacing="2"cellpadding="2"border="0">
<tr>
<td><center><img src="<?php echo SITE_URL?>/lib/skins/ocean_blue/images/icons/icon_dl.png" width="64" height="64" alt="" /><br><a href="<?php echo url('/profile/editprofile'); ?>">kACARS</a></center></td>
<td><center><img src="<?php echo SITE_URL?>/lib/skins/ocean_blue/images/icons/icon_dl.png" width="64" height="64" alt="" /><br><a href="<?php echo actionurl('/acars/fspaxconfig');?>">Download FSPax Config</a></center></td>
<td><center><img src="<?php echo SITE_URL?>/lib/skins/ocean_blue/images/icons/icon_dl.png" width="64" height="64" alt="" /><br><a href="<?php echo actionurl('/fsfk/vaconfig_template');?>">Download FSFK Config</a></center></td>
<td><center><img src="<?php echo SITE_URL?>/lib/skins/ocean_blue/images/icons/icon_dl.png" width="64" height="64" alt="" /><br><a href="<?php echo actionurl('/acars/xacarsconfig');?>">Download XAcars Config</a></center></td>
</tr>


</table>


</div>
</div>
</div>
</div>


<!-- End ACARS Configuration Box -->

Link to comment
Share on other sites

guys, sorry for the stress, if I would like to add an background picture on the website like this:

http://easyfsxitalia...t/en/index.php/

how can I make?

Sorbello Luca

VATSIM Network

Malta vACC Director

Malta ATO CFI (Director)

In the ocean_blue.css

Try This

Find

background: #D4E1ED;

and replace with

background-image: url('image url goes here');

background-color: #D4E1ED;

Link to comment
Share on other sites

  • 3 weeks later...

Im having troubles displaying this http://forum.phpvms.net/topic/21259-live-flight-board-airlines-display-solved/#entry114046

into the recent front bids

heres what im doing but getting an error.

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ocean_table">
   <tr>
    <th>Airline</th>
    <th>Flight</th>
    <th>Pilot</th>
    <th>Departure</th>
    <th>Arrival</th>
    <th>Aircraft</th>
    <th>Duration</th>
    <th>V/S</th>
    <th>Info</th>
</tr>
<?php
if(count($pireps) > 0)
{
 foreach ($pireps as $pirep)
 {
   $pilotinfo = PilotData::getPilotData($pirep->pilotid);
   $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
   $acrid = OperationsData::getAircraftByReg($pirep->registration);
   echo '<tr>';
   echo '<td>' <?php
$fcode = substr($flight->flightnum, 0, 3);
if($fcode == 'SIL')
{echo '<img src="http://greenvillems.org/wp-content/uploads/2012/11/Silver-Logo.jpg" width="120" height="35"/>';}
elseif($fcode == 'SBM')
{echo '<img src="http://tblocations-airlinelogores.s3.amazonaws.com/200-75-4c3f16e6579e2-sky-bahamas-google-chrome-15-7-2010-160848-bmp.jpg" width="120" height="35"/>';}
?>'</td>'
   echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td>';
   echo '<td><a href="'.SITE_URL.'/index.php/profile/view/'.$pilotinfo->pilotid.'">'.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</a></td>';
   echo '<td>'.$pirep->depicao.'</td>';
   echo '<td>'.$pirep->arricao.'</td>';
   echo '<td>'.$pirep->aircraft.'</td>';
   echo '<td>'.$pirep->flighttime.'</td>';
   echo '<td>'.$pirep->landingrate.' ft/m</td>';
if($pirep->accepted == PIREP_ACCEPTED)
echo '<td><span class="label label-important"><font color="green">Accepted</font></span></td>';
						    elseif($pirep->accepted == PIREP_REJECTED)
echo '<td><span class="label label-important"><font color="red">Rejected</font></span></td>';
						    elseif($pirep->accepted == PIREP_PENDING)
echo '<td><span class="label label-warning"><font color="orange">Pending</font></span></td>';
						    elseif($pirep->accepted == PIREP_INPROGRESS)
echo '<td>On Progress</td>';
   echo '</tr>';
 }
}
else
{
   echo '<tr><td>There are no recent flights!</td></tr>';
}
?>

Link to comment
Share on other sites

Creator you have an idea of what to do?

Also the touchdown stats wont stay aligned withn the side boxes

I've tried changing the table with with the touchdown tempalate but no luck

<div class="art-block clearfix">
<div class="art-blockheader">
<h3 class="t">Monthly Touchdown Stats</h3>
</div>
<div class="art-blockcontent"><p><?php MainController::Run('TouchdownStats', 'top_landing_this_month'); ?></p></div>
</div>

TPL

<?php
//simpilotgroup addon module for phpVMS virtual airline system
//
//simpilotgroup addon modules are licenced under the following license:
//Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
//To view full license text visit http://creativecommons.org/licenses/by-nc-sa/3.0/
//
//@author David Clark (simpilot)
//@copyright Copyright (c) 2009-2010, David Clark
//@license http://creativecommons.org/licenses/by-nc-sa/3.0/
?>
<table width="100%" border="0" class="ocean_table">
   <tr>
    <td>Pilot</td>
    <td>Aircraft</td>
    <td>Arrival Field</td>
    <td>Landing Rate</td>
    <td>Date Posted</td>
   </tr>
<?php
   foreach($stats as $stat)
   {
    $pilot = PilotData::getPilotData($stat->pilotid);
    $aircraft = OperationsData::getAircraftInfo($stat->aircraft);
    echo '<tr>';
    echo '<td>'.PilotData::getPilotCode($pilot->code, $pilot->pilotid).' - '.$pilot->firstname.' '.$pilot->lastname.'</td>';
    echo '<td>'.$aircraft->fullname.'</td>';
    echo '<td>'.$stat->arricao.'</td>';
    echo '<td>'.$stat->landingrate.'</td>';
    echo '<td>'.date(DATE_FORMAT, strtotime($stat->submitdate)).'</td>';
    echo '</tr>';
   }
?>
</table>

  • Like 1
Link to comment
Share on other sites

I'm trying to get airline to show up like in my Flight Departures board here:

1796492_1490952164516880_8129765494203648325_n.jpg?oh=197b45b1f4c0a789ba1d883df16b4050&oe=54E47127&__gda__=1420498070_714bf35399a165d23c587695035f0155

The code i use to put the "Airlines section into the table of the live map on the front page here:

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ocean_table">
    <tr>
		    <th>Airline</th>
		    <th>Flight</th>
		    <th>Pilot</th>
		    <th>Departure</th>
		    <th>Arrival</th>
		    <th>Aircraft</th>
		    <th>Duration</th>
		    <th>V/S</th>
		    <th>Info</th>
</tr>
<?php
if(count($pireps) > 0)
{
 foreach ($pireps as $pirep)
 {
    $pilotinfo = PilotData::getPilotData($pirep->pilotid);
    $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
    $acrid = OperationsData::getAircraftByReg($pirep->registration);
    echo '<tr>';
    echo '<td>' <?php
$fcode = substr($flight->flightnum, 0, 3);
if($fcode == 'SIL')
{echo '<img src="http://greenvillems.org/wp-content/uploads/2012/11/Silver-Logo.jpg" width="120" height="35"/>';}
elseif($fcode == 'SBM')
{echo '<img src="http://tblocations-airlinelogores.s3.amazonaws.com/200-75-4c3f16e6579e2-sky-bahamas-google-chrome-15-7-2010-160848-bmp.jpg" width="120" height="35"/>';}
?>'</td>'
    echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td>';
    echo '<td><a href="'.SITE_URL.'/index.php/profile/view/'.$pilotinfo->pilotid.'">'.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</a></td>';
    echo '<td>'.$pirep->depicao.'</td>';
    echo '<td>'.$pirep->arricao.'</td>';
    echo '<td>'.$pirep->aircraft.'</td>';
    echo '<td>'.$pirep->flighttime.'</td>';
    echo '<td>'.$pirep->landingrate.' ft/m</td>';
if($pirep->accepted == PIREP_ACCEPTED)
echo '<td><span class="label label-important"><font color="green">Accepted</font></span></td>';
														    elseif($pirep->accepted == PIREP_REJECTED)
echo '<td><span class="label label-important"><font color="red">Rejected</font></span></td>';
														    elseif($pirep->accepted == PIREP_PENDING)
echo '<td><span class="label label-warning"><font color="orange">Pending</font></span></td>';
														    elseif($pirep->accepted == PIREP_INPROGRESS)
echo '<td>On Progress</td>';
    echo '</tr>';
 }
}
else
{
    echo '<tr><td>There are no recent flights!</td></tr>';
}
?>

The results of that code here:

1374133_1490952177850212_990770146642430878_n.jpg?oh=47ccd3570ec507454fce1a3d30bf63e2&oe=54F3B85E&__gda__=1420531397_e0d78a9bbf7d381fec868a33e4bfb748

Here's what the website looks like with that code (IGNORE TOUCHDOWN STATS OVERLAP AND OTHER MINOR ERRORS STILL A WORK IN PROGRESS) here:

10521639_1490952187850211_8461027640520320275_n.jpg?oh=c42eb5aedf9450fb41316f9df47822b5&oe=54E8CDF5

Link to comment
Share on other sites

  • 1 month later...

really i don't know!! here is the code for the news in frontpage_main.tpl

<!-- Begin Company News -->

<div class="art-postcontent art-postcontent-0 clearfix"><div class="art-content-layout-wrapper layout-item-0">

<div class="art-content-layout layout-item-1">

<div class="art-content-layout-row">

<div class="art-layout-cell layout-item-2" style="width: 100%" >

<div class="art-blockheader">

<h3 class="t">Company News</h3>

</div>

<?php MainController::Run('News', 'ShowNewsFront', 5); ?>

</div>

</div>

</div>

</div>

<!-- End Company News -->

when i change the value from5 to 0 the site works fine!!

Link to comment
Share on other sites

  • 3 weeks later...

Hello I´m now configuring the menu of the website with this template and I make something like this;

<li><a href="#">Pilotos</a>
<ul>
<li><a href="<?php echo url('/Pilots'); ?>">Lista de pilotos</a></li>
<li><a href="<?php echo url('/rank'); ?>" title="Ranks">Rangos</a></li>
<li><a href="<?php echo url('/awards'); ?>" title="Awards">Medallas</a></li>
</ul>
</li>

As in the demo and default template is, and when I return to the website I only see the "Pilotos" menu the other that should appear people on mouse there, don´t appear someone can help? :(

Link to comment
Share on other sites

Can I have your URL?

Yes of course, http://liftaircargo.com/web/

Also I have the problem that I posted in other topic that´s when I write news I cannot write Ñ ñ characters or accents, I only can write english characters or with the HTML editor I can write accents and (ñ, Ñ) but without changing the font, colour, size...

Link to comment
Share on other sites

  • Moderators

Are you sure that you are using the code you pasted above on your website? As i can see, you are using this:

<li><a href="http://liftaircargo.com/web/index.php/Pilots">Pilotos</a></li>
<ul>
<li><a href="http://liftaircargo.com/web/index.php/Pilots">Lista de pilotos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/rank" title="Ranks">Rangos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/awards" title="Awards">Medallas</a></li>
</ul>

Use this instead of the above one and your problem will be solved:

<li><a href="#">Pilotos</a>
<ul>
<li><a href="http://liftaircargo.com/web/index.php/Pilots">Lista de pilotos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/rank" title="Ranks">Rangos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/awards" title="Awards">Medallas</a></li>
</ul>
</li>

Link to comment
Share on other sites

Yes of course, http://liftaircargo.com/web/

Also I have the problem that I posted in other topic that´s when I write news I cannot write Ñ ñ characters or accents, I only can write english characters or with the HTML editor I can write accents and (ñ, Ñ) but without changing the font, colour, size...

PM Sent

Link to comment
Share on other sites

Are you sure that you are using the code you pasted above on your website? As i can see, you are using this:

<li><a href="http://liftaircargo.com/web/index.php/Pilots">Pilotos</a></li>
<ul>
<li><a href="http://liftaircargo.com/web/index.php/Pilots">Lista de pilotos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/rank" title="Ranks">Rangos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/awards" title="Awards">Medallas</a></li>
</ul>

Use this instead of the above one and your problem will be solved:

<li><a href="#">Pilotos</a>
<ul>
<li><a href="http://liftaircargo.com/web/index.php/Pilots">Lista de pilotos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/rank" title="Ranks">Rangos</a></li>
<li><a href="http://liftaircargo.com/web/index.php/awards" title="Awards">Medallas</a></li>
</ul>
</li>

Hello! I used the code you put below and as principal features became innnacesible y revert the changes and I put your first code, now again I will put the second and also reply yo the flyalaska PM :D THANKS A LOT FOR YOU HELP!!

EDIT: Now the second code is on the web, and same problem...

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