Jump to content


  • Posts

  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

946 profile views

Nascoli's Achievements


Rookie (2/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges



  1. It's really a shame what's happening with CrazyCreatives. By the way, now I can't even access my login area and I can't even reset my password. I started to develop modules for the community based on my needs. These modules modules are being tested in phpvms and PHP 7.4 versions. Unfortunately, due to my available time, I can't produce faster.
  2. Nascoli


    Hi Folks, So, I scanned the PHP code and got the result. Let´s go! You can do a quick test using Postman. If you don't have it yet, download it here: https://www.postman.com/downloads/ You need to create an account and password to use it, it's free! See the attached print of my postman that will guide the explanation. Define the method, in this case GET, as I want to bring the list of pilots. Enter your URL remembering to put the folder where your phpVMS is installed. Click Authorization tab Choose the type of authorization, in this case Basic Auth Enter your username. This is where I was wrong and it's not clear from the API documentation. Your username is your ID and not your callsign used when you log into phpVMS. So, ID is the number (unless zeros) that after airline code. Example: My login callsign is XYZ0001, so my username is 1. Type your password Finally, I got a positive response! Here's an example of the PHP code you can make inside your phpVMS using cURL <?php ob_start(); $user = 'type your User ID number'; $pass = 'type your password'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://{your website}/{phpvms folder}/index.php/api/pilots'); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Basic '.base64_encode($user.':'.$pass))); curl_exec($ch); $result = ob_get_contents(); ob_end_clean(); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); header("Content-Type: text/html; charset=utf8"); echo "$httpCode<br>$result"; I hope I've helped!👍
  3. Nascoli


    Tom is there? This definitely doesn't work for me. Unless I delete line 81 as presented above by #JefferssonSantos, even using Authorization Basic
  4. 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.0 for phpVMS (tested under PHP 7.4 and phpVMS v5.5.2.72) * @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 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 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 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.
  5. Hi Guys, Does anyone know if Crazycreatives is active? I have not received support! 🤔 I have already sent several emails, but I have had no awswer.
  6. Great! It´s does work now! Easy! Tks a Lot!
  7. OK thanks! I will try Laragon. I tried Laradoc, but I had the same problem!
  8. Hi guys, I have a problem installing. After following all the steps in the DOC, I installed phphVMS7 on my own machine (localhost). After installation, I typed https: // localhost / phpvms / public / and a screen with the <Head on to the installer> button appears. However, when I click on this button, instead of going to the installation screen, the system redirects me to PhpMyAdmin. Would anyone know what the problem is? I am using XAMPP with PHP v7.4.18
  9. Tks All! I will try to do what you have suggested. Then I will report here if it worked.
  10. Hi Vielma16! As Strider said, I must release a free version and a paid version! I am still evaluating this. The module is already ready and being tested on 3 virtual airlines.
  11. I am using CrazySkin01_Jetset. It is a CC module for customizing PHPVMS Skin.
  12. Hi ProAvia, On line 113 it tries to load the XML file: <?php $xml2=simplexml_load_file(SITE_URL."/lib/skins/crazyskin01/css/navigationstyles.xml");
  13. Hi Guys, Does anyone know what goes on with CrazyCreatives? I have not been able to get answers about support. So, did anyone have any problems like image bellow? I´m running under locahost, phpVMS Version simpilot/php7.2.
  • Create New...