0
votes
1answer
21 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 ...
0
votes
1answer
19 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 ...
1
vote
1answer
37 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
0answers
44 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 ...
2
votes
1answer
86 views

Is there a simple way to manage capabilities per user?

I have a WordPress-Site where some people (non-expert clients) need to create/manage users. The site uses multiple custom post types and each user is assigned permissions for one or several of those ...
0
votes
1answer
29 views

Remove specific administrator's capability

I've created two administrator users X and Y. And now I need to remove capability of 'edit_plugins' from user Y. I've searched and found, http://goo.gl/LttuvX $user = new WP_User( 'Y' ); ...
1
vote
1answer
183 views

If current user is admin or editor

How can I check to see if the current logged in user is an admin or an editor? I know how to do each singularly <?php if( current_user_can('editor')) { ?> stuff here for editors ...
0
votes
0answers
24 views

how to redirect users to a custom page when they click on their display name or “my profile” or dashboard?

How to redirect users to a custom page when they click on their display name or my profile or dashboard on my WordPress site. Because I locked /wp-admin with this add_action('admin_init', ...
0
votes
0answers
26 views

Cannot Save User Roles - Set a Role, says Updated, but no Change

thanks for reading my question. I have a Wordpress Site with Delicious Magazine Theme installed. In Users --> Edit User, I want to change a specific user's role to Contributor. When I make the ...
0
votes
0answers
25 views

Linking a user with a specific post type they are allowed to modify and hide the rest

I've looked everything on internet but didn't found the answer to my problem. Here is my situation. I'm using, for a college website, Wordpress 3.8 and the amazing plugin Advance custom field and CPT ...
0
votes
1answer
114 views

the_author_meta('user_url', $author->ID) not working properly. how can I solve this?

I have 2 authors and an admin on my blog. I am using the following code in my contributors.php function contributors() { global $wpdb; $authors = $wpdb->get_results("SELECT ID, ...
0
votes
2answers
40 views

Given multiple admin accounts, how can I make it so that only admin with X username can edit posts

My question is pretty much in the title. I have 2 or more administrators, but I only want the admin with X username to edit the title of the posts while others can only view them. Feel free ...
2
votes
1answer
97 views

How can I let users to access plugin functions based on roles?

I use a plugin called "Live Edit" to let authors and editors edit the content front-end. But the issue is that the plugin lets any logged in users to edit the content. I want the edit(specified by ...
0
votes
2answers
148 views

WordPress Multisite and S2Member - How to add new users to all blogs?

We have WordPress setup to run as Multisite and are using the S2Member plugin. We are also using a modified version of the 'Multisite User Management' plugin. The Multisite User Management has a ...
0
votes
2answers
58 views

How should I setup the “Users” area to hand over to a client?

We're about to hand over a Wordpress site to a client; this is the first one we've built from scratch. Our "Users" area just consists boringly of the admin login with my work email like so: . ...
0
votes
1answer
35 views

Preventing role reading others posts

I've got a custom post type that I want to allow a specific user role to add posts to, however they must not be able to read posts from others. Here's my custom post type code: ...
0
votes
1answer
122 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
0
votes
1answer
74 views

Display and Allow users to edit their own profiles

I'm working on a site that would have different categories of users, and each user will have his own user profile page with a vanity URL, which he can share with others. The users are divided into ...
0
votes
1answer
21 views

Is there any way to give all users access to one blog in a multisite network without using a plugin?

I know there are various plugins out there to help with multisite user management, but we have a policy of avoiding plugins for a) overzealous security policies, and b) interfering with our already ...
0
votes
0answers
10 views

Create and Assign Page on Signup

I would like users to be able to have a personal page that they can edit when they sign up for an account. I know of WP-MU, but I don't want a blog for each user, just a page of a specific post-type. ...
2
votes
2answers
159 views

Set a maximum upload count for users on a specific user role

For users with the Contributor user role, I want to restrict the total amount of images that they are allowed to upload. I found this code posted on an answer here: add_filter( 'wp_handle_upload', ...
0
votes
1answer
226 views

Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?

even though I think I understand the hierarchy of roles in WordPress, I never really bothered creating my own user roles or custom capabilities. What I need to achieve is to assign a few capabilities ...
0
votes
0answers
15 views

How to hide user posts? [duplicate]

I installed 'User Role Editor' plugin in a student journal site where students can submit their assignments and projects. The problem is if someone creates a new user, by default, posts by other users ...
0
votes
1answer
72 views

Get users with different roles and call function on each of them (user_meta)

First of all, I have a custom function in functions.php that gets some author information. This works on great on single posts with a single author. <?php function the_author_box() { ?> <div ...
1
vote
0answers
75 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 ...
2
votes
1answer
57 views

How to stop a user from updating the post date

I have a custom role, called "dealer". Once they have posted a new post, they cannot delete it. It's important they cannot update the date either, and I'm a little stuck on how to do this. It looks ...
2
votes
1answer
102 views

WPMU - new users are automatically subscribed to the main blog - how to prevent that?

New users added via wpmu_signup_blog($domain, $path, $title, $user_name, $user_email); are automatically subscribed to the main blog. Can this be prevented? I only want them to be administrators of ...
0
votes
0answers
48 views

Assign published post to SUBSCRIBER

I am trying to assign a post, edited from ADMIN user to a SUBSCRIBER user. I found this code around here to be added to function.php: add_filter('wp_dropdown_users', 'MySwitchUser'); function ...
0
votes
0answers
45 views

How to sync 'Other Roles' across Multisite in Wordpress?

This is in continuation to the solution given at How to sync roles across Multisite?. The previous thread conveyed how to sync 'Primary Role'. Have an additional requirement of Synchronizing 'Other ...
0
votes
1answer
76 views

Change User Role based on Point System Issue

Trying to change user role based on points. This is working seems fine till it keep increasing points. The problem happens when if we decrease points it is not changing role back to below stage. ...
0
votes
1answer
102 views

how to associate several authors to a custom post type

I have a "product" post type, to which i would like to associate several users according to their (custom) roles ( "designer", "producer"). They will be able to create (but not publish), edit and ...
0
votes
1answer
72 views

how do I add role and capability after I create a new user

I have a simple requirement: 1. create a user 2. create a role for the user 3. add capability for the role First, create a new user $uid = wp_insert_user($userdata); Second & Third, create a ...
0
votes
0answers
34 views

No multisite but a super admin without sufficient privileges

I have no multisite but I'm super admin. Why I do not know. After I changed username and password on the super admin has super admin no longer all privileges. In some settings, and plugin, I get: ...
0
votes
0answers
48 views

author ROLE is showing NONE on admin panel

recently i have migrate my wp blog to a new server. but on the new server everything is working fine. but my author are not able to login. then i checked the admin panel all user. there i can see lots ...
0
votes
0answers
57 views

wp user role,username and email id is missing on wp admin panel

i am facing a totally strange problem on my wordpress blog. recently i have migrate my wp blog to a new server. but on the new server everything is working fine. but my author are not able to login. ...
0
votes
1answer
87 views

Get Authors Role

I am using the admin role and 2 custom roles. On the author.php i want to be able to place the role of that user. I am using this to pull the role out in text $curauth = ...
0
votes
1answer
69 views

How can I change my assigned user role in WordPress 3.5.1?

My current user role is "Administrator". I'd like to change my role to "Editor" (through out database field). I read Database_Description, but it did not help.
2
votes
1answer
301 views

Modify custom Users Manage page

I'm trying to create a submenu page under 'Users' which is like the 'All Users' page but for listing users of specific roles only. Let's just call this submenu page 'Customer'. So far I managed to ...
0
votes
1answer
85 views

How can I call a specific file (via php) by referencing the logged-in username?

I want to setup a page that will display different content for each registered user of my site who falls within a specially-created user role ('map_user'). So, for example, if a site user who is in ...
0
votes
1answer
254 views

How many people are allowed to use same wordpress account at the same time?

I can't find the answer. I don't know how many people are allowed to use SAME account at the SAME period of time in WP. Will it cause any technical issue, if the specific account is allowed to post? ...
0
votes
1answer
434 views

Role based permission edit for plugins

I have TheThe Fly Image slider installed on my website which has multiple users. I wish to hide the settings from contributors and authors, but allow editors and admin roles to be able to amend the ...
2
votes
3answers
225 views

Is it possible to get a user with just the password field?

I tried doing something like this: $user = $wpdb->get_row(' SELECT * FROM ' . $wpdb->users . ' WHERE user_pass = "' . wp_hash_password('password') . '"' ); But the ...
0
votes
1answer
146 views

Reapproval for edits and deletion after post is published

I regularly have guest authors who post one or more articles on a non specific schedule. So I provide them with permanent contributor accounts to avoid the hassle of making them accounts and deleting ...
7
votes
2answers
192 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
360 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
242 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 ...
0
votes
2answers
295 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
82 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 ...
4
votes
3answers
2k 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
141 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 ...