Development Help
For help and support for the development of addons
523 topics in this forum
-
- 4 replies
- 1.7k 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, -
- 2 replies
- 1.7k views
Hello friends ... After I installed the new version of phpvms, several errors were found ... One was about time I send a PIREP, did arrive at the site .. and the FSFK FSACARS not work because of that, I've reseted the Table ACARS at the maintenance and did not work! At the time of acceptance the PIREP, when I click Edit, the following error occurs ... PHP Warning: Invalid argument supplied for foreach() in E:\home\autopecasmilian\Web\kafly\do\admin\templates\pirep_edit.tpl on line 19 The list of Airlines nothing appears, even if I create an admin panel or by the VA phpmyadmin.Minha appears in the database and does not appear in the admin panel See the picture…
Last reply by simpilot, -
- 2 replies
- 1.7k 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, -
- 1 reply
- 1.7k views
Hey, Just wondering, is there a fuel planner for phpvms, Or like a fuel dispatcher. Lets us know J
Last reply by mark1million, -
- 2 replies
- 1.7k views
Hey everybody, is it possible to make a code , which generates a line in th signatur with "offline" or "in flight" like the tuifly virtual ? Can the signature change the background when a pilot is in the air for example ? Greets Tuifly VA signature :
Last reply by MBrown, -
- 3 replies
- 1.7k views
This idea has been in my head for a while now, because although there is phpBB modules which can automatically register people in, it'd be really cool if the forums connected to the same MySQL table for the pilots and users, so after you have installed it the users are on there and do not need to log in to the other forums. So this is my basic idea, a simple discussion board (which can be made more advanced as versions are updated) and the user database is simply connected to the exact table which phpVMS uses. Simple. Also the administrators, staff as well as pilots are automatically distinguished and ranks, flight hours, etc are displayed too. I think it'd be really co…
Last reply by goldenairways, -
- 3 replies
- 1.7k views
Let's see how many of you are using phpVMS 5.5 and 2.1.
Last reply by magicflyer, -
- 1 reply
- 1.7k views
Hello all, i would like to know if someone could create a module that sends via email every 1th of month 6-8 routes to be flown by the captain as monthly assignment. The best would be to have a module on pilot center that shows the monthly assignments. These routes must be flown on the same aircraft (for example Airbus 320 and in case if the pilot has two choices - also for example B738, maybe he can choose at the beginning on a checkbox?). If it's always possible it could be great to sort the routes to assign randomly based on the flight numbers. For example, a junior captain would do only local flights (in my case only Italy) a higher officer could start receivi…
Last reply by Simon VVair, -
- 3 replies
- 1.7k views
Could anyone give me a code to put in my house for new riders? I searched the forum but found nothing, thanks for listening.
Last reply by Kairon, -
- 2 replies
- 1.7k views
Hello I should like to inquire whether it would at all be possible for us over at RAF No.2 Group to schedule some of our flights with the normal 0-6 (Sunday-Saturday) code, but also allow for days of the year numbers, ie 001, 140, 350 and so on. I don't see any similar solutions on the forum, but was hoping it'd be possible. As the VA is kind of in the cross between military and civil aviation, the irregularity of flights is difficult to show. It'd help us a lot if we could schedule some of our flights this way. Thank you in advance for any replies!
Last reply by scajolly, -
- 0 replies
- 1.7k 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, -
- 0 replies
- 1.7k 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, -
- 1 reply
- 1.7k views
I am creating a module and i am wondering if there is a way to only allow a specific group (admin) to use the module created.
Last reply by mark1million, -
Validation of the pirep by the pilot
by Guest djetdail- 0 replies
- 1.7k views
Texte Francais : Bonjour; Pour une utilisation de phpvms comme carnet de vol, j'ai modifié le script ~/admin/templates/pireps_list.tpl Chaque pilote peut editer, valider, supprimer son rapport de vol. phpvms est un excellent travail, bravo et merci Ici le début du script modifie, le rajout est en rouge : Texte Anglais (Traduction online sorry ): Hello; For a use of phpvms like notebook of flight, I modified script ~/admin/templates/pireps_list.tpl Each pilot can publish, validate, remove his report of vol. phpvms is an excellent work, cheer and thank you Here the beginning of script modifies, the addition is in red: <div id="pireplist"> <?php if($…
-
- 2 replies
- 1.7k views
Im trying to manage my site, and make drop down menus here is my current site http://aevirtual.org and i need to have d/down menus, anyone got a code i can put into my core_navigation.tpl or .css? heres wat my .tpl looks like and here is my .css ONCE again thanks in advance!
Last reply by tylerj, -
- 1 reply
- 1.7k views
Hello People, i want get de last 5 flights with this iformations: Status( Is rejectd or acepetd) Thanks
-
- 1 reply
- 1.7k views
Okay so I've been playing around with the group permissions and trying to add in a few custom permissions of my own, And then I stumbled across something in the logic that had me stumped. So in a few moments I will ask the question but before I would like to explain how I'm understanding this to make sure I have it down right. If the following paragraph sounds too confusing just ignore it, It's still kinda hard for me to explain. Basically what I can get from this is that each permission is represented in binary format and it starts at 1 then 10, then 100, then 1000. and you just check to see if that bit is on when checking for a permission. for example if I'm wanting t…
Last reply by Oxymoron290, -
- 1 reply
- 1.7k 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, -
- 1 reply
- 1.7k views
Hi again... I currently working with an addon which I think will have to 'explode' the raw data from the pireps table in the database. When inspecting the database it seems like FSPassengers pirep's raw data goes to the field log, while fsfk's goes to the table source. Where the free Xacars goes I don't know, does any one know? Is this a bug, which I can expected to be fixed? It is no big issue, but it is nice to know when coding the addon. Regards
Last reply by Wingthor, -
- 1 reply
- 1.7k views
Hey there, This is not really a request, it´s a question. Is it possible, to add informations like dep Airport, Arr Airport or maybe even online Status (IVAO) inside the dynamic Signature? I didn´t find the Script creating the Signature so maybe you can help me with that? Thank you very much!
Last reply by Gabriel Fernandez, -
- 0 replies
- 1.7k views
Hello .. good eh just wanted to tell that to successfully implement phpvms light box, I made it compatible totalmete .. soon open a test account to try the system .. I changed bstante .. Boxxer light of the bad is that when you leave a lot to be updated pe cuiddo with the files you have to upgrade.
Last reply by novamix, -
- 1 reply
- 1.7k 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, -
- 0 replies
- 1.7k views
Hello everyone, I'm having problems sending my logs to the VA acars says that the error in the database that can be? webdesign, voemercosul, http://www.voemercosul.com.br
Last reply by levicosta201, -
- 1 follower
- 4 replies
- 1.6k views
I am trying to get the statsdata to show a count of how many flights have been completed by my custom kacars program. But it is not working and need help, maybe someone here has the answer. Here is the code I got: /** * Get the number of flights flown with macars */ public static function AcarsCount($airline_code = '') { $key = 'acars_count'; if($airline_code != '') { $key .= '_'.$airline_code; } $acars = "mACARS"; $total = CodonCache::read($key); if($total === false) { $sql = 'SELECT COUNT(*) AS `total` FROM `'.TABLE_PREFIX.'pireps` WHERE `source`='.$acars; if($airline_code != '') { $sql .= " AND `code`='{$airline_code}' GROUP BY `code`"; } $result = DB::get_row($…
Last reply by Strider, -
- 0 replies
- 1.6k views
Hello, My name is Ryan, lead developer at startmyva.net. Long story short, were looking for developers, so I will put a list of benefits below, and if your interested please send a letter of intent to ryan@startmyva.net! We would be happy to have you on our team! Being a developer at startmyva.net offers you endless benefits, such as: -Use of an extensive billing/project management system. (WHMCS) -85% of all project profit which you generate. -Access to a pre-built and growing client base. -The oppurtunity to explore and create custom Virtual Airline solutions. -The oppurtunity to work with highly skilled, friendly developers. Thanks, Ryan Palmer Lead Developer…
Last reply by rpalmer800, -
- 4 replies
- 1.6k 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.6k views
Hello guys, does any of you know how to make that you can change a pilots rank via the Admin Panel? And make so it wont upgrade automaticly
Last reply by simpilot, -
- 2 replies
- 1.6k 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, -
Is there a way to display stats for each hub, and have displayed on the hub pages? Pilots XX Flights XX Hours XX Miles Flown XX Cargo (lbs) XX
Last reply by faraz, -
- 1 reply
- 1.6k views
Which file should I put the code for the addon appears on the front page of va?
Last reply by TennShadow,