Jump to content

DisposableHero

Members
  • Posts

    690
  • Joined

  • Last visited

  • Days Won

    111

Posts posted by DisposableHero

  1. 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
  2. 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 ;)

  3. 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.

  4. 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
  5. 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.

  6. 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

  7. 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.

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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.

     

     

  13. 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
  14. 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

  15. 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
  16. 3 hours ago, FredoFrance said:

    Hi, i can't choose aircraft type under "Aircraft Information" when I doing a manual pirep.

    I have trieds it also in Admin, but it's the same.

     

    All other fields is ok.

     

    Did you defined aircraft under your subfleet/subfleets ? Did you enabled any restrictions for aircraft / pireps etc. ?

     

    You can check below post for initial configuration tips and explanation.

     

     

    Good luck

  17. Probably you got blacklisted by their security measures, instead of creating a post here I would kindly advise using Discord and sending a direct message to Nabeel

     

    Or as another quick solution, you can use another connection (like your gsm 4g/5g line) to create a ticket from vmshost.io itself, 'cause probably the site/servers was running fine. (And you will be surprised seeing that you reached it via your phone)

     

    When sending the ticket or message, do not forget to include your routers external ip, so they can check their systems for any blocks.

     

    Good luck next time ;)

     

  18. To be honest, what I am wondering is, how you will separate these "registration" based core v7 groups, what will be the impact on page load ? This will definitely need some loops in loops or multi level array functions to pick up same addon developer repaints (like Fenix or Zibo etc) and then add them to a new array, finally display that array with a group name "Zibo Liveries" etc.

     

    image.png.bb6945e5285ce922d2c8f6f6b5ad25dd.png

  19. 6 hours ago, LesJar said:

     

    Thanks I found the Blade and will try a few things out naturally of course back-up the software first . To subdivide into groups I think that the file names will need to have a standard set of names so that the sub-group(s) can pick them up of course. 

     

    Of course, you can check https://github.com/nabeelio/phpvms/blob/6b9658a4e37e193e00e5b1f4b1084130a64aaf1c/app/Http/Controllers/Frontend/DownloadController.php#L55-L65 to see how the files are named and grouped in the controller. You can also check default theme to see the default naming 'cause my theme removes some portions of the names to have better display.

     

    Then you can play with the php array to re-group or sub-group stuff as you like ;)

     

    I do not know how you will organize your files to have some "Fenix A320" group but it should be possible with some loops and php functions doing array searches etc.

     

    Good luck

  20. No need to move the post as it will apply to default theme too.

     

    As you found out, what you see and wondered about was a theme feature, a blade file, which you can customize as you wish under your duplicated theme (and share with people if you wish so)... phpVMS v7 returns the data to frontend with some basic grouping as it should (like aircraft, airline, airport etc.) you can re-group or sub-group the end results as you wish. As far as I remember my design, they should be ordered by name (array natural sorting).

     

    Good luck

  21. @foreach($awards->whereIn('id', [1,2,3,4]) as $award)

     

    You need to know the id numbers of the awards you wish to group for this to work. more info at https://laravel.com/docs/10.x/collections#method-wherein you can use other available methods too.

     

    But there is a logical flaw in the code above, Auth always gives you the logged in user. So for example if you place this code to profile index page and then visit my profile, you will see your own awards ;) 

     

    Hope this helps, good luck

  22. Hi @Nacman

     

    Are you asking this for my addons or for general? What you are asking is a basic phpvms v7 feature, and it can be reached easily by using `{{ $user->ident }}` . Even at backend, admin settings, there are controls for this feature (like fixing the ICAO code and defining the digits in the ident, usage of idents in SimBrief etc). Just inspect default theme, or my theme and you will see that there are many usages of this feature in places where a user's info is being displayed.

     

    If you are asking this specially for my theme, there is a setting at theme.json to show/hide idents by default. Most of my addons do follow your theme settings and are already configured to show idents along with names when you enable that setting.

     

    image.png.866036272c07dd788e92e679c5fa1e52.png

     

    https://github.com/FatihKoz/DisposableTheme#settings-via-themejson

     

    https://github.com/nabeelio/phpvms/blob/ca565fc563d75c673f76207913473c080bceadf0/resources/views/layouts/default/users/table.blade.php#L26

     

    Good luck

×
×
  • Create New...