MyBB Community Forums

Full Version: Replace blocks on user profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

If I installed a plug-in for the user page all blocks are installed automatic on the right side.

But How to replace it to the left ??

Can someone help me to re-order the block like I want, so how to set blocks to the left ??


Manny thanks
Nobody with al sollution ??
Take a look at your user_profile template try moving things around.
(2010-11-13, 12:16 AM)adbrad Wrote: [ -> ]Take a look at your user_profile template try moving things around.

Sorry thanks that u thinking with me but I need to have the sollution.
I have a good running forum and trying is not a sollution because if something go's wrong manny members don't like it..

So please wat do I need to do ??
Edit:

I have searching in the member_profile template and I only able to change the order of the blocks but not how to set blocks to the left.

I have tryed with

Quote:<DIV ALIGN=LEFT>
<ALIGN=LEFT
<LEFT>
<HR ALIGN=LEFT>

But nothing wil set the blocks to the left...
Someone can help me pleace ????
Post your usercp template and tell us what you want to change, we're not mind readers.
(2010-11-15, 06:17 PM)AJS Wrote: [ -> ]Post your usercp template and tell us what you want to change, we're not mind readers.

No, no that is not wat i'm asking to read my mind..... But I asking for the code of wat I need to change so the message is not realy placed wat your wrote ?????


But here the template code:

Quote:<html>
<head>
<title>{$lang->user_cp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="{$colspan}"><strong>{$lang->account_summary}</strong></td>
</tr>
<tr>
{$avatar}
<td class="trow2">
<span class="largetext">{$username}</span><br />
<strong>{$lang->postnum}</strong> <a href="search.php?action=finduser&amp;uid={$mybb->user['uid']}">{$mybb->user['posts']}</a> {$lang->posts_day}<br />
{$reputation}
<strong>{$lang->email}</strong> {$mybb->user['email']}<br />
<strong>{$lang->registration_date}</strong> {$regdate}<br />
<strong>{$lang->primary_usergroup}</strong> {$usergroup}<br />
{$referral_info}
</td>
</tr>
</table>
{$latest_subscribed}
{$latest_threads}
{$latest_warnings}<br />{$threads_list}
{$user_notepad}
</td>
</tr>
</table>
{$footer}
</body>
</html>

I want to set the "Forum Stats" and "Moderators options" to the left.

Thanks helping me!
No idea why I put usercp, I meant the member_profile template.
(2010-11-15, 10:01 PM)AJS Wrote: [ -> ]No idea why I put usercp, I meant the member_profile template.

Haha no problem here the Member_Profile:

Quote:<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
<b>({$usertitle})<br /></b>
{$groupimage}
{$userstars}<br />
<br />
<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}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<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} {$memlastvisittime}</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>
{$reputation}
{$warning_level}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="{$bgcolors['icq']}"><strong>{$lang->icq_number}</strong></td>
<td class="{$bgcolors['icq']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['aim']}"><strong>{$lang->aim_screenname}</strong></td>
<td class="{$bgcolors['aim']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['yahoo']}"><strong>{$lang->yahoo_id}</strong></td>
<td class="{$bgcolors['yahoo']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$signature}
{$forumstats}
<br />{$buddylist}{$modoptions}

</td>
</tr>
</table>
{$footer}
</body>
</html>
Replace the entire member_profile template with this:

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<!-- Top -->
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
						<td class="trow1" width="75%">
							<span class="largetext"><strong>{$formattedname}</strong></span><br />
							<span class="smalltext">
							<b>({$usertitle})<br /></b>
							{$groupimage}
							{$userstars}<br />
							<br />
							<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}
							</span>
						</td>
						<td width="25%" align="right" valign="middle">{$avatar}</td>
					</tr>
				</table>
			</td>
		</tr>
		{$awaybit}
	</table>
<!-- End Top -->
	<br />
	<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
		<tr>
<!-- Left column-->		
			<td width="50%" valign="top">
				<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
					</tr>
					<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} {$memlastvisittime}</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>
					{$reputation}
					{$warning_level}
				</table>
				<br />
				<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
					</tr>
					<tr>
						<td class="trow1"><strong>{$lang->homepage}</strong></td>
						<td class="trow1">{$website}</td>
					</tr>
					{$sendemail}
					<tr>
						<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
						<td class="{$bgcolors['pm']}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
					</tr>
					<tr>
						<td class="{$bgcolors['icq']}"><strong>{$lang->icq_number}</strong></td>
						<td class="{$bgcolors['icq']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
					</tr>
					<tr>
						<td class="{$bgcolors['aim']}"><strong>{$lang->aim_screenname}</strong></td>
						<td class="{$bgcolors['aim']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
					</tr>
					<tr>
						<td class="{$bgcolors['yahoo']}"><strong>{$lang->yahoo_id}</strong></td>
						<td class="{$bgcolors['yahoo']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
					</tr>
					<tr>
						<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
						<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
					</tr>
				</table>
				{$forumstats}<br />
				{$modoptions}
			</td>
<!-- End left column -->
			<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<!-- Right column-->			
			<td width="50%" valign="top">
			{$profilefields}
			{$signature}
			{$buddylist}
			</td>
<!-- End right column-->
		</tr>
	</table>
{$footer}
</body>
</html>
Pages: 1 2