Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
Random Cargo Generator
by Guest- 1 follower
- 6 replies
- 2.3k views
Hello guys, I am trying to make a random cargo generator for each specific aircraft to show in schedule briefing, here's what I'm trying to do: <php $ MD11 = rand (50000, 77110); $ 727 = rand (10000, 23000); $ 757 = rand (25000, 47600); if ($ schedule-> aircraft = 'MD-11F') { echo "cargo on board". $ MD11; } elseif ($ schedule-> aircraft = 'B727-200F') { echo "cargo on board". $ 727; } elseif ($ schedule-> aircraft = 'B757-200F') { echo "cargo on board". $ 757; } ?> but it's happening the following error: syntax error, unexpected T_LNUMBER…
-
- 3 replies
- 1.8k views
I'm just wondering if it is possible to have a bid award that uses random start times? It would be helpful for charter flights!
Last reply by freshJet, -
- 5 replies
- 1.4k views
@web541 I recently downloaded RandomFlights from your github which was updated for phpvms 5.5.x. I've tried using this but every time I search for something, regardless of the selections entered, it returns No Routes Found! Any ideas on why it's doing this? Thanks in advance for a response. -Zac
Last reply by zacmia, -
Rank
by atlanticva- 2 replies
- 1.3k views
Hello, I was wondering if their was a way to manual assigned ranks? The reason why I asked, because I wanted to have Pilot and Staff Ranks. The admin would be able to manual assign a staff a certain rank? Thanks
Last reply by atlanticva, -
Hi guys all good? The system of rank, when I set up so that I can change it manually, it keeps automatically changing with the hours of pilots? or I have to manually switch pilot when it's time to be promoted? Thank you for listening! The system is great!
Last reply by Jeff, -
What code or variable do i use to make to make it show the pilot rank image on each pilot line information bar thing below the acars map where it show name of pilot distance and all i want to show also the pilot rank is is possible ?
Last reply by warpennys, -
- 5 replies
- 2.7k views
I have a little problem in my VA. I searched in the forum but i not found this case. In Aerolineas Argentinas virtual, pilots ascend for two conditions. Hours and a examination. A pilot only can take the examination for the next rank if he has the required hours. But, if the pilot fails the examination, he remains in the range that has now. In the pilot profile says "You have X hours left until your promotion to next rank" X is a number and next rank is one of the ranks on my VA This is a code on core/templates/profile_main.tpl <p>You have <?php echo ($nextrank->minhours - $pilot_hours)?> hours left until your promotion to <?php echo $nextrank-&g…
Last reply by imnemina, -
i need help. In my ranks page (the module i downloaded from here which has rank + award page) i want to insert the aircraft types allowed as well. How can i do that/ the current code of the module is <h3>Pilot Ranks</h3> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Rank Title</th> <th>Minimum Hours</th> <th>Rank Image</th> </tr> </thead> <tbody> <?php foreach($ranks as $rank) { ?> <tr id="row<?php echo $rank->rankid;?>"> <td align="center"><?php echo $rank->rank; ?></td> <td align="center"><?php echo $rank->m…
Last reply by STARs, -
- 1 reply
- 1.2k views
What do i need to change to have the rank image showing? <td style="border-bottom:1px solid #eee; border-top:1px solid #eee;"><b>Your Rank</b></td> <td style="border-bottom:1px solid #eee; border-top:1px solid #eee"><?php echo $userinfo->rank;?></td>
Last reply by servetas, -
- 5 replies
- 2.4k views
Anyone have any idea how to put the the rank image on the signature i looked through the Docs and couldn't find nothing Kind Regards, Allan
Last reply by cgentil, -
- 2 replies
- 1.3k views
Dont want to be a pain, but is there a way to add the rank image to the signature?? Kind Regards Allan
Last reply by Allan, -
Rank images and situation
by Guest- 1 reply
- 1.1k views
Hi all, I recently gained my promotion to First Officer, but the image on my profile didn't update (I've checked the links in the admin centre - all are OK), and the list in the admin centre didn't register me as a First Officer, although my profile text did: What could be wrong? Thanks in advance, and merry Christmas everyone.
Last reply by Nabeel, -
- 2 replies
- 1.3k views
Does anyone have the rank images in bade feature turned on? I tried without success. I had mentioned that in another thread, but realized continuing a thread that dealt with my own "customizing" probably isn't the place for this question as this deals with a "stock" feature.
Last reply by CrashGordon, -
- 1 reply
- 1.1k views
Hey guys, Is it possible to add the rank picture to the live map page? Now you see the name, icao's and all the other defaults.. but is it possible to add the rank image to this? Hopefully you guys can help me out here. Regards Lucas
Last reply by simpilot, -
- 7 replies
- 2.5k views
Hi All, I have a couple of issues with rank levels. I have 12 ranks. For some reason when a member joins their rank level defaults to 12 (it should be 1)- their rank id and rank name is correct though. Also whenever I change someone from active to inactive in the admin panel, their rank level changes to 12. Any thoughts?
Last reply by beerguts, -
- 4 replies
- 1.8k views
Hi all, is possible to create or doing something by our own maybe modifying some code, to do that a pilot to have for example the last rating must do a praticl exam? So if he go over the hour of this rating he can have the same rating until he do the exam? Thank for the help
Last reply by vancouverA380, -
- 3 replies
- 2.4k views
Hello, I have a problem with the ranking system, if phpVMS is installed, so the house from a rank available namely the rank of "New Hire" but I have for my own front ranks so I have the rank of "New Hire" deleted. Now the problem is when a pilot and I registered as an administrator or activate suppose, is the rank assigned to the pilot "New Hire". Now my question is is it possible to change it, which is awarded or during the registration and login when I assume the pilot held the rank Student New Hire. Thanks for Help.
Last reply by servetas, -
Rank Order
by Guest nedra- 3 replies
- 1.8k views
Hi everyone, I've just spent about 4 hours trying to solve this, but I'm having an awful amount of trouble and I decided to come to the experts. If we look at my rank directory here: http://www.unityvirtual.net/index.php/rank, we can see that it is sorting the ranks from Lowest (Pilot Recruit) up the top, to Highest (CEO) down the bottom. This makes sense, because the 'rankid' for Pilot Recruit is '1', while the rankid for CEO is '12'...No problems there. However, I'm trying to swap the order that the ranks appear on that page, without changing any rankid's in the database. I've tried a few things, but nothing has seemed to work, and Google hasn't helped, unfortunately…
Last reply by simpilot, -
- 1 reply
- 1k views
Would any way I can choose which rank the pilot must have the page in the Admin Center Pilot Details?
Last reply by simpilot, -
- 3 replies
- 1.5k views
hello! when i transfered some Hours, then RANK icon did not change why?.. please help me! http://airindiavirtual.com/index.php/pilots
Last reply by joeri, -
- 2 replies
- 1.8k views
Hi How can i show total pilot in each rank ? RanksData::getAllRanks();
Last reply by kisadi, -
- 8 replies
- 2.7k views
Hello guys, I need a little help. I wish the ranks were awarded not only based on the hours but also the number of flights made. I was able to bring up the function in the admin panel and make it work. The table in the database is updated correctly, but if I add the hours to a pilot with the "transert hours" the rank is increased even if there isn't a number of required flights. Can anyone help me?
Last reply by kenny, -
- 4 replies
- 1.8k views
When adding rank, one of the fields has this: The order of this rank (if ranks are manually set), or the minimum hours required. The way I understand that, is based on hours, hence minimum hours. However, if we wanted/needed to assign rank manually and not by flights or hours, how? Would it not show up in the Pilot Center for each pilot stating that he/she would need so many hours for the next one? Now, is there a way to have a rank image added to the badge dynamically? If someone signs up, their badge would have the new hire rank on their badge and as soon as they obtained the next rank, the new hire rank would be replaced with their new one.
Last reply by Nabeel, -
- 5 replies
- 1.6k views
Can Someone tell me the code for only allowing only people above a certain rank to view a page. I'm guessing it goes something kind off like this but i'm not sure. <?php if(Auth::Rank() => FirstOfficer) { ?> <li><a href="<?php echo url('pages/discounts'); ?>">Discounts</a></li> <?php } ?> Is this correct?
Last reply by Parkho, -
- 1 follower
- 5 replies
- 1.6k views
Hi to all, Been scouring through the forum and can't seem to find an answer to the following question: What is the difference between RankID and Rank Level? I know that when I look at the tables for ranks, it assigns a rankID based on what was entered through the phpVMS Admin Panel. However, When I look at the pilots table, it shows both a rankid and a rank level and I am not sure if the level number should be the same as the RANK ID number, or different? For example, I running a local test version. I have a pilot ID that via the db shows the rankID as 12. However, it also shows the rank level at 11. Regards, Nat
Last reply by natcret, -
- 1 reply
- 1.2k views
Hi Guys, Have another issue at the moment that i've only just noticed We have renamed all our ranks etc and have manual rankings on - But when a new user registers and they are accepted their rank automatically says New Hire That rank hasn't been around for a long time - Cache has been cleared and maintenance has run quite a few times since then - I thought something might have stuck somewhere. I noticed this issue https://github.com/nshahzad/phpVMS/issues/13 that explains the exact issue I'm having but it was closed roughly 2 years ago Cheers Dan
Last reply by simpilot, -
- 1 reply
- 1.2k views
Hiya All, I wondered whether there is a way that we could use the ranking system but without hours, for example I'd like to promote so one for their hard work but not because of their hours. Is there any way the system can be changed so it isn't done by hours our if not possible right now, could this be in the next release?
Last reply by Nabeel, -
- 3 replies
- 2.5k views
Hi Everyone, I have a question regarding manual ranking assignment. I have five ranks and as the minimum hours I entered 0,1,2,3 and 4. It said that I either enter the minimum hours or the order in case I wanted to manually rank my crew. So I did that, but where can I actually manually change the rank of my crew without having dig into the MySQL databases. Hope you can help, Regards, Nout van Zon
Last reply by Nout - Zon Executive, -
- 2 replies
- 1.8k views
Hi everyone, I wanted to throw out the idea we are trying to implement over at my VA as far as the ranking system goes. I wanted to see what is the best/easiest way of going about this. Here we go.. All pilots will be hired on as a NEW HIRE and progress up through the ranks based only on the hours flow with our VA. "That's the easy part" Upon completion of our application the pilot will be given an Entry Exam, based on this score pilots will be placed on different aircraft. ex. Score>70 A/C= B1900 Score 71-85 A/C= E145 Score 86-100 A/C= 737 & DC9 (So a person with a score off 100% with 0hrs with our VA will be ranked as a 737 New Hire) Of…
Last reply by Flightguy123, -
Is there a way to integrate transfer hours over to the real hours of the pilot becuase all my pilots were reset to the first rank from the update but before the pilots were on various ranks.
Last reply by joeri,