WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to edit the Q&A Plugin (which for those of you that don't know it is a StackExchange-style plugin with Custom Post Types of Questions and Answers) to incorporate image uploads.

It seems to use the built-in TinyMCE editor that came bundled with recent versions of WP.

This comes with the "Media Library" buttons. Unfortunately, these only appear to be accessible to users with author privileges.

If I can, I'd like to open this up to registered users. I can use the answer provided here to limit this to "upload" rather than for users to be able to access the Media Library, but I can't find what to change in the Q&A plugin to allow this.

Alternatively, I'd be happy to install a TinyMCE plugin to allow basic image uploads. I tried the jbimages plugin for TinyMCE and wrote my own simple function to incorporate it with WordPress. The icon displayed, but the plugin itself seemed broken - it was listing strings like {variables} instead of the actual variables.

Does anyone have a viable solution for this?

share|improve this question

closed as off-topic by Pieter Goosen, cybmeta, birgire, Johannes Pille, Mark Kaplun Nov 28 '14 at 17:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

A simple solution may be to download the Members Plugin and then give the subscriber permission to upload_files

share|improve this answer
You have no idea how much time you've just saved me!! – dunc Mar 26 '12 at 20:41

Use a role editor plugin to give the "subscriber" role upload privildges (upload_files): http://wordpress.org/extend/plugins/user-role-editor/

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.