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"/>