View Full Version : Selectable forums in forumjump 1.2
Martin64
02-18-2003, 10:00 PM
Selectable forums in forumjump 1.2
(by Martin64, martin64@vbhackers.com)
ABOUT:
This is a quick hack I made since no one else had done it (I think...I couldn't find one :p) and I needed it and I think a lot of people could find it helpful, especially those who has a ton of forums and subforums.
This hack allows you to select which forums will show up in forumjump. Note that it will automatically hide subforums in forumjump to forums that's set as invisible on forumjump.
CHANGELOG FOR 1.2:
I've added a new function that lists all forums in forumjump, regardless of forumjump "settings". We need this function for the Admin Options in showthread.php, where you need to be able to move, split and merge threads for all forums.
Optionally, you could use this new function wherever you wish to display all forums in forumjump. To do this, you have to change which function the file uses for forumjump. In example, if you wish to do this for online.php, REPLACE makeforumjump(); WITH makeforumjumpall();
UPGRADING:
See below.
Martin64
02-19-2003, 02:39 AM
I don't know if a screenshot is needed but here goes...this a screenshot of add/edit forum in Admin CP.
Edgemyster
02-19-2003, 03:29 AM
Cool hack - I could use it for sure.
After installing it, I discovered a limitation (at least in my setup - 2.2.9).
The hack will work well for first level forums and their subforums. But it won't work for third level forums and deeper. Instead, those forums will simply fail to appear anywhere when removed from forumjump.
I've got forums that go four levels deep with the intent of going deeper. Would be cool to clean up the forumjump display a bit.
VERY GOOD! I will install this next time I work on my board. :)
Ok, installed in 2.2.9 and works great. I have one question though. Is it possible to have a parent forum NOT show up in the forum jump, but have a child forum of that parent forum still show up? For example:
Normal Forum Jump:
--------Parent--------
Child 1
Child 2
etc..
What I am looking to do:
Child 1
Child 2
I just don't want the parent forums showing in forum jump.
Can this hack be modified to do this as well? :)
Dean C
02-19-2003, 12:40 PM
Good idea Martin :)
- miSt
Martin64
02-19-2003, 04:05 PM
Yes, all sub-forums to the one you select to be hidden will also be hidden. There's no easy way of displaying subforums only (exclude parent forums), afaik.
Martin64
02-19-2003, 04:31 PM
Originally posted by Edgemyster
Cool hack - I could use it for sure.
After installing it, I discovered a limitation (at least in my setup - 2.2.9).
The hack will work well for first level forums and their subforums. But it won't work for third level forums and deeper. Instead, those forums will simply fail to appear anywhere when removed from forumjump.
I've got forums that go four levels deep with the intent of going deeper. Would be cool to clean up the forumjump display a bit.
Yes, you're correct. I will try to fix this tonight. :)
EDIT: Fixed, attachment updated in my first post.
Edgemyster
02-19-2003, 06:14 PM
Thanks for taking a peek at that... but, I'm unfortunately getting the same results.
I compared your new attachment and the old together and noticed that you changed "forumdisplay=1" to "forumjump=1" in the FORUMDISPLAY.PHP and ONLINE.PHP files - were there any other changes I missed?
Thanks for your help!
Martin64
02-19-2003, 06:33 PM
Okay, I'll try to be a bit clearer. :)
Do you still have the old attachment? If so, undo the changes you did to forumdisplay.php and online.php. If not, download the old file (post just above yours) and you'll know what changes to undo.
Once you have done this, do the new changes to forumdisplay.php and online.php, they're listed in my attachment in the first post.
Oh yeah, that forumdisplay=1 was a typo, it's supposed to be forumjump=1. :)
Martin64
02-19-2003, 06:48 PM
Ignore everything I've said so far and download the attachment in my first post, regardless if you have previously installed the hack...using two attachments here was a bad idea. :)
Attachment updated, and this release is named "Selectable forums in forumjump 1.1". :p
Chris M
02-20-2003, 03:31 PM
Sounds like a good idea:)
Satan
Hoffi
02-21-2003, 12:55 PM
Hey thats fine.
I just wanted to add this feature to my board an I saw me Hacking agein my own. But so it is easier.
Thanks.
Martin64
02-21-2003, 11:07 PM
Version 1.2 released.
CHANGELOG FOR 1.2:
I've added a new function that lists all forums in forumjump, regardless of forumjump "settings". We need this function for the Admin Options in showthread.php, where you need to be able to move, split and merge threads for all forums.
Optionally, you could use this new function wherever you wish to display all forums in forumjump. To do this, you have to change which function the file uses for forumjump. In example, if you wish to do this for online.php, REPLACE makeforumjump(); WITH makeforumjumpall();
Coleccromos
11-10-2006, 05:34 PM
There is version updated for 3.5.x or 3.6.x of this modification?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.