WordPress.org

Ready to get started?Download WordPress

Forums

User file upload plungins? (3 posts)

  1. eastbayjosh
    Member
    Posted 4 years ago #

    Hi,

    I'm wondering if there is a plugin (or other way) that readers of my blog can upload images or word docs which would be sent to me as an email?

    I would rather not post my actual email address on the blog.

    Thanks,

    Josh
    http://journeytofirefighter.com

  2. ericdaams
    Member
    Posted 3 years ago #

    Anyone wondering how to do this, you can achieve it by pasting this code into your functions.php:

    if ( current_user_can('contributor') && !current_user_can('upload_files') )
        add_action('admin_init', 'allow_contributor_uploads');
    
    function allow_contributor_uploads() {
        $contributor = get_role('contributor');
        $contributor->add_cap('upload_files');
    }

    From http://www.wprecipes.com/wordpress-tip-allow-contributors-to-upload-files

  3. false1
    Member
    Posted 3 years ago #

    And just like magic the problem is solved. I love this forum.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic