Names for a set of user capabilities.

learn more… | top users | synonyms (1)

2
votes
1answer
311 views

Users Role and Access

I am a bit of a novice to this so please be patient. I am trying to create a site with a programmer using wordpress, but not using it for blogs or post. I am not a programmer myself. I want people ...
2
votes
1answer
1k views

Role Capabilities: Add New Ones?

I'm trying to create a private type of community ... and the current Capabilities are great, except for the fact that I don't want users of a certain Role being able to see anything that someone else ...
1
vote
2answers
319 views

if user has a certain role then display image

so close to figuring this out, or not I'm not to sure! Basically what I want to do is on the authors page (so outside the loop) if a user role is an editor I want to display a little badge (but just ...
0
votes
1answer
664 views

How to create a front facing user sign up, log in and profile pages like FoodGawker.Com [closed]

Title: How to create a front facing user sign up, log in and profile pages like FoodGawker.Com Body: Hey everyone! I'll be as direct and detailed as possible. :) I want to be able to sign up ...
1
vote
1answer
303 views

How do I allow anyone to edit a post — but not access dashboard

I have a a business directory using premium press theme ---- I want all registered users -- to be able to edit and publish, upload images to any listing that has not been secured by payment. I do ...
1
vote
1answer
540 views

How to get the role id from the role name?

