MyBB Community Forums

Full Version: [How To] Add Avatar On Welcome Board
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello please help me to Insert (add) the Avatar On Welcome area
Look at image an you will understand very well what i want to do (ive requested this in the bast..but can't find it..was on 2006) And because now ive started again to use MyBB I need this agai Big Grin

[Image: t18_avataronwelcom.jpg]



Thanks !
Admin CP -> Templates -> Modify/Delete -> {Yours} -> header_welcomeblock_member template -> and then add {$mybb->user['avatar']} wherever you want the avatar to appear
Still doesn't work.....It Shows a text..no image.. Sad
images/avatars/supertux.gif
I Use This Code:
	<span style="float:right;">{$lang->welcome_current_time}</span>
	   {$mybb->user['avatar']}{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$admincplink} &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>)<br />
				<span class="links">
					<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 170, 300);">{$lang->welcome_open_buddy_list}</a>{$shoutbox_link}
				</span>
				<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
Hello,
I don't know if you solved your problem, but if you don't, you just have to add the html code to show an image and it will work Smile
<img src="{$mybb->user['avatar']}" alt="avatar">
thanks dear

working fine