The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Catagory Icons Details »» | |||||||||||||||||||||||||
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" />
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"
id="forum_statusicon_$forum[forumid]" />
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> Open up Forum Home Templates > forumhome_forumbit_level2_post Find: HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"
id="forum_statusicon_$forum[forumid]" />
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> 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. If you use it, please click install. Thanks. Adrian Show Your Support
|
Comments |
#42
|
|||
|
|||
Quote:
Forum Home Template > forumhome_forumbit_level2_post look for... <strong>$forum[title]</strong> add before... <img src="$stylevar[imgdir_button]/$forum[forumid].gif" align="absbottom" alt="" border="0" /> then upload the gifs to buttons folder (mine is under ~forum/images/themename/buttons/) the filenames should match the forum id's(e.g 1.gif, 2.gif,..) i only wanted 3 icons on my forums so the rest of the images i uploaded are just 1x1 blank gifs or spacers. www.questlife.net/forum check Console Gaming i added them yesterday after seeing Deska's post about golpo.net lol so thanks i guess |
#43
|
|||
|
|||
thanks a lot man... i really dont have word to explain. i was looking help on this from last 3 week and u helped me out. thanks a lot again god bless you
|
#44
|
|||
|
|||
Hi,
I'm having problems, can't get this mod to work screenshot attached |
#45
|
||||
|
||||
Hi,
Did you replace HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
try the other option in my installation post. Replace: HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"
id="forum_statusicon_$forum[forumid]" />
|
#46
|
|||
|
|||
Thanks Adrian,
It was a copy/paste problem. IT IS WORKING NOW!!! |
#47
|
|||
|
|||
So, when you specify an icon with this hack, the icon doesn't change to another specified icon when there are new posts, when it's locked, etc.?
If that's the case, how can you tell if there are new posts, if the icon doesn't change? I noticed someone requested this a few posts up. I agree. That would be an awesome addition, and would make this an absolutely perfect hack. |
#48
|
|||
|
|||
Installation
Import product-catagoryicons.xml (It should make the needed Mysql tables too) Go to Options > Catagory Icons to enable the mod'. Where do we import this xml? Sorry, i'm new to this. |
#49
|
||||
|
||||
Quote:
Login, into your vBulletin Admin Panel. Go to Plugins and Products > Manage Products. Click [Add/Import Product] Click Browse, then Import. Adrian |
#50
|
|||
|
|||
Hi!
This mod can run with 3.6.0? i like install! |
#51
|
|||
|
|||
installed
version 3.62 and worked fine. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|