Tagged Questions

Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
0answers
14 views

How to restrict specific category posts from being read by specific user roles?

I would like that only users of role "Author" can read the posts of a category called "personal". How can I do it? Thanks
1
vote
1answer
12 views

Getting user roles in plugin files

I have a plugin in which I need to use the get_editable_roles() function but I keep getting a fatal error saying that the function does not exist. In my main plugin file I have this code: function ...
0
votes
1answer
15 views

BuddyPress | Check if user is in current group [on hold]

I'm developing a plugin for a website, which uses the Group Extension API to create a new "subpage" in the group's page, just like Home, Members... Here's the code: class BP_Suggest extends ...
0
votes
1answer
27 views

How can change 12000 user role into contributor by sql [duplicate]

We have about 12000 users who doesn't have any roles. we need to change them to "contributor". How can I change them to "contributor"? Should I do on database? if so, which fields I need to update? I ...
0
votes
0answers
8 views

Multi users adding their name to a post

I'm trying to figure out a solution for a catering site. Basically, the owner will create a new post with the event details. All the employees will have their own user (something like subscriber or ...
0
votes
0answers
14 views

add_role user capability not working

I added a role this way: add_role( 'paar', __( 'Tanzpaar' ), array( 'add_users' => false, 'create_users' => false, 'delete_users' ...
-1
votes
1answer
10 views

Check Box Fields not working for Subscribes [closed]

I am using WP User Front End plugin for my blog which allows users to submit posts from the front end. In submit page, users can select a category using a check box. Administrator and authors can ...
2
votes
0answers
24 views

Author Role - Allow editing of Gallery images

Is it possible to give the 'Author' role the capability of editing image titles and captions on post's they have created ? I have a number of users set to 'Author' , but when i've tested it's not ...
1
vote
1answer
52 views

Publish author posts only with editor approval?

I run a multi author blog and i am looking for a non plugin solution. The default author user role in Wordpress can publish posts without any approvel - look at Role Capabilities Wordpress Codex. ...
0
votes
0answers
13 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
2answers
32 views

Conditional tag based on the role of author in author.php

Is there any way to display different data in an author.php profile template depending on the role of the profile displayed? (NOT of the person viewing it, but the author that particular profile ...
0
votes
0answers
6 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. ...
1
vote
1answer
96 views

Ajax call in wordpress not working for subscriber user in front site

i have simple wordpress form to add data in custom table in wordpress using Ajax my Ajax code jQuery.ajax(ajax_object.ajax_url, { type: "POST", data: data, cache: false, ...
0
votes
0answers
18 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
1answer
30 views

How to get a user role of a specific blog in multisite?

How can we get a user's role of a specific site on a Multisite network? Let's say the user is a subscriber on the parent site and admin of his own subdomain. Is there a way to only return the role ...
1
vote
2answers
25 views

Change user role when post approve

I have two roles. A: The user sends a post for moderation B: The user publishes posts without moderation For new users the role of A. How do I do if I approve of his first post, the role is ...
0
votes
0answers
20 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
1answer
19 views

add user role selection to registration form

I need to add a select box or something like that into registration form in order to let my users to select custom roles I have defined.
4
votes
1answer
111 views

How to Change the Entire WordPress Admin panel Look and Feel?

I am trying to change the WordPress Admin panel look and feel for depending upon the different role types that are in WordPress. How can create/assign different themes for each role i.e. Editor > ...
0
votes
1answer
32 views

Get User Role by ID not working

I'm using the PHP code seen at the bottom of this post to get the user's role from user ID. It works, but fails if the user role has been changed after registering. I've been looking for ages trying ...
0
votes
0answers
19 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
36 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 ...
5
votes
1answer
215 views

Allow user to “edit_others_posts” to save only, not publish

I want to add a couple of editors that can edit_others_posts, but I do not want them to be able to publish others posts, only save the post by clicking on the Submit for Review button. How can I do ...
0
votes
0answers
38 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
23 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
13 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
1answer
16 views

Hide some portion on single.php base on author

I would like to hide some portion in view post base on author. My requirement is that I have an job board theme and user can post the job. So there is "How to Apply" section in detail page. Now, I ...
0
votes
0answers
21 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
1answer
16 views

How to get only 1 role from user

I have this code that will display all the roles for that particular user, but I only need to display 1 role from the user. I have installed bbpress so the code below will display out 2 roles. $user ...
0
votes
1answer
79 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
46 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 ...
3
votes
1answer
88 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
32 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
30 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
29 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
43 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
14 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
20 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
41 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
45 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 ...
1
vote
0answers
23 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
32 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
26 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
33 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 ...
1
vote
1answer
64 views

How can I modify the Capability needed 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 ...