Jump to content

Stealthbird97

Members
  • Posts

    194
  • Joined

  • Last visited

Posts posted by Stealthbird97

  1. Hey guys,

    I'm looking to getting into coding a module for my Virtual airlines and need a little bit off help.

    I want to create a module that shows things like Pilots information such as Last Flight, Hub, Hours, ranks and things like that.

    Is there a list of all of the variables and arrays that phpVMS used to store information about pilots, if there is I should be able to work out the things I need.

    If there is one, can someone post a link to it.

    Thanks in advance!

  2. IS there a aircraft.csv so i can import all my aircraft.

    I can't seem to find it.

    Where can i find it and where do i import the csv when i've finished.

    I've seen some posts on the forums referring to an aircraft.csv so i went to look for it and couldn't

    Thanks in advance

  3. I'f fixed it

    There was an random </div> at the end of the pages_content.tpl in the vairline folder that was causing it on the custom pages to leave the wrapper but when editing to fix this </div> by adding another </div>. As the Module pages don't reference to the same file as the Custom ones causing the extra </div> I added to fix the random </div> causing the module pages to leave the wrapper.

    So it's all fixed now in a brain wave I had 2 mins ago. As i remebered editing the pages_content.tpl to change the header of the custom pages to put a gap inbetween the title and the text.

    Problem Solved

    Regards to everyone who helped anyway

    Cori Haws

  4. This looks like an easy fix. Try adding a </div> at the end of the custom page until it corrects itself. It usually only takes one, but, depending on your codes, it may require 2 or more. Sometimes, you might have too many </div>'s in there. Try that first, and then get back with your results.

    I'v Tried changing the code but it doesnt seem to work.

    <div id="right">
       <div id = "box">
       <?php
    /*	This will insert all of the "meat" of the page in there - the template
    	which is generated, depending on which page you're on. To change these
    	templates, check out the docs on the site. They're under the /core/templates
    	folder, and to change them, copy them into the folder of your skin (the
    	folder this file is in right now.
     */
    
    echo $page_content;
    
    ?>
       </div>
    </div>
    <div id="footer">
    <p>copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br />
    <!-- Please retain this!! It's part of the phpVMS license. You must display a
    		"powered by phpVMS" somewhere on your page. Thanks! -->
    <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> - <a href="http://vairline.org" target="_blank">Design by vAirline</a>/<a href="http://nicktyson.com" target="_blank">Nick Tyson</a></p>
    </div>
    </div>
    </body>
    </html>

    Directly below the $page_content I Need 2 divs if I put 3 it breaks all the pages, if i put 1 it breaks the pages the same way, I have it completely out of place on all pages, if I have 2 it works on some of the pages and is in the correct place

  5. Hello everyone

    I am having a problem with the vAirline skin and it pretty simple.

    The footer at the bottom of the page is completely out of place on user created pages but on pages with modules it isn't.

    Works

    Doesn't Work

    and the fact of the matter is if I fix it for the one that doesn't work the one that did work would break doing the opposite of the other page.

    Have a look for yourself and use the inspect source option on your browser. If you know what to do please post a reply I am willing to try anything to get it fixed.

    Regards

    Cori Haws

    JCA002

  6. Is their a way for me to edit the code so that upon registration of a new pilot, depending on which hub they choose be put into a certain pilot group.

    So

    Pilot # = Hub Choice = Pilot Group

    Pilot A = chooses hub A = Hub A Pilots

    Pilot B - Chooses hub B = Hub B Pilots

    This will make it easier for the admin to send pilot emails that are only important or relevant to pilots at a certain hub

    Thanks in advanced

    Regards

    JCA003

  7. Hello

    My Airline Juliana Connect is going we but the only thing is the real schedule lite seems to have mucked up.

    I Have an aircraft in an airport where it shouldn't be and when pilots jump seat to other airports it says they "are not at this airport" so they cant't fly the aircraft back.

    IF there a way I can fix this jump seating problem and also is there something i can do so the aircraft can be reset back to its original airport (like it has been automatic flown back)

    It seams to me that this module works for some and not for others.

    Please Help

    Thanks in advance :rolleyes:

    JCA003

    • Like 1
×
×
  • Create New...