Index . 블로그창고 . Any comments?

\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

ffa4minibb_1.png ffa4minibb_2.png ffa4minibb_3.png

License

GNU General Public License (GPL)

Installation

Tested on miniBB 2.0.5

Added file:
  • ffa4minibb.php
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
  1. Download and uncompress ffa4minibb.zip.
  2. Copy ffa4minibb.php to the root directory of your miniBB.
  3. Add the following line to bb_plugins.php:
    require_once("ffa4minibb.php");
    
  4. Add the following line to bb_plugins2.php:
    if(function_exists("ffa_plugin2")) fa_plugin2();
    
  5. Add the following to bb_default_style.css:
    .fileAttachment {
    	background-color:	#ffffff;
    	border:			1px solid #dddddd;
    	padding:		3px;
    }
    
  6. Find {$emailCheckBox} in templates/main_post_form.html and add the following line *above* this line:
    {$fileAttachment}
    
  7. Find {$posterText} in templates/main_posts_cell.html and add the following line *below* this line:
    {$fileAttachment}
    
  8. 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"
    
  9. 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
    
  10. 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)
  • First release

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.


All the works in this site except software and copyrighted materials by others (e.g., 문학) are licensed under a Creative Commons License. 소프트웨어 및 문학과 같이 다른 이에게 저작권이 있는 작품을 제외하고 모두 크리에이티브 커먼즈 라이센스를 따른다.
Mon Mar 25 00:59:47 2024 . XHTML . CSS (lightbox.css is not part of Uniqki. ;-) . Powered by Uniqki!
refresh . edit . loginout . index