Jump to content

El Macara

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by El Macara

  1. thanks for your desire to help me in this little problem, but hey, you tried everything I have explained, and it still does not work.

    only shows the name of the image, but no picture.

    in my control panel when I add the link of the image, if I see the image, but the page you can only see the name of the image.

    This is not the problem.

  2. TOPPilot beta 1.0

    phpVMS module to extract monthly flight statistics for individual pilots from your phpVMS based virtual airline.

    Developed by:

    simpilot

    www.simpilotgroup.com

    Developed on:

    phpVMS 2.0.874

    php 5.2.11

    mysql 5.0.51

    apache 2.2.11

    Included files:

    readme.txt

    top_flight.sql

    TopPilot.php

    TpPilotData.class.php

    tp_index.tpl

    tp_previous.tpl

    Install:

    -Download the attached package.

    -unzip the package and place the files as structured in your root phpVMS install.

    -use the top_flights.sql file to create the table needed in your sql database using phpmyadmin or similar.

    -after the initial install point your browser to yoursite/index.php/TopPilot/refresh_pilot_stats one time. This will populate the database table with any data available.

    -to view the main TopPilot index create a link yoursite/index.php/TopPilot

    -everytime a pirep is filed the module will recalculate the pilot stats and update the database

    There are three main display functions within the TopPilotData class that you can configure to use in various parts of your site.

    Flights flown - TopPilotData::top_pilot_flights($month, $year, 5)
    Hours flown -  TopPilotData::top_pilot_hours($month, $year, 5)
    Miles flown - TopPilotData::top_pilot_miles($month, $year, 5)

    $month should be the two digit month id of the month you want data from – ie 06 = June

    $year is the four digit year you are pulling – ie 2010

    5 – can be changed to how many records you want returned.

    Excluding PIREPS that are not accepted yet.

    TopPilot.php line 52.

    Uncomment the trailing section and the module will not include unapproved PIREPS. Doing this will cause the module not to display any newly accepted PIREPS in the TopPilot data listings until after another PIREP is filed although you can refresh the stats at anytime using – yoursite/index.php/TopPilot/refresh_pilot_stats

    Although this script carries no limits of use a link back to www.simpilotgroup.com would be greatly appreciated!

    Have fun!

    Hi, I have installed everything, but the current month's statistics are not published, says that I have nothing filed, how I can fix this please?

    sorry for the picture in spanish, but my website is in spanish.

    post-813-013699100 1288454192_thumb.png

  3. I'm in the process of doing it too, but I'll try the basics.

    1. Copy the menu HTML from the zip file and paste in your layout.tpl.

    2. Copy the menu CSS from the zip file and paste in your style.css.

    3. Upload all the .gifs and the JavaScript (.js) files from the zip file to your web directory.

    That's it really, from there you need to customize both the CSS and HTML yourself to suit you.

    Hope this helps, and if not, then I'm sure someone else round here can give a more detailed explanation.

    hi, thanks for answering.

    I copy the file stuhover.js I believe is the menu and paste it into the file layout.tpl

    pro_dropdown_2.css then copy the file and paste it into the file styles.css

    went up all the gif to my root directory

    but does not work,

    I have a question:

    When I copy the stuhover.js (menu) where in the file layout.tpl is that I put you copy the menu?

    just as where in the styles.css file is that I paste the copied file pro_dropdown_2.css?

    the gif pictures simply got on my main root directory, I have no knowledge if I have to put in some specific folder.

    anyone else read this message so you can understand and should help lower the file that is in attach so you can help

    I hope you can help me thanks ...

  4. hi, i want to know how I can install the css drop down menus?

    obsessblue currently use the skin, I would like to know what is the name of the file that I go to install the css drop down menus?

    please do not just need to know the name of the file, also need to know how to install it step by step.

    here I send in attach the css drop down menus that I want to install to have an idea that can help better.

    agradesco the help they can give me

    pro_dropdown_2.zip

  5. Hi mate,

    say, are you trying to create a simple table like, for example excel does:

    <table border="1">

    <tr>

    <th>text</th>

    <th>text</th>

    <th>text</th>

    </tr>

    <tr>

    <td>another text</td>

    <td>another text</td>

    <td>another text</td>

    </tr>

    <tr>

    <td>another text</td>

    <td>another text</td>

    <td>another text</td>

    </tr>

    </table>

    or are you trying to read a database table to put it on your site?

    thank you so much Eisfaust

  6. This code is a bit rough but You could do something like this:

    <ul>
    
    						<br />
    
    
    
    <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br />
    
    
    
    <strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?><br />
    
    
    
    <strong>Total Pax Carried: </strong><?php echo StatsData::totalpaxcarried(); ?><br />
    
    
    
    <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br />
    
    
    
    <strong>Total Charters: </strong><?php echo StatsData::totalschedules(); ?><br />

    It is up to you where you put that code at. It will work no matter where you try it at basically. Mine is on the left side of my site in a info block.

    I put the codes in my airline and they are working perfectly,

    One last question, you have the code to publish the total miles?

    thanks for your help, I hope to answer.

  7. This code is a bit rough but You could do something like this:

    <ul>
    
    						<br />
    
    
    
    <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br />
    
    
    
    <strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?><br />
    
    
    
    <strong>Total Pax Carried: </strong><?php echo StatsData::totalpaxcarried(); ?><br />
    
    
    
    <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br />
    
    
    
    <strong>Total Charters: </strong><?php echo StatsData::totalschedules(); ?><br />

    It is up to you where you put that code at. It will work no matter where you try it at basically. Mine is on the left side of my site in a info block.

    thanks for answering and helping me with what I need, I'll try tomorrow and let you know if the code work

    thanks for your help ...

  8. hi,

    as I can post all the stats of my airline?

    example:

    total flights, total hours, total miles, total passengers, total money, total pilots, flight plans total.

    all these statistics I have them in my control panel, but I want to publish as everyone else can see them.

    how I can do this please

    thanks for the help they can give me ...

×
×
  • Create New...