Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
1answer
6 views

Display content based on a users login

I was wondering if this is possible. I created a client portal where they can see all of their work that was assigned to them (this is all being displayed on the frontend). Once they login, they are ...
2
votes
1answer
29 views

Can simple Admin save options in a Multisite?

I am developing a custom plugin on a multisite installation that, unfortunately, I am not so use to work with. Tis is the problem: I need to add a field into che profile page of a user and I need ...
-2
votes
1answer
22 views

How to create different Wordpress usertypes [on hold]

I'm a newbie. What I ultimately need is a capability on Wordpress to create different usertypes where each user will have access to certain plugins. For example: students will have access to plugins A ...
3
votes
0answers
46 views

Deactivate plugin for a specific user group

I would like to deactivate a plugin for a specific user. I'm using the following code inside a the wp-content/plugin-mu plugin file: add_filter( 'option_active_plugins', 'bo_disable_apm_plugin' ); ...
0
votes
1answer
14 views

Front end login and page restriction

I've read a few posts about this topic, but I haven't found any plugins that fit my need. What I want to achieve: User A and B both have a login. When user A logs in, he's redirected to ...
0
votes
0answers
13 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
1answer
17 views

CPT, Custom User Role and problem with user manager

i've create a custom user role using this code: /* aggiungi ruolo */ add_role('brokers', 'Brokers', array( 'read' => true, // True allows that capability 'edit_pages' => true, ...
0
votes
2answers
20 views

How to hide a HTML element based on user role

I have a login top bar I use for general users on the website front end and the admin like to use the wordpress admin bar. I am trying to find a way of hiding the login top bar for admin so they just ...
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
4 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
17 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
7 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
10 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
6 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 ...
1
vote
0answers
15 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
1answer
17 views

Wordpress capabilities and restricted categories access

I've a Wordpress blog to share content with some people only. Users has to login to access this website. I created new roles and new capabilities on this blog. I've got some articles which belongs ...
0
votes
0answers
11 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
16 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
1answer
29 views

How can I modify the Capability need to access a plugin's options?

I have the following 3 different Roles: Admin, Editor, and SEO. I have installed WordPress SEO by Yoast, and I want to get this: I don't want the editors to see the SEO options, because they only ...
0
votes
1answer
22 views

Add_menu_page() error message -> “You do not have sufficient permissions to access this page”

I'm currently building a website for a friend and have assigned him the user role of editor. I don't want to give him an administrator role in case he breaks the layout. Anyway, I am using ...
0
votes
0answers
25 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 ...
2
votes
0answers
24 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 ...
0
votes
1answer
17 views

Downgrade admin account by mistake

I made a huge mistake changing my admin account role from 'administrator' to 'Basic User'. Don't know what to do. Any suggestions how should I proceed to retrieve my account role back again, please?
0
votes
0answers
16 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
28 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
20 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
30 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
36 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
53 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
26 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
21 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
23 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
47 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
1answer
61 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
37 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
27 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
43 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
66 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
52 views

New user created as Participant rather than Contributor [closed]

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
23 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
16 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
45 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
79 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
66 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
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
1answer
41 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
67 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
109 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
124 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 ...