Jump to content

perryfincher

Members
  • Posts

    55
  • Joined

  • Last visited

Posts posted by perryfincher

  1. Hello;

    We are using the Ocean Blue skin for phpvms.  Our site is just about done and may go live soon.

    Just had a couple questions.

    First, if you go to our temp site at http://panamericanva.com/phpvms/

    The second menu option is "Corporate", under that are just a few options with "Our Pilots" being the first.  If you click on "Our Pilot", of course it will show the hubs and pilots listed under each hub.

    What I would like to know if I wanted to arrange this page where I can list each hub to be placed under a banner for Crew Bases such as "Atlantic Crew Base" and have our Atlantic hubs such as KBOS, KJFK, KIAD, and KMIA list the pilots in each of the hub under the "Atlantic Crew Base" banner?  If that makes sense.

    Also, I want to add other options or menu items to the navigation bar for which some would be viewable by public and others not.  Along with that, would like to add pages with pics, text, and links for different menu options.  How would I go about do this?

    Thanks for any help!!!

  2. Okay, tried different things and even tried installing CrazyCreatives Flight Tracker and Partner Live Map.

    Now, I get blank screen on home page of Ocean Blue Skin for the Live Flight Tracker and blank screen on the Live Map page.

    Have no glue how to fix it.

    Tried copying all default Ocean Blue files back in but can't figure it out.

    Am missing something somewhere.

    Any help will be greatly appreciated.

    Thanks

  3. Hmmmm

    Thanks for replying ProAvia

    It seems, every time I edit the line, I either get "Oops Something Went Wrong" or get the same previous message "For Developers Purposes Only" and asked if I own the website; which I do.

    Must be doing something wrong.

  4. I have looked around and cannot find anything within the skin or else where to enter an API Key.

    This is my local.config:

    <?php

    /**
     * This is the phpVMS Main Configuration File
     *
     * This file won't be modified/touched by future versions
     * of phpVMS, you can change your settings here
     *
     * There may also be additional settings in app.config.php
     * To change it, copy the line into this file here, for the
     * settings to take effect
     *
     */
    Config::Set('DEBUG_MODE', false);
    Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries
    Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE);

    define('DBASE_USER', );
    define('DBASE_PASS', );
    define('DBASE_NAME', );
    define('DBASE_SERVER', 'localhost');
    define('DBASE_TYPE', 'mysqli');

    define('TABLE_PREFIX', 'phpvms_');

    define('SITE_URL', 'http://www.panamericanva.com/phpvms');

    # Page encoding options
    Config::Set('PAGE_ENCODING', 'ISO-8859-1');

    # Clean URLs - set this to true, and then uncomment
    # the lines indicated in the .htaccess file
    Config::Set('URL_REWRITE', false);

    # Maintenance mode - this disables the site to non-admins
    Config::Set('MAINTENANCE_MODE', false);
    Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');

    /* Whether you have the /admin/maintenance.php script added into cron.
     If you do, set this to true. This saves many DB calls since phpVMS will
     have to 'fake' a cron-job
     */
    Config::Set('USE_CRON', false);

    Config::Set('CHECK_RELEASE_VERSION', true);
    Config::Set('CHECK_BETA_VERSION', false);

    # See more details about these in the docs
    Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP
    Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from
    Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID
    Config::Set('UNITS', 'nm');   # Your units: nm, mi or km
    Config::Set('LOAD_FACTOR', '82'); # %age load factor
    Config::Set('CARGO_UNITS', 'lbs');

    # After how long to mark a pilot inactive, in days
    Config::Set('PILOT_AUTO_RETIRE', false);
    Config::Set('PILOT_INACTIVE_TIME', 90);

    # Automatically confirm pilots?
    Config::Set('PILOT_AUTO_CONFIRM', false);

    # Automatically calculate ranks?
    Config::Set('RANKS_AUTOCALCULATE', true);

    # For how many hours a pilot can edit their submitted PIREP (custom fields only)
    Config::Set('PIREP_CUSTOM_FIELD_EDIT', '24');

    # If someone places a bid, whether to disable that or not
    Config::Set('DISABLE_SCHED_ON_BID', true);
    Config::Set('DISABLE_BIDS_ON_BID', false);

    # If you want to count transfer hours in rank calculations
    Config::Set('TRANSFER_HOURS_IN_RANKS', true);

    # The StatsData::UserOnline() function - how many minutes to check
    Config::Set('USERS_ONLINE_TIME', 20);

    # Google Map Options
    Config::Set('MAP_WIDTH', '800px');
    Config::Set('MAP_HEIGHT', '600px');
    # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP
    Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');
    Config::Set('MAP_LINE_COLOR', '#ff0000');
    Config::Set('MAP_CENTER_LAT', '45.484400');
    Config::Set('MAP_CENTER_LNG', '-62.334821');
    Config::Set('MAP_ZOOM_LEVEL', 12);

    # ACARS options
    #  Minutes, flights to show on the ACARS
    #  Default is 720 minutes (12 hours)
    Config::Set('ACARS_LIVE_TIME', 720);
    Config::Set('ACARS_DEBUG', false);

    # This is your airline's twitter account, if it exists
    Config::Set('TWITTER_AIRLINE_ACCOUNT', '');
    Config::Set('TWITTER_ENABLE_PUSH', false);
    Config::Set('TWITTER_CONSUMER_KEY', '');
    Config::Set('TWITTER_CONSUMER_SECRET', '');
    Config::Set('TWITTER_OAUTH_TOKEN', '');
    Config::Set('TWITTER_OAUTH_SECRET', '');

    /*
      This is the unit of money. For non-dollars, use :
     Dollars ($), enter "$"
     Euro (
     
     /* Keys for recaptcha, you can change these if you want to your own but it's
     a global key so it should just work */
    Config::Set('RECAPTCHA_PUBLIC_KEY', );
    Config::Set('RECAPTCHA_PRIVATE_KEY', );

     

    This is the core_htmlhead.php inside the skin:

    <?php
    /**
     *  STOP! HAMMER TIME!
     *
     * ====> READ THIS !!!!!
     *
     * I really really, REALLY suggest you don't edit this file.
     * Why? This is the "main header" file where I put changes for updates.
     * And you don't want to have to manually go through and figure those out.
     *
     * That equals headache for you, and headache for me to figure out what went wrong.
     *
     * BUT BUT WAIT, you say... I want to include more javascript, css, etc...!
     * Well - in your skin's header.tpl file, this file is included as:
     *
     * Template::Show('core_htmlhead.tpl');
     *
     * Just add your stuff under that line there. That way, it's in the proper
     * spot, and this file stays intact for the system (and me) to be able to
     * make clean updates whenever needed. Less bugs = happy users (and happy me)
     *
     * THANKS!
     */
    ?>
    <script type="text/javascript">
    var baseurl = "<?php echo SITE_URL;?>";
    var geourl = "<?php echo GEONAME_URL; ?>";
    </script>

    <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" />
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" />

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    <script type="text/javascript" src="<?php  echo fileurl('lib/js/jquery.form.js');?>"></script>
    <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script>
    <?php
    echo $MODULE_HEAD_INC;

     

    This is in my core_htmlhead in /core/templates

    <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
    <?php
    /**
     *  STOP! HAMMER TIME!
     *
     * ====> READ THIS !!!!!
     *
     * I really really, REALLY suggest you don't edit this file.
     * Why? This is the "main header" file where I put changes for updates.
     * And you don't want to have to manually go through and figure those out.
     *
     * That equals headache for you, and headache for me to figure out what went wrong.
     *
     * BUT BUT WAIT, you say... I want to include more javascript, css, etc...!
     * Well - in your skin's header.tpl file, this file is included as:
     *
     * Template::Show('core_htmlhead.tpl');
     *
     * Just add your stuff under that line there. That way, it's in the proper
     * spot, and this file stays intact for the system (and me) to be able to
     * make clean updates whenever needed. Less bugs = happy users (and happy me)
     *
     * THANKS!
     */
    ?>
    <script type="text/javascript">
    var baseurl = "<?php echo SITE_URL;?>";
    </script>

    <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" />
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" />

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
    <script type="text/javascript" src=http://maps.google.com/maps/api/js?></script>
    <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script>
    <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script>

    <?php
    echo $MODULE_HEAD_INC;

     

  5. Morning;

    I am using the Ocean Blue Skin for my VA.

    Can anyone tell me how to find and add an API Key for the Google Map?

    I have looked around in php files inside this skin and cannot find anything to where this can be edited.

    Thanks

     

  6. Hello,

    I am trying different skins.

    I installed the Ocean Blue and was trying to figure out how to add modules such as fleet under the Corporate Menu or add other menu buttons and different modules, documents, and etc.

    Where can I find a fleet module or string to add it to the Ocean Blue skin?

    I have found that things can added to the core_navigation.php

    Thanks

    Perry

  7. I purchased the Crazy Creatives Skin called JetSet Basic.

    I have it installed and have my home page setup for the most part.

    Was wondering if anyone has used this skin.

    I cannot figure out how to add more menu names to the navigation bar as well as create additional pages.

    Can this be done on this skin or do you have to buy there modules?

    Been waiting to become a verified member for their forum to ask these questions, but haven't heard anything back.

    Any help and/or ideas will be greatly appreciated.

    Thanks

    Perry Fincher

  8. I seen the Test Test.

    Did you get the reCaptcha box?

    I did a test one as well and nothing happened.

    Will you try it again?

    Also, how do I get phpvms to send applications or registrations to my email?

    Thanks

    Perry

  9. Hey ProAvia;

    I copied all the text from the app.config.php into the local.config.php and then inserted my reCatcha keys.

    I checked the registrations page and no fields show up next to the reCaptcha.

    Below is my local.config.php file with keys inserted at bottom.

    <?php

    /**
     * This is the phpVMS Main Configuration File
     *
     * This file won't be modified/touched by future versions
     * of phpVMS, you can change your settings here
     *
     * There may also be additional settings in app.config.php
     * To change it, copy the line into this file here, for the
     * settings to take effect
     *
     */
    Config::Set('DEBUG_MODE', false);
    Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries
    Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE);

     

    define('TABLE_PREFIX', 'phpvms_');

    define('SITE_URL', 'http://www.panamericanva.com/phpvms');

    # Page encoding options
    Config::Set('PAGE_ENCODING', 'ISO-8859-1');

    # Clean URLs - set this to true, and then uncomment
    # the lines indicated in the .htaccess file
    Config::Set('URL_REWRITE', false);

    # Maintenance mode - this disables the site to non-admins
    Config::Set('MAINTENANCE_MODE', false);
    Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');

    /* Whether you have the /admin/maintenance.php script added into cron.
     If you do, set this to true. This saves many DB calls since phpVMS will
     have to 'fake' a cron-job
     */
    Config::Set('USE_CRON', false);

    Config::Set('CHECK_RELEASE_VERSION', true);
    Config::Set('CHECK_BETA_VERSION', false);

    # See more details about these in the docs
    Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP
    Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from
    Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID
    Config::Set('UNITS', 'nm');   # Your units: nm, mi or km
    Config::Set('LOAD_FACTOR', '82'); # %age load factor
    Config::Set('CARGO_UNITS', 'lbs');

    # After how long to mark a pilot inactive, in days
    Config::Set('PILOT_AUTO_RETIRE', true);
    Config::Set('PILOT_INACTIVE_TIME', 90);

    # Automatically confirm pilots?
    Config::Set('PILOT_AUTO_CONFIRM', false);

    # Automatically calculate ranks?
    Config::Set('RANKS_AUTOCALCULATE', true);

    # For how many hours a pilot can edit their submitted PIREP (custom fields only)
    Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48');

    # If someone places a bid, whether to disable that or not
    Config::Set('DISABLE_SCHED_ON_BID', true);
    Config::Set('DISABLE_BIDS_ON_BID', false);

    # If you want to count transfer hours in rank calculations
    Config::Set('TRANSFER_HOURS_IN_RANKS', false);

    # The StatsData::UserOnline() function - how many minutes to check
    Config::Set('USERS_ONLINE_TIME', 20);

    # Google Map Options
    Config::Set('MAP_WIDTH', '800px');
    Config::Set('MAP_HEIGHT', '600px');
    # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP
    Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');
    Config::Set('MAP_LINE_COLOR', '#ff0000');
    Config::Set('MAP_CENTER_LAT', '45.484400');
    Config::Set('MAP_CENTER_LNG', '-62.334821');
    Config::Set('MAP_ZOOM_LEVEL', 12);

    # ACARS options
    #  Minutes, flights to show on the ACARS
    #  Default is 720 minutes (12 hours)
    Config::Set('ACARS_LIVE_TIME', 720);
    Config::Set('ACARS_DEBUG', false);

    # This is your airline's twitter account, if it exists
    Config::Set('TWITTER_AIRLINE_ACCOUNT', '');
    Config::Set('TWITTER_ENABLE_PUSH', false);
    Config::Set('TWITTER_CONSUMER_KEY', '');
    Config::Set('TWITTER_CONSUMER_SECRET', '');
    Config::Set('TWITTER_OAUTH_TOKEN', '');
    Config::Set('TWITTER_OAUTH_SECRET', '');

    /*
      This is the unit of money. For non-dollars, use :
     Dollars ($), enter "$"
        Euro (

    /* Keys for recaptcha, you can change these if you want to your own but it's
     a global key so it should just work */
    Config::Set('RECAPTCHA_PUBLIC_KEY', );
    Config::Set('RECAPTCHA_PRIVATE_KEY', );

     

    Thanks

  10. Thanks ProAvia!!!

    Have downloaded the Simpilot version and will install it this weekend.

    One question, did I understand correctly that the reGatcha is already installed and ready for use or do I need to put the keys I got from google into it?

    Thanks again for all your help.

  11. Hey ProAvia;

     am trying to install phpVMS 5.0 Classic

    My host server states the PHP version is 5.4.45

    Our website is a paid service and is hosted by Arvixe.

    If you can help me with this, it will be greatly appreciated.

    I may have to reinstall everything in case I messed something up.

    Thanks

  12. Hello;

    I have tried all the ReCatcha changes and updates as stated before.

    Nothing works, nor do I understand it.

    Has anyone made any files that are updated and all you have to do is enter the keys?

    If not, how do you clearly take reCatcha out.

    Thanks

  13. 46 minutes ago, ProAvia said:

    I apologize for bothering you again.

    While in the admin center, on the left and second from bottom "View Your Site", when I click on it, the next page is "phpvms admin" instead of going to my website at www.panamericanva.com.

    Looking at the properties, the url is http://www.panamericanva.com/phpvms/index.php instead of http://www.panamericanva.com/ or http://www.panamericanva.com/index.html.

    Is there a way to change it?

    Afterwards, plan to set everything up and start working on installing the various pages and modules into the pages on my website.

    Thanks again for your help, ProAvia.

    Perry Fincher

×
×
  • Create New...