reed0427 Posted March 15, 2012 Report Share Posted March 15, 2012 Saw a posting in the forum from a year ago about a new Flight Booking System. Emailed the creator but got no response. Has anybody tried it, and how happy are you with it? We like the idea of making pilots depart from the airport they last landed at, but the zip file we downloaded would be more helpful if it had install instructions with it. It say in the posting to create an SQL table. A what? I'm lost right there.... Quote Link to comment Share on other sites More sharing options...
Kairon Posted March 15, 2012 Report Share Posted March 15, 2012 Hello, You want to make a module for the pilots to book flights, the last place we landed? Explain better, I'll see if I can help you. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted March 15, 2012 Moderators Report Share Posted March 15, 2012 moving this to the correct place Quote Link to comment Share on other sites More sharing options...
reed0427 Posted March 16, 2012 Author Report Share Posted March 16, 2012 When a pilot bids a flight from London to Paris, his next flight must originate in Paris. He can't jump to Dallas and fly from there. When he brings up the Flight Schedules, only flights originating in Paris will appear. So he bids on a flight from Paris to New York. When he completes that trip, only flights from New York will appear. The program must work for each pilot individually. If Pilot B flies to Amsterdam, then for him only flights from Amsterdam will be available next. Seems to me like it's just a matter of filtering out all airports except the pilot's last destination. Does anyone have a program that does this already? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 17, 2012 Administrators Report Share Posted March 17, 2012 You could add a couple of lines within the schedule results template to filter out all the flights that do not orignate fromt he pilots last PIREP arrival location. It would not prevent them from flying other routes but it would prevent the other routes from easily being seen in the schedule. In your schedule results.tpl file somewhere around line 17 (depending on what version you are using and what modifiacations have already been made). You are looking for; <?php foreach($allroutes as $route) { right after this make a couple of blank lines and add something like this; <?php foreach($allroutes as $route) { if (Auth::LoggedIn()) { $last = PIREPData::GetLastReports(Auth::$userinfo->pilotid); if($last->arricao != $route->depicao) {continue;} } This should skip any schedule that does not have the same departure airfield as the last arrival airfield from the pilot's last PIREP. If the user is not logged in, the code will just be skipped. 1 Quote Link to comment Share on other sites More sharing options...
EmiratesVA Posted March 18, 2012 Report Share Posted March 18, 2012 I was looking for something like this. Just to be sure say if I land in mumbai would I only be allowed to take off from mumbai?? Quote Link to comment Share on other sites More sharing options...
EmiratesVA Posted April 8, 2012 Report Share Posted April 8, 2012 Hi, For my new pilots I want them to take off from there hub. Because everytime they search they can't find any schedules. Quote Link to comment Share on other sites More sharing options...
tgycgijoes Posted April 9, 2012 Report Share Posted April 9, 2012 Our pilots can either begin the next flight from where they landed or they can request a jumpseat ticket to the airport from which they want to depart from next. They have to wait for Admin approval of jumpseat/open seats since there are no virtual gate agents in MSFS or phpvms to determine the availability. Quote Link to comment Share on other sites More sharing options...
VAU133 Posted June 5, 2012 Report Share Posted June 5, 2012 Our pilots can either begin the next flight from where they landed or they can request a jumpseat ticket to the airport from which they want to depart from next. They have to wait for Admin approval of jumpseat/open seats since there are no virtual gate agents in MSFS or phpvms to determine the availability. Hey , that's what we are looking for , Would be great to share on how you did accomplish that ? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted June 12, 2012 Moderators Report Share Posted June 12, 2012 Try this: FlightBookingSystem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.