Names for a set of user capabilities.

learn more… | top users | synonyms (1)

7
votes
2answers
406 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
214 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
42 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
118 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
310 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 ...
3
votes
2answers
8k 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 ...
1
vote
1answer
1k views

Pending status by default for a specific role

I would like to prevent users from one specific role from publishing directly their articles. Only administrators should be able to approve these. The only choice they would ever have is to put their ...
0
votes
2answers
84 views

Posts in sidebar only by admin

I want to show in latest posts widget only posts by admin (now its showing latests posts by all suers). How I can do it ? via wp query ? Thanks :) <?php // setup the query ...
2
votes
3answers
970 views

Programmatically changing role information; editing role name and deleting

I am making system where I am delegating a lot of functionality to the front end of a system using Wordpress. I have listed all the roles (most of the custom) and need to ability for a logged in user ...
0
votes
1answer
796 views

How to restrict specific post types from being read or added by specific user roles (eg. author)?

I'm not very clear how to restrict admin area post types access to specific user roles. In my case, I have some post type such as "suppliers" which I do not want to show to "authors". By default WP ...
0
votes
1answer
115 views

Custom post type & role issues

I am having issues with using custom post types and custom user roles. I created a custom post type called Businesses. Then I created capabilities for users of a certain type to be able to add and ...
0
votes
1answer
64 views

Is it proper to build a site supporting blog visitors in WordPress?

I am quite new to WordPress and PHP. I am currently working on a website and I finally come down to WordPress. I guess I might be able to accomplish my work on top of WordPress but I am not sure. I ...
1
vote
1answer
147 views

Admin comments and user restrictions

I have set a bunch of roles within wordpress with the help of the "members" plugin. But the capabilities regarding the comments moderation are very limited ("manage_others_comments" or not) What I ...
0
votes
2answers
446 views

Set user role based on invitation code

I'm working on a site where I'd like anyone to be able to sign up, but people who sign up with an invite code would automatically be promoted to a role with more privileges. I'm aware that there are ...
4
votes
2answers
1k views

Add custom user capabilities before or after the custom user role has been added?

Should custom user capabilities be added before the custom user role has been added, or the other way around? add_role() asks for and array of $capabilities in the third parameter of the function. ...
0
votes
1answer
215 views

how to allow unregistred users to view normal posts [closed]

If an unregistered user/stranger try to view a post it says "You must be registered or logged in to view the post". http://testandverification.com/events/dvclub-august-2012-on-sv-uvm/ We have ...
1
vote
1answer
958 views

How to target with css, admin elements according to user role level?

I am using plugins "Capability Manager Enhanced" and "Adminimize". Between these two I have been able to do much of what I want to do. There are still some elements I need to hide and have been able ...
0
votes
1answer
461 views

Creating teams of users in Wordpress

I'm currently working on a University project wich is a website for managing a GameJam event that occures every 6 months. Our users will be in teams of 1 to 4 people and will be able to post about ...
1
vote
1answer
256 views

Is there a capability for managing plugin options?

I have an Editor user that I want to let use a plugin's options without being an Administrator. I can use $user->add_cap but can't tell if any particular capability relates to the permission to edit ...
2
votes
3answers
4k views

How to prevent access to wp-admin for certain user roles?

I did try using the plugin Front End Users but this clashes with something as it prevents access to some front end pages. So I need to manually just set it so that anyone who isn't one of two ...
2
votes
2answers
1k views

Get user role by using user_id in buddypress

I need to classify the user according to their role, so I need to find the user role by using the user_id alone (not only for logged in users but for all the BP users). Something like this ...
1
vote
1answer
1k views

Hide Menu items base on capability

What is the best way to add/remove items for the wp_nav_menu() based on user roles? For instance a custom menu that looks like: Some Page Some Other Page Special Admin Page Where the Special ...
2
votes
2answers
940 views

Identical members roles on all sites in a multisite

In a multisite system I need editorial accounts with custom rights. Therefore I have chosen the members plugin. As I do have lots of sites, creating and synching the roles for all sites becomes quite ...
1
vote
1answer
66 views

Want to be able to sign up subscribers as authors

