Questions tagged [user-registration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
11 views

contact form 7- convert to wp registration form

A very nice man shared this code to add to a theme's function file that will convert a cf7 form into a registration form. There is a plugin out there but the developer seems to have abandoned it. The ...
0
votes
1answer
35 views

Is it possible to remove the password field in the registration page in woocommerce?

I'm trying to create a custom registration for the customer in the woocommerce registration page. Basically, I want the users to register with their their basic details, without their password. Once ...
0
votes
0answers
8 views

Register a user only to the root blog - WP Multisite

I have code to register a user from one of the blogs in WP Multi site: if($userId = wp_create_user($email, $pass, $email)){ var_dump(get_user_by_email($email)); } The problem is that I want them ...
0
votes
0answers
15 views

Custom user registration with custom url and class/function

I need to create a class or a function to validate then save a user registration with function wp_insert_user(). For ajax validation purposes how can I create a separate URL and access the validation/...
0
votes
0answers
9 views

Code custom redirect url after woocommerce registration

I'm trying the code for redirect url after registration, but its not working. I tried other options, I used the plugin, but it's same not work. I use registration form in "my_account" page. Could ...
0
votes
0answers
13 views

Change user role on registration if checkbox on form is checked

I am using the NRGNetwork theme on a site I am working on. If you click sign up, a registration form drops down. I altered this to include a checkbox that says "Register me a site contributor". I want ...
0
votes
0answers
19 views

Single Sign On (SSO) between two Wordpress websites

Not having much luck finding solutions here, can someone help? I have abc.com, and sub.abc.com Users will create an account on abc.com, but I need users to login with to sub.abc.com after. If users ...
-1
votes
0answers
12 views

How to display registration and login on myaccount page one after another

i would like to know how to display the registration and login pages one after another on my account page in mobile version as the text fields are very small in mobile version. please help me ...
0
votes
4answers
108 views

Auto approve new users if their username is included in a predefined list

I need to have users' registration in my website as Subscribers. Each user will provide a username. I need to have a list that contains a company's usernames and then I need to automatically approve ...
0
votes
1answer
25 views

Custom user registration fields in user_register hook

I am trying to send an email to administrator with user_register action hook and wp_mail() function when a new user registers. I created some custom registration fields and I want send them via e-mail,...
1
vote
2answers
35 views

How do I add a prefix when a user registers

I am looking for any built in function that when I add a user or a user wants to register, the username will be automatically prepended with a predefined text. For example, if the user registers with ...
0
votes
1answer
22 views

user activation email doesn't work

I have a question about the Gravity forms Plugin ... I'm going to create a registration form And for that, I used the description of the link below. https://gravitywiz.com/customizing-the-user-...
0
votes
2answers
40 views

How to turn off email you receive when registered?

My client wants to turn off the email you receive when register.
0
votes
1answer
32 views

Adding additional roles on registration

I'm trying to add an additional role for a user when they register if they register as a specific role. Here is my function: function add_secondary_role( $user_id ) { $current_user = ...
1
vote
0answers
21 views

How can I save unique user data on my site? [closed]

I am trying to find a way to allow registered users on my site create lists of data and save them. I'm having trouble finding a way to save the list they create to the database of my site. I am ...
0
votes
1answer
18 views

Problem in plugin debuging in wordpress

I want to save extra user fields in custom table after user register. In my plugin I added user_register hook and I am checking this code while user register but I cannot find any errors and cannot ...
0
votes
0answers
16 views

lostpassword_post hook redirect to core login page

For the site: www.akkade.be I use the plugin user-registration by wpEverest, login & registering works fine but the lost password form just redirects me to the core login page the lost password ...
1
vote
1answer
27 views

Which hook should I use to capture $_POST('password') via profile update and password reset

I need to rehash the password which the user entered during Wordpress registration (I use WooCommerce) I'm successfully able to do this with the following: add_action( 'user_register', '...
2
votes
0answers
33 views

How can I find users that didn't set a password?

Is it possible to find (and bulk delete) users that registered on my WordPress site but never set a password over their confirmation email?
0
votes
1answer
22 views

Registration form AJAX check for existing username (simple version)

I know they are already many questions related to this topic but I was looking for a simple way to make an ajax check for an existing username. So basically I have the HTML form and two functions (in ...
0
votes
0answers
17 views

How to stop users beign registered on checkout page if billing address is same as other user?

I need help with woocommerce billing address. First: I need to stop user from being registered on checkout page if billing address is same as other user. Second If user is already registered, then ...
1
vote
0answers
17 views

Is the Multi site functionality a viable option for Country and Language targeting?

I am working on an eCommerce website, which only has the TLD Extension .com at present. The website owner is keen on looking to expand the website, as to reach other Countries and Languages. Since ...
0
votes
1answer
18 views

How do I create a new post upon registration with the users first and last name as title

I've been working at this for some time and for the life of me I cannot figure this out. Here is my code as of now. add_action('user_register','create_new_user_profile', 999); function ...
0
votes
0answers
7 views

Can you carry over add-on settings when duplicating a Gravity Form?

So I know when you duplicate a gravity form it carries over the settings that are there be default like notification and confirmations. But I was wondering if its possible carry over add-on settings ...
1
vote
1answer
72 views

How do I make WordPress send an email to the user when his account gets approved (manual by me)

I was wondering if I could make it so that if I approve a user account via "Users" UI that an automatic email is sent to the user saying something like "Hey, your account on www.website.com has been ...
0
votes
0answers
41 views

get_user_by() sometimes returns false, but the user exists

I am using child theme and I am replacing the base action for registering a user in my child theme: add_action( 'wp_ajax_nopriv_parent_theme_ajax_register_form', '...
0
votes
2answers
120 views

Force display name to nickname wp

I wondered if anyone has a solution for the following scenario i would like to force when a user registers Display name publicly to Nickname by default instead of first name and last name which is ...
0
votes
1answer
31 views

Disable emails for new user registration

I want to disable the default email that is send when user is registered. I am using this plugin for email verification User Verification By PickPlugins, which sends an email with confirmation link, ...
0
votes
1answer
32 views

Searchable Semi Random Number Generator on User Profiles

I'd like it so that when a user creates a profile, there is a custom form that states "ID Number", which is then semirandomly generated. So, for example, if Joe creates an account, he'll be asked a ...
0
votes
1answer
49 views

wp_insert_user if user exists

I have been at this for almost two hours, i'm sure i'm close, but can't find the nudge to make it work. I built a module from scratch to import users from a csv file, the user creation is working fine,...
0
votes
1answer
33 views

Activate User account for Sub Site broken

When I add a new user to a WP Multisite sub-site, an email is sent out asking the user to click a link to activate. The link looks like this: https://website.com/subsite/wp-activate.php?key=XXXXXXXXX ...
1
vote
1answer
194 views

What's wrong with Customizing new user notification email by add_filter?

When a new user signs up, the confirmation email is received and this is what it says: Username: testuser To set your password, visit the following address: But I want to customize it, so I added ...
1
vote
0answers
61 views

user_profile_update_errors hook not executing

I'm trying to use the user_profile_update_errors hook, however it doesn't appear to be executing. I'm calling it like this: add_action('user_profile_update_errors', 'blm_register_result', 10, 3); ...
0
votes
0answers
50 views

Custom register page and retrieving WordPress registration errors

I'm doing a custom login and register page and the login portion has gone smoothly as I can redirect errors back to my custom page because of how wordpress handles this (such as appending the issue to ...
0
votes
2answers
106 views

Anyway to output the registration form like the login form with wp_login_form()?

I'm trying to create a dual login/register page with WordPress and so far I found out I can create my custom template and then output the login form with wp_login_form, however I cannot find any ...
0
votes
0answers
16 views

How to create a Wordpress user account through Powershell

Is there a way to create a user account from Powershell? I have found this article that achieves a sort of connectivity from PS to WP
2
votes
1answer
66 views

New user notification doesn't include activation link

When adding new users through the Dashboard, I've noticed that the notification email sent to a user when then have been added to Wordpress doesn't work correctly. Included in the email is the ...
0
votes
0answers
7 views

WooCommerce: how to store the e-mail being used for purchase in PayPal as billing email?

When sending users to complete payment inside PayPal (default PayPal Standard is in use in my shop), how can I grab the PayPal e-mail account used by the user to pay, instead of the e-mail user used ...
0
votes
0answers
42 views

Frontend registration form doesn't save data only redirects to wp-login

I have another wordpress dilemma... I've built a frontend registration form, but for some reason whenever a user tries to register it doesn't work, and they get redirected to wp-login.php. The ...
0
votes
1answer
167 views

Get the password key when using the wp_new_user_notification_email filter

I'm trying to customize the email sent to newly registered users. I use the wp_new_user_notification_email filter in a plugin, and it's working fine to set the subject and message. However I would ...
0
votes
0answers
22 views

How to add google tagmanager to default registration page?

How I add google tag manager to default registration page? So Ill can track the registration flow? Ill need to add a google the tagmanager script to the head and a tagmanager noscript to the body of ...
0
votes
1answer
35 views

Possible to have duplicate usernames on different two multisites

I have a multisite set up with two sites setup: example.com/site01 example.com/site02 With both sites, they are using the same custom theme which generates a default list of users (publisher01, ...
0
votes
1answer
19 views

Custom registration function not working as it should because is_mail and email_exist keep giving errors when it shouldn't

Here is my registration function $firstname = sanitize_text_field( $_POST['firstname'] ); $lastname = sanitize_text_field( $_POST['lastname'] ); $username = sanitize_text_field( $_POST['...
0
votes
0answers
247 views

WooCommerce - updating address fields in registration form

I've added some WooCommerce checkout form fields to the registration form, since my site requires customer to provide their billing address during registration. // Custom function to display the ...
0
votes
1answer
872 views

Adding more fields to the registration form

Am using Jupiter theme. https://demos.artbees.net/jupiter/labrandeus/ The registration has by default username and password fields. The view for it is defined as below: <?php if (get_option('...
0
votes
1answer
24 views

How to allow mixed case characters in multisite site name?

This rule seems odd since you can name your site whatever you want inside the WP admin area. I am creating a user registration form for multisite and consider this a bad user experience in my form. ...
0
votes
1answer
70 views

Block Disposable Emails on Woocommerce Registration

Is there any way to block disposable emails on Woocommerce registration? I used this plugin with a list of disposable email domains, but it would only block on regular registration - not Woocommerce ...
0
votes
1answer
190 views

Redirect After Registration on Specific Link

I want to use registration_redirect to have users redirected to a certain page, only if they register using a certain link. Specifically, I want them to go from the registration link here to ...
0
votes
1answer
52 views

Clients with empty username are not receiving request new password email

I am looking after a old site from a client and a lot of users dont have username. I had setup in woocommerce "When creating an account, automatically generate a username from the customer's email ...
1
vote
1answer
31 views

Function to allow “Anyone can register”?

I'd been crawling the codex but can't seem to find a function that will allow me to programmatically enable the User registration system. Hopefully, I can make a custom plugin that will enable User ...