Just wanted to say: _ck_, you are awesome. It's only because of your plugins that I haven't given up on BBPress yet.
bbPress Plugin Browser »
bbPress Attachments (0.2.9)
Download
Version: 0.2.9
Last Updated: 2011-11-28
Requires bbPress Version: 0.9 or higher
Compatible up to: 0.9
Average Rating





Your Rating
Author: _ck_
-
Posted: 4 years ago #
-
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: 4 years ago # -
"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: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
I can not activate the plugin when I click active it gives me a white screen.
Posted: 4 years ago # -
gerikg, I need more details about your setup, what other plugins you use, if you have php4 or php5.
Posted: 4 years ago # -
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 DESCPosted: 4 years ago # -
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: 4 years ago # -
_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.2It'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 DeactivatedPosted: 4 years ago # -
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.phpand 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: 4 years ago # -
I'm on shared hosting, I can't change anything above the htdocs folder
Posted: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
I've not changed any of the code in the plug-in at all. Any ideas what could possibly be causing the funkiness?
Posted: 4 years ago # -
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: 4 years ago #
Add a Comment »
You must log in to post.