Jump to content

mischka

Members
  • Content count

    277
  • Joined

  • Last visited

Community Reputation

193 Excellent

1 Follower

About mischka

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://www.virtualairlines.eu

Recent Profile Visitors

3950 profile views
  1. mischka

    New: airport lookup server with extended data

    Can you please PM me with the name of your VA so I can check in the logs if you are actually reaching the server, and we can take it from there
  2. mischka

    (Solved)Cannot import airports

    How did it not work? If you'd PM me some details I can help you solve it. As for the schedules I'm sorry I cannot help you
  3. mischka

    (Solved)Cannot import airports

    35 thousand airports? I didn't know there are that many. its a pity you didn't use web541's suggestion of the virtualairlines.eu api, would have saved you a lot of work..
  4. mischka

    phpVMS add Airport question

    You can also use this: https://www.virtualairlines.eu/index.php/Blog/Post/~airportinfoapi saves you all the typing
  5. mischka

    ObsessBlue 2.0

    Bump! Does anyone has a copy of this in their archives?
  6. mischka

    NEW: aircraft info API

    I see an authentication error in the logs. I added http:// in front of your url. if it still doesn't work shoot me a PM!
  7. mischka

    [SOLVED] Latitude and longitude on bids ($bids)

    Ok, so in /core/common/scheduledata.class.php you go to around line 787 where you have the function getbids change the line where the sql is set to this $sql='SELECT dep.lat as deplat, dep.lng as deplng, arr.lat as arrlat, arr.lng as arrlng,, s.*, b.bidid, a.name as aircraft, a.registration FROM '.TABLE_PREFIX.'schedules s, '.TABLE_PREFIX.'bids b, '.TABLE_PREFIX.'aircraft a, '.TABLE_PREFIX.'airports dep, '.TABLE_PREFIX.'airports arr WHERE b.routeid = s.id AND s.aircraft=a.id and s.depicao=dep.icao and s.arricao=arr.icao AND b.pilotid='.$pilotid; that should give you of the deplat deplng and arrlat and arrlng and then you can add any other fields like name etc as you like. make sure you name them differently otherwise mysql gets confused
  8. mischka

    [SOLVED] Latitude and longitude on bids ($bids)

    which page/template is this for?
  9. mischka

    NEW: aircraft info API

    Hello all, Recently I introduced a replacement for the Airport lookup that helps with adding airports. So far it has been used already more than 2200 times! On a similar note I now also have an aircraft info API. Just replace three files and you can lookup all the data of the aircraft just by its icao code. However, as this is a new service it's only open for those with an account at virtualairlines.eu. So if you are registered there, have a look at this blogpost and download the relevant files.It takes just a few minutes but will save you a lot of time. If you are not registered, head over to https://www.virtualairlines.eu and get yourself a free account
  10. mischka

    New: airport lookup server with extended data

    Yes, you need to make the change or add it to your local.config.php otherwise you are just querying the old vacentral server
  11. mischka

    New: airport lookup server with extended data

    might be a case senstive problem (iata vs IATA) by import you mean the automatic add of airports when importing schedules? That *should* work, cause afaik it uses the same mechanism. I haven't tried it myself actually
  12. mischka

    New: airport lookup server with extended data

    In my operations.php, around line 338, I have this: $tmp = array( 'id' => $row->id, 'cell' => array( # Each column, in order $row->icao, $row->name, $row->country, $row->fuelprice, $row->lat, $row->lng, $edit, ), ); Have you added the new fields there?
  13. mischka

    New: airport lookup server with extended data

    It's strange... the 2nd line below doesn't show the full url you are calling. What is the actual url of your website? Can you send me your phpvms.js by PM?
  14. mischka

    New: airport lookup server with extended data

    When you press F12 in chrome, do you get any error messages? Ok, I'm confused.. the airport lookup itself works, but the extra fields don't show up in the columns in the grid? I never thought of extending the grid to be honest, I'd have to look into it.
  15. mischka

    New: airport lookup server with extended data

    Cheers Nabeel, I'm gonna look into this!
×