Skip to:
Content
Pages
Categories
Search
Top
Bottom

Attachments / File Uploads Plugin

  • 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?).

    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…

    I made a post on this subject to another thread:

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


    _ck_
    Participant

    @_ck_

    An early beta is now available for review:

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


    howtogeek
    Member

    @howtogeek

    It works!

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


    howtogeek
    Member

    @howtogeek

    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.


    howtogeek
    Member

    @howtogeek

    Very nice!

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