Jump to content

Recommended Posts

Posted

Hi there,

I couldn't find a topic like this, so I decided to start a new one. I have a very simple problem. When a pilot makes a bid for a flight, the flight usually disappears in the schedule because it is already booked. Lately, this does not happen anymore. When a pilot makes a bid for a flight, the flight is still available for other pilots in the schedules.

I know it is a configuration problem. But I wasn't able to find the place (file) where to set the config for this problem.

Could you please help me?

Best regards,

Chris.

Posted

I guess it's the

# If someone places a bid, whether to disable that or not

Config::Set('DISABLE_SCHED_ON_BID', true);

Config::Set('DISABLE_BIDS_ON_BID', true);

part and that's that I already tried. But it does not work. :(

Posted

I have a nother clue what caused the problem but again I can't find the section where it was. The problem occurred after I deleted the section, which configurates whether to show all flights or only todays flights. Could this be the solution? And if so, where to place the config? :D

Guest lorathon
Posted

Check your template. It must use the setting (DISABLE_SCHED_ON_BID) to skip the schedules. Otherwise the setting is useless.

This is in the default template schedules_results.tpl

/*
This will skip over a schedule if it's been bid on
This only runs if the below setting is enabled

If you don't want it to skip, then comment out
this code below by adding // in front of each 
line until the END DISABLE SCHEDULE comment below

If you do that, and want to show some text when
it's been bid on, see the comment below
*/
if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
{
	continue;
}
/* END DISABLE SCHEDULE ON BID */

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