Geeklog Plugins by Portalparts - www.portalparts.com

filemgmt - Version 1.5.2

Author: Blaine Lang < blaine@portalparts.com >

Date: April 2, 2006

Requires: Geeklog Version 1.4 or greater

Plugin adds the ability to upload and manage downloads of files on your website.

Summary of features:

Summary of version 1.5 changes

This chapter contains the following sections:

If you've enjoyed this plugin, please consider supporting my contributions. These projects require considerable time and effort to create for distribution and ongoing support. The intial version of this plugin was released in 2002.

1) How to Install

You need to manually create the plugins program directories and copy the files to their appropriate directories.

Step 0 - Backup your Database

Step 1 - Restore the plugin Archive

Step 2 - Create the required plugin directories

Step 3 - Copy the the required plugin files

Step 4 - Run the plugin install

Step 5 - Create the required directories for the File Store / Repository

Create the following directories under public_html. You can change the names and location if you want. It just must be located somewhere under your sites publc_html directory. The actual setup will be defined in the plugins administration settings.

Set directory permission so that your webserver has write access to the directories. This may require write permissions to be 744, 754 or 777 depending on your webserver setup.

Step 6 - Set filemgmt Admin Settings

You need to have write access to the /plugins/filemgmt directory to allow the filemgmt admin script to update your sites setup. Needs write access to the file filemgmt.php

Goto Top

2) How to update from version 1.3

You need to be running Geeklog version 1.4 or later and filemgmt plugin version 1.3

Step 0 - Backup your Database

Step 1 - Restore the plugin Archive

Step 2 - Run the plugin update

Goto Top

3) Theming the plugin look

The plugin uses the new default plugin CSS declarations that were introduced in GL 1.4. Example of the main CSS decalarations used are:

The templates are located under the main plugins folder plugins/filemgmt/templates directory

You can change the default number of categories shown per row in the main view

Variable: $numCategoriesPerRow

Goto Top

4) Config.php Settins

There are a few config options available for the plugin in the plugins/filemgmt/config.php file. Edit as required for local site preference. The comments in the confg.php should explain their use.

// Permissions that will be used for new files into the repository
$filemgmtFilePermissions = (int) 0755;

// Number of days to show new files listing
$filemgmtWhatsNewPeriodDays = 14;
// String Length for Filename Titles in WhatsNewBlock
$filemgmtWhatsNewTitleLength = 20;
// Should the Whats New Block show new FileMgmt Comments
$filemgmt_showWhatsNewComments = true;

Goto Top