-
Posts
224 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by CarlosEduardo2409
-
-
On 6/12/2018 at 2:17 PM, stifler13371 said:
just a question, is it only me or is the /profile/view not working or is it under development?
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
-
6 minutes ago, LeonardIGO4036 said:
Okay, now i understood. You just need to amend this code with an extra conditional statement.
<?php
$allusers = StatsData::UsersOnline();$pilotid = (assign it here);
foreach ( $allusers as $user) {if($user->pilotid == $pilotid) {
echo 'Online';
} else {
echo 'Offline';
}
}
?>
That should be it!Amazing! Thank you so much!!
-
31 minutes ago, LeonardIGO4036 said:
<?php
$allusers = StatsData::UsersOnline();
foreach ( $allusers as $user) {echo $user->firstname.'<br>;
}
?>
This is just a simple code, I guess this should help.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.
-
1 minute ago, stifler13371 said:
There we go! thanks man! Love the template!
Thank you so much!! It's very good to know that.
-
24 minutes ago, LeonardIGO4036 said:
Such an amazing piece of work. Thank you for keeping it free
Thank you very much @LeonardIGO4036, I appreciate your work too.
- 1
-
3 hours ago, stifler13371 said:
When i install it and then choose it in general settings i get this https://gyazo.com/23d094c75141378c287e1aa410cafd4c
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.
-
1 minute ago, MrDonutButter said:
+rep
love it.
Thank you so much.
- 1
-
Haha no problem
-
54 minutes ago, shakamonkey88 said:
But this not in the skin. The mail module is Airmail 3 (simpilot) but customized with the skin.
-
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.
-
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.
- 1
-
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.
-
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.
- 1
-
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.
- 1
-
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?
-
@PaintSplasher Oh bro! Thank you very much, thank you very much! That worked! I do not believe that was the mistake.
- 1
-
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.
-
Hello @Yessin,
Try this code:
<body class="hold-transition login-page" style="background: url("background.jpg") no-repeat center center fixed;">
-
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,
-
@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]
-
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.
-
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.
-
@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...
-
It happened only in this new skin, but anyway, it was working on that skin before. PM
[Free] ElaSkin 2018 - Designed for phpVMS
in Skinning
Posted
Can you pass me your entire code from StatsData.class.php?