Jump to content

Help - edit badges


QantasVirtual

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...