Administrators simpilot Posted March 7, 2010 Administrators Report Share Posted March 7, 2010 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. 18 Quote Link to comment Share on other sites More sharing options...
stuartpb Posted March 7, 2010 Report Share Posted March 7, 2010 This is exactly what I wanted SimPilot, I would like to thank you again for your work. It's much appreciated +1 Rep for your effort! 1 Quote Link to comment Share on other sites More sharing options...
Conor Posted March 7, 2010 Report Share Posted March 7, 2010 Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull Quote Link to comment Share on other sites More sharing options...
flyalaska Posted March 7, 2010 Report Share Posted March 7, 2010 Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull Here is it on my site. I haven't put it on my index yet. Demo Quote Link to comment Share on other sites More sharing options...
stuartpb Posted March 7, 2010 Report Share Posted March 7, 2010 I have just finished styling the new page, and it's working great! Here's a link: http://britair.net/index.php/frontschedules Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 7, 2010 Author Administrators Report Share Posted March 7, 2010 Nice work styling the search form guys! Thanks for the kudos Quote Link to comment Share on other sites More sharing options...
tnick74 Posted March 8, 2010 Report Share Posted March 8, 2010 Great form, ty! Quote Link to comment Share on other sites More sharing options...
llju1 Posted March 9, 2010 Report Share Posted March 9, 2010 Thanks again for a great Module simpilot. It works great and will save my guys a lot of time. Lloyd Quote Link to comment Share on other sites More sharing options...
Bueno93 Posted March 14, 2010 Report Share Posted March 14, 2010 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 Quote Link to comment Share on other sites More sharing options...
Guest N402KC Posted March 18, 2010 Report Share Posted March 18, 2010 Ok well i added it on my homepage and all it shows is All for the dropdown. Is there anymore code i need to add? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 18, 2010 Author Administrators Report Share Posted March 18, 2010 How are you calling it? $this->show('template'); or MainController::Run('FrontSchedules'); I think it sounds like you are calling it through the template function which would miss all the data coming out of the module call. Quote Link to comment Share on other sites More sharing options...
Guest N402KC Posted March 19, 2010 Report Share Posted March 19, 2010 How are you calling it? $this->show('template'); or MainController::Run('FrontSchedules'); I think it sounds like you are calling it through the template function which would miss all the data coming out of the module call. Ok i ran MainController::Run('FrontSchedules'); and i get this error Warning: Missing argument 2 for MainController::Run(), called in /home/brian/public_html/lib/skins/patriot/footer.tpl on line 10 and defined in /home/brian/public_html/core/classes/MainController.class.php on line 337 seen at http://flypatriot.com/ Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 19, 2010 Author Administrators Report Share Posted March 19, 2010 <?php MainController::Run('FrontSchedules', 'index'); ?> Quote Link to comment Share on other sites More sharing options...
Guest N402KC Posted March 19, 2010 Report Share Posted March 19, 2010 <?php MainController::Run('FrontSchedules', 'index'); ?> Can i pay you to code custom modules. Your a damn smart genius. Your like nabeel. you know everything to coding lol. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 19, 2010 Author Administrators Report Share Posted March 19, 2010 Can i pay you to code custom modules. Your a damn smart genius. Your like nabeel. you know everything to coding lol. Just a hobby, but i always am taking requests for new modules. No gaurentees, but the ones that make sense to me usually get done. Quote Link to comment Share on other sites More sharing options...
Guest N402KC Posted March 19, 2010 Report Share Posted March 19, 2010 I may have a few request. Check PM Within next few days. Quote Link to comment Share on other sites More sharing options...
Guest N402KC Posted March 19, 2010 Report Share Posted March 19, 2010 Recompiled Apache Complete. PHP Version 5.2.13, phpVMS Works fine. No errors or nothing. So i guess phpVMS Needs to be re coded for PHP 5.3 Quote Link to comment Share on other sites More sharing options...
airline-alliance Posted May 8, 2010 Report Share Posted May 8, 2010 On my soon to be released VA, I am going to have a lot of different airlines and this would be perfect to use. Only question is..where can I get the code/template to install it?? I couldnt find the link. Quote Link to comment Share on other sites More sharing options...
Kingfisher Virtual Posted May 8, 2010 Report Share Posted May 8, 2010 Could please upload it again or anyone who has it, can they please upload it. Thanks alot. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted May 9, 2010 Author Administrators Report Share Posted May 9, 2010 Could please upload it again or anyone who has it, can they please upload it. Thanks alot. I re-attached it to the original post in this thread. Quote Link to comment Share on other sites More sharing options...
tnick74 Posted May 12, 2010 Report Share Posted May 12, 2010 Dave, How could we search for a specific flight number or a group of flight numbers? For example to type 12** and see all flights that have number from 1200 and above? Or type S*** and see all flights starting from S. Quote Link to comment Share on other sites More sharing options...
shiljo Posted October 17, 2010 Report Share Posted October 17, 2010 Thank you for this great addon but i have faulty on my site, i don have no aircrafts, and it doesnt find me no flights at all...thanks for helping.-.. regards P.S. ; i got it whats the problem, in your codes there are aircrafts, and in my which is old is equioment so any chance to help me solve and get this right? thanky... Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 17, 2010 Author Administrators Report Share Posted October 17, 2010 Thank you for this great addon but i have faulty on my site, i don have no aircrafts, and it doesnt find me no flights at all...thanks for helping.-.. regards P.S. ; i got it whats the problem, in your codes there are aircrafts, and in my which is old is equioment so any chance to help me solve and get this right? thanky... um... I am not sure what you mean, but if you have no aircraft in the system you can not set up any schedules, and with no schedules, there is nothing to search. Quote Link to comment Share on other sites More sharing options...
Alex Posted October 18, 2010 Report Share Posted October 18, 2010 Dave i think he is saying that your search parameters in your module for aircraft are $aircrafts wheras in his i think its the dataclass its defined as $equipment. I have the same issue (on the obsessblue skins) I think i posted this problem previously. yes here. i posted the two different templates for comparison. Link 1 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 18, 2010 Author Administrators Report Share Posted October 18, 2010 Thanks Alex Quote Link to comment Share on other sites More sharing options...
Guest Stormchaser Posted November 1, 2010 Report Share Posted November 1, 2010 Apologize for sounding newbie, but having a little trouble getting it to pull the data. Was able to get the tpl working though. Changed the link on profile_main.tpl for it to link from "View schedules". It works but no data. Am able to pull down airlines and airports in selection. But even if I leave all selections "All" always get no routes found. First week setting up site. Bought "PHP Mysql for dummies" but still a little lost. Quote Link to comment Share on other sites More sharing options...
shiljo Posted November 3, 2010 Report Share Posted November 3, 2010 Thios is not working for me...it shows airline, and doesnt show aircrafts, and shows airports but wwhen choose 2 airports doesnt show flights... I have old phpvms script, not updated, is there any change in code names for aircrfats like equiplment or something or such things,....anyone can help? Im tzired to search flight on old form...pls Thank you Quote Link to comment Share on other sites More sharing options...
Guest Stormchaser Posted November 4, 2010 Report Share Posted November 4, 2010 I was looking at it closely. I think there is an error in airport_search.tpl. Got foreach($aircrafts... when in database its aircraft name of table. Dont know if this is the prob. Tried going back and changing it to match up with all three files but still not working. Really need this addon since setting up VA for multiple airlines. Quote Link to comment Share on other sites More sharing options...
Guest Stormchaser Posted November 4, 2010 Report Share Posted November 4, 2010 FIXED my problem why not showing routes for all u guys having trb. Need to go into FrontSchedulesData.class under /core/common and change or delete all "phpvms_" to match ur table name in mysql. I had no "phpvms_" prefix in my DB, so deleting that prefix did the trick. MAN IM HAPPY. Really need this addon for my VA. Hope this help for all u guys having trb. Quote Link to comment Share on other sites More sharing options...
shiljo Posted November 4, 2010 Report Share Posted November 4, 2010 Thing works my man Your my hero...just how to make that search results appear under search form, so i can allways be on same side??? And can search again with no reason to hit bck button... bye 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.