Author |
Message |
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Thu Jul 21, 2011 3:59 am Post subject: Add addition levels Simple Subforums |
|
|
Anyone seen adding addition levels to Simple Subforums beyond the standard parent/child? _________________ http://www.jlaforums.com |
|
Back to top |
|
|
Dog Cow Board Member
Joined: 18 Nov 2008
Posts: 378
|
Posted: Mon Aug 22, 2011 5:37 pm Post subject: Re: Add addition levels Simple Subforums |
|
|
I borrowed the phpBB 3 system that uses left_id, right_id.
The Simple Subforums limitation should exist in code only. That's the modification that I used to use before I changed forum systems. _________________ Moof!
Lincoln's Tomb, Oak Ridge Cemetery, Springfield IL • Mac 512K Blog • Mac GUI |
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Tue Aug 23, 2011 12:12 am Post subject: Re: Add addition levels Simple Subforums |
|
|
Dog Cow wrote: | I borrowed the phpBB 3 system that uses left_id, right_id.
The Simple Subforums limitation should exist in code only. That's the modification that I used to use before I changed forum systems. |
We are looking for a fairly simple way to increase the levels without having the rip the whole thing out. _________________ http://www.jlaforums.com |
|
Back to top |
|
|
StarWolf3000 Board Member
Joined: 10 Jun 2010
Posts: 175 Location: Germany
|
Posted: Tue Aug 23, 2011 4:47 am Post subject: Re: Add addition levels Simple Subforums |
|
|
I already posted a MOD that
1. will allow unlimited subforum levels,
2. is easy to install and
3. is not as "heavy" as CHMOD.
http://www.phpbb2refugees.com/viewtopic.php?t=634#5350 (Topic Subject: "I've got a few questions.")
You should be skilled enough to uninstall the "Simple Subforums" and to install this one instead. But TRY IT LOCAL FIRST, if its the Forum with the 500+ Sections I've read in another Topic of yours (the one with the caching question).
Also when "porting" from "Simple Subforums" to this one at this big, you should calculate a downtime of 1.5-2 days. |
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Wed Aug 24, 2011 12:36 am Post subject: Re: Add addition levels Simple Subforums |
|
|
StarWolf3000 wrote: | I already posted a MOD that
1. will allow unlimited subforum levels,
2. is easy to install and
3. is not as "heavy" as CHMOD.
http://www.phpbb2refugees.com/viewtopic.php?t=634#5350 (Topic Subject: "I've got a few questions.")
You should be skilled enough to uninstall the "Simple Subforums" and to install this one instead. But TRY IT LOCAL FIRST, if its the Forum with the 500+ Sections I've read in another Topic of yours (the one with the caching question).
Also when "porting" from "Simple Subforums" to this one at this big, you should calculate a downtime of 1.5-2 days. |
Thanks - I'll have a look at the mod to see if it is an option we can consider. Do you know how that mod functions with the JumpBox. Subforums lists things nicely (as do our header navigation buttons) with SF mod.
Thanks again _________________ http://www.jlaforums.com |
|
Back to top |
|
|
StarWolf3000 Board Member
Joined: 10 Jun 2010
Posts: 175 Location: Germany
|
Posted: Thu Aug 25, 2011 6:25 am Post subject: Re: Add addition levels Simple Subforums |
|
|
A subforum made with this MOD will be listed below its parent forum in the JumpBox, indented with "-- ":
Code: | Category 1
Forum 1
-- Subforum 1
-- -- Subforum 2
-- Subforum 3
-- -- Subforum 4
Forum 2
-- Subforum 5
-- Subforum 6 |
You can change this in includes/functions.php during or after the installation of the MOD:
Code: | #
#-----[ FIND ]------------------------------------------------
#
$boxstring_forums .= '<option value="' . $forum_rows[$j]['forum_id'] . '"' . $selected . '>' . ($forum_rows[$j]['_sf_nest_level'] ? implode('', array_pad(array(), ($forum_rows[$j]['_sf_nest_level'] - 1) * 4, ' ')) . '-- ' : '') . $forum_rows[$j]['forum_name'] . '</option>';
#
#----------[ IN-LINE FIND ]-----------------------------------
#
--
#
#----------[ IN-LINE REPLACE WITH ]-----------------------------------
#
Spacing character(s) of your choice :) |
|
|
Back to top |
|
|
ABDev Board Member
Joined: 01 Jun 2009
Posts: 76
|
Posted: Wed Feb 10, 2021 4:29 pm Post subject: Re: Add addition levels Simple Subforums |
|
|
That can be done with MySQL 8 and its recursive feature . |
|
Back to top |
|
|
Vendethiel Board Member
Joined: 26 Oct 2014
Posts: 251
|
Posted: Thu Feb 11, 2021 4:56 pm Post subject: Re: Add addition levels Simple Subforums |
|
|
No reason not to use subforums+ really. The only problems it had were with eXtended Styles but they were fixed a long time ago. _________________ Developer on EzArena, the ADR premod.
Developer on Icy Phoenix, the phpBB hybrid cms.
Developer on IntegraMOD, the full-featured premod.
Help me archive premods on github! (fixed for recent PHPs). |
|
Back to top |
|
|
|