Author Topic: Attachment Center  (Read 1626 times)

0 Members and 1 Guest are viewing this topic.

« on: March 17, 2011, 08:36:32 PM »

Attachment Center is a mod for SMF that adds a section to your forum which contains all the attachments members have posted. It splits the list into several categories: all, documents, pictures, music, and video.

The latter three categories include small samplings of the attachments. Pictures have a small thumbnail just like in regular topic displays; videos and music have Flash previews.

A permissions system  is also included, so unapproved attachments display just like in their respective threads: if you have approver access, you see them; if you posted it, you see it as well. Anybody else cannot. So there is a lot of inherited functionality from the heart of SMF.

Do note that this mod won't work on 2.0 RC4 or earlier because it relies on an important change to the integration hooks made in RC5. However, if you're adventuresome and want to get it to work on RC4, you need to make a change in the code.

Code: (Find in ./Sources/Load.php, at or around line 300) [Select]
$include = strtr(trim($include), array('$boarddir' => $boarddir));
Code: (Replace with) [Select]
$include = strtr(trim($include), array('$boarddir' => $boarddir, '$sourcedir' => $sourcedir));
« Last Edit: June 18, 2014, 06:30:08 PM by live627 »

« Reply #1 on: March 20, 2011, 09:52:07 AM »

Can we get some screenshots for this mod?