Names for a set of user capabilities.

learn more… | top users | synonyms (1)

2
votes
0answers
36 views

What's the difference between Role and Meta capabilities; When to use map_meta_cap() filter

I'm getting very confused about the following things: difference between Role and Meta capabilities, difference between Meta and Primitive capabilities, when to use map_meta_cap() filter. There ...
1
vote
0answers
22 views

“edit_published_posts” and “edit_other_post” issue

I need to modify a roles capabilities for post editing: User can modify his own post (publish status doesn't matter) User can modify others posts (only as long as they are not published) I played ...
1
vote
0answers
42 views

Limit number of users a role can create

Just wondering if there is a way to limit the amount of users a specific role can create? For example, if Editors can create new accounts, I only want them to be able to create 20, and then they ...
1
vote
0answers
24 views

Add custom role across network in multisite

Maybe this is a duplicate of Add role across network in multisite, but the answers there are not conclusive so I'm asking again. Any help would be deeply appreciated. I'm trying to add two new ...
1
vote
0answers
72 views

Editor and contributor roles not correct after adding function

** RESTATED ** I am creating a bridge. The work involves a default installation of WordPress and a plugin to bridge a forum and WordPress. The forum provides all the account information. The ...
1
vote
0answers
37 views

User levels and post visibility

I'm having a bit of trouble detecting the view-ability of post types. I've created a front end plugin which lists posts/pages by the author. Testing if a user can edit a certain post type is easy but ...
1
vote
0answers
38 views

Allow user role “salesman” to view only “client” role users

I have created two new roles in my theme, salesman and client. I want, when "salesman" is logged in to be able to view and edit only "client" users. I am trying this code (taken from an answer in this ...
1
vote
0answers
129 views

Featured image not working, because of custom user role?

I've got a weird issue. My post thumbnails aren't working with a custom role. Images can be uploaded, and when viewing the media uploader they show as attached to the relevant post. However, when ...
1
vote
0answers
60 views

Purpose of Adding Capability to Role But Not Grant?

I am attempting to create a custom role upon activation of my plugin. Along with that role, I wanted to add new capability to that role to access later. Now, after reading the Codex, I am totally ...
1
vote
0answers
212 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 ...
1
vote
0answers
69 views

Selectively applying action based on role

I've added an action to my functions.php file that forces a plugin (Content Scheduler) to act on posts, even when it wasn't explicitly enabled by the person writing the post. I've got that working, ...
0
votes
0answers
11 views

Restrict all possible back end options for users

I was looking around for the best BACK END user restriction plugin. I could not find a plugin that is capable to restrict ALL POSSIBLE AND SINGLE OPTIONS. They all allow you to restrict basic options ...
0
votes
0answers
9 views

Sort posts in the admin list by author type (or user role or whatever)

So I know we can can sort postsin the admin pages by things like the post's terms, or author. But is it possible to sort all the posts by the user role? The site I am working on has three different ...
0
votes
0answers
5 views

Reload the role specific registration form on validation errors? previously asked by Iurie

How to reload the role specific registration form on validation errors? this question has been previously asked here. But i found no answers. Bainternet suggested on using sessions instead of cookies. ...
0
votes
0answers
17 views

Users can only save their draft once before saving for revision

I use the Members Plugin and Custom Post Types. I created a role and want them to contribute posts (within this Custom Post Type musician) but don't publish them. Additionally I want to give the ...
0
votes
0answers
15 views

Set post count to count only author posts

I have tried to reset the count to only show the current user's posts if they have the role contributor (I created a new role based on contributor called student_role). My problem is that it works in ...
0
votes
0answers
8 views

Existing Form Data with Emails - Create users allow editing etc

Someone wants to contract me to build off their existing WP site. Over the last year they have collected about 1000 entries via a form in WP. Each entry has an email associated with it. There were ...
0
votes
0answers
16 views

Redirect all users to previous URL before login, except “contributors”

In one hand I redirect all users to previous URL before login. This is the code: function login_redirect( $redirect_to, $request, $user ){ if(isset($_REQUEST['redirect_to'])){ return ...
0
votes
0answers
34 views

how to Specifies an author / editor to edit one category only?

let me say i have a news website and it have many categories like sports ,politics and art . so i want to specify or select one of my authors "Bob" to be an editor for sports only for example .... how ...
0
votes
0answers
35 views

Redirect to user role registration form

i am using the modification shown on How to reload the role specific registration form on validation errors? and don't know how to solve this problem. I hope someone out there can help me here. How ...
0
votes
0answers
22 views

Is it possible to restrict a specific user to edit a specific custom post.

I have a site setup with a custom post for team member profiles, blog posts etc ... I am currently setting up user roles so that users can edit certain areas of the site. I currently use Adminimize to ...
0
votes
0answers
12 views

Multisite vs Role Scoper

I have a website with several sections. Each section will have their own user to administer content on. These wouldn't be large sections, maybe a few pages to a dozen at most. My question is whether ...
0
votes
0answers
18 views

Allow Authors to edit all their own comments, even on others' posts

I recently found on my multiuser WordPress site that people with Author access can edit their own comments only if they are commenting on their own posts. As far as I know, this is all the edit_post ...
0
votes
0answers
13 views

Authors cant upload images unless publish_page permissions are set

I have a custom post submit form from frontend so authors can submit articles and use the tinymce editor along with the media manager. The problem, only administrators and editors can upload from ...
0
votes
0answers
25 views

User “none” role

Can someone explain what does the "none" user role mean in WordPress? Which capabilities has this user role? Is it a good practise to use that role for a basic user registration? Thank you.
0
votes
0answers
13 views

Custom subscription abandonment

I'm using a subscription service through a small third-party company. I've asked them to consider sending emails to users that drop-off from the subscription but they don't want to implement such a ...
0
votes
0answers
19 views

Using list_users give access to Users menu but not Role dropdown

I have user role that is the "Manager" of the e-commerce part of a site. I have given this user the capability, list_userso that they can access the "Users" page in Admin and add/change various ...
0
votes
0answers
37 views

How to connect database table to each registered wordpress user.

When registered user visit certain page, I want him to be able to add some 3 column data to a database that can be retrieved for him later. The way I see it implemented is by automatically adding an ...
0
votes
0answers
9 views

Only view others' post in the overview screen

I've read the answers in this article I have other questions on this matter though: 1. I'm not a programmer, so where should I put the code below? 2. Can I achieve the same in Pods http://pods.io/? ...
0
votes
0answers
39 views

Hierarchy with users (manage other users)

Is there a way to assign users to a specific other user. For example, a user registers as a custom user role called manager. Then as a manager, I can assign other users to this manager and therefore ...
0
votes
0answers
10 views

Multidomain site with custom permissions

We are going to build single instalation wordpress multidomain site, where each domain is used for different language. domain.com - english, domain.lv - latvian, domain.ru - russian, etc. All sites ...
0
votes
0answers
25 views

profile.php sometime returns webpage not available for subscriber. Why?

I have a problem with my WordPress site when I log in into site being a subscriber and want edit my profile sometimes it retuens Webpage not available, or sometime it works fine. I don't know why. ...
0
votes
0answers
29 views

How to filter user list by role on page template

The template below displays a directory of restrict content pro users. It works just as it should. I'd like to now filter these results based on custom role (let's say "member"). I thought I could add ...
0
votes
0answers
34 views

Custom Role can't trash Custom Post Type

I have a post type that I set up some capabilities for and I attached them to a new Role, however, the role can not trash them. I'm not sure why though. Here is the portion of my array for the ...
0
votes
0answers
19 views

User is not being deleted from wordpress admin dashboard

I have a wordpress blog and I'm trying to delete a certain user from my admin dashboard. But when I delete this specific user and refresh the page, he remains on the users list. The only thing that ...
0
votes
0answers
37 views

Change the functionality of wordpress users module in admin

I want to restrict wordpress admin to view all users in user list. For say, I have created custom roles (company users, employee). A company user type role can have multiple employees. I want ...
0
votes
0answers
27 views

Role Column Sorting

I'm trying to add sorting on Role column on user listing by desc and asc but I can get it work, it always show "No matching users were found." below are my code add_filter( ...
0
votes
0answers
61 views

Unable to set user role via edit_user_profile_update action hook

I've added the following action hook to edit_user_profile_update: add_action( 'edit_user_profile_update', 'set_user_role' ); function set_user_role( $user_id ) { if ( !current_user_can( ...
0
votes
0answers
100 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
0
votes
0answers
34 views

Custom User Roles Added When Plugin Network Activated and not on Individual Site

I wrote a quick plugin which creates a list of custom user roles and capabilities for each user role. The user roles are checked and added if not found upon plugin activation. When I network ...
0
votes
0answers
18 views

Wordpress Multi User Entries

I have a question, i want my wordpress site has multi user, like contributor for my site entries. but, in the homepage, i want to show only my entries, not the others. but i also want a page or rss ...
0
votes
0answers
51 views

Set role for manage users only under a role

I have to implement membership functionality where a user (company owner) can manage multiple users(employees) under him. I have created two roles in members plugin - Company user - Can add ...
0
votes
0answers
17 views

can't select role

I ve got an error on admin at this page wp-admin/network/site-users.php?id=1 <select name="new_role" id="new_role_0"> Warning: array_reverse() [function.array-reverse]: The argument ...
0
votes
0answers
53 views

Sidebar menu based on user role

This is a follow up to my own topic: Show menu in sidebar if on specific page AND specific user role (is_page, current_user_can) It didn't quite work as intended. To recap, I want to show a different ...
0
votes
0answers
20 views

Adding Comment Author as a subscriber

Is there a way to add a comment author (the person who writes a comment) on any post as a "subscriber" role? The idea is to: Notify the comment author if there are any updates made to the post. Add ...
0
votes
0answers
16 views

Add capability to role for all sites in network

We are running a multisite install. I want to add the capability to edit menus for contributors. I am doing that with this code: $role_object = get_role( 'contributor' ); $role_object->add_cap( ...
0
votes
0answers
95 views

register_post_type “You are not allowed to edit this post.”

I am creating my own post type, here are my capabilities: 'capabilities' => array( 'publish_posts' => 'publish_review' ) Basically, if I use this - no body can publish or send for ...
0
votes
0answers
44 views

Customize Dashboard Widgets Area for the Client?

To avoid the client messing up the website I have already customized other parts of the admin backend, now for the dashboard widgets area. I don’t want to block access but rather I want to give the ...
0
votes
0answers
86 views

How can I add Menu Page to specific user?

I've installed a plugin for my client called uTubeVideo, but he has a user role of editor so the option page of the plugin won't display for him. Initially, i thought I could fix this using the if( ...
0
votes
0answers
115 views

User-edit role setting distinct from wp_capabilities?

I need find out how $profileuser->roles is set. wp_capabilities can hold multiple roles Whereas user-edit role caters only for a single role. Under certain circumstances it is possible for there to ...