Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by Nabeel

  1. On 10/12/2018 at 8:29 PM, in2tech said:

    Alright not exactly sure how to word this but I am trying to use the existing code from the nav.blade.php file for my template. For instance I want to of course show some menu item's to Guest and when they login more appear, just like we do in the original version. I have some of it figured out but I am mot really sure what this code is referring too:

     

    
    	@foreach($moduleSvc->getFrontendLinks($logged_in=false) as &$link)
            <li class="nav-item">
                <a class="nav-link" href="{{ url($link['url']) }}">
                    <i class="{{ $link['icon'] }}"></i>
                    <p>{{ $link['title'] }}</p>
                </a>
            </li>
        @endforeach
    	

     

    it's the $link stuff I don't really understand? What is it referring too exactly? Any help appreciated! Just trying to learn the basic's :)

    Thanks for your help!

     

    If you look at the foreach, it says:

    @foreach($moduleSvc->getFrontendLinks($logged_in=false) as &$link

    So it's grabbing all of the frontend links as $link. If the module you create says that's allowed for guest users, that will get the link as defined for that module. I need to write some extra documentation around this feature:

    http://docs.phpvms.net/developers/add-ons-and-module

  2. On 8/28/2018 at 3:19 PM, Strider said:
    
    Fatal error: 'break' not in the 'loop' or 'switch' context in /core/modules/ACARS/ACARS.php on line 176

    I changed the php version to php 7.0 am using phpvms version 5.5.x by simpilot. I have checked that file and the line and there is a break there, but it is an if statement not a switch statement. I have been having trouble as I have had to move hosts and the new server is not letting me file pireps, using either acars program or manual.

    Maybe put a return in its place or something.

  3. On 8/18/2018 at 12:11 AM, Baileypellow said:

    I’m not sure there aren’t any live flights. I just want to basically leave a line where the aircraft has been (so you can see detail like the route on which it taxiied) and then a dotted line from it’s current position to the destination. 

    There's no build-in way to do this, unfortunately. 

  4. Ok, so it's not passing in the start date. Find out where that's being called from and see if you can trace the call from there. Also, it's a notice error, so you can probably just hide it. Does the thing you're trying to do actually work, though? There's also this...

                <p style="font-size: 16px; color: #001B6B">Unauthorized access - Invalid Permissions.</p>
     

    Check the permissions of your files

  5. On 7/17/2018 at 8:46 AM, Relja12 said:

    I have two problems

    1st: When I zoom in or zoom out (default zoom 100%), my map is resizing as well. Picture: https://imgur.com/a/uhzY8fC (zoom 110%)

    2nd: How to get this map working in schedule briefing and pirep report?

    Thanks in advance for your help!

    1st is a CSS issue with your site.

    2nd the instructions should include the pirep report. Schedule briefing I'll try to take a look soon.

  6. On 7/11/2018 at 5:14 PM, aarbee said:

    I have the same issue as ProAvia.
    I think did install it all correctly. Even twice.
    Bu the Acars maps is now completely white. In all browsers.

    I am using the PHPVMS version 5.5x.
    If I look via Devtools, I still see that

     

    Having this error:

    TypeError: $(...).ajaxForm is not a function[Meer info]  phpvms.js:27:2

    <anoniem> http://www.vlmva.com/lib/js/phpvms.js:27:2
        j http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js:2:26855
        fireWith http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js:2:27673
        ready http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js:2:29465
        I http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js:2:29656


    "Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys" util.js:226:33
    "Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required"

     

    Thanks ahead,

     

    Rob

    Seems like you're missing something - maybe jquery from your page

  7. It's not released yet, and probably will be the beta instead. It's in the changelog because I accidentally merged the latest into master.  You can use the latest dev version, but a reinstall might be required at some point. Imports are all working in the dev version

×
×
  • Create New...