• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Change Thread Title Color for Specific Forums on Homepage

Admin

Well-Known Member
Staff member
Administrator
This modification will allow you to change the color of the thread titles for specific forums on your forumhome in the last post by areas.

This mod is done via one simple template edit.

STEP 1 - Find the forumhome_lastpostby template via edit templates > Forum Home Templates.

STEP 2 - Find the code below
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>

STEP 2 - Before it add
<vb:if condition="$forum[forumid] == ***">
<font color="#XXXXXX">
</vb:if>

STEP 3 - After it add
<vb:if condition="$forum[forumid] == ***">
</font>
</vb:if>

Replace both instances of *** with the forumid of the forum you want to change the thread title color of.

Replace XXXXXX with the hex code for the color you want the thread title colors to be.

If you have multiple forums you want to change the thread title colors for on the homepage, simply stack additional vb:if conditions above and below just like above for each forum you want to change.

Like follows

Find the code below
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>

Before it add
<vb:if condition="$forum[forumid] == ***">
<font color="#XXXXXX">
</vb:if>
<vb:if condition="$forum[forumid] == ***">
<font color="#XXXXXX">
</vb:if>
<vb:if condition="$forum[forumid] == ***">
<font color="#XXXXXX">
</vb:if>

After it add
<vb:if condition="$forum[forumid] == ***">
</font>
</vb:if>
<vb:if condition="$forum[forumid] == ***">
</font>
</vb:if>
<vb:if condition="$forum[forumid] == ***">
</font>
</vb:if>
 

Facebook Comments

New posts New threads New resources

Back
Top