Development Help
For help and support for the development of addons
515 topics in this forum
-
I have the pilotshop module running on my site. Seems to work. I was wondering if anyone knows the code to add to make a download available after the purchase. Maybe it's already coded in there but I'm not seeing it. Any help is appreciated. Keith (N316EC) www.westcoasthops.com
Last reply by TAV1702, -
- 2 replies
- 2.8k views
Hi, I was wondering if someone would be kind in telling me how I add a forum? Regards, David
Last reply by simpilot, -
- 4 replies
- 2.7k 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
- 2.7k 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, -
- 3 replies
- 2.7k 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, -
Hi, I wanna make an logbook for the profile page, but I get an error: Parse error: syntax error, unexpected '(' on line 225 This is the code : <?php $count = 6; $pireps = PIREPData::getRecentReportsByCount($userinfo->pilotid) ($count); <--LINE 225 ?> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo '<tr><td><div class="label label-sm label-primary"><i class="fa fa-plane"></i></div> '.$pirep->firstname.' '.$pilotinfo->las…
Last reply by Vangelis, -
- 0 replies
- 2.7k views
Hello, I am returning to the design of an ACARS in C # language. It is hosted on GitHub. The software also makes direct connection to the MySQL database, if someone can please help me make a connection with XML I'd be grateful. This project there are still some bugs and errors. But I'll be posting updates periodically until you reach a release version. Below is a list of information that have been added in this version: Latitude of Aircraft; Longitude of Aircraft; Heading on the aircraft is located; Vertical Speed; Individual situation of the landing gear; Amount of fuel in each tank of the aircraft; Temperature; Atmosphere pressure; Wind Speed; Wind Directio…
Last reply by levicosta201, -
- 6 replies
- 2.7k views
Afternoon all I’ve been quietly reading the forum for a few months now and the wealth of information available from you all that has enabled me to learn the PHPVMS system and modify it to my needs is simply stunning, I could not have done it without your help or this forum. Anyway here’s what I am after doing if someone would be kind enough to explain how to do it, I’m currently using the SimPilot group Charter system V1.0 and I would like to see the following modifications if at all possible. In the drop down list where a pilot selects which aircraft he/she wishes to use, is it possible to filter the list by active aircraft according to pilot rank? At present a…
Last reply by nexissair, -
- 1 reply
- 2.7k views
Hi everyone, I've got this great idea only I don't know how to make it work! When pilots earn their money they can't really do anything with it, so the idea is that with your money you go and "buy" a flight. So it will do "current money-schedule price= new current money" once they've done this they will automatically get the amount of hours the flight takes added to their flight hours! So is anyone willing to make this brilliant function? Vincent, www.cloudvairlines.com
Last reply by Kairon, -
- 4 replies
- 2.7k 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, -
- 0 replies
- 2.7k views
I was thinking on make an mod in the RandomFlights Module, so the airplane will be assigned to the flight when pilot click to book the Schedule, i need to do like the FLTBOOk module, get all aircrafts that match the icao code of the schedule, but the module assign the aircraft
Last reply by ArthurHetem, -
- 3 replies
- 2.7k views
I been trying to show the Last Award(image) on the pilots profile for private and public. All my attempts have failed. Does anyone have any ideas?
Last reply by Kairon, -
- 3 replies
- 2.7k views
Hi, Is there any way you could put a piece of code into a page so someone could refer the VA to a friend? Thanks, Nathan Hancock
Last reply by Jeff, -
- 3 replies
- 2.7k views
Is it possible to integrate Faacebook ? I mean that you can register via Facebook and when you've absolved a flight , it will be posted on Facebook...
Last reply by Tom, -
- 4 replies
- 2.7k 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, -
- 4 replies
- 2.7k 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, -
Double Logged In Pilots
by Guest lorathon- 7 replies
- 2.7k views
I also posted this in my kACARS forum It is still possible for a pilot to be logged in twice while using kACARS. This is from a pilot being logged in with there browser (using Cookie "A") and logged in with kACARS (using Cookie "B") To clean up your code on your frontpage you can use this snippet. This will ensure that a pilots name is only shown once. $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo " {$pilot->firstname} {$pilot->lastname}<br />"; }
Last reply by mark1million, -
- 5 replies
- 2.6k views
Is there any way to easily add code (does it have to be bootstrap), to a Mail navigation like the shout box indicator here on the forums? See image below: http://screencast.com/t/fy5Lasts I am using SimPilot's AirMail module and want to add a Navigation Link, (see below) to show the number of AirMail to be read! I want to add it to a none bootstrap skin I am working on. http://screencast.com/t/uA39Shbw But a smaller number indicator like the ShoutBox one! Is this difficult to add to his AirMail module? Thanks!
Last reply by in2tech, -
- 6 replies
- 2.6k views
Instead of displaying multiple maps, I'd like to display a single selected one from a drop down without navigating away from the current page. I can create the drop down, just don't know how to code the display of the image Ex layout: [static text] [form: select map] [selected image shows here] [static text]
Last reply by twincessna340a, -
- 1 follower
- 4 replies
- 2.6k 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, -
- 6 replies
- 2.6k views
Hello, is there any code to make some registration Fields Necessary like IVAO or VATSIM id? George
Last reply by simpilot, -
- 0 replies
- 2.6k views
Develop mobile applications for your VA Free (ANDROID and IPHONE) ! That's right you mount a aplicato the way you want, online, and studies it for free (But with limited resources, but there are plenty of resources)! You can also opt for the premium plan where you will have a higher application availability! Access the link: http://ibuildapp.com/ For more information and help please contact us by email: levi.costa1@gmail.com I hope I helped you all!!!! ;) ;)
Last reply by levicosta201, -
- 3 replies
- 2.6k views
hi guys, fantastic system just in process of skinning now, but a nice touch would be for the flag of the country the pilot is from to appear next to the name on the front page for the new hires. if its easy and simple enough could someone give it a try? Thank you Darren
Last reply by Nabeel, -
- 4 replies
- 2.6k 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, -
[Question} Flights only bookable on right day and display availabe Aircrafts on Dep Airport
by Malchor- 4 replies
- 2.6k 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, -
- 7 replies
- 2.6k views
Ok, i'm not sure what is the php code JUST! to display a template. Does anyone know what it is, please. Thanks!
-
- 4 replies
- 2.6k views
Does anyone have a copy of the PHPVMS schedule for Delta? Any help is appreciated Thanks Austin
Last reply by Sava, -
- 6 replies
- 2.5k 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, -
- 6 replies
- 2.5k views
The module I am working on, display's the aircraft in your fleet. Sounds like it has been done before, but this breaks it up into the different airlines in your VA if you have multiple airlines, such as alliances. http://malaysiava.or...ex.php/Aircraft There is a preview of it. It will have an admin side to make it easier to add the aircraft into the DB. It is still early on in the development. It will be released when it is complete.
Last reply by Strider, -
- 2 replies
- 2.5k views
How come when my pilot roster pulls from all of the hubs, some of the rows are totally different widths when it runs off of one .tpl file? http://www.spark-jet.com/index.php/pilots
Last reply by Remington Box,
