View Full Version : New Post Icons Replaced With Backgrounds
Retell
11-27-2006, 08:16 PM
I have done some searching and was unable to find out how to replace my forum icons with just changing the background color of the row of the entire forum.
If someone could help me with this I would appreaciate it very much.
Retell :confused:
bump
RedTyger
11-28-2006, 08:05 AM
Just tested this, seems to work OK.
In your threadbit template, look for this (first thing in the template!):
<tr>
Replace it with this:
<tr style="background-color:<if condition="$thread[statusicon] == '_dot'">#fff;</if><if condition="$thread[statusicon] == '_hot'">#f00;</if><if condition="$thread[statusicon] == '_lock'">#000;</if>">
Then every time you seen class="alt1" or class="alt2", remove it. That means that when you have a replied to a thread the row is white, when it's a hot thread it's red, when it's locked it's black. Change the colours to what you want, obviously. The reason it gets nasty is because there's lots of combinations as well: _dot_hot is when a thread has been replied to by you and is locked. You will have to add a conditional for each combination or it will be white by default.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.