The 'Profile Image' item is an item for SMFShop that allows your members to show an image next to their posts. This item is a standard SMF package, so please install it using the package manager.
This item comes with a set of flag images, although you can delete the original images and use whatever image you'd like.
You may downlaod the item via the
'SMFShop Items' downloads section of the DanSoft Australia site. Have fun!
EDIT: If you'd like to get this working in other themes, here's how:
Open Themes/[themename]/Display.template.phpFind:
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';
Add after:
//BEGIN SMFShop Profile Images Item 0.1 Beta
global $db_prefix, $boardurl;
$result_flag = db_query("SELECT shop_Flag
FROM {$db_prefix}members
WHERE ID_MEMBER = {$message['member']['id']}
LIMIT 1", __FILE__, __LINE__);
$row_flag = mysql_fetch_array($result_flag, MYSQL_ASSOC);
if($row_flag['shop_Flag'] !== "") {
echo "Flag: <img src='{$boardurl}/Sources/shop/flag_images/{$row_flag['shop_Flag']}'><br>";
}
//END SMFShop Flag Item