Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


gio1961 last won the day on December 19 2018

gio1961 had the most liked content!

Community Reputation

15 Good

1 Follower

About gio1961

  • Rank
    Advanced Member

Recent Profile Visitors

3223 profile views
  1. gio1961

    Avatar Change message / error

    Hi, try it file: app_top.php <div class = "pull-left image"> <? php $ pilotcode = PilotData :: getPilotCode (Auth :: $ userinfo-> code, Auth :: $ userinfo-> pilotid); ?> <img src = "<? php echo PilotData :: getPilotAvatar ($ pilotcode);?>" class = "img-circle" alt = "User Image"> </ Div> file: pilot_public_profile.php <? Php if (! file_exists (SITE_ROOT.AVATAR_PATH. '/'. $ pilotcode. '. png')) { echo '<img src = "****** / en / lib / skins / crewcenter / images / pilot_profile_pic.jpg" alt = "avatar" class = "img-circle">'; } else { echo '<img src = "'. SITE_URL.AVATAR_PATH. '/'. $ pilotcode. '. png'. '" alt = "No Avatar" class = "img-circle" height = "150" />'; } ?> this is an example and as you can see it works. The image must have the extension * .png max 150X150 PX http://italianichevolano.altervista.org/avatar.jpg Filezilla FTP http://italianichevolano.altervista.org/01.jpg
  2. gio1961

    Avatar Change message / error

    Open the lib/skins/CrewCenter/profile_edit.tpl or .php file and replace line from: <input type="text" class="form-control" value="<?php echo $userinfo->email;?>"> to: <input type="text" class="form-control" name="email" value="<?php echo $userinfo->email;?>">
  3. gio1961


    Unfortunately, the site has closed http://www.simpilotgroup.com otherwise I would have already done. However I solved. Sincerely
  4. Like mentioned it is in core/common/Auth.class.php In the default file on line 293
  5. gio1961

    Login Messages

    The text is located in the core folder. Open the app.config.php file Sincerely
  6. gio1961

    TouchdownStats module

    Hi, try to see if it works. Greetings foreach($stats as $stat) to if($stats) foreach($stats as $stat)
  7. gio1961

    Flight 'snail trail' on the ACARS map

    Hi, see here if it can be useful https://www.crazycreatives.com/downloads/flight-position-tracker/
  8. gio1961

    Live Maps not loading on startup

    Hello, try changing this line and see if it works. <script a sync defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDULRUmBg6SusuQGJe35DNuNGlMNzdwYdo"></script> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDULRUmBg6SusuQGJe35DNuNGlMNzdwYdo&callback=initMap" type="text/javascript"></script>
  9. gio1961

    LARGE random screenshot on frontpage_main.tpl

    Hi, open the core / templates / screenshots_random.tpl file and edit the height and width values and see if it works (<img src = "'. SITE_URL.' / Pics /'.$ screenshot-> file_name. '" Height = "350px" width = "672px" alt = "Random Screenshot" />) frontpage_main.tpl file <center> <? php Screenshots :: show_random_screenshot (); ?> </ Center>
  10. gio1961

    Hide Unless High enough hours

    Hi, see if it works. if(Auth::$userinfo->totalhours < 30){ echo 'You do not have permission to access this page. You must have at least 30 hours of flight'; return; }
  11. gio1961

    Leave Of Absence v0.9

    The loa.sql file is missing, which you can download from here: https://github.com/carriercomm/phpvms_loa Use the loa.sql file to create the table necessary for the module to work. You can do this by using phpmyadmin.
  12. gio1961

    AirMail 3.0

    Hi everyone, someone has a pop-up form or modal window to share to view incoming emails. I found this on the net but I could not change it <div class="container"> <div class="modal fade" id="myModal" role="dialog"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">EMAIL</h4> </div> <div class="modal-body"> <p><?php MainController::Run('Mail', 'checkmail'); ?></p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> </div> <?php $show_modal=false; $id = $_SESSION["id"]; $sql = "select count(*) as ct from messages where `readdate`='0000-00-00 00:00:00' and user_to=$id and status!=3"; if (!$result = $db->query($sql)) { die('There was an error running the query [' . $db->error . ']'); } while ($row = $result->fetch_assoc()) { if ($row['ct']>0) $show_modal=true; } if($show_modal):?> <script> $('#myModal').modal('show');</script> <?php endif;?>
  13. gio1961

    I Need Help ERROR SKIN

  14. gio1961

    cronjob error

  15. gio1961

    cronjob error

    Hi, see here if it can help you..