Jump to content

magicflyer

Members
  • Posts

    381
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by magicflyer

  1. I'm trying to figure out how to add in more statistics to the box. Like Passenger/Cargo/Schedule's ??

    Unfortunately our current template doesn't support that statistic, but I am sure there's a module out there capable of gathering that information. The file you're going to want to look at is frontpage_main.tpl, under the "Statistics" heading in the file. Be wary of the code that's on there, so create a backup before experimenting.

  2. $slideshow_images = array(
       "URL FOR IMAGE 1",
       "URL FOR IMAGE 2",
       "URL FOR IMAGE 3"
    )
    

    The instructions are in the comments just above it. Just replace the URL FOR IMAGE tag with your actual link for your image. You can also add as much images as you wish by just separating each by commas, and enclosing them in quotes.

  3. Updated to Version 1.1

    Preview is back up and running + Download link is fixed and fully operational

    Changelog

    • Page Width set to 75%, Changing it from the original full-width design
    • Responsiveness added(Site adapts to various device sizes)
    • Code Indenting and Structure upgraded to our 2015 Standards. Much, much easier for the end-user to experiment with
    • Slideshow made easier to edit by adding in a settings.php file. Instructions on how to edit can be found on the main post.
    • Changed basic styling for text fonts
    • Fixed "Add to Bid" issue

    New link: http://zumeweb.com/e...w?target=Arctic

  4. Assuming that you're using smartCARS(I don't know if you are) You'll find that file inside the "SmartCARS" folder that you placed in your phpVMS installation upon downloading the software. If you used another ACARS software, then you would have to personally consult with the developer of that software to determine where the status strings can be edited.

  5. Do not take any action before backing up your files

    1. Browse to your smartcars directory in your phpVMS installation
    2. Open up the file "interface.php"
    3. On line 636 you should see an array "$phases", the contents of this array would be your flight status. Change as needed.
    4. NOTE: You may not add or remove array elements, you may only edit them

  6. Bonjour,

    Vérifiez que il on à un fichier dans le directoire /core/commons qui correspond au nom "StatsData.class.php". Se il ne est pas, en créer un et coller le contenu suivant -

    http://docs.phpvms.net/internals/de/dd3/v2_2core_2common_2_stats_data_8class_8php_source.html

    ##

    Good Morning,

    Check if there's a file by the name of "StatsData.class.php" in your core/commons subdirectory. If there is not, Create one and copy/paste the following code in it -

    http://docs.phpvms.net/internals/de/dd3/v2_2core_2common_2_stats_data_8class_8php_source.html

  7. The autozoom was an alternate solution to your issue. You definitely have something else going on in your phpVMS but it seems to me that It may be nearly impossible to locate without comparing each file to the original.

    The plane is off screen, and that's because autozoom was set to false which means that google maps will not change the center coordinates so that your aircraft is visible. If you were to click, hold and drag the map around you'll find the plane. My best suggestion is to Zoom out by setting the zoom parameter in the code above to a lower value(Or greater, not sure...whichever lets you zoom out - experiment.)

    Another Alternative is the following code -

    var acars_map_defaults = {
    autozoom: true,
    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.ROADMAP,
    refreshTime: 10000
    };
    

    The code above would reset to the normal autozoom, but those black images would disappear. They would instead be replaced with a roadmap of the region.

  8. Change autozoom to false. This is how it would look like -

    var acars_map_defaults = {
    autozoom: false,
    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.HYBRID,
    refreshTime: 10000
    };
    

×
×
  • Create New...