Skip to:
Content
Pages
Categories
Search
Top
Bottom

bb Attachments plugin fixed to be compatible with bbPress 1.0+

  • @gautam-gupta

    Member

    Hello all,

    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

Viewing 25 replies - 1 through 25 (of 34 total)
  • @fernandot

    Participant

    Great job Gautam, I’ll try it ;)

    @citizenkeith

    Participant

    Thank you Gautam!

    @dkb

    Participant

    In IE i get the following error if i want to see the full image:

    Sorry, download is restricted.

    Any fix?

    @michael888

    Participant

    Citizenkeith: does it work on your side? I’d like to try this soon. :)

    @gautam-gupta

    Member

    @DKB

    That maybe because of your Firewall settings, etc….

    @johnhiler

    Member

    @DKB – “Sorry, download is restricted” is an error message from the bbAttachments plugin:

    https://plugins-svn.bbpress.org/bb-attachments/trunk/bb-attachments.php

    Have you tried lowering the minimum role to download the original?

    global $bb_attachments;

    $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

    @dkb

    Participant

    @Johnhiler: Ah i get it, change $bb_attachments['role']['download']="participate"" to $bb_attachments['role']['download']="read"

    @gautam-gupta

    Member

    @DKB

    Yup, that’s right.

    @hseatsleeper

    Participant

    Just a note that I downloaded this and installed on bbPress 1.0.2, it worked perfectly.

    Thanks for this!

    @michael888

    Participant

    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…

    @johnhiler

    Member

    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.

    @michael888

    Participant

    I see, then I’ll wait for a top-level domain. :) Thanks

    @semir

    Member

    Hi,

    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:

    $bb_attachments=dirname($_SERVER).”../../private/bb-attachments/”;

    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)

    @semir

    Member

    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

    @citizenkeith

    Participant

    Feature request: I would love to see an “attachments browser” in the admin panel. :)

    @dkb

    Participant

    Hi Gautam,

    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?

    Thanks, DKB

    @gautam-gupta

    Member

    When you upload an image, you see it at the bottom of the post.

    @dkb

    Participant

    Yes, i know but i want to place it not only at the bottom, but to select the place in a post.

    @gautam-gupta

    Member

    No…

    @killersneak

    Member

    Even this version gives me the same problems that i had with _CK_’s 0.27

    http://www.cell-systems.net/forums/topic/enzyme-11-beta/page/3#post-1226

    I can not save attachments to my desktop / and some even fail to open at all.

    @gautam-gupta

    Member

    @KillerSneak

    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.php for those who can download attachments.

    @killersneak

    Member

    @Gautam

    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

    @kevinryman

    Participant

    I’m going to try this. Thanks in advance!

    @gautam-gupta

    Member

    @KillerSneak

    That’s strange.

    @killersneak

    Member

    @Gautam

    I know, I hope you can figure this out as this plugin is real helpfull for me and the site (when it’s fully working).

    If there is anything else you want INFO/LOGS what ever let me know.

Viewing 25 replies - 1 through 25 (of 34 total)
  • You must be logged in to reply to this topic.
Skip to toolbar