Jump to content

Parkho

Moderators
  • Posts

    1381
  • Joined

  • Last visited

  • Days Won

    6

Parkho last won the day on March 13

Parkho had the most liked content!

About Parkho

Profile Information

  • Gender
    Male
  • Location
    Shiraz - Iran
  • Interests
    Flight Simulation

Recent Profile Visitors

34740 profile views

Parkho's Achievements

Apprentice

Apprentice (3/14)

  • Dedicated Rare
  • Very Popular Rare
  • Well Followed Rare
  • Conversation Starter Rare
  • Posting Machine Rare

Recent Badges

164

Reputation

  1. Parkho

    Aiviation Weather

    Oh I am open to any questions asked and I'm sorry you feel I'm waisting my time but I don't feel that way. Regarding the weather source, the API is providing tons of details for the ICAO so sure I'll be developing it further for the next versions. This is just the warm up for me! 😉
  2. Parkho

    Aiviation Weather

    Good day to you too, I am converting my v5 modules to v7 and that's the porpuse. I know v7 already has a built-in metar/taf function but this can be an alternative to what is already there. I will continue the conversion of all my modules regardless of whether they can be useful to v7 or not. Sometimes pilots would prefer using different methods getting their info. I don't know why you are asking me this anyways?!?! You either download and use it or totally ignore it!
  3. View File Aiviation Weather This is the second module I have converted from phpVMS v5 to v7. Installation: Download and unzip the file Place the unzipped folder inside: .../modules Go to admin/modules Sidebar: addons/modules The module should appear on table bellow. Click "Activate...". Clear the cache before openning the module. Support: You can ask or send issues to my Discord Channel Submitter Parkho Submitted 03/13/25 Category Add-ons  
  4. Version 1.0.1

    13 downloads

    This is the second module I have converted from phpVMS v5 to v7. Installation: Download and unzip the file Place the unzipped folder inside: .../modules Go to admin/modules Sidebar: addons/modules The module should appear on table bellow. Click "Activate...". Clear the cache before openning the module. Support: You can ask or send issues to my Discord Channel
  5. Hi and sorry for the delay. On line 561 of the index.blade.php there is a duplicate <a> tag that causes the error. Remove that and it will be fixed. I have updated the download file if you wanna replace with yours.
  6. 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.
  7. 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
  8. 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.
  9. 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.
  10. 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
  11. 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.
  12. Unfortunately, yes!
  13. 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
  14. 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).
  15. 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.
×
×
  • Create New...