CedGauche Posted September 12, 2014 Report Posted September 12, 2014 Good morning, is there an option to show only airports with schedules in the arrival and depicao field? We have some airports in our db with no schedules, just for some charter flights, I don't want that these airports where shown in the airport search to keep it clear. bye Ced Quote
Administrators simpilot Posted September 16, 2014 Author Administrators Report Posted September 16, 2014 Good morning, is there an option to show only airports with schedules in the arrival and depicao field? We have some airports in our db with no schedules, just for some charter flights, I don't want that these airports where shown in the airport search to keep it clear. bye Ced There is no option for this. You could add some code into the data class to find the appropriate airports and filter the rest out. Quote
CedGauche Posted September 16, 2014 Report Posted September 16, 2014 Okay thank you, I've edited the data class query and now it works Quote
RocketRod Posted November 28, 2014 Report Posted November 28, 2014 Is it possible to also add hours to this search? ( <2, 2-3, 3-4, 4> ) ? Thanks! Quote
Administrators simpilot Posted November 29, 2014 Author Administrators Report Posted November 29, 2014 Is it possible to also add hours to this search? ( <2, 2-3, 3-4, 4> ) ? Thanks! There is no option for that as it is written. The native schedule search does have that option though, that may be a better fit for you. Quote
alpyeni1 Posted November 29, 2014 Report Posted November 29, 2014 I'm already using this module but I've got some problems. I'm searching any route and clicking to Add Schedule button and I get this message: "No Route Passed" Quote
RocketRod Posted December 5, 2014 Report Posted December 5, 2014 There is no option for that as it is written. The native schedule search does have that option though, that may be a better fit for you. I see only by distance, not hours in the original files. Quote
Administrators simpilot Posted December 6, 2014 Author Administrators Report Posted December 6, 2014 I see only by distance, not hours in the original files. You are correct, it has everything but. Looks like it would have to be customized to get a search for flight time. Quote
CedGauche Posted December 14, 2014 Report Posted December 14, 2014 We have some inactive aircraft marked with "X" in the reg field and unmarked in the admin fleet-list, but these aircraft are still in the schedule search box. How can we remove them without deleting the whole ac from the database? Quote
freshJet Posted December 14, 2014 Report Posted December 14, 2014 We have some inactive aircraft marked with "X" in the reg field and unmarked in the admin fleet-list, but these aircraft are still in the schedule search box. How can we remove them without deleting the whole ac from the database? In the loop do: if($schedule->registration == 'X'){ continue; } Double check the $schedule variable is correct first. Quote
CedGauche Posted December 14, 2014 Report Posted December 14, 2014 Hi, thank you. But i am not the php pro..where exactly should I put this code in? In the airport_search.tpl? Quote
freshJet Posted December 14, 2014 Report Posted December 14, 2014 I'm not familiar with the module. Find the file that lists the flights, i.e has 'foreach($schedules as $schedule){ ...' for example. It's called schedule_results.tpl by default, but do not know what it is called in the module. Quote
Denver Posted September 10, 2015 Report Posted September 10, 2015 Hey folks, I am the H.R manager at DLH Virtual we recently have a problem where flight are missing thoe its scheduled we are using this module for searching flights and booking flight http://forum.phpvms.net/topic/2197-schedule-search-airline-aircraft-arrival-departure/ help is very much appreciated.. Regards, Denver Saldanha 1 Quote
gio1961 Posted December 17, 2015 Report Posted December 17, 2015 Good evening, you can enter the search type of flight (charter, cargo, etc etc). Best regards Quote
gio1961 Posted January 4, 2016 Report Posted January 4, 2016 Goodmorning everyone. No one knows how to insert the search for the type of flight? (charter, cargo, etc etc). Best regards Quote
BewareOfButtlice Posted September 24, 2016 Report Posted September 24, 2016 is this module no longer available? its not on github anymore. Quote
OmerAslan Posted October 11, 2016 Report Posted October 11, 2016 Hi, When i search a flight says ''No routes have been found!'' Any idea please? Quote
TAV1702 Posted November 27, 2016 Report Posted November 27, 2016 (edited) This module need a lot of help to be brought back to life. I get no routes found too but, when i fix the static errors, I no longer get no routes found. as a matter of fact I get nothing, Page goes blank. I think this module was built on php4 and we are knocking on the door of php7 now. I am on php5.6.25 i believe and this module won't run right at all. I am working on it as we speak. **EDIT** I stand corrected. It was built on php 5.3.4 Edited November 27, 2016 by TAV1702 Quote
ApoorvPal Posted December 11, 2016 Report Posted December 11, 2016 I just installed this on my website, but no matter what I search I still get No Results Found although if I go through the Default FlightSearch, I get the flights. What could be the possible issue and solution? Quote
Administrators ProAvia Posted December 19, 2016 Administrators Report Posted December 19, 2016 I guess I'm late to the game.... Had this working perfectly on version 2.x. Install on version 5.5 and got "No routes found." - along with a few errors. Fixed the errors, but still getting "No routes found.". Hoping David (simpilot) or someone else has time to look at it and hopefully provide a fix. TIA! Quote
web541 Posted December 20, 2016 Report Posted December 20, 2016 I have updated this module to the latest phpvms version 5.5.x. Use it if you wish, but there are probably better solutions out there considering the age of the module. If anyone does want to try it, let me know if it works and I'll make a pull request Link 1 Quote
Administrators ProAvia Posted December 20, 2016 Administrators Report Posted December 20, 2016 (edited) Thanks web541 - that was fast! You rock! All search combinations work except when trying to search by aircraft type. Either only by aircraft type or adding the aircraft type to any other search. Searching by aircraft type in /schedules works but not in /FrontSchedules. No entries in error_log. You mention better solutions. Please list - payware and freeware if available. Edited December 20, 2016 by ProAvia Quote
web541 Posted December 20, 2016 Report Posted December 20, 2016 (edited) 57 minutes ago, ProAvia said: Thanks web541 - that was fast! You rock! All search combinations work except when trying to search by aircraft type. Either only by aircraft type or adding the aircraft type to any other search. Searching by aircraft type in /schedules works but not in /FrontSchedules. No entries in error_log. You mention better solutions. Please list - payware and freeware if available. Can you give me an example of how the search fails by aircraft type? It seems to be working on my end. EDIT: hang on, let me check this out, might've found the error. Other well known "better solutions" Payware: http://php-mods.eu/phpvms.php?module=real-booking-system Freeware: https://github.com/parkho/FlightBookingSystem.V1.1 Then there's mine (freeware), but I don't really offer much support on it, it's get it working or leave it for the moment [so the two above are suggested]. But I would like to fix this module for those out there who want this as a base to adapt their system to. Edited December 20, 2016 by web541 1 Quote
web541 Posted December 20, 2016 Report Posted December 20, 2016 Ok Bug fixed. Should work now, same link. Just replace the core/common/FrontSchedulesData.class.php Quote
Administrators ProAvia Posted December 21, 2016 Administrators Report Posted December 21, 2016 (edited) Finally had time to test this again - too many "honey-do's" this week in preparation for the holidays. I tried your original files again and it worked this time. No other changes were made. Then tried with your updated FrontSchedulesData.class.php and that also works. Is there an easy way to add pagination to this? Say, after every 12 schedules listed. Thanks!! Edited December 21, 2016 by ProAvia Quote
in2tech Posted December 24, 2016 Report Posted December 24, 2016 Here is a whole discussion on pagination. Once you get it working it can be used in many places where you need pagination, schedules, pilot roster, etc... Took me awhile to figure it out. 1 Quote
BaderNET Posted January 24, 2017 Report Posted January 24, 2017 (edited) Hi, I have duplicate aircraft tape how to fix it ??? Edited January 24, 2017 by BaderNET Quote
Tummi Posted March 4, 2017 Report Posted March 4, 2017 is there any ability do make for the Airports an form where you can type in the Icao like when i create a schedule? Quote
web541 Posted March 4, 2017 Report Posted March 4, 2017 (edited) 5 hours ago, Tummi said: is there any ability do make for the Airports an form where you can type in the Icao like when i create a schedule? In your core/templates/airport_search .tpl/.php file, find this <tr> <td>Select A Departure Airfield</td> <td> <select class="search" name="depicao"> <option value="">All</option> <?php foreach ($airports as $airport) {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';} ?> </select> </td> </tr> <tr> <td>Select An Arrival Airfield</td> <td> <select class="search" name="arricao"> <option value="">All</option> <?php foreach ($airports as $airport) {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';} ?> </select> </td> </tr> Replace it with this <tr> <td>Select A Departure Airfield</td> <td> <input type="text" name="depicao" value="" placeholder="Input ICAO Code" /> </td> </tr> <tr> <td>Select An Arrival Airfield</td> <td> <input type="text" name="arricao" value="" placeholder="Input ICAO Code" /> </td> </tr> Or you can try and integrate this yourself http://select2.github.io/examples.html Edited March 4, 2017 by web541 Quote
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.