Development Help
For help and support for the development of addons
515 topics in this forum
-
- 1 reply
- 1.6k views
Hi I'm currently messing around with this module on the site to make it look as clean as possible to fit the look of our site and I am happy with the results and the module is great. The only thing I would like to do is change the map which shows the booked flight route to use the google map (like the standard live acars map) Has anyone managed this. Current code looks like below. <th align="center"colspan="4">Flight Map</th> </tr> <tr> <td width="100%" colspan="4"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%"…
Last reply by Soundman9, -
- 0 replies
- 2k 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, -
- 0 replies
- 1.5k views
close topic tnks
Last reply by pedrobrandine, -
- 1 reply
- 1.4k views
has somehow I put the list of routes (script) on my site external ?
Last reply by pedrobrandine, -
- 1 follower
- 6 replies
- 3k views
<script type="text/javascript"> document.getElementById("inner-wrapper").className = "" </script><script type="text/javascript"> <?php /* These are the settings for the Google map. You can see the Google API reference if you want to add more options. There's two options I've added: autozoom: This will automatically center in on/zoom so all your current flights are visible. If false, then the zoom and center you specify will be used instead refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 4, center: new google.maps.LatLng("<?php echo Confi…
Last reply by simpilot, -
- 3 replies
- 2.7k views
I'm currently creating a script that works with my other systems on the server. I have got a page, which when a user logs in successfully, returns the CID, First Name and Last Name from database. I'd like to make it, so when my page renders, it logs the user into phpVMS. Except, I won't have a password, just CID and name. I can get the userID from the database, using MySQL, but apart from that, I can't see any logical way of doing this. Any ideas?
Last reply by mindfulhacker, -
- 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, -
- 5 replies
- 3k views
Hey guys, Not the best when it comes to this and will need a little help. I am looking to implement something which seems simple, for each schedule I want to be able to add "Airline which operates this route" with the option to add an airline logo. So with this added, on schedule search it will show in the results the airline logo on each individual schedule and also on the briefing page and live flight map. If anyone knows of how to do this or is willing to make it or guide me then that will be helpful. If payment is needed then I will pay you Many thanks & hope I made sense
Last reply by Industrialshadow, -
I am in the process of creating my own dashboard module, a couple of quick questions. Does all of the php code need to be the module/module.php file? Or can most of the code be placed in the template/template.php file? I'm currently trying to figure out why a form of my is not working, when the form is processed the browser moves onto the process page url but the actual content does not change. Why would this be happening? Thanks,
Last reply by t_bergman, -
- 2 replies
- 1.9k views
Is there a way to code something to pull flights that are created by the pilots when they use the charter button on ACARS? Like a long list of the routes and a/c they flew so that other pilots can use that as a tool to choose a flight?
Last reply by servetas, -
- 4 replies
- 2.3k views
Hello actually i am trying to create flight board on which instead of all the text we can replace images of alphabets by using str_replace command. i do not have idea as from where to start i wanted to build a simple flight board on which instead of text for example getting flight number <?php echo $flight->flightnum?> instead it shows just text Dubai International Airport the text should replace the each alphabet with each alphabet image and full airport name will be display as image not as text so i just have idea we need to put replace command to achieve the final result i will appreciate if someone would help me in building this flight board i will be mo…
Last reply by IrfanKhan, -
- 0 replies
- 1.9k views
Hello, Trying find solution... on profile_main.tpl in "Latset Flight" section code is: <?php echo $report->aircraft; ?> Its show me: number "18" and second... "Next Flight" on profile_main.tpl code inserted to table is: <td colspan="5" rowspan="2"><?php Template::Show('core_bids.tpl'); ?></td> and core_bids.tpl is: <style type="text/css"> .table_back { background-color: #CCC; } </style> <?php if(!$bids) { echo '<p align="center">You have not bid on any flights</p>'; return; } ?> <table> <thead> <tr class="table_back"> <th width="25%"><div align="center"><st…
Last reply by Jakubovsky, -
- 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, -
- 1 follower
- 5 replies
- 2.6k views
Hi, i was finding about this, but i dont find nothing. I need put in my frontpage_main 5 last threads of my forum mybb. The forum let me this url to syndicate: http://argavirtual.com/foro/syndication.php?fid=&type=atom1.0&limit=5
Last reply by Vangelis, -
- 6 replies
- 2.9k views
Hello, Can any body help me to realise: This sa Varners Addon Before send PIREPS we put Comment with Gate or Stand number. How its possilbe add to collum "Gate"? Thx for Help!
Last reply by Jakubovsky, -
- 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, -
- 9 replies
- 4.4k views
Hello friends, I've gone a bit due to my work which is very intense. Some time ago I had made a poll to see if it was worth it or not a mobile app, the results were not very favorable, even so I decided to develop an app for my virtual Aera line, is not yet fully complete, but I'll post here first impressions to users wishing one mobile app for your virtual airline can give tips / suggestions that I need to put in the app. As I go forward in my work I will also be putting here the layout of yours. Please, I ask to constructive criticism, and not Child ATV criticism, such as "bad design", "I'd do better", "I'm wanting to protect the community", etc. Because I will not ans…
Last reply by levicosta201, -
- 2 replies
- 2.2k views
Hi there. now i'm working on the rjva but i want to know how to make this table. And thank u
Last reply by Tameem, -
- 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, -
- 1 follower
- 1 reply
- 1.7k views
[Content Removed]
Last reply by ChrisTaylor, -
- 2 followers
- 10 replies
- 3k views
I have some code to put the vatsim id into a txt file and need some help. I have put the following code into the pilots_list.tpl where the vatsim id is place, and it works, but only puts one vatsim id into the text file. $vroute = fopen("vroute.txt", "w") or die("Unable to open file!"); $txt = $fieldvalue."\n"; fwrite($vroute, $txt); fclose($vroute); I have created the vroute.txt file and it has write permission. I need some help in creating this file, as it will make it easier to get my pilots into my VA's vroute community.
Last reply by Strider, -
- 1 follower
- 6 replies
- 3.7k views
Hello guys, I put it aside for a while my other projects posted here, I am now completing two software that I have not named them. The first software has the following function: ACARS; Some of the aircraft controls; Pilot Info; Aircraft information; Chat; Send flight plan; The following software has the following functions: Radar aircraft; List of online pilots to the program; Pilots in online mutiplayer; Table of flight plans; Counting hours of air traffic controller; Chat; The project still needs some repairs and completions, but with a few days can make a Beta release. I would like to know the opnion of you in the comments. Soon I'll post some screens…
Last reply by Shepred, -
- 3 replies
- 2.5k views
With the following script <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> it displays the last 5 pireps submitted. I am trying to modify the frontpage_reports.tpl file so it displays that users last 5 fives flights instead of everyones. http://pastebin.com/zNkYd8tF Can someone please help me out with this? Thanks
Last reply by Tom, -
- 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, -
- 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, -
- 0 replies
- 1.8k views
Just out of curiosity. I believe this will also help programmers phpVMS
Last reply by levicosta201, -
- 1 follower
- 4 replies
- 2.9k views
Hello everyone, today I was doing a test with APVacars and noticed the following error (do not know if this happens to me), but when I click GET Flight it does not return me the data flying there on my site (but does not return me any) error, and the module appears on my site. It returns only the information of the fsx. But when I click Start Flight it appears the following error: You Must Click on Get Flight. But the Start button changes to Log Log STop What could this be?
Last reply by levicosta201, -
- 1 follower
- 42 replies
- 9.3k views
Hey guys i`m currently developing an ACARS client for some of my website customers and am going to release a basic version of it for free. I`m now starting the Beta Test Phase of it and would need some guys who are interested in trying it and give me some feedback on what i need to improve before i can release it. If you are interested please PM me so that i can send you the required files. Here are some screenshots (WIP):
Last reply by mseiwald, -
- 1 follower
- 8 replies
- 2.5k views
I've noticed that it's rare to see internal commentary in module releases. Is this because no one likes it, or is it just that no one bothers?
Last reply by Sava, -
- 6 replies
- 4.3k views
Hello everyone, I come to share with you an issue that I did in my code Virtual Air Lines, this code snippet will remove the error: "no route passed". Hope that is useful to the community! First in: /core/modules/Schedules/Schedules.php search for: public function addbid() { inside this function search for the variable: $routeid = $this->get->id; Replace the variable above for: $routeid = $_GET['bid']; Then search for the file: /core/templates/schedule_results.tpl open this file and search for: <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> Replace the abo…
Last reply by bpruett72,