Jump to content

onelifexv

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by onelifexv

  1. I think I finally fixed this.

    The culprit is ACARS.php, with the line:

    $flight->route_details = NavData::parseRoute($flight->route);

    parseRoute actually needs several items from that route (lat, lng, and route). The following worked for me:

    $schedule = SchedulesData::getSchedulebyFlight(substr($flight->flightnum,0,3),substr($flight->flightnum,3));

    $flight->route_details = NavData::parseRoute($schedule);

    Now to figure out why it calls the clearPreviousMarkers() a few seconds after it displays.

  2. If you forget to start kACARS when the aircraft starts to move, it gives you the popup letting you know this. It then continues to pop this up over and over and over. Can you set a flag that once it's warned the user it doesn't keep popping up? The only way to close kACARS at this point is to force close it, since it continuously gets stuck in this aircraft movement loop.

    This is on the paid version of kACARS, don't recall this in free.

    Thanks.

  3. Ranks can be adjusted if you turn autopromote off.

    The selection drop down in the admin panel doesn't have a "selected" flag for the current rank. Look how it handles the other drop downs in the template and mimic that. Basically, it is being saved but whenever you refresh the form its setting the drop down box to the first rank.

  4. I have tried this but it doesn't work wink.gif

    <td><a href="http://www.YOURWEBSITE.COM/index.php/schedules/brief/'.$route->id.'">'.$route->flightnum.'</a></td>

    This should work. This makes the flightnumber itself a link to the routes. Not using the php echo for the current URL and actually hardcoding it in seems to work just fine. Obviously, make sure you change 'YOURWEBSITE.COM' to your actual url.

    You'll need to change it in two places, since the call is different whether it's the first line for that depicao or not.

  5. You can add this to it to show those (I believe this is correct...not tested)

    <td><font color=#FFFFFF>Aircraft</td><td><font color=#FFFFFF>Frequency</td>

    Then add this...

    <td>'.$aircraft->icao.'</td><td>'.$route->daysofweek.'</td>

    The .$aircraft-<icao. isn't pulling up any data for me.

  6. It seems the template messes up the spacing for the pilot tables. Looking at VA's others posted here they've run into the same problem. I don't see any specific styling regarding tables in the css. Anyone worked around this?

    Thanks.

    Fixed it. The skin is lacking the CSS formatting for the tables.

  7. phpvms_airports table in your mysql database.

    That's where airports that are saved are stored. I'm curious to know where the 'Lookup' function pulls it's data. KATL is the busiest airport in the world, kind of odd that it isn't in whatever database it's pulling from. I'm trying to determine if the lookup is pulling data stored locally or going elsewhere to find it's data.

×
×
  • Create New...