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 |
#102
|
|||
|
|||
Could you help me make this. Sry for my Eng
Thank You! |
#103
|
||||
|
||||
Ok folks.
For all of you who want Category Icons including the "new post", "no new post" capabilities, here is a quick and simple solution provided by Andreas: Templates forumhome_forumbit_level... Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /> Code:
<img src="$stylevar[imgdir_statusicon]/forum$forum[forumid]_$forum[statusicon].gif" alt="" border="0" /> forumID_new.gif, forumID_old.gif,... Example: forum1_new.gif If you install this, you don't need to install the Catagory Icons hack!!! EDIT: I have released this as a separat hack Simple Category Icons Greetings StarBuG |
#104
|
||||
|
||||
It doesn't work? (3.6.4)
|
#105
|
||||
|
||||
Quote:
Wow.. That did the trick |
#106
|
||||
|
||||
Perfect. My members love the new look.
For a demo, please look at http://www.nepalhub.com/ Just wondering if it will be possible to display the hack in the top when someone goes inside a forum. Cheers! |
#107
|
||||
|
||||
Thanks.
|
#108
|
|||
|
|||
Adrian,
First Thanks you very much for this mod. I have problems with the code, Im using version 3.6.4, I don't know why but in Sub-Forums, make some breaks between title and sub-forums. As much subforums, much spaces..(Can you please see at attached image. Space at the left blue line.) My code at : forumhome_forumbit_level2_post Quote:
Thanks a lot. |
#109
|
|||
|
|||
Can someone give instructions for 3.5.4 I've been looking for this for a long time now.
|
#110
|
||||
|
||||
Quote:
This modification this here in the forum? |
#111
|
||||
|
||||
Thanks very much.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|