Questions tagged [user-access]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
zoe20's user avatar
  • 1
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 ...
Alexander Fragkakis's user avatar
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 ...
php-b-grader's user avatar
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 ...
RestAPPDev's user avatar
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(){ ...
Aljaz Jelen's user avatar
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 ...
DataSmarter's user avatar
0 votes
1 answer
39 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 ...
M.G.Poirot's user avatar
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 ...
Heman Annunto's user avatar
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 ...
Daemon's user avatar
  • 1
0 votes
1 answer
213 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 ...
Sannan Malik's user avatar
0 votes
1 answer
109 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 ...
Lazhar's user avatar
  • 183
-3 votes
1 answer
97 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 ...
KLB's user avatar
  • 1
1 vote
1 answer
38 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 ...
DJZEEGLER's user avatar
  • 119
0 votes
1 answer
43 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(); ...
ratib90486's user avatar
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 ...
naber brene's user avatar
1 vote
1 answer
47 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' ) ){ ...
Mike Loucas's user avatar
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 ...
BBBBB86's user avatar
  • 13
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 ...
harin1904's user avatar
0 votes
1 answer
219 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 ...
Psychedelic Wizard's user avatar
1 vote
0 answers
52 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 ...
David G's user avatar
  • 11
0 votes
1 answer
116 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 ...
kalista lanti's user avatar
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 ...
Pierogi's user avatar
  • 131
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 ...
pixelcrash's user avatar
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 ...
hossein's user avatar
0 votes
1 answer
724 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 ...
Zaeem Javed's user avatar
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 ...
Deepak Kamat's user avatar
0 votes
1 answer
23 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 ...
fakeguybrushthreepwood's user avatar
0 votes
1 answer
413 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 ...
nevax's user avatar
  • 1
1 vote
1 answer
724 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 ...
Diana D Jensen's user avatar
0 votes
0 answers
32 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 ...
mlhyyl's user avatar
  • 1
0 votes
0 answers
257 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 ...
radiax's user avatar
  • 1
0 votes
0 answers
17 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 ...
Proboto's user avatar
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 ...
Zach Wat's user avatar
0 votes
1 answer
571 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 ...
dbrdh's user avatar
  • 1
0 votes
1 answer
101 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", &...
James's user avatar
  • 111
0 votes
1 answer
64 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 ...
GeoLeo's user avatar
  • 1
0 votes
0 answers
183 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 $...
Luca Reghellin's user avatar
0 votes
1 answer
827 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 ...
JadoBulku's user avatar
0 votes
1 answer
24 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 ...
Timo's user avatar
  • 1
0 votes
0 answers
27 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 ...
Christel's user avatar
1 vote
1 answer
45 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?
danielradst's user avatar
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 ...
Rehab Ahmad's user avatar
0 votes
0 answers
21 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 ...
James's user avatar
  • 101
0 votes
0 answers
116 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, ...
natebryc's user avatar
1 vote
1 answer
1k 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 ...
arjun's user avatar
  • 121
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 ...
javier romero's user avatar
0 votes
1 answer
63 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 ...
shimii's user avatar
  • 15
0 votes
1 answer
603 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 ...
Goutam Chavan's user avatar
0 votes
1 answer
139 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 ...
leemon's user avatar
  • 1,806
0 votes
0 answers
53 views

Custom user roles are unable to login

I have created custom user roles 'teacher' and 'student' using members plugin. But they are unable to log in using wp_signon but the admin and other roles are able to log in. I tried using my custom ...
iDev's user avatar
  • 3

1
2 3 4 5
8