I need to retrieve the id of a role by giving it roles name. For example: if( current_user_can('editor') ) { //here I want to retrieve the id of editor. } How can I do that?
0
votes
2answers
192 views

Welcome Mails based on user role

hope you can help me. users can chose between subscriber and editor role on my website. now, i'd like to send a register welcome mail to EDITORS only (WITH a specific) text. subscribers must not ...
0
votes
1answer
476 views

Blocking Administrative Access to Authors and Subcribers?

I would like to turn off admin panel for authors and subscribers. Is there any secure way to keep them away from admin panel?
2
votes
1answer
272 views

Display Author role in archive or author page

I want to display author role on archive and author page outside loop I found this code on stack overflow and it works fine within the loop function get_author_role() { global $authordata; ...
1
vote
1answer
265 views

Update a users role based on number of posts published

I am trying to update a users role based on number of posts published when the user publishes a new post. I have tried this code but it does not work. add_action('publish_post', ...
1
vote
2answers
4k views

How to display user role

How to display user role on author page. I have created my own role (group) so I want to display the user role on below the post and on author list. I have tried this code but not working as its ...
2
votes
1answer
822 views

Temporary capability for current_user_can()

Is it possible to intercept calls to current_user_can() ? Example: current_user_can('rate', $post_id) There's no "rate" capability registered, but could I somehow hook into that function and do my ...
0
votes
1answer
2k views

Why is wp-login redirecting to the home page when I use this function?

I'm perplexed; I can't see where I'm going wrong with this code. It should redirect any subscriber-level users back to the site home page if they try to access anything within /wp-admin - but not if ...
1
vote
2answers
626 views

Menu page with list of users

I need a way to create a menu page with a list of all users for administrative purposes. The list will be used by users that don't have permission or acceses to the "Users" menu page. The page need to ...
0
votes
2answers
1k views

Custom wordpress admin page/url “You do not have sufficient permissions to access this page.”

Here's a custom wordpress admin page I created:- // code located in my custom plugin's php file function my_special_function(){ echo '<div> Hello World </div>'; } function ...
-3
votes
1answer
362 views

registration plugin [closed]

I am working on a website and need the fallowing functionality: From the admin area, I need to be able to add/remove/edit codes/tokens that I will later send out to people so they can come to my site ...
0
votes
1answer
63 views

Allow users to register as a higher roll than default with code

By default all new registrants for my site are assigned the roll "contributor" and then I make them request an upgrade to an "author" account through a form. I also send out invitations to join the ...
3
votes
1answer
244 views

Send a confirmation of user role upgrade conditionally

I'm using this snippet of code to send a confirmation email to user's when their account is upgraded to a new user role. function user_role_update( $user_id, $new_role ) { $site_url = ...
7
votes
5answers
4k views

Select subscriber as author of post in admin panel?

I want to be able to select a subscriber an author of a post in the admin so it displays their name as having written the post, but I do not want to give them any additional privileges (if they login ...
0
votes
1answer
231 views

Send confirmation email when a user's role is upgraded

I've been searching around for a solution but am coming up dry. I need to have a confirmation email sent to users when their role is upgraded. By default users are signed up as contributors and make ...
1
vote
1answer
411 views

How to check user role?

I have functions that have to execute based on the user roles. How do I check the user role so that I can insert the respective function under their role? EG. if ($_GET['role'] == "free member" ) ...
0
votes
2answers
130 views

WordPress Membership Plugin Advice [closed]

I need a plugin to allow every users to register and login to my site. I'm looking for a free alternative. I've google and found the following two alternative: ...
2
votes
2answers
3k views

How to limit user to publish post per day and per role?

I would like to know is there any way/Plugin to limit the user published post (in a given time span) by his role? Like this: Role A -> 1 post per day and 30 post total. Role B -> 10 post per ...
0
votes
3answers
2k views

Remove the Edit button in posts for permalinks on certain user roles? WP 3.3

I am using Wordpress 3.3.2 with the following plugin: - http://wordpress.org/extend/plugins/advanced-access-manager/ The plugin works perfectly but the author said there is currently no way to ...
0
votes
1answer
877 views

Remove Posts Quick Edit link for specific user role? WP 3.3

I am using Wordpress 3.3.2 with the following plugin: - http://wordpress.org/extend/plugins/advanced-access-manager/ The plugin works perfectly but the author said there is currently no way to ...
0
votes
2answers
1k views

reset the users roles - is there a way to do this?

any way would be acceptable for me, even hacking the DB. I have messed up the roles with MEMBERS plugin, and i need a way of reseting the roles somehow. i can't seem to find a proper way. ...
0
votes
1answer
72 views

Set Default User Role

I'm using WordPress 3.3.1. When a user registers, I want to be able to set the new user to an author. How would I do this?
-3
votes
2answers
2k views

Wordpress Super Admin

I'm trying to block any admin of a Wordpress install from being able to modify certain pages, the sort of stuff detailed here: http://wackao.com/be-a-wordpress-super-administrator/ . Is this even ...
0
votes
1answer
192 views

each user having category with their name and can add sub categories post in that category

I am looking for help or plugin for the following conditions of my site I am using wordpress 3.0+ version. my site is about School where students will get register and post their experience and ...
1
vote
1answer
158 views

Getting a role based on a localized role name

I use the following code to get the Administrator role $admin = get_role('administrator'); This works fine, but on a different WordPress language setup, this code breaks. For example, in French it ...
2
votes
1answer
339 views

How-to Delay The Capability To Publish Posts?

I use buddypress and all new members have the role of author. The site is more like a forum with one topic. I'm not worried about comments, just posts. Recently I have received a bunch of spam from ...
4
votes
3answers
10k views

Allowing users to edit only their page and nobody else's

We currently have about 50 pages, each of which I want a user (eg, bob, rob, smith) to be able to edit only 1 page. For example, bob & smith each have their own page. I do not want bob to be ...
1
vote
1answer
84 views

Admin permission for creating blogs in multisite

How can I do that ? I have some blogs and anyone can register and build a new blog . I'd like to limit them just to visit and comment not to build a new blog unless I allow them .
1
vote
1answer
627 views

can't see custom post content filtered under “mine” filter in admin panel

after creating a custom post type with custom post type UI plugin, and after creating the capabilities for a new role to edit, delete and publish it's own custom posts with User Role Editor plugin, ...
0
votes
1answer
863 views

How to Add Author Editing Capability to Existing Post by Admin

I apologize if this is mentioned on here but I can't find any information! Anyway, I am building a WordPress site where I created the content with my administrator account. However, once the site is ...
0
votes
1answer
857 views

remove menus for a specific role?

I saw this snippet to remove menus: function remove_menus () { global $menu; $restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), ...
0
votes
4answers
478 views

Restrict access to non-wordpress section of site with user roles?

Is it possible to limit access to a page using wordpress user roles that isn't included in the wordpress install. For example I have a CS Cart install with only a couple of products but I need to ...
0
votes
2answers
783 views

How to disable Edit Post and Allow only Custom Field?

What I would like to know is if it is possible to disable the edit post function in wordpress based on User's roles. I try to explain better. Let's take an 'Editor' as role example: I would like ...
1
vote
0answers
70 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
1answer
854 views

Control Category of each user can post

i need to know if has some plugin to control category of each user can post. Exemple: USER A - Only can post on the category A USER B - Only can post on the category B Thanks for TIPS!!!
1
vote
1answer
440 views

How do I list in the backend all users that were assigned to a custom role?

From my previous question How to create and retrieve data from a special registration form? I would like to know how do I list in the backend all users that were assigned to a custom role? Is it ...
2
votes
1answer
1k views

Prevent or Disable creating new users or changing roles of existing users to Administrator

I am trying to give more permissions to the editor role by giving it access to create user accounts. See the code below. But I would like to prevent it from creating or editing existing users with the ...
2
votes
1answer
688 views

How to let someone preview a draft?

How can I let a user see my draft post; but don't allow them to edit them? Some context: I'm the only author and admin on my blog. I would like to let someone else read a post before publishing it. ...
0
votes
1answer
295 views

WordPress missing user roles on local dev machine. Live site works fine

I have a live WordPress installation and a local one for development purposes. I just exported the live database, replaced all occurences of the live siteurl with the local one, and imported on my dev ...
1
vote
1answer
1k views

How to loop through each user id?

The functions that I am aware of: WP_User and wp_get_current_user seem to only get the user object of the current user. As an administrator, if I want to display certain profile information in a ...
4
votes
2answers
1k views

Allow roles below admin to add subscribers only

I want to give a group of user types (Editor + a custom role) the add_users /create_users capability. The only catch is that I wanted to limit that capability to adding 'subscriber' type users only, ...
0
votes
5answers
7k views

How can I restore admin capabilities?

So yeah, I'm a genius. I managed delete all my admin capabilities (thank you very much Membership plugin). I could restore them, ...if I had admin access, lol. Anywhoo, how can I give all my ...
4
votes
1answer
1k views

How to remove administrator role in settings -> general -> New User Default Role?

I don't want to accidentally select Administrator role. So is there a way to remove it from Settings -> General -> New User Default Role ?
0
votes
1answer
1k views

WordPress Login redirection according to user role

In my application a user needs to 1stlogin and is then able to access the website. There are 3 different user roles in use on my site administrator editor contributor User can login ...
1
vote
1answer
1k views

Within the database, where is the flag which says that a user has Super Admin rights?

I have an user in a Wordpress Multisite installation and have access to the Mysql database, I would like to give myself super-admin rights to access the wp-admin/network page. Where can I do it on ...