Jump to content

Recommended Posts

  • Moderators
Posted

Any chance to change Aircraft name in search form to each registration of aircraft available on current airport?

You can change the aircraft name to registration in search form but the aircraft location is not doable on this module. :D

  • 4 weeks later...
  • 1 month later...
  • 4 weeks later...
  • Moderators
Posted

Yes there is. Open schedule results.tpl and right after the "foreach()" loop add the following code:

if($route->disabled == "1") //The $route variable might be something different in your schedule_results.tpl, so make sure of that.
{
continue;
}

  • Moderators
Posted

Parkho!

FBS V3.0 are avaliable for download?

Thanks

The FBS V3 is not yet available as it has had some issues for a long time and I need to resolve those issues before I can release it but once it's gonna be available I think I might release it as payware. :)

Posted

Before

<?php
foreach($allroutes as $route)
{
if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
{
continue;
}
if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
{
if($route->aircraftlevel > Auth::$userinfo->ranklevel)
{
continue;
}
}

?>

after

<?php
foreach($allroutes as $route)
{
if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
{
continue;
}
if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
{
if($route->aircraftlevel > Auth::$userinfo->ranklevel)
{
continue;
}
}
if($route->disabled == "1") //The $route variable might be something different in your schedule_results.tpl, so make sure of that.
{
continue;
}

?>

No impact.

Posted

The FBS V3 is not yet available as it has had some issues for a long time and I need to resolve those issues before I can release it but once it's gonna be available I think I might release it as payware. :)

Hmmm no problem. How cost the module?

Thanks.

  • 3 months later...
Posted

Hi Parko

i have a question, when i now on my last location and i search for a new flight, than i see all the flights from the airport. is it possible that the people can search on departure too? example when i search on departure airport that i see only the airports by arrivals where a schedule for is from the departure airport.

Let me know!

  • 2 weeks later...
Posted

Is there a way to hide the disabled flights from the search results?

Yes there is. Open schedule results.tpl and right after the "foreach()" loop add the following code:

if($route->disabled == "1") //The $route variable might be something different in your schedule_results.tpl, so make sure of that.
{
continue;
}

Parkho,

Greeting! I have a similar question to the one quoted above....but I want to filter out the airlines that are not enabled. As it works right now, the airline listing pull down lists all airline....I have several that are currently disabled and do not want them to show up in this list.

Any help would be greatly appreciated.

  • 4 months later...
Posted

Hey guys,

I'm getting the following error after booking a flight.

Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically in /home/taromvir/public_html/core/common/SchedulesData.class.php on line 853

Anyone with a solution?

  • 4 weeks later...
Posted

I believe have the latest version. I downloaded it from Github yesterday using this link. https://github.com/p...hive/master.zip

I have also used the file provided to create the database. flightbookingsystem_location There's nothing in it though. Only the structure.

Hi,

i have the same problem i think, i use a jumpseat the location changes, for Example from Frankfurt to Stuttgart, but if i want see the Routes from Stuttgart i allways earn Routes from Frankfurt if i look at location it says Frankfurt but at flightbookingsystem he told me Stuttgart, any solutions for that ???

  • 2 weeks later...
  • 4 months later...
  • Moderators
Posted

Open the schedule_results.tpl file and replace this:

if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn())
{
if($route->aircraftlevel > Auth::$userinfo->ranklevel)
{
continue;
}
}

with this one:

if(Auth::LoggedIn())
{
if($route->aircraftlevel > Auth::$userinfo->ranklevel)
{
continue;
}
}

I do not know why parkho uses this config setting as it does not exist on the app.config.php file on mine phpvms version and i think on yours too. Check this and let me know if it works...

  • 1 month later...
Posted

Its possilbe add on: someting like that

When you arrival on airport "B" you can book flights only from airprot "B", but if some Pilots take that flight and on airprot "B" not aviable AC... Only take ticket to home base or airprot than stay some AC

  • 6 months later...
Posted

Hi,

is there any way to make this module to show aircraft name WITH their register in the search page ?

actually at i want to show the results like : FOKKER100(register) instead of FOKKER100

o5Srt.jpg

Posted

Hi,

is there any way to make this module to show aircraft name WITH their register in the search page ?

actually at i want to show the results like : FOKKER100(register) instead of FOKKER100

o5Srt.jpg

no one knows?

Posted

The system when you search for flights departing from the current place, it returns flights from its current location and other airports. example

I'm in SBCF want to fly SBBR

I believe that could appear only flights departing from this airport.

SBCF - SBBR

SBCF - SBBR

SBCF- SBBR

SBCF- SBBR

However, the system returns thus

SBCF-SBBR

SBRF-SBBR

SBGL-SBBR

SBSV-SBBR

  • Like 1
  • 2 months later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...