Jump to content

CarlosEduardo2409

Members
  • Posts

    224
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by CarlosEduardo2409

  1. Can you pass me your entire code from StatsData.class.php?
  2. Version 2.0.0

    3301 downloads

    Hello everyone, I'm happy to announce my new free skin for phpVMS. A skin made in ElixarCode. DEMO: Demo not working, because I don't have a host. Sorry guys, I don't have money now. I'll try to fix. IMPORANT: This skin was made for phpVMS 5.5x. Installation: Download the ElaSkin-2.0 file and the StatsData.class.php file; Place the file "StatsData.class.php" installed in your common folder, located in core/common (this file will add a method that counts the pilot's total miles, without it the skin gives an error); Now let's move on to the installed "ElaSkin-2.0" file. First open the folder "Modules (Required)", there you will find the two modules (AirMail and TouchdownStats), inside of them there is the file "readme.txt" telling all the details about the author and how to install, follow the steps; Now go back to the main directory of the file "ElaSkin-2.0", where you would find the folder "Skin Folder (Put in lib-skins)", inside it will have the folder "ela", put this folder in lib/skins on your FTP (NOTE: THE PASTE MUST BE CALLED "ela"). All files should already be where they should be, now let's go to your phpVMS administrator panel, where you should go to "General Settings" tab and in "Current Skin" select "ela" in the dropdown. The skin should already be updated, go back to your dashboard and enjoy! This skin is designed using the Bootstrap framework, meaning it is fully responsive and works well on all sized devices, including desktops, tablets and phones. ElaSkin is not a complete website skin, it is only a pilot center application, designed to be installed into a phpVMS installation. Please note that this skin is still being developed, and I hope to update it and add new features over time. You should be able to just overwrite the existing files to update it. It may also have bugs and issues. If you find, feel free to post an issue report here. If you have any feature, plugin skiing or custom VA branding requests, feel free to post a reply below.
  3. The profile/view was added in the latest version along with Airmail 3, you can see a preview here. Login Details for preview: User: ELC0003 PW: Demo123
  4. Thank you very much @LeonardIGO4036, but I would like to know one specific pilot. So, I'm customizing Airmail for ElaSkin, and it will tell me if the user of the message is online. So from what I'm thinking I would have to get the ID of this pilot and continue, but I have no idea how.
  5. Thank you very much @LeonardIGO4036, I appreciate your work too.
  6. Hi @stifler13371, So for fix this you need to go core/common and open StatsData.class.php After open, you need to paste this code: <?php public static function TotalPilotMiles($pilotid) { $key = 'total_miles'; $key .= '_'.$pilotid; $total = CodonCache::read($key); if($total === false) { $total = 0; $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1"; $results = DB::get_results($sql); if($results) { foreach($results as $result) { $total += $result->distance; } } CodonCache::write($key, $total, '15minute'); } return $total; } Sorry for not coding, nothing I'm finding the function.
  7. But this not in the skin. The mail module is Airmail 3 (simpilot) but customized with the skin.
  8. Hi @shakamonkey88, Is there anything on the skin that belongs to him? Because I did not put anything on, even because I never bought anything from him. LICENSE - I'll fix when I get home.
  9. UPDATE Airmail 3 + Pilot Public Profile + Admin Notification was added to ElaSkin. To download, go back to the top topic and download it through github. Do you have any idea for a new module for a future version? Let me know... Thanks.
  10. Hello everyone, I would like to know how to check if a specific user is online. Example: Check if user ID "ELC0003" is online. Thanks.
  11. Hello everyone, I'm happy to announce my new free skin for phpVMS. A skin made in ElixarCode. DOWNLOAD & HOW TO INSTALLATION: DEMO: Demo not working, because I don't have a host. Sorry guys, I don't have money now. I'll try to fix. IMPORANT: This skin was made for phpVMS 5.5.2 This skin is designed using the Bootstrap framework, meaning it is fully responsive and works well on all sized devices, including desktops, tablets and phones. ElaSkin is not a complete website skin, it is only a pilot center application, designed to be installed into a phpVMS installation. If you have any feature, plugin skiing or custom VA branding requests, feel free to post a reply below. Enjoy! Screenshots: Dashboard page Flight Report Page Downloads page AirMail I was inspired by the crewcenter of @swan58 & iCrew Lite of @LeonardIGO4036 EDIT: I just forgot to give credit to the creators of the used modules, sorry: AirMail 3.0 & Touchdown Stats by @simpilot EDIT 2020: I am aware that the credits on the footer are wrong, I will be fixing it. If you already have the skin, please change the footer in "app_bottom.php" to the following: © 2020 All rights reserved. Template designed by Colorlib CrewCenter by Carlos Eduardo | Powered by phpVMS This skin was made using the ElaAdmin Template by Colorlib, due credits must be used on the footer.
  12. Hello everyone! I'm Carlos Eduardo, DEV of FSvas. For those who do not know, FSvas is an airline company. In it we have vPrime, vEnergy and soon will be released the American Airways. But I'm not here to talk about it. I am here to talk about the new project that FSvas is announcing today, on this Thursday. This project is ElixarCode. ElixarCode is a project consisting of sales of skins and modules for phpVMS, UI Designer, Web Designer and more! We're just starting out with a developer, me. Jobs for developers are open to everyone. ElixarCode has tried to accept all developers who send an application (This application can be found here: CLICK HERE). Accepted developers received a message in the email with all the information. Some information for developers: Developers can do whatever they want. If he wants to make a skin for phpVMS he is free to do it at any time. Developer will decide if your project will be free or paid. If developer made a project and chose to leave it paid, most of this money will be to developer, a small part of the money will go to ElixarCode to keep the site up, etc. All developers will gain recognition on our site. All the projects he does will be named after him on the project. Our first release will be a skin for phpVMS, which was made by me. I will be putting a topic with all the information (TOPIC LINK: CLICK HERE). So that's it, I'll be some links: ElixarCode: https://elc.fsvas.co.uk/ FSvas: https://fsvas.co.uk/ ElixarCode Instagram: COMING FSvas Instagram: http://instagram.com/fs_vas/ And if you want to be one of our developers, access this link that will have some more information: http://elc.fsvas.co.uk/get-started/ Thank you for your attention. Regards, Carlos Eduardo, DEV of FSvas & ElixarCode.
  13. Two questions: Are you using any module to book the flight? Ex: Fltbook. Or are you using phpVMS default? I see that in your code does not have the <form>, in your code have?
  14. @PaintSplasher Oh bro! Thank you very much, thank you very much! That worked! I do not believe that was the mistake.
  15. Hi Guys, This time, I have a new error. Look image: https://prnt.sc/j1dppl I do not know why this is happening. As you can see, when I enter the site the site gets all messed up, without css, with nothing. From what I saw is because of the scripts, this is saying that they are not safe, I do not know why, because I believe they are safe. The site looks all cute just if I click the blue "Done" button. Thanks. Regards, Carlos.
  16. Hello @Yessin, Try this code: <body class="hold-transition login-page" style="background: url("background.jpg") no-repeat center center fixed;">
  17. Hello everyone, I wanted to make sure that when a pilot completes a flight a notification would complete, just like vAMSYS (https://prnt.sc/iwbu8j). But I have no idea how to do this. Does anyone have any ideas? Thanks. Regards, Carlos,
  18. @web541 But another question from my first question: I have a trains module, and he also counts how many pilots he has outstanding. And his code for counting is this: <?php FlightAcademyData::GetTrainingRequests() ?> Then you put him on the count. But I also need him to stay with the counts of the outstanding pilots and the pending pireps. But if I put it still gets that '1' error. [SOLVED]
  19. I think it's working now, thanks again, web. And in the part of smartCARS it is better leave like this anyway. Thanks again web.
  20. Hello guys, now I have doubts. 1. The first is more or less an error and a doubt. I made a count to count how many registered pilots and pending pireps have, the two are on the same count, it works fine, but an example: If I have a pending pilot and I accept this pilot, the count does not reset, she It's 1. I do not know if it's because I have two count, I just do not know. This is the code I am using: <?php echo count(//code for count pireps\\ . //code for count pilots pending\\); ?> 2. I wanted to make a graph to tell the altitude and ground speed that the pilot was in his PIREP, I saw in some topics that he had but did not have the complete answer. The only thing I know is that the rawdata column needs to be populated, but I do not know if SmartCARS fills in, because it's not here. Thanks. Regards, Carlos.
  21. @Omerr01 I found out that crezycreatives has a module for this, this is the link: Click here. But you need to pay, I want to do the same thing, but I did not want to pay just to have it, I also wanted to find out if someone else knew...
×
×
  • Create New...