Development Help
For help and support for the development of addons
515 topics in this forum
-
- 22 replies
- 14.2k views
Is there anyway to have the current Contact Form have a drop down and list all the staff members emails?
Last reply by SmarticleCo, -
can somebody help me on this i want to have a plane page but i cant seem to get it working. here is how i want it to look like.
Last reply by joeri, -
Hello guys, i just got this idea about making exams on for your VA, if any could make it. You make a page and a link on the menu bar for logged in pilots, the page could look like this pic: Of course better made, i just made this very fast in photoshop. Actions: When you press the buy button the system will take ex. $10000 from your pilot account and then if succesfully taken the money it will take you to a exam page, if failed to take money it will make a popup saying that he does not have the required funds for buying this. Exam page: On the exam page you will have some questions, were atleast 6 out of 10 needs to be correct(this should be able to get changed) …
Last reply by simpilot, -
- 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, -
- 3 replies
- 1.7k views
is it possible somehow directly to include the notam´s to the schedule_briefing?
Last reply by hjhjhgjgjh, -
- 4 replies
- 3k views
Hi, ok this is what i want to do... we are on the pilot briefing page.. the departure icao is EDDT and the arrival doesnt matter for now. the weather map should now automatically show a map of europe instead of one from america or whatever. BUT if the icao is like KJFK, it should show a map of america of course. i started like that <?php if (substr('$schedule->depicao', 0,1) == 'E') { echo '<img src="map for e.g. europe" />'; } elseif(substr('$schedule->depicao',0,1) == 'K') { echo '<img src="map for e.g. north america" />'; } else { echo 'no map available'; } ?> but somehow it always shows "no map available".…
Last reply by hjhjhgjgjh, -
- 11 replies
- 3.5k views
Sorry - This didn't work.
Last reply by Tom, -
- 35 replies
- 8.1k views
Is it possible to add automatic fuel calculations? Those do not have to be extremely accurate but can be used as a general value. So it goes like that.. if aircraft = MD11 -> Fuelflow x kg/h * hours flighttime + y% extra fuel = required fuel (which should then appear in the briefing) or something similar
Last reply by Ashj24uk, -
- 7 replies
- 3.5k views
Hello guys, Im trying to create a drop down menu, however, failing, BADLY. i was wondering if anybody had a code for a simple drop down menu that can be used with phpVMS? Thanks, Thomas.
Last reply by Tom, -
- 1 reply
- 2.2k views
Hi, I was wondering if anyone had an Teamspeak Integration Module for automation registration? What we would like is for a new member to join and our server would automatic register them for teamspeak and phpbb forums. Any direction would be greatly appreciated. Thanks
Last reply by mark1million, -
AIRMail beta2 1 2
by simpilot- 33 replies
- 8.5k views
AIRMail beta2 New Features 1 - Drop down of all pilots for "To" field when sending new AIRMail 2 - Option in dropdown of "NOTAM" which sends the AIRmail to all pilots of the airline 3 - Streamlined code to only use pilotid in the db so if a pilot switches airlines or the airline changes it's code the pilots AIRMail will still be available 4 - Function to delete sent items out of your sent items list 5 - Function to show pilot if there is new AIRMail waiting (With Animated Image!) 6 - Added function to insert "No Subject" in the subject line when an AIRMail is sent so it can still be opened by the receiving pilot(s) 7 - Function added to deny sending AIRmail with t…
Last reply by simpilot, -
- 0 replies
- 1.8k views
Modules have been overhauled, a-la CakePHP-esque style controllers. For instance, in the past there needed to be a router inside the "Controller" function: For instance, the URL index.php/mymodule/doaction Previously, the code for this would be: <?php class MyModule { public function Controller() { switch($this->get->page) { case 'doaction': .... break; } } } ?> Has now been simplified to: <?php class MyModule { public function index() { } public function doaction() { ... } } With the index() function replacing th…
Last reply by Nabeel, -
- 1 reply
- 1.5k views
Is it possible, that the METAR from Destination and Departure airport is included into the flightlog? We have a CATIII Training and so on and pilots are required to do that otherwise, their PIREPs sent at bad weather wont be counted (We will check that manually but we need their metars and it should also be automaticly included into the given FSACARS config in the system)
Last reply by RogerB, -
- 2 replies
- 2.1k views
Hi folks Is there an addon that will give pilots access to pages/areas of my choosing only after they have filed say 5 successful PIREPS? I have a discount deal with a top scenery developer and dont want members joining up just to get the code, so i need to limit access to this code. I'm no good with php but I'm assuming a line or 2 could check a pilots total pireps against the required amount and grant access? Hope someone can help, Dave.
Last reply by Nabeel, -
- 47 replies
- 12.2k views
Hello everyone, I am in process of finishng up a new class for phpVMS that details statistics for your VA. I have attached a screenie from my development server with the stats that are built so far. Anyone have any suggestions for anything else you think a VA would like to have stats for? Total - Flights, Pilots, and Hours are already built into the phpVMS app. The rest come out of the new class I am building.
Last reply by shiljo, -
- 3 replies
- 1.9k views
This idea has been in my head for a while now, because although there is phpBB modules which can automatically register people in, it'd be really cool if the forums connected to the same MySQL table for the pilots and users, so after you have installed it the users are on there and do not need to log in to the other forums. So this is my basic idea, a simple discussion board (which can be made more advanced as versions are updated) and the user database is simply connected to the exact table which phpVMS uses. Simple. Also the administrators, staff as well as pilots are automatically distinguished and ranks, flight hours, etc are displayed too. I think it'd be really co…
Last reply by goldenairways, -
- 7 replies
- 3.8k views
Hello auguem have a php or html code of statistics for the total value of the home riders, acrafit total, total hours, total flights, all logs,
Last reply by g3r84, -
- 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, -
- 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, -
Hey Guys, Recently I have been working on a PAX module when I hit a stump. I was going to take special events ( such as christmas and easter etc.) and make them high flow days were the PAX would increase. Now after adding these into my module set, An idea spurred into my head. Why dont i take a break from this hard stuff and make something simple we can all appreciate?!?! SO! Over the next few weeks I will be working here an there on an events module! The events module will show up in the content area of your Administration panel and will allow you to add/remove/modify events to the system. These events will feature a short description >20 words and an optional thumbn…
Last reply by G-NEWC, -
- 7 replies
- 3k views
Nabeel fixed the latest bids module, there is a read me included. You don't need to alter tables or anything else. Bids_module.zip
Last reply by mobitu, -
- 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, -
- 8 replies
- 3.5k views
Just wondering and i think it would benefit others too, could it be possible to make a module that when you post news to your site, it makes a post in the forums containing the same as the news on the front page of the site? I plan on getting a book on php soon, when i do i will try and have a go at it myself, but if someone else is willing to have a go at it that's great. Cheers Dan C
Last reply by homer09001, -
- 6 replies
- 2.9k views
Hello, I'm looking for a small tool which I can make pictures galery?
Last reply by Nabeel, -
- 0 replies
- 1.9k views
Hello .. good eh just wanted to tell that to successfully implement phpvms light box, I made it compatible totalmete .. soon open a test account to try the system .. I changed bstante .. Boxxer light of the bad is that when you leave a lot to be updated pe cuiddo with the files you have to upgrade.
Last reply by novamix, -
- 2 replies
- 2.6k views
A little modification I made to the rank editing page on the Admin panel I thought I would share. 1. Open "/admin/templates/ranks_allranks.tpl" 2. Find this code: <tr> <th>Rank Title</th> <th>Minimum Hours</th> <th>Pay Rate</th> <th>Total Pilots</th> <th>Options</th> </tr> 3. Replace with: <tr> <th>Rank Title</th> <th>Minimum Hours</th> <th>Rank Image</th> <th>Pay Rate</th> <th>Total Pilots</th> <th>Options</th> </tr> 4. Find the following code: <td align="center"><?php echo $rank->rank…
Last reply by homer09001, -
- 17 replies
- 4.6k views
PHPVMS User Activation Module =-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Author: Daniel Hill Date: 28 May 2009 Version: V1.2 Description: ------------ This module allows pilots to verify their accounts themselves. File Information: ----------------- RegistrationData.class.php - Default file, for use if you have installed previous versions of this module. email_registered.tpl - contents of this file is what is sent in the regisration e-mail. MemAprv/MemAprv.php - this file activates the account and echo's a succesfull validation message with a link to the login file. How to Install: --------------- 1. Copy email_registered.tpl to your current skins folder found here: /l…
Last reply by packo88, -
Latest Bids 1 2
by nexiss- 36 replies
- 11.2k views
Hi all, I have finaly cracked it (well sort of) not bad for a php virgin lol I have to say I am no php coder and am stunned that I got this far! which to be honest I wouldn't have done if it wasn't for all you good people on the forum offering advice and Nabeel pointing me in the right direction, and his tutorials Feel free to use what I have done so far and if you fancy getting it to do what I need it to do (making links Clickable) and don't mind letting me have a copy please feel free, if no one develops it I will try eventually but I've got alot more learning to do first. Once again thankyou to all those that helped me. Regards Karl Latest Bids.zip
Last reply by RogerB, -
- 8 replies
- 3.5k views
Dear All, I have created this post at a long shot and was looking to see how it went. People have asked me recently what is the best software to use for airlines without needing a web master. I believe that phpVMS is far superior for its kind, yet one thing that have turned many people away are its lack of add ons. As many people may have noticed various virtual airlines are now in call for a 'Training Academy'. I myself cannot code PHP but I have pretty good knowledge of working in Virtual Airlines to find what they need. I believe more airlines would begin to use the software if this was available. I am therefore asking if there is anybody who has good knowledge of p…
Last reply by homer09001, -
- 24 replies
- 7k views
Does anyone know if it's possible to have a passenger boarding thing on the front page? I'm kinda weak and only know basic HTML and some CSS I guess. I can edit things on a small level, so I don't think I can figure this one out on my own. Thanks.
Last reply by AFVA | Mitchell,