-
Posts
704 -
Joined
-
Last visited
-
Days Won
113
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by DisposableHero
-
I think you know that the basic license is also one time payment and license is issued to your domain (like myvirtualairline.com) and usage will be free for all your pilots. And once you want to add the premium features you can upgrade easily (again with a one time payment) And phpvms v7 is free of charge, you can plan your budget to get the domain and hosting first, install v7 freely, test it with manual pireps, prepare your theme/skin etc and next month you can buy vmsAcars, then on the other premium upgrade etc. Safe flights
-
I can not speak for the developer but as far as I know, basics functions will be always included in normal license, but customizations like visuals, custom rules, airline specific sound sets etc. will be available to premium licenses owners only. And again, as far as I know, you can opt-in with basic license, and when you have some more budget you can upgrade to premium, as it will be a one time payment Safe flights
-
Works fine on my end (not using v2/v5 though), same source being used for the RSS feed... So it can be server/code related on your end.
-
Those lines are examples, but in theory they go in some files placed on your landing page/site. If it is a wordpress site then you can have some easy (gui) tools to place them. On any solution you need to write the codes to show/display the results returned via api endpoints on your desired pages. You can check https://turksim.net or https://thyva.com for custom (hand made templates), https://sunexpressvirtual.com for a wordpress placement of api returned results. Even if I send you files from Turksim, they will not fit in your landing site's design, this is why custom design is needed. Hope this helps a little bit, good luck.
-
Importing .csv doesn't capture registration field into subfleets
DisposableHero replied to benjoglove's topic in Support
Looks like you are mixing aircraft with subfleet, they are different and their csv import formats are different. Aircraft.csv example for a subfleet (type code B773-STW) subfleet,iata,icao,hub_id,airport_id,name,registration,fin,hex_code,selcal,dow,zfw,mtow,mlw,status,simbrief_type B773-STW,773,B773,,LTAI,TC-GRU,TC-GRU,,69d85fa9,,,,299370,,A, B773-STW,773,B773,,LTAI,TC-GRV,TC-GRV,,345d53b1,,,,299370,,A, B773-STW,773,B773,,LTAI,TC-GRY,TC-GRY,,80f72b67,,,,299370,,A, Subfleet.csv example for this subfleet airline,hub_id,type,simbrief_type,name,fuel_type,cost_block_hour,cost_delay_minute,ground_handling_multiplier,fares,ranks STW,LTAI,B773-STW,,"Boeing B777-300",1,2560,,125,Y?capacity=550;CGO?capacity=21500, If the 3rd party developer does not provide an aircraft.csv you should generate one for yourself or request support from them to provide some data. Good luck -
If possible try something from php8.2 series to be sure ('cause php8.3 support is not official at the moment so eliminate that risk) And I assume your docker has a compatible database server, like mysql or mariadb and it is configured + running. This looks like a db issue to me. Good luck
-
Looks like this is a classic CORS (Cross Origin Scripting) error to me, check your browser console when the error happens, you will see the error live. Also please check the forum for problems regarding airport dropdowns, discord has the same/similar solutions provided. Main reasons: http vs https difference, app_url definition, ssl redirection, wrong url being used etc. Good luck
-
Acars showing not logged in and scenery scan not working
DisposableHero replied to vxal's topic in vmsACARS
I explained the reasons of that error to your VA's Admin... You have scenery scanning problems. Send your acars log to your admin for support Safe flights -
As ProAvia wrote, there a no stored html pages for anything in v7, almost everything is dynamic and database driven (except fixed stuff to deal with the data provided and render the end results). Only way to edit those "pages" is the admin panel, which offers you a simple WYSIWYG (What You See Is What You Get) type editor. You can prepare something outside (in an html editor) maybe and then copy paste the code to that editors "code" section. Other than this, you need to design is visually. What can be done, at best, is editing the relevant file rendering those pages, put some conditional checks in it and when a page is loaded then it can behave differently according to that page. Imagine it like, when you create a page named "fleet" and another one named "rules", you can have a different design for these two with this. Data will be provided by v7 but the look of the page will be different (up to a point of course) If you want real fixed pages, with separate and hand coded blade/php files (yes, they need to be like mypage.blade.php) then you need to have your own custom module for them. Hope this helps, good luck
-
Acars showing not logged in and scenery scan not working
DisposableHero replied to vxal's topic in vmsACARS
What does the log says ? You need to share it to get support I am trying to help one of your friends, probably the admin for the same error. Simply your server is not accepting requests (according to the log your friend provided), so if you can share your log, which can be found on acars/logs folder, we can have a look and compare it for similarities. -
Simple logic to see what is needed is to create a manual pirep or check an acars pirep directly from the database, then you can prepare your old data to match the new fields and import via some sql queries. Or of course you can write a custom module, utilizing laravel features to make it more complex if you wish. Most important things is the data units, flight (pirep) times are in minutes and all weight / fuel values are in pounds (lbs) for phpvms v7 database (regardless what you select for display). Also you may need to match your old pilot id's in those pireps with new user_id's you have in your system (don't mix them up with idents, I am talking about the real database indexed id numbers of users) Then you may need to match your old airline codes with your new airline_id's to have more matches / reflecting details. You can probably use the same timestamps for created_at, submitted_at, updated_at fields of v7, it will not harm the system but if you have detailed times you can use them too (created_at is the time a flight is started, submitted_at is the the it gets filed etc.) Pirep type (manual/acars), pirep state, pirep status can be same for all these imported all pireps. In theory if you can match the pilot id's with their old pireps, nightly cron can re-calculate their pirep counts and times according to that data (pilots will be happy). What you will lose is financial details of those pireps (can be done if you want to go that deep but I think this is not important compared to the pirep itself), and detailed acars data (like logs, flown points etc) you may have in that old system. Good luck
-
Well then there is something else is going wrong, I know it works as designed by defining your route code there
-
Technically there is/was no need to edit the widget itself, the event "route code" is defined at module admin area and it works both for API endpoint and Event Widget. No need to edit/alter line 16 of the widget controller as it simply reads the above definition.
-
So you want a "landing page", preferably outside of phpvms v7 namespace, something like a wordpress website which you can edit as you wish. It may not be that easy to achieve, because v7 "pages" system is not designed for that purpose. You can still have it by some tricks and injection logic of laravel but I am not sure that it will give you the best results out of the box. At minimum, you may need a modified app.blade.php which will be used only for that home.blade.php, and in that home.blade you can load a "page" created at admin side by (or maybe you can load more as per your design needs). And then display it without escaping html special chars, so it can be displayed as designed in a WYSIWYG editor. Or you can have a real landing page, with any CMS you like to use (like WP or Joomla etc) and have your phpvms v7 located under a subdomain like many of VA's around. Imagine https://phpvms.net (landing site) and https://demo.phpvms.net (phpvms v7) Good luck
-
Try using html / iframe or with some php (and laravel) knowledge you can read data with curl (or guzzle) and then process it or you can place widgets to that home.blade.php once and then forget it completely. It all depends what you need and how you want to do it but most of the time anything is possible. Good luck
-
https://docs.phpvms.net/help#vmsacars
-
How to update a PHPVMS 7.0 installation with different folders?
DisposableHero replied to aarbee's topic in Support
I am not a developer either So we are same, in fact you can be better than me (considering your technical knowledge on Sharepoint), I am an OCC Manager of a real airline, just doing all these virtual aviation stuff and development as a hobby to somehow clear my mind from daily workload What you did was the correct way to be honest, you only missed the cache stuff in the beginning but solved it after getting the server error. Glad to hear that you solved the mail stuff too, in that part, we really can not help people much as it is 99% of the time custom and not generic stuff to advise easily. Enjoy your updated and moved v7 -
How to update a PHPVMS 7.0 installation with different folders?
DisposableHero replied to aarbee's topic in Support
You can change the installation location or file locations without re-installing or deleting the database. Good luck -
https://docs.phpvms.net/config/email
-
How to update a PHPVMS 7.0 installation with different folders?
DisposableHero replied to aarbee's topic in Support
Installing methods did not changed, they were always same (only 1st and 2nd suggestion was swapped due to their usage frequency) ... Unfortunately, what you did is the worst and most unsecure method to install / run phpvms v7, and it was always like that. What your friend did back in time was one of the suggested methods and it is still ok to use v7. https://docs.phpvms.net/installation/uploading Hope this helps. -
How to update a PHPVMS 7.0 installation with different folders?
DisposableHero replied to aarbee's topic in Support
Same logic applies, nothing different Replace the files under phpvms folder of yours with the ones from latest dev (simply unpack latest dev in that folder), then copy over the public folder contents over your public_html folder. -
Docs link is at the top already (which you have found too) Good luck with the update
-
Good news, glad you solved it. It is up to you, update or do a fresh install... Just use latest dev build, how you do it is just a choice for now. If you have nothing to lose, fresh install will be easy, but I would prefer updating to have some practice for future updates
-
Hi Rob, Technically either from discord or from this forum, downloading the latest dev (development) build is the best choice... Beta.5 is ok too but it had some nice bugfixes after release and latest dev is better than the beta.5 at the moment. Additionally, when you duplicate a theme (be it the default theme or an addon theme), you need to (this is a must) edit the theme.json and change the name, which needs to match the folder name you used. Only then it will be possible to use it and avoid any errors like you mentioned above. So considering the error in your hands; You need to either clean the application cache from admin > maintenance page or if you can not reach there too, then you need to delete the mentioned (bootstrap/cache/themes.php) file manually for it to be re-created with the corrected info. Hope this helps, good luck