Customizing SMF > Modifications and Packages
Multiple Forum Mod
Avail:
Link to Mod
This modification allows you to display different categories on different 'subforums'. When using the term 'subforum', I am referring to 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.
For the most part, usage of this customization is relatively simple in nature. After installing the mod, you are able to change the 'forum id' (a numerical value used to identify each forum) of main forum through Server Settings.
To work with subforums, simply go to the Modifications section under the Configuration category in your administration panel. There are two new pages here: 'Subforum Settings' and 'Create New Subforum'. A subforum is able to store these specific settings: board title, board url, and forum id. You can only create a new subforum through the primary forum, and you can only modify subforum settings inside a subforum.
Creating a subforum is extremely easy. All you must do is fill out the information inisde the Create New Subforum page and submit the form. It will generate the code for your subforum's index.php. You must then copy and paste that code into the file it specifies, and you are done. Going to that address will display your subforum.
In order to split categories, each category is specifically set to display for one id. In future versions of this customization, there may be support for multiple ids that the categories can be displayed on, but for now, it's limited to one. You are able to specify which forum the category will be displayed on through the category edit page. You specify the forum using its id.
To-do List
* Bug: Fix recent posts on board index (shows some posts on other subforums)
* Bug: Code for outputting index.php should split '?>' into '?'.'>'
* Bug: Compounding domains?
* Bug: Problems with absolute versus relative paths
* Bug: Wide-support for SSI.php (perhaps find a way so that it does not need to be included within subdomain directory!)
* Feature: Subforum-specific settings and permissions ('subforum' moderators?)... settings[GLOBAL: trim boards/membergroups in admin panel, enable 'subforum moderators' SUBFORUM: show statistics, name, board title, board url, cross-site enabled[encryption/decryption key], cookie, subforum-specific news, registration agreement]
* Feature: Allow boards/membergroups to be displayed on multiple subforums simultaneously
* Feature: Remove 'wrong forum' error message and force a redirect to the destination board
* Feature: Allow subforums to have different themes and languages than the master parent
* Feature: Create per-subforum administration system (specific membergroups, specific bans, ...?)
* Possible feature: Automated FTP creation of the subdomain directory (will likely require root FTP access, so this feature may not be added yet)
* Possible feature: Cross-site subforums
All of the features above will be added into the next version of the modification. I'll be rewriting it completely from scratch, as the old version will be too hard to build upon.
Kreator:
I assume that you need to add all the php original files to the subforum?
Arantor:
No. You just add the index.php, which includes all the other files from the master set.
Avail:
--- Quote from: Arantor on November 25, 2009, 07:41:41 PM ---No. You just add the index.php, which includes all the other files from the master set.
--- End quote ---
That, and optionally agreement.txt. Otherwise, the agreement in the subforum registration pages will be empty.
Kreator:
--- Quote ---which includes all the other files from the master set.
--- End quote ---
does it?? i made a index.php and stuck it in a new folder on my server nothing happens !
all thats in this folder is the index.php
Navigation
[0] Message Index
[#] Next page
Go to full version