MyBB Community Forums

Full Version: Doesn't Fill up Table.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

I'm trying to customize the profile page in my forum, and tried to create two table columns. When I tried I ended up getting an empty space. I thought it would fill up.

Here's an example:
http://www.tripulse.net/forum/User-5nak

Here's my member_profile template:
<html>
<head>
<style>
#page-memberprofile .member-info-box {
	background-image: url({$userfields['fid4']});
}
</style>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
</head>
<body id='page-memberprofile'>
{$header}
<!-- START PROFILE HEADER -->
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder member-info-box">
	<tr>
		<td>
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr>
					<td width="25%" height="182px" align="left" valign="middle">
					</td>
					<td width="75%">
						
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
	<br />
		{$awaybit}{$bannedbit}
<!-- END PROFILE HEADER -->
<!-- START PROFILE BODY -->
<table cellpadding="4">
	<tr>
		<td width="24%" valign="top">
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2">
				<tr>
				</tr>
				<tr>
					<td class="trow5" style="text-align:center;">
						<div class="profile-avatar">
							{$avatar}</div>
						<span class="largetext">
							<strong>{$formattedname}</strong>
						</span><br />
						({$usertitle})<br />
						{$groupimage}
						{$userstars}<br />
						<br />{$mood}
					</td>
				</tr>
				<tr>
					<td class="trow5" width="30%" style="text-align:center;">
						{$custom_status}
					</td>
				</tr>
				<tr>
					<td class="trow5">
						<span class="float_left">
							<span class="smalltext">
								<strong>{$lang->registration_date}</strong> {$memregdate}<br />
								<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
								<strong>{$lang->local_time}</strong> {$localtime}<br />
								<strong>{$lang->postbit_status}</strong> {$online_status}
								{$username_changes}<br /><br />
							</span>
							{$sendpm}
						</span>
					</td>
				</tr>
			</table><br />
			{$report_options}
		</td>
	
		<td width="73%" valign="top">
			{$profilmuzigi}
		<div id="tab-container" class="tab-container">
  		<ul class='etabs'>
   			<li class='tab'><a href="#membertab-generalinfo"><i class='fa fa-th-list'></i> Overview</a></li>
    		<li class='tab'><a href="#membertab-contactinfo"><i class='fa fa-envelope'></i> Contact Details</a></li>
    		<li class='tab'><a href="#membertab-moreinfo"><i class='fa fa-list-alt'></i> Information</a></li>
			<li class='tab'><a href="#membertab-buddy"><i class="fa fa-users"></i><span style="text-indent: -998px;visibility: hidden;margin-left: -3px;">.</span></a></li>
			<li class='tab'><a href="#membertab-comment"><i class="fa fa-comment"></i><span style="text-indent: -998px;visibility: hidden;margin-left: -3px;">.</span></a></li>
			<li class='tab'><a href="#membertab-awards"><i class="fa fa-trophy"></i><span style="text-indent: -998px;visibility: hidden;margin-left: -3px;">.</span></a></li>
    		<li class='tab modonly'><a href="#membertab-mod"><i class='fa fa-wrench'></i><span style="text-indent: -998px;visibility: hidden;margin-left: -3px;">.</span></a></li>
    		<li class='tab adminonly'><a href="#membertab-admin"><i class='fa fa-cog'></i><span style="text-indent: -998px;visibility: hidden;margin-left: -3px;">.</span></a></li>
  		</ul>
  		<div id="membertab-generalinfo">
   			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td class="trow1"><strong>{$lang->joined}</strong></td>
					<td class="trow1">{$memregdate}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
					<td class="trow2">{$memlastvisitdate}</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->total_threads}</strong></td>
					<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a>)</span></td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->timeonline}</strong></td>
					<td class="trow2">{$timeonline}</td>
				</tr>
				{$referrals}
				{$tyl_memprofile}
				{$reputation}
				{$warning_level}
				{$mydownloads_submissions}
			</table>
  		</div>
  		<div id="membertab-contactinfo">
  			{$contact_details}
			{$socialsites}
		</div>
  		<div id="membertab-moreinfo"> 
			{$profilefields}
			{$profilepic}
		</div>
  		<div id="membertab-mod">
 			{$modoptions}
		</div>
  		<div id="membertab-admin">
 			{$adminoptions}
		</div>
		<div id="membertab-buddy">
			{$myprofile_buddylist}
			<br />
			{$buddy_options}
			{$ignore_options}
  		</div>
		<div id="membertab-comment">
			{$myprofile_comments}
  		</div>
		<div id="membertab-awards">
			{$memprofile['ougc_awards']}
 		</div>
	</div>
	</td>
	</tr>
</table>
{$footer}
</body>
</html>
¿Did you buy this theme? Sorry if I'm being rude but... ultimately, people came here to ask for support with ripped themes.

Did you know, Audentio have their own forum where they give support for their themes ¿right?

It's an easy fix, but please, first tell me if you really bought this theme or not.

Greetings.
(2015-04-27, 09:25 AM)eNvy Wrote: [ -> ]¿Did you buy this theme? Sorry if I'm being rude but... ultimately, people came here to ask for support with ripped themes.

Did you know, Audentio have their own forum where they give support for their themes ¿right?

It's an easy fix, but please, first tell me if you really bought this theme or not.

Greetings.

Yes, I know that Audentio have its own forum, but it's under maintenance right now. Also, I did not know I could ask for support regarding modification of the theme.

Anyway, here's proof that I purchased the theme: http://i.imgur.com/F72GhZl.png

EDIT: I have found a solution by adding "width="100%" inside the <table> tag.
(2015-04-27, 03:12 PM)nollidnosnhoj Wrote: [ -> ]
(2015-04-27, 09:25 AM)eNvy Wrote: [ -> ]¿Did you buy this theme? Sorry if I'm being rude but... ultimately, people came here to ask for support with ripped themes.

Did you know, Audentio have their own forum where they give support for their themes ¿right?

It's an easy fix, but please, first tell me if you really bought this theme or not.

Greetings.

Yes, I know that Audentio have its own forum, but it's under maintenance right now. Also, I did not know I could ask for support regarding modification of the theme.

Anyway, here's proof that I purchased the theme: http://i.imgur.com/F72GhZl.png

EDIT: I have found a solution by adding "width="100%" inside the <table> tag.

Thanks for your answer, and yes, that's the solution, adding width to the table.

Greetings.