MyBB Community Forums

Full Version: Moving Post Icons to Thread Author?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm looking to move the post icon of a thread to just left of where the thread author is. Here's a visual representation of what I'm trying to achieve if anyone can help me make this possible Smile

Before:
[Image: hRtsf.png]
After:
[Image: gHKCp.png]

Thanks!
Go to: ACP > Templates > Forumdisplay Templates > forumdisplay_thread > and find and remove;
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>

Now In forumdisplay_threadlist find:
<td class="tcat" colspan="3" width="66%">

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

Now in forumdisplay_announcements_announcement, find and remove;
<td align="center" class="{$bgcolor}" width="2%">&nbsp;</td>

Now open forumdisplay_thread , find;
			<div class="author smalltext">{$thread['profilelink']}</div>
and Change it to;
			<div class="author smalltext">{$icon}&nbsp;{$thread['profilelink']}</div>

It should be like this now;
[attachment=22563]
(2011-05-04, 06:31 AM)Yaldaram Wrote: [ -> ]Go to: ACP > Templates > Forumdisplay Templates > forumdisplay_thread > and find and remove;
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>

Now In forumdisplay_threadlist find:
<td class="tcat" colspan="3" width="66%">

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

Now in forumdisplay_announcements_announcement, find and remove;
<td align="center" class="{$bgcolor}" width="2%">&nbsp;</td>

Now open forumdisplay_thread , find;
			<div class="author smalltext">{$thread['profilelink']}</div>
and Change it to;
			<div class="author smalltext">{$icon}&nbsp;{$thread['profilelink']}</div>

It should be like this now;

And replace {$icon} with this:
<div style="vertical-align: middle;">{$icon}</div>
The image will be vertically aligned with the text.
Thanks so much!
You're welcome!
Most welcome xomp. =)