bbPress

Simple, Fast, Elegant

bbPress plugin browser »

bbPress Attachments (0.1.13)

Download

Version: 0.1.13

Last Updated: 2008-12-2

Requires bbPress Version: 0.9 or higher

Compatible up to: trunk

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5)

Your Rating

Author: _ck_


  1. Just wanted to say: _ck_, you are awesome. It's only because of your plugins that I haven't given up on BBPress yet.

    Posted: 7 months ago #
  2. 0.1.0 now has uploading now possible directly on new posts (instead of attaching afterwards)

    I've also set the default upload level to "participate" so any member can now upload (previously "moderate") as I now believe the overall concept is safe enough.

    Oh and you don't have to do any template edits anymore thanks to bbPress 0.9.0.2 (backwards compatible if you have done the edit already, won't duplicate, don't worry)

    Posted: 7 months ago #
  3. dangrey

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    "Just wanted to say: _ck_, you are awesome. It's only because of your plugins that I haven't given up on BBPress yet."

    Seconded. bbP is much more basic than WP "out-of-the-box" illustrated by the fact that I'm running far more plugins on bbP than WP -- most of the _ck_'s!

    I just installed bb-attachments on 0.9.0.2 and it works perfectly.

    Posted: 7 months ago #
  4. dragosbogdan

    Member

    great plug-in. thanks again _ck_.

    interestingly enough, the plug-in didn't work for me until I put it in the same directory as my public folder (.e.g in the same directory as the mysite.com folder).

    also, the readme file still says version .9 instead of 1.0

    Posted: 7 months ago #
  5. The plugin itself should go into my-plugins under your forums directory.

    The directory to store the uploaded files has to be made below your webroot (non-public).

    Posted: 7 months ago #
  6. gerikg

    Member

    I can not activate the plugin when I click active it gives me a white screen.

    Posted: 7 months ago #
  7. gerikg, I need more details about your setup, what other plugins you use, if you have php4 or php5.

    Posted: 7 months ago #
  8. jeffwong

    Member

    I got this error when I use bbPress Attachments
    Is it I need to manually create a Table in my database?

    bbPress database error: [Table 'XXXX.bb_attachments' doesn't exist]
    SELECT * FROM bb_attachments WHERE post_id IN (1,2) ORDER BY id DESC

    Posted: 7 months ago #
  9. jeffwong, the table should have been created automatically when you activated the plugin.

    The fact you have a prefix there makes me wonder if you are using a non-standard database name for bbPress? Do you use a special setting in bb-config.php? I might be able to fix it to accommodate that.

    Posted: 7 months ago #
  10. gerikg

    Member

    _ck_ I don't know, how do you find out if it's php4 or php5?

    I have Wordpress version 2.5.1
    I have BBpress version 0.9.0.2

    It's one database.

    Akismet 1.0 Deactivated
    Bozo Users 1.0 Activated
    Allow Images 0.7.1 Activated
    BBcode Lite 1.01 Activated
    bbPress Polls 0.5.4 Activated
    bbPress signatures 0.1.9 Activated
    Avatar Upload 0.8.3 Activated
    Force Login 0.8 Deactivated
    Memberlist .80 Activated
    New User Notification Email 0.0.2 Activated
    Post Count Plus - Dynamic.Titles & More! 1.1.2 Activated
    Report Post 0.1.3 Activated
    Simple Onlinelist 1.5 Activated
    Support forum 3.0.2 Activated
    Unread Posts 0.8.6 Deactivated
    BBPress Private Messaging 0.80 Activated
    Hiden Forums 0.0.2 Deactivated

    Posted: 6 months ago #
  11. gerikg, when you activate and get the blank screen, if you do a "view source" in your browser does it show anything or also empty?

    After you get the empty page, try accessing your-forum.com/forums/?bb_attachments_debug
    and see if it tells you anything?

    To find out if it's php 4 or 5, make yourself a file called phpinfo.php and put in it <?php phpinfo(); ?> and then access it from your website and it will give you lots of info, including the version number.

    Posted: 6 months ago #
  12. ASPX.King

    Member

    I'm on shared hosting, I can't change anything above the htdocs folder

    Posted: 6 months ago #
  13. ASPX.King you could forcefully edit the $bb_attachments['path']= option to another directory but if it's web-accessible that presents serious security issues, especially if on a windows box.

    Posted: 6 months ago #
  14. gerikg

    Member

    I got it to work. I deleted the whole folder and re uploaded it.

    I got a new bug, maybe it's cause by this plugin, I'm not sure.

    http://bbpress.org/forums/topic/reply-bug?replies=5#post-16052

    BTW thank you so much for all these plugins.

    Posted: 6 months ago #
  15. Got the plug-in installed and created the directory. I can upload files without any errors being displayed. Looking in the bb-attachments directory I see a directory was created and the uploaded files do appear there.

    However, the attachments are never displayed on the post as attachments. It's like the files get uploaded but there is no way to download them.

    Here is the debug output:

    disabled functions: (none)
    
    mime_content_type:   does not exist. 
    
    finfo_open:   does not exist. 
    
    imgt:   exists. 
    
    imgt: application/octet-stream
    
    exec:   exists. 
    
    exec:

    Any ideas what I need to do to get the plug-in properly functioning? Thanks!

    Posted: 6 months ago #
  16. Just downloaded the plug-in and it's working beautifully.

    I had some trouble at first and finally determined that I had my bb-attachments in my root web folder, not 'above' the root web folder - as you instructed in the readme.txt.

    Thanks very much.

    Posted: 6 months ago #
  17. jark, you didn't change the "see" role did you?

    gerikg, your problem is strange in that no-one else seems to have it. I'm going to have to make an option to disable the "upload on new posts" feature for you. You're using 0.9 right?

    Posted: 6 months ago #
  18. gerikg, try version 0.1.1 when you see it posted here shortly. I've added a helpful check to make sure it steps of the way when a user is not logged in and additionally an option to turn off uploads on new posts if we can't find the incompatibility.

    if you need to turn off that feature, find near the top:
    $bb_attachments['upload_on_new']=true;
    and change it to
    $bb_attachments['upload_on_new']=false;

    Posted: 6 months ago #
  19. I've not changed any of the code in the plug-in at all. Any ideas what could possibly be causing the funkiness?

    Posted: 6 months ago #
  20. jark make sure you try 0.1.1 and what happens if you edit the post, do you then see a list of attachments?

    If you don't see them even when you edit a post, that means they aren't being recorded as successful uploads for some reason. Do you get failure message on the uploads?

    Are you working on windows or linux?

    Posted: 6 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.