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 |
#152
|
|||
|
|||
Your mod code ?
|
#153
|
||||
|
||||
n/m I figured something out www.sofreshforums.com
|
#154
|
||||
|
||||
Quote:
|
#155
|
||||
|
||||
Quote:
TEMPLATE: forumhome_forumbit_level1_post Find: HTML Code:
</tbody> <if condition="$childforumbits"> <tbody> $childforumbits </tbody> </if> HTML Code:
<if condition="$childforumbits"> <if condition="$vboptions[customimg_enabled] == 1"> <tr> <td class="alt1Active" rowspan="8" colspan="1" valign="middle"> <if condition="$forum[customimg] != ''"> <img src="$forum[customimg]" alt="level1_post" border="0" id="forum_statusicon_$forum[forumid]" /> </if> </td> </tr> </if> $childforumbits </if> </tbody> Find: HTML Code:
</tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> $childforumbits </tbody> </if> HTML Code:
<if condition="$childforumbits"> <div id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <if condition="$vboptions[customimg_enabled] == 1"> <tr> <td class="alt1Active" rowspan="8" colspan="1" valign="middle"> <if condition="$forum[customimg] != ''"> <img src="$forum[customimg]" alt="level1_post" border="0" id="forum_statusicon_$forum[forumid]" /> </if> </td> </tr> </if> $childforumbits </div> </if> </tbody> HTML Code:
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
HTML Code:
<td class="tcat" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>">
Find: HTML Code:
<tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> HTML Code:
<tr align="center"> <if condition="$vboptions[customimg_enabled] == 1"><td class="thead"> </td></if> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> HTML Code:
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> HTML Code:
<td class="tcat" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> HTML Code:
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
HTML Code:
<td class="alt1" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>">
HTML Code:
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong> HTML Code:
<td class="tfoot" align="center" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>"><div class="smallfont"><strong> |
#156
|
||||
|
||||
Can anyone tell me how to get the icons next to the forum title and not on the status icons?
|
#157
|
|||
|
|||
Thanks this is working but I want to update to one that will allow status icons (upto 4 icons per forum depending on status)
|
#158
|
|||
|
|||
installed works great cheers
|
#159
|
|||
|
|||
great mod dude
|
#160
|
|||
|
|||
|
#161
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|