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 |
#22
|
|||
|
|||
Just as a question, can this mod be updated to give the user the option to place 4 custom images:
One for new posts one for no new posts One for Locked forum & no new posts & one for locked and NEW posts |
#23
|
||||
|
||||
Quote:
I suppose this could be made, but not a while, got other projects on currently. Adrian |
#24
|
||||
|
||||
thanks a lot
|
#25
|
|||
|
|||
Quote:
yup, it will be awesome... Marco |
#26
|
|||
|
|||
Quote:
I agree with Luke. It's just that without the ability for the icon to change with the different status' of the forum in question's read marking it takes away a rather important functionality of knowing if there are unread posts in said forum. |
#27
|
|||
|
|||
not working dont know how to do can u tell me in details.. where ro upload images? is there any other changes?
sorry i m new |
#28
|
||||
|
||||
Quote:
Does no image display? If so...
If the problem still persists with the image URL inplace, it could be due to if you have your forum in a directory. eg /forum. If so, put /forum/ before your image URL. Adrian |
#29
|
|||
|
|||
http://www.maksazone.com/images/statusicon/
That is my Image URL where should i enter that url? i think it's default one isn't it? File names for images: forum_(forum id).gif E.g: forum_45.gif Is it okay? i think it's correct one.. but don't know wat is the problem.... any help? |
#30
|
|||
|
|||
btw i don't know where to get this one
where to find that option? check the image attached |
#31
|
||||
|
||||
Quote:
Ok, lets say you have a car catagory... Upload a image with anyway name, but too keep it simple, call it car.jpg, upload it into anyway directory, (for the sake of this explanation, upload it into /images/statusicon/" Now, enter in the text field, "/images/statusicon/car.jpg" Adrian |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|