Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 04/17/24 in Posts

  1. No, it would be best to create every module you have for v7 nearly from scratch. There is no possibility to just rework or just modify a few lines of the modules to get those to work in v7.
    1 point
  2. @Alexan If you can supply the info in the above post, we may be able to assist you.
    1 point
  3. Config maps? https://docs.phpvms.net/acars/configmaps What version of phpVMS and vmsACARS are you using?
    1 point
  4. Hello and good Sunday, yesterday and today i try again and the problem is gone. I update to the newest dev Version and open the Cosole on my browser and edit my htacces. And now is all okay i guess. Thank you for help.
    1 point
  5. This error is coming from the connection between ACARS and MSFS. You shouldn't have lost your flight progress, though. Which aircraft?
    1 point
  6. Each page is stored separately in the database. You can edit them thru the admin panel or (after backing up the database) directly using phpmyadmin - although it is safer via the admin panel. They are NOT stored in a file like they were in previous versions as far as I can tell.
    1 point
  7. No worries. I will do some digging to see what I did wrong somewhere else. Thanks for your time. I really appreciate it.
    1 point
  8. 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.
    1 point
  9. Understood. Just to be clear, I like PHPVMS and gives me what I need. (I checked other tools too, that do the same a year ago, but I decided to continue with v7 after v2 and v5) I just wanted to make the startingpage a bit better and easier to maintain by other staffmembers. But I can live with it by maintaining the frontpage myself, as it is not being changed that much. Thanks for the advice.
    1 point
  10. Hello Everyone, I am very pleased to announce that my latest contributions to the phpVMS ecosystem are now available on the Cardinal Horizon GitHub. First, CHTrips! CHTrips is a module that can be a few things packed into one package. It's the first module I would say would be considered a "framework" module. For End Users, Trips is a robust free flight system that allows for tracking of progress on a sequence of flights. Users can quickly create a sequence of flights in your system (that are hidden) that are related to one another. For Developers, (Coming Soon) Trips's robust database schema, events, and services, will provide a framework to allow developers to rapidly build Tours, Events, or Missions systems! Using CHTrips alongside your own module ensures that phpVMS performance isn't lost by multiple plugins conflicting with PIREP events, or other sections of the system. CHTrips can be found here: https://github.com/cardinalhorizon/CHTrips Second, CHPirepSS! CHPirepSS is a very simple module, with a very simple feature: Allow for PIREPs to be converted from ACARS to Manual. Has your community ever encountered an issue where ACARS crashes in a unrecoverable state, and you instruct your pilot to file a Manual PIREP? Well, why not simply convert the PIREP that's already in the database and has telemetry data, into a manually filed one? No more duplicate PIREPs because of software being software! CHPirepSS contains a very simple widget meant to be placed in your manual pirep creation screen. Imaged below is a example: CHPirepSS can be found here: https://github.com/cardinalhorizon/CHPirepSS For both of my modules, I am very interested in your feedback. If you wish to do so, please feel free to open an Issue on either repository. Thank you for your support!
    1 point
  11. 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
    1 point
  12. As I wrote in my first reply, it all depends on what you want to achieve, the method will then become relevant... I would not recommend running connections and sql queries inside blade files but in the end it is your va and install, it will be up to you Good luck.
    1 point
  13. The env.php file has been replaced by the .env file. All the email settings are in there. Return the config.php file to its default state. In addition to the link kindly provided by @DisposableHero , your hosting panel should provide an Email Accounts area with valuable info. If your hosting provides cPanel, have a look at this article to set up SMTP https://cpanel.net/blog/tips-and-tricks/setting-up-and-troubleshooting-smtp-in-cpanel/ I would suggest updating any phpVMS v7 sites you help with to the latest dev build, available in the #v7-releases channel of the phpVMS discord.
    1 point
  14. Forgive me my stupidity, but I am not a developer. I am an technical manager like sharepoint manager. So I know a tiny bit, and can read things. And make some scripts. But you are a champ. I did a couple of things. Make a copy of all the files. Create a PHPVMS foler on the toplevel and copy all files into there. Deleted all from public_html Copy the files from public into the root of public_html and got an server 500 error. But I learned from another tip you gave me, and deleted all under bootstrap/cache. And it worked. Then looked into the sending mail issue. It is nice that the host is putting a different portnumber on there helpdesksite and it does not work. 😉 So after fiddeling out that, I could send emails. Thank you for your great support. RobB
    1 point
  15. You can change the installation location or file locations without re-installing or deleting the database. Good luck
    1 point
  16. 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.
    1 point
  17. 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.
    1 point
  18. Thanks champs. Update successfull. 7.0.0-dev+240407.8554a3 I also saw the METAR working now. This can be called closed. Though will update another VA site of a friend of mine, but there is something specific, and I will ask some help to update that one in another post. Thanks.
    1 point
  19. Docs link is at the top already (which you have found too) Good luck with the update
    1 point
  20. 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
    1 point
  21. 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
    1 point
  22. Did you install phpVMS v7 beta 5 or the latest dev build from the discord releases channel? Did you clear the cache after changing any files and before setting the theme to other than default?
    1 point
  23. Hi, this question is the most asked one and with the SimBrief improvements we have in v7 this matter become critical ... Here you can find the basics about the logic and how to setup your fares/subfleets/flights properly. 1. Main Fares You can define your fares in admin/fares. These will be your main fare types, which will then be used in your subfleets or flights. The main idea here is to define only the basics, so you can change them later when needed. Think fares like the seats in your plane (or cargo space), which can be sold as tickets. They are not in flight services or extended service types like WiFi, Hot Meals, Extra Snacks, Economy Premium or Economy Basic, they are just Economy seats you have. So lets start; Economy (Y) Business (J) First Class (F) Cargo (CGO) These are the main fare groups commonly found in airliners, so start with Economy. When you are at admin/fares click Add New, and enter the info as described below Code : Y Name : Economy Type : Passenger ( for Cargo Fares type must be Cargo as expected ) Price : 100 Cost : 25 Capacity : EMPTY / NULL ( Leave it empty, do NOT try writing EMPTY to that field ) Notes : Fill as you wish Active : Checked and click save ... In simple terms we will gain 75 Usd/Eur/Pound (currency comes from your settings) from each passenger 'cause there is an operating cost of a seat. Repeat the steps for rest if you wish. Why we left Capacity empty ? I will explain it later but for now we are just defining our base fares, so no need to have capacities here. 2. SubFleet Fares Assuming you already have at least one subfleet, which is mandatory in v7. We can explain their logic later if necessary. Head up to admin/fleets and click edit one of your subfleets, or just create one and save (so you will be able to see the details). Scroll down a little bit and you will see Fares section there and it is probably empty. This is the area where we "assign" and "adjust" our main fares which will be used for this subfleet. Click on Select Fare, you will see your defined main fares there. Select Economy and click Add. Now the fare is assigned to this subfleet and you will see it above values like below; Name : Economy Code : Y Type : Passenger Capacity : inherited () Price : inherited (100) Cost : inherited (25) This is where v7 magic begins ... I will use an Airbus A320 with only economy class seats as my basic aircraft type. Click on the inherited text under capacity column and enter 180 there. Right now, when you use any member of this subfleet, you will have 180 seats ready for being sold with a price tag of 100 currency and it will cost you 25 currency to operate that seat. If you want to change the price of your tickets or adjust the operating costs of your seats for this subfleet you can follow the same steps for price and cost. If you do so, your ticket prices and/or costs will be changed ONLY for this subfleet. While adjusting prices you can just use pure values like 150 or percentages like 125%. It is up to you how you change the value. Just do not use percentages on capacities, it really does not make any sense Ok, passenger capacity and price/cost was easy ... How about having some cargo space/fare for a passenger plane. They are not designed to carry bigger loads like freighters but they do have some space under their belly, which is mainly used for carrying out passenger baggages, why not use the remaining space to earn some more money ? Normally passenger planes are mostly limited by the cargo hold's (the name of the cargo area) volume but since we do not have any volume checking capability in simulator and phpvms, we will stick only on the weights here. Just add your pre-defined cargo fare to your subfleet like you added the passenger fares. So, the logic is simple; Your Cargo fare should be big enough to hold all your passenger baggages. Then calculation is simple too 180 (our pax capacity) * 35 lbs (our non-charter baggage weight : check admin/setting simbrief for default values) = 6300 lbs should be your minimum Cargo Fare capacity. If you want to carry some paid cargo, then you need to increase this amount up to a point where it does not passes your aircrafts Maximum Zero Fuel Weight when you have full pax on board. I know this may sound a little bit strange but this is how real thing works too If you know your aircraft specification, then you can calculate your possible max cargo capacity by below formula; Maximum Cargo Fare Capacity = MZFW - DOW - ( max pax seat capacity * pax weight ) DOW is Dry Operating Weight (Operating Empty Weight), it is the weight of your aircraft without fuel, passengers and cargo but with crew, catering and airline stuff loaded already. Anyway, if you do not know your DOW and MZFW then just add some space more to the above calculated value, make it like 8000 lbs. So you will have 1700 lbs free space to carry some cargo after taking all the passenger baggages for a fully loaded flight. Please note; If your PhpVms weight settings are KG, just convert the amount you found to kilograms before adjusting the cargo fare capacity. Just another note for SimBrief Form; The cargo fares of passenger planes will show you the Maximum Available capacity, though we named it max in short terms but this may lead confusions. So when you have passengers and their baggage, your cargo fare capacity will be reduced by the weight of the total passenger baggage weight. Therefore it is not the capacity you defined anymore, it is just what is left behind for you to load additional cargo. If you see negative values there, this is a clear indication that your cargo fare capacity is not enough to hold the passenger baggages . And please keep in mind that SimBrief form uses your aircraft, meaning it reads your subfleet fares. It is a flight plan, do not expect it to read the fares of a flight, it is directly related to the aircrafy you want to generate a flight plan. 3. Flight Fares Technically you really do not need to add fares to flights, but the logic is same as adding fares to subfleets. If you want to change the ticket price/cost of a fare for a specific flight you can do it here. Imagine having a special flight with doubled ticket prices, then just add the fare you want to adjust, click on the price or cost columns inherited text and enter 200%. Now you will have doubled price/cost for this flight only I higly suggest you to not to define capacities at main fares and not adjust capacities at flight fares. This really makes life easier, in real world operations we do not define the capacity in fares and for flights (unless there is a special need). Capacity always comes from the aircraft (here in phpvms it comes from the subfleet) and when we (as OCC or Dispatchers) do change the aircraft of a flight or decide to do it with another aircraft other than planned by commercial planning or schedule planning departments of the airline, ticket sale systems just get the new aircraft info and use its capacity to stop the ticket sales automatically if it reaches the max seats. Things do NOT work like the real world here, so if you have a 180 seat aircraft but define a main fare with 219 seat capacity or edit a flight's fare and set capacity to 239 there, results will not be nice And always remember, fare logic follows below order; Flight (has highest priority, when you change thigns here, they will be used) Subfleet / Aircraft (medium priority over fare) Fare (lowest priority and gets overwritten by the ones above) I think this is enough for basic setup and understanding the logic how fares work in PhpVms v7. Safe flights for now, will post some more info about different topics later.
    1 point
  24. 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
    1 point
  25. Hi all, has anyone been able to make a shop in PHPVMS version 7? our pilots are building up a massive amounts of funds, however i have not many ideas to use these funds. anyone can help?
    1 point
  26. 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
    0 points
×
×
  • Create New...