Jump to content

flynryan692

Members
  • Posts

    70
  • Joined

  • Last visited

Posts posted by flynryan692

  1. I apologize for bumping an old topic - but I have this problem.

    However, I'm not using mootools, everything I put on my site is using jquery..

    I also have an image slider, fancybox, and some jquery for my fly-out login box in my site. Could this be the problem and how would I fix it?

  2. Bump.

    I'd really like to learn how to do this. Really, I want to know how to pull information for each airline, since I'll be setting up stats on each of my airlines (stats like bids for the airline, obviously the roster, latest flight by the airline). There must be a way to get airline specific information.

  3. Thanks! I also crossed check it with my test installation of phpvms and I guess by editing it in cpanel it didn't load all of code (only loaded to line 82 - weird) and when I saved it everything that didn't load was erased. I put everything back in, and now it works!

    The lesson here, don't edit in cpanel :P

  4. Yeah I got the same thing. I edited the following

    Config::Set('PILOTID_OFFSET', 0);	# What # to start pilot ID's from
    

    and

    Config::Set('LOAD_FACTOR', '82');	# %age load factor 
    

    I set the id number to 1 and the load factor to 85 after that my site was blank. I did the edit from within my cpanel..

  5. Can I ask you to post what you have in the Modules one, I added all of mine to /pages but I need to pull some information for it, but you can't use .php in the /pages.tpl

    In /modules I have a php file named EXACTLY the same as the folder in /modules and the php file contains this:

    <?php
    /**
    * Herp Derp 
    */  
    
    
    class about extends CodonModule
    {
    
           public function index()
           {                       
    
           Template::Show('about.tpl');
    
           }
    }
    ?>
    
    Then in my skin folder I have the corresponding .tpl file, as you see here it is "about.tpl"
    
    
    
    Anybody able to help me with the roster? 
    

  6. Tried searching this but didn't find anything. :/

    What I want to do is make pages for each airline I have and then on that airlines page display all the pilots with that airlines code...

    I already made the pages (folder in the modules folder and a new .tpl) but I'm not sure how to create the code for the roster on each page.

    Any ideas?

  7. Hey!

    I've put my "Edit Profile", and "Change Password" pages into a popup fancybox for added flare. B) Problem is though that when the box pops up I have no options for Location or background image for the pilot badge. I'd imagine this is because I've moved all of the "Edit Profile" code into my pilot center .tpl file.

    When I view page source I see

    Invalid argument supplied for foreach()

    where the option values should be. How can I work around this? I know I could just put them in manually, because I doubt major countries will be changing soon, but what would I do for the pilot badge background option?

    Thanks!

    EDIT: I guess I'll ask this other simple question while I am at it, do I need to change the form action? The form does work, I can edit my profile and change my password, but I have to go to another page and back to the pilot center, then click the "Edit Profile" link to see the changes in the fancybox popup.

  8. So here is the problem, the acars map on a web site I'm helping make just isn't working.

    When they originally made the site the map did not work, then they switched to my server and it still didn't work. We built a new skin on another phpvms install and then copied over everything except the config files (thus pretty much a fresh install). The map still does not work at all. When you look inside of the database the information is being populated but it is not on the map. Again, this is a brand new map so everything should be working. I even reset the acars in the admin panel, and I'm on host gator.

    So, any ideas? Would it be a config file error, database error, or CHMOD error?

    EDIT: here is three errors I got when running the check install...

    Checking file hashes for corrupt or mismatched files

    [Checksum failed] /core/templates/frontpage_main.tpl did not match, possibly corrupt or out of date

    [Error] ../core/modules/kACARS_Free/kACARS_Free.php doesn't exist

    [Checksum failed] /lib/js/jquery.tablesorter.pager.js did not match, possibly corrupt or out of date

    ^Yes, kACARS free is missing because we have the custom version now, and the acars map didn't work before we took it out anyway.

  9. Hey guys, I have a new project that I want to do. I noticed the boarding pass does this thing where is gets a random gate, how can I make it randomly select the specific gate at an airport?

    For example, I have 14 gates at Las Vegas, and 11 gates at San Jose. If a pilot views the boarding pass I want it to randomly select one of the gate numbers I put in for Vegas.

    Then I plan on taking this method and putting it in my flight dispatch for pilots.

    So, how would I go about doing this? Would if be possible to write something like if $airport = KLAS select gates x - x or something of the sort?

    I'm not all to great with php..

  10. I'm helping a friend out with his VA and a problem has been the ACARS map not showing pilots (with kACARS, XACARS nothing).

    He has the same version of phpvms as I do, and my map works. When I test acars the info is in the database but not on the map however it is on the vacentral map.

    Here is what I have done so far with no luck:

    I copied the core/modules/ACARS from my va to his

    I copied the kACARS_free folder my my va to his

    I copied the xacarsconfig.tpl, fspaxconfig.tpl (ok, I may have got the names wrong, but all the config files for each acars type .tpl file in the libs folder) from my va to his.

    I cleared cache and optimized tables, I also reset the ACARS (or optimize what ever it is called).

    I check folder permissions, all match..

    Nothing at this point and I am lost as to what could be the problem, it works for my va and not his and both sites are on the same hosting server....

×
×
  • Create New...