MyBB Community Forums

Full Version: Customising the Threads and Posts column Help Need'd
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I change my forum home page to show up like this

[Image: mybbstep1.gif.jpg]

and then change the other forums to show like this on the home page

[Image: mybbstep2.gif.jpg]

and now when I go into the category to show my sub forums my threads and post or show'g up like this

[Image: mybbstep3.gif.jpg]

How do I get the sub forums to show up just like the home page forum with just the Last Post with no Threads and Post area?

[Image: mybbstep2.gif.jpg]

This is the post that I used to get this far.

http://www.learnmybb.com/forums/Thread-C...191#pid191

Thank you for your help
If you follow all the instructions you should be OK. I tested this as I did it, it looks like you might have missed a bit.
This kind of errors occur a lot in my own test forum when I tested this tutorial...
But to do a careful work specially on forum_bit_depth2 forum template Smile
I went back over everything and my sub-forums still look like this, can someone look at my code and see if i did something wrong?

[Image: mybbstep3.gif.jpg]

forumbit_depth1_cat

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

forumbit_depth2_cat

<tr>

<td class="{$bgcolor}" align="center" valign="top"
width="1"><img
src="{$theme['imgdir']}/{$lightbulb['folder']}.png"
alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}"
class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>

<td class="{$bgcolor}" valign="top" colspan="4">

<strong><a
href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div
class="smalltext">{$forum['description']}{$subforums}</div>

</td>

</tr>

forumbit_depth2_forum

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>

<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
Her's the actual code of forum bit depth_2 forum template
<tr><td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td><td class="{$bgcolor}" valign="top"><strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div></td><td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td><td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td><td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td></tr>

In your code, there is
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td><td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
mising

try to add this
Hope this one helps Smile
OK, I'll go over this again and see if there is an issue with it. When I tested it it worked OK but maybe I missed a step in the tutorial. Gimme 24 hours Smile
(2009-04-08, 09:15 PM)MattRogowski Wrote: [ -> ]OK, I'll go over this again and see if there is an issue with it. When I tested it it worked OK but maybe I missed a step in the tutorial. Gimme 24 hours Smile

No problem thank you for your time.
No, not atall Matt, there is nothing bad in your coding or me, as it is not showing any
problem when I edited in my local myBB forum

There is some thing wrong in kevinlilies editing and perhaps it is the one that
i pointed out earlier
Hmm, yeah maybe you're missing a step then. There is a step to remove the Threads and Posts coulmn headers but you still have them.
Yeah, when I last time checked , it was just okay