Back to vBulletin 3.6 Template Modifications

Forum Images next to the Description for every Forum
Mod Version: 1.00, by StarBuG

This modification is in the archives.
vB Version: 3.6.5 Rating: (8 votes - 4.75 average) Installs: 78
Released: 25 Mar 2007 Last Update: 25 Mar 2007 Downloads: 427
Not Supported Template Edits  

What this hack does:
This hack adds an image next to every forum description for every forum you want.

Installation:

in Template forumhome_forumbit_level2_post

find:

Code:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

and replace it with:

Code:
<if condition="$show['forumdescription']">
         <div class="smallfont">
       <img src="$stylevar[imgdir_statusicon]/$forumid.png" alt="" class="ForumImages" /> 
          $forum[description]
         </div>
        </if>
Go to your style options and add the following into additional css:

Code:
/* Forum Images next to the Description for every Forum */
.ForumImages {
float: right; 
margin-right: 8px; 
margin-top: 2px; 
}
If you want the image on the left site of the description use:

Code:
/* Forum Images next to the Description for every Forum */
.ForumImages {
float: left; 
margin-right: 8px; 
margin-top: 2px; 
}
Save your style options and you are done.

Now you simply need to create images called:

ForumID.png

for each forum you want to have an image and put it into /images/statusicon/
Example: 22.png

DEMO: http://www.elternfragen.net

Hope you like it

StarBuG

ps: As far as I can remember Andreas gave me the tip how to do it.
So all credit goes to him.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s install_forum_images.txt (1.4 KB, 429 downloads)

Screenshots

Click image for larger version
Name:	screen_efnet1.jpg
Views:	11953
Size:	115.9 KB
ID:	62282  


vblts.ru supports vBulletin®, 2022-2024