Jump to content

Jacob Armstrong

Members
  • Posts

    103
  • Joined

  • Last visited

Posts posted by Jacob Armstrong

  1. Ok. I have a question. My navigation bar places the links one too far over. I've attached a screenshot to explain because I am really the most confusing person on the face of this earth.

    post-653-027423100 1279558242_thumb.jpg

  2. If you look at the menus, they are named the same way in the css file. Granted the names are very strange but they all match. I posted an example of those pointed out somewhere in one of these threads.

    I finally got relocated and moved in so I will be able to help a lot more.

    I got it to work. I might have a few questions later though. LOL! I love this skin! Thanks zrotzel!

  3. Now that is kind of odd. I never had that problem. All of my buttons were as they should be not counting addons. You sure your dload was not corrupt or all files were uploaded correctly then?

    I didn't upload it, I looked at the index file in the folder. Will it change if I upload it. This design is confusing to me. LOL! I'm still trying to figure out where everything is.

  4. A couple pages need tweaked such as the contact form and the registration form. You may want to go back over some of the old code changes and see if you can find any template changes. I use mine on a 943 site as we speak.

    I was just wondering because when I looked at it, the buttons were white and not black.

  5. Right OK. That code was wrong any way - it's early :P

    <?php
    
    if (PilotData::GetFieldValue($pilot->pilotid, 'LOA') == "LOA"){
    echo '<td style="color: orange;">LOA</td>';
    }else {
    echo '<td style="color: green;">Active</td>';
    }
    ?>

    Hopefully should work. Just a ")" in the wrong place.

    Thanks you very much, sir!

    +1

  6. So you added LOA to the Active/Inactive select in the admin panel?

    Have you set it up to be recording another value? For active: retired=0, inactive: retired=1 - so you'll need to modify the form to add retired=2 or something.

    Alternatively, you can just call Inactive "LOA" on you pilots list, in which case (assuming the way you're retrieving pilot data is correct because I don't remember it off the top of my head):

    <?php
    
    if (PilotData::GetFieldValue($pilot->retired) == 1){
    echo '<td style="color: orange;">LOA</td>';
    }else {
    echo '<td style="color: green;">Active</td>';
    }
    ?>

    No. I didn't add it to the Active/Inactive part already made in the system, I made a custom field called LOA. I would put LOA or Active in it.

  7. Is this looking at if a pilot is Active/Inactive?

    Sorta. I don't want to use the Active/Inactive that is already in the system because I want a LOA option as well. I've set it up to do it this way with an extra field. So, do you know if it's my coding. I'm new to PHP and don't know if I messed up something. LOL

  8. I have this code in pilot_list.tpl:

    <?php
    
    if (PilotData::GetFieldValue($pilot->pilotid, 'LOA' == "LOA")){
    echo "<td style=\"color: orange;\">LOA</td>";
    }else {
    echo "<td style=\"color: green;\">Active</td>";
    }
    ?>

    I have a pilot's account set to LOA, but it still shows green Active. Do you know why? Here is my pilot roster; www.virtualamerican.org/index.php/pilots. Thanks.

  9. I can try and give you some pieces. The code is all over the place.

    This is at the top of the pirep_pending.tpl in the admin templates. Right below Flight:

    <?php
        			$last_location = PIREPData::getLastReports($pirep->pilotid, 1, PIREP_ACCEPTED);
        			echo "Pilots last location: {$last_location->arricao}";
        	?>
    

    This is at the bottom of the pirep_pending.tpl in the admin templates. Right after the cancel

    <?php
    		if ($last_location->arricao == $pirep->depicao)
    		{
    		echo "<img src='<?php echo SITE_URL?>/lib/images/inair.png'></a>";
    		}
    		else
    		{
    		echo "<img src='<?php echo SITE_URL?>/lib/images/onground.png'></a>";
    		}
    	?>
    
    
    

    I don't see a pirep_pending.tpl in my templates folder under the admin subfolder. I looked in the folder that I uploaded to my ftp and have found that it was not there.

  10. It is due to some coding in all of Lorenzo's skins. He is currently working on getting them fixed. I have the same problem as you do. Be patient.

    Ok. I just wanted to make sure that I didn't do anything wrong.

  11. Whenever I try to bid on a flight, it says: No route passed. It didn't used to do this, but I have changed my skin. Could this have something to do with it? Once FsPaintShop get's his skin back up, I'm going to edit it to one of those.

  12. Polls for what? Couldn't you just do your polls on your forum, or are you wanting to integrate a poll into phpVMS itself?

    I found a generator on Google. I am wanting to do a weekly poll. I don't wanna use the forums, because not all my pilots use them.

  13. If you are using XAcars, I do believe they need to Bid the flight. If the flight is AAL1545 they need to place AAL1545 in it.

    If you are using FSPassengers you DO NOT have to bid the flight, but you need to place the flight number as AAL1545 in the proper place.

    Ok. Thanks.

  14. If a member signs up, it is however you want him to do. I have 4 airlines at the moment. If someone signs up for American Airlines they can fly for another airline you approve of it. All they have to do is bid for that flight, it really doesn't matter. The only thing your system is interested in is the flight number. So if AAL154 - Jim Bob wants to fly a United UAL110 KORD to Wherever, all Jim Bob needs to do is bid that flight and fly it as usual.

    Two questions:

    1. Does the pilot have to bid on the flight?

    2. Does the pilot need to put in the airline's prefix on XACARS?

    Thanks!

×
×
  • Create New...