Development Help
For help and support for the development of addons
515 topics in this forum
-
- 6 replies
- 2.1k views
Does anyone know to display the ACARS map on the index page, but on a smaller scale?
-
- 0 replies
- 1.7k views
Hi everyone, ( I posted this in the wrong place before so please forgive me in advance for the dup) I am new to programming vmsPHP so please bear with me. I am looking for some help. I have created a Xplane acars. there seems that there are not many of them that work with Xplane. My work uses DATAREFs and not XPUIC. Is there a standard way of interfacing with vmsPHP ? or do you need a custom php page to accept input from an acars app? I have played with spoofing other module's webrequests and that seems to work fine. My VA's site gets all my input, position reports and PIREPS but I dont want to "come through" someone else's pages (work) …
Last reply by fleanbilly, -
- 5 replies
- 2.9k views
Hey Guys, I am currently program at a Trackingsystem, but I have a problem. We use in our airline kACARS only. For the Tracker, I have to change the "kACARS_Free.php" Module that, when kACARS send the liveupdate, these data also insert into a second table called "tracker_daten". Here the Code from liveupdate only. Rest of the code is default: <?php case 'liveupdate': $pilotid = PilotData::parsePilotID($xml->verify->pilotID); $lat = str_replace(",", ".", $xml->liveupdate->latitude); $lon = str_replace(",", ".", $xml->liveupdate->longitude); # Get the distance remaining $depapt = OperationsData::GetAirportInfo($xml->liveupdate->depICAO)…
Last reply by JustinFHI, -
- 1 follower
- 12 replies
- 4.1k views
Hello All, When somebody flying a circuit the acarsmap will not show the flights. I think it has something to do with the fact that the distance is 0 and the remaining time is 0. But I don´t have a clue where to change that. Does more people have those problems and better does somebody has a solution for this little problem. Regards, Cor
Last reply by Cor, -
- 0 replies
- 1.4k views
Any built in mechanism for accessing the DB( looked at the docs, but maybe missed it ) , or the usual php way? Thanks! Semir
Last reply by captainB, -
- 9 replies
- 4.1k views
hello how poso add these hours and minutes on Add Schedule minutes or hours will not enter anyone know <tr> <td valign="top"><strong>Horário de Partida</strong> </td> <td><select gtbfieldid="47" name="deptime" id="<?php echo $schedule->deptime?>" /> <option selected="selected">-</option> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <optio…
Last reply by Kyle, -
- 1 reply
- 1.6k views
Hey guys I can´t do any php so i guess i just leave this here - maybe someone likes this idear How about a randomised week or monthly flightplan for each pilot of the airline. So for example the Pilots goes into his Pilot Center Page and klicks on "my turn around plan" or whatever. After that, the script chooses X flights out of the flightplan for each Day or a whole week and presents this new plan to the pilot Thats it:-) bye bye
Last reply by mark1million, -
- 3 replies
- 2.7k views
Dear Community I came up with an idear about an add-on for phpvms, well to be honest i saw this on another va - it was called "on time index" The Script should compare the sheduled departure and arrival time (in phpvms) and the real departure an arrival time (system time). If the sheduled and the real departure or arrival time is like the one insert in the phpvms shedule it gaves you 100% on time (viewable in your profile or on a special side) If you departed to late or arrived to early the script will decrease or increase your on time percentage. Hope you get what i mean:-) Thank you and good night
Last reply by Mysterious Pilot, -
- 18 replies
- 5.1k views
Hello, I am looking for someone to do a add-on that is Screenshot Center like when a pilot uploads a photo and admins has to approve it or reject it, and abiltly to comment on photos. I hope it is posabile to do this. Thanks for the people if you made it working.
Last reply by selwynorren, -
- 7 replies
- 2.8k views
Hello, I am looking for some help with phpvms - go figure right? Basically I want to add to each aircraft entry its ZFW and selcal. Ultimately I want to display a ZFW on a pilots bid but I want to walk before I can run. I tried to add selcal but I couldn't get it to update in the admin section or update. I could however get it to show in the aircraft list if I entered the field directly into the database via phpmyadmin. If anyone can point me in the direction of the files I need to alter to take this into account I would appreciate it. I have a local install for testing/building. I tried editing several different files - Operations.tpl it might have been but again c…
Last reply by freshJet, -
- 3 replies
- 2.5k views
Hello, How would I go about adding an attachment such as a .zip file to my registration accepted email template? Thanks
Last reply by Tom, -
- 0 replies
- 1.5k views
I am looking to add additional fields to aircraft within the admin module, for instance the aircraft configuation of "29Y" which specifies 29 seats of economy. I have added another field within the ops_aircraftform.tpl file but now am not sure what to do in the php file. I have added the field to the database. Thanks,
Last reply by t_bergman, -
- 1 reply
- 1.8k views
Which file should I put the code for the addon appears on the front page of va?
Last reply by TennShadow, -
Addon Project
by Jon- 5 replies
- 3.8k views
Morning, I've got a spare bit of time over the next few weeks and so fancy creating a really big addon to phpVMS. I've had a look around the forums for ideas of what is wanted but can't find anything and wonder what is really sought after addon wise. Anything you've really wanted that nobody else has got 'round to? Cheers
Last reply by josh90, -
- 3 replies
- 1.4k views
Is there a way i can program the Admin Center so that i can add groups to staff so they can only see the pending PIREPS for there hub?
Last reply by Sava, -
- 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, -
- 12 replies
- 4.9k views
Hi guys... i'm the developer of a italian VA. I wrote a module for the admin panel to permit us to assign some details to the pilots only bly clicking on a button. I'd taken some snippets from addons like VStats and others... i've a versione of my phpVMS running on XAMPP (local webserver) and the module works fine! But when i upload my files on the server for the VA site, my admin panel doesn't shows my module. The files are correctly updaloded, The folders' permission is quite good, the same of the others addons i'm running on my admin panel. On my local phpVMS i'm running the same addons of the software on my webserver... Bu the way, i can't view my module in my adm…
Last reply by Gofast77, -
- 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, -
- 0 replies
- 1.6k views
Hello, does anyone have the code so I can place a pie chart in the pilot centre that shows the pilot the amount of time aircraft flown in percentage. regards
Last reply by david thompson, -
- 3 replies
- 2.2k views
Ok I know I am getting ready to be a victim of my own words... Search Ray just use the search function!! Trust me I have used it. I know we have discussed it in the past and I just can not find it now. I want to add the aircraft registration number to the Pilot Briefing page where it lists the aircraft for that flight. The area I am talking about is when you go to bid on a flight it has 3 links: View Details Pilot Brief Add to Bid The Pilot Brief is where I am talking about. The problem I am having is we have multiples of the same aircraft but with different registration numbers. It would be sweet to show the aircraft reg number for that flight as well. Can an…
Last reply by TAV1702, -
- 16 replies
- 4.8k views
Go to core/common/TouchdownStatsData.class.php Add this to the file: public function get_planemd11_stats($howmany) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND Aircraft = '2' ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); } planemd11 can be edited to the plane that you would like to show. AND Aircraft = '2' the 2 can be changed to the aircraft that you would like to show. (See the phpvms_aircraft table) So in my…
Last reply by MrAmsterdam, -
AIRMail beta2 1 2
by simpilot- 33 replies
- 8.5k views
AIRMail beta2 New Features 1 - Drop down of all pilots for "To" field when sending new AIRMail 2 - Option in dropdown of "NOTAM" which sends the AIRmail to all pilots of the airline 3 - Streamlined code to only use pilotid in the db so if a pilot switches airlines or the airline changes it's code the pilots AIRMail will still be available 4 - Function to delete sent items out of your sent items list 5 - Function to show pilot if there is new AIRMail waiting (With Animated Image!) 6 - Added function to insert "No Subject" in the subject line when an AIRMail is sent so it can still be opened by the receiving pilot(s) 7 - Function added to deny sending AIRmail with t…
Last reply by simpilot, -
- 3 replies
- 1.8k views
Hi and thanks for a nice piece off work. I have tried to install both versions and every thing works fine. Except for the aircraft location on google map It is either not there or 20 to 30 NM wrong placed on the map. I run FS2004 with Vista 64 bit system, could this be the reason?
Last reply by weitling, -
- 4 replies
- 10.7k views
Is there anyway to get a full database? I mean all current airports. I know it would be a large file. Just curious.
Last reply by eliezerazevedo, -
- 11 replies
- 4.4k views
Hey, I understand someone has a list of the airports in FSX for PHPVMS? Would I be able to pick this file up as I haven't been able to find it in my hunting around. Thanks
Last reply by simpilot, -
- 0 replies
- 1.9k views
Hello All, I am wanting to put together a way that will allow for pilots to look at an Airport on the fly. I see already there is some information already added when the airport list is created. I would like to add the following information, longest Runway, Runway Type (Asphalt, Concrete, etc.), Elevation, City, State. I know there is the link they can use to get more information of a particular Airport, but was looking at having something at a glance. I searched the forums and I didn't see this being asked or even mentioned before so I was wondering has anybody done this already. I am a rookie when it comes to PHP and MySQL but am willing to give it a try. I am want…
Last reply by BLA0001, -
- 1 reply
- 1.6k views
I was wondering if it possible to do a Airport Management system, instead of the airline management. It would be the same concept, however, im thinking that you create an airport, and add airlines, and a few other changes could be done. Please help, if you think this is possible, and how it could be done Thanks!
Last reply by Nabeel, -
- 1 follower
- 33 replies
- 13.4k views
Hi guys. Maybe a year ago or so, a bunch of people requested something to spend pilot pay on and I saw it again today. Then the idea was being kicked around to come up with something. Suddenly, the author of the Pilot Shop came back and tossed out a quick release and then vanished. Too bad. I really think it would be great if we could get something similar to the pilot shop going as a module. Not only a pilot shop, but where pilots can buy shares of stock in the company as well as shares of stock in aircraft. The shares of stock could vary daily or what ever with many deciding factors such as active pilots to inactive ratio, pireps being filed etc etc. AS far as stock in…
Last reply by TAV1702, -
- 3 replies
- 2.6k views
Hi Guys, What about an addon that all pilots can use to link a landing that they made to a youtube video. Example: You have an awesome landing or a landing in bad weather or something like that. You create a video and upload it to youtube. Then you go to the website and attach the link to the pirep. There is a possibility to add the video link to the comment section of the pirep but you need more time to create a video. So the best would be to add the link later to the pirep or to a whole different "Video" section on the site. Regards Lucas
Last reply by MrAmsterdam, -
- 11 replies
- 4k views
I've always wanted pilots to have the option of choosing whether they want to book their flights or be assigned to them. Could this work? So, for example, the pilot would select their preferences (days of week, max. distance etc...), and then the system would automatically generate flights to be flown. Get it?
Last reply by mseiwald,