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 |
#102
|
|||
|
|||
it didnt worked for me at 3.5.1 ?
|
#103
|
|||
|
|||
If anyone else doesn't want to wait for the updated plugin, as I couldn't and you don't mind doing it all though a template edit instead of using a plugin, I described how do it using a similar template mod here:
https://vborg.vbsupport.ru/showthread.php?t=97861 https://vborg.vbsupport.ru/showpost....3&postcount=17 HTH |
#104
|
||||
|
||||
That can be to much work for some people i rather wait for the plugin.. :nervous:
|
#105
|
||||
|
||||
I installed this on 3.5 Gold and it works perfectly I had to insert the $forum[forumhomeicon] manually though, because copy and pasting the code above was giving me an error. Instead of saying (10 viewing) or whatever, it was saying (Array Viewing).
I do have one question though. Is there any way I can get my icon to show up all the way to the right of the forum name and description, next to the "last post" column? I tried tweaking it a little bit but the tables kept getting distorted and unaligned. |
#106
|
|||
|
|||
Refer to the template mod I linked to a couple of posts above this one to have the icons on the right.
|
#107
|
||||
|
||||
Oh, I can't believe I missed that. Thank you very much.
|
#108
|
||||
|
||||
Wow, works like a charm! Thank you so much for sharing this! I've been looking for something like this for a long time!
Works great on 3.5 Gold... virtually no problems installing! |
#109
|
||||
|
||||
Thank you very much, works perfect with 3.5.
|
#110
|
|||
|
|||
Like it!
Thanks! |
#111
|
|||
|
|||
Can i use this for 3.5.1? Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|