-
Posts
381 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by magicflyer
-
-
Ok, so from what I understand , ill have to make a module that can get the required information from the website whilst also being able to give information to the website. The thing I don't understand, is how to get and send the information from the program to the module.
FSUIPC, Look up the API(Application Programming Interface - Essentially a wiki on how to use the functions). You're gonna wanna know a server-side language(PHP), and another C-Based language. A nice compliment would be data structures, JSON, Database knowledge(SQL should do). There's not exactly a guide out there that'll teach you how to create your own ACARS system, so this is just a general idea of what you need to know to be able to create your own software infrastructure.
Sample Data Flow, of how things will work:
Flight Simulator <-1-> Application <-2-> Server
<-1-> You would use FSUIPC to communicate between the app and flight sim
<-2-> You would use PHP, JSON, and maybe XML(For Structured Data) to communicate between the app and the server
I really suggest getting smartCARS, kAcars, or I think there's a free open source system somewhere around the forum...
- 1
-
<script> document.body.style.background = "#HEXHEX !important"; </script>
-
Use this code in the .tpl/.php file you want it changed(Put it at the top). The !important at the end servers to override any existing properties for backgroundImage.
<script> document.body.style.backgroundImage = "url('INSERT IMAGE URL HERE') !important"; </script>
That should do it. Don't try to change it via CSS in the .tpl file, it's not going to override it's parent elements.
-
No, there will not be a pro version of this module. CrazyCreatives already has a more advanced version of this, and the market is simply too small to make for a healthy competition. This module is just for the virtual airlines that want a simple, and FREE solution.
Doesn't mean I might not add a few little unique tweaks in the future.
- 1
-
It's simple, just use httprequest, or retrieve data via json so you do not create a direct connection by C #
If you do that, be sure to add an encryption level or it couldn't get any easier to execute a brute force attack.
-
I've had some requests recently from new virtual airline startups who weren't too familiar with phpVMS and it's built in functions. They would much prefer experiencing it, then just reading about it. Would it be possible for phpVMS.net to setup a demo directory of the framework?
-
I'm currently creating a script that works with my other systems on the server. I have got a page, which when a user logs in successfully, returns the CID, First Name and Last Name from database.
I'd like to make it, so when my page renders, it logs the user into phpVMS.
Except, I won't have a password, just CID and name.
I can get the userID from the database, using MySQL, but apart from that, I can't see any logical way of doing this.
Any ideas?
That's very very unsecure. Anyone could get everyone's email address, sensitive profile information, change passwords(Think about logging in to smartCARS), and a few other things I can't think of. VERY VERY unsecure, and a breach of a user's privacy policy.
I apologize if I am misunderstanding your intent.
-
thank you for your beautifull module!!!
is there a way the map to show only the airports in the schedules???
At the moment it only shows enabled airports, but I'll modify it as soon as I can.
-
i have this problem....
You shouldn't be in viewmapbig, it should be http://www.gralexand...index.php/acars
Thanks for using one of our skins!
-
This here should work, do it for each function -
Change
public function getAircraftTotals(){ ...
to
public static function getAircraftTotals(){ ...
in what I assume must be core/common/FleetData.class.php.
-
How to Change the Look of the ACARS Map
As usual, We highly suggest backing up before making any changes.
1. Find the Style you want on https://snazzymaps.com
2. Click on "COPY" by the Code Snippet
3. Open up the file "acarsmap.tpl" located in your skins folder
4. Around line 38, BEFORE the acars_map_default variable add the following code:
var myStyle = PASTE HERE
5. Paste what you copied in step #2 where it says "PASTE HERE" in the snippet above.
6. INSIDE the acars_map_default variable add the following code:
var acars_map_defaults = { autozoom: true, styles: myStyle, // <-- ADD THIS zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 10000 };
Note the comma at the end to indicate a separate property for the Google Map. So....let's wrap up. Here's the final code:
var myStyle = PASTE HERE var acars_map_defaults = { autozoom: true, styles: myStyle, // <-- ADD THIS zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 10000 };
- 4
-
Hello!
A simple destination module has been created and published on Zumeweb. Have a look!
Demo Link: http://zumeweb.com/e...et=Destinations
Download Link: http://zumeweb.com/d...tionsModule.zip
There's a credit link at the bottom of the module, however we take no harm if you remove it.
How to change the style of the Map
In the file destinations.tpl found in /core/templates look for the line containing var _styles =
You can modify the options that are on there, or visit https://snazzymaps.com/ and pick a style you love.
Then, Copy&Paste the style code right after the equal sign.
How to change the airport icons
The icons can be found in /lib/images/mapassets, replace the icons as you wish however keep in mind
that if you have a lot of destinations, it's wise to keep the icons very small or otherwise it would be unreadable
at the default map zoom level. That's why we went with the dots, we suggest you keep it that way.
Do you like this product? Let us know, so we can make more!
-
There's a much easier way to have progress bars, thanks to HTML 5 and that is....<progress value="0.5"></progress> where value=X refers to a number between 0.0 (0%) and 1.0 (100%) You can even theme it as you wish: https://css-tricks.com/html5-progress-element/
-
To clarify what he means, he wants someone to take a PSD and convert it to a phpVMS skin.
-
It means that the time phpVMS uses for schedules, and all other time-related functions is the Server's. That way it's consistent across all timezones.
-
Your server's timezone may be different than your physical timezone. The PHP framework works off of the former.
-
i have installed the skin but i cannot login in the website or in the admin!! any help???
example.com/admin after logging in as a regular user to get to the admin side.
-
Already this fact, the problem is still not let me make a flight reservation
Mensaje No route passed, I'm working with the latest version of ARTIC
Did you make any modifications, or are you using any modules to render schedules? Loading up conflicting javascript code could also be the error.
-
The only change has silo files to PHP format, but it salindo when click ADD to BID is No route passed.
There is a version for PHP?
Not at the moment, but if you want to create a php version, you just need to change the extension of each file from .tpl to .php
-
Macro is code for Excel.
I believe the newer version of excel has a text to columns feature. Copy and paste the text file into the excel document and use that feature to split them into columns.
-
Unless you can get a nice piece of code that'll organize it for you, we'll have to work it out old-fashioned using Excel.
I did some experimenting by copying and pasting the text into excel and running a macro, and I was able able to separate the values into their own columns in a table. You'll have to do some copy/pasting to get it to work with phpVMS' schedule CSV templates, but I guess this is a start:
Excel File: zumeweb.com/downloads/Book1.xlsx
CSV File: zumeweb.com/downloads/Book1.csv
A phpVMS Template can be found in your phpVMS Admin Panel, on the Schedule Importer's sidebar. Best I can do with helping you Best Wishes.
-
Been getting the same issue. Used to work just fine, and now I can't load up my avatar. I feel empty without it.
-
This one's on the works. Lots of issues that need to be dealt with. Have a look at our arctic skin here, meanwhile: http://forum.phpvms....te-skin-arctic/
- 1
-
Got Trouble at www.canadianarcticvirtual.com. I just got smartcars and there hosting and arctic skin here wont go right in my phpvms install on TFDi hosting. Gives me some sort of line 248 core thing. I have the arctic in the skins, and tried both tlp and php, no difference.
That's not an error caused by the skin. Please post a screenshot, or the full error in the support forum. Maybe someone who saw the error before can help you.
- 1
Installing Skins into PHPVMS?
in Support Forum
Posted
Drop the downloaded zip onto the /lib/skins directory of your phpVMS installation. Then, go to the admin panel, under general settings, and change "Zumeweb.Arctic" to be the active skin.