Jump to content

AUZ

Members
  • Posts

    74
  • Joined

  • Last visited

Posts posted by AUZ

  1. No, i want to keep a Scheduled Departure Board, i mean like when we bid a flight, it must be shown in public! how any idea?

    thanks :)

    Hi again,

    I'm pretty sure if you try the code we have provided it will do exactly what your asking, which is;

    When a pilot bids on a flight, it will show the bidded scheduled flight in any area you put the code.

    <?php MainController::Run('FrontBids', 'RecentFrontPage', 100); ?>

    As you can see in Bold, the controller is fetching Bids and placing them in the frontpage tpl.

    If not, then sorry I don't fully understand your request.

  2. Not that I want the same layout as the two previous mentioned websites, but if I was to use the CSS and Nifty links that saapilot quoted earlier in the thread, is anyone going to complain ?

    Would rather check before the s*** hits the fan once again ....

    Or is someone willing to assist in fixing / updating my existing CSS which I think looks like crap ?

    Cheers

    Adam

    AUZ

  3. Your site would have to be the cleanest I've seen in a long time Simpilot, no wonder people are stealing it lol...

    If I was to ask nicely, can I have the same design implemented ? lol

  4. Yes I have the same problem,

    Usally when I pilot first uses kACARS, each and every report sent to the server is duplicated in the Flights Listing for some reason.

    It usually fixes itself after the first completed flight of each pilot.

    Not annoying, just looks wierd thats all. lol

  5. Hi Jeff,

    No problems with the new version.

    Is there by any chance you can have kACARS check and edit the DEP/ARR field of Charter flights to show UPPERCASE letters only ?

    I have some lazy pilots who use lowercasing for everything and it looks bad on the Current Flights List on the home page...

    Could this be a possibility ?

    Thanks in advance.

    Adam

    AUZ

  6. Hello,

    I was hoping someone could help with changing this code so the pilots dont need to use the dropdown box just to select our Airline which is the only one listed there anyway..

    I am looking at the PIREP.php and pirep_new.tpl files

    pirep_new.tpl at line 11

    <dt>Select Airline:</dt>

    <dd>

    <select name="code" id="code">

    <option value="">Select your airline</option>

    <?php

    foreach($allairlines as $airline)

    {

    $sel = ($_POST['code'] == $airline->code || $bid->code == $airline->code)?'selected':'';

    echo '<option value="'.$airline->code.'" '.$sel.'>'.$airline->code.' - '.$airline->name.'</option>';

    }

    ?>

    </select>

    Is there any way I can customise this code to give no option to select and have my Airline preselected instead ?

    Any help would be mostly appreciated.

    Regards

    Adam

  7. This happened to me after setting up the Automatic Maintenance using a Cron Job on the server,

    After it ran, it put all my schedules from 0123456 to 1 :( lol

    Exported them all, edited them in excel and imported them.

    The Cron Job runs every morning and it hasn't happened again.

  8. Not that I know much about coding but here's my 2c if I may,

    From what I see, the database for deptime and arrtime are singular entires only,

    from the code you provided, it appears that both HH MM have the same "arrtime" value when infact HH should be "arrtimehh" and MM should be "arrtimemm" if and only if the database had those two additional entries available, as it stands, the MM will override the HH as a single value.

    Not that I advise it, but maybe if you enter arrtimehh and arrtimemm into the database and add the values to whichever dataclass.php the form refers to, it may just work.

    Also, you may need to add the : in the HH to make it correctly formated;

    <option>01:</option> plus <option>05</option> equals 01:05

    I maybe totally off the mark and apologise if so, just can't sleep at the moment and may just something I have said has triggered a thought and got you back to the drawboard with new ideas :)

    Regards

×
×
  • Create New...