Development Help
For help and support for the development of addons
515 topics in this forum
-
- 1 follower
- 2 replies
- 17.4k views
We have quite a few addons, which is great, but the problem starts happening with keeping the latest versions, and sometimes people have stuff uploaded to different places, and then hosts go down or change, and some of the stuff is lost. I would like addons to be uploaded to Github or Bitbucket (whichever you prefer, though Github is better for reasons you'll see), as a public repository. It's not too much extra effort, but it ensures that 1. your code is available 2. people want to improve your code, it's easy to do so. It's free. 3. every knows what the latest version is This is the important part: I have also created an organization at Github called "phpV…
Last reply by Kyle, -
- 1 reply
- 10.2k views
Hi guys, One of my goals in moving to Jira was to give addon-developers and users a central place to handle bugs and resolve issues. With Jira, I can now add multiple projects, and add anyone as a point on that project. So basically, if any of you addon-developers (one addon, several), want a place to handle bug reports etc, let me know. I will add you in. I'm trying to make it easier for everyone, rather than people having to register between multiple bug-trackers, it's a bit easier to have it all in one place. Community building! Cheers!
Last reply by Kyle, -
- 0 replies
- 9.2k views
There are several sets of documentation available: http://docs.phpvms.net - Main documentation http://docs.phpvms.net/api - The general API documentation http://docs.phpvms.net/internals/ - The VERY details API documentation, includes callgraphs and extra details of the phpVMS and Codon internals
Last reply by Nabeel, -
- 2 replies
- 1.2k views
Good Evening folks, My VA is trying to figure out a way to display the date of the last logged flight in the admin pilots list. I saw a code snippet that adds the last location to the panel, but I want to make it the date. Anyone have any idea how I might go about doing that? Best, Ryan
Last reply by NotAnAvgeek, -
- 2 replies
- 1.7k views
Hello folks. we are trying to downsize our MySQL database as the database is like 600 mb and our load times are absolute terrible. PHPVMS_SESSIONS is like 200MB alone. are we able to delete it? what will be lost
Last reply by SmarticleCo, -
- 0 replies
- 2.1k views
I've modified some finance datas so i can use finances and profits in the finance system but when i insert an "profit" i get an Error: There are the codes that i modified Modified.zip
Last reply by ArthurHetem, -
- 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, -
- 0 replies
- 1.5k views
Hello, Would it be possible if someone could help me create a bridge for phpVMS so that my phpBB users can log into phpVMS with their phpBB information. Thanks
Last reply by HCStrike, -
- 1 reply
- 1.7k views
Hello how can i get the new PHPVMS with bootstrap because i don't know how PHPVMS works
Last reply by servetas, -
- 0 replies
- 1.7k views
Hi everyone, ( I posted this in the wrong place before so please forgive me in advance for the dup) I am new to programming vmsPHP so please bear with me. I am looking for some help. I have created a Xplane acars. there seems that there are not many of them that work with Xplane. My work uses DATAREFs and not XPUIC. Is there a standard way of interfacing with vmsPHP ? or do you need a custom php page to accept input from an acars app? I have played with spoofing other module's webrequests and that seems to work fine. My VA's site gets all my input, position reports and PIREPS but I dont want to "come through" someone else's pages (work) …
Last reply by fleanbilly, -
- 9 replies
- 3.3k views
During all these years, I have noticed that va administrators are keen on finding a way to allow their pilots to use their virtual money. I have already released a Piloy Shop module but in reality, purchasing things in Pilot Shop does not give you extra capabilities except the downloadable items. There were a lot of virtual airline who had come back to me and a wide number of custom solutions has been offered. Solutions which can't be released to the public because most of them require special knowledge and several updates inside the core of the phpVMS system. Approximately one year ago, a virtual airline got in touch with me and requested the development of a proper…
Last reply by TennShadow, -
- 3 replies
- 2k views
Let's see how many of you are using phpVMS 5.5 and 2.1.
Last reply by magicflyer, -
- 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, -
- 2 replies
- 1.7k views
I have a module I am building where I have extracted the pilots current location based off of this code: $last_location = PIREPData::getLastReports($pilotid,1, PIREP_ACCEPTED); However, this will only output the ICAO of the airport and not its actual name. Is it possible to get phpvms to pull the full airport name as it is inside the airports table of the database?
Last reply by t_bergman, -
- 1 follower
- 9 replies
- 2.5k views
Hey. I want to use a variable of my own module in the frontage main. How I get access to that variable? I tried this Template::Set('MODULE_TEST', $clients); but does not work... Thats the answer from this topic. Many thanks!
Last reply by Karamellwuerfel, -
- 2 replies
- 1.7k views
The other day one of the pilots in my VA tried to download an item from our Fleet page which ended up resulting in an Error 404 (it was removed from the server) and prior to this we had no "real" Error 404 page. Since then, I have made a new error page within the templates folder and it displays when applicable now. However, whenever that page comes up, it shows the login box in the corner of the screen rather than the user ID of the pilot logged in. As soon you go to a different page, it shows that you're logged in properly. Is there something I need to do to make sure it shows if you're logged in or not? All I did was copy files from other pages and redo code as necessa…
Last reply by JareBearPilot, -
- 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, -
- 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.5k views
Hi everybody, I have installed the Real Booking System v1 module on my website. I have a problem during installation to the next step: In case you have installed Realbooking-v1.5_phpVMS 5.5, you will have to include the code below in your local.config.php. Define ('REALBOOKING', X); Where X please replace with a number you have not used yet. By default number 1 is defined for PAYSOURCE_PHPVMS. First I do not know or exactly put the line "define ('REALBOOKING', X);" In the file "local.config.php". Secondly I do not know what number to put to replace the "X" ... Finally I think that because I do not insert this line the module does not find me airport, plane, or line…
Last reply by servetas, -
Free flight
by kenny- 2 replies
- 2.6k views
Hi man! I wanted to know if you can also pay for free flights or charter . Now if a pilot makes a flight by checking the " charter flight" option in the ACARS , it is not paid and are not even calculated fuel costs . I wish I could also pay those who make free flights , perhaps by calculating a percentage less than the full pay ... Thanks
Last reply by kenny, -
- 9 replies
- 4.8k views
Hello, I really want to know how to add/change a Google Maps style to the ACARS map, I really want to add this style here: https://snazzymaps.com/style/55/subtle-greyscale-map But literally have no idea how to do so.
Last reply by web541, -
- 2 replies
- 2k views
Hello everyone! I'm in the process of developing and beta testing simFDR, which is a new flight data recorder for Flight Simulator as well as a cloud logbook service. It's based around the code that Delta Virtual and Air France / KLM Virtual have used for over a decade. It's a really, really good, high-fidelity flight data recorder for flight simulation. While our mission is centered around logging every flight in every aircraft (not just for Virtual Airlines) we do have an extensive VA integration API. You can read about it here: https://www.simfdr.com/va_api.do Would anyone be interested in writing a VA plugin that handles these four web services for phpVMS? I believ…
Last reply by Luke, -
- 3 replies
- 2.6k views
Hello, I have smartcars2 for my va. I want to add integrated pirep system also for extra option for our pilots. this module is free and i downlod it. but i don't know where to put which file. Is anyone already have this or know how to install ? Thanks
Last reply by OmerAslan, -
- 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, -
- 1 follower
- 1 reply
- 4.2k views
Hello, I have downloaded a free login form template but I can't make it work. My VA is at pilot.liftair.eu. Here is the code:
Last reply by Vangelis, -
- 19 replies
- 7.3k views
Does anybody know how to replace the default charts with these ones I found on the internet called Charts.js and can be downloaded here.
Last reply by ncd200, -
- 7 replies
- 2.9k views
Firstly, I'd like to start by saying my coding knowledge is non-existent, but I'd very much like to learn! How would I go about displaying a custom profile field, which is just text, on another page? Any help with code snippets or links to the right section of the documentation would be really helpful! Thanks!
Last reply by web541, -
- 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, -
- 6 replies
- 3.7k views
Hi all, I'm trying to figure out how I can go about editing the stock standard phpVMS flight board that appears under the acars map and creating a table with different shaded rows much like the image I've attached. Basically I want to edit the original flight board to look just like the digital flight boards you see on the screens at the airport. So does anyone know how I might go about creating such a thing or if there is already a code out there for it? I'm stumped as to how to do it and I'm not particularly wanting to fork out a bazillion dollars just for a page of code. Thanks
Last reply by Heritage1, -
- 7 replies
- 3.7k views
Sorry is this is posted OT. I purchased Crazy Creatives Download Center and installed it per instructions. I had to modify it for compatibility with phpVMS 5.5.x and php 5.5.45, most static functions. However, whenever I try to upload a file through admin I get the following errors: I sent a note to Crazy Creatives, however they stated earlier they were busy right now. Anyone find a solution to this error? Thank you, -Ken
Last reply by KenG,