Development Help
For help and support for the development of addons
515 topics in this forum
-
- 1 reply
- 2.2k views
I have created a module to upload images for staff to use in forum posts and other areas of the site. What I want the script to do is echo out a html link for the file that was uploaded without actually parsing the code. I can get it to echo code and NOT parse it, but for the life of me I can not get it to echo the file name back to me. Can one of you experts take a peak at this for me? And please don't laugh. It was my first real true honest shot at a cool module. <?php $target = "files/upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; //This is our size condition if ($uploaded_size > 350000) { echo "Your file is too large.&…
Last reply by TAV1702, -
- 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, -
- 4 replies
- 2.2k views
Hello, My name is Gabriel, I am president of Flex Virtual (From Brazil), as I lay in php, I wonder if there is the possibility of adding a background image on a page of my desire. For Greater understanding I want for the following files at page bottom center of the pilot. (Http://img706.imageshack.us/img706/8256/boxjz.jpg). Second question. Is there a system or code to embed virtual badges in the company? Thanks already
Last reply by Matthew Talbot, -
- 3 replies
- 2.2k views
I coded up an entire ATC system for my site. THe problem is, I can not do sql work worth talking about. My idea is to have a module that consisted of a simple form for an ATC to fill out for login. Once logged in, they would accumulate time on the atc roster and get paid pilot cash for doing so. The nest thing need would be a way to call the information up from the database to show up on the ATC roster which I have coded up already. I will include a screenie of that in the end. Another part that would be most excellent would be if a admin created a ATC group on their site, it would automagically add them to the controller roster that I am gonna show you. From there it w…
Last reply by TAV1702, -
[Question} Flights only bookable on right day and display availabe Aircrafts on Dep Airport
by Malchor- 4 replies
- 2.2k views
Hello Guys, I am a realy Noob on PHP. I have a two Questions. 1. Can some one help me to prepare the Schedules Flight Page that only the Flights from your last arrival Airport and the Flights by the right days will displayed? A Flight only on Tuesday shall only shwon on Tuesday. 2. In this reason I want to display also the available Aircrafts on Dep Airport and if there are no Aircrafts you must order an aircraft from a other airport at a small charge. Is this possible together? And can some one help me pls. Thanks in advance. Malchor
Last reply by TAV1702, -
- 6 replies
- 2.2k views
Hey guys, I'm looking to getting into coding a module for my Virtual airlines and need a little bit off help. I want to create a module that shows things like Pilots information such as Last Flight, Hub, Hours, ranks and things like that. Is there a list of all of the variables and arrays that phpVMS used to store information about pilots, if there is I should be able to work out the things I need. If there is one, can someone post a link to it. Thanks in advance!
Last reply by James142, -
- 2 replies
- 2.2k views
I have been thinking about this for sometime now, Im not a coder. I think a poker run system would be great to have, of course it would have to be paid software, do to the technical coding that has to be done, But if anyone is up the the challenge I am willing to pay..... Regards, Allan
Last reply by Allan, -
- 3 replies
- 2.2k views
Ok I know I am getting ready to be a victim of my own words... Search Ray just use the search function!! Trust me I have used it. I know we have discussed it in the past and I just can not find it now. I want to add the aircraft registration number to the Pilot Briefing page where it lists the aircraft for that flight. The area I am talking about is when you go to bid on a flight it has 3 links: View Details Pilot Brief Add to Bid The Pilot Brief is where I am talking about. The problem I am having is we have multiples of the same aircraft but with different registration numbers. It would be sweet to show the aircraft reg number for that flight as well. Can an…
Last reply by TAV1702, -
Picture in download section
by Guest Henrikkir- 3 replies
- 2.2k views
I do not know if this script have been here before, but i have having some problems with my download pages. When I in my adminpanel making af new download, there is a line "Link to Image" it's dossent seems to work. No pictures showing on download pages. Here is the script and guides: 1. Open "downloads_list.tpl" in folder "core/templates". 2. Line 33 insert: <a href="<?php echo url('/downloads/dl/'.$download->id);?>"> <img src="<?php echo $download->image?>"></a><br /> Save and upload to site. You can now se pictures, and you can also clik at the picture for downloading files. Look here for an example. http://danis…
Last reply by Txmmy83, -
- 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, -
- 3 replies
- 2.2k views
As the title says I am creating an rss feed, specifically if you have a blog, and you want to show an rss feed on your main page, but don't want to go via another site to parse the feed for you. You never know, will that site suddenly go down or what. I have the module written, and it is not showing any errors, what I want help with is getting it to show on the front page. The code I have is: RssFeed.php: class RssFeed extends CodonModule { public function index() { } public function parserSide($feedURL) { $rss = simplexml_load_file($feedURL); echo "<ul class='newsSide'>"; $i = 0; foreach ($rss->channel->item as …
Last reply by Strider, -
- 6 replies
- 2.2k 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, -
- 2 replies
- 2.2k views
I want a module to be able to post notams in a predefined area from the admin panel. Does anyone know how to create this?
Last reply by Atcarrillo, -
- 1 reply
- 2.2k views
Hi, I was wondering if anyone had an Teamspeak Integration Module for automation registration? What we would like is for a new member to join and our server would automatic register them for teamspeak and phpbb forums. Any direction would be greatly appreciated. Thanks
Last reply by mark1million, -
- 2 replies
- 2.2k views
Hi there. now i'm working on the rjva but i want to know how to make this table. And thank u
Last reply by Tameem, -
- 1 reply
- 2.2k views
Hello, is there anyway to edit the code in the admin panels pilot roster so I can see on the main page when the pilot has last flown a flight, without should pressing "Edit" for seeing such? As it would do the work easier for some of us - Emil
Last reply by simpilot, -
- 6 replies
- 2.2k views
Hello guys This may be a bit specific for some people but anyone who has made an ACARS system, help would be appreciated. I would like a bit of help as i intend to create a Custom ACARS client for myself and am not entirely sure how i'm going to go about doing that. I will be using Windows Visual Studio and the VB coding Language. I've looked into the SDK for FSUIPC and seem to understand that all right its just that I am going to need help sending all of the information that I collect to the phpvms system. How would i be able to get it to connect to my Website and then send the data that the program is set to collect to to the site. It would be of great help if any…
Last reply by Stealthbird97, -
- 2 replies
- 2.2k views
It is possible to place the module of simpilot mail to appear in the profile of the pilot instead of index.php / mail?
Last reply by levicosta201, -
- 3 replies
- 2.2k views
Hello everybody.because a am new , how can i create a link in my phpvms webpage? Thanks a lot.It s possible someone to explain step by step?
Last reply by mark1million, -
- 1 reply
- 2.1k views
hello friends First of all I appreciate the help, I'm bringing an idea and I hope that the staff approves. 1 example. I would like to see a system that at the end of each flight the pilot even gets into your email private company registered in a report of his flight as well as your log and the information already registered in the system on the performance of flight Examples: The system is configured to result in the following information: Toucn down - 1 to -100 the pilot will receive in your email the following information: Congratulations Pilot your landing was very good keep it up. Tounch dowm-101 - Flight 200 = quiet, congratulations continue. Tounch down -201…
Last reply by RIco Linhas Virtuais, -
Next and previous page button
by Guest- 7 replies
- 2.1k views
Hello! How to add the next and previous page button?? Best regards and thanks for the help
-
- 5 replies
- 2.1k views
Hi, I was wondering if someone has some kind of code or addon, where it is possible that you "buy" an aircraft and that you have to earn money to get this aircraft investment returned. This gives a bit of financial administration within your airline and can work with earning stuff back which you buy Thanks. Edwin
Last reply by Nighthawk, -
Is there any what that i can edit somthing in the files so the rank can be counted for flights and not the hours?
Last reply by CPC900, -
- 3 replies
- 2.1k 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, -
- 6 replies
- 2.1k views
Does anyone know to display the ACARS map on the index page, but on a smaller scale?
-
- 0 replies
- 2.1k views
Module news feed for Virtual Airlines based phpvms ================================================== #twMerco is licenced Creative Commons: #View license.txt in the root, or visit http://creativecommo...icenses/by/4.0/ #@author Levi Costa #@copyright Copyright © 2014, Mercosul Network Devlopement #@license http://creativecommo...icenses/by/4.0/ URL for the module ------------------ To call the module URL is as follows: www.yoursite.com/index.php/feed URL for the module (Call JSON) ------------------------------ Json callable url: www.yoursite.com/index.php/feed/getjson The JSON was integrated into the module so that it was possible to interact with mobile a…
Last reply by levicosta201, -
- 0 replies
- 2.1k views
I've modified some finance datas so i can use finances and profits in the finance system but when i insert an "profit" i get an Error: There are the codes that i modified Modified.zip
Last reply by ArthurHetem, -
- 2 replies
- 2.1k views
Hi folks Is there an addon that will give pilots access to pages/areas of my choosing only after they have filed say 5 successful PIREPS? I have a discount deal with a top scenery developer and dont want members joining up just to get the code, so i need to limit access to this code. I'm no good with php but I'm assuming a line or 2 could check a pilots total pireps against the required amount and grant access? Hope someone can help, Dave.
Last reply by Nabeel, -
- 3 replies
- 2.1k views
Hello guys. I think that there's something really important thats missing in FSX. That everyone can fly every aircraft and route isn't realistic at all, so it would be awesome if one of you coders could make a addon so you should assign the minimum rank required for adding the route to your bid. - Emil
Last reply by Kieran, -
- 1 follower
- 4 replies
- 2.1k views
Hi all, I am having a problem when trying to log in using both the GitHub Version and Free Version of APVAcars. Here is the error I'm getting: An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll Additional information: Conversion from string " <div id="codon_crit_error" Line affected: If GetPageAsString("verify", "&pilotID=" & My.Settings.PilotId & "&password=" & My.Settings.PilotPassword & "") = 0 Then I have removed the details from the login fields for security reasons obviously. I would appreciate any help I can get. Thanks!
Last reply by TadMiles,