Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Nascoli

  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.
  14. SMRoutes - phpVMS Module by SmartModules Hi guys, I would like to announce that soon (July, 30th) I will be launching SMRoutes, the first SmartModules module for phpVMS. SmartModules launches its first module for the Virtual Airlines community. Who has never had trouble creating routes? SMRoutes is easy, friendly and automates routes creation and no interfering with your phpVMS. It is worth checking. The full module will be paid for, but there will be a free version for download with less functionality. Watch the video! 😉 Video: https://youtu.be/K9bCeF8qnOM Website: https://smartmodules.com.br
  15. Hi, not yet! would be using Template::Show() inside if the iFrame?
  16. Hi guys! I would like to know how you guys use ACARSMAP outside of PHPVMS. Follow link with my codes: https://nascoli.com.br/files/files.zip
  17. Great! Thank you for sending me! I'll take a look at your code and post it here if I can solve it. Question: What is the name of the file you changed? Is this PIREP_NEW.PHP?
  18. Hi, I'm so sorry. I forgot to explain how I did it. In fact, the text is now inside the CONTAINER, but I did it by changing the LAYOUT.PHP file as shown below. However, I can't even change the layout or color of the text or anything like that. /* Auth::$userinfo has the information about the user currently logged in We will use this next line - this gets their full pilot id, formatted properly */ Template::Show('core_navigation.php');?> <div class="content-wrapper"> <?php echo $page_content;?> </div>
  19. Hi ProAvia! Thanks for your answer! So, I did what you suggested but it didn't work. I have no idea what is going on. I think my PHPVMS is not executing the changes made to the core_message.php file. Nothing I do changed the view!🙁 Regarding your question, I am customizing the AdminLTE 3.0 bootstrap template. You can download it from the link below. https://adminlte.io/themes/dev/AdminLTE/index.html
  20. Hi Everyone! "Houston, I´ve a problem" 😁 Hello everyone! I have been working on customizing my SKIN using AdminLTE. I have a problem, because I could not change the position that the messages appear. See image! I've tried to change the template files: core_message, core_error and core-success, but, nothing happens. Can someone help me?
  21. Hi Jam, Did you solve the problem? I have the same problem. Best regards!
  22. Hi folks, Can I to migrate PHPVMS 2 to 5.x? How I do that? Thank you!
  • Create New...