Media Center

Download!

Description

This mod will show forum attachments in a centralized location. The mod is broken up into 3 sections; Music, Videos and Images. They all check the users permission for the boards that they are allowed to see. If they can’t see a certain board then they can’t see the attachment. Each section has it’s own permission.

Features

– Categorize attachments by media type into one location.
– The sections are Music, Movies and Images
– Each section has its own permission for maximum flexibility.
– Users only see attachments for the boards that they have permission to see.
– Uses advance sorting method in queries for maximum speed optimization.
– Stores the ID_ATTACH into cache for query optimization.
– Ability to format and clean names. TRACK_01.mp3 would become Track 01.mp3.
– Uses thumbnails to show images previews. If there is no thumb image it gets the default image if the image is smaller than the thumbnail settings.
– Caches the attachments to save bandwidth.

Hidden Features

  • Filter attachments by boards.
    • You can filter out the results of attachments from specific boards by adding ;mediaboards=ID_OF_BOARDS to the url. You can add more than one board by separating the id with a comma.
    • http://www.yoursite.com/index.php?action=mediacenter;mediaboards=8,4,5
  • Filter attachments by topics.
    • You can filter out the results of attachments from specific topics by adding ;mediatopicss=ID_OF_TOPICS to the url. You can specify a list of topics by separating each one with a comma.
    • http://www.yoursite.com/index.php?action=mediacenter;mediatopic=14130,14532

Copyright

Images used by this mod are copyrighted by m3talc0re.

Legend

! Bug fixes
+ Feature addition

Changelog

2/21/08 – Beta 4
! Added pdf and archives support. They are commented out by default. (MediaCenter.php)

12/07/06 – Beta 3a
! $user_info variable was missing from the global scope in RequestFile() function causing the file downloads to fail. (MediaCenter.php)

12/06/06 – Beta 3
! When sorting make sure to keep all the parameters from the previous page. (MediaCenter.php, MediaCenter.template.php)
! Make sure that the members can see the Media Center button if they are allowed to see atleast one section. (MediaCenter.php)
! $user_info variable was missing from the global scope in RequestFile() function causing the file downloads to fail. (MediaCenter.php)

12/04/06 – Beta 2
+ Added permission for Custom Sections support (MediaCenter.php)
+ Added extra mime type headers to support other sections. (MediaCenter.php)
+ Added support to simplify the addition of extra sections.
+ Added option to only show attachments from a specific board (MediaCenter.php)
! Send only one Content-Type header when downloading an attachment (MediaCenter.php)
! Make sure to check to see if the user is allowed to see the board the attachment is on before downloading. (MediaCenter.php)

12/01/06 – Beta 1
! Having a leading comma in ManagePermissions.php caused PHP to return an error at times.
! Some themes make links too ovious making the easter egg show up so linked ( : ) was removed. (MediaCenter.php, MediaCenter template)

12/01/06
! Initial release

Leave a Reply

Your email address will not be published. Required fields are marked *


*