Development Help
For help and support for the development of addons
515 topics in this forum
-
- 2 replies
- 2.1k views
Hello Everyone, I have been looking around at some websites and saw that some virtual airlines have a calender for the events page. I was wondering If anyone could help me code such a think that would work with the basic Events_booking module that is offered here. Thanks Austin
Last reply by Atcarrillo, -
- 1 reply
- 2.1k views
Hey, I think this may came up but, I don't see anything in the forums for Hub Stats, so I'm requesting an module for hub stats. If anyone can create it, and We would be all be thankful!!!
Last reply by Daniel, -
- 2 replies
- 2.1k views
hi, can someone tell me some code to display on the homepage the statistics of the different flights of different airlines. example: continental 737, Delta 757, jetblue 737, 757 American Airlines bone I want to show the different flights of different aircraft registered in such names airlines can anyone give me these codes please ...
Last reply by El Macara, -
- 2 replies
- 2.1k views
How can I put time in exams? If you do not put pilots can get Google search and send the exam after consulting all answers. Can anyone help?
Last reply by Fernando, -
- 0 replies
- 2.1k views
Hi; I have FlightBookingSystem by parko. And I have to do two modifications. In the schedule_resoults.tpl I have this code: <table width="100%" cellspacing="0" cellpadding="0" border="0"> <?php if(!$allroutes) { echo '<tr><td align="center">No routes have been found!</td></tr>'; return; } ?> <script src="http://skyvector.com/linkchart.js"></script> <thead> <tr style="height:12px; font-size:14px; font-weight:normal"> <th width="20%" align="center">N° de Vuelo</th> <th width="20%" align="center">Origen</th> <th width="20%" align="center">Destino</th> <th width="20%" alig…
Last reply by carlosuc99, -
- 1 reply
- 2.1k views
I currently have just one airline running on my site. I've received a lot of requests to add a charter division. The problem is I don't want pilots going crazy and just flying charter 24/7. It would be great if someone could make an addon where it extracts pilot pay if they fly charter flights. Once their balance is gone they have to fly scheduled flights again. thanks !
Last reply by TAV1702, -
I'm not one to do scripting, so if I could get some help, would be great. I'll ask questions regarding what I'm doing in this post. First off, how is a module created that shows up in the admin area as well as frontpage? Next, how can I show only 1 of each of the aicraft in the fleet on a page? edit: All this is going to be in the same module
Last reply by BBuchanan, -
- 0 replies
- 2.1k views
As you leave the ACARS map in full screen? As the image below:
Last reply by levicosta201, -
- 4 replies
- 2.1k views
Hi i just had an idea not sure if it would work but i dont see why not, i have various request to add routes in to my VA that currently are not there, this is because i dont have access to the realworld schedules, however what i was looking to do is create a form pilots could fill in the information and post pending moderation and that data could be imported in to the system. The form would need to contain all the correct fields required for a csv import or even a direct sql import once moderated. The data could be stored directly in to the database, i suppose another table could be created for this and once moderated a click could be put in to the correct phpvms table f…
Last reply by mark1million, -
- 0 replies
- 2.1k views
Hello help me? I'm having trouble because my phpvms not this show the information in pafina / index / profile I already tried the tutotial (Getting variables in templates) more will not Tutorial:(http://forum.phpvms.net/page/index.html/_/skinning-and-customization-guides/getting-variables-in-templates-r34) <!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link href="<?php echo SITE_URL?>/lib/skins/flytam/style.css" rel="stylesheet" media="all" /> <?php /*Any custom Javascript should be placed below this line, afte…
Last reply by pedrobrandine, -
- 1 reply
- 2k views
Ok trying to get the pilots awards on a seperate page instead of being on the main profile page. Having a bit of trouble as its not feching data at all and ive even added awards to my pilot profile aswell. Here is the code im using <div id="mainbox"> <div class="indent"> <p><?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?></p> <table> <tr> <td valign="top" nowrap> <p> <strong>My Awards</strong><br /> <?php if(!$allawards) { echo 'No awards yet'; } else { /* To show the image: <img src="<?php echo $award->image?>" alt="<?php echo $a…
Last reply by servetas, -
- 1 reply
- 2k views
Afternoon All I currently have on my site a static fleet page gouped by aircraft type, however as part of my quest to learn MVC and php I thought I would have a go at making it dynamic so that when I add an aircraft the page auto updates saving me loads of work in the long run. So after an evening of browsing though phpvms files to see how it all ticks, and based on the public pilots list, grouped by hubs I made my class, module and tpl files. I had some success but not completely, the page gives me one group for each icao which is what I wanted, but it also gives me all the whole fleet repeated in each group! not just the aircraft specific to the group. If this was an…
Last reply by nexissair, -
- 2 replies
- 2k views
basically I want to take information from custom pirep fields and display it in my airline stats. Example: I added a custom dropdown field in the file pirep page to specify if that pilot flew online or not... I want have an "online flights" total number in the airline stats page.. thanks for all the help
Last reply by simpilot, -
- 0 replies
- 2k views
Because my admin center does not appear the menus, only appears: sidebar_dashboard.tpl. As the image below: enviar.bmp Help me!
Last reply by levicosta201, -
- 1 follower
- 3 replies
- 2k views
Hi all, I have a couple of questions and was hoping someone may be able to answer them for me. My airline and another have gone into a code-share partnership, what we would like to know is that is it possible to share our schedules tables from the databases with each other and display the results on a custom schedules results page from within each other sites? Also is it possible to get KACARS to report back to two VA's at the same time during a flight? Also how would I go about setting Microsoft access up to access my database? Many Thanks Karl
Last reply by nexissair, -
- 2 replies
- 2k views
Hey Guys, Just wondering if theres anyway i can get the aircraft's current location so that i can show it on my fleet page, I thought there might be a php cmd/code for the GetAircraftLocation or somesort? Help would be appreciated Regards, Thomas. UPDATE: FOUND OUT HOW TO, DELETE THIS POST IF YOU WISH!
Last reply by CN@ndo, -
- 3 replies
- 2k views
Let's see how many of you are using phpVMS 5.5 and 2.1.
Last reply by magicflyer, -
- 1 follower
- 1 reply
- 2k views
Hello everyone, i looking for a code that, the pilot and me can see how many schedules have flow for a airliner, i have a several airliners, and nobody can see how much he fly for a airliner. i hope for this code: in the pilot center and in the profile, that the pilot can see how many schedules has flown for a airliner, Michael
Last reply by Vangelis, -
- 1 reply
- 2k views
Hello, I'm making an ACARS and I've came up with a question... I know that phpvms accepts coordinates and altitudes for the PIREP and that they show up on the Map but I'm not sure where I need to send those and in what format... I think its on the route_details field of the DB but not sure... Thank you, Joao Lourenco.
Last reply by levicosta201, -
- 4 replies
- 2k views
Hi there. I have a new design that contain a frontpage that is different in the component and the other pages are the same but not like the frontpage so I think that I must have multi layout file plz help Tameem melhem Technical support a royal jordania virtual airlines
Last reply by Tameem, -
I have made a page on my site for each one of my hubs. I have it pulling stats and pilot info. Now I am curious if we can create a link or something that would work like the schedule search except it would only list the flights to or from that hub. It would be real nice if it knew the difference between the cargo, passengers, or charter flights. That way We could create a link for each kind of flight. Wishful thinking or doable?
Last reply by TAV1702, -
- 1 reply
- 2k views
Ola Pessoal Eu Sou Novo Aqui Desculpem Si Estiver Fazendo Algo Errado Mas a Minha Duvida É .Tem Algum Modelo De Templete Para a Pagina Do Perfil Do Piloto??Pois Gostaria De Deixar Um Mais elegante.Desde Ja Agradeço
Last reply by magicflyer, -
- 2 replies
- 2k views
I have read the API's documentataion regarding sending variables to scrips using the URL. Like index.php/moduletest/pageone/apple/red Gives the varible 'apple' the value 'red' to the script function pageone However I wan't a module to remember the setting, while fetching an other variable, like /beer/isgood. Next time the page is loaded the scripts remember that the user already has seleced red apples, when the user select the option beer is good. Then can process a page based on these settings? I am gone use this for creating dynamic SQL's where the where clause might cange, in terms of value and number of criterias given. Eg, first click filters on pilotid, next cli…
Last reply by Wingthor, -
- 2 replies
- 2k views
Hello friend Anyone know where I can download the module Discounts To Subtract From Pilot Salary, the link with the topic: http://forum.phpvms..../page__p__28736 Not working, anyone can post? thank you
Last reply by CN@ndo, -
- 1 reply
- 2k views
Hey Guys! So I am developing my pilots center, and I had successfully modified the search form and results form. I tried using Simpilot's addon, but it is not compatible with the current PHPvms. Because I have over 8000 routes, it takes over 30 seconds for it to load. Is there a way where I can limit how many routes it loads at first so it can load faster? I tried pagination, but it still does the same thing (loads all at first then puts it in order). Attached is a photo of my schedules/view page. Is there a way where I can have a search form first, then display the schedules instead of having the schedules and search form?
Last reply by servetas, -
- 1 reply
- 2k views
Hi Guys, Just a quick question really, I was wondering if there is anyway of replicating the 'scroll up to see live map' on a phpvms system, I think it would be a pretty nifty thing to add for the ACARS system. Joe
Last reply by freshJet, -
- 2 replies
- 2k views
Hello everyone! I'm in the process of developing and beta testing simFDR, which is a new flight data recorder for Flight Simulator as well as a cloud logbook service. It's based around the code that Delta Virtual and Air France / KLM Virtual have used for over a decade. It's a really, really good, high-fidelity flight data recorder for flight simulation. While our mission is centered around logging every flight in every aircraft (not just for Virtual Airlines) we do have an extensive VA integration API. You can read about it here: https://www.simfdr.com/va_api.do Would anyone be interested in writing a VA plugin that handles these four web services for phpVMS? I believ…
Last reply by Luke, -
- 0 replies
- 1.9k views
Hi guys, I am looking to add a search drop down to the Find a flight serach page that will allow me to use the data in the NOTES box of a flight schedule. The following code is for the search parameters that are concerned with searching by DEPARTURE AIRPORT <div id="depapttab"> <p>Select your departure airport:</p> <select id="depicao" name="depicao"> <option value="">Select All</option> <?php if(!$depairports) $depairports = array(); foreach($depairports as $airport) { echo '<option value="'.$airport->icao.'">'.$airport->icao …
Last reply by RichardRodgers, -
- 4 replies
- 1.9k views
Here is some code if you wish to hide pilots with zero hours. if($pilot->totalhours =='0'){ continue; }
Last reply by Strider, -
- 1 reply
- 1.9k views
Afternoon everyone I'm currently building a module for my site which I plan to share on here for everyone to use if they want, it allows you to add extra information to an aircraft that can then be shown on a nice shiney fleet page, I am a bit stuck though, whilst I can pull the aircraft, add extra information to them and display it all on the fleet page with no problems, I just cannot for the life of me get it to update existing added extra data, I've been staring at this for four days without success, the query works when run direct in SQL command line, I've tried absolutley everything but clearly I've missed something that I can't spot, Please please please can some o…
Last reply by nexissair,