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 |
#192
|
|||
|
|||
In 3.7 you can set up a custom Prefix for Forum Status Images which basically a native way to choose individual forum category icons.
|
#193
|
|||
|
|||
Is there an option to display different icons for different user groups?
|
#194
|
|||
|
|||
I get this error..can u tell me whats wrong?
The image box gets messed up.. [ btw i only have icon set for only that category which shows the icon..but others shud show the default one right? and not the code error? ].. |
#195
|
|||
|
|||
The globe icon is a default icon in my board.
|
#196
|
|||
|
|||
I've fixed it..thanks anyway.
|
#197
|
||||
|
||||
Adrian! 3.7 version ftw!
|
#198
|
|||
|
|||
removed please delet
|
#199
|
|||
|
|||
|
#200
|
||||
|
||||
I want my icons in a different location. Is this possible?
|
#201
|
|||
|
|||
Database error in vBulletin 3.6.8:
Invalid SQL: UPDATE forum SET title_clean = 'Celtic', title = 'Celtic', description_clean = 'Arguably the best football side in the World, Well they are to me\r\nWhether yer a Bhoy a Rangers fan or whoever discuss anything relevant to Celtic in here. Share you thoughts on all matters Celtic', description = 'Arguably the best football side in the World, Well they are to me\r\nWhether yer a Bhoy a Rangers fan or whoever discuss anything relevant to Celtic in here. Share you thoughts on all matters Celtic', link = '', displayorder = 2, parentid = -1, daysprune = -1, defaultsortfield = 'lastpost', defaultsortorder = 'desc', showprivate = 0, newpostemail = '', newthreademail = '', ### Bitfield: forum.options ### options = IF(options & 8, options - 8, options), options = IF(options & 16, options - 16, options), options = IF(options & 32, options - 32, options), options = IF(options & 32768, options - 32768, options), options = IF(options & 8192, options, options + 8192), options = IF(options & 4, options, options + 4), options = IF(options & 1, options, options + 1), options = IF(options & 2, options, options + 2), options = IF(options & 16384, options, options + 16384), options = IF(options & 256, options, options + 256), options = IF(options & 64, options, options + 64), options = IF(options & 128, options, options + 128), options = IF(options & 512, options, options + 512), options = IF(options & 1024, options, options + 1024), options = IF(options & 2048, options, options + 2048), options = IF(options & 4096, options, options + 4096), options = IF(options & 65536, options, options + 65536), styleid = 0, password = '', customimg = '\"/images/statusicon/celtic.gif\"' WHERE forumid = 3; MySQL Error : Unknown column 'customimg' in 'field list' Error Number : 1054 Date : Sunday, April 6th 2008 @ 11:53:12 PM Script : http://www.ukfootballone.co.uk/Forum....php?do=update Referrer : http://www.ukfootballone.co.uk/Forum...do=edit&f=3&s= IP Address : Username : anbhoy Classname : vB_Database |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|