How can I remove the post counters from the index page?
So it looks like this:
Forum | Last Post
Rather than
Forum | Threads | Posts | Last Post
Thanks,
Also, would it be possible to add the post counters under the last post?
I saw a VB theme that did that and it looked pretty good. I've attached an image to show you what I'm talking about.
(2008-09-08, 12:34 AM)PwnEm Wrote: [ -> ]Also, would it be possible to add the post counters under the last post?
I saw a VB theme that did that and it looked pretty good. I've attached an image to show you what I'm talking about.
Hmmm.. I'm sure I could probably do it. I'll look at it.
Open your theme options. Edit global.css
Edit Stylesheet in Advanced Mode.
Add CSS class:
.indextp {
background: #EBEBEB;
border: 1px solid #DBDBDB;
padding: 3px;
text-align: center;
font-size: 9px;
}
Open your theme's templates. Expand Forum Bit Templates.
Open forumbit_depth2_forum
Replace entire code with this:
<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}<br />
<div class="indextp">{$lang->forumbit_threads}: {$threads}{$unapproved['unapproved_threads']} | {$lang->forumbit_posts}: {$posts}{$unapproved['unapproved_posts']}</td>
That will make it look like this:
[
attachment=10948]
Or did you want the entire Last Post thing to resemble that screenshot??
If you wanted the entire thing to resemble that screenshot:
Open forumbit_depth2_forum
Find:
{$lastpost}<br />
and remove the break.
Open forumbit_depth2_forum_lastpost
Replace entire template with this:
<span class="smalltext">
<div style="text-align: left;"><a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a><br />
{$lang->by} {$lastpost_profilelink}</div><div style="text-align: right;">{$lastpost_date} {$lastpost_time}</div></span>
Doing the last edit will make it look like this:
[
attachment=10949]
That was quick
Thanks. I'll give that a go.
*EDIT* Just tried the first code and it worked great.
What about getting the little box with posts and threads under the forum description??
Sure.. open up your forumbit_depth2_forum template
and move this:
<div class="indextp">{$lang->forumbit_threads}: {$threads}{$unapproved['unapproved_threads']} | {$lang->forumbit_posts}: {$posts}{$unapproved['unapproved_posts']}</div>{$modlist}{$subforums}</div>
</td></td>
under this:
{$forum['description']}
with a break at the end of the forum description, of course.