Questions tagged [user-access]
The user-access tag has no usage guidance.
399
questions
1
vote
0
answers
2k
views
wordpress user roles are not working
I have never assigned or used a role before on this site, I have just created a new user role with plugin "user role editor" and also assign an editor Role to other account, whenever I log ...
1
vote
1
answer
18
views
Displaying different in-page content to cliente/admin
i'm a young informatic engineer student who is developing his first wordpress website. It is a booking website when a client can see the available hours in certain local and book it, and the local can ...
1
vote
0
answers
17
views
Limit post display to post authors and create an exception for specific pages
I'm trying to limit the display of the content to authors and need to make specific pages viewable by everyone (i.e Dashboard / Data entry ...)
Any suggestions on how to add specific rules to display ...
1
vote
0
answers
66
views
User Session and Stored Cookies not get removed
I am using below code to remove the user session, cookies etc, but its not working. Please help me to resolve this issues
$userid = get_current_user_id(); //get current user id
sleep(30); //to ...
1
vote
0
answers
80
views
WordPress login problem
I have a rather strange problem with my membership created completely through code even if on WordPress.
Basically if I try to log in with a blocked URL for example:
https://example.com/example
...I ...
1
vote
0
answers
116
views
User-specific access to folders in Wordpress site
I want to use selfhosted Wordpress site to show GIS maps to my clients.
I create web maps with gqis2web plugin of QGIS program. It creates folder containing index.html and subfolders with js, css, ...
1
vote
1
answer
128
views
How to restrict access to image folder depending on whether product is purchased or not?
In WordPress I want to be able to sell sets of emoticons (png images). These sets emoticons are stored in a folder under the plugin (eg. wp-content/plugins/my-plugin/emoticons/set-1/happy.png)
Some ...
1
vote
0
answers
367
views
Good way to block users within a multisite setup without deleting them?
This is probably a common problem with multiple possibilities to solve. However I am asking for an easy solution as I guess I am not the first one to have this problem.
Assume we have a huge company ...
1
vote
1
answer
266
views
Only Allow Front End Access
I am new to wordpress and am looking at a way to only allow users access to the front-end of my site. It is a one page vlog site, but I am forcing users to register to view.
Is this handled in wp-...
1
vote
0
answers
110
views
Problem with automatic role change through cron job
I have a function called by a daily cron job that automatically changes the role of users after a period of time. The 1st role update should happen 120 days after registration, and a 2nd role update ...
1
vote
0
answers
456
views
Subsite access without being a member of the subsite in wp multisite network
How can a user access a subsite without being the member of that subsite in a wp multisite network?
What I understand is that a user can not access a private post in a subsite if he is not the ...
1
vote
0
answers
115
views
How to block access to files without modifying .htaccess or ngnix config? [closed]
I'm trying to prevent access to readme.txt files on a WP site. Normally, this would be easy by just modifying the .htaccess file or the ngnix configuration.
However, the host runs ngnix, which ...
1
vote
0
answers
63
views
WooCommerce plugin won't let me access settings
I downloaded WooCommerce and activated it normally. But it doesn't show up in my Wordpress sidebar to access the settings. When I do it from the plugins page it directs to a page that tells me that I ...
1
vote
0
answers
297
views
How to create user specific pages (not user role!)?
For my users on wordpress I have to manually upload research report for every user. the report is customised and different for every user. I am looking for a way to create user specific page, wherein ...
1
vote
0
answers
349
views
Reset Password policy
Looking for to add reset password policy.
Password specifications :
12 characters in length, 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character.
I find a hooks for manage ...
1
vote
0
answers
126
views
How can I allow an User to publish only 5 posts per month?
I want to give my users the ability to publish posts. User Role 1: Can Publish 5 Posts per Month
User Role 2: Can publish 10 Posts per Month
And User Role 3: Can Publish 15 Posts per month
It should ...
1
vote
1
answer
773
views
How to hide a specific part of dashboard for non-admin roles?
I am trying to introduce controls to users and promote users with elevated rights to monitor the users (which is still done my me, as the site admin) This is because the task is a bit comprehensive ...
1
vote
1
answer
1k
views
DOMAIN_CURRENT_SITE constant being regularly overridden [closed]
A few times now, our site's DOMAIN_CURRENT_SITE constant, stored inside wp-config.php has been overridden by what appears to be a reverse DNS of our sites IP address... Since we use AWS elastic IPs, ...
1
vote
1
answer
54
views
Assigning certain authors to specific editors
I have two editors(A and B), two authors(C and D).
I want to assign author(C) to editor(A), and author(D) to editor(B).
So that the posts created by author(C) only editor(A) can view and
posts ...
1
vote
0
answers
34
views
Problem with the Loop - want to limit the access to three free articles
What I'm trying to do:
If anyone who is not logged in, reads an article, I will increase a session var by one. Save that article ID via global $post and save the $post->ID to an array. After 3 ...
1
vote
1
answer
504
views
Create custom post with custom user rules
I am create a custom user post type testimonial and want to give permission to user to edit and delete there post but its show some error.
1. I created user rule.
function ...
1
vote
0
answers
38
views
How to add a private user page populated from sql?
I have taken over management of a Boy Scout website for around 75 kids. The site is a vanilla WordPress site and has no access control (other than admin).
I would like a scout/parent to be able to ...
1
vote
3
answers
1k
views
Why does get_posts only show results for Admins or logged-out users?
I use a get_posts() call with these arguments:
array(6) {
["include"]=> string(14) "1633,1634,1635"
["post_status"]=> string(3) "any"
["post_type"]=> string(10) "attachment"
[...
1
vote
0
answers
196
views
Where are $current_user->allcaps set?
I recently found a problem with WP in which even the admin has no permission to get to anything on /wp-admin/. Oddly enough, when I compared the $current_user->allcaps to those on a normal site, I ...
1
vote
0
answers
99
views
I can´t access my admin panel. I tried all possible solutions
HELP.
This morning I was editing a little line in the style.css file (to change the way the navigation menu displayed).
All of a sudden I was not able to access my admin panel, but the frontend was ...
1
vote
0
answers
96
views
Lock access to plugin options
While editing a post/page, that item is locked to the current user. How can something similar be accomplished with the settings pages?
Take this for example. admin A is changing settings for a plugin,...
1
vote
0
answers
55
views
Disable comments for a user? [closed]
Is there a way I could ban a registered user from posting comments, thus converting them to a read-only mode temporarily? Ideally I'd like this to be a set-it-and-forget-it solution (ban user for 2 ...
1
vote
0
answers
76
views
Multi-Site Subfolder User Permission Issue
Currently I have a header file checking to see if users are logged in, and then a "landing" page which allows them to view all the sites they have access to within my multisite network. This ...
1
vote
0
answers
138
views
How to "Global Ignore" / "Hell Ban" someone, restrict post visibility to the author only?
I'm looking for a way to deal with trolls by making any post they make invisible to everyone except them. This is known as a number of names "Global Ignore", "Hell Ban", "Troll Hack", "Tachy Goes to ...
1
vote
0
answers
2k
views
Wordpress administrator area access disabled temporarily due to widespread brute force attacks
My wordpress site admin side return this error. 'Wordpress administrator area access disabled temporarily due to widespread brute force attacks'. Can't access the site. Any one have similar experience ...
1
vote
1
answer
1k
views
Lost administrator privileges and can't find a fix
WordPress 3.5.1
Web Host: Windows Azure Cloud
Database Host: Cleardb
Web Server: IIS 7.5
I've built a custom child theme that runs on the Genesis Framework and it has multiple custom post types and ...
1
vote
0
answers
317
views
Conditional menu for registerd users/guests (Genesis framework)
I'm running Genesis Framework on WordPress and I have to display a different top menu for logged in users and a different one for unregistered users (guests).
I created the 2 menus in the WP backend >...
1
vote
1
answer
352
views
Users can only view their content from the front end
There was a great answer to how users can manage their posts only from the back-end. What I am wondering, is how to allow users to only see their posts, pages, etc, which have their user id attached ...
1
vote
2
answers
1k
views
How can I create an upload page for (and only visible to) specific users?
I'm working on a WordPress site we have for some software my lab is developing. What I'd like to do is add a page that would allow collaborating groups to upload their data to us for testing, but that ...
1
vote
2
answers
1k
views
Restrict Access in Admin Panel
I want to restrict access to certain plugin pages / normal WP Pages. I've found a way to Hide these pages from the menu but currently not restrict them. For instance, I have an editor and I don't want ...
1
vote
1
answer
2k
views
Limit a user to have access to only specified pages?
I have several users that I would like to put in user groups. The reason for this is each user group will have access to a specific set of pages or a specific custom post type. I would like to be able ...
0
votes
2
answers
10k
views
Custom user profile, registration, login page with theme
WordPress user profile page uses the administration interface, and its user registration / login page is not part of the theme. I would like to
change it into the custom theme of my site
customize ...
0
votes
2
answers
1k
views
Check if user registered more than a month ago
How would I go about checking if current user registered more than, say, 30 days ago? I would like to display certain content only to that group of users.
Thanks very much in advance for your help.
0
votes
3
answers
10k
views
Create a User Role with permissions to only upload files to the media library?
Some of the employees at my organization need to be able to upload files to a folder and share a link with others. It’s primarily documents like pictures, pdf’s and Word documents. And instead of ...
0
votes
1
answer
292
views
WordPress password as plain text in email
I am working on a project and we need to send users current passwords when they log in.
So the only option is to the use the password reset feature when the user enters the email, an email will be ...
0
votes
2
answers
3k
views
How to remove dashboard access (wp-admin) for author but not disable the capabilities?
i want author role can't access wp-admin but still enable the capabilities so they can delete the posts from front end page ?
0
votes
3
answers
97
views
How to change footer or <div> for different kinds of users in wordpress?
I am planning to make a website where non website members should see a different view of the footer.
Is this possible using css only?
0
votes
2
answers
244
views
Deploying Wordpress for clients - what do they have access to?
I've developed websites from scratch up till now and would like to switch to using Wordpress to save time and money.
I've done some theme customization and plugin work so far. I can see that users ...
0
votes
1
answer
5k
views
Add access control origin header information across multisite
I want to add the below snippet to my wordpress installation.
<?php header("Access-Control-Allow-Origin: *");?>
I don't want to add it in every template header as there are many of them and I ...
0
votes
2
answers
731
views
How can I stop access of unregistered user in wp-content/uploads directory without using .htaccess file?
I want to give permission to only registered users into my wp-content/uploads directory and stop access for those users which are not members on my site.
0
votes
1
answer
6k
views
I'm not able to get access to $wpdb [duplicate]
I'm developing some additional functionality with a jQuery autocomplete form, some custom database tables, and PHP to query the tables.
I have it working outside of the WordPress framework using ...
0
votes
2
answers
1k
views
Plugin creation - how to add user rights?
I wrote a little wordpress plugin and I want to grant only specific roles or users access to it. Is there a way to do this?
0
votes
1
answer
229
views
Create a WordPress administrator without access to back-end
My site recently got hacked, and all my admin users lost their administrator level access. But when I access mySQL database, I saw all the users still exist.
How can I create an administrator when I ...
0
votes
2
answers
5k
views
Make pages visible to only logged in members
I want to make a page for each user on my website. When a user logs in, I want them to be able to click on pages that are just designed for them (basically when they log in, I want them to be able to ...
0
votes
1
answer
474
views
Grant a person permission to moderate all comments on a blog without giving them the ability to edit other peoples post
I'm trying to figure out how to create a wordpress role that grants the user the ability to only moderate all comments (including for posts that aren't there own). The only way I've been able to do ...