Jump to content

Recommended Posts

Posted

No, but you could do something so that the background image is chosen based on a PHP script like:

<?php if (($userinfo->rank) == 'First Officer'){
echo 'link to image';
}
elseif (($userinfo->rank) == 'Captain'){
echo 'link to image';
}
?>

Posted

Not a clue. Most likely the profile_edit.tpl. Try deleting the code for the dropdown menu that lets you select your background image and replace it with that PHP. May or may not work.

  • 4 weeks later...
Posted

If I understand this, you want to have your pilot's breast insignia (wings) reflect a particular rank? Correct? Like Pilot is a second or first officer; senior pilot as a captain and chief pilot as the lead captain or something like that? If so, what I did is to create the rank jpgs with the wings above the shoulder strap in the pilot center.

4378e2b75d83ffd2149471a52c043bcbf7a6be2bd9c1b93e7bc7172ac56689176g.jpg

Since our ranks are based on hours flown, and promotions are automatic, when a pilot achieves the next rank level his shoulder strap and wings above it show up in the pilot center. If you like this solution and need photoshop help I can help you with new rank jpgs if you'd like.

Guest lorathon
Posted

You would need to modify the PilotData.class file. Under generateSignature($pilotid).

Look though the function and you will see where the background image is retrieved. You will need to change this to retrieve a different background based on the rank of the pilotid.

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