Jump to content

[SOLVED] Pilot Signature in Profile


freshJet

Recommended Posts

Does anyone know how to display a pilot's badge in their profile? I tried using this:

<h2>Pilot Signature</h2>
<p align="center">
<img src="<?php echo $badge_url ?>" />
</p>
<p>
<strong>Direct Link:</strong>
<input onclick="this.select()" type="text" value="<?php echo $badge_url ?>" style="width: 100%" />
<br /><br />
<strong>Image Link:</strong>
<input onclick="this.select()" type="text" value='<img src="<?php echo $badge_url ?>" />' style="width: 100%" />
<strong>BBCode:</strong>
<input onclick="this.select()" type="text" value='[img=<?php echo $badge_url ?>]' style="width: 100%" />
</p>

However, it results in no image and also the boxes for the link text are blank.

EDIT: Solved. For those who want it:

<img src="<?php echo SITE_URL ?>/lib/signatures/<?php echo $pilotcode; ?>.png"/>

Link to comment
Share on other sites

  • 5 years 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...