Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
2answers
219 views

Allow Content Author to Publish, But Not Edit or Delete

I am hiring a content writer for my WordPress blog. I will be the sole blog admin. I need to define a role for this writer. I was wondering if there was a WordPress user role that will allow him to ...
0
votes
1answer
166 views

List users of an array of roles

I'm able to list users by a single role only. When I try and add an array to the code below I just get a list of all authors. I'm sure that it is something straight forward that I'm missing. Thanks ...
0
votes
1answer
712 views

Custom Post Type's Capabilities map_meta_cap issues

I've created a CPT, added capabilities to it and them to the Subscriber role successfully. However the mapping is clearly not working because I get errors on publish and a Subscriber cannot edit ...
-2
votes
1answer
131 views

How to change user role setting in members plugin so that user can only edit his own post?

I want enable a user to only edit specific post. I am using the members plugin. I do not see a way to achieve this. Do I need to do some code for that post? Thank you!
0
votes
1answer
253 views

How many people are allowed to use same wordpress account at the same time?

I can't find the answer. I don't know how many people are allowed to use SAME account at the SAME period of time in WP. Will it cause any technical issue, if the specific account is allowed to post? ...
1
vote
1answer
248 views

How to let user select role upon registration in Facebook-AWD?

I would like to use the plugin Facebook-AWD plugin. My site would provide two ways of registration (normal and register with Facebook). Users must select their role, ie: buyer and seller. With ...
1
vote
2answers
199 views

Wordpress remove Submenus

I found an answered question here Remove menus and submenus 2 Answers for my problem but is there a way of changing the code a bit so that it removed the submenus for all Editor roles. not only for ...
0
votes
2answers
356 views

Ordering users of a specific role by last name

I'm trying to display a list of authors by their last name. I can get the list to display but as yet I don't seem to be able to order the list by last name. Any help would be greatly appreciated. Josh ...
1
vote
0answers
155 views

bbPress: How to set conditional for specific user -or- user role, to be displayed in user profile

I've been trying to set a conditional for specific users (e.g. http://www.mywebsite.org/forum/users/john/) to display a custom "Contributor" graphic within their user profiles. The graphic would be ...
0
votes
1answer
206 views

Creating a folder structure

My WP site has a members area which they pay to get access to. I want that area to be a subfolder, so something like site.com/premium/nameofpage. I am aware of url rewriting, htaccess etc. Is that ...
1
vote
1answer
80 views

Is it possible to incorporate username in a login redirect?

I'm using WP to work as the CMS for a website which will be provided to users of a number of different products. I've successfully created a function which will redirect users based on their role: ...
2
votes
1answer
311 views

Conditional based on the User Role of the Current Profile the user is viewing - BuddyPress

I'm using BuddyPress and need a certain block of code to show up on user role Store Owner profiles only. I'll be putting it in member_header.php, so it's just a template file. I've been digging for a ...
0
votes
2answers
33 views

Reservations as Post

I am creating a multi-user, multi-product, multi-product-category reservations engine proof of concept. As I need to build it really fast I am using Wordpress's custom post types to manage a lot of ...
1
vote
1answer
728 views

Allow editors to post iframes [duplicate]

I just found out that editors are not allows to post iframes (e.g. YouTube videos). Is it possible to allow it somehow? I use WP Multisite.
2
votes
1answer
169 views

Restrict users on multisite WordPress install

I have a series of sites that I maintain as part of a WordPress multisite install. I'd like to be able to create users accounts that are restricted to viewing only a single one of these sites. Is ...
3
votes
1answer
389 views

Temporarily give 'manage_options' capability

In order to allow editors to edit other's author meta (update_user_attribute), I must give them the 'manage_options' capability or else I get a 'Cheatin' huh' die message. I only want to give them ...
0
votes
1answer
85 views

Grant access to admin menu?

I'm trying to grant the user role 'editor' to have access to the Users top-level menu, and then control which sub-menus they have access to. The add_action lives in the _construct method. add_action( ...
0
votes
1answer
49 views

