Back to Modification Graveyard

Add Custom Icons per Forum
Mod Version: 1.00, by ZUCCO

This thread is in the Modification Graveyard.
vB Version: 4.2.x Rating: (0 vote - 0 average) Installs: 2
Released: 06 Dec 2013 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

Note: This modification was around the internet and nobody knows who the author is, so I post this here because I thought this would be useful.

This modification allows you to set up a custom icon per each subforum in your forum.

1)Go to Admincp->Styles and Templates->Locate the style where you want to apply this modification->edit templates and find the forumhome_forumbit_level2_post and find:

Code:
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
and replace it:

Code:
<img src="./icons/{vb:raw forum.forumid}.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />

2) Now Upload the images per each subforum

First, create a folder in your main root (along with admincp, images, includes,etc) and call it icons and inside that folder upload your images with .PNG format.
Second, each images must be renamed with the subforums ID

EXAMPLE:


To find the ID of the forum you should look at "Forums & Moderators" and edit the forum that you want to see your ID and at the top, next to the forum name you will see its ID number.

For example:

As you can see the subforum ID is 236 so the image you want to display for that subforum must be called 236.png and the result is this:

Download

No files for download.

Screenshots

   

Similar Mods

Custom ON/OFF Icons per forum... vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024