Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Jeff

  1. If you have your forums registration set to off, then it won't affect with the module. All it does is capture the required info and input into the phpBB member's table. But phpVMS Users had gotten spam, so yeah I might have to look into a way to spank those spammers in the @$$. Possibly, add a stop forum spam API's. So your forums won't pile up on spam. Even it will work if you are using phpVMS's Stop Forum Spam API.

    Thanks for bringing that up. :D

    Too bad the forums' "Auto Register" only works when a pilot registers to your site instead of when their registration is approved. That way we wont have that problem.

  2.             	<h3><font color="#003399">Latest Arrivals</font></h3>
    
                   <div class="body">
                     <div class="news_box">
                     <?php
           $flights = PIREPData::getRecentReportsByCount(10);                                                                      
           $string = "";
           foreach($flights as $flight)
           {       
                $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+';
           }                                                                       
           ?>
           <table width="100%">
    
             <tr>
               <td><img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=700x360&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /></td>
                 </tr>
                       </table>
    
                    <?php
    $count = 10;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
    
    
    </div>
    
    
    <?php
    $count = 10;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
    
    <table width="100%" cellpadding="1" cellspacing="0">
           <thead>
                   <tr bgcolor="#003399">
           <th align="center"> <font face='Verdana' size='2' color="#FFFFFF">Pilot</font></th>
           <th align="center"> <font face='Verdana' size='2' color="#FFFFFF">Airline</font></th>
           <th align="center"> <font face='Verdana' size='2' color="#FFFFFF">Flight #</font></th>
           <th align="center"> <font face='Verdana' size='2' color="#FFFFFF">Origin</font></th>
           <th align="center"> <font face='Verdana' size='2' color="#FFFFFF">Arrival</font></th>
           <th align="center"> <font face='Verdana' size='2' color="#FFFFFF">Landing Rate</font></th>
        </tr>
       </thead>
       <tbody>
    <?php
    
    if(count($pireps) > 0)
    {
     foreach ($pireps as $pirep)
     {
       $pilotinfo = PilotData::getPilotData($pirep->pilotid);
       $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); 
    
       echo "<tr>";
       echo "<td align=center> <font face=Verdana size=2 color=#003399> $pirep->firstname $pirep->lastname</font></td>";
       echo '<td align=center width=120px bgcolor=#FFFFFF><a href="'.fileurl('/index.php/pireps/viewreport/'.$pirep->pirepid.'').'" target="_blank"><img src="'.fileurl('/images/airline/'.$pirep->code.'.gif').'" alt="'.$airline->name.'" width="127px" height="32px" /></a></td>';
       echo "<td align=center> <font face=Verdana size=2 color=#003399>$pirep->code  $pirep->flightnum </a></font></td>";
       echo "<td align=center> <font face=Verdana size=2 color=#003399> $pirep->depicao </font></td>";
       echo "<td align=center> <font face=Verdana size=2 color=#003399> $pirep->arricao </font></td>";
       echo "<td align=center> <font face=Verdana size=2 color=#003399> $pirep->landingrate ft/min</font></td>";
       echo "</tr>";
     }
    }
    else
    {
       echo "<tr><td>There are no recent flights!</td></tr>";
    }
    ?>
    
    </tbody>
    </table>
    </div></div>

    • Like 3
  3. It is best to leave this function alone. It will only continue to skip ID's when you delete members you already approved (for membership). It does not skip rejected members ID's (unless there are more than one (registrations) at the same time). Changing Pilot ID's can really mess your system up. I had stated in several posts about this subject "People will always join and leave your site. You will never be able to keep up with pilot ID's when you get a substantial amount of members".

  4. Okay, I have searched around Google today, and couldn't find what I am looking for. I need to create some tables side-by-side. I want the tables to be spaced apart from each other. The only codes I could find are where the tables are (joined). Does anyone have the codes, or knows the website that shows it?

×
×
  • Create New...