Development Help
For help and support for the development of addons
515 topics in this forum
-
- 7 replies
- 2.8k views
Hello, well I use the latest version of phpvms and noticed that both adimim center, as in the statics that I Enser, the field is blank, nothing appears? what can it be? Thank you. Link Web Site: http://absacargovirtual.freetzi.com Link Do Site: Website
Last reply by Gabriel Fernandez, -
This is a system that calculates the T/D pilot's average for its last flight. Pilots not flying Pilots with record flight Installation Manual 1° Download of the File (TouchdownStats) 2° Send the folder of the module to your website. within the system PHPVMS 3° Enter the code within the pages Profile_main.tpl and pilot_public_profile Download of the MODULE here Code to TPL <?php $somar = mysql_query("SELECT SUM(landingrate) as landingrate FROM `phpvms_pireps` WHERE pilotid=$userinfo->pilotid"); $total = mysql_fetch_array($somar); $v_total = $total['landingrate']; $linha = mysql_query("SELECT * FROM `phpvms_pireps` WHER…
Last reply by mattia, -
- 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, -
- 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, -
- 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, -
- 4 replies
- 2.8k views
in fsadds.com (downloads) Capture an area of the monitor pre-configured and converts in JPG optimized -TV send to a web (TV). For example the web of VA pilot. View Silvair TV in Silvair.org - archive picture - sends a PicasaWeb Album Any of the 3 functions selectable at any time. Can have more than 200 views pre configured. Use the views of FS to see the flight in real time. It's free and free distribution. in fsadds.com (downloads)
Last reply by Thomas, -
- 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
- 2.2k views
I have created a module to upload images for staff to use in forum posts and other areas of the site. What I want the script to do is echo out a html link for the file that was uploaded without actually parsing the code. I can get it to echo code and NOT parse it, but for the life of me I can not get it to echo the file name back to me. Can one of you experts take a peak at this for me? And please don't laugh. It was my first real true honest shot at a cool module. <?php $target = "files/upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; //This is our size condition if ($uploaded_size > 350000) { echo "Your file is too large.&…
Last reply by TAV1702, -
URL problem
by Jason- 1 reply
- 1.3k views
The problem i am having is when my module try's to open a .zip file for example or .css, the url is www.mysite.com/index.php/modulename/filename.zip. However because it includes the "Index.php" the website trys to find a module, instead of opening the file. Is there anyway i can do this so the website opens the .zip file instead of trying to find a module.
Last reply by Tom, -
- 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, -
- 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, -
- 4 replies
- 3.1k views
Hello everyone, I'm here to announce the site VAadm, will be developed in partnership with Mercosur Airlines Virtual. On the site you will find more information about my project! Will be available throughout the week downlaods for you! I'm just doing some last adjustment in templates! Link to the site: http://goo.gl/V0f3O I hope all of my work is pleasing!
Last reply by levicosta201, -
Validation of the pirep by the pilot
by Guest djetdail- 0 replies
- 1.8k views
Texte Francais : Bonjour; Pour une utilisation de phpvms comme carnet de vol, j'ai modifié le script ~/admin/templates/pireps_list.tpl Chaque pilote peut editer, valider, supprimer son rapport de vol. phpvms est un excellent travail, bravo et merci Ici le début du script modifie, le rajout est en rouge : Texte Anglais (Traduction online sorry ): Hello; For a use of phpvms like notebook of flight, I modified script ~/admin/templates/pireps_list.tpl Each pilot can publish, validate, remove his report of vol. phpvms is an excellent work, cheer and thank you Here the beginning of script modifies, the addition is in red: <div id="pireplist"> <?php if($…
-
- 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, -
- 1 reply
- 2k views
Hi Guys, Just a quick question really, I was wondering if there is anyway of replicating the 'scroll up to see live map' on a phpvms system, I think it would be a pretty nifty thing to add for the ACARS system. Joe
Last reply by freshJet, -
- 5 replies
- 3.4k views
Is there anyway to add something to be able to integrate Vatsim onto the site.
Last reply by simpilot, -
Vatsim Online 1 2
by Thomas- 30 replies
- 14.4k views
So I've been asking around for a while now and I've seen others doing the same on how to take pilot data off vatsim and display it on their website. So I googled and finally, after about 3 months of hunting found a script called "VatsimPHP". Its freeware and easy to use. If you dont know much about php, the online manual helps alot. Link: http://www.bbflights.com/VatsimPHP/ -Thomas.
Last reply by RogerB, -
- 4 replies
- 5.4k views
Hello Im trying to add on a Feature on my website for a "who is online" feature. The link to my site is www.hootersairva.org I want to put it under the newest pilot section. Any help will be helpful -Pedro CEO HootersAirVa
Last reply by freshJet, -
- 0 replies
- 1.7k views
I would like to display the last flight of my riders in the last 30 days! How can I do this?
Last reply by levicosta201, -
- 18 replies
- 5.2k views
Hi Guys, Some of you might of heard of VSN or Virtual-Skies, its like Vatsim however alot smaller, Is it possible to intergrate online pilots from there website to ours/your va's live map? There website: http://www.virtual-skies.com/ So its just the same, live map wise, just need a code or something with Js? Thanks, Thomas.
Last reply by mark1million, -
- 4 replies
- 1.9k views
Hey guys i had to do a reset on my domain and databases so i had to reinstall VMS to my website and now i get a fatal error anyone know how to fix
Last reply by RocketRod, -
- 4 replies
- 2.8k views
Has anyone ever made a basic voting booth? I badly need a way for pilot to vote on stuff on my site and right now we have no way to do it. I could use a poll option from a regular forum, but we do not use a regular forum. We use VA Forum2. It would need the option of running multiple polls at once since some would run longer or shorter than others. I am stuck between a rock and a hard place now with this one. I am not sure how to code one up at all using admin section of phpVMS.
Last reply by TAV1702, -
- 2 followers
- 10 replies
- 3k views
I have some code to put the vatsim id into a txt file and need some help. I have put the following code into the pilots_list.tpl where the vatsim id is place, and it works, but only puts one vatsim id into the text file. $vroute = fopen("vroute.txt", "w") or die("Unable to open file!"); $txt = $fieldvalue."\n"; fwrite($vroute, $txt); fclose($vroute); I have created the vroute.txt file and it has write permission. I need some help in creating this file, as it will make it easier to get my pilots into my VA's vroute community.
Last reply by Strider, -
- 2 replies
- 1.8k views
I am wanting to learn simple php development for phpVMS. As most programmers know of any language there is the "Hello World" very simple program for almost any programming language. But I do better with taking existing things and looking at them and changing them up or adding something simple. For example like I did on just one item. Added just a simple Fleet Home link to the fleet_view.tpl file on the Extended Fleet v1.0 module. That's another question, is just a page a module? Like the Pilot Center? Or does it have to have more components, like SimPilot's ScreenShots module? Which is where I saw the Previous/Next links when someone add's a new screen shot. SimPilot Scr…
Last reply by freshJet, -
- 8 replies
- 3.4k views
Anyone interested in a module that displays warning to the pilot? If interested I will be providing the module only $1. What the module does is basically: The administrator sends a warning to the pilot, the pilot receives this warning if the driver accumulates three reports the pilot is automatically removed from the Virtual Airline. What do you think?
Last reply by levicosta201, -
- 3 replies
- 3.5k views
I didn't see anything posted about the problem I had, so I figured I'd at least throw this out for anyone else who might encounter the problem I did. My install was showing ancient weather maps from around February/March and wouldn't ever update when I would look at a flight brief. A few edits in the schedule_briefing.tpl file and I fixed the problem. Enjoy. weather_map_update.zip
Last reply by AAG001, -
- 1 follower
- 2 replies
- 1.8k views
Hi all I'm currently having a go t building a module, I need a little help, is there a piece of code that I can put on the template page i'm working on during development to show me all he fields that my query is pulling from the database, obviously once I'm done the little helper code can be deleted, many thanks karl
Last reply by nexissair, -
- 2 replies
- 1.7k views
Ok, i'm trying to make a add on and i am making it only accessable for pilots but when i was logged in, i all got the red bar and my .Tpl is in the templates folder. What is wrong with this code? <?php class flightops extends CodonModule { public function index() { if(!Auth::LoggedIn()) $this->set('message', 'You must be logged in to access this feature!'); $this->render('core_error.tpl'); return; Template::Show('flightops.tpl'); } } ?> Any help would be awsome
Last reply by Kyle, -
- 19 replies
- 6.1k views
Hey guys, i'm currently toying with developing my own ACARS in conjunction with FSTools. The purpose of this ACARS is to have user input reduced to a minimum, to reduce the amount that can go wrong.. That is of course unless you, the user, would want more input? Now my aim is to produce a piece of software completely free (apart from de-branding etc, being optional) with maximum features, bug free and hopefully the best ACARS out there. It's not guaranteed that I will complete the ACARS, but I'd very much like to give something back to the guys here, and everywhere else across the aviation spectrum. So this is mainly for you to request any features that you'd like t…
Last reply by TAV1702, -
- 82 replies
- 23.7k views
Hi All, My pirpes lists are getting a tad long lately, can these pages be paginated?. I have found quite a few posts regarding pagination, but they all seem to be for schedules. Has anyone managed to do this? Thanks
Last reply by flyalaska,