The user-access tag has no wiki summary.
15
votes
3answers
220 views
How to enable suggested edits?
I like the idea of enabling any user of my website to suggest edits to a page. Much like the edit system on Stack Exchange but different in that anyone should be able to edit, not just registered ...
7
votes
6answers
637 views
How to restrict attachment download to a specific user?
I have a very specific use case where the site built for a lawyer and each of his clients can login to their own 'specific page/portal' (custom post type) without the ability to access wp-admin etc. ...
5
votes
3answers
6k views
Allow member to have access to custom post type only. Permission to only edit their own posts
OK I'm looking for the best way to attack this.
I'm very comfortable with PHP and making custom post types with custom meta fields in WordPress.
Here is what I'm looking at doing:
User registers ...
5
votes
1answer
328 views
Disallowing Users of a Custom Role from Deleting or Adding Administrators?
(Moderator's note: The original title was "Custom User Role Restrictions")
A project I am working on requires me to create two new user roles - one for the owner of the website and the other for ...
5
votes
3answers
743 views
Allowing specific users to only add posts using certain custom taxomy terms
I was searching through the forums, but I can only find slightly related issues.
This is my problem:
I'd like to assign some editors the capability to only add posts in a predefined term of a custom ...
4
votes
2answers
2k views
How do I create a custom role capability?
I wish to create a custom capability for accessing the interface of my plugin.
Should the plugin manage adding this capability to all the administrator accounts on activation?
If so: Does WordPress ...
4
votes
1answer
124 views
Theoretical Multi-Server WordPress Setup with Shared Users
The organization I work for would benefit if we could take the existing WordPress installations that are located on several (~5) different servers and be able to use a universal database with the ...
4
votes
1answer
725 views
Filtering the Admin Comments List to Show Only Comments from the Current User?
In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments.
I'd like the users to see only his/her own comments and the comments that are left to ...
4
votes
1answer
2k views
How to assign specific users the capability to edit specific pages / posts / custom post types
I'm trying to implement what seemed like a relatively straight forward idea, basically I am building an access control plugin to control viewing and editing of a custom post type (in this case ...
3
votes
2answers
2k views
Allowing an email as the username?
Is it possible to allow people to utilize their email as their username?
3
votes
2answers
1k views
How can I hide a category from Contributors in the edit/add new post screen?
I have a situation where I need to hide a specific category and it's children from users who are logged in as Contributors. I don't want them to see this category and it's children in the categories ...
3
votes
5answers
754 views
Moving wordpress from localhost to server throws admin panel access error?
I've a working version of wordpress in localhost and i tried to move them to the remote server.
As i've another wordpress installed in the same server and tried to rename the current tables to the ...
3
votes
1answer
706 views
Post list based on the user that is logged in
I've been all over this site and google, and the WP codex looking for an answer to this one. I know it's out there, and I know it's easy. Maybe has something to do with user_nicename, but I just can't ...
3
votes
1answer
225 views
The 'user_has_cap' hook seems to take two page loads to trigger
This question relates to another question I asked recently (http://wordpress.stackexchange.com/questions/29009/how-to-assign-specific-users-the-capability-to-edit-specific-pages-posts-cus/), the ...
3
votes
3answers
80 views
Multisite Independent User Base
I run a multisite blog farms with all blogs having a consistent functionalities (theme and plugins and some basic content), but independent from each other in terms of user database. I would like to ...
2
votes
4answers
3k views
How to restrict access to uploaded files?
I have a restricted area on a website that can only be accessed by logged in users. Fot that I created a page template with a 'current_user_can()' condition.
My problem is that the documents attached ...
2
votes
2answers
63 views
What is the difference between “create_users” and “add_users” capabilities?
The codex lists both create_users and add_users under roles and capabilities.
Does anyone know what is the difference between these two?
2
votes
5answers
287 views
How to add another user to this remove_menu function?
Pretty self-explanatory. How does one add another user to this function for functions.php, i.e., user2, who will be shown different menu items than user1?
I tried adding another ...
2
votes
1answer
46 views
Restrict certain posts from being sent to the feed subscribers
Is there any way to restrict certain category’s posts or certain posts from being displayed into site default feed after published? I’m asking this because I don’t want few specific categorie’s posts ...
2
votes
2answers
145 views
How to show a category post to a specific registered user
I'm working a private blog and I'd like to know if this can be done with any other plugin or any other way:
Lets say we have 3 categories: CA, CB and CC, and 3 users, UA, UB and UC, all of them can ...
2
votes
1answer
164 views
Add user capability and check against it
I just realized the following:
// Call the current user info
global $current_user;
// Add a capability
// and set the 2nd argument ($grant) to false
$current_user->add_cap( 'some_cap', false );
...
2
votes
1answer
266 views
How to manually activate user in dashboard only by admin
I'm looking for a function that allows admins (only) to activate new users. When a user registers he have to be approved by the admin before he gets access to log in.
Does anyone know how I can do ...
2
votes
2answers
2k 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 ...
2
votes
1answer
94 views
Restricting access to content
I'm developing a functionality to let only customers and doctors have access to exam results. But i'm not so sure about the strenght of my code in securing view only to those authorised.
I've gotten ...
2
votes
2answers
138 views
Add a wordpress blog to my website having users
I have a php/mysql based site with users segregated into different groups... i want to add blogging system to it so that each group has its own blog which can be authored by users who are designated ...
2
votes
1answer
406 views
How to inhibit dashboard and profile management access to normal users?
I am developing a site using Wordpress, phpbb3 and WP phpbb Bridge. Users have to manage their profile through phpbb3 and I would like to inhibit normal users access to page mysite.com/wp-admin/ .
...
2
votes
1answer
1k views
authenticate user without password from email activation link
I have my own activation mail for new users that are added via a plugin in the wp backend by an admin. The user is also added as an author to a post and I want him to activate the post (which will ...
2
votes
1answer
658 views
User Access Manager plugin
I have updated the UAM plugin from 1.0Beta2 to 1.1.4 (latest at the moment) and it stopped working. When I select a group to have rights for an article - the selection is not saved.
I checked with ...
2
votes
2answers
128 views
Restrict access and display for categories
Is it possible to choose specific categories that will only be displayed to logged in members?
I tried to find a plugin or a PHP solution that does that but could not find anything that was still ...
2
votes
2answers
435 views
create a back-end wordpress content submission using custom post type
I have a previously created thread here, but was recommended to make a new one:
I need basic help with custom post types.
Basically here's my project:
I have to create a back-end wordpress gui user ...
1
vote
2answers
301 views
How to check if user is in back end?
In my application, i have one form.
Now if user is in front end i want to display the title but if he is in back end i do not want to display it.
I do not want to check it based on user role.
1
vote
1answer
448 views
Edit Post VS Custom Form
I have a blog which relies heavily on user generated content.
I would like my users to be able to create posts, but the posts must only have specific fields:
title
content
an attached image
two ...
1
vote
1answer
45 views
Is there an existing capability to allow editing of only pre-existing pages? If not, a good way to implement this?
I'm working on a setup for which I need general users to be able to edit a specific list of pages, but not create any new ones.
Looking through the Codex, I don't see anything that will come close to ...
1
vote
2answers
2k views
Limit access to posts/pages by user roles
I'm looking for a way to protect content by user roles.
Example:
you have to be registered to view posts (frontend).
If a user is a subscriber he can read post 1, 2 and 3, but if the user is a ...
1
vote
1answer
539 views
How can I get multisite primary blog (url or path) for current user?
In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog.
I know how to determine if a ...
1
vote
2answers
588 views
Is there a plugin that lets users request an account on the site?
Is there a Wordpress plugin that lets users fill in a form to request an account that then has to be cleared/activated by an admin for the user to get access?
1
vote
1answer
299 views
Capability for allowing user to post own comments without moderation
I work at a radio station that has several WP user roles -- for simplicity sake, let's say Admin, Programmer, Subscriber, in decreasing order of ability.
Currently, Admin users need to approve ...
1
vote
2answers
651 views
Restrict post to user_id
I only want a post to be viewable by the administrator and one user. (So I would have a post for each user)
I am thinking of using the Members plugin and meta-data/custom fields to restrict the ...
1
vote
1answer
131 views
Upgrade Nightmare - No Posts, Permissions Issues and Can't Create a new post
Symptoms:
Can't view ANY previous Posts, but the correct totals are listed by class - published, draft....
When creating a new post - no save or publish button
Unable to administer ANY plug-ins - ...
1
vote
2answers
224 views
add_option_page capability behaving strange
I am trying to build a class to make the job off adding new settings easier. The trouble I am having is that, although I have traced the variable through all of it's stages, the string ...
1
vote
2answers
317 views
Restrict dashboard access for specific user roles to specific actions
I have a script that enables a logged in user (role Author) to delete their own posts using get_delete_post_link(). However, I also want to be able to restrict the author's access to the dashboard. ...
1
vote
1answer
348 views
pre_get_posts Remove posts based on meta value with 'post__not_in'
I am attempting to alter the query of pages where the post meta value of _members_access_role does not meet that of the currently logged-in user. Here is what I have so far:
// Get all posts with the ...
1
vote
1answer
316 views
How to create a front facing user sign up, log in and profile pages like FoodGawker.Com
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
401 views
How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
I'm developing a simple "member's only" section within a website, with the sole intention of allowing the client to post files for their members. I've come to realize quickly that the posts' ...
1
vote
2answers
75 views
moving server can not login
I design my site in win7 system, and today before a server rent, I moving my blog from win7 to my another computer witch is installed CentOS 5.5 for a last test, I have reference the article ...
1
vote
1answer
723 views
Why is the reset password key missing in the reset password email?
Wordpress 3.2.1 - The reset password URL in the email generated by http://mysite.com/wp-login.php?action=lostpassword does not contain a valid key and so users are unable to reset their password.
We ...
1
vote
1answer
361 views
How do you add a custom option to user data?
I would like to add avatars to my users. I have a limited group on a site I'm working. Uploading isn't really a problem we can just put the images on the server and use URL's to set our avatars(Only ...
1
vote
1answer
134 views
Is user listing on wordpress private?
I'm creating a website using Wordpress. Users are registering on it as "Subscribers". When you register, you have a small panel with some custom info on it (that I made, creating a custom template)
...
1
vote
1answer
308 views
Restrict access of admin uploads to certain logged-in users?
This is a very open-ended, speculative question with lots of possible angles: has anyone worked with ways to restrict the access of certain uploads to a logged in user?
I.e., how can the site admin ...
1
vote
1answer
1k views
Allow Users Access to Custom Post Type Only
I am in a similar situation to this person, only I need a bit more hand-holding. I don't have a good understanding of php but can cut and paste code with the best of them.
I have Justin Tadlock's ...
