Development Help
For help and support for the development of addons
515 topics in this forum
-
During the last days, i read posts from a lot of members who are using phpVMS which have to do with the navdata database table. I think that there must be a website where anyone will be able to download this db table and do changes on the current navdata db table in order to share them with the other phpvms users. I would like to create a simple website where everyone will be able to update the navdata file. After that, a specific team will check if the changes are correct in order to edit the current navdata database table. What do you think about it? Of course, we have to find out a basic version of navdata database table. If anyone has anything to suggest to me, plea…
Last reply by hurkulez, -
- 10 replies
- 2.8k views
I am looking for a couple of folks to help test a forum board I am working on that runs inside of phpVMS prior to the beta release. Would prefer folks with some php MVC and sql knowledge, and also running at least beta 785 or newer. Post a reply or pm me. Thanks!
Last reply by simpilot, -
I'm not one to do scripting, so if I could get some help, would be great. I'll ask questions regarding what I'm doing in this post. First off, how is a module created that shows up in the admin area as well as frontpage? Next, how can I show only 1 of each of the aicraft in the fleet on a page? edit: All this is going to be in the same module
Last reply by BBuchanan, -
- 0 replies
- 2.3k views
Hi everyone, I'm interested in creating a mod for my admin panel that allows my flight scheduling department to automatically generate random flight numbers via a script I set up. The only function the script serves is to generate a random flight number and store it in a MySQL database such that it can't be used again. However, right now that script is exposed and isn't apart of the phpVMS admin panel. Anyone can access it if they have the URL. To fix this, I'm interested in bringing it into the admin panel. The problem I'm afraid I'm going to have is figuring out which files I'll need to create/edit to bring this simple script in there. In advance, I appreciate your h…
Last reply by AGuyFawkesMask, -
- 2 replies
- 1.5k views
I need some help. Can some show me ho to display the pilots total cash or can someone make a mod for that. Just like I made in this graphic, top left corner.
Last reply by flyalaska, -
- 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, -
- 1 follower
- 55 replies
- 19.6k views
I am considering developing a new module. The module would be used for admin staff only, and would not be accessible by pilots. The concept is a schedule builder. Many VAs will assign any odd time and aircraft to their flights without a thought, however this module is intended for those who wish to build their schedules in a realistic way. The module would allow the user to add flights onto a timeline by aircraft, so that flights would be organised in an illustrative manner. Each flight will be represented by a block, which shows only basic information such as departure/arrival airports and departure/arrival times, but the block will hold all relevant schedule data such…
Last reply by opsman, -
- 6 replies
- 3.2k views
I Did a new pilot list adapted of the FSACARS code. This code need conect_db.Example <?php $hostName = "localhost"; $userName = "XXXXX"; $password = "XXXX"; $dbName = "XXXXX"; /* make connection to database */ mysql_connect($hostName, $userName, $password) or die("Unable to connect to host $hostName"); mysql_select_db($dbName) or die("Unable to select database $dbName"); ?> <?php /* Constants */ @define ("MYSQL_CONNECT_INCLUDE", "connect_db.php"); // MySQL database connection (a sample file is included) /* Database connection */ include(MYSQL_CONNECT_INCLUDE); /* Select all pilots */ $query = "SELECT * FROM phpvms_pilots ORDER BY pilotid ASC"; $r…
-
- 8 replies
- 2.9k views
Anybody got the latest pilot roster that i can use, im currently using the brilliance skin and would like to have new pilot list in Thanks
Last reply by truemo9, -
- 0 replies
- 1.9k views
Hi guys, I am looking to add a search drop down to the Find a flight serach page that will allow me to use the data in the NOTES box of a flight schedule. The following code is for the search parameters that are concerned with searching by DEPARTURE AIRPORT <div id="depapttab"> <p>Select your departure airport:</p> <select id="depicao" name="depicao"> <option value="">Select All</option> <?php if(!$depairports) $depairports = array(); foreach($depairports as $airport) { echo '<option value="'.$airport->icao.'">'.$airport->icao …
Last reply by RichardRodgers, -
- 1 follower
- 15 replies
- 16.5k views
Greetings, This is just a quick note for those of you looking to add advanced dispatch and flight planning tools to your VA website. As of a few weeks ago, there is a new SimBrief API available which makes this easy! The SimBrief API has been designed to give you full control over the dispatch process by keeping your users on your site. When a flight plan request is made, the API will return a massive data file containing nearly every variable used to calculate the flight plan, including the OFP text, weather/NOTAM data, detailed fuel and time figures, and an assortment of flight maps and downloadable flight plan and FMS data formats. Using this data, one could create s…
Last reply by SimBrief, -
- 9 replies
- 4.2k views
Hello guys, I'm here with news about the new program that I'm developing! Below is the news: 1. The program will have a different name, no longer VaAdm, but Virtual Airline Manager (VAM)! 2. The software does not need any php module for its operation. 3. The first version of the software [beta (1.0)], is available only to administrators, not making it possible for a standard user, because as promised changes your VA can be made directly from the software. 4. From version [release (2.0)] it will be available for both standard users and for administrators. 5. The software will interact with FSX yes! I added some information and features with the interaction between the…
Last reply by levicosta201, -
- 1 follower
- 12 replies
- 3.3k views
Hello fellas. I am curious if anyone ever came up with an addon for the news module to make it so if one had created hub pages, one could post news for that hub only instead of it showing up on the front page as airline news. I have saw it done before, just not sure anyone ever released anything publicly. Later on guys. Have fun!
Last reply by freshJet, -
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
-
- 2 replies
- 3k views
Hi guys, first of all a big thanks to everyone who tried out my scripts and also thanks to the developer of phpvms and all the other scripts. Due to my private life and because i am building up 2 major virtual airlines, i dont have the time anymore which was required by all my other projects. Most of the scripts mentioned are ready to use but the problem is, that it would take so much changes on the basic phpvms, that it needs about 2 days or more to build in most of them. I would really like to give you the code but i dont even remember anymore what i changed at the core of phpvms (I have now 2 copies running but very customized). So far i have to stop with my support an…
Last reply by skymx, -
- 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, -
- 2 replies
- 1.8k 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, -
- 6 replies
- 2.5k views
Hi to all! I know is possible but, anbody have will to do it, cause im empty board on coding. I want that schedule is only shown from town the plane from schedule is in...got it...If plane is in KMEM then only schedule is shown for that registartion and KMEM...So if last logged place is KMEM next pilot if he want to use that same registration will be only be able to bid schedule from KMEM...cmon coders, this is code worth it for any serious VA. Thanx a lot!!!
Last reply by Thomas, -
- 1 follower
- 17 replies
- 11.5k 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, -
- 8 replies
- 3.7k views
The module will be removed from GitHub until there is an agreement.
Last reply by mseiwald, -
- 0 replies
- 1.4k views
Double post, sorry!
Last reply by TheFlyingDutchman, -
- 9 replies
- 3.9k views
Hi Guys, Anyone tell me if PHPvms has built in pagination? Cheers,
Last reply by Jhony300, -
- 0 replies
- 1.7k 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, -
- 24 replies
- 7k views
Does anyone know if it's possible to have a passenger boarding thing on the front page? I'm kinda weak and only know basic HTML and some CSS I guess. I can edit things on a small level, so I don't think I can figure this one out on my own. Thanks.
Last reply by AFVA | Mitchell, -
I hope one of you can help me: I am looking urgently a script which deducts the pilot a certain amount. A simple page that I e.g. add a download link and where the pilot must then confirm the download as soon as he has done so, he is redirected to the download, while the money deducted. Theoretically, it should only be mingled with a bit text (which can be changed at any time), a link which leads to a specific target (downloads, etc) and at the same time, click on the link, a preselected sum deducted. How much money could be deducted from and where the link takes you just change the script. For each link a separate file with this script. So for 10 different downloads, 1…
Last reply by BastiDE, -
- 18 replies
- 5k views
have any of you messed around with or customized the personal stats page? It's very boring, was hoping to get some ideas thrown around so it can be made more interesting ....
Last reply by Taran, -
- 8 replies
- 9k views
DEMO:Photo Gallery 1) First download Plogger 2) Upload it to you Public_html folder, and extract it. 3) Create a MySQL database and user from your web hosting control panel 4) Open your web browser and run the installation script located at: www.yoursite.com/plogger-folder/plog-admin/_install.php 5) Log in to your gallery admin and begin configuring your gallery and uploading your images. What it includes: - Full admin panel, where you can upload images, and many other stuff. - Default themes, as well as many downloadable ones. - Full customizable. - Plugins including Recent image, recent comment, random image. Comes with script, all you need to do is paste it …
Last reply by Jason, -
I am in the process of creating my own dashboard module, a couple of quick questions. Does all of the php code need to be the module/module.php file? Or can most of the code be placed in the template/template.php file? I'm currently trying to figure out why a form of my is not working, when the form is processed the browser moves onto the process page url but the actual content does not change. Why would this be happening? Thanks,
Last reply by t_bergman, -
- 0 replies
- 1.5k views
Hello, Would it be possible if someone could help me create a bridge for phpVMS so that my phpBB users can log into phpVMS with their phpBB information. Thanks
Last reply by HCStrike, -
- 11 replies
- 7.1k views
Originally from this topic: http://forum.phpvms.net/index.php?topic=272.0 <?php class ForumRegister extends CodonModule { public function __construct() { CodonEvent::addListener('ForumRegister'); } public function EventListener($eventinfo) { if($eventinfo[0] == 'registration_complete') { $userinfo = $eventinfo[2]; $fname = $userinfo['firstname']; $lname = $userinfo['lastname']; $pass = $userinfo['password1']; $email = $userinfo['email']; $code = $userinfo['code']; $uinfo = PilotData::GetPilotByEmail($userinfo['email']); …
Last reply by AJM101,