Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
- 13 replies
- 2.6k views
i have been trying to fix this skin for my va but im at my wits end the pilot page dosent work the registration page dosent work i have no clue where the frack i put the google api key and the schedules page dosent work any help would be greatly apreciated
Last reply by shakamonkey88, -
- 1 follower
- 29 replies
- 7.4k views
I just started using Lance skin www.virtualvarig.com and get some errors 1 - pilot tab not showing any pilots. I added 1 hub , 2 airports 1 aircraft ad one route. 2 - cant register anyone , because no HUB or location can be choose. PILOTLIST <?php if(!$pilot_list) { echo 'There are no pilots!'; return; } ?> <style> .borders{ margin-left: 100px; margin-right:100px; } </style> <div class="borders"> <h3><?php echo $title?></h3> <table class="table"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr>…
Last reply by TAV1702, -
Landing Rate
by Alex- 2 replies
- 1.3k views
I am currently creating an ACARS system for FlightGear a free open source flightsim. i'm interested on how "landingrate" is calculated. Can anyone enlighten me?
Last reply by Alex, -
- 1 follower
- 8 replies
- 2.9k views
Hi all, If a pilot files a manual pirep it gives a landing rate of 0. I understand why this happens but I have been reading this post http://forum.phpvms....t-modification/ and would like to use it. I think I display it a different way as I keep getting errors. I have it on my front page and this is my code. <h2>LAST FIVE FLIGHTS</h2> <div style="width:550px;height:130px;border:2px solid green;"> <?php> $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <div> <table> <thead> <tr> <th>Flight </th> <th>Departure</th> <th>Arrival</th> <th>Duration</th&…
Last reply by freshJet, -
- 11 replies
- 2.2k views
Hi, i have just noticed the following error when filing a manual pirep, Warning: Invalid argument supplied for foreach() in /srv/www/easyjetva.com/public_html/core/common/LandingstatsData.class.php on line 23 I take its because there is no value going into that field, what would be the best option to fix this, im thinking allow null in the database? Or is there something else that would do it.
Last reply by Nabeel, -
- 1 reply
- 1.9k views
Hey folks, im trying to display the average landing rate per user in our dashboard.. but i cant find a way to do this.. As you see in the screenshot below i got managed to display Hours Flown, Total Flights and the Pilot Wallet correctly with $userinfo ->totalhours etc.. for example: <section class="col-lg-2 connected"> <div class="small-box bg-yellow"> <div class="inner"> <h3><?php echo $userinfo->totalhours; ?></h3> <p>Hours flown</p> </div> <div class="icon"> <i class="ion-earth"></i> </div> </div> </section&g…
Last reply by MrDalle, -
- 1 reply
- 1.5k views
Hey Guys, I hope this is the correct place to post this. Im desperate for some help on this. Im using simpilot's top landing rate module to display the top 10 landings on our home page. The module works great, however im having one small issue. The module displays the top 10 landings of all time. What I would love to achieve is to display the top 10 landings of the week which will reset itself at the end of each week. I have read through the thread of the module it self but the advice on how to limit the time frame there was a little unclear to me, as im far from "fluent" in php deep in the learning curve. I would GREATLY appreciate any help, advice or a code snippet…
Last reply by OA01, -
- 7 replies
- 1.9k views
Hello, I just flew my first flight with FSAcars and it reported a landing rate in the log but on the PIREP page it has a landing rate of 0. Any ideas on how to get that to show up correctly? Running latest beta. Thanks!
Last reply by Nabeel, -
- 0 replies
- 1.2k views
Hey guys, Ive been trying to limit the landing rate stats module to a weekly limit. ie, to only show the to landings of every given week. Ive been having some trouble achieving this. I have gone through the mega thread of the module it self and while there are some hints of a code snippet to limit it to monthly, unfortunately i have not been able to work out how to implement the code or where to implement it to. I would greatly appreciate any help or an explanation on how to implement a code that will restrict the top landings for a weekly display which will reset itself every week thanks in advance guys.
Last reply by Omerr01, -
Hello,How can I do to translate the system into another language?I would translate it to Spanish.Thanks
Last reply by fenixdigital, -
- 6 replies
- 1.5k views
Hello, I wonder how to change the language from English to Portuguese? Would have some script that does it? Hugs great system. Note 10000
Last reply by Otacilio Jales, -
Hi, I would change the language from PHPVMS, what is the easiest way or gives an hack for this? Gives an file, where are the primary words be in and I only have to change it? Basti
Last reply by mark1million, -
Good Sunday averyone, I work for a big compagny and we like to got a PHPVMS but everyone speak french here so my question is: Do you have a french pack or temptate in french or if anyone have done one? Thanx !
Last reply by Dom, -
- 1 follower
- 5 replies
- 2.6k views
Hi Guys, Because I run an alliance VA, we have multiple airlines, multiple routes etc. We are currently standing at 32k routes and it's basically sending my php memory limit into spasms! So my question or challenge is; would it be possible to create or modify a function within phpvms so that rather than the standard form trying to pull all routes to then search on (tell me if I'm wrong on this, just my understanding), I can use a form to purely select from DEP ICAO, ARR ICAO, Aircraft Type, Distance and it then make a query to the database to return only the results needed? This issue is having a knock-on effect for me with modules also that require routes to be booked…
Last reply by ahughes3, -
- 1 reply
- 1.3k views
We have the a new install for virtual carrier wing 3 (1.0.1.4) ever since we updated to have the fligh track record every 20 seconds we have had issues where the flight does not record properly for lomng flights. I know you were talking to one of our guys and it was indicated to change.. As quoted My question is what php am I looking for here so I can edit this? Wood
Last reply by Kyle, -
- 0 replies
- 1.3k views
Hi guys, Last question for now :-) Is there a code available to show the latest 10 flight schedules added on the website? What i mean is the admin created a few new schedules that pilots can fly. The admin wants those added flights to be shown on the website for pilots to see. Is there a solution for this available? Regards Lucas
Last reply by MrAmsterdam, -
- 1 follower
- 3 replies
- 2k views
Hi to all! One question, how can i get last aircraft position, some code or something to put it in table...thank you very much
Last reply by shiljo, -
- 17 replies
- 3.2k views
I just want to add to the "pilots_list.tpl" where the pilot last landed at after the total hours are listed. Now, I can obviously add <th>Last Location</th> for the option in the table but how/where to I get that data from?? I am a bit confused how I would code that?! I want to pull the Last entry in pireps:arricao in the database for the pilot, but I am at a loss for how to code the line pertaining to it. I was thinking: <td><?php echo PilotData::GetFieldValue($pireps->arricao, 'Last Location'); ?></td> But that is obviously stupid
Last reply by CPC900, -
- 3 replies
- 2.7k views
I've expanded on the airport table add on, by adding seperate pages for each airport in the airport table. You just click on the ICAO code in each table row to open a new page with the airport details. I've put the total departures (total pireps by depicao) and total arrivals (total pireps by arricao) from the given airport in the airport details page, but I want to be able to show links to the last pirep filed both from and to the airport. So the links would be "show last departure" and "show last arrival", and the links would go to the relevant PIREP. Could anyone shed any light on this for me please? I've spent all day trying to get it to work, without success. Here's…
-
- 15 replies
- 2.8k views
Hi, im trying to list on the pilots page the last date that a pilot flew, i have been playing with the <?php echo PilotData::GetFieldValue($pilot->pilotid, '*********'); ?> but not sure if that can work. Any sugestions please. Thanks
Last reply by Nabeel, -
- 6 replies
- 2.2k views
Nabeel, I have on the pilots page a last flight, if we have a new joiner with no flight this defaults to 01.Jan.1970 Example, http://www.easyjetva.com/index.php/pilots, if there any way to mod this out to display N/A or none as apposed to the date if no flight has been flown yet?
Last reply by Blu-Express VA, -
- 10 replies
- 3.3k views
Hello I would like to put on my ftp servor a table which presents the pilot list with only the date of the last flight. This page will be public, so all the people will see it without registering. I tried to do this php page with this code I found in this forum : <?php $report = PIREPData::GetLastReports($pilot->pilotid, 1); echo date('d.M.Y', strtotime($report->submitdate)); ?> But when I use this code, nothing happens. How can I do to do this page with only the pilot list and the date of the last flight ? Thanks Stéphane
Last reply by stephanepa38, -
- 9 replies
- 4k views
Can someone pass me the code map of the last flights of the VA and the Pilot please? I find no place in not one, thank you. Equal to that at low!
Last reply by Nabeel, -
- 0 replies
- 1.1k views
Hey guys, Does anyone have some code which displays the last location of a pilot based on PIREP data which can be used with the rest of the signature data. I'm assuming once I have the code it will go in PilotData.class but please correct me if I'm wrong. Thanks!
Last reply by TB1, -
- 2 replies
- 1.6k views
Hi there, I discovered from the database that you can echo the date and the time of the last login from the phpvms_sessions table. I am not too experienced on PHP, and I am wondering how the $session_id variable works? I have this code, but it doesn't return anything. <tr> <td class="main1_1">Last Login Date</td> <td class="main2_1"><?php echo Auth::$session_id->logintime; ?></td> </tr>
Last reply by HighFlyerPL185, -
- 4 replies
- 1.7k views
For some reason my date is showing 12/31/1969 in pilot public profile can view it at http://usaflightclub.com/index.php/profile/view/1 Code in place is: <?php echo date(DATE_FORMAT, strtotime($report->submitdate)); ?> Any help would be great....Thanks in advance... Regards,
Last reply by Allan, -
- 11 replies
- 2.6k views
Hi, just a bit of help needed, on my pilots page, I have the current location displayed, but I can only get it to show the ICAO using How can I get it to also show the NAME, I have tried $report->arrname; but that does not work any ideas?
Last reply by ukmil, -
- 1 reply
- 969 views
My live map isn't showing flights, I tried reinstalling the latest beta but no luck.
Last reply by RogerB, -
Latest Bid
by faraz- 1 reply
- 957 views
HI I added : <?php MainController::Run('FrontBids', 'RecentFrontPage',5); ?> in Front page For Latest Bid and now just show 1 bid from 4 bid . I have 4 bids in Admin panel but in front page show 1 bid. I want show 5 bid in front page . Version 2.0.818 TNX
Last reply by Nabeel, -
- 4 replies
- 1.7k views
What one does everyone use just now? For the default one, I get the 'no bids have been made' message, despite there being 10-15 bids in the Admin Panel. I donwloaded Roger's and that other guy's, but they're both 2 years old. Don't know what to do...
Last reply by freshJet,