Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jeff

  1. Personally, if all you are wanting to do is have all pilots in numerical without skipping, I think it is just a waste of time because you are always going to have members come and go.
  2. I don't believe there is, as the ID is given as soon as the member chooses the airline. Is there a reason for why you want it? Don't quite get the question.
  3. Mine only says ADD AN AIRCRAFT. There is no Export/Import Aircraft. I know it was there last year when I was using FiveDev with phpVMS
  4. It is also great to use for when you want to test something out before you add it to your real website. That way there are no interruptions to your website. (EX: Templates, add-on pages, etc.)
  5. Actually, this one might work better for you... <strong>Price: </strong>$<?php echo $route->price;?>
  6. <td align = "center">$<?php echo $result->price;?></td> Try this Ray. Tis is what I use to show the price of my flights on the results page.
  7. There is an easier way around all that... First: open your core/app.config.php Second: find this... # Pilot pilots to only fly aircraft they're ranked to Config::Set('RESTRICT_AIRCRAFT_RANKS', false); Make this true. Third: copy and paste that code in your core/local.config.php file so it doesn't get overwritten during any updates to phpVMS. Fourth: change all your aircraft to the rank you want each of them to be flown by. Now when a member searches for a flight, only those routes that have the aircraft they are ranked for will show up in the results page. Note: All aircraft at and below their rank will show, not the ones that they aren't ranked for.
  8. This is what I use for my tables... <table width="100%" border="1" bgcolor="#173D15"> I changed the color to the green you have in your image. BTW...that code goes where it says <table> where your table is located in your .tpl
  9. Here Nabeel... Awards & Ranks
  10. It might be set as 9.52= 9 hrs 32 min (50 being 30 min)
  11. I'll give this one a shot, thanks Jeff
  12. I tried that one also, and it comes out blank.
  13. The current one is: <td width="50%" ><?php echo "{$schedule->aircraft}"; ?></td> I can't seem to get the correct code to get just the Type.
  14. oops, sorry that is for the schedule_results.tpl I'll get the right one in a sec.
  15. Try this: <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->type;?>)
  16. Just a question for you php wizards. I am trying to find a way to not show all the available flight schedules upon first clicking View Schedules. It's the page that you see when you choose either "By Departure Airport", "By Arrival Airport", "By Aircraft Type" or "By Distance". I just want the Search area to show and not the flights under it until the member actually submits his/her flight search. Is there a way around this? If not, I'll just have to just have it show the Random Flight Search instead (thanks to Lorathon for this one).
  17. I just need to know how many total flights that are available (scheduled) to a specific aircraft. (Ex. if you have scheduled 350 flights to and from EDDF using an Airbus A320 then I need to know how to pull the info to show Total Routes Available: 350) using the Aircraft's Registration ID.
  18. Look in your core/common/StatsData.class.php and pull the info from there. Also, do a search in here as there are many posts that cover this subject. Try starting in Code Snippets.
  19. I am trying to get the output for Total Routes that a certain aircraft is actually scheduled for by using this: <td><?php echo $aircraft->totalschedules; ?></td> I have also tried this: <td><?php echo $aircraft->schedules; ?></td> But neither seems to work. Can someone please show the correct function to show the count for scheduled flights for the particular aircraft?
  20. Thanks Mark....how about just by Airline then. I don't think it would be too overloaded by just one airline. Since I am using multiple airlines to fly with on my server. Or better yet, by Aircraft Registration...that would better suit my needs more than the whole flight database.
  21. Kyle, you wouldn't by chance have the coed to show the map for all flights in the database do you? I need to place a map that shows all the flights I have scheduled.
  22. It's hard to tell with tebinu, as he tends to start something and never finishes. Maybe you can PM him to check the status.
  23. You can also check to see if the flights are enabled. You might have accidentally marked those as 0 instead of 1. If they aren't enabled, they won't show up on the schedules (flight bids)
  24. Kyle , do you have a solution to this yet?
×
×
  • Create New...