I want to be able to select a subscriber an author of a post in the admin so it displays their name as having written the post, but I do not want to give them any additional privileges (if they login ...
1
vote
2answers
287 views

Assigning a category to a user role

I was looking for a plugin for this, but so far I cant find one that does what I want. I limited the user role capabilities with 'Restrict Capabilities'. But the authors still have to click the ...
0
votes
1answer
134 views

Is there a capability/User role plugin that lets you specify edit 'posts' not 'custom posts'? [duplicate]

Possible Duplicate: When you create a custom post type, does that also create capabilities for editing/deleting that post type automatically? I have many custom posts in my wordpress site. ...
-1
votes
1answer
124 views

Explanation of User Roles and Capabilities

I'm developing a Wordpress theme. In this theme, there are a few custom post types. Custom Post Types : book article event We are using Wordpress' default user roles (we can create new roles, if ...
1
vote
1answer
397 views

Restrict other Admins from using Editor in Admin Panel

I am running a WordPress website. I want to assign other users roles like Admin, Editor, etc. I want them to be able to install plugins, themes, delete them, etc. The only thing I don't want them to ...
0
votes
2answers
510 views

How can I show different content for different user-levels?

Can I use is_user_logged_in to manage content for different roles? Example: If subscribevr user is logged in.... show content.... else show "you are not logged in" and on anonther page if ...
0
votes
1answer
299 views

How to add only a (sub) capacity to an user role?

I know I can add capabilities to the any role using the role object and add_cap via functions.php <?php // get the the role object $editor = get_role('editor'); // add $cap capability to ...
1
vote
3answers
1k views

Check whether user can delete a given post

I have run into this problem where the following piece of code always returns true for any post ID supplied to it. current_user_can('delete_posts', $post_id); Normally, the above code should return ...
3
votes
1answer
3k views

Creating custom user roles

I need to create a custom user role who will be able to create posts (of a specific post type) but not publish them (just like the current contributor role. I'm being a bit confused on how to create ...
2
votes
1answer
281 views

Allow Administrator role access to custom capabilities [duplicate]

I'm currently developing a Wordpress business directory plugin with a 'business' custom post type. I have it creating a custom 'business_author' user role on activation and assigning specific ...
0
votes
1answer
109 views

Assign a category by user and customize the edit-tags.php?taxonomy=category page

I've been searching for days now without success... Here's my goal: - assign a top level category by user (this I've made it) - let each user create child categories only in his assigned category ...
1
vote
1answer
1k views

pre_get_posts Remove posts based on meta value with 'post__not_in'

I am attempting to alter the query of pages where the post meta value of _members_access_role does not meet that of the currently logged-in user. Here is what I have so far: // Get all posts with the ...
0
votes
1answer
161 views

Show special backend content for certain roles

I think I'm pretty close to what I need, but just need a little direction. I'm trying to show a content widget in the backend to users of a certain role. Right now, I'm just testing it out with a user ...
3
votes
3answers
9k views

Limit access to posts/pages by user roles

I'm looking for a way to protect content by user roles. Example: you have to be registered to view posts (frontend). If a user is a subscriber he can read post 1, 2 and 3, but if the user is a ...
0
votes
3answers
952 views

List total number of users that are authors

Question I want to display total number of Authors and total number of subscribers on the blog but exclude the admin in this way: 56 Authors so far 15 Subscribers so far Code that is close to ...
5
votes
3answers
7k views

Find out if logged in user is not subscriber

Is there any conditional tag which will allow me to display the certain content only if the user is NOT a subscriber?
1
vote
1answer
1k views

edit role display name and label name without plugins

I'am creating WordPress function for editing role name function change_role_name($role_name, $new_role_name, $display_name) { global $wp_roles; if ( ! isset( $wp_roles ) ) $wp_roles ...
1
vote
1answer
210 views

Show different badge based upon the user role

Problem I have authors page and I need to display a different badge for Authors and Subscribers. Authors on the site have certain abilities that differ from Subscribers and I would like to display a ...
1
vote
1answer
216 views

Can a Plugin Override New User Default Role Type

I'm making a plugin that creates user accounts. Is there a way I can create new users that get the role that I (the plugin developer) tell them to, as opposed to making them all the default new user ...
0
votes
1answer
420 views

add_cap for editor but no admin role

I want my editors to have the possibility, to add other users. I added: $edit_editor->add_cap('create_users'); $edit_editor->add_cap('delete_users'); ...
1
vote
1answer
4k views

Advanced Custom Fields/User Role Editor - how to hide ACF for certain users?

I am using User Role Editor to specify customized user roles. I am also using Advanced Custom Fields plugin. I would like to be able to hide Advanced Custom Fields from showing up for certain users; ...
9
votes
2answers
10k views

How to get role of user

I need to get the role associated with a user -- not the "currently logged in user". I am using Buddypress (not that should matter to the nature of this question) and I am in the bp_members() loop. ...
2
votes
2answers
2k views

wp_update_user not updating

In desperation I am asking for help in this forum too - if someone (ANYONE!) could take a look a this post and see if they could help I'd be eternally grateful ...
0
votes
1answer
56 views

Best Roles and Capability on a site with review features using a front end custom post

I'm working on a Movie Blog site, I'll be having a movie review for site members and planning to create/install plugin that can create a front-end post/edit using a custom post type for that reviews. ...
0
votes
1answer
118 views

User: Editor, can't see edit taxonomy screen

For some reason the Editor role does not get access to the edit taxonomy screen on my site. Maybe that is expected behavior, I dont know - But how can I add this to the editor role capabilities?
1
vote
3answers
583 views

How to assign capabilities to user NOT to User Role

Is there any way to assign custom capabilities to user, I'm NOT talking about User Role. I'm running a multi author blog where I assigned user role of "Author" to all of my authors. But I need a ...
2
votes
1answer
275 views

How to Orderby User Role?

Im looking to order posts by the users role... I currently have 2 user roles (intending to create more), and they are "Premium User" and "User", and some poss created by "Admin" All of these posts ...