Development Help
For help and support for the development of addons
515 topics in this forum
-
- 4 replies
- 2.5k views
Hi Guys, Im new to phpVMS and learning rapidly!! What I would like to create is a schedule request form, that my pilots can use to request new schedules to be added. When the form is submitted, the schedule will be inserted into the database, but with a "PENDING" sort of status. The Admins will be emailed that there is a "PENDING" Schedule request. The admins will then reject or approve the schedule and it is then added to the VA's list. The Pilot will then be emailed if the schedule has been approved or not. has anyone done anything similar, or can someone point me in the right direction of where to start? Many Thanks Kev
Last reply by iva, -
- 2 replies
- 2k views
I want a module to be able to post notams in a predefined area from the admin panel. Does anyone know how to create this?
Last reply by Atcarrillo, -
- 1 reply
- 1.4k views
I would like to create a countdown on the homepage of the time remaining before an aircraft maintenance, but I'm no PHP and i bad in english .
Last reply by levicosta201, -
- 2 replies
- 2k views
It is possible to place the module of simpilot mail to appear in the profile of the pilot instead of index.php / mail?
Last reply by levicosta201, -
- 0 replies
- 1.9k 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, -
- 0 replies
- 1.9k views
As you leave the ACARS map in full screen? As the image below:
Last reply by levicosta201, -
- 8 replies
- 4.5k views
I put the following code in my module phpvms: <?php $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> totalflights -> <?php echo $pilot->totalflights?> totalhours -> <?php echo $pilot->totalhours; ?> But nothing does not appear when the User logs, What can it be? help me!!!!
Last reply by levicosta201, -
- 21 replies
- 7.1k views
Hi, i think it is unrealistic for a Va only add an Aircraft to their Fleet. My Idea is more realistic i think but harder to get Money too. My Plan is the following: The Admin enter an new Aircraft Type with all Details. Then comes the calculation for the Price : ( Max Takeoff Wight)*Pax or something to get an nearly realistic price for this Aircraft. Then the calculated Price must be checked with the VA money and when yes u can add it..... When No a Text " Your VA has insuffiecient Money" and u cant add the Plane. This is only the first step in my future Plans
Last reply by atlantica, -
- 2 replies
- 1.8k 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, -
- 2 replies
- 3.6k views
Hello all, I wonder if I can create a skin for the layout, and different profile page layout?
Last reply by levicosta201, -
- 6 replies
- 3.4k views
Hello all, could someone help me install my skin va, since when I install appears: Notice: The template file "/ home / mysite / public_html / / lib / skins / my_skin / header.php" does not exist in / home / mysite / public_html / core / classes / TemplateSet.class.php on line 231 What's going to help me solve?
Last reply by levicosta201, -
- 3 replies
- 3.1k views
Olá todos, me ajudem com minha virtual airline, da um erro e não consigo resolver não aparece o template: The template file "/home/voemerco/public_html/dov//lib/skins/brilliancev1/header.php" doesn't exist in /home/voemerco/public_html/dov/core/classes/TemplateSet.class.php on line 231 link da minha virtual airline! http://voemercosul.com.br/dov/
Last reply by levicosta201, -
- 0 replies
- 1.9k 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, -
- 0 replies
- 1.4k 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, -
- 9 replies
- 3.6k views
Hi Guys, Anyone tell me if PHPvms has built in pagination? Cheers,
Last reply by Jhony300, -
- 6 replies
- 1.9k views
Hello guys This may be a bit specific for some people but anyone who has made an ACARS system, help would be appreciated. I would like a bit of help as i intend to create a Custom ACARS client for myself and am not entirely sure how i'm going to go about doing that. I will be using Windows Visual Studio and the VB coding Language. I've looked into the SDK for FSUIPC and seem to understand that all right its just that I am going to need help sending all of the information that I collect to the phpvms system. How would i be able to get it to connect to my Website and then send the data that the program is set to collect to to the site. It would be of great help if any…
Last reply by Stealthbird97, -
- 4 replies
- 2.1k views
I have changed my title lengths for news and pages to 50 chars in MySQL. Is this going to cause any issues?
Last reply by mrredbeard, -
- 1 reply
- 1.7k views
Hello all, I would like to know how to create pagination in phpvms my site!
Last reply by tutmeister, -
- 5 replies
- 3.2k views
I am looking for a code, a module, etc. that will automatically analyze a submitted PIREP and automatically reject them based on certain perimeters, ie. -1000fpm landing rate. I have found this post; http://forum.phpvms.net/topic/3450-auto-analizing-pirep/. However I cannot decipher what they are talking about. Any help would be greatly appreciated. -Allen FSX Fleet
Last reply by mattia, -
- 6 replies
- 2k views
Hey guys, I'm looking to getting into coding a module for my Virtual airlines and need a little bit off help. I want to create a module that shows things like Pilots information such as Last Flight, Hub, Hours, ranks and things like that. Is there a list of all of the variables and arrays that phpVMS used to store information about pilots, if there is I should be able to work out the things I need. If there is one, can someone post a link to it. Thanks in advance!
Last reply by James142, -
- 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, -
- 3 replies
- 1.3k 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, -
- 5 replies
- 3.6k views
Hello captains' could be included in the exam center time for each question? Example: The pilot asks his take on the central of the pilot, when you open the pilot test would be required to have 10 to 15 minutes to perform this examination. PLEASE HELP ME!!
Last reply by NathanV8, -
- 6 replies
- 3.1k views
Good Evening, I am very new to phpVMS and trying to figure this section part out. I am not new to PHP but my skill level is just below an intermediate level. I have developed web_apps before but this is the first time I've tried to take something a existing system and add something to it. Anyways, I am trying to add a new filter to the original schedule_searchform.tpl file that comes with phpvms right from the download. Below are the two parts of code that I have added. When I go to the Schedules page then click on "By Airline" tab, no Airlines show up in the drop down. Tried searching the Documentation for the correct values but have no success in order to try and kee…
Last reply by Toby, -
- 0 replies
- 969 views
Hi all i write this code for the SUM of a aircraft flight hours,for single pilot, from two mysql tables <?php $query = 'SELECT SUM(flighttime)FROM ( SELECT flighttime AS flighttime FROM '.TABLE_PREFIX.'pireps WHERE aircraft = 26 AND accepted = 1 AND pilotid = '.Auth::$userinfo->pilotid.' UNION ALL SELECT flighttime FROM '.TABLE_PREFIX.'pireps_OLD WHERE aircraft = 26 AND accepted = 1 AND pilotid = '.Auth::$userinfo->pilotid.' ) AS total'; $result=DB::get_row($query); { } ?> <?php echo Util::FormatDuration($result->total); ?> but dont work in the profile_stats.tpl can someone help me thanks
Last reply by mattia, -
aACARS v1.0.0
by Guest Kendo- 5 replies
- 3.2k views
What everyone is there that is call the "aACARS" **Future** *Free Customize for VA's *Record Flight and Send FS Live Screen wich mean that on your page you will have a Photo from your Pilot Live!!. NOTE: Stay Tune for More .::UPDATES::.
Last reply by Kyle, -
- 5 replies
- 2.4k views
hi all boys You think you can have for every single aircraft stastistiche her? example: B747 Total Flights:... Total Distance:.... Average Flight Distance:.... Total Hours:.... as the page "Aircraft Reports" but each aircraft separated best regards
Last reply by mt007, -
- 2 replies
- 1.6k views
I cannot find any solution to this problem: From the module: $this->set('comment', xxxData::xxxSearch($icao)); From the template (xxx_searche.tpl): <?php foreach($comment as $com) //This is line 14 { ?> <tr> <td><?php echo $com->xxx; ?></td> And in the end it gives me this error: Warning: Invalid argument supplied for foreach() in C:\AppServ\www\fss\core\templates\xxx\xxx_searche.tpl on line 14
Last reply by servetas, -
- 0 replies
- 2.2k views
Hi everyone, I'm interested in creating a mod for my admin panel that allows my flight scheduling department to automatically generate random flight numbers via a script I set up. The only function the script serves is to generate a random flight number and store it in a MySQL database such that it can't be used again. However, right now that script is exposed and isn't apart of the phpVMS admin panel. Anyone can access it if they have the URL. To fix this, I'm interested in bringing it into the admin panel. The problem I'm afraid I'm going to have is figuring out which files I'll need to create/edit to bring this simple script in there. In advance, I appreciate your h…
Last reply by AGuyFawkesMask, -
- 0 replies
- 1.2k views
Im hoping someone can help me out. Im wanting to add to the Reports center just a montly total per airline that were flown last month. Thanks Kyle
Last reply by kharms,