CEO North Air Posted September 4, 2010 Report Share Posted September 4, 2010 Hello, unfortunately we have a little problem. Well, we disabled some flights today but those flights are still shown as available. Really need your help. Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 4, 2010 Administrators Report Share Posted September 4, 2010 Did you disable them just for the day of the week or did you make them inactive? If it is for the day of the week you need to check the code in schedule_results.tpl to see if it is correct to omit flights not for the current day f the week. If you are making the schedule inactive, check the database and see if the column is being changed from a1 to a 0. The sql call will only grab schedules with a 1 as active. Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted September 4, 2010 Author Report Share Posted September 4, 2010 Thanks for your message simpilot. We are using Real Schedule Light produced by you. I changed those flight to inactive. When I´ll take a look at the admin-centre, the flight is still disabled, but shown in the schedule. and it´s possible to make a bid. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 4, 2010 Administrators Report Share Posted September 4, 2010 Realschedule Lite does not have any filters for inactive flights as if there is an inactive flight in a looping schedule then the aircraft will get stranded at the arrival of the flight before the disabled schedule. Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted September 4, 2010 Author Report Share Posted September 4, 2010 Any chances to integrate those filter? I´m mean this will be perfect. Cause deleting any routes will cause different problems with all PIREPS etc. ... Hope to receive a positive answer. Best regards from Germany Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted September 5, 2010 Administrators Report Share Posted September 5, 2010 You can probably just copy the filter from the default module Quote Link to comment Share on other sites More sharing options...
BastiDE Posted September 5, 2010 Report Share Posted September 5, 2010 how? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 5, 2010 Administrators Report Share Posted September 5, 2010 The functions you are looking for are within the schedule_results.tpl file. You can intergrate those into your RealScheduleLite template files. Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted September 7, 2010 Author Report Share Posted September 7, 2010 @ Simpilot Unfortunately we aren´t as good as your are regarding php-codes. I kindly ask you to post the steps to create those filters for RealScheduleLight. I really need to know how this code looks like and where to place it (line). Please help. Thanks a lot for effort! Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted September 7, 2010 Author Report Share Posted September 7, 2010 It´s me again. Just another question to you simpilot. I kindly ask you to integrate - if possible - a filter for typeratings. I mean just to show the pilots those flights that he is allow to use. All others aren´t shown. Do you think this will be possible? Thanks a lot for your effort. Best regards from Germany! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted September 7, 2010 Administrators Report Share Posted September 7, 2010 Look in the schedule_results.tpl file, there are comments in there explaining which code it is. you can just copy and paste those in. I doubt simpilot has the time, I've also been extremely busy the last few weeks Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted September 7, 2010 Report Share Posted September 7, 2010 I have been looking into this as well and got swamped with school work. AS soon as I can I will look into doing as Nabeel said. It should be quite easy to do since it is only copy and pasting code. I just have not had a chance to do it yet either. I am not looking to make any flights in active, I just do not want them to show up to pilots who can not fly that aircraft that is on the ground. I hate to have a pilot purchase a jump seat to an airport and fly the flight only to find out the aircraft they flew was unavailable for their rank. Quote Link to comment Share on other sites More sharing options...
BastiDE Posted September 8, 2010 Report Share Posted September 8, 2010 I have been looking into this as well and got swamped with school work. AS soon as I can I will look into doing as Nabeel said. It should be quite easy to do since it is only copy and pasting code. I just have not had a chance to do it yet either. I am not looking to make any flights in active, I just do not want them to show up to pilots who can not fly that aircraft that is on the ground. I hate to have a pilot purchase a jump seat to an airport and fly the flight only to find out the aircraft they flew was unavailable for their rank. Hey, I guess because we have other goals, our goal is to get as real as it can be. That is, if you are in Berlin-Tegel, you have to fly from Berlin-Tegel, who does not like to have a plane ticket buy elsewhere. We also find it better if you start with only small aircraft. This is the one real and the other be all of the routes used. It also evokes the charm move forward to the pilot, which brings him to fly to more, not after one, two flights up to be inactive. Regards Basti Quote Link to comment Share on other sites More sharing options...
CEO North Air Posted September 8, 2010 Author Report Share Posted September 8, 2010 @ TAV If your code worked for you, would you be so kind to show your changes? To explain your changes will be perfect, ´cause we aren´t good in codeing and editing php-codes. Thanks a lot for your effort. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted September 8, 2010 Report Share Posted September 8, 2010 @ TAV If your code worked for you, would you be so kind to show your changes? To explain your changes will be perfect, ´cause we aren´t good in codeing and editing php-codes. Thanks a lot for your effort. I have not had time to mess with it yet. I am really hoping I can do something in the next couple of days. School term is winding down for me real fast and I am cramming in my website project for school as well as preparing for finals. I will gladly post any file edits that I can make work as soon as I can. Quote Link to comment Share on other sites More sharing options...
BastiDE Posted September 9, 2010 Report Share Posted September 9, 2010 currently we use a little trick (I noticed today one ^ ^). I created a plane and if I want to disengage a flight, I, to the flight the aircraft. Since the turn of the aircraft works is the flight thus disappeared. If someone the same problem as we have, he can use this until a solution (script) is present. 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.