-
Posts
8151 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
You'll have to read it into strformat I think, and then do the parsing out from there
-
Are you trying to get username/password from phpvms working in wbb or the other way around? I'm not familiar with WBB
-
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:
-
Double check your phpinfo()
-
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.
-
-
Minimum version needed is PHP 7.1
-
A mobile-friendly skin is probably the best way to do. However, the next phpvms version has a REST API built-in so creating an app or whatever should be much easier. Legacy doesn't have an API and that's something you'd need to build.
-
It can't connect to your database.
-
What are the errors? And what exactly are you trying to do? That is a nasty regex
-
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.
-
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
-
It's best to keep it here in case it helps anyone else. Was there an output from the $start? What if you run the script "by hand" on the command line?
-
Right but did it output anything?
-
I guess the start date is coming messed up... maybe add an
echo $start;
above that line and see what happens
-
I believe in the config files, there's a setting for how long they show up
-
What is that line?
-
Simconnect SDK is the way to go
-
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.
-
Does MAMP have url rewrite enabled via the htaccess files? I've never used it. You'll have to figure out how to enable that.
-
GOT EM!
-
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 thatHaving 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
-
On 7/5/2018 at 1:39 PM, joeri said:
hello all i thried this to my website and the form just resets itself but nor registration is passed.
anny help would be nice
Hey Joeri, long time! Any errors anywhere?
-
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
Customize Template for phpVMS v7 [TUTORIAL]!
in General Discussions
Posted
You can probably just throw them up onto YouTube. The base templates won't be changed much, if at all, between now and release