Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. Good day, Progressive Web App (PWA) allows users to "install" websites as an application on their desktop (or mobile) and access it like a native app. Interested? send me a PM. Cheers
  2. Yeah, I am maintaining a few airlines and they're not willing to move on to v7. Besides there are not many developers for v7 and admins can't do simple tasks on their own as V7 is pretty complex for them.
  3. Well you're right the post is 3 years old and I came across it today. I think it's best if we close the unsolved old posts so people like me wouldn't dare to reply to them so late. Thanks for the update anyways.
  4. function lookupICAO() { var icao = $("#airporticao").val(); if (icao.length != 4) { $("#statusbox").html("Please enter the full 4 letter ICAO"); return false; } $("#statusbox").html("Fetching airport data..."); $("#lookupicao").hide(); var url = "https://virtualairlines.eu/airports.php?icao=" + icao + "&callback=?"; console.log("URL: " + url); $.ajax({ url: url, dataType: "jsonp", // Specifies that the request is for JSONP success: function(data) { console.log("Data received: ", data); if (!data.airports || data.airports.length === 0) { $("#statusbox").html("Nothing found. Try entering the full 4 letter ICAO"); $("#lookupicao").show(); return; } $.each(data.airports, function(i, item) { console.log("Processing item: ", item); $("#airporticao").val(icao); $("#airportname").val(item.name); $("#airportcountry").val(item.countryName); $("#airportlat").val(item.lat); $("#airportlong").val(item.lng); $("#fuelprice").val(item.jeta); $("#statusbox").html(""); $("#lookupicao").show(); }); }, error: function(jqxhr, textStatus, error) { var err = textStatus + ", " + error; console.error("Request Failed: " + err); $("#statusbox").html("Error fetching data. Please try again."); $("#lookupicao").show(); } }); return false; } Change your function to this, it's been tested and working on both Chrome and Firefox
  5. Only submitted pireps will be recorded in pireps table. Live flights are recorded in acars table and will be deleted after the pirep is submitted.
  6. Unfortunately, yes!
  7. It is not possible to recover the deleted account unless he registers with the same email address. There is one more possibility, Check the bids table, he might still have a bidded flight after account termination. I know acars softwares check for flight bids table to fetch some data
  8. You're welcome, the acars table only updates when the software is connected to the website and is sending flight data, so he might have some other access accounts to your website like the main email and password (just a guess).
  9. Like I said the acars software is still on and makes the table refresh, check the pilots table for the pilotid, if it's there, delete their record manually Repeat this process for them in pireps table.
  10. Hello there, if the flight comes back up after removing it from acarsdata table, that means the guy is still connected to your website through the acars software and that means their account is still active on your system
  11. Parkho

    TopPilot

    Version 0.3

    574 downloads

    This is a my converted TopPilot v5 module to v7. Install: Download and unzip the file Place it in your .../modules Log In and open Admin page. On the left side bar, click addons/modules The module should appear on table bellow. Click "Activate...". Support: You can ask or send issues to my Discord Channel
  12. View File TopPilot This is a my converted TopPilot v5 module to v7. Install: Download and unzip the file Place it in you .../modules Log In and open Admin page. On the left side bar, click addons/modules Click Activate. Support: You can ask or send issues to my Discord Channel Submitter Parkho Submitted 09/13/23 Category Add-ons
  13. Yes it could but only if you're willing to do a donation 🙂
  14. If you get that API then I'll write the code for it!
  15. You need API from VATSIM or IVAO in order to be able to get your pilot's log info. If your ACARS client somehow logs their record in VATSIM or IVAO networks then you'll be able to fetch that data and apply rules to it. Otherwise, you'll have to just trust your pilots.
  16. I think it will reset the count to zero. Make sure you have a back up before you do the reset.
  17. You're not getting the last report arricao. Try this: $userinfo= Auth::$userinfo->pilotid;
  18. Hello everyone, This is to announce I have created a Discord channel in case anyone has direct questions or in need of support for my modules. Perhaps it would be best if questions and support requests be posted at the forums so everyone can benefit from them but consider this another way of reaching me. Below is the link to my discord channel. DISCORD SUPPORT CHANNEL Regards Parkho
  19. Check your table prefix, the module's using "phpvms_" as the prefix. If yours is something else, you'll have to change it everywhere inside the module.
  20. Okay! I don't know what to say but I did a fresh install of 5.5x by David and the skin came up but the css is not loading which I think might be the links issue. Thanks for your help guys I much appreciate it. Cheers
×
×
  • Create New...