Advertisement:

Navigation

SMF Mod Site

Mod Name:
Split Forum Mod
Created By:
dougiefresh
Type:
New Feature
First Created:
June 09, 2013, 08:27:25 PM
Last Modified:
February 11, 2018, 10:31:10 AM
Latest Version:
2.0 Beta 2
Compatible With:
2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15
Total Downloads:
1399

Download this mod

Split_Forum_Mod_v1.40.zip (74kB) [109]
Split_Forum_Mod_v2.0_Beta2.zip (75kB) [62]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:


SPLIT FORUM MOD v2.0 BETA 2
By Dougiefresh -> Link to Mod


Introduction
This modification allows you to divide your categories into subforums, a pseudo-forum located on a different directory, subdomain, or domain than the "primary forum".  The primary forum is any forum that has this modification installed.

What It Does
It is a mod for the User side of things, but obviously it needs to be managed in the Admin pages to create the subforums, and this mod allows you to create Categories and Boards that appear to the end user as a separate Forum, either via the URL or even the domain name, and these separate Forums can have their own Themes as well. However it all shares the same database as your original forum so usernames, passwords, profiles etc are all the same so there is less for you and the end users to manage.

Without this mod if you wanted to limit access to particular Boards based you could set up a membergroup and just give them access to the Board(s) required and then they would see the extra Board(s) as part of the main Forum page, however they would still see the rest of the Forum as it is with the same theme etc. Yes you can change the theme for a Board but that would be a bit abrupt in most cases.

With this mod you are essentially doing the same thing with the Membergroup and Board(s) regarding settng up the access but they get to see the Boards as a separate Forum, without all the other boards they might have access too and with a completely different theme if you wish. In the subForum they see the same stats, who is online, News, menu options etc. relative to the membergroup access they have, but with just the Boards you have chosen for them to see.

Admin Alterations
There is a new area at Admin -> Forum -> SubForums, which allows you to manage your subforums here.  Clicking on the board title on the left side will take you to the subforum itself.  Clicking on the Boards link on the right side will take you to the Admin -> Forum -> Boards area, restricted to that subforum.

On the primary subforum, creating a subforum is as easy as clicking on the Create New SubForum tab (and/or button) and filling out the information in order to create your new subforum.  This mod can create the folder and generate an "index.php" if required.  Subforum user registration agreements are mantained by the mod.

Clicking on Modify opens a page where you can change settings for that subforum, such as:
o Changing the title of the subforum
o Changing the server URL and/or path of the subforum
o Adding a favorites icon to the subforum
o Changing the default theme of the subforum
o Changing the default language of the subforum
o Changing the subforum ID on secondary subforums
o Changing the primary membergroup of new users registered to the subforum

Clicking on the Delete button will prompt what to do with categories within the board and will delete once the decision has been made by the user.

On the Admin -> Forum -> Boards page using the primary subforum, the categories and boards are seperated by which subforum they belong to.  On secondary subforums, only those categories and boards that belong to that subforum show up.

"Package Manager" and "Server Settings" settings are not available to Subforums, as these screens contain sensitive information that affects all subforums.

All recent posts, xml-based feeds, and other forum-related functionality works for each of the individual subforums.

New Hook Added
o integrate_subforum_subdomain - Hook for creating/deleting subdomains and/or domains

Special Credits
o Greygal made the mod compatible with Event Registration for SMF2 in 3 posts starting here!  Thanks, greygal!!
o KSRandom added control over user membergroups per subforum!

Compatibility Notes
This mod was tested on SMF 2.0.15, but should work on SMF 2.1 Beta 3, as well as SMF 2.0 and up.  SMF 2.1 Beta 1 and 2, as well as SMF 1.x, is not and will not be supported.

These optional mods should be installed (if desired) prior to this mod's installation:
o Alias Boards v1.2+
o Pretty URLs
o SimplePortal v2.3.6
o ezPortal
o Like Posts
o Event Registration for SMF2

Changelog
The changelog has been removed and can be seen at XPtsp.com.

License
Quote
Copyright (c) 2013 - 2018, Douglas Orend, Kirk Sykora
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.