Adding password protection to user view in WordPress - wordpress

I know wordpress have a password-protect feature that can be set for each post and page.
Do any of you know if this feature can be added to viewing a user profile? (Set pw for each user, and not as a global password).
Example:
A visitor clicks on "user1" -> "Please enter password to view users profile".

Related

Creating WordPress account based on email only submit

Is it possible to create a WordPress account for users who submit an email (no password or username) through an email collection form?
I am looking at sending the user a link to their email to set a password and setup the account in full. The use case is content locking to signed up/logged in users without requiring them to go through the full sign up process. Thanks
I would recommend one of two options: 1) search wordpress.org for a frontend user registration form that may allow you to customize the password options or 2) simply use a generic form or subscription plugin to collect user info, create the new user on the backend manually and then send them an email with a link to change their password

Password field in register page on WooCommerce

I instaled WooCommerce, but on register page, on the form I have only one field (e-mail), but I need and password field on the page.
How to create a field with the password on this page?
#Asking: Go to Woocommerce -> Settings -> Accounts & Privacy -> Account creation
Uncheck -> When creating an account, automatically generate an account password
This will enable the password field on Register Page.

Wordpress - Manual Approve Users + Assign Password

I know that it's possible to manually approve new users that register into Wordpress site, but is it possible to hide the password field entirely in the registration form and assign these new users a password manually?

How could I do login of a user during registration form process

A customer ask to create a one step form : registration + login;
I have configure plone to let the user choose the password, so at data level we should be able to achieve this.
Now at code level, I have no idea which API I'm supposed to use to 'logged in' a user while having it's username and password.
By default Plone show two screen after the registration before having the web site:
registration form
success page with a login button
success logged in page.
have to move your self in the website has member
I want to short cut this to:
registration form
redirect to dashboard
You can use the updateCredentials() method on the acl_users user folder; it'll call the right plugins, resulting in a cookie being set for the user in a default Plone setup:
users = getToolByName(self.context, 'acl_users')
users.updateCredentials(self.request, self.request.response, username, password)
The method needs request, response, username and password parameters.
Customize portal_skins/plone_login/registered and insert a redirect to the dashboard.

Users are able to access old profile along with new one?

I have used Content Profile Module to make a content type of profile. I have then gone to my User management menu -> Permissions menu and given access to the "testuser" role to be able to create the new content type profile. Now when the user with the role logs on and clicks on "My profile" that has a path of sitename/user/username, he/she still goes back to the old profile and not the new content type I created. What am i doing wrong? All I want is users with "testuser" role to have a separate profile than the standard user. I sthis because my user has both roles of "standard user" and "testuser" ?
Yes. Drupal's access system is permissive: if any of a user's roles has a permission, the user will gain the permission as well.
It also sounds like you want to make the default tab for a user's profile to be your new content profile; if that's the case, check out this solution: Drupal - Set 'user/%/edit/uprofile' to default tab on 'user/%/edit'

Resources