Jump to content

FlightBookingSystem_V1.0


Recommended Posts

  • Replies 101
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

I've some questions: 1. were can we set the "Fuel Per 1 Hour" and "Fuel Per 100 NM"? 2. were can we set the jumpseat price? 3. I've made a flight and after that I was trying to transfer me back to

1. Open common/RealScheduleLiteData.class.php and look for the following: realschedulelite_location And change all of them to the following: flightbookingsystem_location BTW, thanks fo

I have to thank you. Without you and the other coders, we - the regular users - would be stuck with the default schedule/theme/etc. LE there are a few more things in the code what you could change:

  • Moderators

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

Link to post
Share on other sites
  • 4 weeks later...
  • 1 month later...
  • 4 weeks later...
  • Moderators

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;
}

Link to post
Share on other sites
  • Moderators

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. :)

Link to post
Share on other sites

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.

Link to post
Share on other sites
  • 3 months later...

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!

Link to post
Share on other sites
  • 2 weeks later...

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.

Link to post
Share on other sites
  • 4 months later...

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?

Link to post
Share on other sites
  • 4 weeks later...

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 ???

Link to post
Share on other sites
  • 2 weeks later...
  • 4 months later...
  • Moderators

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...

Link to post
Share on other sites
  • 1 month later...
  • 6 months later...

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
Link to post
Share on other sites
  • 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...