What capability is required to view posts, scheduled in the future, by someone else?

So, I'm trying to create a number of custom roles within my theme to meet with the custom requirements of the site. The first, and most simple, being 'external viewer' who I want to simply be able to ...
0
votes
1answer
433 views

Role based permission edit for plugins

I have TheThe Fly Image slider installed on my website which has multiple users. I wish to hide the settings from contributors and authors, but allow editors and admin roles to be able to amend the ...
2
votes
3answers
225 views

Is it possible to get a user with just the password field?

I tried doing something like this: $user = $wpdb->get_row(' SELECT * FROM ' . $wpdb->users . ' WHERE user_pass = "' . wp_hash_password('password') . '"' ); But the ...
2
votes
1answer
2k views

Troubleshooting a “You do not have sufficient permissions to access this page” error

I have a multisite installation running WP 3.5. My main site and a few other blogs on the network work fine. However, if I register a new user and site, that user gets the "You do not have sufficient ...
0
votes
1answer
195 views

Allow admin roles to add images to comment replies

this may be a step too far but I publish occasional tutorials on my personal blog and sometimes in comments get asked questions where an image would be very helpful to include as the answer. I've done ...
0
votes
2answers
762 views

Reset Roles (or undo role changes on theme change)

I am creating a theme that deletes some user roles that are not necessary and creates others. (It deletes author and contributor and renames subscriber). Everything works, but on theme deactivation, ...
0
votes
1answer
111 views

Check user's role and store in variable

I am using custom user roles which I create and assign by using a plugin. I was wondering how I could retrieve the user's role and store it in a PHP variable. What I am trying to achieve is something ...
0
votes
2answers
282 views

can i limit editing specific custom fields to certain roles?

i am writing a plugin that injects unescaped content (including javascript) into a post. i'm storing this content as a custom field, and am wondering if there are any built in ways to prevent users ...
0
votes
1answer
144 views

Contributor disable seeing others' posts

How can I disallow contributors on my site from seeing what other posts are published on the site, and only see their own?
0
votes
3answers
1k views

Temporarily disable user role login and replace with message

Is there a simple way to temporarily stop a user role logging in with wordpress? For example, if I have a user role called media, how can I block them from logging in? I would like a custom message ...
0
votes
1answer
154 views

When using a user role editor how to find out any plugins' or themes' role?

Suppose I'm using a Theme which has a custom panel in the admin area, or I'm using a Plugin, has similar Admin menu button. But all such button are only visible to Administrator. When I'm loggin in ...
0
votes
1answer
270 views

Where are available Roles Defined in the wp_ database?

I got on the list to test a private beta of a plugin I'm using on a multisite network. The plugin authors have code in there to add a custom role. They have a bug that removes the ability to give a ...
1
vote
1answer
219 views

Prevent Editors from Editing/Deleting Admin Accounts

I need editors to be able to add/edit/delete other users. Giving them those capabilities is easy with code similar to this: $editor = get_role('editor'); $editor->add_cap('edit_users'); The ...
3
votes
1answer
238 views

Change role after the user has read all the posts in a category

I'm creating a platform with "X" categories and "X" roles with the same name to each category. I would like to know how to change the user's role after they have read all the posts in a category. ...
1
vote
2answers
695 views

Restrict dashboard access for specific user roles to specific actions

I have a script that enables a logged in user (role Author) to delete their own posts using get_delete_post_link(). However, I also want to be able to restrict the author's access to the dashboard. ...
0
votes
1answer
412 views

Restrict Author role to only 3 wp-admin pages

I allow the author user role to add/edit posts (using a custom post type called "User Posts") as well as add/edit their own media from wp-admin. I currently have it set up so that the only menu items ...
0
votes
1answer
146 views

Reapproval for edits and deletion after post is published

