bb Attachments plugin fixed to be compatible with bbPress 1.0+
I have fixed the bb Attachments plugin by _ck_ to be compatible with bbPress 1.0. There are many changes in it like changing the deprecated function names in bbPress 1.0, fixing the issue of plugin not creating database table on activation, etc.
You can download it here – http://gaut.am/uploads/bb-attachments.zip
In IE i get the following error if i want to see the full image:
Sorry, download is restricted.
Citizenkeith: does it work on your side? I’d like to try this soon.
@DKB – “Sorry, download is restricted” is an error message from the bbAttachments plugin:
Have you tried lowering the minimum role to download the original?
$bb_attachments=”read”; // minimum role to see list of attachments = read/participate/moderate/administrate
$bb_attachments=”read”; // minimum role to view inline reduced images = read/participate/moderate/administrate
$bb_attachments=”participate”; // minimum role to download original = read/participate/moderate/administrate
$bb_attachments=”participate”; // minimum role to upload = participate/moderate/administrate (times out with post edit time)
$bb_attachments=”moderate”; // minimum role to delete = read/participate/moderate/administrate
@Johnhiler: Ah i get it, change
Just a note that I downloaded this and installed on bbPress 1.0.2, it worked perfectly.
Thanks for this!
There;s one thing I’d like to know: Do I have to make it so that the attachments folder is below the root? I can’t do this as I’m running a shared host at the moment…
I don’t think you have to make the attachments folder above your webroot… it’s just strongly recommended for security reasons.
The danger is that someone would be able to upload malicious to your server, and execute it since it’s below your webroot.
I am a new user…
I downloaded bb Attachments and installed on bbPress 1.0.2. I have tried to modify the path for “bb-attachments” (upload) folder but without success …
I modify the bb-attachments.php on the line 75:
And of course I changed the write permission of this folder but I can not upload files I have only a message with “failure”.
Have any suggestion ? Thanks
(I hope you understand my English)
I have more information for my lasts post :
I have checked my log and I found this error:
[Wed Jan 13 21:43:51 2010] [error] [****] PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/httpd/*****/subdomains/forum/bb-config-path.php) is not within the allowed path(s): (/home/httpd/vhosts/******/subdomains/forum/httpdocs:/tmp) in /home/httpd/vhosts/*****/subdomains/forum/httpdocs/bb-load.php on line 141
Feature request: I would love to see an “attachments browser” in the admin panel.
I have some problems with the placements of the images in a post. Is it possible to determine where a image appear in a post?
When you upload an image, you see it at the bottom of the post.
Yes, i know but i want to place it not only at the bottom, but to select the place in a post.
Even this version gives me the same problems that i had with _CK_’s 0.27
I can not save attachments to my desktop / and some even fail to open at all.
I can see 2 attachments here – http://www.cell-systems.net/forums/topic/enzyme-11-beta/page/3#post-1224 but they cannot be downloaded. That might be because of server restrictions or check
bb-attachments.phpfor those who can download attachments.
I’m admin / it’s my own site and can not save attachments. The restrictions are default
And even when i set them all (except for delete) to “read” it still doesn’t work, all is in order / folders are 777 and so on. Deactivated / Reactivated plugin no go for me
I’m going to try this. Thanks in advance!
- You must be logged in to reply to this topic.