ukmil Posted July 3, 2011 Report Share Posted July 3, 2011 this thread is mainly for the author of phpvms. it may be something for you to think about in the next release. Is there someway, you can only allow a pilot to select a bid, on a route from the airport he was last at? I know, using the fleet pages etc, you can tell via the last pirep where an aircraft is, so it must be possible. So if a pilot flies from A to B, only allow him to add bids that Start at B, and not A? Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 3, 2011 Report Share Posted July 3, 2011 this thread is mainly for the author of phpvms. it may be something for you to think about in the next release. Is there someway, you can only allow a pilot to select a bid, on a route from the airport he was last at? I know, using the fleet pages etc, you can tell via the last pirep where an aircraft is, so it must be possible. So if a pilot flies from A to B, only allow him to add bids that Start at B, and not A? You can do this already. I have that option enabled on my VA's despatch system, with day, location and rank restrictions on all scheduled flights. Quote Link to comment Share on other sites More sharing options...
ukmil Posted July 3, 2011 Author Report Share Posted July 3, 2011 mm, odd, I cannot seem to get this on mine? my pilots can select any bid they wish from any airport, regardless of where they last landed care to share how you managed it? Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 3, 2011 Report Share Posted July 3, 2011 mm, odd, I cannot seem to get this on mine? my pilots can select any bid they wish from any airport, regardless of where they last landed care to share how you managed it? I already have: http://forum.phpvms.net/topic/5309-modified-simpilots-frontschedule-search/page__p__35393#entry35393 I should warn you though, a few people have been unable to replicate what I done. It works for me. Just back up your original files, just in case it doesn't work. You can ignore the amendments to the search module, just concentrate on the schedule_results.tpl part. Quote Link to comment Share on other sites More sharing options...
ukmil Posted July 3, 2011 Author Report Share Posted July 3, 2011 thanks, I will give it a go and let you know Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 3, 2011 Report Share Posted July 3, 2011 no worries Quote Link to comment Share on other sites More sharing options...
ukmil Posted July 3, 2011 Author Report Share Posted July 3, 2011 did not work http://forum.phpvms.net/topic/5309-modified-simpilots-frontschedule-search/page__st__20 Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 3, 2011 Report Share Posted July 3, 2011 did not work http://forum.phpvms.net/topic/5309-modified-simpilots-frontschedule-search/page__st__20 Going by the error, you have a misplaced or unwanted } in your code. I've just looked on the other thread, and can't spot the problem, but my eyes feel like they are glued on at the mo Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 3, 2011 Report Share Posted July 3, 2011 See other thread, I think I've spotted the problem. Quote Link to comment Share on other sites More sharing options...
ukmil Posted July 3, 2011 Author Report Share Posted July 3, 2011 thanks, i knew it would be something i did 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.