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 |
#32
|
|||
|
|||
i have uploaded few images. i m confused where to enter text field
"/images/statusicon/car.jpg" where to add that |
#33
|
||||
|
||||
Quote:
Admin Panel > Forum manager > (Forum) Edit |
#34
|
|||
|
|||
wow man it's working....
www.maksazone.com check But i was looking for something else. any idea where i can get like that? check this http://www.golpo.net/forum/ i don't want to "remove new post icon" and "old post icon" in the category. wanted to add images like them next to that post icons.. can u see that? if u know then reply me otherwise it's ok thanks a lot for helping me Maksa |
#35
|
||||
|
||||
Nice one body
|
#36
|
|||
|
|||
cool. thanks friends
|
#37
|
|||
|
|||
Quote:
quotin Maksa... I'd like to keep the new/old post icon... Marco |
#38
|
|||
|
|||
even i wanted to keep that but no idea how to do? where to get help ?
|
#39
|
||||
|
||||
http://www.golpo.net/forum/ is not using this hack.
It's just template edit, right click on icon in that forum, you will see that file name is using forum id, example forum News And Announcements has id 2, so the image name will be 2.gif I hope you understand what I'm talking about |
#40
|
|||
|
|||
yes that's wat i wanted to do for my website. but what code i have to edit in template page. sorry but i really don't know much about codeing. i want some help if anyone can give me...
|
#41
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|