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. T
The 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.
Bumping this as its been a while.. and I still need help with this..
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> </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> </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