Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by mark1million

  1. Harry if i follow you you can use the logged in feature ie display different content for users logged in or not.

    The function is,

    <?php
    if(Auth::LoggedIn() == false)
    { ?>
    <p align="center">Your content for visitors</p>
    
    <?php
    }
    else
    {
    $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
    ?>
    //stuff goes here to display for logged in users
    <?php
    } /* End the else */
    ?>
    

    Thats if im following you right.

  2. Here is what im trying to achieve, any help would be appreciated as its been a while since i have dived deep in to the code pf vms.

    When a pilot is deleted and their is data in the system ie from a screen shot or past event it displays the pilot as 0000, now is there a way to globally set that to echo something else out via the config file?

    Cheers.

  3. Ok Off the top of my head without looking at the code there is a function in the acars script that if the charter function is used the acars will generate a random flight number with a alpha character at the end so there is no way the system will confuse it as a scheduled flight.

    For example TOM123A would be a schedules flight TOM123AV would be a charter flight, the system accepts this no problem then i have some manual sql queries to handle the points scoring system which fall through the net because its a charter flight. But basically if you send it the system should accept it.

    Its been a year or so so i will have to dig about in the code to find out exactly what happens.

  4. I would say without looking at the program the most requests i get is routes, the ability to update a routes by pasting a valid route in to the routes section of the program then if its less than a month old it gets updated to the database if not the existing route remains.

    For va's that have thousands of schedules keeping routes updated is impossible on a monthly bases, its a win win situation :)

  5. My charts work fine, there was an initial fix released then a revised one, its been a while since i have been in to the code but download the latest development version and check the ofc charts folder against your version. DO NOT replace your whole version as this will cause you more problems just compare files and see whats different.

×
×
  • Create New...