Questions tagged [registration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Login using mobile phone number and skip email on registration [closed]

I need to implement user registration/log in using mobile phone number and name only and leave email optional. Maybe replace the username with the mobile number instead. Any class or plugin to deal ...
0
votes
1answer
33 views

Can i add password field into my wp registration form?

I would like to users can choose their own password on registration form and disable sending generated password email to them. Here it is my custom registration code: <form id="register-form" ...
0
votes
1answer
40 views

WooCommerce Registration redirect based on page ID

I am trying to change the WooCommerce Registration button redirect link. This is the code I use for the redirect (which works just fine): function custom_registration_redirect() { if(...
0
votes
0answers
17 views

Wordpress doesn't allow me to create new users

I have a weird error on my wordpress site. When I try to create a new user it says: ERROR: This username is already registered. Please choose another. ERROR: This email address is already ...
0
votes
2answers
37 views

Including user data in “new user notification email”

I'm trying to create a function that sends an email to the admin when a new user registers. I would like the email to contain the users first name, last name, email address, and billing information ...
0
votes
0answers
24 views

Create a unique username with validation on wordpress registration

I want to add a unique username on registration and hide this field on the registration form. Its working so far, but its not 100% perfect, because if its 3 times the same number then it will throw a ...
1
vote
0answers
10 views

WP MU Register User across all blogs

How to register user on WM MU install for all blogs at once, but not to a limited blog which was triggered during registration? Thank you.
0
votes
0answers
9 views

Registration buddypress xprofile + role

I'm doing the buddypress registration through a form. The code add the role shop_manager but it doesn't work to show the profile xprofiles. Could you help me? Thanks very much! add_action('...
0
votes
0answers
15 views

Add usermeta on Buddypress register

I would like to give to all users who register on my website the value 'Register' of a usermeta field which is called user_type. I'm thinking on adding the next code: update_user_meta( ...
1
vote
0answers
39 views

Backend user creation form with additional language field

I need to create users in the backend which currently works. After adding the user, he gets an email currently in english. I want to make this dynamically to the given language in the backend user ...
0
votes
0answers
22 views

How to invalidate `password reset key` after being used

I am trying to write my own lost password plugin. It is working perfectly. But how can I invalidate the reset key after being used once. Currently I am able to set new password as many times as I wish ...
0
votes
0answers
10 views

How to set up a login system with file upload?

Hope you are having a great day. I am trying to find a user registration system for Wordpress that does the following: A user will register by their first name, last name, home address, P.O Box and ...
0
votes
0answers
20 views

Reset cookie for login, register and logout

I would like to better understand how WordPress login / logout cookies work. In my case I have a page that allows you to perform various operations. To see if the user is not logged in I perform the ...
0
votes
1answer
22 views

Enter user registration information in the database

can you tell me what's wrong with this code? I simply have to enter those data in the user database on Wordpress. Here is my code: // Inserisce utente nel DB $user_data = [ 'user_login' => $...
0
votes
1answer
71 views

Is it necessary to sanitize wp_set_password user input?

I'm trying to add a password form to the WP registration form. See the code below. I was wondering if I need to sanitize this specific user input? (and if so how?) If I understand it correctly, WP ...
0
votes
0answers
58 views

Issues adding Recaptcha v3 to Wordpress Registration

I'm having a problem with adding Recaptcha v3 to my WP registration form. The recaptcha seems to be registered and working and communicating with Google's api. I'm running into problems when I try to ...
0
votes
0answers
18 views

Improving Membership Service Experience

I've explore many differing plugins (wordpress) when looking at basic memberships, as this is all that's needed, and have not found what is required, came very close but stop there. This also includes ...
0
votes
0answers
33 views

Safely changing UserID's, re-using deleted UserID's and automatically using deleted userID's instead of an increment

I'm looking for 3 different solutions all relating to user ids, I'm needing a solution to safely make changes without destroying the site. Issue 1: I am wanting to change the userID of a user from ...
0
votes
0answers
9 views

Assign specific role to a specific registration page

I have a page that I want to direct traffic to in order for them to register on the website, however, I want these users to have a different user role than the normal "subscriber" role so I created ...
0
votes
1answer
43 views

Run a code only on theme activation only during first activation

function clearwidgets(){ //stuff here only runs once, when the theme is activated for the 1st time } register_activation_hook(__FILE__, 'clearwidgets'); And the code I am trying to execute is this:...
0
votes
1answer
128 views

How to auto login after registration? [duplicate]

I create an user using $user_id = wp_create_user($username, $password, $email); After creating the user I want them to auto login and so according to ravi patel, I have added the following code in ...
0
votes
1answer
38 views

Updating user meta data from external link, user not logged in

My login process is exactly like this: 1- user put email in the form 2- a link sent to email for setting password 3- user click on the link and redirect to website with code like this: https://www....
0
votes
0answers
21 views

Help hooking into user_register

I'm trying to do a POST request to my API when a user is created. I've installed Code snippets and added the following: add_action('user_register','my_function'); function my_function($user_id){ ...
0
votes
0answers
41 views

Custom Email based on User Role at Registration

I need to create a custom registration email for different roles that a user signs up to. Here's what I've done so far, a lot if it are copied as I'm still learning: /* * Plugin Name: Custom ...
2
votes
0answers
64 views

Email notification after registration in Wordpress

I would like the site's administrator doesn't receive a new user's registration email when the administrator himself uses the admin interface to add a user. How can I limit sending a email only when ...
0
votes
2answers
118 views

How to turn off email you receive when registered?

My client wants to turn off the email you receive when register.
0
votes
0answers
106 views

Is it possible to capture User-based ACF fields during MemberPress signup?

I know that MemberPress gives you the ability to define custom fields. However, we have a series of ACF [Advanced Custom Fields] that we have defined for our users, and would like to capture some of ...
0
votes
0answers
15 views

Send a password to a user who has just registered for a member area

Here I meet a little problem with my code. What I do Well I was largely inspired by a tutorial to make a registration system login to a member area under wordpress in the case of a theme developed. ...
1
vote
2answers
298 views

Creating user in Firebase after Wordpress user registration

I have developed an App that uses Firebase. The user has to go through a Wordpress website and buy a subscription before being able to access the App. When a new Wordpress user registers, I would ...
-1
votes
1answer
30 views

User register hook can't access form request

I'm trying to add a few custom field to the registration form using the code below. After registrations customs fields with keys are created but they don't have any value. I think that my $_POST['...
2
votes
0answers
34 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
361 views

How to auto-generate random numbers in username?

I have a public-viewed community site. I am able to insert First & Last Name fields in WooCommerce Registration form, and auto-generate username based on the combination of First+Last Name. But ...
0
votes
1answer
15 views

Build a one-page navigation within a non-one-page ttheme…

My theme is not a one-page theme. Nevertheless I would like to have on one page of my site a one-page navigation. For example: In primary menu I have "About us", "Responsibility", "Our offer"… "...
0
votes
1answer
350 views

Invalid key on activation and password reset

I am in a pickle now, about to release a Wordpress-based app and I can't get the registration complete because of the freaking password set/reset key is sometimes invalid. I say sometimes because ...
0
votes
1answer
20 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
1answer
64 views

I need to verify emails when users signup

I'm working on my custom plugin and I need to verify the email addresses of users before they can use the platform. I can do it using regular PHP but I'm having issues doing it with WordPress. Can ...
0
votes
0answers
61 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
0answers
14 views

Send registration mail to new user from custom build form

I am using a custom build form connected through an API which has an email field as last field. After that the user presses on a button and the preferences are communicated with the other service. ...
1
vote
1answer
371 views

How to pass external variables to the wp_new_user_notification_email filter?

We're trying to customize the default e-mail new users receive when registering on our website. For this, we are using the wp_new_user_notification_email filter added in WP4.9.0 For our functions.php ...
0
votes
0answers
60 views

Change default registration errors

I'm trying to change the Wordpress default errors people see when try to register. I'm trying to remove the wordpress original function and create a new one, using this code, but no effect. Any ...
0
votes
0answers
36 views

The requested URL /wordpress/register/ was not found on this server

So I just installed a brand new version of Wordpress from wordpress.org/download/, extracted it and planted it on my server. Everything was working fine, I enabled "Anyone can register", went to the ...
0
votes
1answer
95 views

How to load specific template page in a custom shortcode

I'm using a theme for my WP site that has its own registration page template (register.php). I'm trying to create a shortcode that will load that template wherever I want, but I can't make it work. ...
1
vote
1answer
324 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 ...
0
votes
1answer
78 views

not sending correct link to set the password in registration email [closed]

it is a big problem. when a new user sign up in my website, as usual in wordpress, one email will be sent to him/her to be able to set him/her password. the email will be sent but the link is ...
0
votes
2answers
236 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 ...
2
votes
1answer
82 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
1answer
446 views

Disable password limitations

I had a "learnpress" plugin in my Wordpress website that uses default registration wordpress setting, but I'd like to remove all limitations of password including length (12 character), adding number ...
0
votes
0answers
52 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
42 views

What sites are you registered to when joining a multisite?

I apologise if this sound super n00b of me but whenever I try to Google for this info all I get is "Get my plugin to do this or that" posts or people asking how to restrict or free cross site ...
-1
votes
1answer
16 views

Plugin recommendation for directory site [closed]

I am developing a site that will allow artists to sign up to a directory of artists to showcase their work etc. I can handle all the bespoke coding but I have one issue that I can't take care of and ...