Development Help
For help and support for the development of addons
515 topics in this forum
-
- 4 replies
- 2.7k views
Hey, How to put in each profile pilot a Medium Landig rate? Thanks
Last reply by simpilot, -
[Question} Flights only bookable on right day and display availabe Aircrafts on Dep Airport
by Malchor- 4 replies
- 2.2k views
Hello Guys, I am a realy Noob on PHP. I have a two Questions. 1. Can some one help me to prepare the Schedules Flight Page that only the Flights from your last arrival Airport and the Flights by the right days will displayed? A Flight only on Tuesday shall only shwon on Tuesday. 2. In this reason I want to display also the available Aircrafts on Dep Airport and if there are no Aircrafts you must order an aircraft from a other airport at a small charge. Is this possible together? And can some one help me pls. Thanks in advance. Malchor
Last reply by TAV1702, -
- 4 replies
- 2.4k views
Hey all, I am wondering if it's possible to create a code that can show the top 10 most flown routes. I know i can see it in the admin panel but i would like it to be available as information for my pilots as well... just a thought, hopefully someone knows the answer? :-) Regards, Lucas
Last reply by CPC900, -
- 4 replies
- 2.4k views
Hi, Would it be possible to codeshare with other virtual airlines using PHPVMS? That way, when the pilot of the other virtual airline files a PIREP, the codeshare virtual airline will get charged for it, but will get the flight hours / miles credited. Just an idea, Jamie - www.flybia.cz.cc
Last reply by jamlava, -
- 4 replies
- 2.1k views
Hi i just had an idea not sure if it would work but i dont see why not, i have various request to add routes in to my VA that currently are not there, this is because i dont have access to the realworld schedules, however what i was looking to do is create a form pilots could fill in the information and post pending moderation and that data could be imported in to the system. The form would need to contain all the correct fields required for a csv import or even a direct sql import once moderated. The data could be stored directly in to the database, i suppose another table could be created for this and once moderated a click could be put in to the correct phpvms table f…
Last reply by mark1million, -
- 4 replies
- 2.8k views
Has anyone ever made a basic voting booth? I badly need a way for pilot to vote on stuff on my site and right now we have no way to do it. I could use a poll option from a regular forum, but we do not use a regular forum. We use VA Forum2. It would need the option of running multiple polls at once since some would run longer or shorter than others. I am stuck between a rock and a hard place now with this one. I am not sure how to code one up at all using admin section of phpVMS.
Last reply by TAV1702, -
Since we have pay adjust built in to phpVMS now, I am wondering if it is at all possible to create a cron job that will pay adjust pilot spay weekly. Like say for example, a hub managers pay is $5k/wk. On a set day, the cron would run and adjust the pilot s pay according to the weekly pay rate. Problem is, if you have many different jobs with many different pay rates, how many crons would be needed and how would it know who to pay what to? I have never been a cron job wizard. What I do not know about them can fill a book. It would be REAL sweet if we can figure out a way to pay the staff their weekly pay and then have it either send them an email or even an AIRMail t…
Last reply by mark1million, -
- 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, -
I'm not one to do scripting, so if I could get some help, would be great. I'll ask questions regarding what I'm doing in this post. First off, how is a module created that shows up in the admin area as well as frontpage? Next, how can I show only 1 of each of the aicraft in the fleet on a page? edit: All this is going to be in the same module
Last reply by BBuchanan, -
- 4 replies
- 2.5k views
Any body have a template or script I can add for Pilot and Staff applications? And if so, where and how do I put it in the website. I am very new to this (coding etc..)so please bear with me, LOL
Last reply by Steve Bartlett, -
- 4 replies
- 2.7k views
Is there a code to trigger an email to a pilot when they are awarded an award?
-
- 4 replies
- 2.4k views
hello all i m looking for some help. i want to create some certivicates for my pilots when they get to a sertain rank/hours they get a certivicate with name en pilot id but for the moment i have no clue on where the start. is there annybody willing to help me out on this
Last reply by joeri, -
- 4 replies
- 2.4k views
Hi Guys, With work in progress on my new project (www.milairsim.com) I have plans to devise a few additions to PHP VMS to try and cater for the military side of this hobby. I have just started work on a Training Center Module. The idea of this will be to have a user group of Instructors, who can then create training courses. These courses in turn will have lessons which will have the content and any documents/downloads required. Pilots can book a place on a course, as long as there are free places left, and once accepted by the Instructor they gain access to the training material. The instructor can then mark each lesson as complete for a student, and hopefully if i can…
Last reply by bunoire14, -
Idea
by FlyFloridaVA- 4 replies
- 2.7k views
Not sure if i have posted this in the correct thread however i have come up with what i think to be a good idea! Basically i have noticed alot of airlines list an aircraft as a Wet Lease from another, so maybe we could maybe make or come up with a module which alows a Marketplace where people can list aircraft they are willing to lease out for a fixed time. I know this sounds silly as you can add aircraft at no cost which brings me on to my next idea. We as airlines earn Millions on Virtual $$$ and have nothing to really spend it on other than fuel and external costs... So how about make it cost us our virtual dollars to lease or buy new aircraft? Might be sounding a lit…
Last reply by FlyFloridaVA, -
- 4 replies
- 2.4k views
Do we have a mission module here at phpvms? Where we can create missions for the pilots to fly.. Aka fly this route then the next and at the end they will get an award for compleating it?
Last reply by edmundk, -
- 4 replies
- 5.4k views
Hello Im trying to add on a Feature on my website for a "who is online" feature. The link to my site is www.hootersairva.org I want to put it under the newest pilot section. Any help will be helpful -Pedro CEO HootersAirVa
Last reply by freshJet, -
- 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, -
- 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, -
- 4 replies
- 7.2k views
Ok gurus, I need your help once again. This time I am up to no good. Well, it is good so yeah. Anyhow, What I want to do is use some code to pull every image in a directory and display it on a page. I am attempting to do this using the glob function. Problem is, it is wanting to put index.php before my image directory and that breaks the images obviously. if I use the old ../ trick, the page goes blank. If I try to hard code the entire url (which i know is not right and not to do but for testing), same thing, page goes all blank. I have even tried to , even though I knew better, to use use the old php echo url thing and no such love, once again, blank page. …
Last reply by TAV1702, -
- 4 replies
- 2.3k views
Does anyone have a copy of the PHPVMS schedule for Delta? Any help is appreciated Thanks Austin
Last reply by Sava, -
- 4 replies
- 3.1k views
Hello everyone, I'm here to announce the site VAadm, will be developed in partnership with Mercosur Airlines Virtual. On the site you will find more information about my project! Will be available throughout the week downlaods for you! I'm just doing some last adjustment in templates! Link to the site: http://goo.gl/V0f3O I hope all of my work is pleasing!
Last reply by levicosta201, -
- 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, -
- 4 replies
- 1.9k views
Here is some code if you wish to hide pilots with zero hours. if($pilot->totalhours =='0'){ continue; }
Last reply by Strider, -
- 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
- 4 replies
- 1.9k 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, -
- 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, -
- 4 replies
- 2.8k views
Hello friends, I am developing a module so you do not need to create schedules one by one for their pilot. It basically does everything automatically, generating data randomly. But the module is still in beta, I'm looking for users interested in being a Beta Tester for this module so that they can send me a feedback. If interested comment below. PS.: Yes, the module will be paid, with the exception of Beta Testers. It is not easy to develop a module like this. Thank you for understanding. _________________________ STORE LBX
Last reply by levicosta201, -
- 1 follower
- 4 replies
- 2.3k views
Oh boy two ideas in one night I'm on a role! Well...Maybe. I came up with this idea after having pilots complain about having to contact HR about everything via email. My idea is to create a Resignation Form so pilots can resign directly via the website. Basically it will be a page with their name and pilot ID, and a text area for the pilot to put their reason for resignation When they hit submit, it is submitted to a table in the database and appears in the admin panel in a table (like a list) An admin could simply push approve and it will delete the pilot account, or deny and the entry will be removed. I am thinking about using the LOA Request Form that Sava made and …
Last reply by ln-asm, -
- 4 replies
- 1.9k views
Hey guys i had to do a reset on my domain and databases so i had to reinstall VMS to my website and now i get a fatal error anyone know how to fix
Last reply by RocketRod, -
- 1 follower
- 4 replies
- 2.1k views
Hi all, I am having a problem when trying to log in using both the GitHub Version and Free Version of APVAcars. Here is the error I'm getting: An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll Additional information: Conversion from string " <div id="codon_crit_error" Line affected: If GetPageAsString("verify", "&pilotID=" & My.Settings.PilotId & "&password=" & My.Settings.PilotPassword & "") = 0 Then I have removed the details from the login fields for security reasons obviously. I would appreciate any help I can get. Thanks!
Last reply by TadMiles,