The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
collapse forums in the "forums and moderators" "modify" page
Ok, I have now entered the license number. Hoping you are satisied now with this My problem ist the following: I have about 500-1000 forums, don't know exactly how much. Many of them aren't in use yet. But our problem ist, it takes about to 6 minutes with dsl loading the "forums and moderators" "modify" page. What can I do about this? Is there a way to personate the forums like it is manged with the templates, meaning they are king of collapse and you can expand certain areas ?? Otherwise I will not be able to go to this area of the control panel anymore very soon. |
#2
|
||||
|
||||
If you want, a "depth level" can be set, but it will only be gloablic.
So it will basicaly work like the depth in the forums themselves, that you can set in the control panel. But you won't be able to just expand this group, and leave the others collapsed. If you'd like that, I might be able to work something out. |
#3
|
|||
|
|||
Quote:
If so: This would be brillant because I could handle the huge amount of required fourms in the future! Quote:
|
#4
|
||||
|
||||
Ok, I'll see what I can do.
|
#5
|
|||
|
|||
any progress yet ?
I really must have this hack because otherwise I can't control my "usercp forums and moderators" anymore ... |
#6
|
||||
|
||||
Not yet, you're gonna have to wait a while, sorry.
|
#7
|
||||
|
||||
This was actually surprisingly easy, now I got a whole afternoon with nothing to do.
In forum.php, replace this: Code:
displayforums(-1); echo "</ul>\n</td></tr>\n"; doformfooter("Update order"); Code:
if (isset($depthtoshow)==0) $depthtoshow="1000"; displayforums(-1,$depthtoshow); echo "</ul>\n</td></tr>\n"; doformfooter("Update order"); Now replace this: Code:
// ###################### Start function displayforums ####################### function displayforums($parentid=-1) { global $DB_site,$session; Code:
// ###################### Start function displayforums ####################### function displayforums($parentid=-1,$depth=1000) { global $DB_site,$session; $curdepth=$depth-1; Code:
echo "<ul>\n"; displayforums($forum[forumid]); echo "</ul>\n"; Code:
echo "<ul>\n"; if ($curdepth!=0) displayforums($forum[forumid],$curdepth); echo "</ul>\n"; Now you can go to: http://www.forums.com/admin/forum.ph...&depthtoshow=3 http://www.forums.com/admin/forum.ph...&depthtoshow=1 http://www.forums.com/admin/forum.ph...&depthtoshow=5 http://www.forums.com/admin/forum.ph...&depthtoshow=9 Got it? |
#8
|
|||
|
|||
Thank you very very much mate !!!
You are d'a MAN !!!!!! I hope that I can now handle the high amout of boards in forums and moderators ! |
#9
|
|||
|
|||
I'm a bit confused by these posts, but i think this is a feature i'd really like.
what i'm trying to accomplish is a collapsed category within my forums. I have multiple categories with multiple sub forums & i'd like the ability to collapse a single category while leaving the others expanded. I checked out Inzagi's site & it looks as though that's what was accomplished. was that a result of this hack? |
#10
|
|||
|
|||
I think you are not aware of the fact that these "collapse forums" is just for the admin panel !!
It has nothing to do with the look of the board or the categories there. It's just made to handle the forums in the admin cp better. [quote] what i'm trying to accomplish is a collapsed category within my forums. I have multiple categories with multiple sub forums & i'd like the ability to collapse a single category while leaving the others expanded. [/qoute] This hack doen't exist I think. I was searching for something like this too but I found nothing. So I am really amazed that you have seen something like this on my forums ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|