Jump to content

Killerp51

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Killerp51's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Understandable with everything going on. Stay safe! Looking forward to implementing this.
  2. Since iCrewLITE is designed to go into a subdomain, and I didn't want to have to change all my invitation links to my website to icrew.myvirtualairline.com, I decided to create a simple "Splash" page that is uploaded into public_html and has the necessary options to link to the icrew subdomain. Install instructions: 1. iCrewLITE must be installed on a subdomain 2. Create a new php file titled index.php 3. Paste the below code into index.php 4. Edit links to your own subdomain ex: http://www.icrew.myvirtualairline.com/index.php/login 5. Upload to your public_html <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <title>Demo Airways</title> </head> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#">Demo Airways</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> <li class="nav-item"> <a class="nav-link" href="#">About Us</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Gallery</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Corporate </a> <div class="dropdown-menu" aria-labelledby="navbarDropdown"> <a class="dropdown-item" href="#">Staff</a> <a class="dropdown-item" href="#">Stats</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="#">Pilot Standards</a> </div> </li> </ul> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" href="#">Login/Register</a> </li> </ul> </div> </nav> <body> <div class="jumbotron jumbotron-fluid"> <div class="container"> <h1 class="display-4 text-center">NOTAMS</h1> <p class="lead">- This is an example "Splash" Page</p> <p class="lead">- Designed for use with phpvms iCrewLITE</p> <p class="lead">- Modify and edit this page to your desires.</p> </div> </div> </body> <!-- Optional JavaScript --> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> </body> </html> Live demo of splash page: http://www.interskyairways.com/ Enjoy!
  3. - For the Gallery pages, you must install the screenshots module. You can find it here listed as ScreenShotCenter. - For the profile picture, the skin calls for a picture directly from LeonardIGO4036's website. The link is no longer valid, therefore no picture is shown. I am still trying to figure out how to get it to work. I am able to show a profile picture if I upload it using FTP, but pictures are not uploading to lib/avatars like they are supposed to. I have 755 set and tried 777. I believe it's something to do with the code in app_sidebar.php but someone smarter than me can probably help us out. A few people were struggling to get to the admin side of the skin, I modified app_sidebar.php to include the following: <!-- Admin Access --> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { ?> <li><a href="<?php echo SITE_URL?>/admin"><i class="material-icons">brightness_auto</i>Admin Center</a></li> <li role="seperator" class="divider"></li> <?php } } ?> The divider at the bottom is just to keep the lines included already between links.
  4. So actually after redownloading clean versions of the php 7 skin and phpvms 5.5.2.72 and also verifying php 7.2 selected I have the exact same issue. Open Street Map just doesn't load. I also struggled to get the skin to display correctly, I remembered I had installed the Sky Blue skin after the Ocean Blue last time so I looked in the Sky Blue files and installed touchdown_stats and the skin loaded in correctly, minus the map. Any help would be greatly appreciated!
  5. Interesting... So when I went to install that version I got an error that I wasn't running php 7. My PHPAdmin shows 7.3.6 but the phpvms install client shows 5.4.45. I went into MultiPHP Manager and sure enough it was 5.4.45. So it turned out to be an interesting experiment that your php 7 skin runs almost 100% with an older phpvms client! Thanks for your help today!
  6. phpvms 5.5x from SimPilotGroup. I am using the skin intended for php 7.2 and it's working really well, with the map being the exception. But I can't find where the skin is trying to pull open street map from, for example when I inspect the demo skin (on the map) I find: <div id="acarsmap" style="width: 840px; height: 400px; position: relative; outline: none;" class="leaflet-container leaflet-touch leaflet-fade-anim leaflet-grab leaflet-touch-drag leaflet-touch-zoom" tabindex="0"><div class="leaflet-pane leaflet-map-pane" style="transform: translate3d(0px, 0px, 0px);"><div class="leaflet-pane leaflet-tile-pane"><div class="leaflet-layer " style="z-index: 1; opacity: 1;"><div class="leaflet-tile-container leaflet-zoom-animated" style="z-index: 19; transform: translate3d(0px, 0px, 0px) scale(1);"><img alt="" role="presentation" src="https://b.tile.openstreetmap.org/5/4/12.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(115px, 132px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://c.tile.openstreetmap.org/5/5/12.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(371px, 132px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://a.tile.openstreetmap.org/5/4/11.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(115px, -124px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://b.tile.openstreetmap.org/5/5/11.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(371px, -124px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://c.tile.openstreetmap.org/5/4/13.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(115px, 388px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://a.tile.openstreetmap.org/5/5/13.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(371px, 388px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://a.tile.openstreetmap.org/5/3/12.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(-141px, 132px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://a.tile.openstreetmap.org/5/6/12.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(627px, 132px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://c.tile.openstreetmap.org/5/3/11.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(-141px, -124px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://c.tile.openstreetmap.org/5/6/11.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(627px, -124px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://b.tile.openstreetmap.org/5/3/13.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(-141px, 388px, 0px); opacity: 1;"><img alt="" role="presentation" src="https://b.tile.openstreetmap.org/5/6/13.png" class="leaflet-tile leaflet-tile-loaded" style="width: 256px; height: 256px; transform: translate3d(627px, 388px, 0px); opacity: 1;"></div></div></div><div class="leaflet-pane leaflet-shadow-pane"></div><div class="leaflet-pane leaflet-overlay-pane"></div><div class="leaflet-pane leaflet-marker-pane"></div><div class="leaflet-pane leaflet-tooltip-pane"></div><div class="leaflet-pane leaflet-popup-pane"></div><div class="leaflet-proxy leaflet-zoom-animated"></div></div><div class="leaflet-control-container"><div class="leaflet-top leaflet-left"><div class="leaflet-control-zoom leaflet-bar leaflet-control"><a class="leaflet-control-zoom-in" href="#" title="Zoom in" role="button" aria-label="Zoom in">+</a><a class="leaflet-control-zoom-out" href="#" title="Zoom out" role="button" aria-label="Zoom out">−</a></div></div><div class="leaflet-top leaflet-right"></div><div class="leaflet-bottom leaflet-left"></div><div class="leaflet-bottom leaflet-right"><div class="leaflet-control-attribution leaflet-control"><a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a> | © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a></div></div></div></div> However when I inspect my own website (where the map should be) I find: <div id="acarsmap" style="width:100%; height: 400px"></div> When digging in frontpage_main.php I saw that it calls from frontpage_acars.php but in neither do I find where it actually goes to Open Street Map for the website. I am not great with code so I could have missed it, just trying to help you figure out if that's a possibility.
  7. phpvms version: simpilot 5.5.2 php version: 7.3.6 Note: The first issue regarding hours has since been fixed. I have no idea what I did or didn't do to make that happen. Thanks for the quick reply!
  8. Hi flyalaska, I've downloaded and installed your skin and absolutely love it! I am running into a few minor issues though. I've read through the documentation several times and cannot find fixes for these :) Hopefully you will be able to help. 1. On the home page under Company Statistics, Hours gives me the below error. All other statistics work fine and should look normal once this is fixed. Warning: number_format() expects parameter 1 to be double, string given in /home/intersky/public_html/lib/skins/ocean_blue/frontpage_main.php on line 145 The line it's referring to is: <td><font color="053077"><?php echo number_format(StatsData::TotalHours(), 0); ?></td></font> 2. Home page and Live Map do not load anything for the ACARS map, it properly formats the space and leaves an empty white square. Documentation edits were made to both local.config.php and app.config.php For reference, the website is http://www.interskyairways.com Thank you for a great skin!
×
×
  • Create New...