mediaarchive

NP_MediaArchive

Creates a list of hyperlinked files (with file size and date) uploaded to the choosen members media-folder. Subfolders will be listed as well, but only if SAFE MODE (in php.ini) is off.

General Plugin info
Author: Fredrik Sandberg
Current Version: v.0.09
Download: -
Code: NP_MediaArchive.php.txt
Demo: -
Forum Thread: here

Installing

  • Download NP_MediaArchive.php.txt and rename it to NP_MediaArchive.php. Upload the file into the nucleus plugin directory.
  • Install plugin in the admin area.
  • Edit the options - remove those filetypes that you dont wish to list in the MediaArchive.

Use

Include <%MediaArchive(20)%> in your skin or skins where you want the function to appear, e.g. in ‘Archive List’ & immidiately below the Archive List-item:

<h2>Media Archive</h2>
<!-- This tag inserts the MediaArchive -->
<%MediaArchive(20)%>

The given parameter sets the number of files to list.

Bugs

  • If a media archive for a member (e.g. media/2) doesn’t exists the plugin produces PHP error messages. If a member hasn’t uploaded a file the Nucleus core doesn’t create his media directory. The plugin should treat this case with out an error message. (2007-11-15 kg)

Plugin review

NP_MediaArchive version 0.09 works with Nucleus CMS version 3.31 - 2007-11-15 kg

:: Back to Plugins Overview ::

 
mediaarchive.txt · Last modified: 2007/11/15 21:37 by kg