1. Package
The package contains the following folders:
- “3rd Party MODS” contains the third party Modules zips. Seperate installation will be required.
- “core” contains the required module for the hubs pilot list.
- “lib” contains all the files needed for your skin.
2. Installation
To install the new skin you must —
- Upload the lib folder from your pc to the phpVMS root to your web server.
-
Now go to your phpVMS admin. Navigate to
Site & Settings --> General Settings
Under the Current Skin section, select your skin to blueIce and than click save.

4. How do I change the header image
-
This can be done by sizing the image you want to
1194x400
name it header.jpg. Upload it to/lib/skins/blueIce/images
5. How do I edit the ACARS Map?
ACARS Map - Change your seetings to match below
blueIce 2.0 does not use google maps for our ACARS. blueIce uses OpenStreet Map. All files are included. Only manual change it to the local and app config. Dont forgrt to change your map location by editing the longitude and latitude.
-
Open core/local.config and app.config
# Map Options Config::Set('MAP_WIDTH', '600px'); Config::Set('MAP_HEIGHT', '600px'); # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP Config::Set('MAP_TYPE', 'OpenStreetMap.Mapnik'); Config::Set('MAP_LINE_COLOR', '#ff0000'); Config::Set('MAP_CENTER_LAT', '38.6954444'); Config::Set('MAP_CENTER_LNG', '-121.5907778'); Config::Set('MAP_ZOOM_LEVEL', 5);
6. How to add Recaptcha
- If you are getting an error from the recaptch on the Registration and Contact pages. You will than need to obtain your
recaptcha keys for your domain. Simply follow this link. Than paste the
code to your local.config page just like as shown below.
Replace Key #1 and key #2 with your actual keys.
/* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', 'key #1'); Config::Set('RECAPTCHA_PRIVATE_KEY', 'key #2');
- If you are getting an error from the recaptch on the Registration and Contact pages. You will than need to obtain your
recaptcha keys for your domain. Simply follow this link. Than paste the
code to your local.config page just like as shown below.
7. Installing Modules
This skin has preset modules. Only the template files are installed. You will need to install the Modules. Open the folder in the skin download titled 3rd Party MODS. Please note that the template files have been removed from the files so you dont overwrite the files.
This template has a no hub pilots list. You will need to add the Pilots module that is included in the download. Just upload the core folder to
your phpVMS installation directory. (back up your Pilots Module before uploading the included file. Only install if you have no edits to the Pilots Module)
Remember to install all the modules!
core/common/TouchdownStatsData.class
public static function airline_average() { $stats = self::get_all_stats(); $total = 0; $count = 0; foreach ($stats as $stat) { $total = $total + $stat->landingrate; $count++; } $average = $total / $count; return $average; } public static function get_landingstats_currentmonth($howmany){ $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND YEAR(submitdate)=YEAR(curdate()) AND MONTH(submitdate)=MONTH(curdate()) ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); }You will need to add some code to two data classes. Add the following code below to
core/common/StatsData.class.php
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; }
7.1 Downloads Module
This mod will give you a better looking download page, seperated by categories. When done with adding a category, go to your phpmyadmin and get the cat ID of the category, than add it to your navigation menu./index.php/MyDownloads/get_category_downloads/1">FSX Planes

7.2 Join Module
This mod will let you place some rules on a pre-ristration page. Wont let you continue the registration untill you agree to the terms. Simply install the module from the 3rd Party MODS folder. Than link your registration to/index.php/Join

9. Other Edits
core_navigation.php
- Add links to your menu.core_navigation.php
- Line 2, If yourairlinename is too long, just use the icon and remove the name.Join.php
- Set your own Airlines rules.frontpage_main.php
- Line 109, change the date of when your Airline opened. - countup(2016,09,01) Do the same for line 106.frontpage_main.php
- Line 164-166 add or remove to your liking for supported simulators.frontpage_main.php
- Line 178 add your Paypal link for donations.frontpage_main.php
- Line 297-300 add or remove to your liking for social media icons.- Once you have yor first flight in the database with a landing rate delete line 114 an 118 to unhide the average company landing.
9.1 Important Information
Table Class - blueIce_tableButton Class - btn btn-primary
Font Awesome Icons - https://fontawesome.com/icons?d=gallery
10. Support
If you have any questions that are not answered in this documentation, feel free to contact us via on our website or by our Support Forums You can also reply to the skyBlue post on the phpVMS forums.
When asking for support, plseae allow up 24 hours for a responce. With any support request please include the follwing.
- Your URL of your airline that you need support for.
- Any screenshots if possible
- Full detailed description of the issue.
Any websites that have removed the phpVMS link or our link from the footer will be ignored and will not get any support.