• Ok, so i run a website where my Writers log into wordpress as Contributors write there articles and submit them for review.. This is all find and dandy,BUT if they have any images they want in the articles, it becomes a HUGE ordeal of them emailing me the photos because contributors dont have upload rights. So here is what i want to do, hopefully someone here can point me in the correct direction…

    I Either want to Give uploading rights to the Contributors, while maintaining the “post for Review” so they cant post crap :), OR i want to give them the Author User privilage, BUT make the Authors have to “Submit for Review” as well. (Currently Authors can just post without warning)

    ANY help, or pointing me in the right direction would be a great help! Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • add the following to your functions.php file and it will give all contributors the ability to upload files.

    $role = get_role('contributor');
    $role->add_cap('upload_files');

    Thread Starter serious-sally

    (@serious-sally)

    awesome, thanks so much 🙂

    @blepoxp, where exactly in the functions.php file do you place that code? I’m running 2.3, I tried pluggin it in a few places within the script and it was only creating errors.

    Any update on where to place this code in the Functions.php file? I’d like to make this update as well.

    Thanks,

    Just make sure you include it in a php block like this:

    <?php
    $role = get_role('contributor');
    $role->add_cap('upload_files');
    ?>

    disclaimer: I haven’t tried this in 2.3

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

The topic ‘HELP!! Need help editing user rights…’ is closed to new replies.