Jump to content

DisposableHero

Members
  • Posts

    710
  • Joined

  • Last visited

  • Days Won

    114

Everything posted by DisposableHero

  1. 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.
  2. 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
  3. 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
  4. Specially this post and forward, last post also helps
  5. 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
  6. https://github.com/nabeelio/phpvms/issues/1301
  7. 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
  8. 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.
  9. 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
  10. 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
  11. 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 ?
  12. 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
  13. 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
  14. Looks like you are mixing your "filename" with the "name" v7 assigns to files you added to the system. Anyway, with some loops or special lookups maybe you can get the data you need and re-group as you wish. Good luck
  15. 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.
  16. 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
  17. 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
  18. @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
  19. 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. 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
  20. Interesting solution probably lies in your cron settings After changing php versions, there are three steps to follow Hosting Control Panel | Restart php itself (most of the hosting providers do this automatically, check if they provide a button - link etc. for it, if so restart it manually) Hosting Control Panel | Edit your cron command to reflect your latest changes to php version (this MUST be done manually, running php8.2 but trying to use a cron command for php8.1 will cause problems) PHPVMS v7 | Go to admin > maintenance and clear cache (this is not mandatory but eliminates risks) Only after these steps are completed, and you still get php or extension related error, double check enabled extensions and php settings for your new version. As they need to be installed and configured per each version installed. Good luck
  21. Follow duplication procedure... That simple it is, as explained in @ProAvia's post and is explained with examples in my readme files (subliminal message for reading the readme files) :) Duplication logic works for default theme too, so whatever theme (or my module blade files) you are playing on , duplication saves your life ;) Good luck and enjoy.
  22. https://github.com/nabeelio/phpvms/blob/15563e1181dd4b6ae38e161fadb733c6a8392333/resources/views/layouts/default/dashboard/index.blade.php#L83 https://github.com/FatihKoz/DisposableTheme/blob/50ad455eb8ae4f3565723d0dbc1e70f13fee4016/resources/views/layouts/Disposable_v3/dashboard/index.blade.php#L40C44-L40C44 {{ Widget::latestNews(['count' => 3]) }} @widget('latestNews', ['count' => 3]) Both will end up loading the Latest News widget with last 3 news you entered.
  23. This is not related to an addon route or page (because DBasic.news is a page to display all news, not a widget to place somewhere) What you need to do is, placing latest news widget (which is a part of phpvms v7 itself) to your home.blade.php. You can check the default theme's dashboard/index.blade.php or disposable theme's dashboard/index.blade.php to see how widgets are placed in blades. Also Dispo Basic's readme file explains the general logic about placing widgets and configuring them. Even though it gives examples for its own widgets, similar calls can be used for default widgets (like latest news, latest pireps, latest pilots, livemap etc) Good luck
  24. Considering v7 is open source and can be improved by contributing via GitHub I would kindly suggest NOT to share core code changes here in the forum. Instead if there is an issue within the latest dev, opening a bug report and fixing it with a pull request is the best solution. So then when a new build gets generated (believe me, it is something urgent this happens pretty quick), everyone following/using v7 dev versions can benefit and it will be less risky compared to editing files manually (or advising that). GitHub repository link is on the top menu https://docs.phpvms.net/installation/updating For best and quickest update (considering you do not have custom core file edits), replace item 4 with this; 4. Download latest dev (zip or tar.gz) package and upload it to your hosting via cPanel (or Plesk) file manager (or FTP), unpack using the same file manager and overwrite everything. (if you have edited core files, you may need to apply your changes back but be careful, double check your changes and replaced files, like a config file or .htaccess a service etc.) Safe flights
  25. I think this can be done in blade... If you know the codes of awards for hours/pirep counts, then you can alter the foreach loop to show only them at top section (or left section) then the rest at bottom etc. (according to your placing wishes)
×
×
  • Create New...