phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Add addition levels Simple Subforums


 
Search this topic... | Search MOD Requests... | Search Box
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Author Message
JLA
Board Member



Joined: 30 Apr 2009

Posts: 451
Location: U.S.A


flag
PostPosted: 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


flag
PostPosted: 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 ILMac 512K BlogMac GUI
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 451
Location: U.S.A


flag
PostPosted: 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


flag
PostPosted: 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


flag
PostPosted: 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


flag
PostPosted: 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, '&nbsp;')) . '--&nbsp;' : '') . $forum_rows[$j]['forum_name'] . '</option>';

#
#----------[ IN-LINE FIND ]-----------------------------------
#
--&nbsp;

#
#----------[ IN-LINE REPLACE WITH ]-----------------------------------
#
Spacing character(s) of your choice :)
Back to top
ABDev
Board Member



Joined: 01 Jun 2009

Posts: 76


flag
PostPosted: 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 icon_cool.gif.
Back to top
Vendethiel
Board Member



Joined: 26 Oct 2014

Posts: 251



PostPosted: 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
Display posts from previous:   
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 4 Hours
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.1256 seconds using 16 queries. (SQL 0.0877 Parse 0.0008 Other 0.0371)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo