Development Help
For help and support for the development of addons
523 topics in this forum
-
- 1 reply
- 1.3k views
I would like to create a countdown on the homepage of the time remaining before an aircraft maintenance, but I'm no PHP and i bad in english .
Last reply by levicosta201, -
- 1 reply
- 1.7k views
Okay so I've been playing around with the group permissions and trying to add in a few custom permissions of my own, And then I stumbled across something in the logic that had me stumped. So in a few moments I will ask the question but before I would like to explain how I'm understanding this to make sure I have it down right. If the following paragraph sounds too confusing just ignore it, It's still kinda hard for me to explain. Basically what I can get from this is that each permission is represented in binary format and it starts at 1 then 10, then 100, then 1000. and you just check to see if that bit is on when checking for a permission. for example if I'm wanting t…
Last reply by Oxymoron290, -
- 1 reply
- 2.4k views
Help me guys, my phpvms the following error appears on some pages like editing flight: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 6101088 bytes) in /home/voemerco/public_html/dov2/core/classes/CodonCache.class.php on line 202 Help me solve!!
Last reply by mattia, -
HELP
by FelipeAquino- 1 reply
- 1.4k views
PT-BR Bom Dia á todos, estou com extrema dificuldade em fazer uma skins para o PHPVMS, Alguem poderia me da uma ajuda ou me mostrar um tutorial? EN Good morning everyone, I'm with extreme difficulty making a skins for PHPVMS, Could someone give me a help or show me a tutorial?
Last reply by levicosta201, -
- 1 reply
- 1.8k views
Ola Pessoal Eu Sou Novo Aqui Desculpem Si Estiver Fazendo Algo Errado Mas a Minha Duvida É .Tem Algum Modelo De Templete Para a Pagina Do Perfil Do Piloto??Pois Gostaria De Deixar Um Mais elegante.Desde Ja Agradeço
Last reply by magicflyer, -
- 1 reply
- 1.5k 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, -
- 1 reply
- 1.4k views
Hi all, I'm still in the process of building my website (Does it ever stop, haha ) and since you may probably know, airlines use Operational Flight Plans to brief (or pilots brief themselves basically) their crews.\ My idea: - Create a default layout for your OFP - Let a module (?) fill in ' the blanks' - let the module (?) put out a .pdf file for the pilot to download I have 0,0 experience with programming whatsoever, but I'm willing to learn. Every push in the right direction is more then welcome, or if somebody already has such a module who would be willing to share. Thanks! Stefan
Last reply by TheFlyingDutchman, -
- 1 reply
- 1.6k views
Hello all, im a novice to skinning, so simple English would be appreciated! I would like to re-skin my flight status board under my flight map to something that looks like this - http://forum.phpvms.net/topic/8702-live-flightboard-just-wondering/ I have been searching around the forum for a while, and there was no, straight forward answer on how to do this. Could someone help please, it would look quite good on my website, and i just need help on how to do it! Regards
Last reply by Strider, -
- 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 reply
- 1.7k views
Hello, I'm making an ACARS and I've came up with a question... I know that phpvms accepts coordinates and altitudes for the PIREP and that they show up on the Map but I'm not sure where I need to send those and in what format... I think its on the route_details field of the DB but not sure... Thank you, Joao Lourenco.
Last reply by levicosta201, -
- 1 reply
- 1.7k views
Hey Guys! So I am developing my pilots center, and I had successfully modified the search form and results form. I tried using Simpilot's addon, but it is not compatible with the current PHPvms. Because I have over 8000 routes, it takes over 30 seconds for it to load. Is there a way where I can limit how many routes it loads at first so it can load faster? I tried pagination, but it still does the same thing (loads all at first then puts it in order). Attached is a photo of my schedules/view page. Is there a way where I can have a search form first, then display the schedules instead of having the schedules and search form?
Last reply by servetas, -
- 1 reply
- 1.7k 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, -
- 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, -
- 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 follower
- 1 reply
- 1.4k views
[Content Removed]
Last reply by ChrisTaylor, -
- 1 reply
- 1.3k views
I am trying to make pilots listed in one table instead of separated by hub. Have an idea of how to remove this separation? http://pastebin.com/EaUA169z http://i.gyazo.com/6...48ce0e920e5.png
Last reply by flyalaska, -
- 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 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, -
- 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 follower
- 1 reply
- 4k views
Hello, I have downloaded a free login form template but I can't make it work. My VA is at pilot.liftair.eu. Here is the code:
Last reply by Vangelis, -
- 1 reply
- 1.2k views
has somehow I put the list of routes (script) on my site external ?
Last reply by pedrobrandine, -
- 1 reply
- 1.4k views
Hi I'm currently messing around with this module on the site to make it look as clean as possible to fit the look of our site and I am happy with the results and the module is great. The only thing I would like to do is change the map which shows the booked flight route to use the google map (like the standard live acars map) Has anyone managed this. Current code looks like below. <th align="center"colspan="4">Flight Map</th> </tr> <tr> <td width="100%" colspan="4"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%"…
Last reply by Soundman9, -
- 1 reply
- 1.4k views
Hello, can someone do that ??? So that when you add flights can be inserted links to different files and that they are displayed in the table then SHEDULES screenshots below with an explanation.
Last reply by web541, -
- 1 reply
- 1.8k views
Help me with the code. I'm trying to do so on the page of the Airport (HUB module), displays a list of planes that are currently at this airport. I'm trying to take some code from the module (RealScheduleLite), but the page out only the aircraft which have not yet done a single flight. Below the code of the page (hub master) hubview.tpl <div class="container">[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<br>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<div class="row">[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<div class="col-md-3"> &…
Last reply by bass, -
- 1 reply
- 1.2k views
Help bring the search form airports in frontpage_mainI put this code, but the data from the database are not displayed. <select type="text" name="a" class="input-text full-width" placeholder="Введите код годода отправления" /> <option value="">ИКАО вылета</option> <?php if(!$depairports) $depairports = array(); foreach($depairports as $airport) { echo '<option value="'.$airport->icao.'">'.$airport->icao .' ('.$airport->name.')</option>'; } ?> </select>
Last reply by web541, -
- 1 reply
- 1.4k views
Hello how can i get the new PHPVMS with bootstrap because i don't know how PHPVMS works
Last reply by servetas, -
- 0 replies
- 1.6k 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, -
- 0 replies
- 1.6k 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, -
- 0 replies
- 1.4k views
Work in progress: http://docs.phpvms.net/2.0_upgrade_guide Trying to denote specific changes. I hope this will make it much easier. For those writing add-ons, I'll let you know in advance when it's stable enough that you can port your addons over. I would recommend though, writing against the latest beta, and releasing them for the latest version, which should be due soon.
Last reply by Nabeel, -
- 0 replies
- 1.3k views
was wondering if there is any change in status of the aircraft for example when we edited in the admin center if you have to put them on maintenance or not I did this by adding a table in phpmyadmin and seeking via ops_aircraftlist and ops_aircraftform but I can not save it in phpmyadmin information anyone has any idea about this? Thanks
Last reply by vicente,