The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Request: Depth "N" display on Forum Home
See this bug tracker link for more info:
http://www.vbulletin.com/forum/bugs....iew&bugid=1157 Since it's listed as a "Won't Fix" bug I'm requesting this as a modification. I'd like to be able to display 3 levels on my Forum Home but am currently limited to 2. My simplest request would be for the third level templates, but a depth "N" mod might prove useful to others. If the third-level template already exists please point me in the right direction. I did search vb.org but didn't find this. |
#2
|
|||
|
|||
Friendly bump to the top.
Should I be requesting this on VBTemplates instead since it's a template mod? All I'm personally after is the ability to display 3 levels. "N" levels is probably a lot more work so if someone could show me how to display 3 levels I'd really appreciate it. See the bug link above, I know what files to copy and rename/edit but don't know what changes I should make. |
#3
|
|||
|
|||
Quote:
forumhome_forumbit_level3_nopost forumhome_forumbit_level3_post then copy and paste from the corresponding ....._level2_.. templates ie. copy what is in forumhome_forumbit_level2_nopost and paste it into forumhome_forumbit_level3_nopost. Do the same for the forumhome_forumbit_level3_post you could make a fourth, fifth, etc. |
#4
|
|||
|
|||
Thanks, I tried that but unfortunately the collapse feature is missing.
Catagory (L1) <-- I can collapse this - Forum (L2) - SubCatagory (L2) <-- I can't collapse this -- Subforum (L3) <-- These show up now thanks to your help I would like to be able to collapse any catagory, even sub-catagories. I tried copying both level1 and level2 for use as level3 but neither provide the collapse functionality. Is the collapse function provided elsewhere? Is there something else that I need to modify? Thank you for your help, I'm almost there |
#5
|
|||
|
|||
I'm trying to do the same. Thanks for the tips on creating the new templates but I also need the new forums to be collapsible (this would probably be a common request for 3-level displays due to the clutter.)
I am going to look into the code and see if I can't come up with something. I'll keep you posted. |
#6
|
|||
|
|||
Ok, I have something that works. A little fiddling revealed that its actually quite simple (The more I see the code for VBulletin, the more I like it!)
In the interests that it will be helpful for someone else (at least as a starting point), I've attached a screenshot explaining the various levels and a zip containing the following templates: forumhome_forumbit_level1_nopost forumhome_forumbit_level1_post forumhome_forumbit_level2_nopost forumhome_forumbit_level2_post forumhome_forumbit_level3_post I haven't created a forumhome_forumbit_level3_nopost (a category nested under a category) since I don't see myself using it (it would be too confusing for users.) It should be easy enough to hack together if you need it using the information here. Please note that I've commented out the Last Post columns in these templates -- please comment them back in if you need them. A note on collapsing subforums: When I first tried this, collapsing a first-level category did not collapse the posts in its child category (although it did collapse the category row itself.) I hacked the templates to allow this (by replacing tbody with tr at the end of forumhome_forumbit_level2_nopost.) [Update] This doesn't work when there's more than one forum on the third level. I believe what is needed is a code hack to the toggle_collapse() javascript function in vbulletin_global.js (along with the parent/child ids.) I am not attempting this at the moment since I don't know the codebase well enough. Sorry to release this here but I'm smack in the middle of a project. I'd love to release it as a real hack when I get a little time to read up on how to package and release VBulletin hacks properly. Enjoy! Note: For some reason, I don't seem to be able to upload a .gif or .png attachment (the screenshot). I keep getting a "Cannot find server" error. The Zip upload works. Update the screenshot is available here (levels_explained.png; 21k). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|