Different Category Images
This modification is in the archives.
This is a simple template modification which i was shown how to do. I have attached my forumhome_forumbit_level1_nopost template to this hack do you can see what i have done.
Find This In forumhome_forumbit_level1_nopost template </tbody> ABOVE that add this: <tr> <td class="tcat" <if condition="in_array($forum[forumid], array(115))">style="background: url(http://www.myfootballforum.com/image...worldcup06.jpg) repeat-x top left;"</if> ============================ Its as simple as that: array(115))"> the number is the category number, if you look at my forum http://www.myfootballforum.com and hover over the category Germany World Cup 2006 you will see it says: http://www.myfootballforum.com/forumdisplay.php?f=115 the number at the end of the category number so the code below Code:
<tr> <td class="tcat" <if condition="in_array($forum[forumid], array(115))">style="background: url(attach/images/misc/stub.png) repeat-x top left;"</if> Pretty simple really, to add more pictures add this code: Code:
<if condition="in_array($forum[forumid], array(7))">style="background: url(http://www.myfootballforum.com/images/stylebars/stylebar.jpg) repeat-x top left;"</if> Also on your last code add this: </td> </tr> So assuming the above code was your last image it would look like this: Code:
<if condition="in_array($forum[forumid], array(7))">style="background: url(http://www.myfootballforum.com/images/stylebars/stylebar.jpg) repeat-x top left;"</if> </td> </tr> Download This modification is archived and cannot be downloaded. |
Similar Mods
Category Images Top & Bottom + Category Spacing | vBulletin 3.0 Template Modifications |