Jump to content

DisposableHero

Members
  • Posts

    620
  • Joined

  • Last visited

  • Days Won

    97

Posts posted by DisposableHero

  1. Why are you adding a new airport for an already existing real airport with a new non-standard (fake) icao code ? This is the main question.

     

    Just add LECH to your phpvms v7 database, either by lookup or manually then you can start using it with vmsAcars too.

     

    Good luck

    • Thanks 1
  2. 3 hours ago, CRAZYL0O7ER said:

    Is there any way to create your own language?
    For example: Hungarian? I saw the lang folder but what exactly do I have to do there?

     

    Translate as expected, nothing more... Check other folders (like de, fr, it, es-es) and replicate what is done there for your language :) That simple it is.

     

    Good luck and God speed

    • Thanks 1
  3. 8 hours ago, jonbeckett said:

    Hi all,

     

    We have just started an airline and went with pounds and dollars to begin with because it made everything straightforward. We're considering switching to kilograms and euros though - and wondered if anybody else has switched - and what was involved.

     

    I'm guessing we would need to take the airline offline while doing it, and run some queries to convert all of the weights, rates, etc across all of the affected tables.

     

    As I said - wondering if anybody else has already done it in the past.

     

     

    Why wondering, just do it and do it as much as you want and whenever you want.

     

    Critical values are always saved in internal units (like pirep distances, weights, fuel etc)

     

    What you see at admin settings are for display only, like displaying the distances in km or displaying the fuel values in kg etc. Not for database operations.

     

    Enjoy

    • Thanks 1
  4. 1 hour ago, perryfincher said:

    Is it possible that the flights table check for duplicates only comparing flight number, dep icao, arri icao, and subfleet?

    If that is the case, is it possible to have it include route code, leg, and dep time as well as arrival times?

     

    I kindly asked you the version you are running/using one week ago, and that had a reason :( In early builds we had a bug in that duplicate check and it was skipping some flights, latest build is ok. Both import and admin area uses same duplicate checks, which allows more flexibility for schedule planning.

     

    If you are not on the latest dev yet, consider updating your v7 and try again, it may help. Also check your logs for any clues about import problems, skips etc.

     

    Good luck

  5. Did you checked the log (for errors or notes during import) ?

    Which version you are on ?

    Did you checked the database (via phpMyAdmin or similar workbench tool) ?

     

    It is possible that some of those flights may be skipped (or updated).

     

    Latest dev build allows more flexibility during imports and duplicate checks (which will result an update instead of an insert on old versions like beta.5 or earlier)

     

    Hope this helps, good luck

  6. 1062 Duplicate entry 'KPVD' for key 'PRIMARY'

     

    Are you using KPVD both as destination and alternate in a flight you are trying to import. Or are you somehow using IATA codes somewhere in your schedule ? (Which can also cause problems)

     

    Looks like somehow it tries to insert it twice in a row (which is strange), normally we expect it to update or skip if an airport is known and in your database.

  7. Nope you are not missing anything :) 

     

    Fares based on distance or time (also expenses based on them) was something spoken about, but they never went into proper feature requests, thus never worked on.

     

    At the meantime, lots of us developed automated fare stuff for our selves, thus not thought about it in general anymore. I had something built in my module, technically based on distance, tried to implement it in v7 but latest changes done to fare logic was making it tricky to implement, so I stopped working on it.

    • Like 1
  8. I am using a similar logic (capable optimum range vs flight distance) and I think it is the "best acceptable" way to do auto assignments ;)

     

    And yes, if you want, you can add different airline subfleets to flights, and I do not think that this is a bug or "wrinkle" as you defined :) Imagine code sharing, subcharter flights, wet lease operations etc. As this is pretty much normal in real world, Airline A can operate Airline B's flights, no harm if this is based on an agreement between the two.

     

    If you want some automation protection, just check/match the airline_id's of subfleets and flights ;)

  9. Yeah, if you assign more than one subfleet to a flight, then your block time calculations should be able to cover all of those subfleets for that particular flight. We are getting into the same problem in real world too :) If a schedule is based on for our narrow body fleet, but in cases we use our wide body fleet, block times (thus airport slots etc) become a problem. Same applies to phpvms v7 too.

     

    It will be ok though for generic wide body fleets as they most fly with speeds close to each other. I am using some custom functions to generate block times (flight_time in phpvms v7) for my flights if they are no based on real world schedules.

     

    Back in time, someone was working on providing some auto created csv files to import flights which are based on real world airline schedules, but that project is trashed and he never finished it. So even if someone is working on something like that, it is not publicly known.

     

    Good luck

     

    PS;

     

    Block Time = taxi out + flight time + taxi in + some little margin/rounding

    Flight Time = pure flight time (EET, estimated elapsed time)

     

    I am using phpvms v7's flight_time as "block time" and consider my taxi times in it, opposite is possible of course but it may need some tricks in simbrief form to send proper block times to sb via api.

  10. Dear all,

     

    As of version v3.6.x I will be only updating my addons via GitHub, so there will be no future updates uploaded to download section of the forum. Sorry but it really takes time for me to sync two different sources and keep track of release notes on two different locations.

     

    Below you can find the repository links, release page links and finally how to get notifications when an update gets released.

     

    Disposable Theme

     

     

    Disposable Basic (Freeware Module Pack)

     

     

    Disposable Special (Donationware Module Pack, also known as Disposable Extended Pack)

     

          Above links will only work when you have access to the special module, because it is a private repository and a donation is required to gain access.

     

    What to download ;

     

    You only need the released zip file, no need to download source code files (even though the content is same, source code files will not install / work on phpvms v7 directly)

     

    image.png.83baf61fd8125654070810e8910b20c7.png

     

    How to follow updates, get notifications (via e-mail) ;

     

    • Go to the repository you want to follow,
    • Click Watch button,
    • Click Custom
    • Select Releases and apply the changes

     

    image.png.db07f16c0ba482684972a54ba1be96a0.png

     

    With this change, you will get an e-mail from GitHub directly when a new version gets released... No need to follow all activity, as it may be boring if you are not a freak or a developer :)

     

    Enjoy.

     

    PS: I am not explaining how to use .git and pull changes here as if you are using those features, you should be well aware of the structure and usage ;) It is possible to clone/fork my repositories, apply your changes and then integrate to your install via .git structure, also a basic pull to a proper location will work too if you are not editing my addons.

    • Thanks 1
  11. 6 hours ago, jonbeckett said:

    Do you ever get max_connections issues with your template?  I've just been digging through laravel to see how it arranges mysql connections - to see if they're pooling their connections or not - still digging lol

     

    No I don't, never got one.

     

    And honestly, I think this should be in a separate topic, not something under another problem.

  12. 12 hours ago, VUSAIR said:

    The only thing i need to figure out now is why the rest password emails never went out for either account, tokens were generated but nothing was received. I'll have to look at the documentation for email and sit down and learn how to set that up. 

     

    Probably you did not finished setup properly, go through docs and check how email is configured, then check your current setup and logs to see what is going on.

     

    There are forum posts about how to setup mails, be sure cleaning application cache after doing changes. 

     

    Good luck

  13. 4 hours ago, KevinStefanus said:

    How to change the map, like Mapbox, Google Maps, etc., and Where to place the api key ? in the Disposable PHPVMS 7 beta 5 skin?

     

    phpVMS uses "Leaflet" as the base of all maps, you can alter some of the features in respective blade files (mostly visual items and styling) like in `flights/map.blade.php` or `pireps/map.blade.php` (or in widgets folder, airspace and live maps)

     

    For the rest, like changing the core of the map, you may need to build assets and compile stuff according to provided data by controllers. If possible (by the map provider you choose), you can try using your own complete scripts in those blade files too.

     

    Hope this helps, good luck.

  14. On 2/4/2024 at 4:29 PM, LesJar said:

    A pilot flew on Vatsim today for a flight yet the pirep reports that it was flown off line.

    is there a correct point where you have to tell PHPVMS and Acars that you are on-line as the documentation does not seem to say anything about this 

     

    vmsACARS does not check flights if they are being online on a network or being operated offline, thus technically speaking issue has nothing to do with vmsACARS.

     

    Also phpVMS v7 does not provide a built in feature for this, thus this can not be related with v7 too.

     

    So simply, it needs to be a custom module doing that check. Better focus on the module/addon settings and your pilot's profile/info, also your logs about any errors related to that addon. Then you can request support from the developer of that addon.

     

    Good luck

  15. You can check your browser console for CORS errors, if it is there you need to be sure the url you are using.

     

    As an example, if your site is using https://... in your .env file, then you should be visiting your https:// site (or vice versa). Best way to understand this is the browser console (press F12 when the error occurs).

     

    APP_URL should point where your v7 root is, if it is installed under a folder called /phpvms then of course your APP_URL should point that folder. If you share your url we can check too.

     

    https://www.yoursite.com/phpvms => APP_URL = 'https://www.yoursite.com/phpvms'
    https://crew.yoursite.com => APP_URL = 'https://crew.yoursite.com' 

     

    That simple is the logic.

     

    Hope this helps

  16. 13 hours ago, N730AN said:

    Hi everyone! I am new to phpVMS and website creation, so please excuse me, but this is completely stumping me. I have added EGLL and KIAD in the airports section, but when I try to create new flights, I cannot find these airports in the dropdowns. I already checked that my .env APP_URL is correct for the mySQL databse, but I'm not sure what else could be causing this. Does anyone have any ideas? Your help is much appreciated.

     

    image.thumb.png.8d30a388390a760b1c91fa448e998a31.png

    image.png.f42885f009803a7f5963a6e6d48018c0.png

     

    Did you read this post ?

     

     

    It explains the possible causes and solutions. I bet it is just a CORS issue on your end.

     

    Good luck

  17. As an example, I have my own custom code for fare prices... I do define a base price and then alter it automatically according to distance (and of course flight type, aircraft configuration like business - first class options). This way I do not have to define flight specific fares or fleet specific adjustments, it is a solution too.

     

    You can do something similar for your cargo flights (or all flights) then there will be no need to worry about stuff anymore.

     

    If you are using Disposable Special, you can inspect the code I created for automated fare price calculation. If not I shared the basics at phpvms Discord or phpvms v7 GitHub repository. You can check those old messages :)

     

    Good luck

  18. Don't you have a specific fare applied for that fleet according to their cargo space (by weight), adjust the prices accordingly.

     

    Or develop something automatic, which will increase the price by range for example, you can overrule fare and or subfleet level definitions at flight level too.

     

     

  19. Technically yes, that map is powered by API calls, Leaflet (map) + Rivet (data on the map, JavaScript) and you can replicate it easily anywhere with proper coding. This was talked several times in Discord with some other possible solutions, if you are a member you can check those old suggestions too ;)

     

    Good luck

    • Like 1
  20. On 4/17/2023 at 4:54 PM, LesJar said:

    Since I now have the database of FS-TRAFFIC and Aig schedules as well as World Traffic schedules the system should be starting up again very soon and of course it can now take advantage of the most recent upgrades to PHPVMS V7 .  I used a newer method to build my own virtual airline so as to align the code within the project which is not dead but has been sleeping for a while 

     

    Are we assuming this project "dead" by now 'cause "sleeping" for this long simply means death?

     

    People are asking to us (I have no idea why), some official info from the developer needs to be done :(

     

    Good luck

  21. I am using MsFs for all kinds of test flights with known addons, not even had one single crash related to vmsACARS... I am managing 3 different Virtual Airlines, and have lots of pilots using MSFS + vmsACARS, none of my pilots reported such CTD's and incompatibilities with vmsAcars. Really my rate is 0 (zero).

     

    Did you sent your vmsAcars logs to developer when those crashes happen along with MsFs crash details (event viewer or logs), did the problem is identified as 100% vmsAcars oriented or are you just guessing this ?

    • Like 1
×
×
  • Create New...