Development Help
For help and support for the development of addons
515 topics in this forum
-
- 9 replies
- 8k views
Hi guys, I will release a dispatch system in some days. This system is mainly for smaller airlines (i cannot use it for my own because we have over 1000 schedules). This script gives you a new interface for a new position.. the dispatcher. He can select what pilot is flying what route (so like in real). Also, it is possible to have for example one flight which goes on monday with flightnumber 18 and the next day, the same flight has different aircraft. There will be some statistics as well which can be printed out via inbuild pdf function. This addon will remove the function for pilots to book a flight. The pilot also can only fly the flights from the day its assigned to.…
Last reply by Yash, -
- 6 replies
- 2.2k views
Instead of displaying multiple maps, I'd like to display a single selected one from a drop down without navigating away from the current page. I can create the drop down, just don't know how to code the display of the image Ex layout: [static text] [form: select map] [selected image shows here] [static text]
Last reply by twincessna340a, -
- 7 replies
- 2.9k views
Firstly, I'd like to start by saying my coding knowledge is non-existent, but I'd very much like to learn! How would I go about displaying a custom profile field, which is just text, on another page? Any help with code snippets or links to the right section of the documentation would be really helpful! Thanks!
Last reply by web541, -
- 2 replies
- 1.2k views
Good Evening folks, My VA is trying to figure out a way to display the date of the last logged flight in the admin pilots list. I saw a code snippet that adds the last location to the panel, but I want to make it the date. Anyone have any idea how I might go about doing that? Best, Ryan
Last reply by NotAnAvgeek, -
- 2 replies
- 1.5k views
Is there any mod that displays the pilots names that are logged in?
Last reply by flyalaska, -
- 1 follower
- 1 reply
- 1.7k views
[Content Removed]
Last reply by ChrisTaylor, -
Double Logged In Pilots
by Guest lorathon- 7 replies
- 2.4k views
I also posted this in my kACARS forum It is still possible for a pilot to be logged in twice while using kACARS. This is from a pilot being logged in with there browser (using Cookie "A") and logged in with kACARS (using Cookie "B") To clean up your code on your frontpage you can use this snippet. This will ensure that a pilots name is only shown once. $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo " {$pilot->firstname} {$pilot->lastname}<br />"; }
Last reply by mark1million, -
- 0 replies
- 1.2k views
Is there a way to lock downloads until a pilot pays virtual money for it? Or is there a module? I have looked at the Pilot Shop but don't know how to install the tables!! Does anyone have a SQL file for me to import?
Last reply by edmundk, -
- 2 replies
- 1.9k views
Im trying to manage my site, and make drop down menus here is my current site http://aevirtual.org and i need to have d/down menus, anyone got a code i can put into my core_navigation.tpl or .css? heres wat my .tpl looks like and here is my .css ONCE again thanks in advance!
Last reply by tylerj, -
- 0 replies
- 1.5k views
Hi @ all, i find a easy solution to make phpVMS Pages (e.g. briefing page) printable. You find a code generator a informations at http://www.printfriendly.com/ I tried out and works well! Regards Andreas
Last reply by Andy, -
- 6 replies
- 2.5k 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, -
- 0 replies
- 1.7k views
Nevermind...
Last reply by xhector, -
- 6 replies
- 4.3k views
Hello everyone, I come to share with you an issue that I did in my code Virtual Air Lines, this code snippet will remove the error: "no route passed". Hope that is useful to the community! First in: /core/modules/Schedules/Schedules.php search for: public function addbid() { inside this function search for the variable: $routeid = $this->get->id; Replace the variable above for: $routeid = $_GET['bid']; Then search for the file: /core/templates/schedule_results.tpl open this file and search for: <a id="<?php echo $route->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> Replace the abo…
Last reply by bpruett72, -
- 1 follower
- 4 replies
- 2.9k views
Hello everyone, today I was doing a test with APVacars and noticed the following error (do not know if this happens to me), but when I click GET Flight it does not return me the data flying there on my site (but does not return me any) error, and the module appears on my site. It returns only the information of the fsx. But when I click Start Flight it appears the following error: You Must Click on Get Flight. But the Start button changes to Log Log STop What could this be?
Last reply by levicosta201, -
- 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, -
- 27 replies
- 6.8k views
Please post any input for the new EVENTBooking module here. Thread continued from Paid Services
Last reply by simpilot, -
Hey Guys, Recently I have been working on a PAX module when I hit a stump. I was going to take special events ( such as christmas and easter etc.) and make them high flow days were the PAX would increase. Now after adding these into my module set, An idea spurred into my head. Why dont i take a break from this hard stuff and make something simple we can all appreciate?!?! SO! Over the next few weeks I will be working here an there on an events module! The events module will show up in the content area of your Administration panel and will allow you to add/remove/modify events to the system. These events will feature a short description >20 words and an optional thumbn…
Last reply by G-NEWC, -
- 2 replies
- 2.1k 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, -
- 2 replies
- 2.1k views
How can I put time in exams? If you do not put pilots can get Google search and send the exam after consulting all answers. Can anyone help?
Last reply by Fernando, -
- 0 replies
- 1.2k views
Hello friends, I installed the system by AdminCeter very good sign, needing to deploy a system of time for questions. Example: The pilot asks his take on the central of the pilot, when you open the pilot test would be required to have 10 to 15 minutes to perform this examination. If the weather closes the system blocked the transmission or even cancels the examination. We know you have many riders who seek the answer on google so prevent the pilot gain advantages in the system of evidence.
Last reply by CN@ndo, -
Hello guys, i just got this idea about making exams on for your VA, if any could make it. You make a page and a link on the menu bar for logged in pilots, the page could look like this pic: Of course better made, i just made this very fast in photoshop. Actions: When you press the buy button the system will take ex. $10000 from your pilot account and then if succesfully taken the money it will take you to a exam page, if failed to take money it will make a popup saying that he does not have the required funds for buying this. Exam page: On the exam page you will have some questions, were atleast 6 out of 10 needs to be correct(this should be able to get changed) …
Last reply by simpilot, -
- 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, -
- 8 replies
- 2.6k views
Mitchell is already building one but as far as i know, it works internal in phpvms. I am currently also developing one which you can already see on http://www.panam-airways.com/ . Its not yet ready (will be in 3-4 days maybe). Just type in Frankfurt and as arrival London, then click submit.. but as i said, not yet ready. It will look like a real airlines booking system
-
- 1 follower
- 12 replies
- 2.6k views
Having some issues with logging in externally (as in outwith my main site). Happening on both my Portal (www.freshjetvirtual.com/portal) and mobile site (m.freshjetvirtual.com). Both login forms have blank actions and so submit to themselves and I handle the login on the same page. It uses the Auth::ProcessLogin() function and seems to happily log the user in, however the user is then redirected using javascript, using the portal as an example, to the home page, otherwise the incorrect password error is displayed. However, once redirected, the user is logged out again and hence redirected back to the login page. The issue here is that it works fine on desktop computers, …
Last reply by Tom, -
- 3 replies
- 2.4k views
Is it possible to integrate Faacebook ? I mean that you can register via Facebook and when you've absolved a flight , it will be posted on Facebook...
Last reply by Tom, -
- 1 reply
- 2.6k 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, -
- 7 replies
- 3k views
I would love to have one for my new VA FedEx Virtual. I am new to scripting and trying to figure out code. It really hurts my head. If anyone can help a fellow member out would be great.
Last reply by TAV1702, -
- 0 replies
- 1.7k views
I use PHPVMS with a normal server of fsx and i'm looking for addon that instead of let's you take a flight schedule, let's pilots file there own. Limited choices should only be available... Plane Departure Arrival Altitude Estimated Flight Time Based on that phpvms should make like a schedule for it. However we miss some info, this could be fixed in a different way like.. Price is always the same and counted per Nautical Mile (NM) Departure Time is 12 minutes afther filing the report or a departure time should be given by the pilot (either way solves it) PAX should be random Would this be possible or am i asking something impossible here ? oh and I know vatsim…
Last reply by fabrice, -
- 4 replies
- 2.2k views
Hello friends, Excuse me but i can not find files TopPilots. Anyone can attach in the forum and send the link. I look forward
Last reply by simpilot, -
- 11 replies
- 4.7k views
Well there's my first template! I'll be creating multiple templates, so if you do not like this wait until I create one to your liking! I will also be doing custom templates custom something more advanced! I had no time to take lots of screen, just took the main page! Then download and test on your website so they can test it and see if it was to your liking! Any questions regarding the template, send an email to: levi.costa1 @ gmail.com with the subject: Template VaAdm001. And send your questions. Contact may also be made ​​by the site! Please let their credits! The templates can be changed at will! Always visit my website! Because I'm always posting something new!…
Last reply by levicosta201,