Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/10/25 in all areas

  1. I have the code for V5.x if you're interested. $c['pid'] = PilotData::GetPilotCode($c['code'], $c['pilotid']); $fieldvalue1 = PilotData::GetFieldValue($c['pid'], 'IVAO ID'); $fieldvalue2 = PilotData::GetFieldValue($c['pid'], 'VATSIM ID'); if($c['online'] == "ivao" OR $c['online'] == "IVAO"){ $c['online'] = '<a crossOrigin="anonymous" href="https://www.ivao.aero/Member.aspx?ID='.$fieldvalue1.'" target="_blank"><img src="https://status.ivao.aero/'.$fieldvalue1.'.png?dark=true" width="150px" height="auto"/></a>'; } if($c['online'] == "vatsim" OR $c['online'] == "VATSIM"){ $c['online'] = '<a href="https://stats.vatsim.net/stats/' . $fieldvalue2 . '" target="_blank"><img src="https://my.vatsim.net/indicators/' . $fieldvalue2 . '" width="150px" height="auto"/></a>'; } if($c['online'] == "offline" OR $c['online'] == "Offline"){ $c['online'] = 'Offline'; } Place the above in your: Make sure the field values are spelled exactly the same as yours in your system. This will show the pilot badge for either IVAO or VATSIM on live flights table and on the badge it shows if the pilot is "online" or "offline". This will work for both smartCARS2 and smartCARS3. Let me know if you need help implementing this.
    1 point
  2. I have no knowledge about v5 addons, probably people are using such tools (as I saw in some old VA's doing online checks, it must be an addon or custom code VA's built for this purpose) ... For v7, DisposableBasic is capable of doing such checks (even can do callsign match checks on airline), store results as pirep field values, auto reject etc. You can check its readme file to have some more info. Safe flights and good luck on v7 switch.
    1 point
  3. Hey all, Very long time since I have posted about any of my modules. I have been working extremely hard on what could be a revolutionary product for phpVMS, and now I'm finally ready to show it off. Introducing Apex Flight Ops, a next generation flight center for phpVMS, featuring a map at the center of it all, just like Volanta, Elavetex, Microsoft Flight Simulator, and other trackers with a map centric UI. You can now try it out FOR FREE and experience Apex, relatively risk free, by signing up at https://apex.cardinalhorizon.com/ Read our announcement for a bit more info too: https://medium.com/@taylorbroad/hello-apex-flight-ops-63386b5c7540 Here are a few screenshots for the UI.
    1 point
  4. Technically, what the main question owner wants does not need a private token or a private api access ... Those checks can be done simply with the public access (public whazzup data). You can fetch the data (with minimum 15 second interval for both networks), do your checks however you wish and then either store the data in a database table or delete it. If your acars software is sending live data to your phpvms, then you can do your checks live and mark the flight online/offline as you wish. If it is sending all the pirep info after the flight then you need to store the live whazzup data with (prefably utc) time codes (like one copy for every 5 mins and keep the last 24 hours) and then check them according to the pirep (prefably utc) times to see if the pilot was online or not during the flight. Anyway, these are technical details ... I already did it for phpvms v7 with public api access, so it can be done for v5 too. Hope you can find your solution for v5.x series.
    1 point
×
×
  • Create New...