Back to vBulletin 3.5 Template Modifications

Different Category Images
Mod Version: 1.00, by mcyates

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 6
Released: 28 May 2006 Last Update: Never Downloads: 13
Not Supported  

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>
Will add this to the category bar


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>
Make sure to change the category id number.

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>
Hope the instructions are clear enough.

Download

This modification is archived and cannot be downloaded.

Similar Mods

Category Images Top & Bottom + Category Spacing vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024