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 |
#212
|
|||
|
|||
Maybe I'm doing things wrong here, but I have checked, and double checked and I still can't get it to work in 3.7.
I'm using the iPhorum skin as default with some tweaks.. So I changed to the default skin. Made the template changes by replacing the code. The plugin is already enabled, and imported. I goto Forum manager, click on a sub section to edit it. Find Custom Status Icon Settings. Set: New Posts: Replacement Image for 'forum_new' to: /community/iPhorum/customicons/cog.jpg www.domain.com/community = my forum location Hit save, and no change. Any ideas? |
#213
|
||||
|
||||
You don't need this for 3.7. It's now a build in feature.
User image_prefix now and create five pictures with the name prefixforum_old.gif and more. Because of this new feature this Hack did not work. |
#214
|
|||
|
|||
Darn, I sure feel like an idiot!
Thanks Hoffi |
#215
|
|||
|
|||
still works on 3.7 and so simple and easy
|
#216
|
|||
|
|||
Thanx alot
|
#217
|
|||
|
|||
Thank you very much. Where can I do that?
|
#218
|
|||
|
|||
Hello,
I do what you said, but I have little problem here with forum home any Idea? Quote:
|
#219
|
||||
|
||||
If anyone is interested, here's what I did with my site:
http://www.friendship-cafe.com/forum/ Btw: If anyone is looking for some awesome 3D Icons, I found this site: http://www.iconlook.com |
#220
|
||||
|
||||
This mod works fine on 3.7.0.
You can see example here: http://rchobby365.com/diendan/index.php?styleid=13 |
#221
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|