Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Kyle

  1. Hello all, As you may noticed that I'm assisting with phpVMS v7 development and trying to make it developer friendly and working on a document how it would all come together for add on modules. Also, this was mentioned to me by someone about making my add-ons compatible for v7, so I opened up a poll to see what you guys would like to see which modules from KJRDev to be compatible with v7. I want to determine to see what demands there are for each add-on module I made. I'm currently not working on any new modules until phpVMS v7 is fully stable and released as I'm busy with assisting the development of phpVMS v7, a top-secret project (), other projects with work & life commitments. Let me know what you think! Cheers!
  2. Sorry I didn't get the notification on this thread. What we are trying to mean is that the phpVMS version. Try re uploading the file @web541 has mentioned.
  3. It sounds like your missing some CSS/JS files. And I see you have Google Chrome, let's right-click on the webpage, and click on inspect. Or press CRTL+SHIFT+I. And show us what the console has to say.
  4. Hey everyone, Despite the fact that my add-ons have been outdated, and I just don't see the need that it won't ever be updated since phpVMS v4 is on the horizon and I'm now shifting my focus on phpVMS v4, assisting Nabeel with development and testing. I might be converting those add-ons into phpVMS v4, you'll never know, it might just happen! I have moved all of my phpVMS Add-On Modules over to a new GitHub Organization. You now can find them at https://github.com/KJRDev. The reason why I'm making the move is to allow easier Team access in the future. Second of all, Vansers Addons is now KJRDev to provide better services in the future, such as freeware modules and possibility payware (still debating on this) and even more services (stay tuned! ), and I'm currently working on a website for KJRDev at the moment! All for now!
  5. Give this a whirl, not tested. Let me know if it's working. ;-) <h3><?php echo $title ;?></h3> <?php # Grab the airlines we have in the system. $airlines = OperationsData::getAllAirlines(true); # Now let's loop the airlines. foreach ($airlines as $airline) { $pilots = PilotData::findPilots(['code' => $airline->code]); if(!$pilots) { echo '<tr><td align="center" colspan="5">There are no pilots!</td></tr>'; return; } else { ?> <h4><?php echo $airline->name;?></h4> <table width="100%"> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <?php foreach($pilots as $pilot) { ?> <tr> <td align="center"><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td width="1%" nowrap> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td align="center"><img src="<?php $rank = PilotListData::rank($pilot->rank); echo $rank->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td align="center"><?php echo $pilot->totalflights?></td> <td align="center"><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <?php } } ?> </table> <?php } ?>
  6. ActivityData.class.php was added in one the beta versions of phpVMS, it wasn't in phpVMS v2.1.936 at that time.
  7. phpVMS doesn't have anything related in the database such as 'pending_nm' or 'image_url'. This sounds like you installed Virtual Airlines Manager from http://virtualairlinesmanager.net/. Unfortunately, we can not provide any support to Virtual Airlines Manager. You will have to ask in their forums about this issue.
  8. At the moment, phpVMS 3 is not released yet. @simpilot was getting the git repository set up in preparations for the release of phpVMS 3. He will make the announcements once it's officially released. ;-)
  9. May I direct you to use the search and search "could not open socket" on the forums? It has been answered many times, numerous reasons could be free hosting which they don't work very well with phpVMS, or an issue with recaptcha settings. If you can not figure out, then let us know and we'll help you out.
  10. Ray, Did you try updating the map.php in the module's template folder? There is a section part for google map options, you just have to add in the style lines in there.
  11. Kyle

    vStaff - v1.0

    There's something about that TPL version. I still haven't discontinued the TPL versions yet because it's outdated compared to the PHP version.
  12. Kyle


    NEW VERSION! I have updated this module to provide a cleaner URL. The file changes are listed here - GitHub Commit - The URL to the module will be required to be updated. <a href="<?php echo url('/vStatsCenter/index/'.date(n).'/'.date(Y)) ?>">vStatsCenter</a> - Simply, download the new files, replace them, and update the URL! Download Version 1.1
  13. Kyle


    You guys must download the correct template format. If you are using phpVMS with templates that uses the .TPL extension, then this one will be correct for your installation -> https://github.com/Vansers/phpVMS_vStatsCenter/archive/tpl_version.zip If your using with .PHP extension, then this will be correct as well -> https://github.com/Vansers/phpVMS_vStatsCenter/archive/php_version.zip Cheers!
  14. kACARS_Free - http://www.fs-products.net/index.php/kacars-free, it's pretty much workable for a system.
  15. Kyle

    vStaff - v1.0

    Alright, got that fixed! If you are running the stable version of phpVMS - https://github.com/Vansers/phpVMS_vStaff/archive/tpl_version.zip If you are running the Beta Version of phpVMS - https://github.com/Vansers/phpVMS_vStaff/archive/php_version.zip Cheers!
  16. Kyle

    vStaff - v1.0

    I need to update this. This is part of PHP's update where they don't allow $_FILES as part of the parameters. I'll a take look right away and let you know. Thanks!
  17. No it's not really possible with phpVMS. You can only select one aircraft with creating a schedule. Cheers!
  18. Uhhh, I think you want a roster within the region with multiple hubs?
  19. Sorry, for the late response. Here's the code how you would get the pilot list... <?php $hubpilots = HubStats::Pilots(KATL);?> <?php if(!$hubpilots) { echo 'There are no pilots in this hub!'; return; } else { ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <tbody> <?php foreach($hubpilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <?php } ?> </tbody> </table> <?php } ?>
  20. It's something that you would have to request to the ACARS Developer.
  21. Here's the counting function for the pilots... <?php echo (HubStats::CountPilots(KATL) + HubStats::CountPilots(KBOS) + HubStats::CountPilots(KSEA));?> Cheers!
  22. This should do the trick. <?php echo (HubStats::TotalHours(KATL) + HubStats::TotalHours(KBOS) + HubStats::TotalHours(KSEA));?> Cheers!
  • Create New...