Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
0answers
10 views

Theme My Login - select role during registration & pending user

I need give to possibility to select role for user's during registration. Unfortunately support for this plugin doesn't work :( I found old answer for similar things, and even I used it with ...
0
votes
0answers
10 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
25 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
1answer
14 views

Capabilities don't add

I've wrote this code. function wpo_install() { update_option( 'wpo_version', WPO_VERSION ); wpo_add_caps(); wpo_add_roles(); set_transient( '_wpo_activation_redirect', true ); } ...
0
votes
0answers
14 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
2answers
24 views

Access to option page by role/capability

So i've been googling around and i'm trying to figure out a plain simple solution to my problem. I've tried several things but they are simply not working. I just got into WordPress and i have to edit ...
0
votes
0answers
14 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
28 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
1answer
25 views

Migrating Roles from one environment to another

I have 2 identical environments . Now, on one I have created many roles and have assigned users to them . How do I migrate this to the other server which has the same set of users already. Any ...
0
votes
1answer
20 views

Allow a role to edit one specific plugin

Is there any way to allow a particular role (Contributors, in this case) to use one plugin, and one plugin only? I would like them to be able to add images to a gallery when writing their post, but ...
1
vote
2answers
21 views

Make a user administrator to a sub directory site and a contributor to main site in multisite network

I have a multisite network. The main site displays news. The sub directory sites have administrators and I call them subsite admin. If the subsite admin wants to post to the main site, I want them to ...
0
votes
1answer
33 views

Get users from all/specific blog by user_role and current_user role

Something I've needed and think a fair few people might need as well is: getting users from all or a specific blog based on the user_role's of the accounts they wish to see, while also differentiating ...
0
votes
2answers
42 views

Add role and edit page capabilities

i've create a new user role and i want this user can edit page and use custom post type. For custom post type i've resolve but for the page not function. On backend the user can only see the page ...
1
vote
0answers
28 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 ...
0
votes
1answer
24 views

Can I protect a type of content site-wide with a single password?

I am developing a theme for a client who has a catalog of products. Each product has a spec sheet that he wants to make available to logged-in users. It's not a real security issue, just a means to ...
-3
votes
2answers
41 views

How to add user roles?

I need to build a news site with 16 user roles. How can I add more user roles? By default I see 4 roles: contributor author editor administrator
0
votes
1answer
46 views

Allowing users to view private posts (pending approval)

OK so I mostly fixed this myself I went into post.php in wp-includes. Changed the 'protected' => true, of pending to 'public' => true, but every time wordpress updates this will reset (I ...
1
vote
1answer
36 views

New user created as Participant rather than Contributor

On Wordpress settings we have it set such that a new user should be created as a Contributor: However, any users that are created are given a role of Participant: This means that they cannot ...
0
votes
0answers
14 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
15 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
34 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 ...
-1
votes
1answer
49 views

Different customer login form than administrator login form?

I've recently installed Woocommerce. I have realized that the administrator can access the back-end through the same login form presented to the customers. This, to me, presents a huge security risk. ...
0
votes
1answer
50 views

Custom post type media upload error with custom user role

I have created a custom post type named product and assigned a new role manager for it. Everythign works fine, except the media uploader for product. I can even upload images without any error ...
0
votes
0answers
15 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
1answer
38 views

Custom User Role

I know how to add custom user roles, but how can i make it so that when a user with, lets say a role with 'DJ', they come to the dashboard AND ONLY GET TO SEE: Users > Your Profile custom menu DJ ...
0
votes
1answer
49 views

Hide plugin dashboard menu item for specific roles

I am writing a plugin and I am trying to only display the admin dashboard menu item to specific roles. I have this controlling snippet so far... // Check User Role global $current_user; if( ...
0
votes
3answers
64 views

Remove ability to access certain admin menus

I am trying to remove some of the admin features for a user with the role of contributor. What i mean by remove some of the admin features is disable them from seeing certain admin menu items, such as ...
5
votes
1answer
106 views

How to auto-translate custom user roles?

I developed a small plugin that adds (or to be more precise: first deletes then adds again) some custom user roles. Each of these roles is set up in a way like this: function ...
0
votes
0answers
30 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 ...
1
vote
1answer
67 views

How to customize wp_signon()

I am trying to get a customized sign on process. The features that are absent in WordPress by default are the following: Allow user to choose a password at the time of registration. Allow user to ...
6
votes
1answer
88 views

Issue with Custom Roles in Multisite

So I've been going through hell with Custom Roles. I will try to be as descriptive as possible, to highlight my issue. Before anyone mentions it - I would like to avoid using a plugin, since that, to ...
1
vote
0answers
17 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
1answer
31 views

How to achieve certain page (url) accessible to certain users

I have created a download page I want it should be accessible to certain users who are logged in to my blog. No one else should have direct access to page. Is there some plugin for that? I have ...
1
vote
3answers
51 views

Why are authors allowed to approve comments on their posts? How to revoke privilege?

I was under the impression that only admins/editor roles can approve comments however our authors are able to do so as well on their own posts. I want to disable the ability for an author to approve ...
2
votes
1answer
47 views

Custom registration URL lost when user makes signup mistake

I've followed instructions found on this site and elsewhere on the internet intended to let me give certain people a registration link that will let them sign up with a specific user role. The user ...
3
votes
1answer
124 views

Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles

I need to redirect logged-in and non-admin users, from page with id 172, to the home of the website. Note that users that are not logged in can actually see the page. add_action('admin_init', 'xyz'); ...
0
votes
1answer
43 views

Hide comments and posts posted by other user

I've created a user with role Contributor, when i logged in as Contributor all the posts and comments are listed in the dashboard. How to disable this? I just want to see the post made by ...
0
votes
1answer
38 views

How to make the Newsletter plugin visible to users with author privileges?

I'm using the Newsletter plugin and would like to make it accessible to author users. Is it possible to do so? If there's no solution for this I'll edit the editor role to make it a new author role.
-1
votes
1answer
29 views

Custom Plugin w/ Custom Post Types - Custom Posts Are Showing at all Privilege Levels - Is this possible to adjust?

We created a custom plugin. The custom plugin allows users to post specific post types. Under each user account, all of these custom post types display under the relative post type. For example, ...
2
votes
0answers
20 views

Capabilites not working [closed]

I created a custom post type: add_action( 'init', 'artwork_feature'); function artwork_feature() { register_post_type( 'artwork', array( 'labels' => array( 'name' => __( ...
1
vote
1answer
29 views

Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite

In my multisite installation, I need to restrict administrators from being able to create, edit, and delete pages. That is, I need all pages to be created/edited/deleted by superadmins while ...
0
votes
0answers
31 views

restrict contact form 7 acces in admin menu to admin role

I am using "Contact form 7" to make forms and "members" plugin to give differential capacities. The problem i have is if i give a student the capacity 'edit_post', it also gives him acces in admin to ...
0
votes
0answers
16 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
1answer
63 views

Show menu in sidebar if on specific page AND specific user role (is_page, current_user_can)

I tried combining two conditions: is_page and current_user_can but it didn't work. Found an example at StackExchange where the user role was spelled out. But the Wordpress codex says "Do not pass a ...
0
votes
0answers
15 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( ...
1
vote
1answer
57 views

How can I check if the admin bar is visible to the current user?

I'm new to WordPress. I would like to know Is the admin bar visible to all users and roles? If not, how can I check it is visible to the current user?
0
votes
2answers
151 views

How can I change plugin to give access to editor user role?

I want to give my editors access to a settings page to a plugin I've installed on their website. As of now, it's only visible to Administrators. The plugin I'm using is uTubeVideo Gallery, and there ...
1
vote
1answer
49 views

wp_dropdown_roles() to replace option value = code

I'm trying to replace a hardcoded dropdown list of roles in a plugin. Currently this is the code: echo '<select name="xf_user_role_' . $id . '" id="xf_user_role_' . $id . '">'; ?> ...
0
votes
0answers
71 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
37 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 ...