Jump to content

OceanBlue


flyalaska

Recommended Posts

Hello...

I get errors like these...

Notice: The template file "/home/sidesti1/public_html//lib/skins/ocean_blue/header.php" doesn't exist in /home/sidesti1/public_html/core/classes/TemplateSet.class.php on line231

and

Notice: The template file "/home/sidesti1/public_html//lib/skins/ocean_blue/footer.php" doesn't exist in /home/sidesti1/public_html/core/classes/TemplateSet.class.php on line231

installed on www.sidestickrider.net

What did i do wrong? i can't find the header.php and footer.php..

Regards

Link to comment
Share on other sites

Hello.I'm How to Edit Live Map and How to Edit Live Map Width ?

Question.md.png

To change the map size look in the local.config.php file in the Core folder and edit the size until it fits!

Your looking for this area in the local.config.php file:

# Google Map Options

Config::Set('MAP_WIDTH', '800px');

Config::Set('MAP_HEIGHT', '600px');

# Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP

Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');

Config::Set('MAP_LINE_COLOR', '#ff0000');

Config::Set('MAP_CENTER_LAT', '45.484400');

Config::Set('MAP_CENTER_LNG', '-62.334821');

Config::Set('MAP_ZOOM_LEVEL', 12);

Change the width and the height to your liking! I think he gives the dimensions in the instructions somewhere.

  • Like 1
Link to comment
Share on other sites

I do have a question for you. Is there a way to add the top 10 landing rates under the latest flights?

Install Touchdown stats by Simpilot - https://github.com/DavidJClark/phpVMS-TouchdownStats

Than add the code below where you want it to display.

<?php
               $lstats = TouchdownStatsData::get_landingstats_currentmonth(10);
               if(!$lstats)
               {
                   echo 'No Greased Landings Recorded ';
                   echo 'For '.date('F Y');
               }
               else
               {
                  echo '<center>';
                   echo '<table width="750px" border="0" cellspacing="0" cellpadding="0" class="aka_table">';
                   echo '<thead><tr><th>Callsign</th><th>Pilot</th><th>Aircraft</th><th>Departure</th><th>Arrival</th><th>Landing</th></tr></thead>';
                   foreach ($lstats as $row)
                   {
                       $pilot2 = PilotData::GetPilotData($row->pilotid);
                       echo '<tr><td>';
                       echo PilotData::GetPilotCode($row->code, $row->pilotid).'</td><td>'.$pilot2->firstname.' '.$pilot2->lastname.'</td><td>';
                       $aircraft = OperationsData::getAircraftInfo($row->aircraft);
                       echo $aircraft->icao.'</td><td>';
                       echo $row->depicao.'</td><td>';
                       echo $row->arricao.'</td><td>';
                       echo $row->landingrate;
                       echo ' ft/min';
       echo '</td></tr>';
   }
   echo '</table>';
   echo '</center>';
}
?>

Link to comment
Share on other sites

Install Touchdown stats by Simpilot - https://github.com/D...-TouchdownStats

Than add the code below where you want it to display.

<?php
$lstats = TouchdownStatsData::get_landingstats_currentmonth(10);
if(!$lstats)
{
echo 'No Greased Landings Recorded ';
echo 'For '.date('F Y');
}
else
{
echo '<center>';
echo '<table width="750px" border="0" cellspacing="0" cellpadding="0" class="aka_table">';
echo '<thead><tr><th>Callsign</th><th>Pilot</th><th>Aircraft</th><th>Departure</th><th>Arrival</th><th>Landing</th></tr></thead>';
foreach ($lstats as $row)
{
$pilot2 = PilotData::GetPilotData($row->pilotid);
echo '<tr><td>';
echo PilotData::GetPilotCode($row->code, $row->pilotid).'</td><td>'.$pilot2->firstname.' '.$pilot2->lastname.'</td><td>';
$aircraft = OperationsData::getAircraftInfo($row->aircraft);
echo $aircraft->icao.'</td><td>';
echo $row->depicao.'</td><td>';
echo $row->arricao.'</td><td>';
echo $row->landingrate;
echo ' ft/min';
echo '</td></tr>';
}
echo '</table>';
echo '</center>';
}
?>

My php knowledge is just about absolute zip lol. I would like to install it under the latest flights on the main page to keep the style of the website but when i do i get this error. l

Fatal error: Call to undefined method TouchdownStatsData::get_landingstats_currentmonth() in /home/shadyowl2/public_html/phpvms/lib/skins/ocean_blue/frontpage_main.tpl on line290

Could i need the tpl version of the touchdownstats? I can change it to tpl and get a page from the site http://ecxva.com/phpvms/index.php/TouchdownStats/top_landings/10

Link to comment
Share on other sites

  • 2 weeks later...

Can the first two be deleted got it to work server running slow.... But now to ask a true question I have a flight board that pulls from my flights and shows depart and arrivals but I would like to replace the latest flights with this but I would like to have tabs like for arrivals and then a tab for depart and a tab for online now does anybody know how to do that thanks.

Link to comment
Share on other sites

Locate the css

.art-slideheader0 {
   background-image:  url('../images/slider/slideheader0.jpg');
       background-size:  100%;
       background-position:  0 0;
   background-repeat: no-repeat;
}
.art-slideheader1 {
   background-image:  url('../images/slider/slideheader1.jpg');
       background-size:  100%;
       background-position:  0 0;
   background-repeat: no-repeat;
}

on a new linw after the add

.art-slideheader3 {
   background-image:  url('../images/slider/slideheader3.jpg');
       background-size:  100%;
       background-position:  0 0;
   background-repeat: no-repeat;
}

Dont forget to change image url and slider number

.art-slideheader3

Now open your layout.tpl and find

<div class="art-slide-item art-slideheader0"></div>
<div class="art-slide-item art-slideheader1"></div>

on a new line add

<div class="art-slide-item art-slideheader3"></div>

Make sure that your slider number matches the number in your css.

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