Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. I would remove all the airports and keep only the ones i use
  2. In my opinion PHPvms is not so dead yet It has a big comunity and it is easy to alter The problem is that there is no dev team to update it and extend it with the new versions of php and etc If you know what you are doing i think you will be fine with phpvms
  3. is there any info in the log ?
  4. if you echo $pilot->pilotid do you get any result ?
  5. Invalid logon can you please confirm the passwords are working ?
  6. You need to change it from local.config.php in your phpvms setup
  7. how do you know who is staff ? By rank ? by id ?
  8. what is your website link ?
  9. Same applies for me to if you need any help with your curent modules do not hesitate to contact me for FREE as i fully agree with servetas
  10. what is your mail server ?
  11. Can you tell us what senario you want to do ? as i dint quite understand with what you want
  12. what hosting company you use ? paid or free ?
  13. # Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', 'cp-in-13.webxxxxxx.net'); Config::Set('EMAIL_SMTP_PORT', '465'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps Config::Set('EMAIL_SMTP_USER', 'noreply@xxxxxx.com'); Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx'); Try changing it to ssl
  14. I dont thing the api.vacentral is working well if you check the link http://api.vacentral.net/index.php/airport/get/LGRP it returns errors with the airport info output
  15. That is quite strange to be honest do you want to tell us what is your problem we might be able to help you
  16. Vangelis

    help

    Phpvms is not working good in free hosting consider getting a cheap hosting somewhere
  17. Vangelis

    help

    upload again the installation files it seems something to be corupted
  18. if i understand well you want to change index.php/profile/stats with a morris chart ?
  19. You need also to ad a cron job to your server or riun the mentenance script your self
  20. try <?php NOTAMSData::GetNotam($schedule->depicao,4);?> and <?php NOTAMSData::GetNotam($schedule->arricao,4);?> for arrival
  21. Did you try to do it by your self ? have you found any free html template that would be easy to be converted and you need help ? That are the cheapest and easyest ways to learn if not it depends on what you need and if it fits your budget
  22. Try this Code <!-- Begin Company News --> <div class="art-postcontent art-postcontent-0 clearfix"><div class="art-content-layout-wrapper layout-item-0"> <div class="art-content-layout layout-item-1"> <div class="art-content-layout-row"> <div class="art-layout-cell layout-item-2" style="width: 100%" > <div class="art-blockheader"> <h3 class="t">Departure/Arrival Board</h3> </div> <div align="center"> <table align="center" width="100%" border="0"> <tr> <td><?php # # $query = "SELECT * FROM phpvmsSIM_schedules ORDER BY deptime + 0 ASC"; # $list = DB::get_results($query); # echo '<h3>Expected Departures - Current Time is '.date('G:i').'</h3>'; # echo '<table align="center" width="90%" border="0" bgcolor="#99FF00" >'; # echo '<tr><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Departure Time</b></td><td><b>Aircraft</b></td><td><b>Status</b></td></tr>'; # $count = 0; # foreach($list as $flight) { # if(date('G:i') >= '23') { # $time = '0'; # } # else { # $time = date('G:i'); # } # if(($flight->deptime + 0) >= $time) { # if($count < 10) { # $aircraft = OperationsData::getAircraftInfo($flight->aircraft); $depname = OperationsData::getAirportInfo($flight->depicao); $arrname = OperationsData::getAirportInfo($flight->arricao); # echo '<tr><td>'.$flight->flightnum.'</td><td>'.$depname->name.'</td><td>'.$arrname->name.'</td><td>'.$flight->deptime.'</td><td>'.$aircraft->fullname.'</td>'; # echo '<td>'; # $minutes = explode(':', $flight->deptime); # if($minutes['0'] <= date('G')) { # if(($minutes['1'] - date('i')) <= 0) { # echo 'Departed'; # } # elseif(($minutes['1'] - date('i')) <= 15 && ($minutes['1'] - date('i')) >= 1) { # echo 'Final Call'; # } # elseif(($minutes['1'] - date('i')) >= 30 && ($minutes['1'] - date('i')) <= 20) { # echo 'Proceed to Gate'; # } # else { # echo 'Scheduled Departure'; # } # } # else { # echo 'Scheduled Departure'; # } # echo '</td></tr>'; # $count++; # } # } # } # echo '</table>'; # # echo '<h3>Expected Arrivals - Current Time is '.date('G:i').'</h3>'; # echo '<table align="center" width="90%" border="1" bgcolor="#99FF00" >'; # echo '<tr><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Arrival Time</b></td><td><b>Aircraft</b></td><td><b>Status</b></td></tr>'; # $count = 0; # foreach($list as $flight) { # if(date('G:i') >= '23') { # $time = '0'; # } # else { # $time = date('G:i'); # } # if(($flight->arrtime + 0) >= $time) { # if($count < 10) { # $aircraft = OperationsData::getAircraftInfo($flight->aircraft); $depname = OperationsData::getAirportInfo($flight->depicao); $arrname = OperationsData::getAirportInfo($flight->arricao); # echo '<tr><td>'.$flight->flightnum.'</td><td>'.$depname->name.'</td><td>'.$arrname->name.'</td><td>'.$flight->arrtime.'</td><td>'.$aircraft->fullname.'</td>'; # echo '<td>'; # $minutes2 = explode(':', $flight->arrtime); # if($minutes2['0'] <= date('G')) { # if($minutes2['1'] - (date('i')) >= 30) { # echo 'On Time'; # } # elseif(($minutes2['1'] - date('i')) >= 1 && ($minutes2['1'] - date('i')) <= 30) { # echo 'On Approach'; # } # else { # echo 'Landed'; # } # # } # else { # echo 'On Time'; # } # echo '</td></tr>'; # $count++; # } # } # } # echo '</table>'; $flights = PIREPData::getRecentReportsByCount(10); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?></td> </tr> </table> <div align="center"> <!-- End Company News -->
  23. What code did you put in the schedule briefing ? <?php NOTAMSData::GetNotam($icao,numberof notams);?> This is the only code you need to add in the template
  24. Just made this for you Put it in core/common folder you can call it wherever you want with <?php NOTAMSData::GetNotam($icao,numberof notams);?> $icao = the airport icao you want the notams to get number of notams = the amount of notams you want to get -1 if you want 4 notams then you write 3 etc NOTAMSData.class.php
×
×
  • Create New...