Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Arrange Sub-Forums in columns Details »
Arrange Sub-Forums in columns
Mod Version: 1.00, by tamarian (Member) tamarian is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.1 Rating: (4 votes - 4.50 average) Installs: 122
Released: 10 Jun 2005 Last Update: 05 Aug 2005 Downloads: 114
Not Supported Template Edits Code Changes  

Better alternatives to this hack:
3.6 plugin version by Cybernetec with more options:
http://www.vbulletin.org/forum/showthread.php?t=122996

3.5 plugin version by Atakan KOC: http://www.vbulletin.org/forum/showthread.php?t=118935

CSS/templates version by hpwilhelm:
http://www.vbulletin.org/forum/showthread.php?t=91299
Ported from 3.0.x.

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)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Place this code below it:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Template modification (optional)
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)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	subs-before.jpg
Views:	2240
Size:	160.6 KB
ID:	26928   Click image for larger version

Name:	subs-after.jpg
Views:	2746
Size:	164.3 KB
ID:	26929  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Arrange Sub-Forums in columns tamarian vBulletin 3.0 Full Releases 195 05 Dec 2005 10:13

  #76  
Old 13 Jan 2006, 03:27
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
WIll this work on 3.5.3 also any change of making this a plugin ?
Reply With Quote
  #77  
Old 13 Jan 2006, 16:37
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
question how can I get me forum and subforums to look like your first example? I cant even get mine to look like that and im running vb 3.5.3 ?
Reply With Quote
  #78  
Old 14 Jan 2006, 04:53
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Originally Posted by bada_bing
question how can I get me forum and subforums to look like your first example? I cant even get mine to look like that and im running vb 3.5.3 ?
Anyone ?
Reply With Quote
  #79  
Old 14 Jan 2006, 08:51
rages4calm rages4calm is offline
 
Join Date: Mar 2004
Location: Texarkana, Tx
Ok im getting a headache from hell doing this crap.

I followed all steps even with the new warnings added.

Im using 3.5.2

Made sure the forum was set to sub forum depth of 1... with the top two being 2.

i edited the php file and checked it 3 times.

When i uploaded the php file nothing changed at all.

hmm
so i set
Depth of Forums - Forum Home = 1
Depth of Forums - Forum Display = 1
Depth of Sub-Forums = 2

Ahh ha.. it works.. but.. my post counts and stats etc.. all gone.

so i put it back to
2
2
1
...
nope looks like my regular forum.
Reply With Quote
  #80  
Old 14 Jan 2006, 22:44
rages4calm rages4calm is offline
 
Join Date: Mar 2004
Location: Texarkana, Tx
uhh anyone?
Reply With Quote
  #81  
Old 03 Feb 2006, 15:54
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Support stinks for this hack looks like im not installing
Reply With Quote
  #82  
Old 21 Feb 2006, 19:20
David_R David_R is offline
 
Join Date: Mar 2005
Real name: David RutherFord
thanks for this addon.
Reply With Quote
  #83  
Old 21 Feb 2006, 19:26
David_R David_R is offline
 
Join Date: Mar 2005
Real name: David RutherFord
Question

how is this hack different from Forums arranged in columns on forumhome by Xenon ?
sorry for hijacking the thread, but i found both the hacks doing same work :ermm: :ermm:
Reply With Quote
  #84  
Old 22 Feb 2006, 02:05
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by David_R
how is this hack different from Forums arranged in columns on forumhome by Xenon ?
sorry for hijacking the thread, but i found both the hacks doing same work :ermm: :ermm:

One is for forums, and one is for sub-forums.
Reply With Quote
  #85  
Old 12 Mar 2006, 00:33
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Just what I needed, I had the old one and was sooo happy when I found thisfor my v3.5.4 - Thanks again
Reply With Quote
  #86  
Old 15 Mar 2006, 20:22
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Nice hack installed on my other forum
Reply With Quote
  #87  
Old 10 Apr 2006, 05:30
iamem iamem is offline
 
Join Date: Apr 2006
same works on vb3.5.3.. tried.
thanks a lot.

Last edited by iamem; 10 Apr 2006 at 05:42.
Reply With Quote
  #88  
Old 06 May 2006, 15:10
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Thumbs up

Thank you tamarian

Looking great!

Install
Reply With Quote
  #89  
Old 08 May 2006, 19:36
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Originally Posted by tamarian
There's a plugin version by Atakan KOC: http://www.vbulletin.org/forum/showthread.php?t=113484
The link you provided for the plugin version of this does not work. I do not want to edit the source code as it causes problems when I upgrade to newer versions of vbb.

How do I get the plugin version?
Reply With Quote
  #90  
Old 08 May 2006, 20:01
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by bitg
The link you provided for the plugin version of this does not work. I do not want to edit the source code as it causes problems when I upgrade to newer versions of vbb.

How do I get the plugin version?
Send a PM to Atakan KOC, it appears the thread was removed.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:08.

Layout Options | Width: Wide Color: