The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Category Icons (Advanced) Details »» | |||||||||||||||||||||||||||||||||||||||||||||
This is a hack that will add icons to your forum categories on the forum home page.
History: I was the originator of this hack back in the vBulletin 1.x days and continued this in vb 3.7.x. I have had numerous requests to port this to vb 4.x.x so here you are. Please click install if you want support for this mod and to encourage me to continue adding features! Enjoy! You can find nice icons here, here and here. Thanks to LatinoCheats for this link. Changelogs: 1.2.0:
1.2.1:
1.2.2:
1.2.3:
1.2.4:
2.0.0
Upgrades: For those upgrading just make sure when you import the product you select "Allow Overwrite". You will also need to revert your templates (only for users of version 1.2.2 or earlier) and then follow the instructions as outlined in the install.html file. Note: Before you ask, yes this works with all browsers. (Tested on FF, IE8, IE7, Chrome, Safari and Opera) IMPORTANT! If you use the "Auto Template" feature of this mod and it doesn't work then you MUST do the manual template edits outlined in the install.html. This plugin was created using a default vbulletin style. If you like this mod than please nominate for "MOTM". Donations are gladly accepted! Download Now
Screenshots
Show Your Support
|
23 благодарности(ей) от: | ||
+buG, Black Snow, BlueCheri, CharlesEdwards, Da-Vinci, DS MrSinister, EliasAlucard, Gorgasm, I.G.O.T.A., KILLERMG, livenetc, Luca_ITA, mohammadxxx, puertoblack2003, seb5594, Skaut, sodasusu, The Rocketeer, trackpads, victorvu, visul, warfield, wolfe |
Comments |
#782
|
|||
|
|||
Are you saying that when you do not have an icon specified for a forum you are getting the error symbol? If that is the case then simply create an icon for the forum or change the code and add an IF statement that only displays the icon if an icon is specified for the forum.
|
#783
|
|||
|
|||
this not work to me :-/
|
#784
|
|||
|
|||
Quote:
|
#785
|
|||
|
|||
Looks like you may have a line break in there somewhere.
Check the templates forumhome_forumbit_level1_post forumhome_forumbit_level2_post and scan for {vb:rawphrase viewing} See if you have any line breaks like <br> before {vb:rawphrase viewing} It could also be a </span> or </div> ending tag in the wrong place. There's a number of things that could be causing this. |
#786
|
|||
|
|||
Quote:
I have category icon after status icon enabled so this is the part of the code that's responsible for that: Code:
<div class="forumdata"> <div class="datacontainer"> <vb:if condition="$vbulletin->options['forumiconimg_location'] == '0'"> <!-- category icon after status icon --> <img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" alt="{vb:raw forum.title}" style="float:left; <vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};<vb:else />margin-right:4px;</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if>;" /> <div> <h2 style="font-weight:bold; font-size:13px;"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if> <vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if> </div> <vb:elseif condition="$vbulletin->options['forumiconimg_location'] == '1'" /> Code:
<div class="titleline"> <h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if> </div> Forum_name Browsing Forum_description I couldn't get that forum_description to a new line. So after that h2 style=forumtitle I did something like this: <vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if> Changed to this: <vb:if condition="$show['forumdescription']"><br><br><p>{vb:raw forum.description}</p></vb:if> It kinda works - description is in next line but it doesn't look good. I had to add <br> 2 times because if there was only one it didn't worked. It was little lower but not in a completely new line. When there are two <br> it is in new line but there is also a lot of space between forum title and forum description. It doesn't look that good. Now it looks like this: Code:
<div> <h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if> <vb:if condition="$show['forumdescription']"><br><br><p>{vb:raw forum.description}</p></vb:if> </div> |
#787
|
|||
|
|||
So I installed this mod about a year ago and its a great mod. Now I'm having a problem because I want to create a new style for my website. I like to have multiple styles so that users can pick the one they like the most. But I need to be able to create different category icons for each style I make.
Is there a way to do this? |
#788
|
||||
|
||||
Is this possible on mobile skins too?
|
#789
|
|||
|
|||
Have this installed, looks great, works on all the forums EXCEPT categories, no matter what I select for the Forum/SubForum Category Icon option.
What line should I look for in my skins to enable? |
#790
|
||||
|
||||
It doesn't work for the main set category it just shows icons for the forums...
|
#791
|
|||
|
|||
Hi,
It does not work for me I am using 4.2.2 What I have to do? Thank you |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|