What it does
This hack arranges sub-forums on the forum home into 2 (or more) columns, makeing large lists of sub-forums more presentable. You can see it in action on my forums here:
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 functions_forumlist.php (in the includes directory)
1. Find
PHP Code:
foreach($vbulletin->iforumcache["$parentid"] AS $forumid)
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"
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
Screen shots, before/after
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
For some reason I received a can't save cookies error
when I tried to enter all forums. I believe something is wrong with the code...(I say this because its easy to install I put it on about 4 times)
it showed error on line 600 something in forum_displaylist
? Don't know what that was about so I uninstalled this and everything worked again.... is there still any assistance on this?
For some reason I received a can't save cookies error
when I tried to enter all forums. I believe something is wrong with the code...(I say this because its easy to install I put it on about 4 times)
it showed error on line 600 something in forum_displaylist
? Don't know what that was about so I uninstalled this and everything worked again.... is there still any assistance on this?
There shouldn't be a file named forum_displaylist, you might have applied the changes to wrong file. What version are you running, and what was the exact error?
I've uninstalled it.... maybe a conflict with code.. I don't know..
but unable to save cookies showed and was showing that there was conflict around line 600 something...
anyway... hack is cool and makes things look organized... wish I could use it
The hack has nothing to do with cookies. Did the error say anything about headers being sent? Sometmes this is cause by editors adding things PHP don't like
what could that mean? It only did that when adding the bottom portion of this hack... man oh man I hope its nothing major... been working 3 weeks on my board