MyBB Community Forums

Full Version: help with thecure template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I am using thecure template and in the welcome area the users avatar is not resized, and it only shows the corner of the image.

For example my avatar is an old football, and in the welcome area it only shows the corner of the image with a piece of the ball:

[Image: b9gw.png]

Any way of resizing the avatars here, like in the posts?

Thanks
Nobody?
give a test user account and add your own Avatar for that account and wait for someone to check the issue
(2013-10-08, 07:24 PM).m. Wrote: [ -> ]give a test user account and add your own Avatar for that account and wait for someone to check the issue

Sure:

username: mybbtest
password: passtest
Can you copy/paste the contents of your header_welcomeblock_member template? It should be able to be done with CSS.
(2013-10-19, 05:37 PM)Darth Apple Wrote: [ -> ]Can you copy/paste the contents of your header_welcomeblock_member template? It should be able to be done with CSS.


<div class="mainwrap">
<div class="top_bar">
	<ul>
		<li><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="top_bar_lout"><span>{$lang->welcome_logout}</span></a></li>
		{$admincplink}
		{$modcplink}
		<li><a href="{$mybb->settings['bburl']}/usercp.php" class="top_bar_ucp"><span>{$lang->welcome_usercp}</span></a></li>
	</ul>
</div>
<div class="header_main"><div class="header_left"><div class="header_right">

			<div class="header_side"><div id="panel">
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;width:68px;height:68px;float:left"></div>
				<div class="panel_wrap">
					{$lang->welcome_back}
				</div>
			</div></div>
			<div class="clear"></div>
		</div></div></div>
	<div id="navbar">
			


			<div id="search">
			<form action="{$mybb->settings['bburl']}/search.php" method="post">
				<div class="search_input_wrap"><input name="keywords" class="nav_search_input" title="Enter your search keywords" type="text" /></div>
				<input value="" name="submit-search" class="nav_search_button" type="submit" />
				<input type="hidden" name="action" value="do_search" />
			</form>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>
<div id="container"><div class="container_wrap">
	<div class="mainwrap">
		<div class="subnav">
			<div class="float_right"><a href="{$mybb->settings['bburl']}/search.php">Pesquisa Avançada</a></div>
			<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="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
		</div>
Replace
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;width:68px;height:68px;float:left"></div>

with

<img src="{$mybb->user['avatar']}" style="
    width: 68px;
    height: 68px;
    float: left;
">