![]() |
Quote:
The level3 template doesn't appear? The plus minus symbols don't appear but the level3 template does? The level4 template doesn't appear? |
i created both level3_no post and level4_post templates and they appear under the custom templates.
These 2 templates were not there before, i only had level 1 and level 2, so i added them. When i go back into the forums and click through each category, i see the templates, but no (+/-) symbols at the third level. Example... Canada (Category 1) - level 1 no post - i can see this page. | Computers (Category 2) - level 2 no post - i can see this page. | Hardware (Category 3) - level 3 no post - i can see this page but no (+/-) next to it. | Part 1, Part2,...(Postable forums) - level 4 post - i can see this page but it does not collapse |
Define "click through each category", as this hack only applies to the main index page. It does not apply to any of the sub views inside forumdisplay.
|
Well, when the main page comes up you will see Canada as a main category then Computers as a sub-category under it.
When i click on Computers, there is another sub-category called Hardware under that. Hardware contains a bunch of parts that i would like to collapse. Is this possible with your hack? |
Quote:
This hack was designed for cases where lots of forums are required to be display on the home page. Most of the installations using forums 3 or more levels deep with this hack alter the "depth of forums" setting to show all the required forums on the index page. vBulletin Options > Forums Home Page Options > Depth of Forums |
aahh...ok...the URL does change to forumdisplay.php
I changed the forum depth to 3 as you suggested. Now the (+/-) appears... Ok....well, thanks for all your help i really appreciate it. Sorry to have wasted your time. |
Hey Dabean,
How hard would it be to change this chack to work with Forum Display? |
Just copy paste the existing code into the correct places inside forumdisplay.php. No further template modifications are required.
Find PHP Code:
PHP Code:
Find PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find PHP Code:
Change it to: PHP Code:
Alter: PHP Code:
PHP Code:
|
ok...made the changes to forumdisplay.php as you said and the (+/-) didn't show up.
so, i edited the forumdisplay_forumbit_level1_nopost, by adding the "$expandcontract" and the (+/-) shows up but it doesn't work. so, i edited the forumdisplay_forumbit_level2_post, by changing to "<tr id="f$forum[parentid]z$z" $fhomeexpandstyle align="center">" When i put my mouse over the (+/-), it says there is an error on the page. |
We have a winner!
I got it working... i forgot to edit the forumdisplay template I added the "$expandcontractscript" to the forumdisplay template and it is working perfect now. Thanks for all your help.... |
All times are GMT. The time now is 06:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|