MyBB Community Forums

Full Version: Editing Templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
All I'm trying to remove is the columns for thread numbers and post numbers.
I want to move those counters (the number of threads/posts etc) underneath the last post info and expand the forum/last post columns.
I have mine like so:
forum name
forum description
threads:## posts:##
moderators.
I have tried this now, you don't have to modify the forum_laspost template. Just delete the columns out of the forumbit_depht2_forum template.

Then the thread/post indicators won't appear anymore! All I want to do is delete the columns and move the counters to a different place. I don't want to completely remove them from my forums.
Of course you have to insert them afterwards. Example:

<tr>
<td class="{$bgcolor}" align="center" valign="middle" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read vmiddle" 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 />
{$threads}{$unapproved['unapproved_threads']}<br />{$posts}{$unapproved['unapproved_posts']}
</td>
</tr>
Where should I put this code? forumbit_depth2_forum ?
Yepp Smile
Okay, I'll try this on my development board, thanks! Smile
Pages: 1 2