Development Help
For help and support for the development of addons
515 topics in this forum
-
- 1 reply
- 1.8k views
Which file should I put the code for the addon appears on the front page of va?
Last reply by TennShadow, -
- 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, -
- 0 replies
- 1.8k views
Hello everyone, I'm having problems sending my logs to the VA acars says that the error in the database that can be? webdesign, voemercosul, http://www.voemercosul.com.br
Last reply by levicosta201, -
- 2 replies
- 1.8k views
Hey Guys, So, If you go into your admin panel where you can create custom fields you can mirror them so they show on your pilots_list.tpl, So if i made a field called "Vatsim ID" and I used this code; <?php echo PilotData::GetFieldValue($pilot->pilotid, 'Vatsim ID'); ?> It would show on my Pilot Roser/List. However, I was messing around and wondering if their is any way I can make it so I can have a custom field on my pilot_public_profile.tpl page without using the following code; <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "<li><strong>$field->title: </strong>$field-&g…
Last reply by Thomas, -
- 3 replies
- 1.8k views
Hello ! I have add one drop down custom field to registration form and i like to display this selection on pilot list.The selection is between IVAO and VATSIM... so i like to have one more field to pilot list with those data (IVAO/VATSIM) and under this to be the pilots selection.What code i have to use to do it ?
Last reply by dimitris, -
- 3 replies
- 1.8k views
I want to make just an informational page, no fancy stuff needed, just to show a skin and that's it. I've got the subdomain created, but IDK what to put in that folder at all. Any help is appreciated! Thanks
Last reply by Taran, -
- 3 replies
- 1.8k views
hi, I installed the exam module and i can get to the pilots bit but i cant get to the exams admin center i use this http://royles.eu/index.php/exams_admin is this right??? cus everytime i do this it gos to my home page and logs me out any ideas? also if u look at my site i ent finished it yet got lots to do and the background was me just messing about .. but my main site wont be all set up for atleast 2 weeks then it will look good lol
Last reply by Jeff, -
Is there a way to display stats for each hub, and have displayed on the hub pages? Pilots XX Flights XX Hours XX Miles Flown XX Cargo (lbs) XX
Last reply by faraz, -
- 4 replies
- 1.8k views
Hello friends, I have a problem pilot_list.tpl, when I installed the update some drivers disappear from the list of pilots. Only appear some riders, others not appear. What can it be? Thanks
Last reply by CN@ndo, -
- 2 replies
- 1.8k views
HI ALL in my Admin Activity Logs i want add the more notifications for example: For EventsBooking 1.3 - by: simpilot i want add the edit events in the Admin Activity Logs Best Regards Mattia
-
- 1 reply
- 1.8k views
Have any of you messed with the pilots stats page? All it shows are the two graphs which is very boring..I was thinking of adding total miles flown, cargo, their best landing things like that..
Last reply by Jeff, -
- 2 replies
- 1.8k views
How do i get sim pilots addons like top pilot to show on my homepage Thanks Jacob
Last reply by avdesigns, -
- 1 follower
- 2 replies
- 1.8k views
Hello Guys, I am creating 3 different pages called pilot list The first shows me the hours reported by the company kacars The second with the hours VATSIM The third with hours of IVAO I wanted to ask if you can see my page number 2 or 3 in which only the pilots IVAO (custom field) is populated by the number of VID? Or show the pilots by Group members I also created the appropriate module for each page I would like to see on the second page only drivers with custom field VATSIM populated, only in the third IVAO pilots with custom field populated. is it possible?
Last reply by simpilot, -
- 2 replies
- 1.8k views
Hello Guys, I would like to ask you for help. After a few unsuccessful attempts, I gave up. Basically what I was trying to do is make a loop statement to get pilots current booked flights values of depicao and arricao, so they display next to each pilot name in the pilot roster. Can anybody help?
Last reply by Wildone, -
- 1 reply
- 1.8k views
Hello all, I would like to know how to create pagination in phpvms my site!
Last reply by tutmeister, -
- 1 reply
- 1.8k views
The idea of this module, is to list all the schedules you have, that are code shares. I have the code written and I am not getting any code errors, it just is not showing the schedules I have in the database that are code shares, I have them set to a certain flight number group, all begin with 9XXX. I just need to know how to get the code to sort the schedules by just the beginning of the flight number.
Last reply by Strider, -
- 2 replies
- 1.8k views
Ciao Guys , I wanted to know if you could remove the list from the page Pireps pilot_public_profile.tpl
Last reply by ThomasZaniboni, -
- 1 reply
- 1.8k views
Hi. The IPS documentation mentions that in the pilot's table, the VIDs field should contain a serialized array with network ID and VID of the pilot. I'm testing this and entering this information manually, but IPS is not picking up flight plans yet. Can someone share a working sample of what the VIDs field in the Pilots table should look like. I have tried some of the following formats: {"IVAO",229120} IVAO,227111 {IVAO,418353} "IVAO",418353 Is it any of the above (which one) or something else? Thanks.
Last reply by joeri, -
- 2 replies
- 1.8k views
Hey i been looking everywhere and i seem i can't find the right one for "Last 10 flights on a great cricle mapper" Is there a way that i can do it to display the last 10 flights on the great cricle mapper? Any help would be great.
Last reply by Kyle, -
- 0 replies
- 1.8k views
Just out of curiosity. I believe this will also help programmers phpVMS
Last reply by levicosta201, -
- 1 reply
- 1.8k 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, -
- 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 follower
- 1 reply
- 1.8k views
Came accross this and thought I would share. http://smallbusiness.chron.com/automatically-website-posts-facebook-status-updates-32368.html Follow the instructions and it uses an RSS feed that sends your pireps to facebook and twitter
Last reply by SkiesTheLimit, -
- 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, -
- 0 replies
- 1.7k views
Hi everyone, ( I posted this in the wrong place before so please forgive me in advance for the dup) I am new to programming vmsPHP so please bear with me. I am looking for some help. I have created a Xplane acars. there seems that there are not many of them that work with Xplane. My work uses DATAREFs and not XPUIC. Is there a standard way of interfacing with vmsPHP ? or do you need a custom php page to accept input from an acars app? I have played with spoofing other module's webrequests and that seems to work fine. My VA's site gets all my input, position reports and PIREPS but I dont want to "come through" someone else's pages (work) …
Last reply by fleanbilly, -
- 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, -
- 2 replies
- 1.7k views
Hello Guys, I wonder if someone has a code signature update status to IN FLIGHT IN ROTA, DOWN, CLIMB ON! Thank you
Last reply by Luke2000, -
- 0 replies
- 1.7k views
Nabeel has been very helpful is assisting me in my screwup today by having to reset my website. I have no freaking clue what I did today. However, now that I redone everything for whatever reason I get this now when I attempt to login. I still can't get into my admin adrea. Any help would be great. Thanks. Warning: session_start() [function.session-start]: open(/tmp/sess_df59c2077758658aaca3c6183939d8e3, O_RDWR) failed: Permission denied (13) in /home/fedexvir/public_html/core/codon.config.php on line 40 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/fedexvir/public_html/core/codon.con…
Last reply by Boomie, -
- 3 replies
- 1.7k views
How I can make a search by the ICAO of the airlines only ? For exemple in the schedule_searchform i crate a option to search by the airlines but I want to make a search by the ICAO.For exemplo I create the CVC in the admin center and the code is CVC after I start to create the flight with the CODE CVC1000 EXEMPLE.When the pilot when the pilot is to make a search to find only flight that company show to him only the flight with the code is CVC. How I can do this please ?? And sorry my English is not good!! The Exemple is in the attachments!!!
Last reply by vicente, -
- 1 reply
- 1.7k views
Hello everyone, Is there an entrance exam for PHPvms, or should I implement one and distribute it to everyone? Regards
Last reply by BaRBeR,