Jump to content

CarlosEduardo2409

Members
  • Posts

    224
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by CarlosEduardo2409

  1. You probably forgot to install any modules (Airmail and TouchdownStats). If installed, and correctly: what prefix did you configure when installing phpVMS? Make sure that the prefix of the AirMail tables is set to the prefix that you have configured. If it is the default prefix (phpvms_), you don't need to do anything. If you imported the SQL correctly, and fixed the prefix, you probably forgot to add a code to a file. So for fix this you need to go core/common and open StatsData.class.php After open, you need to paste this code: 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; } HOWEVER, the fact that hosting is free can also be the problem.
  2. https://github.com/Cloudxtreme/phpvms_loa
  3. AIRAC Cycle : 2006 (21/MAY/2020 - 18/JUN/2020) phpvms_navdata.zip
  4. Hi! Sorry for the delay. If you want to change the colors of buttons, cards, among others, it really is to be in the skin's style.css file, which is located in lib/skins/StislaSkin/assets/style.css, for example: located at line 79 - This will change the color of that "card": https://prnt.sc/sl0mau .bg-primary { background-color: #23ad96 !important; } The same thing for buttons, for example (located at line 1305): .btn-primary, .btn-primary.disabled { box-shadow: 0 2px 6px #acb5f6; /* And to be more beautiful, but with a different color from the background-color, and without being too different */ background-color: #23ad96; /* This is the mainly */ border-color: #6777ef; /* And to be more beautiful, but with a different color from the background-color, and without being too different */ } You can also change the button itself (or div tag, span tag, anything else...), but it will only change that button, for example: <button class="btn btn-primary btn-round" style="background-color: #000 !important;">Some button</button>
  5. I really wanted to help you, but due to the fact that it is no longer related to the skin, I recommend opening a new topic, with that, the community will try to help you and the topic will be there for future similar doubts that other users have. I am almost sure that the step mentioned in the documentation is missing, which is configuring the app.config.php and local.config.php file for the correct conversion of the Leaflet: Search in local.config.php and app.config.php file for these codes: Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP'); Config::Set('MAP_ZOOM_LEVEL', 12); And change to: Config::Set('MAP_TYPE', 'OpenStreetMap.Mapnik'); Config::Set('MAP_ZOOM_LEVEL', 5);
  6. I, unfortunately, do not have any chat system, but CrazyCreatives has one, obviously it's payware, but he looks incredible, if you want to see: https://www.crazycreatives.com/downloads/va-chat/
  7. Do not install AirMail 3 default, install what is with my skin, as some files have been customized to work on ElaSkin. However, to fix this error is simple: You need to have the time_ago() function in the MailData.class.php file, which is located at core/common/MailData.class.php (open this file) and in the link below, copy the lines that are in yellow and put it in your MailData.class.php file, but be aware of where you will put it!! You must place, at least below this line: class MailData extends CodonData { https://github.com/carlosmfreitas2409/ElaSkin-2.0/blob/master/Modules (REQUIRED)/Airmail 3/core/common/MailData.class.php#L313-L347
  8. Sorry, I didn't understand the question very well, I will kick it: If you want to upload a file, you can just transfer it to your FTP and use the link to it, for example: Let's assume that the image you are going to transfer is called: favicon.png You can transfer an image at lib/skins/ela/images, then, complete would be like this: lib/skins/ela/images/favicon.png To call, you can use the link and get to the image directory, however phpVMS offers the <?php echo SITE_URL; ?> So, an example to call it a favicon: <link rel="shortcut icon" type="image/png" href="<?php echo SITE_URL; ?>/lib/skins/ela/images/favicon.png"/> Or some image: <img src="<?php echo SITE_URL; ?>/lib/skins/ela/images/favicon.png" alt="some image" />
  9. Yeah, you can add your own logo and change the favicon. Favicon (in lib/skins/ElaSkin/layout.php): <link rel="shortcut icon" type="image/png" href="http://linktoaimage.com/favicon.png"/> Live Map (in lib/skins/ElaSkin/profile_main.php😞 Open this github link, you will see some lines in yellow, in your FTP file, look for the same lines and remove those lines. You can make any changes, but you MUST keep all the credits that are in the footer! I thank you for the use and care! It's the best reward I can earn. Sorry for the delay, I ended up sleeping on the chair hahaha.
  10. Hello! I'm glad you're enjoying the skin, let's try to solve your mistake! For the icons: this is usually a problem with SSL, but due to the fact that the files are on the FTP itself, I believe it is not the problem. What hosting are you using? If it's a free hosting, this is probably the problem, if not, I recommend opening a chat with your hosting. For the top navbar: In the skin image, you can see that there are two dashboard options, so you can choose one of them, to change the option read the documentation located with the skin package, category "Config File", everything is explained very well there. The skin was made for phpVMS 5.5.2.72 and has not been tested on phpVMS 5.5x, there will probably be some errors, so I highly recommend using phpVMS 5.5.2.72 from ProAvia. Leave comments here only for reviews, updates and recommendations. For help on the skin, errors, among others with skin related, send a message on the topic of the skin:
  11. Yes, you have to transfer all files from the skin to phpVMS, even if it asks to replace, if ask to replace, replace it. Or several files will give error, like the map, common files, among others. It would be great! Incredible indeed! However I think I will try to buy, I'm just gathering a little more money and wondering if I really buy. So, I'm really, really, really grateful for the opportunity, but you don't have to, you can rest assured, really, thank you SO MUCH for the opportunity. I hope you like the skin, as well as your pilots.
  12. Woww, Is this serious?? I am very very very happy for that, it is one of the best rewards: knowing that you are enjoying it! Muito obrigado mesmo, fico realmente muito feliz! Thank you very much, I'm really happy! (Message above translated)
  13. Hello, I'm glad you're enjoying it!! I have some surprises in progress. Do you say change which background? Which background color? Usually people asked me how to put a background image on the login page, which I don't know is your case, but if it is: The normal thing is for you to put the 'background-image' on the body tag, which you can find in the skin's layout.php. However, if you put it on the body that is already there, it will be kind of bad, as it will change on the dashboard too, so we can put an 'if' to check if you are logged in or not, so it will only work at login: <?php if(Auth::LoggedIn()) { <body> } else { <body style="background-image: url('link to image') no-repeat center center fixed; background-size: cover;"> } ?> If you want to change the colors of buttons, cards, among others, it really is to be in the skin's style.css file, which is located in lib/skins/StislaSkin/assets/style.css, for example (located at line 79 - This will change the color of that "card": https://prnt.sc/sl0mau😞 .bg-primary { background-color: #23ad96 !important; } The same thing for buttons, for example (located at line 1305): .btn-primary, .btn-primary.disabled { box-shadow: 0 2px 6px #acb5f6; /* And to be more beautiful, but with a different color from the background-color, and without being too different */ background-color: #23ad96; /* This is the mainly */ border-color: #6777ef; /* And to be more beautiful, but with a different color from the background-color, and without being too different */ } You can also change the button itself (or div tag, span tag, anything else...), but it will only change that button, for example: <button class="btn btn-primary btn-round" style="background-color: #000 !important;">Some button</button> I said several things because I did not understand very well what you want to change, so I gave an example of the most common ones to change, if it’s something else, let me know...
  14. Yeah, see what ProAvia said, it’s totally correct! phpVMS, just like anything else in the world, is not easy at the moment, you will get the practice over time... My skin is really VERY complicated for those starting with phpVMS because it has several modules, some settings, an intense installation, among others. Like everyone else, we started very very very simple, from the beginning and we got deeper and deeper. If you look at my profile, I have several topics with several questions that now, for me, when I see them I say "How??? How did I not know that???", but it's normal in the beginning!! If you look at ProAvia's profile, or anyone else's, you will also see normal questions to ask in the beginning, but as I said, we were in the beginning, and over time we get to practice and become even better. That's why we don't start with the most difficult, but with the most practical. However, when you have a question, just create a topic, that everyone in the community who can help you will try to help you, especially the staff team, like ProAvia. However, it is not easy to explain a complicated thing to someone who is in the beginning, so it is good to start with the simple. I always wanted to make a flight booking map equal to vAMSYS, but in the beginning, I had no IDEA how to do it, I didn't know where to start, but I practiced, I took several questions on the forum, and I arrived as I am today, I made the map system and fulfilled a wish that I had. I started with the famous swan58 skin (github), the best skin for those who want to start! Simple to install and perfect for understanding the phpVMS. I started with it, I started to understand the system, I started installing modules, modifying the skin, I started making my own skins, my own innovations, and today I'm here! Obviously I still have a lot of doubts, everyone does, one of mine is that I still don't know how to make a Altitude/Ground Speed graph. I promise you, if you start with this skin, understand the system (but you have to work hard), you will be able to do many things! And when you think you can do it, feel free to download StislaSkin. If you have any questions, create a post here on the forum, you can be sure that the community will try to help you, I promise this. After reading this post, don't say that we treat you badly or that the community is bad. We are not trying to offend you, God forbid to think about it. We are actually trying to help you, because starting with the difficult is not right. An example is the school: you cannot be in a 16-year-old classroom, since you are 9 years old, you will not be able to do this, you must first complete all the steps to reach the 16-year-old classroom (I don't know the class system of the place where you live, so I used age as an example). We don't want you to get the impression that the phpVMS community is bad with people, on the contrary! The community is very very very awesome! I believe it is one of the best communities that I have ever participated in. Obviously some people have no respect, but when that happens, the staff takes action, the staff will not let anyone hurt someone else's feelings. So, a skin that I really recommend:
  15. It was supposed to be showing up. Did you upload the acarsmap.js file correctly? As it is necessary to replace, it is normal to put it to transfer and end up rejecting the warning that appears to replace. What you must do is create a fake aircraft. I will do an example with the B738 and a airline with CDV ICAO. Let's first make it clear that this will be the registration structure of your fake aircraft: AIRCRAFTICAOAIRLINE. Example: So let's assume that this is the structure of your main aircraft: B738 (ICAO) | B737-800 (Name) | Boeing 737-800 (Full Name) | PT-GMR (Registration) | CDV (Airline) Therefore, you will need to create a fake aircraft for the above aircraft: B738 (ICAO) | B737-800 (Name) | Boeing 737-800 (Full Name) | B738CDV (Registration) | CDV (Airline) As you noticed above, we created an aircraft with all the same data, but we changed the registratio, like to the structure mentioned above (AIRCRAFTICAOAIRLINE). Finally, on the desired route, you must select the fake aircraft you want, example: B738CDV. Therefore: you must create a fake aircraft for all aircraft you have and don't forget to add the fake aircraft in to the route (schedules). The aircraft must have already appeared in the modal. Yes, there is one way, two ways actually, manually or through ACARS. To do it manually, you will have to fill out a form, on a page that is located with the domain of (index.php/pireps/news - EXAMPLE: https://yourlink.com/index.php/pireps/new) The other way is for you to finish a flight and send it via ACARS. Is the reservation really made? After making the reservation, check your admin panel if the reservation is actually made. Also, make sure you have transferred all files correctly, and not forgetting the database (.sql file) (Before booking: https://prnt.sc/skptkm) (After booking: https://prnt.sc/skptdg) As ProAvia already said, be patient, I couldn't answer at that time, but know that when I can, I will answer and try to help. Also, for the forum not to get polluted, if I'm not replying, and you want to send another message, you don't need to post a message after the other, just edit the last message, I'll see. I'm not fighting or anything, also I don't have the right to fight with anyone, for any reason, or even if I have a reason. It's just a warning.
  16. Hello Nicholas! So, in this skin we have only 2 modules: AirMail 3 & TouchdownStats. The installation is very simple, in both modules there is a folder called "core", and inside "core" folder we have more folders, which are usually the "modules", "templates" and "common" folder. If you see the directory where your phpVMS is installed, we have this same "core" folder, and inside the same "modules", "templates" and "common" folder. Basically, what you have to do is transfer the files from each folder to their respective location. (EXAMPLE) So it would be like this: You transfer the files that are in the "core/common" folder of the TouchdownStats module to the "core/common" folder of the directory where your phpVMS is installed. The same for the other files (core/modules in your core/modules phpVMS installation, The same for the other files)... Some modules come with a .sql file, which creates some tables in your database, AirMail 3 is an example. If you look at the AirMail 3 module, we have this "airmail.sql" file. To upload it, it's also very simple, you need to go to your database (phpMyAdmin), enter your phpVMS database and click on the "Import" button located on the top menu, it will open another page that it will be there where you should import this file, click on the "execute" button and if everything appears green, success!
  17. When you make a reservation, the "Schedule Search" menu disappears and the "My Reservations" menu appears in place, you can also remove it at app_top.php, but I do not recommend it because it removes a little bit of reality.
  18. Perfect! Manual PIREP: https://yourlink.com/index.php/pireps/new However it is not in the menu for the reason that several VAs do not usually accept manual PIREP, but in case you want to add in the menu, you can find the menu code in lib/skins/StislaSkin/app_top.php
  19. Can you send a link to your website and a demo user? Can be in PM (or DM, I don't know what the abbreviation is in English, I believe that the two)
  20. Hello! Did you follow all the steps in the documentation? The map step is "Step Two (Leaflet Conversion)", located in the "Installation" category. There it explains everything you should do, this includes converting the map, which in short is transferring the "js" files and changing the MAP_TYPE & MAP_ZOOM_LEVEL in local and app config in core folder. If you have, is there an error on your console and in the phpVMS log (core/logs/errors.txt and log.txt - Logging option must be active in app.config.php)?
  21. God! You are the man! One more time, thank you so much!!
×
×
  • Create New...