Administrators simpilot Posted August 17, 2011 Author Administrators Report Posted August 17, 2011 Are you runing beat or the 934 stable? If it is beta, there are some changes that affect the module and with the new search template youcan search by aircraft and airline in addition to departure and arrival so the module becomes somewhat dated. Quote
Tylor Eddy Posted August 17, 2011 Report Posted August 17, 2011 Are you runing beat or the 934 stable? If it is beta, there are some changes that affect the module and with the new search template youcan search by aircraft and airline in addition to departure and arrival so the module becomes somewhat dated. I am still running 934 stable, am i better off just moving onto the beta ? If you recon its better to move on, where is it located?, can't seem to find it anywhere, or was it only given out to a select few ? Thanks Quote
Administrators simpilot Posted August 17, 2011 Author Administrators Report Posted August 17, 2011 Nabeel has done an excellent job in advancing the schedule search functions in the newest beta cersion including not loading all the schedules at first for those that have large schedule databases. IMO the beta is a better choice right now over the 934 stable if schedule searching is something that is at the top of your list, there are few other small bugs that are easily overcome and will be fixed in the near future I believe. I am building all the new sites I put out on the beta unless I am specifically asked not to. The latest beta download link is always in the build log board of the forum, or you can go directly to the downloads page and find it at http://downloads.phpvms.net BTW: Awesome integration of the Gooey menu on your site! Been thinking about using it myself. Quote
Tylor Eddy Posted August 18, 2011 Report Posted August 18, 2011 Nabeel has done an excellent job in advancing the schedule search functions in the newest beta cersion including not loading all the schedules at first for those that have large schedule databases. IMO the beta is a better choice right now over the 934 stable if schedule searching is something that is at the top of your list, there are few other small bugs that are easily overcome and will be fixed in the near future I believe. I am building all the new sites I put out on the beta unless I am specifically asked not to. The latest beta download link is always in the build log board of the forum, or you can go directly to the downloads page and find it at http://downloads.phpvms.net BTW: Awesome integration of the Gooey menu on your site! Been thinking about using it myself. Thanks for the link, ill look into updating soon, and yes, my menu turned out great, im really happy with the outcome, was a big learning curve for me too Quote
Guest Posted September 9, 2011 Report Posted September 9, 2011 sorry but this addon also has a rank of pilot?? Quote
Tylor Eddy Posted September 16, 2011 Report Posted September 16, 2011 Sorry about this post, realised that my custom database names were what was causing a conflict with this module, all fixed now Keep up the good work simpilot, it's a great module Cheers Tylor Quote
Heliguy Posted September 30, 2011 Report Posted September 30, 2011 Hi all, Do any of you guys have any idea why only some of our schedule briefs look like this we have tried everything but nothing has fixed it. http://www.virginatlanticva.co.uk/index.php/schedules/brief/136 Quote
Jon Posted October 9, 2011 Report Posted October 9, 2011 Hi All, Is there anyway of creating a duplicate of this module and setting the airline to one. I have tried: <input type="hidden" name="code" value="AFR" /> In the main search and that works fine. I have tried editing the whole class with the new name afrsearch and the same with the module and I get: Fatal error: Call to undefined method afrsearch::findaircrafttypes() in /home/airfranc/public_html/core/modules/afrsearch/afrsearch.php on line 27 Any help will be useful on this Jon Quote
Administrators simpilot Posted October 11, 2011 Author Administrators Report Posted October 11, 2011 Can you pastebin the afrsearch.php file Quote
Jon Posted October 14, 2011 Report Posted October 14, 2011 Sorry for the late reply, http://pastebin.com/DLPFDi3T Jon Quote
MBrown Posted November 13, 2011 Report Posted November 13, 2011 Hi guys, With the latest version of PHPVMS I've noticed that the schedules amongst other things have changed. Using the default Schedule finder before if I clicked on a certain airport say "Ibiza Airport (LEIB)" and click search it would say no routes. (Since there weren't any flying that day). Now if I search from any airport even ones that have flights it just returns blank. You do however see todays flights automatically when you go to: www.yoursite.com/index.php/schedules . And with the Simpilot Schedule Search if you click "View All today's flights" it does what it should and displays all the flights going...ok But when you highlight an airport in our example "Palma de Mallorca (LEPA) and click search instead of showing flights leaving there on say Today, Sunday. It also shows flights leaving on every other day of the week! So I'm not too sure what's happened in changing versions But it would be nice to revert to the old way of doing it, so we only see todays flights leaving from a particular airport. Just sort of takes the realism away so pilots can see and fly every route in the database. I know it's slightly confusing but any help would be truly appreciated. If there's a variable I could change in some TPL? Quote
MBrown Posted November 28, 2011 Report Posted November 28, 2011 Anyone have any idea at all? I still would like this to work properly If not what other members have asked is it possible to search by day? Then at least it will work that way. Thanks in advance, Quote
Administrators simpilot Posted November 29, 2011 Author Administrators Report Posted November 29, 2011 Anyone have any idea at all? I still would like this to work properly If not what other members have asked is it possible to search by day? Then at least it will work that way. Thanks in advance, With the changes to the native search functions in phpVMS this module has really become outdated as far as coding is concerned, it really needs to be re-written for the current version of phpVMS. Quote
MBrown Posted December 8, 2011 Report Posted December 8, 2011 Thanks for getting back, and that really is a shame :/ Being hot on getting schedules right and correct it's something that really annoys me, but it's no ones fault directly Hopefully in the near future we might see a re written version of this module, or if not even the possibility to "upgrade" to a newer payware version which people may be interested in even if it would just be a fiver maybe. Kind Regards, Matthew Quote
Tylor Eddy Posted January 8, 2012 Report Posted January 8, 2012 Hi simpilot, thank you once again for a very nice add-on ;-). I'd just like to know, if you can add the value daysofweek. Would be some kind of this, wouldn't it? <select class="search" name="daysofweek"> <option value="">All days</option> <?php foreach ($daysofweek as $days) {echo '<option value="'.$days->name.'">'.$days->name.'</option>';} ?> </select> But this doesn't work for me. Any possibility to get it work? I guess it's something in here "$days->name". Regards Did anyone every get this days flown version working, im in the process of making all my schedules available everyday, but i'd like an option for pilots to be able to filter a particular days flights. Any help would be great Tylor Quote
Jeff Posted January 9, 2012 Report Posted January 9, 2012 If you're planning on making all your flights "Daily", then how would having a search option for a certain day pertain to you? That would result in all flights in your database being shown, in turn making the "Days of Operation" search obsolete. Quote
Tylor Eddy Posted January 9, 2012 Report Posted January 9, 2012 If you're planning on making all your flights "Daily", then how would having a search option for a certain day pertain to you? That would result in all flights in your database being shown, in turn making the "Days of Operation" search obsolete. I wanted to have this option available as well, as some pilots are still looking towards being able to continue and be more realistic by only flying on days the schedules are actually flown. Having both options available to pilots will make us more appealing. Looking at it now, maybe displaying it like flyuk does, with the plane icon under the day flown in their schedules would work better, i remember a post about doing this being posted somewhere on these forums by simpilot i believe, but i spent a few hours searching and had no luck finding it unfortunately. My schedules don't have every day ticked, i was just going to change the section where it hides the flights that are not flown. So they all display, therefore in my eyes this would still allow pilots to be able to select the days flown. Correct me if i am wrong Tylor Quote
rodoy Posted January 28, 2012 Report Posted January 28, 2012 Hey. My VA called "Airlines of Israel" and it simulates 2 real world airlines, Israir Airlines and Arkia Airlines. When I try to search by an airline I get 3 airlines, Airlines of Israel, Arkia and Israir. I want that I will have only 2 option in Airlines search, Arkia and Israel. How can I remove the name "Airlines of Israel" option from the search by airline option? Here is a picture: Quote
rodoy Posted January 29, 2012 Report Posted January 29, 2012 Delete the airline you don't want Let me explain you, my va is called Airlines Of Israel and it simulates the operation of bothe Israir Airlines and Arkia Airlines. If I delete the Airlines of Israel airline, pilots will have to choose use of Arkia or Israir. I want that pilots will register under Airlines of Israel but fly with Arkia or Israir. Its one airline for two real airlines. Quote
Jeff Posted January 29, 2012 Report Posted January 29, 2012 I don't believe the system is set up that way. What you could do is combine all the flights as one airline, and in the "Notes" filed, type the Operating Airline name in there. Ex: Operated by Arkia. Other than that, I don't think I understand. Quote
rodoy Posted January 29, 2012 Report Posted January 29, 2012 I don't believe the system is set up that way. What you could do is combine all the flights as one airline, and in the "Notes" filed, type the Operating Airline name in there. Ex: Operated by Arkia. Other than that, I don't think I understand. I managa to make it work. I just made the main airline not enabled and I enter a code in the registration form that will register pilot to the main airline automaticly, even that it is not enabled. Quote
Cor Posted February 10, 2012 Report Posted February 10, 2012 Hello All, I have asked this question more then a year ago en then forgot it , so I will ask it again and hopefully get a solution Is there a way to let the outcome be sorted on departure time rather then Flightnumber. When you use the original schedules module it looks at the config and there I changed it so the outcome has to be sorted on deptime. But in this modules it isn't working. Regards, Cor Quote
Administrators simpilot Posted February 10, 2012 Author Administrators Report Posted February 10, 2012 In FrontSchedulesData.class.php change line 21 AND phpvms_aircraft.id LIKE '$aircraft'"; to AND phpvms_aircraft.id LIKE '$aircraft' ORDER BY phpvms_schedules.deptime ASC"; and change line 32 AND phpvms_aircraft.id LIKE phpvms_schedules.aircraft"; to AND phpvms_aircraft.id LIKE phpvms_schedules.aircraft ORDER BY phpvms_schedules.deptime ASC"; Quote
Cor Posted February 10, 2012 Report Posted February 10, 2012 Solution is working for a big part. The only thing wat is not working now is the search on aircraft type. Tnx so far. Regards, Cor Quote
Administrators simpilot Posted February 10, 2012 Author Administrators Report Posted February 10, 2012 What is the error? Quote
Cor Posted February 10, 2012 Report Posted February 10, 2012 What is the error? The error is that it can´t find flight while there are flights with that particilar aircraft. regards, Cor Quote
Administrators simpilot Posted February 10, 2012 Author Administrators Report Posted February 10, 2012 Was it finding flights prior to the code change, or is it something from the original code? I just tried these changes on another site and it seems to work, the only drawback being that it is sortng by departure time for each aircraft so they are in the result in blocks. When searching by aircraft you will prbably have to do a key sort after filling the variable with all the flights. Quote
Cor Posted February 10, 2012 Report Posted February 10, 2012 My mistake, I did something wrong, it is working great. Again thank you for your help Regards, Cor 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.