View Full Version : Thread Prefix Column
StudentCreche
04-08-2011, 01:57 PM
Is it possible to somehow separate the thread prefix from the thread title by introducing a separate column...?
Lynne
04-08-2011, 03:17 PM
I wrote this for somebody else and it worked how he wanted it to work. Modify however you want.
Open threadbit template and find and remove:
<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
<span class="prefix understate">
{vb:raw thread.movedprefix}
{vb:raw thread.typeprefix}
{vb:raw thread.moderatedprefix}
{vb:raw thread.prefix_rich}
</span>
</vb:if>The find:
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a>Add directly below that:
<span class="prefix understate">
<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
{vb:raw thread.movedprefix}
{vb:raw thread.typeprefix}
{vb:raw thread.moderatedprefix}
{vb:raw thread.prefix_rich}
<vb:else /> </vb:if>
</span>Add to additional.css template:
/* Give prefixes their own column */
img.threadicon {display: block; float: left; clear:right: }
.prefix {width: 100px; display: block; float: left;clear: right; height: 40px}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.