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 |
#132
|
|||
|
|||
Put it in, worked great on the defualt template but didnt seem to like JJ's wow scheme. Aww well. Great job none the less! Looks great.
|
#133
|
|||
|
|||
Works very well.... :up:
Nice coding... thank you.... Regards, Badger |
#134
|
|||
|
|||
Question....
As I said it works great and users like them, but I've been getting one common complaint. They form a permanent replacement and they circumvent the code used by vBulletin which replaces them with others, showing for example there's new posts in a forum to read. Before we get too much further, I want to check and see if there's any way this code can be modfied and integrate better, so we can have icons that change with forum status. Thanks Regards, Badger |
#135
|
|||
|
|||
It would be great if these could be more like forum icons and then we could keep the category icon which shows if there is a new post.
I have a similar setup on my phpbb site. Check out the index: http://www.forums.gridironfans.com/index.php |
#136
|
|||
|
|||
Quote:
Yup .... :up: If there was a second "filename" field in the AdminCP entry for the forum (like the author did the present one), that could be used for an icon to represent a forum with NEW posts, that would work very well. Thanks Badger |
#137
|
||||
|
||||
On one of my templates the subforums are messed up they come out like this.
Attachment 64261 All my other templates it works good on except for this one. Any ideas? |
#138
|
|||
|
|||
Uninstalled.....
Nice mod, but our members want the ability to show changes (ie: new posts etc.) Thanks for the efforts though.... Regards, Badger |
#139
|
|||
|
|||
same complaint here.....
|
#140
|
|||
|
|||
how can one just add images next to each forum using this. I want to keep the category icons we have, but add another column next to it for unique icons for like sports...
Thanks. |
#141
|
|||
|
|||
thank u man keep it up , simple but great
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|