Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.

New Thread  Post Reply
pmt's Avatar
pmt : 50+
pmt will become famous soon enough
offline Joined: Sep 2007 Posts: 63 Thanked: 8
Thread Starter Unread 01-02-08
vB 3.6.8 Set Thread Title Color

Import Product

edit template threadbit

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold"</if>>$thread[threadtitle]</a
replace with
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold"</if> style="color: $thread[threadcolor];">$thread[threadtitle]</a

Note: if "color value filed" is not show (newthread, editthread)
edit template newthead and editpost
<!-- / subject field --> 
add below
<if condition="($bbuserinfo[usergroupid] == 6)|($bbuserinfo[usergroupid] == 5)|($bbuserinfo[usergroupid] == 7)">
threadcolor field -->
table cellpadding="0" cellspacing="0" border="0">
td class="smallfont" colspan="3">Set color for thread title:</td>
td><input type="text" class="bginput" name="threadcolor" value="$threadcolorsize="50" maxlength="150" tabindex="1" /></td>
        <!-- / 
threadcolor field --></if> 
at this version, only admin, smod, mod can set color (able to view filed), you can change code (edit file)
Attached Images You must register or login to view attachments.
Attached Files Click the thanks button to view this attachment.
Tiags's Avatar
Tiags : Newbie +
Tiags is on a distinguished road
offline Joined: Nov 2007 Posts: 14 Thanked: 0
Unread 01-05-08
Can you make it work with bold, italic, etc too?
New Thread  Post Reply

Thread Tools

  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
title, color, thread, set, 3.6.8
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021