Jump to content

Virtualei

Members
  • Posts

    367
  • Joined

  • Last visited

Posts posted by Virtualei

  1. Could a search function be added to this module to find out what pilot flew the most hours of a particular month. I know the display shows for the current month but I would like to find out who flew the most hours last month. Thanks in advance

     

  2. Hi all,

     

    I have encountered an issue that has only just started happening on my site. When someone logs onto my site the URL page stays the same https://virtualei.net/index.php/login

     

    and the main page does not appear. If you then click on a button on the Home tab all works fine. Can anyone advise what they think is happeneing .

     

    Thanks in advance

    https://prnt.sc/xbcuo1

    after logging in

     

    https://prnt.sc/xbcvld

     after clicking home button

     

  3. Hi all, I wish I had seen the comments about Crazy Creatives not being active anymore before I purchased his Airline Route map. I have tried to contact him but I am not getting a reply. I am appealing to you all for some help. My map is blank and I do not know how to fix it. Can anyone advise what I need to do. I realize that this is a paid module but as Crazy Creatives are not active I do not know where to turn to. Please see below.

    https://prnt.sc/x2amn2

  4. I am really starting to think it is the API. I have again deleted all the file and re-installed them. Still getting the same error. Interestingly though when I check my sources on my site i get this 

     

    https://prnt.sc/sw0r8e

     

    but this is the code I have on my cpanel

     

    * SimBrief APIv1 Javascript Functions
    * For use with VA Dispatch systems
    * By Derek Mayer - contact@simbrief.com
    *
    * Any individual wishing to make use of this class must first contact me
    * to obtain a unique API key; without which it will be impossible to connect 
    * to the API.
    *
    * Any attempt to circumvent the API authorization, steal another 
    * developer's API key, hack, compromise, or gain unauthorized access to 
    * the SimBrief website or it's web systems, or bypass or allow others to bypass
    * the SimBrief.com login screen will result in immediate revocation of the
    * associated API key, and in serious situations, legal action at my discretion.
    */
    
    
    /*
    * Modify this variable if your "simbrief.apiv1.php" file is not located in the
    * same directory as your Dispatch Options page.
    */
    
    var api_dir = 'https://www.virtualei.net/core/modules/SimBrief/'; //Ex. "some/directory/";
    
    
    
    /*
    * Settings and initial variables
    */

    I will wait and see if Simbrief get back to me witha new key unless anyone else has any ideas

     

    Thanks

     

    Alan

  5. 2 minutes ago, PetitJedi said:

    hi

     

    You have a SimBrief file present in your skin (lib / skins / your_name_skin / SimBrief /?

    normally in the SimBrief folder placed in "core / modules /" you have the SimBriefk file, do you have the right path for your .tpl ?

    
    $this-> render ('SimBrief / SimBrief.tpl');

    be careful, respect if you have capital letters in your folder and file names?

    Yes I had copied that out of my Core/templates folder to try something . I have removed that file now and the original file is still in the correct place. Thanks :)

  6. 3 minutes ago, ProAvia said:

    Which means the API key is tied to virtualei.net - so anything that point that domain will work with the API key.

     

    I would double check all the simBrief files again. Also verify the SITE_URL in local.config.php is shown as https and not http. I think its around line 27 in local.config.php

    Thanks again for your reply. HTTPS is used in my local config file ok. I deleted all the files again and re-installed thembut still the same problem. My head is turned :( I have written to Derek again to see if he would issue a new key just even to put my mind at ease

  7. Hi

    Wondering if anyone can help. I have done a new skin for my VA deciding to change from the Icrew Skin. When my VA used the Icrew its URL was crew.virtualei.net

    With my new skin I have gone back to the parent URL virtualei.net

    My problem is that my simbrief button is not working. I uninstalled the module and all the files and did a fresh install remembering to put in the new URL and my API in the correct files. When I click on the. When I inspect for console errors it is still saying crew.virtualei.net as per screenshot. I have cleared my PC cache and history but it doesnt work. I am at a total loss. Any help appreciated.

     

    https://prnt.sc/svd4ud

     

     

  8. Hi I wonder if anyone can help. When I try to email from my admin center it all looks fine but the mail does not go. Instead I get an email saying Mail failure - rejected by local scanning code

    A message that you sent was rejected by the local scanning code that
    checks incoming messages on this system. The following error was given:

      Local sendmail disabled

     

    My webmail works fine and other VA's mass email work ok so its not a hosting problem.

     

    Can anyone help

     

    Thanks

  9. 7 hours ago, servetas said:

    Each pilot can be part of multiple groups, do you want to show all the groups the pilot is assigned to?

    Hi @servetas,

    I thought about that afterwards and dont really want to show them all. What I was really trying to achieve was to keep a check on who had admin rights and I thought this was probably the best way. I guess the better way would be a module for the admin center showing who belongs to each group, but that would probably be a big job.

     

    Thanks for the reply

  10. Hi all

    I would like to add which group a pilot belongs to in the pilot list in the admin section. I have had a go but no luck unfortunately. Can anyone please advise how to do it. I would like it to be beside Last Name

    Thanks in advance

     

    <h3>Pilots List</h3>
    
    <table id="grid"></table>
    <div id="pager"></div>
    <br />
    
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo fileurl('/lib/js/jqgrid/css/ui.jqgrid.css');?>" />
    <script src="<?php echo fileurl('/lib/js/jqgrid/js/i18n/grid.locale-en.js');?>" type="text/javascript"></script>
    <script src="<?php echo fileurl('/lib/js/jqgrid/js/jquery.jqGrid.min.js');?>" type="text/javascript"></script>
    
    <script type="text/javascript">
    $("#grid").jqGrid({
       url: '<?php echo adminaction('/pilotadmin/getpilotsjson');?>',
       datatype: 'json',
       mtype: 'GET',
       colNames: ['','Pilot ID', 'First', 'Last', 'Email', 'Location', 'Status', 'Rank', 'Flights', 'Hours', 'IP', 'Edit'],
       colModel : [
    		{index: 'id', name: 'id', hidden: true, search: false },
    		{index: 'pilotid', name : 'pilotid',sortable : true, align: 'left', search: 'true', searchoptions:{sopt:['in']}},
    		{index: 'firstname', name : 'firstname',sortable : true, align: 'left', search: 'true', searchoptions:{sopt:['in']}},
    		{index: 'lastname', name : 'lastname',  sortable : true, align: 'left', searchoptions:{sopt:['in']}},
    		{index: 'email', name : 'email', sortable : true, align: 'left',searchoptions:{sopt:['li']}},
    		{index: 'location', name : 'location',  sortable : true, align: 'center',searchoptions:{sopt:['eq','ne']}},
    		{index: 'status', name : 'status', sortable : true, align: 'center',searchoptions:{sopt:['in']}},
    		{index: 'rank', name : 'rank', sortable : true, align: 'center', searchoptions:{sopt:['eq','ne']}},
    		{index: 'totalflights', name : 'totalflights', sortable : true, align: 'center',searchoptions:{sopt:['lt','gt']}},
    		{index: 'totalhours', name : 'totalhours', sortable : true, align: 'center',searchoptions:{sopt:['lt','gt']}},
    		{index: 'lastip', name : 'lastip', sortable : true, align: 'center', searchoptions:{sopt:['in']}},
    		{index: '', name : '', sortable : true, align: 'center', search: false}
    	],
        pager: '#pager', rowNum: 25,
        sortname: 'pilotid', sortorder: 'asc',
        viewrecords: true, autowidth: true,
        height: '100%'
    });
    
    jQuery("#grid").jqGrid('navGrid','#pager', 
    	{edit:false,add:false,del:false,search:true,refresh:true},
    	{}, // edit 
    	{}, // add 
    	{}, //del 
    	{multipleSearch:true} // search options 
    ); 
    </script>

     

  11. Hi all,

     

    I have been searching these forums and trying different things all day to sort this problem but I think it has beaten me :( so any help would be much appreciated. I moved my site to a new host and I think my main problem is that the SQL is a different version. I am not clued up on databases at all really. My old host was SQL 5.5 and my new one is 5.6

    The first problem I cam accross was that once I tried to log in was I got the dreaded You need to be logged in to view this page. This happened on my skin and default skin. 

    After clearing my CAche and PHPVMS_sessions it made no difference.

    Next I tried a fresh install and upgraded to Simpilots 5.5 to see if that made a difference. Once the install was complete I changed the local_config to look for the older database and not the new one made on the new installation and still we cannot log in. 

    Is there anyway I can import all my pilots , pireps etc into the new database as this one seems to work. I tried using an export and then import but got the a foreign key constraint failure

    Please help.

    www.jet2virtual.com

×
×
  • Create New...