Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


LeonardIGO4036 last won the day on December 3

LeonardIGO4036 had the most liked content!

Community Reputation

5 Neutral


About LeonardIGO4036

  • Rank
    Advanced Member

Contact Methods

  • Website URL
  • Skype

Profile Information

  • Gender
  • Location
    Chennai, India
  • Interests
    Coding, Designing, Flying

Recent Profile Visitors

391 profile views
  1. I am unable to display pilotid etc in the navbar

    Hey mate, What page are you trying to display the pilot id? From what I understand from your first post, and If i'm not wrong, you are getting the ID displayed on the Crew Center but not on the Landing page correct? I haven't done this before, but try out the REST API.
  2. Disable Pilot Registration

    1. To count your total pilots, I guess there's a function for it on StatsData.class.php Just open that file from core > Common and search up for the function. Once you find the right function, call it For example <?php echo StatsData::get_all_pilots(); ?> 2. Okay, I guess I can help with that, Had done this for a VA. It's really simple, once you find the total pilots, write a simple conditional statement, " if($totalpilots > 299) { echo 'We are currently not hiring'; } else { echo 'We are hiring pilots, Register now! } " ^ this is just for an example, if you want a full code of this, please wait till tomorrow, I will reach home and send you.
  3. User does not appears in "Pending Pilots" when registered

    Hey, If the pilots are getting the Registration emails, then I guess there isn't any flaw with the registration part. If the pilots aren't there on the "pending list", then which group are they categorized into? Go to your phpmyAdmin, and under phpvms_pilots, go to the last page and see the data of the latest-registered pilot. It should show "Confirmed = 0" Now note his ID and then go to phpvms_groupmembers, and now run a query and cross check which group the pilot is in. Hope this helps.
  4. Quick question

    Hey Jack, there's a wonderful tutorial by @Aaryan Follow this link I hope this helps you. If you're satisfied which what you saw, give him a like Regards.
  5. Assistance creating a pHpVMS website for my VA.

    Hey Blake, Setting up a phpVMS website shouldn't be alot of trouble. 1. Get your domain and hosting (you can have a free one or a paid one, it's your wish, but if you're taking my opinions into account, I'd say go for a paid one) - You need an SQL Database too (phpMyAdmin) - Create a database eg : 'my_va' and also a database user with all privilèdges. - (Optional) Create a subdomain called crew.yourvirtualairline.com and point it towards a folder called 'crew' (you have to create this folder) 2. Download the latest version of phpVMS by simpilot from here. https://github.com/DavidJClark/phpvms_5.5.x 3. Once you download it, rename it to 'crew' and upload it to your site. 4. Open the file manager / ftp (file transfer protocol), usually it's ftp.yoursite.com. Download an FTP client (Filezilla is what I used to have) and use your ftp account details to login. Then upload the 'crew.zip' and then unzip it, (or) unzip it and then upload. 5. Once you're done, run install.php crew.yourvirtualairline.com/install/install.php (if you haven't created a sub domain, then use www.yourvirtualairline.com/install/install.php) 6. Enter your VA Details, check the database connection and proceed as directed. This will successfully install phpVMS into your website. ---- Setting up the VA : 1. You need schedules, airports and fleet details. This you gotta do on your own my friend. Use flightaware.com or even you Airline's official website for the CSV file and then upload it into your phpVMS via the admin panel. 2. Now, search the forums, there are tons of usefull addons which might come in handy for your pilots during flight ops. 3. For the Pilot center skins, there are lots of Freeware templates available. If you'd like a crew center, try out MarkSwan's CrewCenter. It's really good and highly recommended for a startup VA.  (But if you're looking for something slightly better, search for iCrew v4 on payware addons ) 4. If you've installed phpVMS on crew.yourvirtualairline.com, then use www.yourvirtualairline.com for a landing page. Landing page Templates are available in huge volumes for free in the internet, just download one and customise them for your use. I hope this was usefull, if it was useful give me a like Best Regards and all the very best for your New Virtual Airline. Leonard.
  6. Help needed with no route passed.

    Did you fix it? If not, try including the core_header.php
  7. Register page

    If you're not sure why it's happening, try if it's working with the Crystal Skin If yes, then replace the registration_mainform.php with the code which is in Templates/registration_mainform.php and skin them again. hope this helps
  8. Upcoming Departures

    Simply hover over the heart icon below. slide to the left and press the "thanks" icon. Thank you once again:)
  9. Upcoming Departures

    Glad that the code works A like would be appreciated
  10. Upcoming Departures

    Okay, I have made it work with a custom skin here, I've added a feature which you could see "Upcoming", the green label. It'll turn into a red color label and say "No Departures" if there are no upcoming departures. and additionally, i've added the time till which the bid will be available. Which is 48 hours. If you're using a Bootstrap theme, then just copy and paste my code into your frontpage_main.tpl <div class="col-md-12"> <!--Upcoming Departures block--> <div class="block"> <div class="block-title"> <?php $lastbids = SchedulesData::GetAllBids(); if (count($lastbids) > 0) { $departurestatus = 'Upcominig'; $label_clr = 'success'; } else { $departurestatus = 'No Departures'; $label_clr = 'danger'; } ?> <div class="block-options pull-right"> <span class="label label-<?php echo $label_clr ?> animation-pulse"><?php echo $departurestatus?></span> </div> </div> <h3><Strong>Upcoming</Strong> Departures</h3> <div class="table-responsive"> <!--Remove this line if you dont want the departures box to be on a fixed scale--> <div style="overflow: auto; height: 270px; border: 0px solid #666; margin-bottom: 20px; padding: 5px; padding-top: 0px; padding-bottom: 20px;"> <table class="table table-hover table-striped"> <thead> <tr> <th> <div align="center">Flight #</div> </th> <th> <div align="center">Pilot</div> </th> <th> <div align="center">Slot added on</div> </th> <th> <div align="center">Slot Expires on</div> </th> <th> <div align="center">Departure</div> </th> <th> <div align="center">Arrival</div> </th> <th> <div align="center">Registration</div> </th> </tr> </thead> <tbody> <?php $lastbids = SchedulesData::GetAllBids(); if (count($lastbids) > 0) { ?> <?php foreach($lastbids as $lastbid) { ?> <?php $flightid = $lastbid->id ?> <td height="25" width="10%" align="center"><font face="Bauhaus"><span><?php echo $lastbid->code; ?><?php echo $lastbid->flightnum; ?></span></font></td> <?php $params = $lastbid->pilotid; $pilot = PilotData::GetPilotData($params); $pname = $pilot->firstname; $psurname = $pilot->lastname; $now = strtotime(date('d-m-Y',strtotime($lastbid->dateadded))); $date = date("d-m-Y", strtotime('+48 hours', $now)); ?> <td height="25" width="10%" align="center"><span><?php echo $pname; ?> <?php echo $psurname; ?></span></td> <td height="25" width="10%" align="center"><span class="text-success"><?php echo date('d-m-Y',strtotime($lastbid->dateadded)); ?></span></td> <td height="25" width="10%" align="center"><span class="text-danger"><?php echo $date; ?></span></td> <td height="25" width="10%" align="center"><span><font face=""><?php echo '<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="top" title="Click to view Airport Information!" href=" '.SITE_URL.'/index.php/airports/get_airport?icao='.$lastbid->depicao.'">'.$lastbid->depicao.'</a>';?></font></span></td> <td height="25" width="10%" align="center"><span><font face=""><?php echo '<a class="btn btn-default btn-sm" data-toggle="tooltip" data-placement="top" title="Click to view Airport Information!" href= '.SITE_URL.'/index.php/airports/get_airport?icao='.$lastbid->arricao.'">'.$lastbid->arricao.'</a>';?></font></span></td> <td height="25" width="10%" align="center"><span><a class="btn btn- btn-sm" data-toggle="tooltip" data-placement="top" title="Click to view Aircraft Information!" href="<?php echo SITE_URL?>/index.php/vFleetTracker/view/<?php echo '' . $lastbid->registration . ''; ?>"><?php echo $lastbid->registration; ?></a></td> </tr> <?php } } else { ?> <div class="alert alert-danger"> <strong>Oops</strong><br> Looks like there are no upcoming departures at the moment, do you feel like flying? Click <a href="<?php echo SITE_URL?>/index.php/Schedules">here</a> to bid a flight! #tuigroupvirtual </div> <?php } ?> </tbody> </table> </div> </div> </div> <!--END Upcoming Departures Block--> </div> Let me know if this works for you! Regards, Leonard.
  11. Upcoming Departures

    How exactly do you want it to display? I've made some custom edits to it on my VA.
  12. [SOLVED] Import airports

    Hey, can you tell me how you put it back to 5.4 ?
  13. iCrew v4 | Most advanced Pilot CrewCenter

    Heyo! We welcome TUI Group Virtual into the family of iCrew v4. Something is special about TUI Group VA, Guess What ? It is for "INFINITE FLIGHT" Simulator. I had a great adventure working for this new VA. I've attached some Screenies of iCrew v4 LITE which is being used in TUI Group VA. URL : http://www.tuigroupvirtual.co.uk Whether you need to VA from Scratch or you need to just upgrade it, we do it all! Send me a DM if you are interested to elevate your Pilot Crew Center. Regards, Leonard.
  14. [SOLVED] Route Map on BID layout

    Hi Carlos, you want a your flight route map like vAMSYS correct? They use a method which is something called as "Animated Symbols" You would need the following : 1. Take a copy of the route_map.php (never work on the active one) 2. Go to Google Developers and get your API key for this feature. 3. Change the Color and style of your map using http://snazzymaps.io to make it look more attractive. 4. Create a custom icon in gif format (like that Airplane) 5. Follow this link https://developers.google.com/maps/documentation/javascript/examples/overlay-symbol-animate and do as mentioned, you need to do some experiments with it, because it's not easy to get it working. ^ Analyze the JS Code, and define the Symbol's code too properly. Hope this was helpful, All the best
  15. iCrew v4 | Most advanced Pilot CrewCenter

    You are absolutely correct, i appreciate your concern mate One of the moderators have already contacted me and i have presented him on how we work. To all the fellow developers who are confused about how we work, Once a client contacts us, we give them a demo of iCrew v4 with one of our demo accounts and make them experience iCrew. After which, we send the User a detailed documentation about the services which are available at our end, once the client has specified what he exactly wants*, we ask them to transfer an advance payment, with which we first purchase the skin. (Sometimes even the domain and hosting too, for Fresh Starters). Only after this, we start with the implementation work We advertise iCrew v4 as a "Plug and play" type CMS. That tag line would only be appropriate if we implement on the same theme as what we used for development. But in some cases, we've had clients who requested work on a specific theme, in such cases we do as per the request of the client. (But it would take some time to implement) I hope i have made myself clear If anymore doubts, please do ask me, i will be more than delighted to explain! Regards, Leonard.