Jump to content

VAEA

Members
  • Posts

    371
  • Joined

  • Last visited

Everything posted by VAEA

  1. Salamaty
  2. Cheers my good friend all working now Alan
  3. Hi Parko thanks for answering. I am getting this mate Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/airlingu/public_html/lib/skins/brilliancev1/frontpage_main.tpl on line 133
  4. Hi all, If a pilot files a manual pirep it gives a landing rate of 0. I understand why this happens but I have been reading this post http://forum.phpvms....t-modification/ and would like to use it. I think I display it a different way as I keep getting errors. I have it on my front page and this is my code. <h2>LAST FIVE FLIGHTS</h2> <div style="width:550px;height:130px;border:2px solid green;"> <?php> $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <div> <table> <thead> <tr> <th>Flight </th> <th>Departure</th> <th>Arrival</th> <th>Duration</th> <th>Pilot</th> <th>Landing Rate</th> </tr> </thead> <tbody> </div> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo '<td>'.$pirep->code.$pirep->flightnum.'</td>'; echo '<td>'.$pirep->depicao.'</td>'; echo '<td>'.$pirep->arricao.'</td>'; echo '<td>'.$pirep->flighttime.'</td>'; echo '<td>'.$pilotid.' '.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</td>'; echo '<td>'.$pirep->landingrate.'</td>'; echo '</tr>'; } } else { echo '<tr><td colspan="6">There are no recent flights!</td></tr>'; } ?> </table> </div> Can anyone tell me how to change the code to get it to work. Thanks in advance. Alan
  5. The tour system(or as I am using it for events) is fantastic. It is just what i needed. No issues at all
  6. Parko , That works a treat. Thank you very much once again. I wouldn't have known where to start. I am indebted to you mate.
  7. Hi Parko, Thanks for the reply. I would like to pay a bonus if a pilots landing rate is below -50fpm . I would also like to give a bonus if a pilot completes a flight over 8 hours. Then maybe add a bonus earned section in the pilot profile section where it can be viewed. Cheers mate
  8. It could be done that way but it would be better if it was done automatically and would save on the admin. It is also a better incentive if a pilot actually sees the bonus . Thanks for the reply anyhow
  9. Hi , I have searched the forum but cant seem to find anything on this. I would like to be able to give abonus payment to pilots for their landing rate and if they complete a long haul flight online. Has anyone any idea how I would do this. Would a module have to be created or could I change a bit of coding somewhere. Thanks in advance
  10. Have you added the airports in the admin center?
  11. Well done and thanks very much for sorting everythjing out for me
  12. No worries. Thank you sir
  13. That would be great Parkho. My email is ceo@caalair.com Much appreciated
  14. Hi Parkho, Thanks for the reply. I am using your flight booking system. The problem I have is that I had an event last night and my pilots couldnt book the same flight. It used to work just by changing the settings in the first post. Thanks Alan
  15. Hi all, I am try to stop flights being diabled when a bid is put on them. I had it that way before by using # If someone places a bid, whether to disable that or not Config::Set('DISABLE_SCHED_ON_BID', false); Config::Set('DISABLE_BIDS_ON_BID', false); I have since put on Front schedule lite and I think there must be a setting in there somewhere but i cant find it. Thanks in advance
  16. Have you been changing anything in your local_config file I had a similar problem and I had to reinstall that file.
  17. Hi Jordan have a look at this http://forum.phpvms.net/topic/6895-logout-issue-and-a-login-issue/page__hl__+white%20+space#entry46103
  18. Caal Airways celebrates its first birthday this weekend with a flight from EGKK-EGPF-EGAA on Vatsim . Anyone is invited to join us from 1700Z on friday night. I would like to use this oppurtunity to thank all the people on here for their support and help during the year. Without you i dont think I would have got through it all as I had never worked on websites before. Heres to another successful year. Cheers, Alan Cooke CEO Caal Airways www.caalair.com
  19. Sorted it out with the ssi.php. My forum folder was buried to far into my site. I moved the folder to the root directory added the ssi to the top of the page and called the latest post in and it all worked. I am a happy CEO lol
  20. Hi all, Can anyone help me. I would like a code to display this on my frontpage http://www.caalair.com/core/modules/forum/latestpost.php Thanks in advance Alan
  21. Hi there, I have solved this at last. What you need to make a seperate page with your ssi code. Put it in the same directory as your SSI.php and the call it to where ever you want to show it on your site.
  22. Where can I find the header. I dont have a header.tpl
  23. Thanks for the reply. Sorry Daniel wouldnt even know where to start with that one . Where do i find the rss
  24. Hi Mark thanks for the quick reply. Do you mean my core_HTMLhead.tpl I tried this and i got an error
×
×
  • Create New...