Sava
Members-
Posts
575 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Sava
-
I am assuming you are gonna used this in the schedules so I am passing $route->depicao for the ICAO you want to search for. Change this to reflect your script if using anywhere else. <?php $country = OperationsData::getAirportInfo($route->depicao); //or change to pass in the departure icao of the airport... $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strlower($imgicao);?>.png" alt="<?php echo $imgicao;?>" the end result something like this for me
-
You are welcome. If you need any more help, I'm here to help.
-
OperationsData has a getAllHubs() method
-
Managed to do this but I have an issue where the acars map wont work with just /acars but only with /index.php/acars Also the OFC library used for charts and stuff is only working with /index.php/ any help?
-
Insert/Retrieve to/from MySQL Table in PHP Function
Sava replied to freshJet's topic in Support Forum
I had those moments when I just needed to make a comment lol Sorry, haha -
Insert/Retrieve to/from MySQL Table in PHP Function
Sava replied to freshJet's topic in Support Forum
-
Insert/Retrieve to/from MySQL Table in PHP Function
Sava replied to freshJet's topic in Support Forum
You can create an index function(method) with just code for displaying the form, and then make the form's action /module/newmethod And then do: Public function newmethod() { //do insert code here } hope you follow by now. The second option is to have the submit code in the index function as well but you need to include an if statement to see if the button has been pressed $this->post->submit should be what you are looking for. Look at my Hub Transfer or LoA modules that are just pure CRUD code, and you'll get an idea. Sorry for the format. Writing from the iPad. -
As far as I see it, you cannot change what is displayed, because it is calculated randomly taking into account the load factor and max pax inside kACARS. You can however change what is in the end sent into the DB. The $load variable you mentioned should be changed to anything you want. But I guess that is not what you need
-
I am not sure I follow correctly, but you can only change what data is already being sent to kACARS. You are limited to what kACARS can already display within its fields. For example, when I modified how my schedules work, I modified the kACARS_Free.php file to send different data then it actually would with stock schedules - it sends the chosen a/c from the aircraft column in the bids table instead the one in the schedules. I also modified what you get when you click Get Aircraft. All interaction is done from that file. If you be more specific with what you need I can help out.
-
We were also looking for something like this. I guess I'll contact Jeff. I didn't think he was up for doing that much customization
-
Zishan, how much are you asking for the VA?
-
Make that 10
-
Forums are a place where people post their thoughts freely and publicly. If you can't put up with the comments you receive, maybe it's your problem. +1 to Daniel's post.
-
Isn't this the same VA you purchased from Jordan?
-
United Airlines Virtual
Sava replied to UnitedAirlinesVirtual's topic in Virtual Airlines Discussion
Why not get a domain for the VA aswell? -
United Airlines Virtual
Sava replied to UnitedAirlinesVirtual's topic in Virtual Airlines Discussion
My thoughts exactly... -
Been real busy with projects so I have put this on hold for now. I hope to get time to work on this soon.
-
Some people asked me questions and there seems to be a misunderstanding on what this module will do. It doesn't have any integration with paypal or anything like that. It allows pilots to purchase 'fake items' like Cars, houses or anything you add for a price that is taken from their vAccounts. All purchase items will be available on the pages of those pilots or anywhere you want. I am thinking of creating the possiblitty of also trading and selling items between pilots but that might come as some sort of Advanced version. Never the less, that is what the base version would cover. There isn't any connection to for example book a special aicraft for your own tour or something like that which some of you asked.
-
Yep, it returns a 403 for viewing the directories without an index. You can customize the error returned and create a custom error pages. Glad I could help.
-
While I am really not a fan of the layout you have, it looks nice. You might also want to disable the popup that is displayed when you right click. Quite annoying and it doesn't server any purpose since FF for exmaple has an option that says "Disable this page from making popups in the future". And in other browsers you can just use the menu to view the source. Nice site all in all.
-
You can block viewing of indexes and direct access to files. Add this to the .htaccess file. Options All -Indexes <FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl)$"> Order Allow,Deny Deny from all </FilesMatch> Btw, if the server lets you actually DOWNLOAD .php files than apache or whatever you are running isn't set correctly and that is a big issue.
-
Yes, it will work. I won't release stuff that doesn't work.
-
I have the same opinion on this to be honest, and I won't be introducing it to my VA also, but I am creating it as I saw several people requesting this module. Thanks for the kind comment!
-
Hey guys! I am excited to share yet another release by me. This time it is the completely custom PilotShop addon, currently still work in progress but to be released soon. What is currently done is the admin panel part of the addon, complete with the database structure behind it. What is left to be done is the front-end bit, but I am satisfied with what I have now so I am gonna give you guys a teaser. The addon gives you the possibility of creating shop item categories, and then adding various items to them. Every item has a name, description, image and a price. Once completed, pilots will be able to purchase these items from the front end and have the purchases displayed on their profile. Admins have an option to award a pilot with a shop item as well. The addon will include an update checker (as shown on the preview images) that queries an update server for updates. If an update is found, you are notified. At this time I am considering a possibility for pilots to have an option to sell an item for a price they set and have other pilots get stuff from them. This is a thought at this time so I am asking you if you would be interested in this option? The module is going to be released as payware, for a yet not decided price, but it will be around the price other complex modules are released for. I still yet haven't decided how I'd sell this, but I'll figure that out by the time I finish the module. Any ideas? When I am going to finish it depends on several factors, but my best guess is sometime next week, depending on RL commitments. Preview: Share your thoughts, ideas and suggestions. Regards Sava