Development Help
For help and support for the development of addons
515 topics in this forum
-
- 24 replies
- 5.8k views
What Is It?- The PilotShop is a free, open source module that will allow your pilots to put their money to good use to purchase an array of items! The idea is to take the PhpVms's finacial system and allow the pilot to use his/her money made from flying to purchase anything ranging from training,ratings,badges etc. . The pilot shop will have an AJAX interface that will display the items added through the Administration panel through different store fronts which pilots can view. Idea applied- So say I was starting a low budget regional airliner operationg out of KACT(Waco regional). Now when my pilots join they are conisdered as active and can start flying flights accor…
Last reply by joeri, -
- 10 replies
- 2.5k views
I am looking for a couple of folks to help test a forum board I am working on that runs inside of phpVMS prior to the beta release. Would prefer folks with some php MVC and sql knowledge, and also running at least beta 785 or newer. Post a reply or pm me. Thanks!
Last reply by simpilot, -
- 21 replies
- 3.9k views
Ok this may have been talked about some where else but I would like to add a Module to my site that will show the latest forum post. Such as Tom uses on his site. http://www.europeangateway.info/ Let me know if you can . I use phpbb and smf. I will have all the members use which ever one is easiest to set up the code with. thanks for you time. Lloyd Mendenhall http://vmac.info
Last reply by simpilot, -
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, -
- 1 reply
- 1.8k views
Hello all, i would like to know if someone could create a module that sends via email every 1th of month 6-8 routes to be flown by the captain as monthly assignment. The best would be to have a module on pilot center that shows the monthly assignments. These routes must be flown on the same aircraft (for example Airbus 320 and in case if the pilot has two choices - also for example B738, maybe he can choose at the beginning on a checkbox?). If it's always possible it could be great to sort the routes to assign randomly based on the flight numbers. For example, a junior captain would do only local flights (in my case only Italy) a higher officer could start receivi…
Last reply by Simon VVair, -
- 2 replies
- 1.4k views
Is there any mod that displays the pilots names that are logged in?
Last reply by flyalaska, -
- 2 replies
- 1.3k views
I need some help. Can some show me ho to display the pilots total cash or can someone make a mod for that. Just like I made in this graphic, top left corner.
Last reply by flyalaska, -
- 3 replies
- 1.6k views
is it possible somehow directly to include the notam´s to the schedule_briefing?
Last reply by hjhjhgjgjh, -
AIRMail beta2 1 2
by simpilot- 33 replies
- 7.7k 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, -
- 5 replies
- 1.7k views
I was thinking of adding to my PHPVMS the XACARS, I would like to know how to do. of already I am grateful for the help. Luiz Cortinhas (RICO VIRTUAL) www.ricovirtual.br.tp
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, -
- 7 replies
- 3k views
Ok so I am adding a pilot country field to the registration form and have already edited the registration_mainform.tpl, RegistrationData.class.php and the registration.php files. How I edited - The template- I added a drop down box, set the value of the box as country and entered the country data and the values aswell. The registration.php- <?php function ProcessRegistration() { // Yes, there was an error if(!$this->VerifyData()) { Template::Show('registration_mainform.tpl'); } else { $firstname = $this->post->firstname; $lastname = $this->post->lastname; $email = $this->post->email; $code = $this->post-…
Last reply by Nabeel, -
- 0 replies
- 1.5k views
Work in progress: http://docs.phpvms.net/2.0_upgrade_guide Trying to denote specific changes. I hope this will make it much easier. For those writing add-ons, I'll let you know in advance when it's stable enough that you can port your addons over. I would recommend though, writing against the latest beta, and releasing them for the latest version, which should be due soon.
Last reply by Nabeel, -
- 11 replies
- 3.1k views
Sorry - This didn't work.
Last reply by Tom, -
- 4 replies
- 2.9k 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, -
- 7 replies
- 3.3k 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, -
- 0 replies
- 1.6k 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, -
- 11 replies
- 6.9k 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, -
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, -
Latest Bids 1 2
by nexiss- 36 replies
- 10.4k 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, -
- 1 reply
- 1.4k 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, -
- 11 replies
- 2.8k 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, -
- 2 replies
- 2k 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, -
- 3 replies
- 1.8k 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
- 2.9k 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, -
- 9 replies
- 3k views
Has anyone created a module that creates an account in phpbb3 when signing up with the VA that they would be willing to share or would be willing to give some pointers on how to create a module that I could create and share with everyone. Many thanks Karl
Last reply by novamix, -
- 3 replies
- 2.2k 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.2k 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.7k views
Hello, I'm looking for a small tool which I can make pictures galery?
Last reply by Nabeel, -
- 17 replies
- 4.2k 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,