Development Help
For help and support for the development of addons
515 topics in this forum
-
- 16 replies
- 4.8k views
Go to core/common/TouchdownStatsData.class.php Add this to the file: public function get_planemd11_stats($howmany) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND Aircraft = '2' ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); } planemd11 can be edited to the plane that you would like to show. AND Aircraft = '2' the 2 can be changed to the aircraft that you would like to show. (See the phpvms_aircraft table) So in my…
Last reply by MrAmsterdam, -
Landing rates by month and all time
by Guest Stormchaser- 1 follower
- 16 replies
- 4.7k views
My pilots love the landing rate module and have had a few requests to do it by month instead for all time. I have pilot stats module and landing rates combined on one page. Wondering if there is a way to combine top pilot module and landing rate module into one so landing rate pulls by month. Not much of a coder before I started this but learning how to copy and paste pretty good to manipulate code. Just asking if someone has done this already save me a great deal of time. And by the way always like to say thanks for phpvms!
Last reply by Wingthor, -
- 16 replies
- 3.8k views
As some of you have seen in my post in the va section, I have a codeshare module. It at the time did not have an admin side thus I had to add all the codeshares in manually. I have now since created a module, using Simpilots events as a base but edited to add in new codeshare routes. The adding of the codeshares works a dream, it adds the new route into the codeshare table and all. But the main view where you should see the ones currently in the db do not show. And I cant for the life of me work out why. I have switched the way the if else statement looks at it and it just gives me an error, saying an invalid argument supplied for foreach. <?php $this->show('code…
Last reply by Strider, -
- 15 replies
- 5k views
Just curious if anyone has ever got a Image Gallery integrated into phpVMS that uses current login info without the pilot having to register for another script to use. I like the Forum that Simpilot released how it is threaded into phpVMS. That is what I am after. Has anyone ever released one or got one to work like Forum?
Last reply by selwynorren, -
- 15 replies
- 7.3k views
Hi all, I currently have som spare time, and wants to refresh my PHP knowledge. I also want to have a nice frontpage showing new awards. So I need a lot of them. The deadline for the project is currently open. First question is that if this is build before? Second is I could need som input creating awards. I have pasted in the result of my brainstoring below, but need som input from the public. The system is a kind of inspired by FSX own award system. Hopefully it can contribute to an internal and friendly competition among your pilots. The awards must be based on objective data from an acars system. So the data must be there, and the data must be able to be extraced w…
Last reply by mark1million, -
- 15 replies
- 4.8k views
Hi phpVMS people, I am always on the go, and when I get a moment, it would be great if I could do some work on my airline, but the iPhone will not let me type anything on that page. My main question is: Can an app be made for the iPhone to manage phpVMS? I can do most of the coding, but the connection is where I could use some help. Thanks, David Oliveira Verazano Virtual
Last reply by vader21, -
- 15 replies
- 27.6k views
I know this is a long shot, For the few who use IP Board, is there a MOD that will automatically register a new pilot to the board?
Last reply by BAPilot, -
- 1 follower
- 15 replies
- 16.5k views
Greetings, This is just a quick note for those of you looking to add advanced dispatch and flight planning tools to your VA website. As of a few weeks ago, there is a new SimBrief API available which makes this easy! The SimBrief API has been designed to give you full control over the dispatch process by keeping your users on your site. When a flight plan request is made, the API will return a massive data file containing nearly every variable used to calculate the flight plan, including the OFP text, weather/NOTAM data, detailed fuel and time figures, and an assortment of flight maps and downloadable flight plan and FMS data formats. Using this data, one could create s…
Last reply by SimBrief, -
I am in the process of creating my own dashboard module, a couple of quick questions. Does all of the php code need to be the module/module.php file? Or can most of the code be placed in the template/template.php file? I'm currently trying to figure out why a form of my is not working, when the form is processed the browser moves onto the process page url but the actual content does not change. Why would this be happening? Thanks,
Last reply by t_bergman, -
- 14 replies
- 10.3k views
I have made a very simple list of all aircraft configured for my VA that show all information stored in the table phpvms_aircraft with links to images and to download the aircraft. If links are not configured in your aircraft table the interested row show "image not present" or "download not present". The last column show the status (enabled/disabled) of the aircraft. Just copy Fleet.php in /core/modules/Fleet (directory Fleet must be created) then copy fleet.tpl in /core/templates You can see a preview here I have made a link to show this list to all the pilots of the VA ciao - Gianni Fleet.zip
Last reply by DanL, -
- 13 replies
- 4.9k views
Hi, looks like i am simultaneously working on several projects but actually, they are all just a part of what i will show you now. When i was flying, i had to keep my browser open to get all necessary informations and i couldnt print them out because of some style issues (it just looked bad and i hate bad looking things) So i am currently working on a huge addon, which outputs a complete flight briefing for you guys. It includes the complete flightplan, weather informations and maps, EET (currently working heavily on it so those EETs will be generated automatically) Aircraft weight and fuel plannings, ETOPS information, Alternate Airport + Enroute Alternates (including f…
Last reply by Nout - Zon Executive, -
- 13 replies
- 28.4k views
Hello everyone, After much confusion, I have finally completed my phpBB automatic registration script. Before publically releasing it, I am going to allow a select few to use it for testing/feedback purposes. Requirements Your phpBB installation must be in a folder in the root of your installation ie. if your site was in /home/me/, your forum must be in /home/me/forum, for example. For optimum performance, you must have the ability to add a 'forum' column to your phpVMS 'Pilots' table, which will contain information about a user's linked forum account, to prevent them from registering twice. Your phpVMS tables and phpBB tables should be in the same database. You can…
Last reply by tazosmr, -
- 13 replies
- 6.1k views
Hello, i request any php now well i have more one images, and i put 3,4 or more images in my header logo, bat i need a rotate code to make this. Similar a flash. Where is cod of my header logo i want put more one images rotate in this part. Thanks
Last reply by Thomas, -
- 13 replies
- 5k views
Hey everyone, I just recently released a module and I ran out of ideas of what other modules I could make and free for phpVMS users. If anyone has a good module idea, please let me know. Not something that is too complex to work on. Something not too much. Let know if you are looking for something and then I'll consider your ideas. Thanks!
Last reply by pachaleke, -
- 13 replies
- 4.3k views
I will provide this acarsmap system for sale if anyone is interested. I will be selling for a price of $ 10, I think it fair. Link: HERE Hello guys, take a look at my acars map, and please give suggestions of what found. LINK: acarsmap
Last reply by levicosta201, -
- 12 replies
- 6.1k views
This was my half term (+ like a week :) project. Basically, you add your aircraft, select a type and enter a callsign, enter the table name of your aircraft table (by default phpvms_aircraft - this is only if you changed the prefix) and click create It then creates you a .sql file with all the rest of the information (full name, icao, empty weight [lbs], cruise speech [mach] etc) for you to import straight into your database. It's only really a one time use thing, unless you want to add bulk aircraft, or just cant be bothered to enter the information yourself, but I learnt making it so Have a go: http://www.europeangateway.info/fleetsql/ Please let me know if you …
Last reply by topher2880, -
custom stats
by md82- 12 replies
- 4k views
hi ! I wanna add a "online flights" stat to my airline stats section. I made a custom pirep field dropdown "flew online" with the option "yes or no".. Is it possible to have a code that if "yes" was selected it would add to a online flight total displayed on the front of my page ? thanks !
Last reply by md82, -
- 12 replies
- 9.3k views
Has anyone ever built into the VMS system a chat system. Like other web sights out there. For either Registered users or unregistered users. If anyone has any Idea how to do this I think it would be a pretty neat feature to add in. Destrey Trainham http://www.northstarexecutive.com
Last reply by Michael2015, -
- 12 replies
- 5k views
Today I was thinking of a module where you can check up on aircraft maintenance and line checks. So, for example, you have a list of your fleet in the Admin panel and column says 'Last Check' and then the name of the check and the date it was carried out, like this: Registration | Last Check | Next Check It could also link to your expenses so that each check costs you, and perhaps even make the aircraft inactive for a day or so so that no one can fly it. Thoughts?
Last reply by Tylor Eddy, -
- 12 replies
- 4.5k views
I just though this would be a good idea? A training center where pilots can request training and it will notify us in the admin center to respond to them. Will also have fully functional add awards once the pilot has completed the training.. What do you guys think?
Last reply by BastiDE, -
- 12 replies
- 7.7k views
This is a table where you can show your visitors the flight board with arrivals and departures. Installation: 1- Unzip file. 2- Upload the files into your skin folder. Note: DO NOT REPLACE IF YOU ALREADY HAVE A FILE WITH THE SAME NAME. Instead you can copy and paste the contents in the files you already have. 3-enjoy Here are some pix: FlightBoard.zip
Last reply by simonecatalano, -
- 1 follower
- 12 replies
- 4.1k views
Hello All, When somebody flying a circuit the acarsmap will not show the flights. I think it has something to do with the fact that the distance is 0 and the remaining time is 0. But I don´t have a clue where to change that. Does more people have those problems and better does somebody has a solution for this little problem. Regards, Cor
Last reply by Cor, -
- 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, -
As said in the title, the first 5 to comment on the post will receive free a chat (DESKTOP PC) to your Virtual Airline! Contact: chatphpvms@gmail.com
Last reply by levicosta201, -
- 1 follower
- 12 replies
- 3.3k views
Hello fellas. I am curious if anyone ever came up with an addon for the news module to make it so if one had created hub pages, one could post news for that hub only instead of it showing up on the front page as airline news. I have saw it done before, just not sure anyone ever released anything publicly. Later on guys. Have fun!
Last reply by freshJet, -
- 12 replies
- 6.6k views
Hello everyone! I'll talk about my project to manage phpvms on your PC! I still have no date for the launch of the project! Provavelmete be released under free license (so I ask everyone to help support and comments on how it's getting!). I will be posting pictures below as is getting under my project! Hope everyone is enjoying at least to see the pictures! I will be creating a portfolio site for me with the project! PS.: Sorry my english, I'm Brazilian!
Last reply by levicosta201, -
- 1 follower
- 12 replies
- 2.6k views
Having some issues with logging in externally (as in outwith my main site). Happening on both my Portal (www.freshjetvirtual.com/portal) and mobile site (m.freshjetvirtual.com). Both login forms have blank actions and so submit to themselves and I handle the login on the same page. It uses the Auth::ProcessLogin() function and seems to happily log the user in, however the user is then redirected using javascript, using the portal as an example, to the home page, otherwise the incorrect password error is displayed. However, once redirected, the user is logged out again and hence redirected back to the login page. The issue here is that it works fine on desktop computers, …
Last reply by Tom, -
- 12 replies
- 3.8k views
I am currently updating Pilot Awards System. The next version will include an auto award system. Can you suggest me any criteria? Currently, i have already added the hours and flight criteria. (An award will be assigned after completing x hours or after completing y flights).
Last reply by servetas, -
- 11 replies
- 3k views
hey guys, would it be easy to add further information to the latest pirep report on the frontpage, for example adding departure and arrival ICAO's, duration and if the pirep has been approved or not. i am just looking into doing this myself but im a relative newbie to php so it might take me some time, feel free to help me cheers Darren
Last reply by Nabeel, -
- 11 replies
- 7.1k views
Originally from this topic: http://forum.phpvms.net/index.php?topic=272.0 <?php class ForumRegister extends CodonModule { public function __construct() { CodonEvent::addListener('ForumRegister'); } public function EventListener($eventinfo) { if($eventinfo[0] == 'registration_complete') { $userinfo = $eventinfo[2]; $fname = $userinfo['firstname']; $lname = $userinfo['lastname']; $pass = $userinfo['password1']; $email = $userinfo['email']; $code = $userinfo['code']; $uinfo = PilotData::GetPilotByEmail($userinfo['email']); …
Last reply by AJM101,