Jump to content

jefry352

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

jefry352's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi y'all! Maybe this could be a silly question but I want to know how can I resize the Flight keeper images generated, because it's on the outside of my wrapper, and If not how can I take out the sidebar to earn some space. FYI I'm using the varline template. Sincerely, Jefferson
  2. Hi mseiwald! That line could be change in the local.config.php file, that file is located at core folder. Change: Config::Set('RANKS_AUTOCALCULATE', true); to. Config::Set('RANKS_AUTOCALCULATE', false); I hope that works for you!. Best regards,
  3. Hi y'all!!! I want to show on my Pilots list table a field called Location, but the current one, that means, if a Pilot flew from, for example, KMIA - KFLL, the current location changes to KFLL and the schedule system only will shows the schedules from KFLL. I wanted to use the PIREPData::getLastReports() function but it gives me this error, Catchable fatal error: Object of class stdClass could not be converted to string in C:\wamp\www\AER\lib\skins\bluelight\pilot_public_profile.tpl on line 37 By the way, I'm using Wamp as my Localhost server, this is the content of my file, <?php if(!$userinfo) { echo '<h3>Este Piloto no existe!</h3>'; return; } ?> <h3>Perfil de <?php echo $userinfo->firstname . ' ' . $userinfo->lastname?></h3> <table> <tr> <td align="center" valign="top"> <?php if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png')) { echo 'No avatar'; } else { echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" /> '; } ?> <br /><br /> <img src="<?php echo $userinfo->rankimage?>" alt="" /> </td> <td valign="top"> <ul> <li><strong>ID: </strong><?php echo $pilotcode ?></li> <li><strong>Rango: </strong><?php echo $userinfo->rank;?></li> <li><strong>Vuelos Totales: </strong><?php echo $userinfo->totalflights?></li> <li><strong>Horas Totales: </strong><?php echo Util::AddTime($userinfo->totalhours, $userinfo->transferhours); ?></li> <li><strong>Ubicación: </strong> <img src="<?php echo Countries::getCountryImage($userinfo->location);?>" alt="<?php echo Countries::getCountryName($userinfo->location);?>" /> <?php echo Countries::getCountryName($userinfo->location);?> </li> <li><strong>Posición actual</strong> <?php echo PIREPData::getLastReports(substr($pilotcode,-4), 1, PIREP_ACCEPTED) ?></li> <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "<li><strong>$field->title: </strong>$field->value</li>"; } } ?> </ul> <p> <strong>Awards</strong> <?php if(is_array($allawards)) { ?> <ul> <?php foreach($allawards as $award) { /* To show the image: <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> */ ?> <li><?php echo $award->name ?></li> <?php } ?> </ul> <?php } ?> </p> </td> </tr> </table> <?php
  4. Hello everyone, I have just install on my computer the phpvms system, but when I want to bid a flight I cannot do it, it says No route passed, I have search in every where but I can't find out an answer, if anyone can help me, do it. Jefferson Benavides
×
×
  • Create New...