This module aims to validate if the pilot made his flights online on the IVAO and VATSIM networks

Overview

SMPirepValidator

This module aims to validate if the pilot made his flights online on the IVAO and VATSIM networks

SMPirepValidator v.1.0 for phpVMS (tested under PHP 7.4 and phpVMS v5.5.2.72 by ProAvia https://github.com/ProAviaAZ/phpvms_5.5.2.72)

SmartModules addon module for phpVMS virtual airline system https://smartmodules.com.br

SmartModules addon modules are licenced 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 (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

Create Custom Fields

For SMPirepValidator to work correctly, you´ll have to create custom fields to receive the VID and CID. These fields are not available by default in phpVMS. After creating them, your pilots will be able to access them in their profile.

  1. Access the phpVMS administrative panel

  2. On the side menu, click on Site & Settings

  3. Click on Profile Fields

  4. At the top of the side menu, click Add a Custom Field

  5. In pop-up window, enter the following values:

    Title: Ivao ID

    Field Type: Text

    Default value: leave blank

    Show in User Profile: YES

    Show During Registration: YES

    Required: {if you answer YES, it will be a required field when pilot registering}

Repeat the procedure in item 5 to include the field that will receive the CID. Just enter in the Title field: Vatsim ID.

Important: Inform Title exactly as described, considering the uppercases and spaces.

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

  1. Tested under PHP 7.4 and phpVMS v5.5.2.72

  2. We made a litle 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.

  3. This module is designed to take IVAO and VATSIM logs every 15 minutes and add them to the sm_onlinelog table.

You might also like...
Opis Closure - a library that aims to overcome PHP's limitations regarding closure serialization

Opis Closure is a library that aims to overcome PHP's limitations regarding closure serialization by providing a wrapper that will make all closures serializable.

JSON schema models and generated code to validate and handle various data in PocketMine-MP

DataModels JSON schema models and generated code to validate and handle various data in PocketMine-MP This library uses php-json-schema-model-generato

Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table

Magento 2 Module Experius Page Not Found 404 This module saves all 404 urls to a database table. Adds an admin grid with 404s It includes a count so y

PHP library to create and validate html forms

FormManager Note: this is the documentation of FormManager 6.x For v5.x version Click here Installation: This package requires PHP=7.1 and is availab

A PHP library to read and validate EU Digital COVID Certificates

CovPassCheck PHP A PHP library to read and validate EU Digital COVID Certificates. Install composer require stwon/covpasscheck-php Usage Currently, th

This package is used to validate the telephone numbers of the countries taken into account. It also makes it possible to verify that a number is indeed a number of an operator X

phone-number-checker This package is used to validate the telephone numbers of the countries taken into account. It also makes it possible to verify t

CC [CREDIT CARD] GENERATE & VALIDATE TOOL !
CC [CREDIT CARD] GENERATE & VALIDATE TOOL !

⚡ CCE THIS TOOL PERMIT YOU TO GENERATE CREDIT CARD & VALIDATE

PHP functions that help you validate structure of complex nested PHP arrays.

PHP functions that help you validate structure of complex nested PHP arrays.

This Validate Class is for those who are looking for a validator that returns a code for every each error (Laravel/Api)
This Validate Class is for those who are looking for a validator that returns a code for every each error (Laravel/Api)

Validator-Class This Validate Class is for those who are looking for a validator that returns a code for every each error (Laravel/Api) Requirements A

Owner
SmartModules for phpVMS
A phpVMS Module Factory
SmartModules for phpVMS
An open-source Laravel 8 online store, client area, and billing software specially made for Pterodactyl panel

PteroBilling An open-source Laravel 8 online store, client area, and billing software specially made for Pterodactyl panel           Announcement: An

PteroBilling 18 Nov 12, 2022
actionMaster is a new faction plugin that aims at flexibility and customization of the plugin by the user and the developers.

FactionMaster is a new faction plugin that aims at flexibility and customization of the plugin by the user and the developers. It includes all the basic functionality of a faction plugin and data storage in MySQL or SQLITE. This is done by adding an extension system and a translation system. FactionMaster has a will of accessibility to the players and especially not to have to remember a lot of commands to play, all is done via interface.

FactionMaster 21 Dec 26, 2022
Project that aims to create a website for a gym, where the clients and employees can access their data, buy in the gym store and check the gym activities.

Gym_Management_Project Project that aims to create a website for a gym, where the clients and employees can access their data, buy in the gym store an

null 1 Jan 12, 2022
The Laravel eCommerce ABA Payment Gateway module allows the admin to integrate the ABA payment gateway to the online store.

Introduction Bagisto ABA Payment Gateway. Requirements: Bagisto: v1.3.2. Installation with composer: Run the following command composer require bagist

Bagisto 3 May 31, 2022
A XOOPS module for handling events, including online registrations.

wgEvents A XOOPS module for handling events, including online registrations. Support If you like the wgEvents module and thanks to the long process fo

XOOPS 2.5.x Modules 6 Dec 15, 2022
This repository aims to build a fairly complete CI/CD example using GitHub workflows and actions.

CI/CD example This repository aims to build a fairly complete CI/CD example using GitHub workflows and actions. Keep in mind that the toolset used in

Robin Ingelbrecht 4 Nov 1, 2022
Sslurp is a simple library which aims to make properly dealing with SSL in PHP suck less.

Sslurp v1.0 by Evan Coury Introduction Dealing with SSL properly in PHP is a pain in the ass and completely insecure by default. Sslurp aims to make i

Evan Coury 65 Oct 14, 2022
AnsibleBoy aims to use the Asnible `facts` as data, which can then be visualized in a table format

AnsibleBoy - Ansible Frontend Hub About AnsibleBoy aims to use the Ansible facts as data, which can then be visualized as a table ToDo (note that this

Ron 23 Jul 14, 2022
This project aims to facilitate the management of websites monitored by the blackbox exporter, via a web UI.

This project aims to facilitate the management of websites monitored by the blackbox exporter, via a web UI. The UI would allow to add/remove sites, groups, and even add different fields in the prometheus database.

null 2 Nov 6, 2021
🐋 This project aims to broaden knowledge of system administration by using Docker: virtualizing several Docker images, creating them in a new personal virtual machine.

?? This project aims to broaden knowledge of system administration by using Docker: virtualizing several Docker images, creating them in a new personal virtual machine.

Anton Kliek 1 Jan 26, 2022