Customized icons for forums?

that hacks is called catagory icons ( ya catagory xD) well i asked for this long time ago <_<U but none help me so i found it myself, here you go hack in the attachment.
 
Itsuki Minami said:
o_o it does i have it running on my site, my site runs vb 3.7.0 beta 3

lol really ? What image url are you using ?
Btw,do you know how to make each category have its own image ? (Not the icon,the image that fills it) Do I have to make a custom Theme for each one of them ? Image extension ?
 
you make the template edits requested, then go to your forum manager and at the bottom or nearly the bottom theres a fillbox for the catagory icon, i try putting the images hosted in my forum, hosted in imageshack, and hosted in photobucket, all of them work
 
Itsuki Minami said:
xD I FORGET remember to turn it on in your vb options xD it's the most common error xD i forget it also and i was so pissed off

I didn't forget about that,but I made no template changes ! Somehow I didn't see them in the patch .. Are they in the .zip ?
 
i guess yes let me check i'll be back

Edit: I'm back in the zip i copy paste the instructions here

Catagory Icons
Tested on 3.6.1
By Adrian at Development chat.com

Current Version: 1.0.1
1.0.1 Status: Working Fine.

Hey,

I noticed a few people around the 'net wanted a modification like this, It wasn't too hard so i thought i would give it ago.

You can specify a image path/url to use for your catagory icon, if none is specified, the forum will use vBulletins default image.
See bottom of post for screenshots

Installation
Import product-catagoryicons.xml (It should make the needed Mysql tables too)
Go to Options > Catagory Icons to enable the mod'.

Template Edits
Open Forum Home Templates > forumhome_forumbit_level1_post
Find:
HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />

or

HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />

Replace with:
HTML Code:

<if condition="$vboptions[customimg_enabled] == 1">
<if condition="$forum[customimg] == ''">
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />

<else />
<img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

<else />
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />
</if>

Save.
Open up Forum Home Templates > forumhome_forumbit_level2_post
Find:
HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />

or

HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />

Replace with:
HTML Code:

<if condition="$vboptions[customimg_enabled] == 1">
<if condition="$forum[customimg] == ''">
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />

<else />
<img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

<else />
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />
</if>

Done.

That should be it.

To set catagory icons, just edit a forum, the image field is at the bottom.
If you have any problems, just ask.
 
Can't get it to work,for some reason my template has doubled code lines (pherhaps cus I'm using a 3.5.xx skin on 3.7 lol) but I'll check it a bit deeper.
 
Back
Top