-
Posts
1375 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Parkho
-
Thanks a lot I'll give it a try see what happens.
-
Thank you Simpilot Is it possible to implement this into TouchdownStats module? Cheers
-
Hello All I have a question. Is it possible to get the pilot of the month by landing rate? Thanks
-
Thank you Sir!
-
Hi All I have created a set of pilot rank images based on FSPassengers pilot ranks (c0 - c23). If you're interested just download the ZIP file and place it in root directory of your site and just use the image links in Pilot Ranks inside Admin Center. Cheers Parkho Ranks.zip
-
Hi guys I have a problem. When I add the event nothing shows up in Event Main page, but the news will show up! Any suggestions? Thanks -----PROBLEM SOLVED -------- Please disregard!
-
I,ve enabled that in config.php but it doesn't work!
-
yeah actually it does deduct the amount from pilot pay just doesn't show it in confirmation page!
-
Hi there.<br /> Please try the attachment as I figured out a way for your pilots to pay for transfer. Please install and/or replace the new files in the order.<br /> Thanks core.zip
-
Hi jelletjuh Please verify your "Current Location" and also make sure that there is a route from ESMS and the option "Disable bids on bid" is not set to true since this is option works when there is a bid on the route and basically doesn't show you the route. Thanks
-
Hi Ephendi The FBS is based on pilot's last arrival and has nothing to do with the aircraft transfer. If you don't see schedules doesn't mean it has no aircraft but it means that route has either a bid on it or is not for that day of the week. Thanks
-
Hi Ephendi If I'm following you, you need the aircraft to be transferred as well? or just the aircraft and no pilots! Cause RSL is based on pilot location since it only has one DB to store pilot location and basically has no mean to store Aircraft location in DB. If that's the case I would say the Flight Booking System can not locate aircraft location if you want that, why not using the RSL itself as it's pretty much complete and fulfill all your needs. Thanks
-
Hello All I have been trying to find a way to implement pilots restrictions on Arcraft into the great Front Schedules add on made by Simpilot. So far, I managed to change the frontscheduledata.class to show me only the schedules with the proper pilot ranking but it shows me one route per pilot meaning if I have 10 pilots it shows me the same route 10 times in the schedules results. Here is the original code: <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ class FrontSchedulesData extends CodonData { public function findschedules($arricao, $depicao, $airline, $aircraft) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft, phpvms_aircraft.registration FROM phpvms_schedules, phpvms_aircraft WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_schedules.aircraft LIKE '$aircraft' AND phpvms_aircraft.id LIKE '$aircraft'"; return DB::get_results($query); } public function findschedule($arricao, $depicao, $airline) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft, phpvms_aircraft.registration FROM phpvms_schedules, phpvms_aircraft WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_aircraft.id LIKE phpvms_schedules.aircraft"; return DB::get_results($query); } public function findaircrafttypes() { $query = "SELECT DISTINCT icao FROM phpvms_aircraft"; return DB::get_results($query); } public function findaircraft($aircraft) { $query = "SELECT id FROM phpvms_aircraft WHERE icao='$aircraft'"; return DB::get_results($query); } public function findcountries() { $query = "SELECT DISTINCT country FROM phpvms_airports"; return DB::get_results($query); } } And here is the part I changed: <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ class FrontSchedulesData extends CodonData { public function findschedules($arricao, $depicao, $airline, $aircraft) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft,phpvms_aircraft.registration,phpvms_pilots.ranklevel //added this FROM phpvms_schedules, phpvms_aircraft,phpvms_pilots /added this WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_schedules.aircraft LIKE '$aircraft' AND phpvms_aircraft.ranklevel<=phpvms_pilots.ranklevel //added this line here AND phpvms_aircraft.id LIKE '$aircraft'"; return DB::get_results($query); } public function findschedule($arricao, $depicao, $airline) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft, phpvms_aircraft.registration,phpvms_pilots.ranklevel //added this FROM phpvms_schedules, phpvms_aircraft,phpvms_pilots //added this WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_aircraft.ranklevel<=phpvms_pilots.ranklevel / added this line AND phpvms_aircraft.id LIKE phpvms_schedules.aircraft"; return DB::get_results($query); } public function findaircrafttypes() { $query = "SELECT DISTINCT icao FROM phpvms_aircraft"; return DB::get_results($query); } public function findaircraft($aircraft) { $query = "SELECT id,phpvms_pilots.ranklevel FROM phpvms_aircraft, phpvms_pilots WHERE icao='$aircraft' AND phpvms_aircraft.ranklevel<=phpvms_pilots.ranklevel"; //Added this. return DB::get_results($query); } public function findcountries() { $query = "SELECT DISTINCT country FROM phpvms_airports"; return DB::get_results($query); } } Now here is the results: Can anyone tell me where I'm wrong? Cheers
-
Hello All I have been trying to find a way to implement pilots restrictions on Arcraft into the great Front Schedules add on made by Simpilot. So far, I managed to change the frontscheduledata.class to show me only the schedules with the proper pilot ranking but it shows me one route per pilot meaning if I have 10 pilots it shows me the same route 10 times in the schedules results. Here is the original code: <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ class FrontSchedulesData extends CodonData { public function findschedules($arricao, $depicao, $airline, $aircraft) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft, phpvms_aircraft.registration FROM phpvms_schedules, phpvms_aircraft WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_schedules.aircraft LIKE '$aircraft' AND phpvms_aircraft.id LIKE '$aircraft'"; return DB::get_results($query); } public function findschedule($arricao, $depicao, $airline) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft, phpvms_aircraft.registration FROM phpvms_schedules, phpvms_aircraft WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_aircraft.id LIKE phpvms_schedules.aircraft"; return DB::get_results($query); } public function findaircrafttypes() { $query = "SELECT DISTINCT icao FROM phpvms_aircraft"; return DB::get_results($query); } public function findaircraft($aircraft) { $query = "SELECT id FROM phpvms_aircraft WHERE icao='$aircraft'"; return DB::get_results($query); } public function findcountries() { $query = "SELECT DISTINCT country FROM phpvms_airports"; return DB::get_results($query); } } And here is the part I changed: <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ class FrontSchedulesData extends CodonData { public function findschedules($arricao, $depicao, $airline, $aircraft) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft,phpvms_aircraft.registration,phpvms_pilots.ranklevel //added this FROM phpvms_schedules, phpvms_aircraft,phpvms_pilots /added this WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_schedules.aircraft LIKE '$aircraft' AND phpvms_aircraft.ranklevel<=phpvms_pilots.ranklevel //added this line here AND phpvms_aircraft.id LIKE '$aircraft'"; return DB::get_results($query); } public function findschedule($arricao, $depicao, $airline) { $query = "SELECT phpvms_schedules.*, phpvms_aircraft.name AS aircraft, phpvms_aircraft.registration,phpvms_pilots.ranklevel //added this FROM phpvms_schedules, phpvms_aircraft,phpvms_pilots //added this WHERE phpvms_schedules.depicao LIKE '$depicao' AND phpvms_schedules.arricao LIKE '$arricao' AND phpvms_schedules.code LIKE '$airline' AND phpvms_aircraft.ranklevel<=phpvms_pilots.ranklevel / added this line AND phpvms_aircraft.id LIKE phpvms_schedules.aircraft"; return DB::get_results($query); } public function findaircrafttypes() { $query = "SELECT DISTINCT icao FROM phpvms_aircraft"; return DB::get_results($query); } public function findaircraft($aircraft) { $query = "SELECT id,phpvms_pilots.ranklevel FROM phpvms_aircraft, phpvms_pilots WHERE icao='$aircraft' AND phpvms_aircraft.ranklevel<=phpvms_pilots.ranklevel"; //Added this. return DB::get_results($query); } public function findcountries() { $query = "SELECT DISTINCT country FROM phpvms_airports"; return DB::get_results($query); } } Now here is the results: Can anyone tell me where I'm wrong? Cheers
-
Hello Mark J Please go the following link for Downloads. Thanks Parkho http://forum.phpvms.net/topic/4498-flightbookingsystem/
-
Mr. Nadeem Thank you for your query. To be honest I haven't figured out that part yet but I'll see what I can do to make it work. Meanwhile, please stay in contact with me and I'll let you know of the results. Parkho
-
Hi I was wondering if I could get a code to hide all schedules with the same A/C registration if it's been bid on. meaning, if someone places a bid on let's say KLAX to KSFO with A/C registration E-PA123. now another person is trying to bid on KSJC to KLAX with the same A/C registration E-PA123 but they can't because the A/C is already booked. Right now I have set it up to hide the schedule that has a bid on but can't figure it out for all the routes. Any help please?
-
Hi All Recently, we have started using fspax to accept PIREPS. Now I need to know is there a way to view the reports just like the ones show in the FSPassengers website like the attached, image in our View Log section? Thanks
-
Oh! thanks for letting me know. I'll change that.
-
Hi Avolar VA Have you tried to transfer yourself to somewhere else? Because I guess the table in your DB has not been created properly and that's most common reason to that. Thanks Parkho
-
Hi Steve If you want to transfer the A/C and be able to multiple routes per A/C registration, then I would have to say that's a whole new set of coding which you need to ask a professional to do it for you since I'm only good at mixing things up and creating something new. As far as I know flight booking system can not be mixed with RSL since the coding of RSL is pretty complicated for an amateur. Thanks
-
Hi Steve What exactly you want RSL to do for you? Because RSL is doing pretty much what flightbookingsystem does except for the A/C tarnsfer and ticket purchasing for the pilots. Also, in flight booking system you can assign unlimited routes to a single aircraft registration and still be able to see all of them at once while RSL only shows One route per Arcraft. Thanks
-
No problem Sir Glad it works fine for you. You can always contact me via MSN. Just search for pkhorraminejad@gmail.com. Thanks Parkho
-
Hello Peter I believe the file airport_search.tpl is located in core/template in ZIP folder. Also, please make sure you followed the steps correctly as it's working just fine right now. Thanks Parkho Thankis