Nascoli Posted October 23, 2021 Report Share Posted October 23, 2021 Hi guys, I'm making this module available for free. Enjoy! Bug report: contatct@smartmodules.com.br Feel free to contribute improvements! 😉 Download: https://github.com/smmodules/SMPirepValidator /** * SMPirepValidator v.1.3 for phpVMS (tested under PHP 7.4 and phpVMS v5.5.2.72 by @ProAvia) * @description This module aims to validate if the pilot made his flights online on the IVAO and VATSIM networks * * SmartModules addon module for phpVMS virtual airline system * @link https://smartmodules.com.br * * SmartModules addon modules are licensed under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * To view full license text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * * @author Ton Nascoli (SmartModules) * @copyright Copyright (c) 2021, Ton Nascoli * @license http://creativecommons.org/licenses/by-nc-sa/3.0/ */ Install: 1. Download the ZIP file in your computer 2. Extract the zip file into a folder of your choice 3. Go to the folder where you extracted the files and access the phpvms_content folder 4. Upload the ADMIN and CORE folders to your website by placing them in the phpvms root folder 5. If asked to replace files, click YES Install sm_onlinelog.sql Just import the sm_onlinelog.sql file using your PhpMyAdmin CRON JOB This is the commonly used command line. If in doubt, consult your host provider /usr/bin/GET https://{your_website}/{your_phpvms_folder}/action.php/SMPirepValidator/run_check How does work? After you enable CRON JOB, the module will add all the pilot's flight logs to the sm_onlinelog table. When validating the PIREP, the system will show if the LOG was found and will enable the administrator to see the LOG of the flight performed at IVAO/VATSIM. ENJOY!!!! NOTE Tested under PHP 7.4 and phpVMS v5.5.2.72 (by @ProAvia) We made a little bit change to the original code of the pirep_list.php file to allow the IVAO / VATSIM flight log to be presented when validating PIREP. Therefore, it is important that you back up your file. This file is in the admin/templates folder. We have provided a backup of the original file in the bkp_original_file folder. Quote Link to comment Share on other sites More sharing options...
Dyl1103 Posted November 28, 2021 Report Share Posted November 28, 2021 (edited) This looks like a great module! However, after following the installation instructions, my website was inaccessible (HTTP 500) until I deleted the "SMPirepValidator.php" file from the MODULE folder "SMPirepValidator"... Has anyone else reached out with a similar issue? Thanks! My php version is 7.4, and I'm currently on phpVMS 5.5.2.72 Edited November 28, 2021 by Dyl1103 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted February 9, 2022 Administrators Report Share Posted February 9, 2022 phpVMS 5.5.2.72 isn'tfully compatible with PHP 7.4 - as stated in the readme file. Additionally, if you are using MySQL 5.7.5 or greater or MariaDB 10.2 or greater, some basic phpVMS functions will not work. Quote Link to comment Share on other sites More sharing options...
Dyl1103 Posted February 10, 2022 Report Share Posted February 10, 2022 On 2/8/2022 at 10:55 PM, ProAvia said: phpVMS 5.5.2.72 isn'tfully compatible with PHP 7.4 - as stated in the readme file. Additionally, if you are using MySQL 5.7.5 or greater or MariaDB 10.2 or greater, some basic phpVMS functions will not work. Not sure if you're responding to me or just commenting in general, since the post says: On 10/23/2021 at 11:34 AM, Nascoli said: Tested under PHP 7.4 and phpVMS v5.5.2.72 But either way, I've given up on trying to get this module to work. We've been doing good without it, although it would be fun haha. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted February 11, 2022 Administrators Report Share Posted February 11, 2022 8 hours ago, Dyl1103 said: Not sure if you're responding to me or just commenting in general, since the post says: But either way, I've given up on trying to get this module to work. We've been doing good without it, although it would be fun haha. While it was a general statement, I'm the one who coded phpVMS 5.5.2 to work in php 7.0-7.2 -- hence the version phpVMS 5.5.2.72 5.5.2.72 doesn't fully work/install on php versions above 7.2 There will be errors and incompatibilities. My guess is it was either installed under php 7.2 and then the php version was changed to 7.4 or possibly error reporting is off or not set up to show pertinent errors - or both. 1 Quote Link to comment Share on other sites More sharing options...
Strider Posted February 11, 2022 Report Share Posted February 11, 2022 phpvms 5.5.2.72 is not guaranteed to work under php v7.4. And due to that, the older modules won't always work right, and may cause these kinds of errors, my suggestion is to move the version of php down to V7.0-7.2 and see if it works fine with that, if not then it could be making too many calls out and causing your server to hang. Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted January 9, 2023 Report Share Posted January 9, 2023 (edited) You wouldn’t happen to have a zip file for this would you? The link is dead @Nascoli Edited January 9, 2023 by Atcarrillo Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 9, 2023 Administrators Report Share Posted January 9, 2023 Would be better to ping the OP..... @Nascoli Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted January 9, 2023 Report Share Posted January 9, 2023 @ProAvia thanks, I’m doing this on my ancient work phone and couldn’t figure it out xD 1 Quote Link to comment Share on other sites More sharing options...
Nascoli Posted January 10, 2023 Author Report Share Posted January 10, 2023 15 hours ago, Atcarrillo said: @ProAvia thanks, I’m doing this on my ancient work phone and couldn’t figure it out xD Hi Atcarrillo, Link updated! Enjoy! Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted January 10, 2023 Report Share Posted January 10, 2023 (edited) @Nascoli when I try the link it still says a 404 Edited January 10, 2023 by Atcarrillo Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 10, 2023 Administrators Report Share Posted January 10, 2023 @Nascoli - please repost the link in a new response. Link in original post doesn't work. Also, any further progress on SMRoutes? Thanks! Quote Link to comment Share on other sites More sharing options...
Nascoli Posted January 12, 2023 Author Report Share Posted January 12, 2023 On 1/10/2023 at 12:30 PM, Atcarrillo said: @Nascoli when I try the link it still says a 404 Really? It's ok for me! So, try this link bellow. SMPirepValidator v1.2 1 Quote Link to comment Share on other sites More sharing options...
Nascoli Posted January 12, 2023 Author Report Share Posted January 12, 2023 On 1/10/2023 at 3:24 PM, ProAvia said: @Nascoli - please repost the link in a new response. Link in original post doesn't work. Also, any further progress on SMRoutes? Thanks! Unfortunately, I haven't been able to resume development yet. Maybe I'll do this on my vacation! 🤭 1 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 13, 2023 Administrators Report Share Posted January 13, 2023 Thank you for the file link. I was able to download it. Also, thanks for the status update on SMRoutes. I can appreciate how difficult it is to d3velop freeware around real life schedules and commitments. 1 Quote Link to comment Share on other sites More sharing options...
Atcarrillo Posted January 13, 2023 Report Share Posted January 13, 2023 (edited) @Nascoli So we got that module install, had to fix a few things but I am getting this erro code “PHP Warning: Missing argument 2 for SMPirepValidator::clearField(), called in /core/modules/SMPirepValidator/SMPirepValidator.php on line 61 and defined in /core/modules/SMPirepValidator/SMPirepValidator.php on line 199” this is the code that we have Edited January 13, 2023 by Atcarrillo 1 Quote Link to comment Share on other sites More sharing options...
Nascoli Posted January 14, 2023 Author Report Share Posted January 14, 2023 (edited) On 1/13/2023 at 1:13 PM, Atcarrillo said: @Nascoli So we got that module install, had to fix a few things but I am getting this erro code “PHP Warning: Missing argument 2 for SMPirepValidator::clearField(), called in /core/modules/SMPirepValidator/SMPirepValidator.php on line 61 and defined in /core/modules/SMPirepValidator/SMPirepValidator.php on line 199” this is the code that we have Thanks for your report. I have uploaded a new version which is currently in use and without any errors. This module was tested on PHP 7.4 and phpVMS v5.5.2.72 @ProAvia. Edited January 14, 2023 by Nascoli 1 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 15, 2023 Administrators Report Share Posted January 15, 2023 Thank you @Nascoli for your time to update and make version 1.3 available. The link to Github in the first post will take you to the SMPirepValidator v.1.3 page where the module can be downloaded. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.