Development Help
For help and support for the development of addons
515 topics in this forum
-
- 3 replies
- 2.5k views
Hello, For my VA i want to change the pilot list to show the pilots not by all of our hubs but by an Custom Field Value. The name of this field is Status and the three possible Values are "IVAO Pilot" "Active Pilot" and "Inactive Member". It would be great if you could help us. Thank you, Bastian Wagne (Cologne International VA)
Last reply by ctabuyo, -
- 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, -
- 1 follower
- 5 replies
- 2.4k views
Hi folks I desperately need some assistance for the following - this is for a custom profile field (and it is populated in the table ) Here is the PilotData.Class.php function: public static function getFieldValue($pilotid, $title) { $sql = "SELECT f.fieldid, v.value FROM ".TABLE_PREFIX."customfields f, ".TABLE_PREFIX."fieldvalues v WHERE f.fieldid=v.fieldid AND f.title='$title' AND v.pilotid=$pilotid"; $res = DB::get_row($sql); return $res->value; } In the layout.tpl file, I am trying to display the data as follows: <strong>Pilot VID: </strong> <?php echo PilotData::getFieldValue($pilotid, 'IVAO'); ?> I am getting nothing I have al…
Last reply by clock, -
- 3 replies
- 2.4k 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, -
- 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, -
- 0 replies
- 2.4k 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, -
- 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, -
- 1 follower
- 5 replies
- 2.4k views
Hi there , Can anyone tell me what the code would be to make FORUM link to http://www.caalair.com/core/modules/forum/index.php in my core_navigation.tpl Thanks
Last reply by fsxsimulation, -
- 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, -
- 3 replies
- 2.4k 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, -
- 0 replies
- 2.4k 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, -
Double Logged In Pilots
by Guest lorathon- 7 replies
- 2.4k 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, -
- 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, -
- 1 follower
- 8 replies
- 2.4k views
Hello All! I am trying to develop a table like what is in the image below. I assume it will deal with if statements like if pilot lands KSFO display a checkmark. ELSE display a red x.
Last reply by StartVM, -
- 3 replies
- 2.4k 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, -
- 1 follower
- 6 replies
- 2.4k 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, -
- 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, -
- 1 reply
- 2.3k views
hi guys is there a way to make your own flight tracker software for phpvms, if so how and can u point me in the right way of how to make ome Thanks
Last reply by Kyle, -
- 1 follower
- 3 replies
- 2.3k views
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, -
- 3 replies
- 2.3k 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, -
- 7 replies
- 2.3k views
Ok, i'm not sure what is the php code JUST! to display a template. Does anyone know what it is, please. Thanks!
-
- 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, -
- 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, -
- 5 replies
- 2.3k 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, -
- 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, -
- 6 replies
- 2.3k views
Hello, is there any code to make some registration Fields Necessary like IVAO or VATSIM id? George
Last reply by simpilot, -
- 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, -
- 2 replies
- 2.3k 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, -
- 0 replies
- 2.3k views
Add to pilot_public_profile.tpl(It is in public_html / Core / Templates) <?php if(!$pireps) { echo '<p>Sorry No recent flights have been found</p></div>'; return; } $flights = PIREPData::getLastReports($userinfo->pilotid, '5'); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> <p align="center"><strong>Pilots Recent Flights</strong><br /><img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=685x360&PM=pemr:star10:red%2b%22%25I%22:white&PC=blue" /><br /> Maps generated by the <a href="http:…
Last reply by Rafael, -
- 0 replies
- 2.2k views
I keep getting this could someone help please thanks Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u738424892/public_html//lib/skins/crystal/<h3>Registration</h3>< p>Welcome to the registration form for FSNetwork. After you register, you will be notified by a staff member about your membership.</p>< form method="post" action="http://www.cpmgaming.net/index.php/registration">< dl> <dt>First Name: *</dt> <dd><input type="text" name="firstname" value="" /> </dd> <dt>Last Name: *</dt> <dd><input type="text" name="lastname" value=""…
Last reply by brandonlea,