PDA

View Full Version : Subforum Panel


DanLai
03 Nov 2005, 15:52
Description. This is a Mod to make sub-forums appear in a small panel that can be toggled on and off. I just feel the Subforum Drop-down Menu (http://www.vbulletin.org/forum/showthread.php?t=99821) mod is not enough so I have made this one. Select either one as your liking!! :rolleyes:


The state of on/off is saved in cookies
Hierachy show for at most 2 level of sub-forums


Screenshot.
http://www.vbulletin.org/forum/attachment.php?attachmentid=36955&stc=1

Step 1. Open:
forumhome_forumbit_level1_nopost
forumhome_forumbit_level1_post
forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post

Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Step 2. Open:
forumhome_subforumbit_nopost
forumhome_subforumbit_post

Replace the templates with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Step 3. Open:
forumhome_subforumseparator_nopost
forumhome_subforumseparator_post

Replace the templates with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Step 4. Open:
Common Templates

Add to the bottom:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Step 5. Add a phrase "show_forum_list", it maybe like: "Show forum list >>"

Caution. Some cookies will be generated when using this mod. The state of on/off is kept per-browser but not per-user. Non-cookie-enabled users cannot keep the state of on/off of the forum panel.

Brent H
03 Nov 2005, 17:18
This looks great! Thanks for this.

Installed and working flawlessly.

Snake
03 Nov 2005, 17:40
Looking good. Thanks!

Brent H
03 Nov 2005, 19:32
Would it be possible to turn Show forum list into Hide forum list once it's open?

BoYagoob
03 Nov 2005, 20:02
Very Nice :)

Odysseus
03 Nov 2005, 21:36
Though that is not suitable for my own board, I can imagine it to be useful for many people.
Thanks for sharing.

Boofo
03 Nov 2005, 21:46
Text file, please? ;)

krvaricp
04 Nov 2005, 12:35
Very nice hacks :). Thank you very much.

*Clicked Install

DeMiNe0
05 Nov 2005, 00:03
Nice hack. Installed.


Nice Threadid BTW :)
99999

^_^

tasarimdunyasi
05 Nov 2005, 22:24
I want this subforum panel always open . . . is it possible ?

that is to say user don not click for open.

yellowchaser
07 Nov 2005, 04:56
I agree, can it be left open?

Sooner95
18 Nov 2005, 17:59
works! installed! clicked!

also...i modified it a bit, for one of my themes.. drop down box took on a dark background..lol

no biggie

editted this

<table>
<tr>
<td>
$forum[subforums]
</td>
</tr>
</table>

and just added a bgcolor to the opening table. Incase anyone else runs across this. Otherwise, works greats, looks even better. Thx!

Wordplay
04 Dec 2005, 00:02
what are common templates?

Smiry Kin's
20 Dec 2005, 01:06
work ok in 3.5.2? jsut checking before i go editing all them templates!

is possible to put all this into a product/template?

MentaL
20 Dec 2005, 02:38
wow o_o

yukayumi
31 Dec 2005, 16:31
Nice hack,thanks.But one question: there's a "Done but with error on pages" in the bottom of my forumhome (but not in forumdisplay).It's really bugging me with that error.Anyone with the same problem or is it just only me?

sportsoutlaw
31 Dec 2005, 22:22
I like this hack. If my forum gets to where I have a large amount of sub-forums, I may go with this. for now, I will use the columns hack.

Nice Job

kartik786
06 Jan 2006, 21:39
Can you tell me Step 4. Open:
Common Templates

Common templates exactly means what ?? Where can i see it in the admin CP ??

naqalone
07 Jan 2006, 13:11
Many Thanks.It's so nice.

silurius
09 Jan 2006, 17:56
Very nice mod. I would install this if I could control it on a per-forum and/or per-usergroup basis, and if I could turn it off and on globally. Anyone feel like expanding this?

yingzhou
13 Apr 2007, 23:48
The Common Templates can be FORUMHOME or some thing else. :D

You can add that code in navbar template so this can be load in whole Forum.

HaCaoChien
20 Jun 2007, 18:36
When I click to "Show sub-forum >>" I expand sub-forum list but it go to the first sub-forum. Please help. Thanks

JohnBee
04 Sep 2007, 19:47
Hi I love this hack, but how can we make it look like yours(image)?
Although everything seems to work, my sub/subforums are not nested as your image displays