Questions tagged [user-access]
The user-access tag has no usage guidance.
400
questions
0
votes
0
answers
9
views
How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin
How can I remove (or edit) Editor account privilege's, to prevent Editor accounts from making any changes to things Admin accounts upload or create?
For instance,
Prevent Editors from deleting/...
0
votes
0
answers
28
views
Allow users to edit post without logging in
I'm working on a site where non-logged in users are able to submit their posts. It's easy to do on front end, however, when the posts need to be edited, it's a completely different story.
So, is there ...
0
votes
0
answers
22
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
1
answer
67
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
27
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
155
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
34
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
276
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
1
answer
86
views
(How) does WordPress protect direct access of user data?
I am setting up a WordPress with a user system.
User information (names, profile picture) of all users should be private, and only accessable when logged in.
The "Ultimate Member" plugin ...
0
votes
0
answers
33
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
344
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
1
answer
216
views
MySQL query to list users who never signed in
What MySQL query can I use to get a list of users who have never logged in to WP?
Some background...
My WordPress website has been running since 2015 and initially, I had a newsletter form that would ...
-3
votes
1
answer
130
views
Creating Custom Login Form Where Password Field is Dropdown Menu
First, I want to name that I think purchasing MemberPress and some customization of their login form would make this possible. However, we are not planning to fully utilize anything else the ...
1
vote
1
answer
79
views
How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount
I'm looking to write a little function that counts how many pages the user has clicked through in this section. When it gets to a certain amount, I want to prompt them to log in and prevent them from ...
0
votes
1
answer
76
views
How do you manage your pages or functions that require logged-in users?
I'm having more functions and pages that require my users to be logged-in.
Below is what I have in each of my functions, kind of a hassle to keep repeating this code.
$user_id = get_current_user_id();
...
1
vote
0
answers
362
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
54
views
if role is logged in then do something
I need some pro eyes please.
Over all, I'm adding one button/link to the MAIN NAV depending on the logged in role.
I have this “working” code:
if ( ! function_exists( 'add_extra_item_to_nav_menu' ) ){
...
0
votes
1
answer
260
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
53
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
1
answer
556
views
Hide all pages except landing page
I'm working on a website that is still being built; however, the client would like to launch a landing page while it is being finished. What is the easiest way to make it so all the pages of the site ...
1
vote
0
answers
55
views
Multisite registration problem [closed]
We run a multi-site network instance of Wordpress at our institution. We synch our Active Directory daily in order to automatically create WP accounts for new users (e.g. basically subscribing them to ...
0
votes
1
answer
167
views
unique url access control
basically I'd like to have my page accessible by only certain listed users which we'll make a unique code.
for example user A will be able to access with an URL like:
www.mysite.com/?u=UserA
but ...
0
votes
0
answers
1k
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
71
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
23
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 ...
0
votes
1
answer
909
views
Hide front-end from every logged out user and redirect them to the default login page
I want to hide the front-end from every visitor/logged out user. To see the front-end, every user must have been registered and logged in.
Any visitor that's logged out should be redirected to the ...
1
vote
1
answer
858
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 ...
0
votes
1
answer
35
views
Is there a plugin for Wordpress for creating 'Accounts' where all users who belong to that Account can only see Account data? [closed]
Is there a plugin for something where I can group users into an 'Account' and then one particular Account is restricted to seeing only content targeted to that group (therefore a user would need to be ...
0
votes
1
answer
517
views
Update user role for expired membership
Is it possible to use a function in functions.php that would automatically change user role when a membership goes from status "active" to "expired" ?
For example : if an active ...
1
vote
1
answer
2k
views
Can't access WordPress as an admin - but I can log in as a user! [closed]
Hi I have the following issue:
I am the admin of a WordPress/WooCommerce shop that has been around for a while. As of today, when I try to log into Word Press as admin I either don't get access to the ...
0
votes
0
answers
37
views
Anonymous users can not access website
I have inherited a WordPress shopping website with WooCommerce. Prior to me, retailers used the website to place orders for the items to be sold in their shops. As a result, a forced login was ...
0
votes
0
answers
284
views
Is there a way to allow users with "Subscriber" user role to access media library in backend and frontend
Is there a way to allow users with "Subscriber" user role to access media library in backend and front end with image editing ability? Subscriber can access the media library but unable to ...
0
votes
0
answers
18
views
How do I share a site only to one User at the time? Please help 🥺🙌
I have a problem and can't find a solution.
The Problem
I have a Google sheet embedded in my site and I want that only one User can enter the site at the same time so that user2 can't see User1 data ...
4
votes
0
answers
271
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 ...
0
votes
1
answer
733
views
404 error on new pages but only for non logged in users?
So. Issue as title. Have researched lots but am near insanity!
Have done all the 'Refresh permalink' thing
Have edited .htaccess(*) and put generic rewrite code and refreshed permalinks again - the ...
0
votes
1
answer
408
views
How to Find The Email of a WP Admin Account
I recently started some freelance work, but the credentials my client gave me seem to have "Author" privileges at best. The section of the WP dashboard that usually has "Users", &...
0
votes
1
answer
74
views
How to make WP page accessile only to specific user roles
I am creating a website that consists of a "Home Page" (public) that has a login link to the WP login page, then, there will be different pages that are only accessible to specific logged ...
0
votes
0
answers
190
views
How to logout the current user without notices and warnings?
I'm trying to avoid that subscriber users had access to admin. I'm using the following code:
add_action( 'admin_init', 'lr_no_admin_u_access', 100 );
function lr_no_admin_u_access() {
global $...
0
votes
1
answer
919
views
How to generate expiring URL of the page?
I have a Wordpress site with sensitive private data and I email the link of the whole page to a client via email etc.
How can I expire the link after 1 Session, So if a client opened the link to visit ...
0
votes
1
answer
26
views
Using WP for user management
I want to use Wordpress for the user management of a simple web app.
What I really need to do:
Check if a user is logged in
Save meta data to a logged in user
Read meta data of a logged in user
...
0
votes
0
answers
29
views
hide theme files for admin beneath root
The purpose is to give full admin rights, but not to the proprietary theme files.
Our website is on /root/public_html/
We want to move only the themefolder /root/public_html/wp-content/themes/
beneath ...
1
vote
1
answer
89
views
How to restrict logged user to view only certain pages?
How can I restrict a specific logged user (current role is subscriber) via wp_get_current_user() to view only specific pages?
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 ...
0
votes
0
answers
22
views
How do I allow a user to purchase an expiring passcode to access part of my website, from my online store, similar to pay-per-view?
I am trying to add functionality to a website I am starting to create, which is a bit like a pay-per-view video channel, where a user (without registering) would go onto my online store and purchase a ...
0
votes
0
answers
167
views
Restrict Users to Only Edit Media Owned by Users in Their Role
I want my users to only be able to edit media that is owned by other users in the same role as them...
So far all of my research online the past two days have resulted in almost nothing useful to me, ...
1
vote
1
answer
2k
views
Access denied on Published Pages but not on Wordpress /wp-admin/
I have a website, where all of a sudden I'm getting "403 Forbidden" in the status for the request url, and Access denied in the HTML page.
This issue is happening only with the links of published ...
1
vote
1
answer
19
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 ...
0
votes
1
answer
78
views
Remove plugin settings from post creation page for a user role
I want to remove plugin settings from the bottom of the post creating page for a given user type. I want to remove the "Plugin Organization" drop-down from the post creating page for a specific user ...
0
votes
1
answer
710
views
How to download file without login to wordpress account?
The following link is used to share individual customer/user to download invoice PDF file. But each time they have to login and download PDF file. I want this link should download PDF file without ...
0
votes
1
answer
260
views
Can I "protect" a page with a form asking for an email address?
I am developing a viewing room for an art gallery. Viewing rooms are pages with content that can only be seen by visitors if they provide their email address to add them to a newsletter. Something ...