![]() |
Catagory Icons
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" HTML Code:
<if condition="$vboptions[customimg_enabled] == 1"> 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" HTML Code:
<if condition="$vboptions[customimg_enabled] == 1"> 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 |
Nice hack, will install soon! :)
|
Ok Great hack buy im having a few problems first one is this you say in forumhome_forumbit_level2_post replace this
Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /> Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" |
Hi
I was about to install and i see i have the same code as ChavMagnet Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> |
If you have...
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" Just make sure, you are not replacing <td> </td> <tr> </tr> EDIT: Also, make sure you have the mod' enabled. Adrian |
Hi m8, Ok done that and seemed ot go ok,
Can you take a look at the image please, i take it the forum manager aint meant to look like that? Also i have added an image, yet it dont show the image, it just removes the original |
Sorry about it having no description on the field.
I was in a hurry to finish this mod' up for someone before i had to go out. If you import the .xml attached (Updated), it should add the description. Adrian |
Ny ideas on the image not showing, the url in the box is
/images/catergory/grabit.gif i take it thats right EDIT, Sorted, it needs forums/ 1st |
Thanks for making this! :)
|
Just a wee question, is this possible to work with the sub forum icons please?
If too much then no worries!! |
All times are GMT. The time now is 11:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|