MyBB Community Forums

Full Version: Member profile messed up!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello !

Could some 1 please help me with below code as the  member profile is completely messed up Sad . 

[attachment=45776]Please find attached image .

Memberprofile code : 
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
    $(".tab_content").hide(); 
    $("ul.tabs li:first").addClass("active").show();
    $(".tab_content:first").show(); 
    $("ul.tabs li").click(function() {
        $("ul.tabs li").removeClass("active"); 
        $(this).addClass("active"); 
        $(".tab_content").hide(); 
        var activeTab = $(this).find("a").attr("href"); 
        $(activeTab).fadeIn();
        return false;
    });
});
</script>
</head>
<body>
{$header}
<div class="mobile-hide thead" style="padding:10px;width: none;"><i class="fas fa-globe fa-spin"></i> Status</a></li>{$online_status}</div><br><br>
<div class="profile-left-col">
  <div class="tborder">
  <div class="profile-info">
	<table width="100%" cellspacing="0" cellpadding="1" border="0">
		<tr>
			<td width="75%">
		<center><div class="profile_avatar">{$avatar}</div>
			<span class="largetext"><span class="before"><strong>{$formattedname}</strong></span><br />
				<span class="smalltext">
				({$usertitle})<br />
{$groupimage}<br />
{$userstars}<br />
				</span>
         </tbody>
		</table>
   </div>	
   </div>	
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"width="200px">
<tr>
   <td class="thead">
        About
   </td>
</tr>
<tr>
   <td class="trow2">
<span class="float_left"><i class="fa fa-calendar"></i> {$lang->joined}</span>
				<span class="float_right"><strong>{$memregdate}</strong></span><br />
				<span class="float_left"><i class="fa fa-comments"></i> Posts:</span>
				<span class="float_right"><strong>{$memprofile['postnum']}</strong></span><br />
				<span class="float_left"><i class="fa fa-edit"></i> Threads:</span>
				<span class="float_right"><strong>{$memprofile['threadnum']}</strong></span><br />
   </td>
</tr>
</table>
</div>	
</div>
<div class="profile-right-col">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<td width="100%" style="vertical-align: top;padding-top: 2px;">
    <ul class="tabs">
        <li class="float_left"><a href="#tab1"><i class="fas fa-comments"></i> Activity</a></li>
        <li class="float_left"><a href="#tab2"><i class="fas fa-history"></i> About</a></li>
        <li class="float_left"><a href="#tab3"><i class="fas fa-cog"></i> Options</a></li>	
        <li class="float_right rsp"><a href="javascript:Report.reportUser({$uid});" class="report_user_button"><span> Report</i></span></a></li>
		<li class="float_right rsp"><a href="private.php?action=send&amp;uid={$uid}"> Pm</a></li>
    </ul>
<br /> 
<div class="tab_container">
<div id="tab1" class="tab_content">
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tbody><tr><br />
<td class="thead" colspan="2"><strong>Activity</strong></td>
</tr>
<tr><td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$sendemail} 
<tr>
<td class="trow2"><strong>{$lang->pm}</strong></td>
<td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
{$reputation}
{$warning_level}
</tbody>
</table>	
</div>
<div id="tab2" class="tab_content">
{$signature}{$profilefields}{$buddy_options}{$ignore_options}
</div>
<br />
<br />
</div>
<div id="tab3" class="tab_content">
<br />{$buddylist}<br />{$modoptions}
{$adminoptions}{$lpop_profile}
</div>
</div>
</td>
</tr>
</table>
</div>
{$footer}
</body>
</html>
Edit theme css3.css and change:

.profile-right-col {
    width: 65%;
    float: left;
    margin-top: -30px;
}

to:

.profile-right-col {
    width: 64%;
    float: left;
    margin-top: -30px;
}
Thanks a lot SvePu ! Solved : )