Questions tagged [user-registration]
The user-registration tag has no usage guidance.
919 questions
0
votes
1
answer
20
views
How could i add username field in WooCommerce
I don't know how to add username field in registration page.
There is no settings about this also.
Used to be there is a setting about adding a username field but not now how could i add username ...
0
votes
0
answers
34
views
User has empty instead of custom role when logged in
I am doing custom registration and logging and assigning a custom user role.
I register like this:
$user_id = wp_create_user($username, $password, $email);
if (!is_wp_error($user_id)) {
...
0
votes
0
answers
20
views
Change or replace user_profile_picture_description filter, to stop stripping whitespace
It appears that whoever coded WP's user profile form (or BBPress's, if BBPress is replacing the default one) considered it the most important mission in the history of humanity to prevent anyone from ...
0
votes
0
answers
183
views
Spam Registrations Bypassing WordPress Registration
I have a custom platform built that requires users to register with more information than is required by the standard WordPress registration process.
I also have custom front-end login and password ...
0
votes
1
answer
75
views
Prefix user login_name and validate it is unique on Registration
I want to add a static prefix to each new user who registers.
I do it using the pre_user_login hook
Example:
function prefix_user_on_registration($username)
{
if (!str_starts_with($username, '...
1
vote
2
answers
40
views
Include New Meta Field In New User Registration Email
I am currently using the below code to add some meta fields to my users and would love to include these in their registration email, but it appears they are not created before the email is sent.
// ...
0
votes
0
answers
52
views
Disable Email Register form
Disable Email Register form account.
I want my customers to sign up with an account and password but without email
Wordpress allow this ?
0
votes
1
answer
126
views
My account page, don't show the complete "Registration form"
my account page of woocommerce, is normally split in two, left side for registration and right side for login.
The registration part contains only two fields: email and password. It's normal this view?...
0
votes
0
answers
69
views
Create Application Password when User Registers
I can successfully create application passwords using the POST /wp/v2/users/<user_id>)/application-passwords endpoint but is there a way to have WordPress create an application password for a ...
0
votes
1
answer
39
views
Allowing a CPT post to be edited by a single user role
I am in the process of creating a form for a user to fill out to create a listing request which creates a CPT post and user record.
In this process, I want to copy the subscriber role, rename it '...
0
votes
0
answers
62
views
Limit username in WordPress registration form to numbers
I want to get only a ten-digit number that starts with 9 as a username from users.
How to limit the number type with 10 characters and start with number 9?
0
votes
0
answers
28
views
Who among the registered users visited that page?
I have a site on which users register so as to view xy protected posts accessible only to those who log in.
The customer wants to know who among these registered users (name, surname, email...) has ...
0
votes
0
answers
20
views
Condionally/limited emails from system (cantact-form, registration, passwd reset)With
With:
add_filter( 'wp_mail_from', 'my_mail_from' );
function my_mail_from( $email ) {
return "[email protected]";
}
add_filter( 'wp_mail_from_name', 'my_mail_from_name' );
function ...
0
votes
0
answers
23
views
Adding rows when new user is created
How can I have rows automatically added to a table (26 of them) when a new user buys a subscription for my site? I need to be able to have a table already ready for them when they sign in. These 26 ...
0
votes
1
answer
54
views
Redirect after registration and auto login is not working
the user can register on the frontend form, and will be auto logged in after submission. Then he should be redirected to a custom URL, but the redirect is not working.
// Shortcode für das ...
0
votes
0
answers
33
views
Encrypt User last name in wordpress for security reasons
Can Anyone help me to encrypt only the user's last name in WordPress? I only want to encrypt user's last name in the database for some security reasons. I am unable to find the solution Please let me ...
0
votes
0
answers
54
views
I'm trying to register with AJAX
I have tried this
add_action( 'wp_ajax_custome_ajax_email_check', 'custome_ajax_email_check' );
add_action('wp_ajax_nopriv_custome_ajax_email_check', 'custome_ajax_email_check');
function ...
0
votes
0
answers
30
views
WordPress User Registration/ Sign Up -> Able to take Paid Certification Courses & keep track of Completed Certificates
I'm really new to WordPress and been tasked with this assignment and not sure how to tackle it.
So we have a WordPress site and we plan on using the Masteriyo plugin to create and sell online ...
0
votes
0
answers
16
views
Issues with creating user profile for a subscriber, but with different profile page and functionalities
I am building a website where two types of subscribes have to register and get access to a profile page:
Volunteer
Person in need
I attempted to do so, but the person in need user profile still ...
0
votes
1
answer
103
views
Only Admin receives email
is there a suitable code for blocking all registered users' outgoing email but only the admin receives all emails. I need a send all emails to admin only situation.
0
votes
1
answer
70
views
How do I modify the error code array used by "shake_error_codes" filter?
I have a plugin with a registration_errors filter to prevent users from using a .gov email address. I have this code in the "registration_errors" filter function:
$errors->add( 'gov_email'...
4
votes
2
answers
2k
views
How to create a fully functional user registration in WordPress?
I used many user signup plugins for users registration and they did good job, but the problem is, each website collects different data through user registration forms. In my case, the data collected ...
0
votes
1
answer
362
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
362
views
Change Registration Error Message
I would like to change the error message: "Invalid login details" into "This username or email already exists." I am using a plugin called Login Customizer and even if I deactivate ...
0
votes
2
answers
742
views
Add a custom user meta data on registration based on user email
I am looking for a function to fill a user meta data automatically when they register.
In the registration form we ask for user email. Once they validate their registration, we want to get that value ...
0
votes
1
answer
244
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 ...
0
votes
1
answer
64
views
Redirect all pages to the custom login page except for the registration page
I have redirected all non logged in users to my login page but on the page there is an option for them to register and that navigates back to my login page and I want to exclude that register page ...
0
votes
1
answer
393
views
How to disable login and registration pages?
I use a login/register plugin and display the forms on a custom page. So I try to find a solution to disable, or even better, redirect URL such as example.com/wp-login.php, example.com/register (which ...
1
vote
0
answers
242
views
Create Unique and Customized User ID for Website Members in WordPress
I want a Feature which can allow Custom User ID creation at Registration on WordPress.
This will be different from the User ID that WordPress creates at Registration.
This one is something that is ...
0
votes
0
answers
224
views
User role can't be set
I don't know, but it seems that the new Wordpress version (6.0.2) overrides the role variable in the wp_insert_user function. Before it worked properly, but now the value defined by default in the ...
0
votes
0
answers
29
views
Group users by meta_value
i am trying to automatically group users when they register according to a list of selections in the register form. I am using WP User Group plugin to make groups and Ultimate Member to register users....
0
votes
1
answer
348
views
Does wp_login hook fire on user registration?
My site is set to immediately login a user after they register. I'm writing a plug-in which needs to fire wherever a user logs in.
If I order the wp_login hook, will this fire at user registration (...
0
votes
0
answers
32
views
WordPress - custom user flow registration approval
I'm working on a custom user login and regitration flow. I need to give the users the ability to register and after the registration is completed, they will need to wait for account approval, is there ...
0
votes
1
answer
284
views
Registration fields prefilled with URL parameters
I’d like to invite some users via email to register and would like to prefill the user registration fields, such as
A.) username and B.) email.
Unfortunately it is not working and my JS skills suck... ...
0
votes
0
answers
73
views
Change default error message "This email address is already in use" when registering a new user in WordPress using Caldera Forms
I need to change the default error message "This email address is already in use" that WordPress returns when trying to register a user with an email address that already exists.
I am using ...
0
votes
1
answer
705
views
Edit text of Wordpress "Register" button
On the default WP registration page I want to edit the text of the blue button from "Register" to "Accept and Register".
I want to do this without using a plugin, if possible.
0
votes
1
answer
125
views
Interpretation and explanation of register sidebar
can someone please explain the following:
esc_html
'<section id="%1$s" class="widget %2$s">'
From the following block of code:
function daniels_widgets_init() {
...
0
votes
1
answer
168
views
How to make a user be able to register if such a login already exists?
And then to log in only by e-mail and password.
0
votes
1
answer
655
views
Woocommerce check if email already created order recently [closed]
I'm using woocommerce for my client to sell product worldwide. We don't force to create an account during the checkout so the user can buy without registration. Some times we get multiple order from ...
0
votes
1
answer
646
views
Hook before user is created and make some custom validation
I try to hook in user creation process in admin dashboard /wp/wp-admin/user-new.php to make some custom validation on data with the following hook, but the hook is not executed on form submit. What ...
0
votes
1
answer
107
views
Add new users to "add new user" page on admin's dashboard
I understand there's a lot of similar questions, but all of them show how to update the wp_usermeta table in the database, whereas I want to use wp_update_user() to update a particular field (nickname ...
0
votes
0
answers
28
views
User with same Mail but a different additional info(like domain)
I know this is not the way u should go, but my customers want it so im looking for ways.
Requirement:
WP with one DB (3 Domains sale the same stuff)
3 Domains which use this DB (can be more later), ...
0
votes
0
answers
106
views
Linking form to user meta fields
I currently have my login page set up to allow sign up through google. Immediately after a successful sign up I'm looking to set up a redirect to a form where the user can enter additional details and ...
1
vote
0
answers
134
views
Display alert on successful user Sign Up
I think wordpress used to automatically redirect to a page with a message telling a newly registered user to check their email box to activate their account.
For some reason, when a new person ...
0
votes
1
answer
2k
views
How to add registration date and last login date to user list page
To assist with managing a WordPress install with a large number of users, is there a simple way to include the date the user registered and they date they last logged in as additional columns on the ...
1
vote
3
answers
485
views
Wordpress Redirect 301 register page
I have a custom register form page, and I want to create a 301 redirect to force people to use this form (and not the original URL of WordPress)
I try to do a redirect 301 like this in my .htaccess, ...
0
votes
1
answer
279
views
Auto Delete Users (auto_delete_users)
I need some help cause I couldn't find any solution for my problem and haven't the knowledge to solve the problem on my own.
What I'm trying to do:
I want to delte every WordPress user (subscriber) ...
1
vote
0
answers
66
views
New user signup via REST API
The following question has some answers that give custom code for new user sign up via the REST API: How to use the WP REST API for new user registration (sign up form)?
As of version 5.9 the ...
1
vote
2
answers
2k
views
How to delete user using rest api without reassigning
Iam trying to delete a subscriber user using rest api admin api account. However, the api seems to require specifying reassign user id however i dont want to reassign.
Iam using the python requests ...
0
votes
1
answer
158
views
Wordpress Rest API- Allow creation of users with identical email addresses when only using rest api
I'am working on a new wordpress website, and I would like to create multiple users with the same exact email address. The purpose of this is to route several customer service accounts to a common ...