Development Help
For help and support for the development of addons
515 topics in this forum
-
- 2 replies
- 2.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, -
- 2 replies
- 2.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, -
- 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, -
- 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, -
- 0 replies
- 2.1k views
As you leave the ACARS map in full screen? As the image below:
Last reply by levicosta201, -
- 1 reply
- 1.5k 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, -
- 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, -
- 8 replies
- 4.7k 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, -
- 6 replies
- 3.6k 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, -
- 2 replies
- 3.7k views
Hello all, I wonder if I can create a skin for the layout, and different profile page layout?
Last reply by levicosta201, -
- 2 replies
- 1.9k 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.5k 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
- 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, -
- 3 replies
- 3.3k 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, -
- 6 replies
- 2.2k 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.3k 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, -
- 9 replies
- 4k views
Would it be possible for anyone to create a Module to better administrate the Finances of Vairlines more realistically. I was wondering if someone would be up for making an Admin module that will allow you to: Manually set expenses and revenue streams for each flight you have in your schedules. So for example. I can make several Expenses such as Duty free, Food and drink and Landing Fee in the module. Then I can select the flights that the expense apply to, because lets face it you aren't going to sell food and drink on a 45nm island hop, especially when the aircraft flying is a 9 seater. Then again there could be an option to apply expenses to different aircraft. T…
Last reply by Oxymoron290, -
- 1 reply
- 1.8k views
Hello all, I would like to know how to create pagination in phpvms my site!
Last reply by tutmeister, -
- 0 replies
- 1.8k 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.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, -
- 6 replies
- 2.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.1k 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, -
- 6 replies
- 3.4k 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, -
- 18 replies
- 5k views
have any of you messed around with or customized the personal stats page? It's very boring, was hoping to get some ideas thrown around so it can be made more interesting ....
Last reply by Taran, -
- 8 replies
- 3.8k views
Is their a code to use that will make your website work with all web browsers. IE,Google Chrome, and Fire Fox. If u look at my site using IE and Chrome it looks wierd, but if use Fox it looks the right way.
Last reply by Sava, -
- 23 replies
- 10.2k views
Hey everyone got another technical question. I am developing a external module which will be run under the same domain but different directory to my local phpbms installation and I want to integrate the login feature, so it only displays content to users who are logged in and redirects other users to the login form. Thanks for the help.
Last reply by danydj96, -
- 4 replies
- 2.7k 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, -
- 5 replies
- 2.5k 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.7k 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.3k 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,