[Tutorial] How to completely remove thread status icons
#1
INTRODUCTION:

For some people it's irrelevant whether the thread has new posts or if it's locked. And in this tutorial I will show you how to completely remove thread status icons from all across the forums in just a few steps. For those who are interested, I also wrote a tutorial on how to completely remove post icons and another quick one on how to completely remove both thread status icons and post icons.

TUTORIAL:

1. Go to Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_thread.

2. Find and remove:

<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>

3. Go to Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_threadlist.

4. Find:

<td class="tcat" colspan="3" width="66%">

5. Replace with:

<td class="tcat" colspan="2" width="66%">

6. Go to Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_announcements_announcement.

7. Find and remove:

<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>

8. Go to Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_threadlist.

9. Find and remove:

<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

CONCLUSION:

If you followed these steps precisely, all Forum Display pages will no longer have the thread status icons column. See the examples below:

   
Reply
#2
Thanks! I hate these stupid things, no decent purpose :p
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#3
This user has been denied support. This user has been denied support.
also the post icons was remove in my thread listing, how to allign the menu>
Thread views, replies, last post, ratings?
Heart

[Image: logo2.png]
Reply
#4
If you want to remove both thread status icons and post icons, you only have to make a small change. I wrote a tutorial on how to completely remove thread status icons (this tutorial), and another one on how to completely remove post icons. After following both of the tutorials, do the following:

1. Go to Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_threadlist.
2. Find the following piece of code from the forumdisplay_threadlist template:

<td class="tcat" colspan="2" width="66%">

3. Replace the piece of code you found in step 2 with:

<td class="tcat" colspan="1" width="66%">

In the end no thread status icons or post icons will show up on your forums. An example can be found below:

   
Reply
#5
Awesome tut, thanks.
Reply
#6
I followed the steps precisely, and yet they're still appearing at the bottom of forumdisplay.php. To be clear, I removed this, yet it still appears on the page and in the source.

(2011-03-25, 09:11 PM)Fábio Maia Wrote:
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

Edit: NM. It was because I was viewing one of my boards that has a custom xThreads template. Toungue
Please don't PM me for support. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)