Jump to content

RodrigoMoreira9

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by RodrigoMoreira9

  1. Rodrigo,

    In its schedule_searchform.tpl page delete any information and place the script below.

    <?php
    /*
    * Coding by Luiz Fernando
    * www.voegolv.net
    * Verion 1.0
    * Dated: 15/01/2014
    */
    $pilotid = Auth::$userinfo->pilotid;
    $last_location = PIREPData::getLastReports($pilotid, 1);
    if(!$last_location) $last_location->arricao = Auth::$userinfo->hub;
    $last_name = OperationsData::getAirportInfo($last_location->arricao);
    $equipment = OperationsData::GetAllAircraftSearchList(true);
    $airlines = OperationsData::getAllAirlines(true);
    ?>
    <div class="menu clearfix">
     <!-- Page Dropdown Menu -->
    
     <!-- Page title -->
    <div>
    <div align="center"></div>
    </div>
     <div class="cr_pass"></div>
    </div>
    
    <div class="clearfix content">
     <!-- Page content -->
    
    
    <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');?>" />
    <p align="center">
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/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>
    </p>
    <form id="form" action="<?php echo actionurl('/schedules/view');?>" method="post">
    
    <input id="depicao" name="depicao" value="<?php echo $last_location->arricao?>" type="hidden" />
    
    <center><input type="submit" name="submit" class="butDef" value="Voos Partindo de <?php echo $last_location->arricao?>" /></center>
    <p>
    <input type="hidden" name="action" value="findflight" />
    </p>
    </form>
    <script type="text/javascript">
    </script>
    

    Take a test and verify that meets your needs,

    Hugs You

    Thank You ! this worked

  2. What version of phpVMS are you using? Lets tackle the airport issue first then the registration. In your core folder you will see a file called local.config.php, on line 14 you will see DEBUG MODE, change it to true. Then in your core/log/ folder you will see any issues which may be stopping things from working.

    I'm in version 5.3 because the last was with many errors. I made the process local.config.php but when I put an airport manually the following error appears: There was an error adding the airport
  3. OceanBlue is my first skin for phpVMS. It is available in tpl only at this time.

    Features:

    - Animated Header

    - Custom Dashboard

    - Custom Public Profile

    - Custom CSS Tables

    - Matching Ranks

    - Many paged have been styled

    Feel free to demo the skin,

    http://www.bluedogde...vms/Ocean_Blue/

    User: DEM003

    Passord: 112211

    Download:

    Download Skin

    For the links to work on the recent bids, you will need two MODS.

    http://forum.phpvms....eettracker-v13/

    http://forum.phpvms....ormation-addon/

    Setup Instructions:

    http://www.bluedogde...?f=3&t=2&p=2#p2

    Screenshots:

    main.png

    dashboard.png

    How do I add a new page? I'm new to php.

    When I click Ranks appears: An Error Was Encountered The module "RANK" does not exist!

    When I click Awards appears: An Error Was Encountered The module "AWARDS" does not exist!

  4. Hello,

    I'm having trouble adding airports, I can not find it with the ICAO code and also can not manually add, always appears an error (There was an error adding the airport).

    Also on the registration page appears the error:

    Warning: file_exists () [function.file-exists]: File name is longer than the maximum allowed path length on this platform (4096): / home / u198752317 / public_html // lib / skins / crystal / <h3> Registration </ h3> <p> Welcome to the registration form for Asta AA Lines © Virtual areas. After you register, you will be Notified by the staff member about your membership. </ P> <form method = "post" action = "http://astavirtual.wc.lt/index.php/registration"> <dl> <dt> First Name: * </ dt> <dd> <input type = "text" name = "firstname" value = "" /> </ dd> <dt> Last Name: * </ dt> <dd> <input type = "text" name = "lastname" value = "" /> </ dd> <dt> Email Address: * </ dt> <dd> <input type = "text" name = "email" value = "" /> </ dd> <dt> Select Airline: * </ dt> <dd> <selec in /home/u198752317/public_html/core/classes/TemplateSet.class.php on line 96

  5. run this query

    INSERT INTO `phpvms_groupmembers` (`id`, `groupid`, `pilotid`) VALUES
    (1, 2, 1),
    (2, 1, 1),;
    

    and see if it works

    In the Database in group members click on edit put the information you gave me, but the error appears

    # 1064 - You have an error in your SQL syntax; check the manual que Corresponds to your MySQL server version for the right syntax to use near '1 2 1 2 1 1 LIMIT 0, 30' at line 2

  6. In the phpvms_groupmembers table, make sure your pilot id (1) is a member of the group id (1). Use phpMyAdmin to do this, if you're on a host with cpanel this will be under the database tab.

    Hello, can you tell me where to change the data, so I can get this error when entering the admin?

    15gyxdl.jpg[/img]

    307vo7t.jpg[/img]

×
×
  • Create New...