-
Posts
381 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by magicflyer
-
<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.
-
Integrate login from PHPvms into C# Program
magicflyer replied to LanceDesigns's topic in Support Forum
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?
-
Log a user in, without their password.
magicflyer replied to mindfulhacker's topic in Development Help
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. -
At the moment it only shows enabled airports, but I'll modify it as soon as I can.
-
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 -
-
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 };
-
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! Publish a review to Google Like us on Facebook Follow us on Twitter
-
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.
-
example.com/admin after logging in as a regular user to get to the admin side.
-
Did you make any modifications, or are you using any modules to render schedules? Loading up conflicting javascript code could also be the error.
-
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/
-
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.
-
Yeah, that's right! I was going to mention that, but I didn't get a chance to. Glad you got it fixed.
-
creating a link in the dropdown for sertain groups
magicflyer replied to joeri's topic in Code Snippets
Auth::UserInGroup($groupname); Would return a boolean, either true or false pertaining to whether a logged in user is in a group or not. Use it accordingly within an if statements as such: if(Auth::UserInGroup('retired_pilots')){ echo "User is retired"; }