MyBBThemes Community

Full Version: phpBB3 Forum Header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am making a phpBB3-like theme and I've run into a problem. I'm trying to get the "Threads", "Posts", and "Last Posts" on the main forum header like it is here. I'm editing the "forumbit_depth1_cat" template, but I'm not getting the result I wanted. Here's what I have so far:
Code:
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%"><div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" /></div>
<span class="thead"><div style="text-align: left;"><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong>


<br /><div class="smalltext">{$forum['description']}</div></strong></div></span>

<td width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_threads}</strong></td>
<td width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_posts}</strong></td>
<td width="200" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_lastpost}</strong></td>

</td>
<td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">

{$sub_forums}
</tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>

<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%">
</td>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
<br />
That is a MyBB Site and not a phpBB Site.

We don't give support for phpBB.
Kevin Wrote:That is a MyBB Site and not a phpBB Site.

We don't give support for phpBB.
I don't want support for phpBB. I want support on how to make a MyBB skin look like a phpBB skin. What I'm trying to do, is get rid of the subheader on MyBB because on phpBB3, there is none. I was editing the template "forumbit_depht1_cat" template, but I could not get the subheader tables onto the main header. I wanted to know if there is a way to do that.

Oh, and I'm using the MyBB Dream skin so that's why the code might look different.
Reference URL's