You have the option to either set it to allow users to change their badge at any time, or set it so it can only be changed once.
Either way, you will be able to change or remove the image at any time via the ACP by simply viewing the users 'preferences'.
~~~~~~~~~~~~~~~~
First things first, you're going to have to set up the custom user field. To do this, enter the ACP -> Users -> Custom User Fields -> Create New Field
Then simply set it up like so:
The description can be set to whatever you like. Resolutions can be changed later on.
After that, click on the General Options tab. Make sure 'User editable' is checked. It's optional to allow constant changes or a one time change by checking 'Editable only once'.
You can go ahead and save the field.
Now to actually get the badge to show in thread posts.
Go to Appearance -> Templates -> Find and open 'message_user_info'
Now you'll need to find:
Code:
<!-- slot: message_user_info_text -->
Code:
<xen:if is="{$user.customFields.user_badge}">
<div align="center" style="padding-top: 5px;">
<img src="{$user.customFields.user_badge}" alt="User Badge" width="140" height="20">
</xen:if>
This is the end result:
This modification was created by tweaking the YouTube on Profile Page modification by Sheldon.
Enjoy! ^^
EDIT: If, for any reason, you'd like to link that image to the users profile, you'll need to do this.
Find:
Code:
<img src="{$user.customFields.user_badge}" alt="User Badge" width="140" height="20">
Code:
<a href="{xen:link full:members, $user}">
Code:
</a>
EDIT #2: Just for kicks, I got to thinking how fun it might be to have the link be custom, instead of just pointing to your profile. Well, with some more custom profile field fun, I did just that.
Set up another custom profile field, like so:
Once you've done that, go back to the link you put in for the badge. If you haven't already, and want to now, just use this instead:
Replace:
Code:
<a href="{xen:link full:members, $user}">
Code:
<a href="{$user.customFields.badge_link}">