The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Arrange Sub-Forums in columns Details »» | ||||||||||||||||||||||||||
Better alternatives to this hack:
Quote:
What it does This hack arranges sub-forums on the forum home into 2 columns, makeing large lists of sub-forums more presentable. You can see the before/after in the screenshots attached Note: 1. You need to enable sub-forum display on the forum home from your vB admin panel 2. This hack is for the forum home page, not forum display. To enable sub-forums on the forum home page 1. Go to your forum Admin panel 2. Click vBulletin Options 3. Select "Forum Listings Display Options" from the drop down list 4. In "Depth of Sub-Forums" replace 0 with 1 Installation To install, edit the file includes/functions_forumlist.php 1. Find (there are two slightly different lines, differing by a space, the one in question is around line 552) PHP Code:
PHP Code:
PHP Code:
PHP Code:
As this hack will list the sub-forums in a table, the font used is not effected by the <div> tag for subforums, which will cause the default font to be used instead of smallfont. To use smallfont for sub-forum names, edit the "forumhome_subforumbit_post" Change (this is the whole template) Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span class="smallfont">$forum[title]</span></a> And for those who want to edit or remove the "Sub-forum" word, just remove (or edit, if you just want to change it) "<strong>$vbphrase[subforums]</strong>:" from the "forumhome_forumbit_level2_post" template. handling of sub-forums. Show Your Support
|
Comments |
#92
|
|||
|
|||
*clicks install*
Works perfectly! Thanks! :banana: |
#93
|
|||
|
|||
Works great...but I have one question...
Is there a way to have it ignore one or two forums entirely and not have their sub-forums listed? There are a couple of forums with subforums for staff and member's private journals that I'd prefer not to have listed on the main forum page (plus they have sooooo many sub-forums that take up too much space on the main forum page). Anyone know how I can make the sub-forums of 2 forums not show up? Thank you!!! |
#94
|
|||
|
|||
This is great - thanks tamarian. One small thing. I've tried to fix myself but lost patience. In your two screenshots (as on my board) the underline is further away from the word than it should be. I'd like to get that back to nearer? I'm sure it's something to do with the valign, but I've tried baseline/bottom etc. Should the tr tag be closed? Can you work out how I can do this? Maybe even remove the underline altogether from that bit alone?
Really appreciate some help on this - other than this small niggle, it's perfect. |
#95
|
|||
|
|||
Polite bump
|
#96
|
|||
|
|||
*clicks uninstall*
Liked it, but too flaky. If you don't have a full screen forum and the visitor has 1024X768, the spacing is way, way too wide. I altered it to make it look acceptable then the visitors with 800X600 got corrupt layouts. I think there's a few mods or plug-ins to do this so I'll try a different one which will work with non-standard sized forum widths. Anyone recommend one? |
#97
|
|||
|
|||
does it works with 3.6.0...
|
#98
|
||||
|
||||
Great Mod, thanks! *clicks install*
|
#99
|
|||
|
|||
Valla bilgi için teşekkurler en sonunda bu eklentiyle bu sorunu çözdüm.Thank you
|
#100
|
||||
|
||||
Quote:
If you already have it installed and you are upgrading to 3.6.0, you have to re-do the edits to: includes/functions_forumlist.php But it works fine. |
#101
|
|||
|
|||
Interesting thank you
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|