Development Help
For help and support for the development of addons
523 topics in this forum
-
- 4 replies
- 1.6k 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, -
- 3 replies
- 1.8k views
I know that it has come up quite a lot in the past. I have already finished some of my projects (announcements will be published soon) and i am now in search of a new idea in order to develop a new module for phpVMS. This is an integrated Forum. Yes, an integrated forum into a phpVMS website. Some of the main ideas i have are: Of course a converter from phpBB and SMF forums to this forum (i have not checked how these forums core work but i think that it's not so difficult) User permissions (administrator, moderator, basic access, banned) All the forum administration will be included in the phpVMS admin center Board categories Threads User profile settings (signature…
Last reply by servetas, -
- 0 replies
- 1.4k views
Hello, I have two questions, Is it possible to print the error message and then kill the module if and error ocurres on a Module? Right now what is happening is that if something goes wrong on a Module it only shows the error and I'd like to have something that prints the error stops that module and continue with the rest of the website. Is it possible? Second question: if ((isset($_POST['Del'])) && (PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))) VirtualThaw2014Data::delete_mission(explode("Delete ", $_POST['Del'])[1]); this works just fine on my local server but when I move it to the host it gives me an error: Parse error: syntax erro…
Last reply by Joaogl, -
- 12 replies
- 3.2k views
I am currently updating Pilot Awards System. The next version will include an auto award system. Can you suggest me any criteria? Currently, i have already added the hours and flight criteria. (An award will be assigned after completing x hours or after completing y flights).
Last reply by servetas, -
- 3 replies
- 1.5k 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, -
- 1 follower
- 1 reply
- 1.5k 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.6k 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, -
- 5 replies
- 3.5k views
Hello, inetersted help with code source. 1) schedule routes For exmp. We have flight ABC0001 from AAAA to BBBB only for one a/c, can its possible choise with wich one a/c operate this schedule route. 2) insert on schedule alternative airport with route. AAAA-BBBB with alternative CCCC and route from BBBB to CCCC is thx. Sergejs
Last reply by Kapitan, -
- 6 replies
- 2.1k views
?> </br> <table id="tabledlist" class="tablevar"> <td>Spilla</td> <td>Nome</td> <td>Piloti</td> </tr> <?php $query="SELECT * FROM vawards_awards f LEFT JOIN vawards_grants p ON p.grt_awdid = f.awd_id WHERE f.typ_id = '1'"; $list=DB::get_results($query); foreach ( $list as $ist) { ?> <tr> <th><img src="<?php echo $ist->awd_image ?>"</th> <th><div align="left"><?php echo $ist->awd_name ?> </div></th> <th><?php echo $ist->grt_pilotid ?></th> </tr> <?php } ?> </table> <br /> Hallo …
Last reply by Tato123, -
- 3 replies
- 3.8k views
Hello Guys, I have created a page .htm via "add page" function in Admin Center. Then I have downloaded the schedule.htm from the ftp server and edited it(content of the file below) and reupload it on the server. But then the problem has occurred. Namely the schedule does appear below the disclaimer which is located in the footer div which is located at the very bottom. When it should be above the disclaimer and over the whole footer div...I have been wondering should I do that in other way, creating a tpl file or something. So if can anyone have a look at the code below and maybe suggest something what I did wrong? Your help would be greatly appreciated schedule.htm …
Last reply by Wildone, -
- 2 replies
- 1.5k 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.5k 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, -
- 1 reply
- 1.7k views
Afternoon everyone I'm currently building a module for my site which I plan to share on here for everyone to use if they want, it allows you to add extra information to an aircraft that can then be shown on a nice shiney fleet page, I am a bit stuck though, whilst I can pull the aircraft, add extra information to them and display it all on the fleet page with no problems, I just cannot for the life of me get it to update existing added extra data, I've been staring at this for four days without success, the query works when run direct in SQL command line, I've tried absolutley everything but clearly I've missed something that I can't spot, Please please please can some o…
Last reply by nexissair, -
- 1 reply
- 1.7k views
Afternoon All I currently have on my site a static fleet page gouped by aircraft type, however as part of my quest to learn MVC and php I thought I would have a go at making it dynamic so that when I add an aircraft the page auto updates saving me loads of work in the long run. So after an evening of browsing though phpvms files to see how it all ticks, and based on the public pilots list, grouped by hubs I made my class, module and tpl files. I had some success but not completely, the page gives me one group for each icao which is what I wanted, but it also gives me all the whole fleet repeated in each group! not just the aircraft specific to the group. If this was an…
Last reply by nexissair, -
- 20 replies
- 4.1k views
Does anybody know a way for me to get the stats for a certain region? We're wanting to run our airline by Regions instead of HUBS (our Regions would obviously consist of a large part of a continent). Is there a way for us to get the stats for different regions (like you can do with HUBs)? Maybe a code to get the stats for multiple airports and have them all add together? Please help! Thanks in advance, Taran
Last reply by Taran, -
- 1 follower
- 6 replies
- 2.9k views
Hi all, im trying make a progress tour table. My actual table is showing the results in vertical with this scheme: pilotid-nºflight-accepted arv187-f1-1 arv187-f2-1 arv187-f3-1 arv220-f1-1 arv220-f2-1 arv220-f3-1 You can see a example here: http://argavirtual.b...la de tours.php This is a bad table then i want show results in horizontal mode, as seen in the example image: But not work well, you can see in the first table (vertical table) that pilot id "307" only have complete the first flight "Ruta1"(HAW1), but in the image attachet he have put a "accepted=1" in "Ruta2"(HAW2). This point exceeds my knowledge and im blocked. This is the code: if (!functio…
Last reply by ARV187, -
- 6 replies
- 2.6k views
Here's what I'm wanting to do: 1. have a box on the home page that display the top 5 hubs by different stats (hours, flights, passengers, miles, etc.). 2. I want this to automatically change each month so it's based off of monthly stats. 3. I will change which stats it calculates each month. 4. I want it to automatically place the hub with the highest stat as #1 and the hub with the 2nd most at #2 etc. etc. Anyone know the code for how i could do this? Thanks In Advance! EDIT: I scratched out the things i've gotten done.
Last reply by hurkulez, -
- 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, -
- 1 follower
- 42 replies
- 10.2k views
Here's something I've released for beta testing at freshJet. It's a pilot calendar, a personal planner allowing pilots to plan what flights they want to fly and when they want to fly them. At the moment, it's fairly basic, and all it really does is allow pilots to add and remove flights from their calendars however I plan on making it book the flights 24 hours before departure time. If there's enough demand I might release it as a module. Preview:
Last reply by Fernando, -
- 4 replies
- 1.6k views
Here is some code if you wish to hide pilots with zero hours. if($pilot->totalhours =='0'){ continue; }
Last reply by Strider, -
- 0 replies
- 1.4k views
Hi wanted to ask a question you may make charter flights are also paid? For example with a fixed amount or by the normal system. Thank you for your attention.
Last reply by tonkepen, -
- 1 follower
- 3 replies
- 1.7k views
Hi all, I have a couple of questions and was hoping someone may be able to answer them for me. My airline and another have gone into a code-share partnership, what we would like to know is that is it possible to share our schedules tables from the databases with each other and display the results on a custom schedules results page from within each other sites? Also is it possible to get KACARS to report back to two VA's at the same time during a flight? Also how would I go about setting Microsoft access up to access my database? Many Thanks Karl
Last reply by nexissair, -
- 1 follower
- 7 replies
- 2.3k views
Hi all Could someone please help me out, I think the solution is so simple but I just can't see it with limited PHP skills. Ok I have multiple airlines but my schedules all come under the airline code "NEX" as the other airlines are for charters, code share etc. so I have filtered my NEX schedules on the results.tpl like so which works a treat: <?php foreach($allroutes as $route) { if ($route->code != 'NEX') continue; But I wanted to show two or more airline codes in the schedule results.tpl like "NEX" and"3XE" but not any others how would I adjust the code? I've tried a few things but with no success. Many thanks
Last reply by nexissair, -
- 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, -
- 5 replies
- 2.3k views
Good morning all, I wondered if anyone is wanting any modules making? I'm wanting to make a few and just looking for some ideas on what to make. Anyone have any ideas? Thanks. Jordan.
Last reply by freshJet, -
- 1 follower
- 1 reply
- 1.7k views
Hello everyone, i looking for a code that, the pilot and me can see how many schedules have flow for a airliner, i have a several airliners, and nobody can see how much he fly for a airliner. i hope for this code: in the pilot center and in the profile, that the pilot can see how many schedules has flown for a airliner, Michael
Last reply by Vangelis, -
- 1 follower
- 17 replies
- 9.7k views
Anyone know of some open source weather data, whether it be raw data or a PHP class/XML module? I'm looking specifically for temperature and wind data, particularly winds aloft at certain altitudes and waypoints. Grateful for any help.
Last reply by SimBrief, -
- 2 replies
- 1.8k views
Hello Everyone, I have been looking around at some websites and saw that some virtual airlines have a calender for the events page. I was wondering If anyone could help me code such a think that would work with the basic Events_booking module that is offered here. Thanks Austin
Last reply by Atcarrillo, -
- 1 reply
- 1.5k 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, -
- 0 replies
- 1.1k views
hey guys i add few custom fields and i was trying to add them into /phpvms/admin/templates/pilots_list.tpl with no success, i'd like to see those custom fields in that table from admin view can you plz help me or show me where can i find docs about how to do that? tnx
Last reply by Ispanicuz,