Jump to content

shaun105

Members
  • Posts

    77
  • Joined

  • Last visited

Posts posted by shaun105

  1. Is anyone else having issues with the PHPVMS 5.5.2 "Email all Pilot" email system ?

    I have 2 sites and both are letting me construct and send an email but not posting to members ?

    Thanks in advance

  2. Hi Just installed and changed the TPL to PHP for the newer version of VMS.

    On user interface I get the following message but cant find what I need to change. Anyone help please.

    Warning: Creating default object from empty value in /home/iagvirtu/public_html/core/templates/randomsearch.php on line 12

     

  3. Hi

    I am having an error message once installed. Im using latest PHP VMS

    It shows in admin side and front can you advise please

    Notice: The template file "/home/aerlingu/public_html/core/templates/Codeshare.php" doesn't exist in /home/aerlingu/public_html/core/classes/TemplateSet.class.php on line 231

  4. Many thanks for your help in installing the PM. I will look at updating phpvms soon once i pluck up the courage.

    On the pilot manager interface it states that = Pilot has not filed any reports in 3 days. If my memory serves me right I had my cfg set to 42 days and on checking it is still 42. I thought that was where you change it for this mod ?

  5. It was staring me in the face thanks

      <?php
    $year = date("Y");
    $month = date("m");
    $pilot = TopPilotData::top_pilot_hours($month, $year, 5);
    echo '<table>';
    foreach ($pilot as $top) {
    						    $pilot = PilotData::GetPilotData($top->pilot_id);
    						    echo '<tr>';
    						    echo '<td>'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</td>';
    						    echo '<td width="10%"><td>'.$top->hours.'</td>';
    						    echo '</tr>';
    		    }
    echo '</table>';
    ?>
    

  6. I have top 5 pilots on home page, however the callsign and total hours show like this ... callsign is EIN1234 and the hours are 67 there isnt a space. Could you tell me how to do this. I have added the code below. Thanks in advance.

    EN123467

    <?php
    $year = date("Y");
    $month = date("m")-1;
    if($month == 0) { //If it's january, previous month is december.
    						    $month = 12;
    						    $year -= 1;
    }
    $pilot = TopPilotData::top_pilot_hours($month, $year, 5);
    echo '<table>';
    foreach ($pilot as $top) {
    						    $pilot = PilotData::GetPilotData($top->pilot_id);
    						    echo '<tr>';
    						    echo '<td>'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</td>';
    						    echo '<td>'.$top->hours.'</td>';
    						    echo '</tr>';
    		    }
    echo '</table>';
    ?>
    
        </div>
    

×
×
  • Create New...