\cat software
ffa4minibb
Since July 5, 2007
Free File Attachment plugin for miniBB: ffa4minibb/ffa4minibb.zip
I've been using miniBB for my private forum site, but, as opposed to the freeness of miniBB, there were no "free" solutions for file attachment. Now, there is!
- Screenshots
- License
- Installation
- Change log
- Do you like it?
- Any suggestions?
Screenshots
License
GNU General Public License (GPL)
Installation
Tested on miniBB 2.0.5
- Added file:
-
- Affected files:
-
- bb_plugins.php
- bb_plugins2.php
- bb_default_style.css
- templates/main_post_form.html
- templates/main_posts_cell.html
- templates/main_post_area.html
- templates/main_topics.html
- templates/tools_edit_post.html
- Download and uncompress ffa4minibb.zip.
- Copy ffa4minibb.php to the root directory of your miniBB.
- Add the following line to bb_plugins.php:
require_once("ffa4minibb.php");
- Add the following line to bb_plugins2.php:
if(function_exists("ffa_plugin2")) fa_plugin2();
- Add the following to bb_default_style.css:
.fileAttachment {
background-color: #ffffff;
border: 1px solid #dddddd;
padding: 3px;
}
- Find {$emailCheckBox} in templates/main_post_form.html and add the following line *above* this line:
{$fileAttachment}
- Find {$posterText} in templates/main_posts_cell.html and add the following line *below* this line:
{$fileAttachment}
- Find a <form tag from templates/main_post_area.html, templates/main_topics.html, and templates/tools_edit_post.html and add the following attribute:
enctype="multipart/form-data"
- Make sure the root directory of miniBB is writable by www/nobody or create the files directory and chmod it properly:
mkdir files
chmod 755 files or chmod 1757 files
- OPTIONAL: You can use the $ffa_[] array to customize ffa4minibb. See the user settings section for available variables. For example, if you want to change the maximum number of file attachments, add the following line to your language file:
$ffa_['maxNumFiles'] = 5;
Change log
- 0.3 (2009-04-13)
-
- Suppress the error message when the user fails to login. See installation step 4.
- 0.2 (2008-04-05)
-
- Fixed the bug that prints out invalid URLs when filenames include spaces.
- 0.1 (2007-07-05)
-
Do you like it?
Your donation for my time and effort would be greatly appreciated and will encourage me to spend more time on web development. Thank you.
Any suggestions?
If you have any suggestions, visit http://here.isnew.info.