Jump to content

BlueIce V2


flyalaska

Recommended Posts

Thank you for looking at my skin.BlueIce v2 is a major update from previous versions. BlueIce is for php skins only and was tested with SimPilots 5.5 base and ProAvia 5.5 update for php 7 . There are two downloads. One for php 5.6 and the other for php 7.2

Whats all included:

 - Bootstrap v4.1.3 compatible

 - Font Awesome 5 icons

 - OpenStreet Map

- Custom public profile

- Custom Pilot profile/Dashboard

- Styled tables

Modules Needed (included):

You will need to install a few modules for this template to work. (included)

AirMail 3

All Awards

Ranks

Touchdownstats

DO NOT install the template files.

***PLEASE READ THE DOCUMENTATION FOR INSTALLATION***

 

Download - php 5.6

Download php 7.2

Download  - phpVMS for php 7.2 (Thanks ProAvia)

BI-1.jpg

 

BI-2.jpg

 

BI-3.jpg

 

BI-4.jpg

Edited by flyalaska
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Hello,

 

Working on installing the BlueIcev2

I got this error message

 

Users Online:
Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting ';' or '{' in /home/perry/public_html/core/common/StatsData.class.php on line 878

 

After pasting the following in the StatsData.class.php

Not sure what the issue is.

Any help will be greatly appreciated.

 

public static function get_stats_by_cur_month($howmany)  public static function TotalPilotMiles($pilotid)
{
  $key = 'total_miles';
  $key .= '_'.$pilotid;

  $total = CodonCache::read($key);

  if($total === false)
  {
   $total = 0;
   $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1";
   $results = DB::get_results($sql);
   if($results) { foreach($results as $result) { $total += $result->distance; } }

   CodonCache::write($key, $total, '15minute');
  }
  return $total;
}

   public static function getpilotsbestlanding($pilotid)
    {
            $sql = "SELECT landingrate FROM ".TABLE_PREFIX."pireps WHERE pilotid = '$pilotid' AND landingrate < 0 ORDER BY landingrate DESC LIMIT 1";

            $result = DB::get_row($sql);

            if(!$result)
            {
                return 0;
            }

            $result = $result->landingrate;

        return $result;
    }

        public static function getpilotsworselanding($pilotid)
    {
        $sql = "SELECT landingrate FROM ".TABLE_PREFIX."pireps WHERE pilotid = '$pilotid' AND landingrate < 0 ORDER BY landingrate ASC LIMIT 1";

            $result = DB::get_row($sql);

            if(!$result)
            {
                return 0;
            }

            $result = $result->landingrate;

        return $result;
}

 

 

Link to comment
Share on other sites

2 hours ago, perryfincher said:

Working on installing the BlueIcev2

I got this error message

 

Users Online:
Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting ';' or '{' in /home/perry/public_html/core/common/StatsData.class.php on line 878

 

See here:

 

Link to comment
Share on other sites

4 hours ago, GustavoMinuano said:

Hello @ProAvia

 

When I click on: "Join Today" the action points to "https://anumara-cargo.com/index.php/Join" and displays the error: An Error Was Encountered The module "JOIN" doesn't exist!

Link? You get that error, because you didnt install the Join module.

Edited by flyalaska
Link to comment
Share on other sites

3 hours ago, GustavoMinuano said:

 

Here is the link https://anumara-cargo.com/index.php

 

Please, I did not find in the documentation how to install the module.

That mod got removed some how. here you go.

https://www.209studios.com/files/Join.zip

extract and upload the Join file to core/modules folder.

Edited by flyalaska
Link to comment
Share on other sites

  • 2 weeks later...
  • Administrators

It appears that the CSS files aren't loading. Double check that you installed the skin correctly and that you uploded all the files to their correct locations.

 

If that doesn't fix it, the skin developer will get back to you once he sees your post.

Link to comment
Share on other sites

  • 4 months later...

Hello, I uploaded the code that you posted and when I open the crew center it shows the following error: Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/vol3_4/epizy.com/epiz_26466533/htdocs/core/common/StatsData.class.php on line 879

 

I pasted this:

 

public static function TotalPilotMiles($pilotid)
{
  $key = 'total_miles';
  $key .= '_'.$pilotid;

  $total = CodonCache::read($key);

  if($total === false)
  {
   $total = 0;
   $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1";
   $results = DB::get_results($sql);
   if($results) { foreach($results as $result) { $total += $result->distance; } }

   CodonCache::write($key, $total, '15minute');
  }
  return $total;
}

   public static function getpilotsbestlanding($pilotid)
    {
            $sql = "SELECT landingrate FROM ".TABLE_PREFIX."pireps WHERE pilotid = '$pilotid' AND landingrate < 0 ORDER BY landingrate DESC LIMIT 1";

            $result = DB::get_row($sql);

            if(!$result)
            {
                return 0;
            }

            $result = $result->landingrate;

        return $result;
    }

        public static function getpilotsworselanding($pilotid)
    {
        $sql = "SELECT landingrate FROM ".TABLE_PREFIX."pireps WHERE pilotid = '$pilotid' AND landingrate < 0 ORDER BY landingrate ASC LIMIT 1";

            $result = DB::get_row($sql);

            if(!$result)
            {
                return 0;
            }

            $result = $result->landingrate;

        return $result;
}

Edited by aeromexicovirtual
Link to comment
Share on other sites

  • 1 month later...

Hi guys,

 

I might be being really stupid here.

I have just installed phpVMS (vrs7) and am moving our airline over to this new site, we really liked the skins on offer and was trying out the 3 that you had uploaded.

 

I followed the install procedure and dropped the lib folder in the root phpVMS folder as suggested but nothing ever appears in the settings area of the website only deafult.

 

What am I doing wrong.

 

Once we get it alive we can then alter it to fit our airline.

 

All the best

 

Doug

 

 

 

 

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