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 |
#162
|
||||
|
||||
Okay... a couple of people PM'd me about how I put the images by the forum name... this is what I did...
this is my forumhome_forumbit_level1_post Code:
<tbody> <tr align="center"> <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td> <if condition="$vboptions[customimg_enabled] == 1"> <if condition="$forum[customimg] == ''"> <else /> <img src="$forum[customimg]" alt="" border="5" id="forum_statusicon_$forum[forumid]" align="left" style="border-color: #ffffff;" /> </if> <else /> </if> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </table> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> </tbody> <if condition="$childforumbits"> <tbody> $childforumbits </tbody> </if> Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <if condition="$vboptions[customimg_enabled] == 1"> <if condition="$forum[customimg] == ''"> <else /> <img src="$forum[customimg]" alt="" border="5" id="forum_statusicon_$forum[forumid]" align="left" style="border-color: #ffffff;" /> </if> <else /> </if> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits |
#163
|
|||
|
|||
This is a well thought through mod - went in like a charm
many thanks Roy |
#164
|
|||
|
|||
Just installed and working great. No problems at all.
Thanks! |
#165
|
|||
|
|||
Thanks for the mod. It's just what I'm looking for.
A couple of questions. Does it work in 3.6.8? And I want to replace all the category icons on the main page of my forum with just the one icon rather than a number of different icons, will your mod enable me to do that? Thanks again. |
#166
|
|||
|
|||
In my eagerness to get my board looking just right, I decided to take a chance and install the product. It's working beautifully. So, yes, the product works with vBulletin 3.6.8. A big thank you to the designer for his fine work.
By the way, this is the first product I've installed on my board. |
#167
|
|||
|
|||
I no longer need the Forum Contains New Posts and the Forum Contains Old Posts icons sitting at the bottom of my message board. Does anybody know what code I have to edit to get rid of them?
|
#168
|
|||
|
|||
very nice, anyone know where i can get a bunch of good icons? like for sports, politics, hollywood, etc etc?
|
#169
|
||||
|
||||
Great hack, still think this should be standard on VB!
|
#170
|
|||
|
|||
I installed it, but am having trouble having the custom icons show up in the forums that are subforums.
Is that something not possible? |
#171
|
|||
|
|||
it works with 3.6.8 ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|