I regularly have guest authors who post one or more articles on a non specific schedule. So I provide them with permanent contributor accounts to avoid the hassle of making them accounts and deleting ...
0
votes
2answers
3k views

Allow contributor role to upload images and not edit already published articles

I have the following two requirements: I want to allow users with the contributor role to upload media (images mostly) in their posts and preferably they shouldn't be able to delete existing ones ...
0
votes
3answers
727 views

How do I display user name, role and site name using HTML tags inside a dashboard notification?

Here's what I have so far as my notification, but I can't find any information around how to input the user's name, role and site name within those sections. You can see where they are supposed to go. ...
2
votes
1answer
200 views

Add Role inherits?

On the WordPress codex Add Role page it says how to add a role, but I can not figure out how to do it, or that is inherits. Specially the comment //Use false to explicitly deny. What does that mean? ...
2
votes
2answers
84 views

Remove Ability for Administrators to Delete Administrators

I've been studying roles and capabilities and have worked with and worked up a bunch of awesome code for creating unique capabilities and roles. I have created a "Master Editor" role to maintain users ...
0
votes
2answers
255 views

Allow AJAX call to other roles than admin

On my website, registered users (subscriber role) can send drafts and, if admins validate them, they are published. I'm trying to add a tag box to frontend editor used to send new posts. To implement ...
0
votes
2answers
186 views

How can I manage and limit disk usage for each author?

I want display and limit disk usage for each author and be able to manage disk usage as an administrator. Example: author1: disk space is 20Mb; if they uploaded more 20Mb the upload button (in media ...
0
votes
1answer
144 views

Only Admin can Edit, Delete or Update

I want to know if there is any way in WordPress that only Admin can update/edit or delete published posts/listings. User who have submitted the post/listing can't even edit/update or delete it. ...
0
votes
1answer
105 views

Role Scoper, don't allow other users to see pending posts

I have noticed in Role Scoper recently (sure it wasn't always like this) that contributors can see all the pending posts of all users. Basically I have it set up so users have to submit their posts ...
0
votes
2answers
369 views

Require Capability to View Woocommerce Product

I am using Woocommerce and I have products in a category called B2B whose single_product.php is only to be shown to people with the capability read_b2b. <?php if ( have_posts() ) : ?> <?php ...
2
votes
1answer
598 views

Apply custom role capabilities to administrator (without plugin)

I have a custom role that allows access to only a sigle custom post type. This is all well and good, but now it is only showing up for this role, not for admin and super admin. I'm having a hard time ...
7
votes
2answers
192 views

alphabetically order role drop-down selection in dashboard

The site I'm working on will have a very large number of unique user roles via a members plugin. Because of that, I'd like to have the Role drop-down selection on the Add New User page to display ...
0
votes
1answer
147 views

How to give “author” user role appropriate capabilities to add PollDaddy polls? WordPress multisite

At the moment, users with role "Author" can only view but not add or edit polls. "Editor" and "Administrator" (site administrator) can add and edit polls however. This is despite the fact that I ...
0
votes
1answer
30 views

Change role's settings influence post-thumbnail

In my theme functions.php i get code: add_action( 'admin_init', 'my_remove_menu_pages' ); function my_remove_menu_pages() { if(!current_user_can('delete_others_posts')) { ...
1
vote
2answers
92 views

Role scoping for contributors down to the field level

We've been looking for a Wordpress plugin or system that lets you scope admin/contributor "roles" down to the field level. We have an immediate need for something like that, but totally coming up ...
4
votes
2answers
135 views

How can I display all Multisite blogs where this user is administrator?

Given the user ID, how can I display all the blogs where this user is administrator? I tried: <?php $user_id = 2; $user_blogs = get_blogs_of_user( $user_id ); echo '<ul>'; foreach ...
2
votes
2answers
3k views

is it possible to add new user Roles?

I wonder if it is possible to create a new user role and give him special limited abilities? I'd like to have some users who can only add events onto the calendar. They should only be able to work ...