Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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