Not Solved [How To?] 3 column profile?
#1
Not Solved
Hi. Quick question, how do I make the profiles look like this? I have the code for a 3 column portal, 

<html>
<head><title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="200">{$welcome}{$pms}{$search}</td>
<td valign="top">{$announcements}</td>
<td valign="top" width="200">{$stats}{$whosonline}{$latestthreads}</td>
</tr>
</table>
{$footer}
</body>
</html>

but I would like to implement this for the user profiles, so that it would look nicer.. but I have no idea on how to do so. TThe image is from my old IPB forum, but it is an example of the layout I want for my MyBB forum. BB Thanks in advance for the help.  Smile

[Image: exPmrXN.png]
Thank you in advance for your time, and as always I appreciate any help offered.

List of unsolved MyBB Support issues.. 

https://community.mybb.com/search.php?ac...&uid=81844
Reply
#2
Not Solved
Bumping this as its been a while.. and I still need help with this..
Thank you in advance for your time, and as always I appreciate any help offered.

List of unsolved MyBB Support issues.. 

https://community.mybb.com/search.php?ac...&uid=81844
Reply
#3
Not Solved
Example, starting from the MyBB default style and the template member_profile

In this template there is a full-width box at the top, two columns below.
From this you can easily make three

this is what the part looks like before:

<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" style="width: 30%;"><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}){$findposts}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->total_threads}</strong></td>
					<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
				</tr>
				<tr>
					<td class="trow1"><strong>{$lang->timeonline}</strong></td>
					<td class="trow1">{$timeonline}</td>
				</tr>
				{$referrals}
				{$reputation}
				{$warning_level}
			</table>
			{$contact_details}
		</td>
		<td>&nbsp;&nbsp;</td>
		<td width="50%" valign="top">
			{$profilefields}{$myreactions}
			{$signature}{$arcadeprofile}
			{$modoptions}
			{$adminoptions}
		</td>
	</tr>
</table>
some variables may miss in your template, they are from plugins I use

for three colums change to:
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
	<tr>
		<td width="30%" 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" style="width: 30%;"><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}){$findposts}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->total_threads}</strong></td>
					<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
				</tr>
				<tr>
					<td class="trow1"><strong>{$lang->timeonline}</strong></td>
					<td class="trow1">{$timeonline}</td>
				</tr>
				{$referrals}
				{$reputation}
				{$warning_level}
			</table>
			{$contact_details}
		</td>
		<td>&nbsp;&nbsp;</td>
		<td width="40%" valign="top">
			{$profilefields}{$myreactions}
			{$adminoptions}
		</td>
                <td width="30%" valign="top">
			{$signature}{$arcadeprofile}
			{$modoptions}
		</td>
	</tr>
</table>
you see, I changed the width from two times 50% to 30-40-30
here you can of course vary how you like it
and also which parts should be in which column

just an easy example

hope it helps you to do on your way
 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)