Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jeff

  1. Harry, this is everything I have done to get it to show up on my main page. this is the whole code in /home/yoursite/public_html/core/templates/frontpage_recentbids.tpl <div id="mainbox"> <h3><img src="http://www.oneworldvs.net/lib/images/icons/flights.jpg">Flight Departures Board</h3> <?php if(!$lastbids) { echo '<p align="center">No flights have currently been booked</p>'; return; } ?> <table width="100%" border="1" bordercolor="#FFFFFF" class="tablesorter" id="tabledlist"> <thead> <tr align="center" valign="middle" bgcolor="#0079B2"> <th height="25" width="15%"><div align="center">Flight Number</div></th> <th height="25" width="13%"><div align="center">Depart</div></th> <th height="25" width="13%"><div align="center">Arrive</div></th> <th height="25" width="20%"><div align="center">Pilot Name</div></th> <th height="25" width="15%"><div align="center">Aircraft</th> <th height="25" width="12%"><div align="center">Tail No.</div></th> <th height="25" width="12%"><div align="center">Flight Time</div></th> </tr> </thead> <tbody> <?php foreach($lastbids as $lastbid) { ?> <tr align="center" valign="middle" bgcolor="#DFF4FF"> <td height="25" width="15%" align="center"><?php echo $lastbid->code . $lastbid->flightnum; ?></a> </td> <td height="25" width="13%" align="center"><span><?php echo $lastbid->depicao; ?></span></td> <td height="25" width="13%" align="center"><span><?php echo $lastbid->arricao; ?></span></td> <?php $params = $lastbid->pilotid; $pilot = PilotData::GetPilotData($params); $pname = $pilot->firstname; $psurname = $pilot->lastname; ?> <td height="25" width="20%" align="center"><span><?php echo $pname; ?> <?php echo $psurname; ?></span></td> <td height="25" width="15%" align="center"><span><?php echo $lastbid->aircraft; ?></span></td> <td height="25" width="12%" align="center"><?php echo $lastbid->registration?></td> <td height="25" width="12%" align="center"><span><?php echo $lastbid->flighttime; ?> Hours</span></td> </tr> <?php } ?> </tbody> </table> <hr> </div> Now, in the page you want it to show, place this code: <?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?> The number 5 can be changed to any number to show how many bids you want to show at one time.
  2. Jeff

    Schedules

    yeah, it seems to be that way with everyones. Ours is the same as well; no inactives, and it is showing all flights active/inactive.
  3. Jeff

    meta tags

    okay, that's what I thought, thanks Thomas.
  4. Yes, I ran the New_install. do I still need to run the Update as well, even though this is not a previous install?
  5. Jeff

    meta tags

    So when you say root, you mean The Root as in /home/yoursite (the one with the house next to it)?
  6. I have just installed this with no problems. Everything is looking the way it should be, but I cannot send any messages. I send one out, and look in my Sent Folder, and nothing is there. I don't think I installed it incorrectly, as I can see every page. Do you have any suggestions?
  7. yeah, that's what I meant, not xACARS get rid of fsACARS and get either XACARS or kACARS sorry for the last post There's just so many ACARS programs, it's hard to keep up with them all. FSACARS isn't compatable with the new version of phpVMS anymore.
  8. Which ACARS are you using to pull the information from? If you are using xACARS, not to be rude, but it is crap. You may want to think about upgrading your members to kACARS as it seems to be much better at doing it's job. kACARS
  9. Jeff

    meta tags

    Also, if I wanted to place a favicon on my site, where do you place the favicon.ico image? do you just place it in the main directory of the public_html folder?
  10. Try this Vansers... ranks and awards list
  11. Absolutely wonderful work Sim. Just did a little tweak to show 3 columns instead of 4 because the days of the week were bunching up.
  12. Jeff

    Schedules

    Ah! Okay, I never have that problem, because I have never setup any inactive schedules yet. But when you or your members search for a flight bid, is the search results also showing the inactive routes as well? If so, if the inactive routes have never been flown, you can just delete those from the database using php/MyAdmin or similar.
  13. Yes, I agree. Looks very clean and neat.
  14. Yeah, I once started to create one just like that using Open Office, but gave up quick because it was way too time consuming. If there is a way to do that, I would be interested in it as well.
  15. Jeff

    Schedules

    By the looks of your posted .csv file, it looks like you have the aircraft listed where the route goes, and also you don't have the flight type set yet (P for Passenger, C for Cargo or H for Charter) you might want to try looking into that.
  16. Jeff

    Schedules

    Yeah, you will need to make sure that you create an airline with the code of FGM (ex: DAL Delta Airlines) then make sure the check is in the box for Active.
  17. Jeff

    Schedules

    Well, it seems to be the way you imported your flights. If I understand you correctly, you have both Active and Inactive flights. what you need to do is export your flights via. the Admin Panel and change the inactive flights (which would show up as 0) to Active (which would be 1). Then import them back to overwrite all flights. You should then have all Active flights again.
  18. The average for both the pilot and also the monthly average if you could.
  19. Now that I have it back up and running again, can someone please post the code to get the map to show the legs route on the get_airport page?
  20. First of all, welcome to the community. Secondly, try searching in here, as there many topics discussing several forum types that can be added to your phpVMS site. If you can do a search on the topic you are wanting to learn about, you just might find what you are looking for, before you start a new topic.
  21. Seeing that it is a flash image, I'm pretty sure that they cannot be changed.
  22. It sounds like you aren't setting the correct ID in FSPax. You need to make sure your flight ID is the same as your flight number, or it won't export to your VA.
  23. Is there a good site to find alternate Airports for outside the Continental US? (Canada, London, S America, Africa...etc) I'm using Airnav for the US
  24. Jeff

    Airport Tables

    There are still quite a lot of questions in here that I would like to see if anyone has the solutions for. (links, country images, times flown to/from)
  25. You can set that option in your local.config.php file
×
×
  • Create New...