Jump to content

Question about the signature banner


drmelen

Recommended Posts

Hello everyone :D I have a question .. how can I edit the signatures of the pilots? I talking about the banners which contain information about the VA Pilot (Name, Rank, Country, hours, Flights, income, etc.) Is there a guide available for it?

Sorry about my english :rolleyes:

Regards

Diego - ALV1007

Link to comment
Share on other sites

  • Moderators

You can edit the information in the signatures, go to /core/common/PilotData.class.php

Go to around line 963 to 980, or find this at the last function of the file...

# Configure what we want to show on each line
 $output = array();
 $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;
 }

Change the variables to your likings.

Link to comment
Share on other sites

  • 2 weeks later...

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...