Questions tagged [user-access]
The user-access tag has no usage guidance.
127
questions with no upvoted or accepted answers
4
votes
0
answers
222
views
Custom post type capabilities require "create_posts" to access the edit posts list page
I have a custom post type and a custom user role that I want to be able to do everything but delete and create this post type. However, this user role can't view the dashboard's list of posts for ...
4
votes
1
answer
1k
views
Give editors access to particular plugin - turn "admin.php" into "edit.php"
I'm using the Business Opening Hours plugin. I made it appear in the sidebar using the Client Dash plugin, but when the Editor clicks it, they cannot access it, only the Admins, how can I change that?
...
3
votes
1
answer
845
views
how to update current logged user username
I need to keep in sync the username and the email of my users. I don't know if there is a better way so I have tried running this code right after the user updates his profile data:
global $wpdb;
$...
3
votes
0
answers
743
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 ...
2
votes
0
answers
298
views
Limit users by custom taxonomy and user roles
This is not duplicated post!
I working on the custom theme and have 2 taxonomies: bezirk and ortsgruppen.
bezirk acts like main group and ortsgruppen is the sub group under bezirk. I need to asign ...
2
votes
0
answers
105
views
Wordpress Multisite prevent direct access to subdomain
Hi I have create a multisite in Wordpress and I use the main domain for the central website that projects 13 eCommerce stores with subdomains.
I want my client/visitor to connect to the subdomain ...
2
votes
0
answers
172
views
Share user table from WP with Drupal
I'm developing a sister website to a well-established private site that is already built in Wordpress. I can't use Wordpress to create what I need and I am therefore using Drupal. The owners of the ...
2
votes
1
answer
507
views
How to block access to blog-page for users not logged in?
My blogpage [is_home()] is located at /blog. My static page [is_frontpage()] is not the blogpage and located to /about-us.
For users not logged in, the startpage is the static page.
For users logged ...
1
vote
0
answers
287
views
Parent User and Child User - relate users
I need to create a system in which I have 2 types of users: Company User (C) and Employee User (E).
I need C to be able to register as many E as necessary and for C users to be able to publish ...
1
vote
1
answer
544
views
Not able to access WP Admin, it says "Sorry, you are not allowed to access this page."
All of a sudden we are not able to get to the admin panel of the website. Once I log into /wp-login.php it redirects me to the homepage or /wp-admin (depending on whether I visited wp-admin in logged ...
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
62
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
0
answers
348
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
214
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
108
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
426
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
53
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
288
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
340
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
123
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
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
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
189
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
97
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
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
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
345
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
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
0
answers
19
views
How to add default folders to Every registered User when registered in WordPress site?
I need some guidance on my work. As soon as the clients register on a WordPress site. I want the clients to see 4 folders by default: 2002 2003 2004 and Firm Documents.
Once the clients activate their ...
0
votes
0
answers
23
views
Weird Issue - Wordpress Multisite - Cannot Access subdomain's pages
Good evening to everyone. I will try to describe my (weird) problem, as detailed as possible and any help would be greatly appreciated.
I had a multisite that worked great. My company asked me to ...
0
votes
1
answer
22
views
Administrator user cannot access dashboard after localwp import
This is the 2nd time this has happened in the past few weeks so I thought I would try and get some ideas on how to overcome. There are a few others in the localwp community that have had the same ...
0
votes
1
answer
44
views
Wordpress change role from administrator to author by itself (automatically)
do anybody know this kind of phenomenon? I do not have any user managing plugins installed in my WP, but after some interaction e.g. editing pages or creating postings (its not matter) WP changes for ...
0
votes
1
answer
21
views
Get logged in user with - custom plugin
I am writing my own plugin and I am stuck quite early on. I am trying to get the ID of currently logged in user, via php script.
Something like this
add_action('init','do_stuff');
function do_stuff(){
...
0
votes
0
answers
122
views
Impossible to access the site administration
I have the following issue in the WordPress: When I connect with the administrator account, the page mysite.com/wp-admin/ gives the error message:
You do not have sufficient permissions to access this ...
0
votes
0
answers
20
views
Two users attempt to modify a page
I trust you are doing well
I am made a test to modify a page as an administration and an editor using incognito window for the user role editor.
I have noticed even if the administrator or editor ...
0
votes
0
answers
27
views
Multisite Login Access Restrictions
I am building a multisite where users can sign up to create a subsite about there business. I would like to have them be able to login to the backend and edit there subsite but restrict them from ...
0
votes
1
answer
229
views
Plugin or ways to limit number of users logging in the website,
Would like to check if there is any way (or plugin) available that can:
a.limit the number of concurrent users session by of user currently logged in to the website
b.limit the number of users logging ...
0
votes
2
answers
43
views
Admin Page access
There is a admin page that gives me this error on the page itself when I try to access it: “Sorry, you are not allowed to access this page.”
In the console it logs: “Failed to load resource: the ...
0
votes
0
answers
977
views
How to allow only vpn access to dashboard on Bitnami WordPress by IP address restricting
I'm trying to restrict access to the Bitnami WordPress(with apache) dashboard to VPN access only.
The current environment is below.
The WordPress site
The site build by AWS Lightsail WordPress ...
0
votes
1
answer
45
views
Infinite redirects at front end if logged in user is not an Admin (Toolset Access)
I bought the toolset access plugin to handle specific user roles for languages. Once I log in as a user - which is not an admin - can be any like editor, contributor etc. The front end will not be ...
0
votes
1
answer
21
views
Specify the level of access to different pages at the time of user creation
We have a personal template that has a number of different links and pages ,
We want to implement the ability to specify the access level for the user when we create the user
That is, specify whether ...