Jump to content

Bids only current location [SOLVED]


cgentil

Recommended Posts

Hi,

I want to implement this system:

Pilots can only bid for flights in his present location.

Example if you are in LEBL only shows flights from LEBL.

Today even if I am in LEBL, it shows me all the flights of the day, not only from LEBL ...

And if pilot don't start flight in 1hour, his bidded flight expire of his bidded flights, and flight turn to "view schedules"?

How can I do?

Link to comment
Share on other sites

Anyone can tell me if rank images on signature don't work? It's bug? I'he searched, but in local config i've tried change to true, but doesn't appear rank image on signature...

And one more question, if I have cronjob for 1 hour for the pilot bids (if pilot don't make the flight in 1 hour, he expire), why the flight don't back to the schedules?

Link to comment
Share on other sites

In local.config.app I have:


 # 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);

In schedules_result:

 <?php
 # Don't allow overlapping bids and a bid exists
 if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
 {
 ?>

Anyway to fly back again to schedules?

And rank image at signature?

Please help me.

Thanks so much.

Link to comment
Share on other sites

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