WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need plugin suggestion: How to allow visitors to attach a file to post. (4 posts)

  1. Runamok81
    Member
    Posted 1 year ago #

    I would like to allow visitors to upload files to the post they are viewing. The files they upload will need to be attached to the specific post. This means that the files show up in the posts Media Gallery->Attached to this post. File Gallery allows me to call [gallery] to display these files in the post.

    I have investigated
    Frontend-uploader - places file in separate media sub group, also no IE support.
    Front end upload - Files go to a separate directory, not associated to post.

    Anybody know of a plugins to achieve this?

    Since, this is an intranet site, security concerns are not high. If I could figure out how, I would even consider exposing the wp-admin plupload to the frontend. But how?

  2. Runamok81
    Member
    Posted 1 year ago #

    I have moved on to WP User Frontend, which almost gets the job done, except is doesn't work with IE, bummer.

  3. Runamok81
    Member
    Posted 1 year ago #

    Still searching for a front end file upload plugin that works with IE.
    Found these code snippets [1],[2] which may be a good starting point.

  4. Runamok81
    Member
    Posted 1 year ago #

    Gave up on the snippets. I resolved the WPUF IE8 compatibility issues, and eventually settled on it. A combination of Gravity Forms and WPUF allows my users to register, and create a posts. When viewing their posts, they can upload attachments as proper post-attachments without visiting the backend. All users can see each other's posts and attachments, but only the post author can upload attachments to a post.

    Now we have a proper frontend user-based content and file upload system!

    For those looking to achieve a similar setup....
    My overall post creation and user attachment management system work like this. Users register and create their post via Gravity Forms. The GF Form appends the [wpuf-edit] shortcode into the post body. I made a some slight edits to wpuf-edit-post.php to HIDE the Title and Body form edit fields and leave only the add attachment.

    When browsing posts, the user can't edit the title or body, but they CAN add attachments or participate in comments. No need to visit the backend, and all media resides in the media gallery proper as post attachments.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.