-
Posts
8151 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
4 hours ago, LordWilbur said:
I don't know how to fork and pull but i'll google for it... by now the translation of the frontend is 75% done, i'll try to fork and pull when i finish the frontend, then i'll start the admin panel...
Translation to what language? Or do you mean moving the language string out from the templates and into the translation files? I had a specific way of doing those so if you can show me what you're doing, I can give you feedback. I wouldn't want you to get through it entirely but it be done in a way that isn't optimal. Also I'd definitely need a pull request for that.
Thanks for helping, though! Much appreciated. We can work to get it all merged in.
-
Hi all,
This has gone through a couple of rounds of testing, and seems to be working. The instructions are here:
https://gist.github.com/nabeelio/8b7ab29fb67dfe27284d63d7136388dc
Make sure to make the changes in the skin that you're currently using. Luckily, changes aren't too bad or complicated.
-
I wouldn't disable the SSL verification, though maybe for this it doesn't matter. Maybe I can add a setting for it. The airport lookup is also over SSL... I'd figure out why your server has a problem with verifying SSL.
In terms of centering, that is on the list of things to be done.
For translations, the only way is pull requests via git. Fork it, create a new branch and then create a pull request.
-
Split the other changes into a new topic:
-
You didn't finish all of the changes. Remember to make it in your skin. This set is missing:
-
4 minutes ago, mboddicker said:
You can see the registration page at the following link. It doesn't load any of the styles and I get a 500 server error on the pages.
You made an error with editing the registration form. Make sure it's correct
-
You will need to contact your host about that error. You can also try in Registration.php, changing:
$recaptcha = new \ReCaptcha\ReCaptcha(Config::Get('RECAPTCHA_PRIVATE_KEY'));
to
$recaptcha = new \ReCaptcha\ReCaptcha(Config::Get('RECAPTCHA_PRIVATE_KEY'), new \ReCaptcha\RequestMethod\CurlPost());
Let me know if that works. If it does, I can change the way the default code is to use that instead.
-
8 minutes ago, mboddicker said:
Nabeel,
I have followed all of those instructions, but I still get a broken registration page.
What exactly is broken? I need more information than that. Any errors? Logs? Try editing the local.config.php and remove the E_WARNING from the error_reporting clause. There might have been an inadvertent error while editing
-
How do these instructions work out for you?
https://gist.github.com/nabeelio/6380e05dbb8ce8c53765f0068f6515e3
-
With 5.6 and up, I'd probably use https://github.com/nabeelio/phpvms_v2 It works on PHP 5.6+, and I'm backporting the recaptcha and google maps fixes into it
-
I'm using Leaflet with OpenStreetMaps in v7. The conversion should be straight-forward, the instructions might not be
-
The METAR data should be fixed in the latest dev version. It'll cache the METAR data but it will only try to retrieve it for about 2 seconds.
-
I'll fix that timeout issue and shorten it to about a second. It's trying to access METAR data for the airport you're at. Do you know what the ICAO is? Can your server reach out to other sites? The URL it's trying to get to is:
https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=ICAO
The nav button where - admin or frontend?
-
These instructions should work
https://gist.github.com/nabeelio/6380e05dbb8ce8c53765f0068f6515e3
Note: Make sure to make the changes in the skin you're currently using.
-
I'll take a stab at it over the next week or so.
-
There's a pinned topic
-
On 5/5/2018 at 11:35 AM, Adel said:
Warning: require(C:\xampp\htdocs\sdi\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\sdi\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\sdi\bootstrap/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\sdi\bootstrap\autoload.php on line 17What I'm doing wrong?
I'm not sure how composer handles Windows, esp with pathing, etc. It's not being designed to run on Windows hosts.
-
On 5/1/2018 at 4:13 PM, shakamonkey88 said:
No problem. We’re now using checkwx and their API. Will try out alternative PHP cache using apc_store and apc_fetch.
CheckWX is real easy to use. I took a super old PHP parser and updating it to run with the latest PHP:
https://github.com/nabeelio/phpvms/blob/master/app/Support/Metar.php
This is the original:
-
It should be relatively easy to convert it to using open street maps
-
IPB has a feature called "clubs" - basically subcommunities - https://invisioncommunity.com/news/product-updates/new-clubs-r1017/
Right now, I have this feature disabled, but would this be something VAs would be interested in - being able to create a club within the phpVMS forum to post updates/use as a forum, without having to create your own? Similar to what avsim does, but there's a lot more customization. And maybe only for established VAs, so it doesn't get completely cluttered with one hit wonders.
Thoughts?
-
20 hours ago, polirom said:
In the administrator panel I get this message.
New version 7.0.0-180423-29d206 is available!
Where can I download it? In the forum I can not find the link for this download.
In other versions of phpvms 7 there was an option to import routes in * .CSV format
Now that disappeared. How can I import routes?
Thank youThe new version thing is broken, atm. The dev version is here:
-
20 hours ago, web541 said:
phpVMS Version 2 (https://github.com/nabeelio/phpvms_v2) was the original phpVMS version and still works to some extent, but requires your PHP version to be <5.3 from memory.
phpVMS Version 5.5.x (https://github.com/DavidJClark/phpvms_5.5.x) is the current stable version of phpVMS and can be used on PHP systems (mainly on 5.5.12) of up to 5.6. Some people have made it work on PHP v7 with no errors, but it's different for everyone on their own hosting.
phpVMS Version 7 (https://github.com/nabeelio/phpvms) is currently in development and is a totally different version of the two listed above. This version will be the newest and most up-to-date version when released but is still somewhere between Alpha and Beta stages (you can test it though, but there will still be bugs and changes that will occur before the official release). This version is made for PHP Versions >7.1.
Just one note, the "Version 2" is defaulted to the php70 branch, which makes it compatible with php 5.6+
-
On 4/21/2018 at 9:23 PM, jnascar said:
Ohh, a duh moment. I get it now! So like Flight # 1001 Code - C for cargo and leg #1 or A, B,C, etc....? And as folows:
Where C = Cargo
Fl# Code Leg
1001 C 1 or A - KIAD - KRDU
1001 C 2 or B - KRDU - KHPN
1001 C 3 or C - KHPN - KIAD ( back to KIAD, or of course another airport? )
Like that?
Correct. It's usually from point A to point B and then point C. A lot of times, it's because the ultimate destination is C, but a stop at B is necessary for refueling, etc. There are some times where passengers who are at B don't need to even disembark the plane if they are going to C
-
PHP Version isn't the problem. You need to ask your host to increase the amount of memory allowed in the php.ini file
Google Maps and Recaptcha fixes
in Announcements
Posted
There are two topics, for phpVMS legacy, to fix and address these issues: