Development Help
For help and support for the development of addons
523 topics in this forum
-
- 2 followers
- 10 replies
- 2.5k 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.6k 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
- 3k 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.2k 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.4k 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.5k 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
- 5.4k 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, -
- 1 follower
- 82 replies
- 21.1k 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, -
- 4 replies
- 4k views
Thought I would share this with you guys so that you dont have to put a support topic saying that the METARS dont work Departure: <iframe src="http://www.vatsim.net/data/metar.php?id=<?php echo $schedule->depicao; ?>" class="metar" width="350" height="75" frameborder="0" scrolling="no"></iframe> Arrival: <iframe src="http://www.vatsim.net/data/metar.php?id=<?php echo $schedule->arricao; ?>" class="metar" width="350" height="75" frameborder="0" scrolling="no"></iframe> Change it in the Schedule_brief.tpl -Thomas.
Last reply by Fly Star Alliance, -
- 6 replies
- 1.8k views
The module I am working on, display's the aircraft in your fleet. Sounds like it has been done before, but this breaks it up into the different airlines in your VA if you have multiple airlines, such as alliances. http://malaysiava.or...ex.php/Aircraft There is a preview of it. It will have an admin side to make it easier to add the aircraft into the DB. It is still early on in the development. It will be released when it is complete.
Last reply by Strider, -
- 1 reply
- 1.5k views
I am working on code to get the charts for the airports your VA arrives and departs from working, so you can always have in the schedule pilot brief a dep and arr charts. http://malaysiava.org/index.php/schedules/brief/91 Take a look there, the code is simple. <img border="0" src="<?php echo SITE_URL ?>/lib/images/charts/<?php echo $schedule->depicao?>.png" width="387px" height="594px" alt="No chart available" /> <img border="0" src="<?php echo SITE_URL ?>/lib/images/charts/<?php echo $schedule->arricao?>.png" width="387px" height="594px" alt="No chart available" /> All that is required is for you to create …
Last reply by mark1million, -
- 20 replies
- 7.1k views
WORLDACARS STATUS: FSUIPC and XML Development As some of you know I am currently working on a new ACARS program that fully integrates into phpVMS. Features: - XML provides quick and easy data transfer between phpVMS and WorldACARS - VA Flight Plan search - ***Software Development Kit*** - XML PIREP Saved when sent to server encase of failure. About the SDK: The WorldACARS SDK provides virtual airlines the choice to change the layout and design of WorldACARS through Visual Studio (2008 recommended). What the SDK Includes: - Original Project Files - Tutorials ACARS Requirements: - Microsoft Flight Simulator 2004 or X - FSUIPC - Latest Version of .NET Framew…
Last reply by mark1million, -
- 5 replies
- 1.6k 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,