How can I give subscribers level_1 access?

I'm trying to use a MCE editor on the frontside (WP 3.3) of my site using wp_editor() with media buttons set to true. This works with one exception, the media upload section has some issues.

1. It uploads the image but visually it fails while crunching the image when attempting as a subscriber, succeeds when attempting as a contributor. (I've given subscriber the same "capabilities" as a contributor so the only difference I can imagine leading to this result is level_1 access)

2. Before adding this feature I was blocking all dashboard access from subscribers with a filter like this

if (strpos($_SERVER['REQUEST_URI'],'wp-admin/')){
      wp_redirect(get_option('siteurl') );

But the media upload needs access to files within that area so this redirect causes conflict, and I'm not sure if there is maybe a better way to lockout subscribers from the backend without locking down the libraries that I might need.

Any and all help on this topic would be AMAZING! Thanks guys

  • Div Truth
    • Design Lord, Child of Thor

    Are there any details I'm missing that would help me get an answer here? Basically my only foreseeable option at the moment is to make the default role for a member contributor. Is that what I should be working on then or is there a way to get the level_1 access to the subscriber?

  • Div Truth
    • Design Lord, Child of Thor

    Thanks Kim, although I just read your post I ended up actually going that same route. I knew of this plugin from another project but I was hoping to accomplish this without the plugin, I figured if this plugin could do it then there must be a way to write it myself.

    In general I added another field to BP determine the account type (to filter which xprofile group IDs to use), then I used the Buddypress User Account plugin to have each account type given a specific role which I customized with User Role Editor.

    Thanks again,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.