The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Category Icons Details »» | |||||||||||||||||||||||||
vB Category Icons vBulletin 3.5.0 RC 1 www.vBHackers.com What this does This will allow you to setup a icon to display by the title of each forum you have. The look of the icon depends on how you want to set it up in the templates. This will work for all levels of sub-forums. Note: This hack will work for vBulletin Version 3.5.0 RC-1 and RC-2 ONLY! To do list...
Template Edit Alot of people want to get there icon like my screenshot. So you have bugged me enough for me to post how. Enjoy! Replace Template: forumhome_forumbit_level1_post With The Folllowing: HTML 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" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td>$forum[forumhomeicon]</td> <td> <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]">$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> </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> HTML Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td>$forum[forumhomeicon]</td> <td> <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]">$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> $childforumbits Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack Help & Support Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here. Please post bugs and errors here. Hope you like, feedback welcomed. Show Your Support
|
Comments |
#82
|
|||
|
|||
To make a space, you can do what dsotmoon has done. All my images have a 5 pixel space; left, right, top and bottom. Or you can add a <td> </td>. But pixel space seems to be the best answer.
|
#83
|
|||
|
|||
another great mod
|
#84
|
|||
|
|||
Quote:
if you havent got this working yet, i got it working via strait template edits. its a little messy though. i tried doing it via a plugin using the global_start hook but couldnt get it to work. if you want it...ill send you what i did. if not...maybe ill just release it in the templates forum. |
#85
|
|||
|
|||
Does this work for categories too? (if you've unchecked the "Act as a forum" checkbox)
|
#86
|
|||
|
|||
Please, i need template forumhome_forumbit_level1_post and forumhome_forumbit_level2_post for Vb 3.5.
Thank you |
#87
|
|||
|
|||
Is there a way to:
1. Get rid of the original VB icons? 2. make the icons be a substitute for the actual forum name? (i.e. Have a clickable logo with no text next to it.) |
#88
|
||||
|
||||
Thanks for this hack
Click Install Craftiness: https://vborg.vbsupport.ru/showpost....5&postcount=67 (work perfectly on vB 3.5 Gold) |
#89
|
|||
|
|||
The message received after updating to vb 3.51 the latest update was to revert certain templates otherwise some funtions may not work. If the code has changed for the 2 templates, then we cannot replace as instructed to do so in the first post. I have tried to just insert the one line but haven't been able to get the alignment right.
Any Help ? Or perhaps updated templete replacements to refect the revised templates in the new vb 3,51 update |
#90
|
||||
|
||||
Quote:
Simply try and error, nothing big can go wrong. The CatHack is working fine on my board at www.clanforums.com vB3.5.1 I added the correct code to main and subforums but I think posting this here does not help cause I have several other modifications in there. I think I will add cat icons today to better show how it works. Actually only my birthday board has an icon which I used to test things out. |
#91
|
|||
|
|||
Great hack!!
Is there a way to show the category icon in forumdescription in forumdisplay? ps. I'm talking about this forumdescription vB option: This option displays the forum description in the navbar. Helps visitors to know what the topic of a forum is, as well as possibly increasing search engine rankings. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|