Skip to:
Content
Pages
Categories
Search
Top
Bottom

Attachments / File Uploads Plugin


  • HowToGeek
    Member

    @howtogeek

    I’ve been looking for a file upload / attachment plugin but have so far been unable to find one. Does anybody have one, released publicly or privately?

    I’d be happy to hack my way around, I just don’t really want to write it from scratch if I don’t have to.

Viewing 11 replies - 1 through 11 (of 11 total)
  • I sure don’t, but Louisedade always said his Upload Avatar plugin was originally a file upload script he hacked to use avatars. It might be a good place to start.

    Biggest problem you’ll have IMO is where to store post metadata. Usually I hate a plugin to add a table, but in this case it’s probably totally appropriate (and hey, if it works well maybe more plugins’ll use it and/or it’ll be taken into the core?).


    HowToGeek
    Member

    @howtogeek

    I’m surprised nobody has written a plugin for this by now… seems to be a fairly important feature for a forum.

    I can probably hack that plugin, was just hoping somebody else had already hacked one together and was willing to share.

    hum such a good news some one finnaly wants to do what i want :)

    This is something I’m looking for as well…


    TomiMaila
    Member

    @tomimaila

    I made a post on this subject to another thread:

    http://bbpress.org/forums/topic/file-attachments?replies=24#post-13317


    _ck_
    Participant

    @_ck_

    An early beta is now available for review:

    http://bbpress.org/plugins/topic/bb-attachments/

    It works!

    Going to spend some time playing with it, will reply with more feedback.

    I have an interesting idea for this plugin: Make the allowed filetypes be set per group.

    That way you can say that regular participants can only upload image files (fairly safe), but moderators can upload documents, and administrators can upload anything (like executables)… it could be easily customized.


    _ck_
    Participant

    @_ck_

    HowToGeek, that’s easily doable, just more settings to fill out ;-)

    That reminds me that I’ll have to give a list of accepted file types and sizes above or below the upload form.


    _ck_
    Participant

    @_ck_

    I’ve now implemented flexible restrictions in 0.0.6 based on file type or role based on your suggestion HowToGeek.

    Very nice!

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.