QantasVirtual Posted January 14, 2015 Report Share Posted January 14, 2015 Hello everyone,I have searched through the files and haven't been able to find how to edit the badges (pilot badge) on the website. Any suggestions on how to get to it? Thank you. Quote Link to comment Share on other sites More sharing options...
Fernando Posted January 14, 2015 Report Share Posted January 14, 2015 Hello friend, For any change you can follow as below yoursite.com/core/common/PilotData.class.php You can edit the information they want to appear on the badge, in the following lines 970 to 977 $output[] = $pilotcode.' '. $pilot->firstname.' '.$pilot->lastname;$output[] = $pilot->rank.', '.$pilot->hub; $output[] = 'Total Flights: ' . $pilot->totalflights; $output[] = 'Total Hours: ' . $totalhours; if(Config::Get('SIGNATURE_SHOW_EARNINGS') == true) { $output[] = 'Total Earnings: ' . $pilot->totalpay; To change the photo badge, you can edit according to your liking and send to the following folder. yourskins.com/lib/signatures/background/background.png You can also change the font, size and color through the app.config.php file..... in the following lines 170 to 180 yourskins.com/core/app.config.php # Options for the signature that's generated Config::Set('SIGNATURE_TEXT_COLOR', '#000'); Config::Set('SIGNATURE_USE_CUSTOM_FONT', true); Config::Set('SIGNATURE_FONT_PATH', SITE_ROOT.'/lib/fonts/tahoma.ttf'); Config::Set('SIGNATURE_FONT_SIZE', '10'); Config::Set('SIGNATURE_X_OFFSET', '10'); Config::Set('SIGNATURE_Y_OFFSET', '17'); Config::Set('SIGNATURE_FONT_PADDING', 4); Config::Set('SIGNATURE_SHOW_EARNINGS', true); Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); Config::Set('SIGNATURE_SHOW_COPYRIGHT', true); important as make your changes should always access your data with the administrative part of your company yoursite.com/admin after...................Site & Setting / maintenance options/ Reset Signatures If there is any doubt just post here, good luck in the changes and do not forget to backup your files. Hugs Fernando Quote Link to comment Share on other sites More sharing options...
QantasVirtual Posted January 14, 2015 Author Report Share Posted January 14, 2015 Thank you for your help Quote Link to comment Share on other sites More sharing options...
QantasVirtual Posted January 15, 2015 Author Report Share Posted January 15, 2015 I tried to change the photo badge and reset the signatures and it did not work. Any ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.