Firefox PHP

Module: Index Structure

Posted by Oliver Riesen 
All files from this thread

File Name File Size   Posted by Date  
index_structure-1.0.0.zip 1.9 KB open | download Oliver Riesen 04/10/2008 Read message
Module: Index Structure
April 10, 2008 03:48PM
Module: Index Structure
Author: Oliver Riesen <oliver@riesen.org>

Use different structure for root and folders on index page.

Phorum has in General Setting an option how to display forums and folders on the index page: directory and flat. Flat structure is appropriate for a small amount of folders and forums. Directory structure is best for large system with a lot of folders and forums.

But what to do if you have a large root with a lot of folders but each folders contains only few subfolders/forums? Or the opposite: few folders in root but many subfolders/forums in each folder?

Here you can use the Index Structure Module. It will use the value from general settings for the root and the opposite value for all folders. So if you choose "Directory" in general settings your root will be structured as directory but folders will displayed in flat structure.

Tested on version 5.2.7


License

Free to use, modify, or redistribute this code so long as I am given credit for the original development somewhere. This code comes with absolutely no warranty.


Installation

1. Unpack the archive.

2. Move the directory "index_structure" to the directory "mods" within your Phorum installation. Don't change the directory name!

3. Login as administrator in Phorum's administrative interface and go to the "Modules" section.

4. Enable the module "Index Structure".


Language support

This module doesn't contain any language text.


Changelog:

2008/04/10 version 1.0.0 by Oliver Riesen <oliver@riesen.org>
- Initial release for Phorum 5.2


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.19)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Attachments:
open | download - index_structure-1.0.0.zip (1.9 KB)
Re: Module: Index Structure
August 05, 2009 02:26AM
This is really a great module, thank you. Now I can have my folders listed on the first index page and not the numerous forums in them, and have my forums and folders alphabetical on the other pages.

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Sorry, only registered users may post in this forum.

Click here to login