Development Help
For help and support for the development of addons
515 topics in this forum
-
- 1 reply
- 2k views
I am creating a module and i am wondering if there is a way to only allow a specific group (admin) to use the module created.
Last reply by mark1million, -
- 3 replies
- 2k 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, -
- 2 replies
- 2k 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, -
- 2 replies
- 2k 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, -
- 2 replies
- 2k views
The other day one of the pilots in my VA tried to download an item from our Fleet page which ended up resulting in an Error 404 (it was removed from the server) and prior to this we had no "real" Error 404 page. Since then, I have made a new error page within the templates folder and it displays when applicable now. However, whenever that page comes up, it shows the login box in the corner of the screen rather than the user ID of the pilot logged in. As soon you go to a different page, it shows that you're logged in properly. Is there something I need to do to make sure it shows if you're logged in or not? All I did was copy files from other pages and redo code as necessa…
Last reply by JareBearPilot, -
- 2 replies
- 2k 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, -
- 1 follower
- 2 replies
- 2k 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 reply
- 2k views
Hi again... I currently working with an addon which I think will have to 'explode' the raw data from the pireps table in the database. When inspecting the database it seems like FSPassengers pirep's raw data goes to the field log, while fsfk's goes to the table source. Where the free Xacars goes I don't know, does any one know? Is this a bug, which I can expected to be fixed? It is no big issue, but it is nice to know when coding the addon. Regards
Last reply by Wingthor, -
- 0 replies
- 2k views
Hello .. good eh just wanted to tell that to successfully implement phpvms light box, I made it compatible totalmete .. soon open a test account to try the system .. I changed bstante .. Boxxer light of the bad is that when you leave a lot to be updated pe cuiddo with the files you have to upgrade.
Last reply by novamix, -
- 1 reply
- 2k 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 follower
- 2 replies
- 2k 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
- 2k views
How do i get sim pilots addons like top pilot to show on my homepage Thanks Jacob
Last reply by avdesigns, -
- 0 replies
- 2k views
Hello, My name is Ryan, lead developer at startmyva.net. Long story short, were looking for developers, so I will put a list of benefits below, and if your interested please send a letter of intent to ryan@startmyva.net! We would be happy to have you on our team! Being a developer at startmyva.net offers you endless benefits, such as: -Use of an extensive billing/project management system. (WHMCS) -85% of all project profit which you generate. -Access to a pre-built and growing client base. -The oppurtunity to explore and create custom Virtual Airline solutions. -The oppurtunity to work with highly skilled, friendly developers. Thanks, Ryan Palmer Lead Developer…
-
- 2 replies
- 2k views
Hello folks. we are trying to downsize our MySQL database as the database is like 600 mb and our load times are absolute terrible. PHPVMS_SESSIONS is like 200MB alone. are we able to delete it? what will be lost
Last reply by SmarticleCo, -
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, -
- 1 reply
- 2k 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
- 2k 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, -
- 2 replies
- 2k views
I have a module I am building where I have extracted the pilots current location based off of this code: $last_location = PIREPData::getLastReports($pilotid,1, PIREP_ACCEPTED); However, this will only output the ICAO of the airport and not its actual name. Is it possible to get phpvms to pull the full airport name as it is inside the airports table of the database?
Last reply by t_bergman, -
- 1 reply
- 2k 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, -
- 0 replies
- 2k 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, -
Validation of the pirep by the pilot
by Guest djetdail- 0 replies
- 1.9k 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($…
-
- 2 replies
- 1.9k 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.9k 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, -
- 1 reply
- 1.9k views
Hello how can i get the new PHPVMS with bootstrap because i don't know how PHPVMS works
Last reply by servetas, -
- 1 reply
- 1.9k views
Hello all, I would like to know how to create pagination in phpvms my site!
Last reply by tutmeister, -
- 1 follower
- 3 replies
- 1.9k views
I am trying to pull the number of hours for an individual hub
Last reply by StartVM, -
- 2 replies
- 1.9k 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, -
- 1 follower
- 1 reply
- 1.9k 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, -
- 3 replies
- 1.9k 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, -
- 0 replies
- 1.9k views
Just out of curiosity. I believe this will also help programmers phpVMS
Last reply by levicosta201,
