Jump to content

simpilot

Administrators
  • Content Count

    2773
  • Joined

  • Last visited

Everything posted by simpilot

  1. simpilot

    TOPPilot beta 1.0

    TOPPilot beta 1.0 phpVMS module to extract monthly flight statistics for individual pilots from your phpVMS based virtual airline. Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS 2.0.874 php 5.2.11 mysql 5.0.51 apache 2.2.11 Included files: readme.txt top_flight.sql TopPilot.php TpPilotData.class.php tp_index.tpl tp_previous.tpl Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. -use the top_flights.sql file to create the table needed in your sql database using phpmyadmin or similar. -after the initial install point your browser to yoursite/index.php/TopPilot/refresh_pilot_stats one time. This will populate the database table with any data available. -to view the main TopPilot index create a link yoursite/index.php/TopPilot -everytime a pirep is filed the module will recalculate the pilot stats and update the database There are three main display functions within the TopPilotData class that you can configure to use in various parts of your site. Flights flown - TopPilotData::top_pilot_flights($month, $year, 5) Hours flown - TopPilotData::top_pilot_hours($month, $year, 5) Miles flown - TopPilotData::top_pilot_miles($month, $year, 5) $month should be the two digit month id of the month you want data from – ie 06 = June $year is the four digit year you are pulling – ie 2010 5 – can be changed to how many records you want returned. Excluding PIREPS that are not accepted yet. TopPilot.php line 52. Uncomment the trailing section and the module will not include unapproved PIREPS. Doing this will cause the module not to display any newly accepted PIREPS in the TopPilot data listings until after another PIREP is filed although you can refresh the stats at anytime using – yoursite/index.php/TopPilot/refresh_pilot_stats Although this script carries no limits of use a link back to www.simpilotgroup.com would be greatly appreciated! Have fun! Code hosted on Github - Link In Signature.
  2. The current situation with vaCentral is as follows; I took over the hosting and maintenance of both the phpVMS and vaCentral sites in January of 2015. Nabeel's career has continued to move him to higher positions requiring more and more attention which in turn made it very hard for him to maintain any consistency with these projects. My intentions in taking over were (and still are) to continue the development of a version 3 and keep the websites up and running. As they say, good intentions never go unpunished. Since taking over, the database for phpVMS has been hacked and corrupted, the site has been the victim of 2 major DDOS attacks, and I have received close to 100 hate mails about all things phpVMS and vaCentral. Currently the main web pages for vaCentral are down. Why? In order to try and save a little money and avoid future DDOS attacks I have moved both sites to a new server instance which also included an upgrade in terms of OS and PHP versions. For some reason this has broken the front end of vaCentral although data is still being received and recorded through the phpVMS API server, which runs the same system and setup. I am working toward a resolution and do have the basic stats pages working for those that want to review them, they are all linked on the vaCentral.net home page. The airline stats are updating hourly and are correct. The XML feed for VA ranking is down at this time, it is next on my list of repairs. I hope this helps explain what is going on and where vaCentral stands as of the writing of this post. David
  3. simpilot

    AirMail 3.0

    AirMail 3.1 phpVMS module to create a messaging system your phpVMS based virtual airline. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS v2.1.934-158 php 5.3.4 mysql 5.0.7 apache 2.2.17 This system is not compatible with any earlier versions of AirMail New Features: -Delete All function in inbox and all message folders -Individual pilot setting to have email sent to pilot when new message is received -Threaded messages -Cleaner templates to help with site integration Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. -use the airmail.sql file to create the tables needed in your sql database using phpmyadmin or similar. To Use the "You Have Mail" function place the following code where you would like the notice to appear, it will only appear if the pilot is logged in. <?php MainController::Run('Mail', 'checkmail'); ?> -Create a link on your site for your pilots to access their AIRMail <a href="<?php echo url('/Mail'); ?>">AIRMail</a> File Updated 9/2/2011 files changed: core/templates/sentitems.tpl core/common/MailDataClass.php File Updates 9/26/11 core/common/MailDataClass.php - NOTAM bug fix Code hosted on Github - Link In Signature.
  4. All simpilot modules and updates are now hosted at Github. https://github.com/DavidJClark
  5. phpVMS Vanilla Forum Bridge phpVMS module to login users from your phpVMS based virtual airline to a Vanilla Forum install. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any site utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS 2.0.874 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install Instructions: http://www.simpilotgroup.com/home/vanilla_bridge
  6. The third party Open Flash Chart script that is used within phpVMS has an exploit that has been used recently and often to deface and/or alter sites using the phpVMS software. I have cleaned 11 of my client's sites in the last 36 hours. Although some sites have been obviously defaced with homepages replaced, some have had advertising scripts uploaded to redirect users to various companies. An example of a defacement today -> http://hack-db.com/787962.html The exploit is explained here -> http://www.exploit-d...exploits/10532/ WHAT TO LOOK FOR; if you have a folder in /core/lib/ that is called "tmp-upload-images" your site has been compromised. Inside that folder can be a number of files but the one that gets everything started is .wp-moon.php I have also found these in that folder 1.php e.php er.php tb.php If this folder is present start looking in the root of your site for files possibly called 0zie.html index.html - if you had one previously check the date of the last change, it may have been overwritten agg.html - an advertising script for ugg boots..... cst.html sto.html unc.html What do I do now? Delete the entire folder "tmp-upload-images" and remove any other suspicious files from the root of your site. Review ANY file that you do not recognize or has a last changed date similar to those in the "tmp-upload-images" file. Delete or rename the folder /core/lib/php-ofc-library The script(s) that are being used in this exploit are within this folder. This will cause all of the flash charts on the site to no longer function but all other functionality should remain as it was. NOTE: There is a school of thought that the only file that is being exploited is the "ofc_upload_image.php" file within the "php-ofc-library" folder. You can try to delete just this file and your charts will still function but there may still be a vulnerability and I would watch your directory tree for a while. In all the sites I have cleaned today I have not found any evidence of any database intrusion or data loss. I would still HIGHLY recommend that if you have found any of these items on your site to change all your passwords associated with the site as soon as possible. This includes the database password that phpVMS uses, emails use, and web panel admin access passwords. Nabeel has been made aware of this and is researching a patch at this time. Update 1 - http://forum.phpvms.net/topic/16288-notice-open-flash-chart-exploit/#entry82657 Upadte 2 - http://forum.phpvms....__20#entry82672
  7. simpilot

    TouchdownStats 1.0

    TouchdownStats 1.0 Module to extract and display landing rates from your PIREPS table ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any webpage utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS 2.1.935 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. To show all the landing stats currently in the datbase create a link to www.yoursite.com/index.php/TouchdownStats To show a limited number of stats from your database create a link to www.yoursite.com/index.php/TouchdownStats/top_landings/10 The "10" can be changed to however many you would like to see The most useful method of the data class would be to use TouchdownStatsData::get_all_stats() and TouchdownStatsData::get_stats('10') You can use these inside of one of your templates to bring back the data you want and display it as you wish. An example to fill a variable with data for use in your template you can use $this->set->('stats', TouchdownStatsData::get_stats('10')); in your module to pass the data to the template within the $stats variable. Then in your template use the $stats variable to do what you wish with the display. TouchDownStats Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Code hosted on Github - Link In Signature.
  8. Module creates a schedule search form that includes the ability to choose the airline, aircraft type, arrival field, and departure field. You can choose one or all of the parameters to find what you are looking for in your schedule database. To install Download and unzip Place the files in the proper paths as structured in the download No new sql tables or anything needed. Point your browser to mysite/index.php/FrontSchedules and start searching. Enjoy! Code hosted on Github - Link In Signature.
  9. simpilot

    Timetable 1.0

    Timetable 1.0 Module to create a timetable type listing of your phpVMS powered VA schedules. Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS 2.1.934 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. Create a link for your pilots to get to the Timetable <a href="<?php echo url('/Timetable'); ?>">Timetable</a> Thats It! Example Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Timetable_1.0.zip
  10. A bug has been found in the ACARSData.class.php file that has been preventing the aircraft type to be included on the vaCentral live map. The fix can be found here -> https://github.com/DavidJClark/phpvms_5.5.x/commit/0b60a4797a4c4532bb5ff2c1010bc87bdbd1e859 Thank You to Duncan White for this find.
  11. simpilot

    SMFRegister 2.0

    SMFRegister 2.0 phpVMS module to automatically register a new pilot in your smf 2.0 forum. This is simply an auto registration feature for new pilots, not a bridge. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS ver 2.1.934-158 smf ver 2.0 php 5.3 mysql 5.0.51 apache 2.2.11 Included files: readme.txt license.txt SMFRegister.php SMFRegisterData.class.php Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. -your structure should be: root --core ----common ------SMFRegisterData.class.php ----modules ------SMFRegister --------SMFRegister.php - Your smf database must reside in the same datbase as your phpVMS install and use the standard "smf_" prefix. - I have built this to work with smf forum version 2.0, it has not been tested with any other version. - The module will register a new user in the forum when a new pilot registers with the VA. the format for registration into the forum is: user: John Smith ABC1234 pass: same as they used to register on the main site. Although not required, a link back to www.simpilotgroup.com would be greatly appreciated! Have fun! Code hosted on Github - Link In Signature.
  12. simpilot

    ScreenshotCenter 2.0

    Updated to 2.0 3/1/2012 - Now includes pagination ScreenshotCenter 2.0 phpVMS module to create a screenshot uploading and display system for your phpVMS based VA. Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS 2.1.940 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in the distribution in your root phpVMS install. -use the screenshotcenter.sql file to create the tables needed in your sql database using phpmyadmin or similar. -make sure that the file has created three tables in your database - screenshots, screenshots_comments, and secreenshots_ratings. Create a link for your pilots to get to the ScreenshotCenter <?php echo url('/Screenshots'); ?> -Be sure that the "pics" folder ends up in the root as it is structured in the download and has write permissions. -Templates are generic and will need to be skinned to your site, they do how ever depend on the native phpVMS "error" and "success" divisions, you need to have them in your css or replace them with your own. There may also be a few odd html tags in the template files as I stripped this out of my VA, I had never really intended for it to be released so I never made a plain template structure. Functions Available. To display the newest approved screenshot on your site: <?php Screenshots::show_newest_screenshot(); ?> To display the newest screenshot by a certain pilot on your site: <?php Screenshots::get_pilots_newscreenshot('pilotid'); ?> To display a random approved screenshot on your site: <?php Screenshots::show_random_screenshot(); ?> The links to upload, rate, and add comments are only available to logged in members. The screenshot approval link in the gallery is only available to administrators. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Code hosted on Github - Link In Signature.
  13. simpilot

    Drop Down Menus

    Folks, there are hundreds, if not thousands of sites offering code to create drop down menus. Some places to start.... css drop down menus http://www.cssmenumaker.com/ http://www.cssmenus.co.uk/ and my favorite for js type menus http://www.dynamicdrive.com/dynamicindex1/index.html and if all else fails Drop Down Menu Search
  14. 6-23-17 I have seen phpVMS go through many different phases in what is nearly 10 years since I stumbled across it. Nabeel has been able to create the defacto application for people that want to start or run a virtual airline and keeping it free and open source deserves nothing but appreciation for Nabeel. I as many others have benefited from his work, both financially and not. I apologize to all those that were/are affected by my absence for quite some time both here on the forum and at SimpilotGroup. Things have changed in my life and my attention can not waver from my real world responsibilities for the foreseeable future. While I had hoped things would get to a point that I could focus time back to phpVMS but it is obviously not coming to realization. Family comes before all else I have learned and hope that others hear this as well, you can not get time back after it is gone. phpVMS & vaCentral - Currently, the domains for phpVMS and vaCentral are being transferred back to Nabeel and when that happens the sites will be moved to his server. I do not think there will be any interruption of any great consequence. The code for the newer version of vaCentral will transfer to Nabeel as well. I can not speak to if it will remain in use or if the site will return to the original code base, I know there have been many opinions as to what was/is best for the vaCentral site, that will be a decision for Nabeel to make. phpVMS3 - As of the end of January 2017 I had almost the complete backend of phpVMS3 coded with a converter for phpVMS2 in CodeIgniter, I have not picked up the code since. I do not see any sense in releasing it as phpVMS4 looks to be built on the Laravel platform. phpVMS3 is dead for all intents and purposes. Thank You to the airlines that had it in operation for testing. simpilotgroup - I never thought that when I started the site it would be around almost 10 years later but with the support of the community it has remained. With the changes I will be closing the site down sometime in late July 2017. I have made sure that all modules that are on the site are compatible with the phpVMS 5.5.x edition on my GitHub. I can not guarantee that they are compatible with other addons from other developers or your own customization work. GitHub - All the open source modules and code hosted at GitHub will remain there until GitHub does away with free open source hosting of code, if that ever happens. Blue skies to everyone and the future of phpVMS.
  15. simpilot

    EVENTBooking BETA 1.3

    EVENTBooking beta 1.0 phpVMS module to create and manage fly-in events for your phpVMS based virtual airline. Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS 2.1.921 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. -use the event.sql file to create the tables needed in your sql database using phpmyadmin or similar. -create a link in your admin navigation panel I put it on line 54 in admin/lib/layout/header.tpl <li><a href="<?php echo SITE_URL?>/admin/index.php/events_admin">Events</a></li> -create a link in your main site nav bar <li><a href="<?php echo url('/events') ?>">Events</a></li> This is a VERY BASIC BETA version of this module. It only includes basic functionality and is currently under further development. It is only being released in this BETA form for community input on further options. The Slot Limit determines how many open slots are available to pilots for signing up beyond the slots that are already reserved. - I would suggest not editing this after you have created the event and have signups. The Slot Interval is how many minutes are between each Slot Reservation. This is not editable once you set the number in the creation of the event. Bug tracker and feature requests here - http://bugs.phpvms.net/browse/EVB Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License EVENTBooking beta 1.1 update -removed datepicker calendar and added date dropdown to support all browsers -added news post function during initial creation of event -added function to delete an event and all signups associated with it -changed sql field size for event description from 250 characters to 2000 characters New Install Same as 1.0 install above Update Overwrite existing files for EVENTBooking with the new 1.1 files Run event_update.sql in your events table in your phpvms database EVENTBooking beta 1.2 update - phpVMS ver 929 -fixed small date bug when editing event -new function to automatically add the link in the admin panel for the events module. It should show up under addons->events. (only functional with build 929 and beyond) You no longer need to put the link in your header for the admin side and it will not get overwritten in updates. New Install Same as 1.0 install above Update Overwrite existing files for EVENTBooking with the new 1.2 files If you are updateing from 1.0 -> Run event_update.sql in your events table in your phpvms database EVENTBooking beta 1.3 update - phpVMS ver 930 -added pilot rankings for number of events attended. New Install Same as 1.0 install above Update Overwrite existing files for EVENTBooking with the new 1.3 files If you are updating from 1.0 -> Run event_update_1.1.sql & event_update_1.3.sql in your events table in your phpvms database If you are updating from 1.1 or 1.2 -> Run event_update_1.3.sql in your events table in your phpvms database Code hosted on Github - Link In Signature.
  16. simpilot

    EXAMCenter Beta 1.0

    First Beta Release - EXAMCenter Developed using phpVMS ver 1.2.778 and ie8 Features: 2 Levels of Administration -Administrator -Staff Member Exam and Question creation and editing Optional "Assign Only" system Installation: 1 - Download Package and place files in your phpVMS install in the proper paths 2 - Load the exam_center.sql file in your phpVMS database using phpMYAdmin or similar 3 - Place a link to the EXAMCenter in your menu -> <a href="<?php echo url('/Exams') ?>">EXAMCenter</a> 4 - Place a link in your menu for the Admins and Staff Members of EXAMCenter -> <?php $admin = ExamsData::check_admin(Auth::$userinfo->pilotid); if ($admin->admin_level >= '1') {echo '<a href="'.url('/Exams_admin').'">EXAMCenter Admin</a>';} ?> 5 - Start building exams! Some Notes: 1 - EXAMCenter Staff Members have the ability to assign & approve exams, author exams and questions, and create revision reasons. 2 - EXAMCenter Administrators have all the abilities that a staff member has plus the ability to open and close the center, add/remove staff members and admins, edit static messages for the EXAMCenter, change the assign/purchase option, and edit revision codes. 3 - The system automatically assigns the pilot with the database id of "1" as the first administrator. DO NOT un-assign this pilot as an admin unless you have at least one more admin assigned, you will not be able to log back into the center as an admin. I am still working on a check that will not let you do this but wanted to get the beta out. 4 - There are two exams already in the database to give some guidance on how things work. Code hosted on Github - Link In Signature.
  17. simpilot

    Easier SSL Intergration

    I just installed a SSL cert for the test instance and am having no issue at this point after changing the base url. The only thing that was a hang was the Google Maps API which just required a url change. I also installed one here for the forum as an added layer of protection but with all the linked images you may get "insecure connection" messages occasionally. I have the proxy plugin running to try and fix all the offsite linked images to work on the https domain but with the size of the database it si going to take some time to complete the update.
  18. simpilot

    Templates

    The same concept is being used - a global header and footer file with individual pages injected depending on the module/function. There are also options to inject extra pieces of code in the header and footer where needed, ie: a maps page requiring map scripts. This avoids having to load the script on every page load. Simple answer, no they are not going to be exactly the same, there will be some adaptation needed. If you have the ability to build or convert an html template for use in phpVMS2 you should have no problem making the transition. I will say one thing - the default template is based completely on bootstrap 3 without any modifications so if you are building a template based on that, it would most likely be easier to make the transition. As far as if you should wait to open your site that I can not answer. I would love to say that it would be out in BETA form tomorrow but unfortunately I can not devote all my time to it. For helping, what I need most right now is some sites willing to set their current site to forward ACARs data to my test instance as that is what I am working on right now and without live data coming it is tough to get a true sense of where things stand. I am currently mirroring vACA to it without issue using kACARS Free, xACARS, and ACAcars (customized kacars version) without much issue.
  19. simpilot

    Connecting Flights

    I want this but..... here is what I am up against and it all revolves around the ACARs currently in use and the flight search option. Currently phpVMS gets a flight number (ABC123) from the client and looks for that flight number in the system, hence if there are two or more with the same flight number the client (I am working with kACARs right now) will throw an error (No Flights Found) due to more than one schedule being returned. I looked at forcing the response to only having one flight but then how do we know it is the leg that is needed. Flights that are bid on are an easy way around this as the system will simply return the next flight in the order of the pilot bids. On the other side I have had site owners tell me that they did not want pilots having to come to the site to bid, then going to the ACARs to retrieve the flight, theory is that it turns people away by requiring too many steps. Without a change to the ACARs client(s) the only thing that could be done is to force pilots to use a unique flight id for the flight, likely the database auto-increment id field, but that would again require a trip to the site, although you could show the unique id on the regular schedule search display. I have tested with using the unique id in place of a flight number with the current kACARs and it does work. I just do not know how much it would confuse some users though. I do like this method though. I would imagine Jeff would be willing to replace the text for the field in the client to reflect needing a unique id versus a flight number. The other thing that could be easily implemented in my opinion is to change the ACARs clients to accept multiple flight returns and give the user a way to choose which is correct. I have the multiple leg option already built on the system itself.
  20. simpilot

    Easier SSL Intergration

    I do not see this being an issue. The url for the system is set in one place and with the addition of a couple of .htaccess rules it should work without issue. As far as making some pages secure and some not I would have to think about that for a bit, there is always a way but the question brings up the question of if it is worth dividing the site up into separate pieces. If a server by chance is not using mod_rewrite then it can be faked using a hook. My goal from the beginning is to keep it as simple as possible as far as the management side.
  21. simpilot

    Deleting Pilots and Aircraft

    I have implemented a soft delete on almost all fields in the system. The deleted item will essentially "disappear" from any listings but will still be in place for anything tied to it, ie PIREPs. There is also a management section for a super admin to review and soft deletes and either leave them there for use in the background or to truly delete the item. If an item is deleted anything tied to it will simply respond as "unknown" in the field that was attached.
  22. simpilot

    Vatsim Data Reader

    Vatsim Data Reader phpVMS module to display online pilot and atc data for a phpVMS based virtual airline. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License A visible link to http://www.simpilotgroup.com must be provided on any webpage utilizing this script for the license to be valid. Developed by: simpilot www.simpilotgroup.com Developed on: phpVMS v2.1.934-158 php 5.3.4 mysql 5.0.7 apache 2.2.17 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. core --modules ----Vatsim ------Vatsim.php --templates ----vatsim ------vatsim.tpl The module will download a text data file using cURL from one of four random Vatsim servers and place it in the root of your install. When the data is called the script will check to see if the data is over 5 minutes old, if so it will refresh the data with a new file. Usage: To show a list of Vatsim online pilot data: The last parameter is the id of the airline you are searching for and would like to display. If you want to show everyone online leave an empty set of single quotes - '' <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', ''); ?> If you want to show all online pilots of one airline use the icao (ex 'AAL') <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', 'AAL'); ?> If you want to show the online pilots of multiple airlines use an array <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', array('AAL', 'UAL', 'SWA')); ?> To show a count of Vatsim online pilots, the last parameter is used just as the function above <?php echo MainController::Run('Vatsim', 'count_vatsim_data', '!CLIENTS:', 'PILOT', ''); ?> To show a list of Vatsim online atc controllers: <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'ATC', ''); ?> To show a count of Vatsim online atc controllers <?php echo MainController::Run('Vatsim', 'count_vatsim_data', '!CLIENTS:', 'ATC', ''); ?> The vatsim.tpl file simply shows all the available data to you in a list for each dataset available. You can display what info you would like and build it into a list, table, or anything else you would like for your site. Code Hosted On Github - Link In My Signature
  23. This project is no longer being actively developed REALScheduleLite beta 1.0 phpVMS module to create a realistic aircraft placement scenario including jumpseat ticket purchases within your phpVMS managed virtual airline allowing pilots to fly flights available from their current location. ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any webpage utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS 2.1.934 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. -use the realschedulelite.sql file to create the table needed in your sql database using phpmyadmin or similar. Open local.config.php and add # Jumpseat Ticket Cost Per NM Config::Set('JUMPSEAT_COST', '.25'); Change the '.25' to what you want to charge per mile of flight for a jumpseat ticket for your pilots. As it stands it is set to 25 cents per mile. Create a link for your pilots to get to the Real Schedule Lite dispatch center <?php echo url('/RealScheduleLite'); ?> If you are requiring your pilots to use the Real Schedule Lite routing system you must disable all links to the built in phpVMS schedule listings. Any /index.php/schedules links will take the pilot to the native scheduling system and allow them to bid on any flight in the system. Aircraft and Routes EVERY aircraft must have a looping routing system, in other words, it must return to the airfield it first started at on its last flight leg or it will become stranded. It does not matter how many flight legs are in the route for the aircraft but it must only go to each airfield one time. example of a looping route: flight 1 - KBOS - KATL flight 2 - KATL - KDEN flight 3 - KDEN - KORD flight 4 - KORD - KBOS Each aircraft in your inventory can only be assigned to one looped route. Pilots A new pilot is automatically stationed at the hub he is assigned to. An active pilot will be placed at the arrival location of the last filed PIREP or last jumpseat ticket purchased, whichever is most recent. If a pilot gets "stranded" at an airport all the jumpseat tickets to airports with available aircraft must be purchased but the cost is set at $0. I have included the basis to count how many jumpseat tickets a pilot has purchased, more functionality will come in future versions with this part of the module. Any aircraft and routes that do not follow this method need to be disabled in the admin panel. This is a VERY BASIC BETA version of this module. It only includes basic functionality and does not include the New England Virtual route builder and mapping functions. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Get The Code Some Screenshots
  24. simpilot

    Forum Compromised

    The forum has lost about 36 hours of data due to an exploit that was present in the IPBoard system, it has since been patched. I think the attached Facebook thread involving Max Dyba will give you all the information needed to come to your own conclusion as to "why". The only word I can muster is disappointing. I attach it as a photo as I am sure the page will be edited in the near future. This post was made shortly after the forum "went down". I wish the best for these guys but it is embarrassing to all of us when developers act this way. NOTE: Neither my host or I have been able to verify if any data was actually downloaded or not. I would suggest a password change both for the forum and the email you have associated with your profile. Edit on 12-6-2016 @ 6:15pm EST - The view expressed here is not to be construed as the view of any one or anything else but myself. This is an opinion and also simply provides what I believe to be the facts presented to me, everyone can come to their own conclusion and do their own research if they so desire.
  25. simpilot

    PopUpNewsModule

    Thought some of you may want to use the news module I made so just the titles are displayed and are clickable to go to the full news item. It creates a list wherever you place it - and shows the full news item when you click on the title - PopUpNews Module to create a quick view news list on your front page of a phpVMS site. Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any site utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS v2.1.934-158 php 5.3.4 mysql 5.0.7 apache 2.2.17 Install Using Simpilotgroup Plugin Manager -Download the package -Upload the package to your site using the plugin manager -Use the auto-install from the plugin manager Install Manually: -Download the package. -Unzip the package and place the files as structured in your root phpVMS install. Where you want to call the PopUpNews List in your site use -> <?php PopUpNews::PopUpNewsList(5); ?> The number "5" can be changed to however many news posts you want to show in your list.. Code hosted on Github - Link In Signature.
×